public final class BatchCommitWriteStreamsResponse extends GeneratedMessageV3 implements BatchCommitWriteStreamsResponseOrBuilder
Response message for BatchCommitWriteStreams
.
Protobuf type google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse
Static Fields
COMMIT_TIME_FIELD_NUMBER
public static final int COMMIT_TIME_FIELD_NUMBER
Field Value
STREAM_ERRORS_FIELD_NUMBER
public static final int STREAM_ERRORS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BatchCommitWriteStreamsResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BatchCommitWriteStreamsResponse.Builder newBuilder()
Returns
newBuilder(BatchCommitWriteStreamsResponse prototype)
public static BatchCommitWriteStreamsResponse.Builder newBuilder(BatchCommitWriteStreamsResponse prototype)
Parameter
Returns
public static BatchCommitWriteStreamsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchCommitWriteStreamsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchCommitWriteStreamsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchCommitWriteStreamsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchCommitWriteStreamsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchCommitWriteStreamsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchCommitWriteStreamsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchCommitWriteStreamsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchCommitWriteStreamsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchCommitWriteStreamsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchCommitWriteStreamsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchCommitWriteStreamsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchCommitWriteStreamsResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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;
Returns
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;
Returns
getDefaultInstanceForType()
public BatchCommitWriteStreamsResponse getDefaultInstanceForType()
Returns
getParserForType()
public Parser<BatchCommitWriteStreamsResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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.v1beta2.StorageError stream_errors = 2;
Parameter
Returns
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.v1beta2.StorageError stream_errors = 2;
Returns
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.v1beta2.StorageError stream_errors = 2;
Returns
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.v1beta2.StorageError stream_errors = 2;
Parameter
Returns
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.v1beta2.StorageError stream_errors = 2;
Returns
Type | Description |
List<? extends com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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;
Returns
Type | Description |
boolean | Whether the commitTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BatchCommitWriteStreamsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchCommitWriteStreamsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BatchCommitWriteStreamsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions