Google BigQuery Storage V1 Client - Class BatchCommitWriteStreamsResponse (1.10.3)

Reference documentation and code samples for the Google BigQuery Storage V1 Client class BatchCommitWriteStreamsResponse.

Response message for BatchCommitWriteStreams.

Generated from protobuf message google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ commit_time Google\Protobuf\Timestamp

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.

↳ stream_errors array<Google\Cloud\BigQuery\Storage\V1\StorageError>

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.

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.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCommitTime

clearCommitTime

setCommitTime

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.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getStreamErrors

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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setStreamErrors

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.

Parameter
Name Description
var array<Google\Cloud\BigQuery\Storage\V1\StorageError>
Returns
Type Description
$this