public static final class ReadRepositoryFileRequest.Builder extends GeneratedMessage.Builder<ReadRepositoryFileRequest.Builder> implements ReadRepositoryFileRequestOrBuilder ReadRepositoryFile request message.
Protobuf type google.cloud.dataform.v1.ReadRepositoryFileRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReadRepositoryFileRequest.BuilderImplements
ReadRepositoryFileRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReadRepositoryFileRequest build()| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest |
|
buildPartial()
public ReadRepositoryFileRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest |
|
clear()
public ReadRepositoryFileRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest.Builder |
|
clearCommitSha()
public ReadRepositoryFileRequest.Builder clearCommitSha()Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
string commit_sha = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest.Builder |
This builder for chaining. |
clearName()
public ReadRepositoryFileRequest.Builder clearName()Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest.Builder |
This builder for chaining. |
clearPath()
public ReadRepositoryFileRequest.Builder clearPath()Required. Full file path to read including filename, from repository root.
string path = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest.Builder |
This builder for chaining. |
getCommitSha()
public String getCommitSha()Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
string commit_sha = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The commitSha. |
getCommitShaBytes()
public ByteString getCommitShaBytes()Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
string commit_sha = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for commitSha. |
getDefaultInstanceForType()
public ReadRepositoryFileRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPath()
public String getPath()Required. Full file path to read including filename, from repository root.
string path = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The path. |
getPathBytes()
public ByteString getPathBytes()Required. Full file path to read including filename, from repository root.
string path = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for path. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ReadRepositoryFileRequest other)
public ReadRepositoryFileRequest.Builder mergeFrom(ReadRepositoryFileRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ReadRepositoryFileRequest |
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReadRepositoryFileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReadRepositoryFileRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest.Builder |
|
setCommitSha(String value)
public ReadRepositoryFileRequest.Builder setCommitSha(String value)Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
string commit_sha = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe commitSha to set. |
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest.Builder |
This builder for chaining. |
setCommitShaBytes(ByteString value)
public ReadRepositoryFileRequest.Builder setCommitShaBytes(ByteString value)Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
string commit_sha = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for commitSha to set. |
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest.Builder |
This builder for chaining. |
setName(String value)
public ReadRepositoryFileRequest.Builder setName(String value)Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ReadRepositoryFileRequest.Builder setNameBytes(ByteString value)Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest.Builder |
This builder for chaining. |
setPath(String value)
public ReadRepositoryFileRequest.Builder setPath(String value)Required. Full file path to read including filename, from repository root.
string path = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe path to set. |
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest.Builder |
This builder for chaining. |
setPathBytes(ByteString value)
public ReadRepositoryFileRequest.Builder setPathBytes(ByteString value)Required. Full file path to read including filename, from repository root.
string path = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for path to set. |
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileRequest.Builder |
This builder for chaining. |