Package com.google.spanner.v1
Interface ChangeStreamRecord.HeartbeatRecordOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ChangeStreamRecord.HeartbeatRecord,ChangeStreamRecord.HeartbeatRecord.Builder
- Enclosing class:
- ChangeStreamRecord
public static interface ChangeStreamRecord.HeartbeatRecordOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampIndicates the timestamp at which the query has returned all the records in the change stream partition with timestamp <= heartbeat timestamp.com.google.protobuf.TimestampOrBuilderIndicates the timestamp at which the query has returned all the records in the change stream partition with timestamp <= heartbeat timestamp.booleanIndicates the timestamp at which the query has returned all the records in the change stream partition with timestamp <= heartbeat timestamp.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTimestamp
boolean hasTimestamp()Indicates the timestamp at which the query has returned all the records in the change stream partition with timestamp <= heartbeat timestamp. The heartbeat timestamp will not be the same as the timestamps of other record types in the same partition.
.google.protobuf.Timestamp timestamp = 1;- Returns:
- Whether the timestamp field is set.
-
getTimestamp
com.google.protobuf.Timestamp getTimestamp()Indicates the timestamp at which the query has returned all the records in the change stream partition with timestamp <= heartbeat timestamp. The heartbeat timestamp will not be the same as the timestamps of other record types in the same partition.
.google.protobuf.Timestamp timestamp = 1;- Returns:
- The timestamp.
-
getTimestampOrBuilder
com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()Indicates the timestamp at which the query has returned all the records in the change stream partition with timestamp <= heartbeat timestamp. The heartbeat timestamp will not be the same as the timestamps of other record types in the same partition.
.google.protobuf.Timestamp timestamp = 1;
-