Google BigQuery Storage V1 Client - Class FlushRowsRequest (1.8.0)

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

setWriteStream

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOffset

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

Returns
TypeDescription
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
TypeDescription
int|string|null

setOffset

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

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

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\BigQuery\Storage\V1\FlushRowsRequest