2.6.0 (latest) 2.5.4 2.3.1 2.2.1 2.1.5 2.0.0 1.10.4 1.9.0 1.8.0 1.7.1 1.6.0 1.5.0 1.4.1 1.3.2 1.2.12 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<https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-storage/latest/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\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-storage/latest/V1.StorageError>` |   |

### 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<https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-storage/latest/V1.StorageError>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |