Interface BatchCommitWriteStreamsResponseOrBuilder (3.9.2)

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the commitTime field is set.