Class ReadFileResponse.Builder (0.33.0)

public static final class ReadFileResponse.Builder extends GeneratedMessageV3.Builder<ReadFileResponse.Builder> implements ReadFileResponseOrBuilder

ReadFile response message.

Protobuf type google.cloud.dataform.v1beta1.ReadFileResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReadFileResponse build()
Returns
Type Description
ReadFileResponse

buildPartial()

public ReadFileResponse buildPartial()
Returns
Type Description
ReadFileResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFileContents()

public ReadFileResponse.Builder clearFileContents()

The file's contents.

bytes file_contents = 1;

Returns
Type Description
ReadFileResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ReadFileResponse getDefaultInstanceForType()
Returns
Type Description
ReadFileResponse

getDescriptorForType()

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

getFileContents()

public ByteString getFileContents()

The file's contents.

bytes file_contents = 1;

Returns
Type Description
ByteString

The fileContents.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReadFileResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFileContents(ByteString value)

public ReadFileResponse.Builder setFileContents(ByteString value)

The file's contents.

bytes file_contents = 1;

Parameter
Name Description
value ByteString

The fileContents to set.

Returns
Type Description
ReadFileResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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