Google BigQuery Storage V1 Client - Class FlushRowsRequest (1.10.3)

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

Request message for FlushRows.

Generated from protobuf message google.cloud.bigquery.storage.v1.FlushRowsRequest

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ write_stream string

Required. The stream that is the target of the flush operation.

↳ offset Google\Protobuf\Int64Value

Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed.

getWriteStream

Required. The stream that is the target of the flush operation.

Returns
Type Description
string

setWriteStream

Required. The stream that is the target of the flush operation.

Parameter
Name Description
var string
Returns
Type Description
$this

getOffset

Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed.

Returns
Type Description
Google\Protobuf\Int64Value|null

hasOffset

clearOffset

getOffsetValue

Returns the unboxed value from getOffset()

Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed.

Returns
Type Description
int|string|null

setOffset

Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed.

Parameter
Name Description
var Google\Protobuf\Int64Value
Returns
Type Description
$this

setOffsetValue

Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.

Ending offset of the flush operation. Rows before this offset(including this offset) will be flushed.

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

static::build

Parameter
Name Description
writeStream string

Required. The stream that is the target of the flush operation. Please see Google\Cloud\BigQuery\Storage\V1\BigQueryWriteClient::writeStreamName() for help formatting this field.

Returns
Type Description
Google\Cloud\BigQuery\Storage\V1\FlushRowsRequest