Google BigQuery Storage V1 Client - Class AppendResult (1.9.0)

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
NameDescription
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
TypeDescription
Google\Protobuf\Int64Value|null

hasOffset

clearOffset

getOffsetValue

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
TypeDescription
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
NameDescription
var Google\Protobuf\Int64Value
Returns
TypeDescription
$this

setOffsetValue

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
NameDescription
var int|string|null
Returns
TypeDescription
$this