Cloud Bigtable V2 Client - Class ReadChangeStreamResponse (2.4.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class ReadChangeStreamResponse.

NOTE: This API is intended to be used by Apache Beam BigtableIO.

Response message for Bigtable.ReadChangeStream.

Generated from protobuf message google.bigtable.v2.ReadChangeStreamResponse

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data_change Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\DataChange

A mutation to the partition.

↳ heartbeat Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\Heartbeat

A periodic heartbeat message.

↳ close_stream Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\CloseStream

An indication that the stream should be closed.

getDataChange

A mutation to the partition.

Returns
Type Description
Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\DataChange|null

hasDataChange

setDataChange

A mutation to the partition.

Parameter
Name Description
var Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\DataChange
Returns
Type Description
$this

getHeartbeat

A periodic heartbeat message.

Returns
Type Description
Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\Heartbeat|null

hasHeartbeat

setHeartbeat

A periodic heartbeat message.

Parameter
Name Description
var Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\Heartbeat
Returns
Type Description
$this

getCloseStream

An indication that the stream should be closed.

Returns
Type Description
Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\CloseStream|null

hasCloseStream

setCloseStream

An indication that the stream should be closed.

Parameter
Name Description
var Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\CloseStream
Returns
Type Description
$this

getStreamRecord

Returns
Type Description
string