Google BigQuery Storage V1 Client - Class AppendResult (2.1.1)

Reference documentation and code samples for the Google BigQuery Storage V1 Client class AppendResult.

AppendResult is returned for successful append requests.

Generated from protobuf message google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1 \ AppendRowsResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ offset Google\Protobuf\Int64Value

The row offset at which the last append occurred. The offset will not be set if appending using default streams.

getOffset

The row offset at which the last append occurred. The offset will not be set if appending using default streams.

Returns
Type Description
Google\Protobuf\Int64Value|null

hasOffset

clearOffset

getOffsetUnwrapped

Returns the unboxed value from getOffset()

The row offset at which the last append occurred. The offset will not be set if appending using default streams.

Returns
Type Description
int|string|null

setOffset

The row offset at which the last append occurred. The offset will not be set if appending using default streams.

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.

The row offset at which the last append occurred. The offset will not be set if appending using default streams.

Parameter
Name Description
var int|string|null
Returns
Type Description
$this