Class ReadRepositoryFileRequest.Builder (0.46.0)

public static final class ReadRepositoryFileRequest.Builder extends GeneratedMessageV3.Builder<ReadRepositoryFileRequest.Builder> implements ReadRepositoryFileRequestOrBuilder

ReadRepositoryFile request message.

Protobuf type google.cloud.dataform.v1beta1.ReadRepositoryFileRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReadRepositoryFileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReadRepositoryFileRequest.Builder
Overrides

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public ReadRepositoryFileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReadRepositoryFileRequest.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReadRepositoryFileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReadRepositoryFileRequest.Builder
Overrides

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.

clone()

public ReadRepositoryFileRequest.Builder clone()
Returns
Type Description
ReadRepositoryFileRequest.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReadRepositoryFileRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReadRepositoryFileRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReadRepositoryFileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReadRepositoryFileRequest.Builder
Overrides

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 String

The 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 ByteString

The bytes for commitSha to set.

Returns
Type Description
ReadRepositoryFileRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ReadRepositoryFileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReadRepositoryFileRequest.Builder
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for path to set.

Returns
Type Description
ReadRepositoryFileRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReadRepositoryFileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReadRepositoryFileRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReadRepositoryFileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReadRepositoryFileRequest.Builder
Overrides