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

Request message for `FlushRows`.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ write_stream` | `string` Required. The stream that is the target of the flush operation. |
| `↳ offset` | `Google\Protobuf\Int64Value` Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed. |

### getWriteStream

Required. The stream that is the target of the flush operation.

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

### setWriteStream

Required. The stream that is the target of the flush operation.

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

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

### getOffset

Ending offset of the flush operation. Rows before this offset(including
this offset) will be flushed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Int64Value|null` |   |

### hasOffset

### clearOffset

### getOffsetUnwrapped

Returns the unboxed value from `getOffset()`

Ending offset of the flush operation. Rows before this offset(including
this offset) will be flushed.

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

### setOffset

Ending offset of the flush operation. Rows before this offset(including
this offset) will be flushed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Int64Value` |

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

### setOffsetUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\Int64Value object.

Ending offset of the flush operation. Rows before this offset(including
this offset) will be flushed.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `writeStream` | `string` Required. The stream that is the target of the flush operation. Please see BigQueryWriteClient::writeStreamName() for help formatting this field. |

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