Google BigQuery Storage V1 Client - Class RowError (1.10.2)

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

setCode

Structured error reason for a row error.

Parameter
Name Description
var int
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