Class StreamMetastorePartitionsResponse.Builder (3.20.0)

public static final class StreamMetastorePartitionsResponse.Builder extends GeneratedMessage.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.v1beta.StreamMetastorePartitionsResponse

Static Methods

getDescriptor()

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

Methods

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

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.

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 GeneratedMessage.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

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.