public final class BatchCommitWriteStreamsResponse extends GeneratedMessageV3 implements BatchCommitWriteStreamsResponseOrBuilder
Response message for BatchCommitWriteStreams
.
Protobuf type google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchCommitWriteStreamsResponseImplements
BatchCommitWriteStreamsResponseOrBuilderStatic Fields
COMMIT_TIME_FIELD_NUMBER
public static final int COMMIT_TIME_FIELD_NUMBER
Type | Description |
int |
STREAM_ERRORS_FIELD_NUMBER
public static final int STREAM_ERRORS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static BatchCommitWriteStreamsResponse getDefaultInstance()
Type | Description |
BatchCommitWriteStreamsResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static BatchCommitWriteStreamsResponse.Builder newBuilder()
Type | Description |
BatchCommitWriteStreamsResponse.Builder |
newBuilder(BatchCommitWriteStreamsResponse prototype)
public static BatchCommitWriteStreamsResponse.Builder newBuilder(BatchCommitWriteStreamsResponse prototype)
Name | Description |
prototype | BatchCommitWriteStreamsResponse |
Type | Description |
BatchCommitWriteStreamsResponse.Builder |
parseDelimitedFrom(InputStream input)
public static BatchCommitWriteStreamsResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
BatchCommitWriteStreamsResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchCommitWriteStreamsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchCommitWriteStreamsResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static BatchCommitWriteStreamsResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
BatchCommitWriteStreamsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchCommitWriteStreamsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchCommitWriteStreamsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static BatchCommitWriteStreamsResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
BatchCommitWriteStreamsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchCommitWriteStreamsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchCommitWriteStreamsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static BatchCommitWriteStreamsResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
BatchCommitWriteStreamsResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchCommitWriteStreamsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchCommitWriteStreamsResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static BatchCommitWriteStreamsResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
BatchCommitWriteStreamsResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchCommitWriteStreamsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchCommitWriteStreamsResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static BatchCommitWriteStreamsResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
BatchCommitWriteStreamsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchCommitWriteStreamsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BatchCommitWriteStreamsResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<BatchCommitWriteStreamsResponse> parser()
Type | Description |
Parser<BatchCommitWriteStreamsResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getCommitTime()
public Timestamp getCommitTime()
The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. Note if this field is not set, it means the commit was not successful.
.google.protobuf.Timestamp commit_time = 1;
Type | Description |
Timestamp | The commitTime. |
getCommitTimeOrBuilder()
public TimestampOrBuilder getCommitTimeOrBuilder()
The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. Note if this field is not set, it means the commit was not successful.
.google.protobuf.Timestamp commit_time = 1;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public BatchCommitWriteStreamsResponse getDefaultInstanceForType()
Type | Description |
BatchCommitWriteStreamsResponse |
getParserForType()
public Parser<BatchCommitWriteStreamsResponse> getParserForType()
Type | Description |
Parser<BatchCommitWriteStreamsResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getStreamErrors(int index)
public StorageError getStreamErrors(int index)
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
Name | Description |
index | int |
Type | Description |
StorageError |
getStreamErrorsCount()
public int getStreamErrorsCount()
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
Type | Description |
int |
getStreamErrorsList()
public List<StorageError> getStreamErrorsList()
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
Type | Description |
List<StorageError> |
getStreamErrorsOrBuilder(int index)
public StorageErrorOrBuilder getStreamErrorsOrBuilder(int index)
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
Name | Description |
index | int |
Type | Description |
StorageErrorOrBuilder |
getStreamErrorsOrBuilderList()
public List<? extends StorageErrorOrBuilder> getStreamErrorsOrBuilderList()
Stream level error if commit failed. Only streams with error will be in the list. If empty, there is no error and all streams are committed successfully. If non empty, certain streams have errors and ZERO stream is committed due to atomicity guarantee.
repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
Type | Description |
List<? extends com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder> |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasCommitTime()
public boolean hasCommitTime()
The time at which streams were committed in microseconds granularity. This field will only exist when there are no stream errors. Note if this field is not set, it means the commit was not successful.
.google.protobuf.Timestamp commit_time = 1;
Type | Description |
boolean | Whether the commitTime field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public BatchCommitWriteStreamsResponse.Builder newBuilderForType()
Type | Description |
BatchCommitWriteStreamsResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchCommitWriteStreamsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
BatchCommitWriteStreamsResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public BatchCommitWriteStreamsResponse.Builder toBuilder()
Type | Description |
BatchCommitWriteStreamsResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |