public final class StreamMetastorePartitionsResponse extends GeneratedMessageV3 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StreamMetastorePartitionsResponseImplements
StreamMetastorePartitionsResponseOrBuilderStatic Fields
TOTAL_PARTITIONS_INSERTED_COUNT_FIELD_NUMBER
public static final int TOTAL_PARTITIONS_INSERTED_COUNT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
TOTAL_PARTITIONS_STREAMED_COUNT_FIELD_NUMBER
public static final int TOTAL_PARTITIONS_STREAMED_COUNT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static StreamMetastorePartitionsResponse getDefaultInstance()
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static StreamMetastorePartitionsResponse.Builder newBuilder()
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse.Builder |
newBuilder(StreamMetastorePartitionsResponse prototype)
public static StreamMetastorePartitionsResponse.Builder newBuilder(StreamMetastorePartitionsResponse prototype)
Parameter | |
---|---|
Name | Description |
prototype |
StreamMetastorePartitionsResponse |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse.Builder |
parseDelimitedFrom(InputStream input)
public static StreamMetastorePartitionsResponse parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamMetastorePartitionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static StreamMetastorePartitionsResponse parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamMetastorePartitionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static StreamMetastorePartitionsResponse parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamMetastorePartitionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static StreamMetastorePartitionsResponse parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamMetastorePartitionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static StreamMetastorePartitionsResponse parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamMetastorePartitionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static StreamMetastorePartitionsResponse parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamMetastorePartitionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<StreamMetastorePartitionsResponse> parser()
Returns | |
---|---|
Type | Description |
Parser<StreamMetastorePartitionsResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public StreamMetastorePartitionsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse |
getParserForType()
public Parser<StreamMetastorePartitionsResponse> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<StreamMetastorePartitionsResponse> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public StreamMetastorePartitionsResponse.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamMetastorePartitionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public StreamMetastorePartitionsResponse.Builder toBuilder()
Returns | |
---|---|
Type | Description |
StreamMetastorePartitionsResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |