Package com.google.spanner.v1
Class ChangeStreamRecord.HeartbeatRecord.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
com.google.spanner.v1.ChangeStreamRecord.HeartbeatRecord.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ChangeStreamRecord.HeartbeatRecordOrBuilder,Cloneable
- Enclosing class:
- ChangeStreamRecord.HeartbeatRecord
public static final class ChangeStreamRecord.HeartbeatRecord.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
implements ChangeStreamRecord.HeartbeatRecordOrBuilder
A heartbeat record is returned as a progress indicator, when there are no data changes or any other partition record types in the change stream partition.Protobuf type
google.spanner.v1.ChangeStreamRecord.HeartbeatRecord-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Indicates the timestamp at which the query has returned all the records in the change stream partition with timestamp <= heartbeat timestamp.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.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.Timestamp.BuilderIndicates 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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTimestamp(com.google.protobuf.Timestamp value) Indicates the timestamp at which the query has returned all the records in the change stream partition with timestamp <= heartbeat timestamp.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTimestamp(com.google.protobuf.Timestamp value) Indicates the timestamp at which the query has returned all the records in the change stream partition with timestamp <= heartbeat timestamp.setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) Indicates the timestamp at which the query has returned all the records in the change stream partition with timestamp <= heartbeat timestamp.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
-
setField
public ChangeStreamRecord.HeartbeatRecord.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
-
clearField
public ChangeStreamRecord.HeartbeatRecord.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
-
clearOneof
public ChangeStreamRecord.HeartbeatRecord.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
-
setRepeatedField
public ChangeStreamRecord.HeartbeatRecord.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
-
addRepeatedField
public ChangeStreamRecord.HeartbeatRecord.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
-
mergeFrom
public ChangeStreamRecord.HeartbeatRecord.Builder mergeFrom(ChangeStreamRecord.HeartbeatRecord other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
-
mergeFrom
public ChangeStreamRecord.HeartbeatRecord.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>- Throws:
IOException
-
hasTimestamp
public 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;- Specified by:
hasTimestampin interfaceChangeStreamRecord.HeartbeatRecordOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public 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;- Specified by:
getTimestampin interfaceChangeStreamRecord.HeartbeatRecordOrBuilder- Returns:
- The timestamp.
-
setTimestamp
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; -
setTimestamp
public ChangeStreamRecord.HeartbeatRecord.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) 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; -
mergeTimestamp
public ChangeStreamRecord.HeartbeatRecord.Builder mergeTimestamp(com.google.protobuf.Timestamp value) 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; -
clearTimestamp
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; -
getTimestampBuilder
public com.google.protobuf.Timestamp.Builder getTimestampBuilder()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; -
getTimestampOrBuilder
public 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;- Specified by:
getTimestampOrBuilderin interfaceChangeStreamRecord.HeartbeatRecordOrBuilder
-
setUnknownFields
public final ChangeStreamRecord.HeartbeatRecord.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
-
mergeUnknownFields
public final ChangeStreamRecord.HeartbeatRecord.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ChangeStreamRecord.HeartbeatRecord.Builder>
-