# Google Cloud Vision Ai V1 Client - Class CommitRequest (0.3.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class CommitRequest.

The message for explicitly committing the read progress.

This may only be used when `ReceivePacketsControlledMode` is set in the
initial setup request.

Generated from protobuf message `google.cloud.visionai.v1.CommitRequest`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ offset` | `int|string` The offset to commit. |

### getOffset

The offset to commit.

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

### setOffset

The offset to commit.

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

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