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 \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data | array Optional. Data for populating the Message object. |
↳ data_change | ReadChangeStreamResponse\DataChange A mutation to the partition. |
↳ heartbeat | ReadChangeStreamResponse\Heartbeat A periodic heartbeat message. |
↳ close_stream | ReadChangeStreamResponse\CloseStream An indication that the stream should be closed. |
getDataChange
A mutation to the partition.
Returns | |
---|---|
Type | Description |
ReadChangeStreamResponse\DataChange|null |
hasDataChange
setDataChange
A mutation to the partition.
Parameter | |
---|---|
Name | Description |
var | ReadChangeStreamResponse\DataChange |
Returns | |
---|---|
Type | Description |
$this |
getHeartbeat
A periodic heartbeat message.
Returns | |
---|---|
Type | Description |
ReadChangeStreamResponse\Heartbeat|null |
hasHeartbeat
setHeartbeat
A periodic heartbeat message.
Parameter | |
---|---|
Name | Description |
var | ReadChangeStreamResponse\Heartbeat |
Returns | |
---|---|
Type | Description |
$this |
getCloseStream
An indication that the stream should be closed.
Returns | |
---|---|
Type | Description |
ReadChangeStreamResponse\CloseStream|null |
hasCloseStream
setCloseStream
An indication that the stream should be closed.
Parameter | |
---|---|
Name | Description |
var | ReadChangeStreamResponse\CloseStream |
Returns | |
---|---|
Type | Description |
$this |
getStreamRecord
Returns | |
---|---|
Type | Description |
string |