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

The message that presents row level error info in a request.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ index` | `int|string` Index of the malformed row in the request. |
| `↳ code` | `int` Structured error reason for a row error. |
| `↳ message` | `string` Description of the issue encountered when processing the row. |

### getIndex

Index of the malformed row in the request.

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

### setIndex

Index of the malformed row in the request.

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

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

### getCode

Structured error reason for a row error.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [RowErrorCode](https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-storage/latest/V1.RowError.RowErrorCode). |

### setCode

Structured error reason for a row error.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [RowErrorCode](https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-storage/latest/V1.RowError.RowErrorCode). |

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

### getMessage

Description of the issue encountered when processing the row.

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

### setMessage

Description of the issue encountered when processing the row.

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

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