Google BigQuery Storage V1 Client - Class RowError (1.5.0)

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
NameDescription
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
TypeDescription
int|string

setIndex

Index of the malformed row in the request.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getCode

Structured error reason for a row error.

Returns
TypeDescription
int

setCode

Structured error reason for a row error.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMessage

Description of the issue encountered when processing the row.

Returns
TypeDescription
string

setMessage

Description of the issue encountered when processing the row.

Parameter
NameDescription
var string
Returns
TypeDescription
$this