2.5.4 (latest) 2.5.3 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 ReadRowsRequest.

Request message for `ReadRows`.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ read_stream` | `string` Required. Stream to read rows from. |
| `↳ offset` | `int|string` The offset requested must be less than the last row read from Read. Requesting a larger offset is undefined. If not specified, start reading from offset zero. |
| `↳ arrow_serialization_options` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-storage/latest/V1.ArrowSerializationOptions` Optional. Options specific to the Apache Arrow output format. This feature is not yet available. |

### getReadStream

Required. Stream to read rows from.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setReadStream

Required. Stream to read rows from.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getOffset

The offset requested must be less than the last row read from Read.

Requesting a larger offset is undefined. If not specified, start reading
from offset zero.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setOffset

The offset requested must be less than the last row read from Read.

Requesting a larger offset is undefined. If not specified, start reading
from offset zero.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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

### getArrowSerializationOptions

Optional. Options specific to the Apache Arrow output format.

This feature is not yet available.

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

### hasArrowSerializationOptions

### setArrowSerializationOptions

Optional. Options specific to the Apache Arrow output format.

This feature is not yet available.

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

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

### getOutputFormatSerializationOptions

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `readStream` | `string` Required. Stream to read rows from. Please see BigQueryReadClient::readStreamName() for help formatting this field. |
| `offset` | `int` The offset requested must be less than the last row read from Read. Requesting a larger offset is undefined. If not specified, start reading from offset zero. |

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