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

Optional. Data for populating the Message object.

↳ data_changeReadChangeStreamResponse\DataChange

A mutation to the partition.

↳ heartbeatReadChangeStreamResponse\Heartbeat

A periodic heartbeat message.

↳ close_streamReadChangeStreamResponse\CloseStream

An indication that the stream should be closed.

getDataChange

A mutation to the partition.

Returns
TypeDescription
ReadChangeStreamResponse\DataChange|null

hasDataChange

setDataChange

A mutation to the partition.

Parameter
NameDescription
varReadChangeStreamResponse\DataChange
Returns
TypeDescription
$this

getHeartbeat

A periodic heartbeat message.

Returns
TypeDescription
ReadChangeStreamResponse\Heartbeat|null

hasHeartbeat

setHeartbeat

A periodic heartbeat message.

Parameter
NameDescription
varReadChangeStreamResponse\Heartbeat
Returns
TypeDescription
$this

getCloseStream

An indication that the stream should be closed.

Returns
TypeDescription
ReadChangeStreamResponse\CloseStream|null

hasCloseStream

setCloseStream

An indication that the stream should be closed.

Parameter
NameDescription
varReadChangeStreamResponse\CloseStream
Returns
TypeDescription
$this

getStreamRecord

Returns
TypeDescription
string