Interface BatchCommitWriteStreamsResponseOrBuilder (3.2.0)

public interface BatchCommitWriteStreamsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommitTime()

public abstract 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
TypeDescription
Timestamp

The commitTime.

getCommitTimeOrBuilder()

public abstract 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
TypeDescription
TimestampOrBuilder

getStreamErrors(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
StorageError

getStreamErrorsCount()

public abstract 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;

Returns
TypeDescription
int

getStreamErrorsList()

public abstract 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;

Returns
TypeDescription
List<StorageError>

getStreamErrorsOrBuilder(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
StorageErrorOrBuilder

getStreamErrorsOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder>

hasCommitTime()

public abstract 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
TypeDescription
boolean

Whether the commitTime field is set.