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 SplitReadStreamResponse.

Response message for `SplitReadStream`.

Generated from protobuf message `google.cloud.bigquery.storage.v1.SplitReadStreamResponse`

## Namespace

Google \\ Cloud \\ BigQuery \\ Storage \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ primary_stream` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-storage/latest/V1.ReadStream` Primary stream, which contains the beginning portion of \|original_stream\|. An empty value indicates that the original stream can no longer be split. |
| `↳ remainder_stream` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-storage/latest/V1.ReadStream` Remainder stream, which contains the tail of \|original_stream\|. An empty value indicates that the original stream can no longer be split. |

### getPrimaryStream

Primary stream, which contains the beginning portion of
\|original_stream\|. An empty value indicates that the original stream can no
longer be split.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-storage/latest/V1.ReadStream|null` |   |

### hasPrimaryStream

### clearPrimaryStream

### setPrimaryStream

Primary stream, which contains the beginning portion of
\|original_stream\|. An empty value indicates that the original stream can no
longer be split.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-storage/latest/V1.ReadStream` |

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

### getRemainderStream

Remainder stream, which contains the tail of \|original_stream\|. An empty
value indicates that the original stream can no longer be split.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-storage/latest/V1.ReadStream|null` |   |

### hasRemainderStream

### clearRemainderStream

### setRemainderStream

Remainder stream, which contains the tail of \|original_stream\|. An empty
value indicates that the original stream can no longer be split.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-storage/latest/V1.ReadStream` |

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