Class StreamMetastorePartitionsResponse.Builder (3.9.1)

public static final class StreamMetastorePartitionsResponse.Builder extends GeneratedMessageV3.Builder<StreamMetastorePartitionsResponse.Builder> implements StreamMetastorePartitionsResponseOrBuilder

This is the response message sent by the server to the client for the [Partitions.StreamMetastorePartitions][] method when the commit is successful. Server will close the stream after sending this message.

Protobuf type google.cloud.bigquery.storage.v1alpha.StreamMetastorePartitionsResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamMetastorePartitionsResponse build()
Returns
Type Description
StreamMetastorePartitionsResponse

buildPartial()

public StreamMetastorePartitionsResponse buildPartial()
Returns
Type Description
StreamMetastorePartitionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalPartitionsInsertedCount()

public StreamMetastorePartitionsResponse.Builder clearTotalPartitionsInsertedCount()

Total count of partitions inserted by the server during the lifetime of the stream. This is only set in the final response message before closing the stream.

int64 total_partitions_inserted_count = 3;

Returns
Type Description
StreamMetastorePartitionsResponse.Builder

This builder for chaining.

clearTotalPartitionsStreamedCount()

public StreamMetastorePartitionsResponse.Builder clearTotalPartitionsStreamedCount()

Total count of partitions streamed by the client during the lifetime of the stream. This is only set in the final response message before closing the stream.

int64 total_partitions_streamed_count = 2;

Returns
Type Description
StreamMetastorePartitionsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public StreamMetastorePartitionsResponse getDefaultInstanceForType()
Returns
Type Description
StreamMetastorePartitionsResponse

getDescriptorForType()

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

getTotalPartitionsInsertedCount()

public long getTotalPartitionsInsertedCount()

Total count of partitions inserted by the server during the lifetime of the stream. This is only set in the final response message before closing the stream.

int64 total_partitions_inserted_count = 3;

Returns
Type Description
long

The totalPartitionsInsertedCount.

getTotalPartitionsStreamedCount()

public long getTotalPartitionsStreamedCount()

Total count of partitions streamed by the client during the lifetime of the stream. This is only set in the final response message before closing the stream.

int64 total_partitions_streamed_count = 2;

Returns
Type Description
long

The totalPartitionsStreamedCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StreamMetastorePartitionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTotalPartitionsInsertedCount(long value)

public StreamMetastorePartitionsResponse.Builder setTotalPartitionsInsertedCount(long value)

Total count of partitions inserted by the server during the lifetime of the stream. This is only set in the final response message before closing the stream.

int64 total_partitions_inserted_count = 3;

Parameter
Name Description
value long

The totalPartitionsInsertedCount to set.

Returns
Type Description
StreamMetastorePartitionsResponse.Builder

This builder for chaining.

setTotalPartitionsStreamedCount(long value)

public StreamMetastorePartitionsResponse.Builder setTotalPartitionsStreamedCount(long value)

Total count of partitions streamed by the client during the lifetime of the stream. This is only set in the final response message before closing the stream.

int64 total_partitions_streamed_count = 2;

Parameter
Name Description
value long

The totalPartitionsStreamedCount to set.

Returns
Type Description
StreamMetastorePartitionsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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