Cloud Bigtable V2 Client - Class ReadChangeStreamResponse (1.23.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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\DataChange|null

hasDataChange

setDataChange

A mutation to the partition.

Parameter
NameDescription
var Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\DataChange
Returns
TypeDescription
$this

getHeartbeat

A periodic heartbeat message.

Returns
TypeDescription
Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\Heartbeat|null

hasHeartbeat

setHeartbeat

A periodic heartbeat message.

Parameter
NameDescription
var Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\Heartbeat
Returns
TypeDescription
$this

getCloseStream

An indication that the stream should be closed.

Returns
TypeDescription
Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\CloseStream|null

hasCloseStream

setCloseStream

An indication that the stream should be closed.

Parameter
NameDescription
var Google\Cloud\Bigtable\V2\ReadChangeStreamResponse\CloseStream
Returns
TypeDescription
$this

getStreamRecord

Returns
TypeDescription
string