Class ReadRepositoryFileResponse.Builder (0.42.0)

public static final class ReadRepositoryFileResponse.Builder extends GeneratedMessageV3.Builder<ReadRepositoryFileResponse.Builder> implements ReadRepositoryFileResponseOrBuilder

ReadRepositoryFile response message.

Protobuf type google.cloud.dataform.v1beta1.ReadRepositoryFileResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReadRepositoryFileResponse build()
Returns
Type Description
ReadRepositoryFileResponse

buildPartial()

public ReadRepositoryFileResponse buildPartial()
Returns
Type Description
ReadRepositoryFileResponse

clear()

public ReadRepositoryFileResponse.Builder clear()
Returns
Type Description
ReadRepositoryFileResponse.Builder
Overrides

clearContents()

public ReadRepositoryFileResponse.Builder clearContents()

The file's contents.

bytes contents = 1;

Returns
Type Description
ReadRepositoryFileResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getContents()

public ByteString getContents()

The file's contents.

bytes contents = 1;

Returns
Type Description
ByteString

The contents.

getDefaultInstanceForType()

public ReadRepositoryFileResponse getDefaultInstanceForType()
Returns
Type Description
ReadRepositoryFileResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReadRepositoryFileResponse other)

public ReadRepositoryFileResponse.Builder mergeFrom(ReadRepositoryFileResponse other)
Parameter
Name Description
other ReadRepositoryFileResponse
Returns
Type Description
ReadRepositoryFileResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReadRepositoryFileResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReadRepositoryFileResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setContents(ByteString value)

public ReadRepositoryFileResponse.Builder setContents(ByteString value)

The file's contents.

bytes contents = 1;

Parameter
Name Description
value ByteString

The contents to set.

Returns
Type Description
ReadRepositoryFileResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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