Package com.google.bigtable.v2
Class ReadChangeStreamResponse.DataChange.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
- com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder
-
- All Implemented Interfaces:
ReadChangeStreamResponse.DataChangeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReadChangeStreamResponse.DataChange
public static final class ReadChangeStreamResponse.DataChange.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder> implements ReadChangeStreamResponse.DataChangeOrBuilder
A message corresponding to one or more mutations to the partition being streamed. A single logical `DataChange` message may also be split across a sequence of multiple individual messages. Messages other than the first in a sequence will only have the `type` and `chunks` fields populated, with the final message in the sequence also containing `done` set to true.
Protobuf typegoogle.bigtable.v2.ReadChangeStreamResponse.DataChange
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadChangeStreamResponse.DataChange.BuilderaddAllChunks(Iterable<? extends ReadChangeStreamResponse.MutationChunk> values)The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.BuilderaddChunks(int index, ReadChangeStreamResponse.MutationChunk value)The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.BuilderaddChunks(int index, ReadChangeStreamResponse.MutationChunk.Builder builderForValue)The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.BuilderaddChunks(ReadChangeStreamResponse.MutationChunk value)The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.BuilderaddChunks(ReadChangeStreamResponse.MutationChunk.Builder builderForValue)The mutations associated with this change to the partition.ReadChangeStreamResponse.MutationChunk.BuilderaddChunksBuilder()The mutations associated with this change to the partition.ReadChangeStreamResponse.MutationChunk.BuilderaddChunksBuilder(int index)The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ReadChangeStreamResponse.DataChangebuild()ReadChangeStreamResponse.DataChangebuildPartial()ReadChangeStreamResponse.DataChange.Builderclear()ReadChangeStreamResponse.DataChange.BuilderclearChunks()The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.BuilderclearCommitTimestamp()The timestamp at which the mutation was applied on the Bigtable server.ReadChangeStreamResponse.DataChange.BuilderclearDone()When true, indicates that the entire `DataChange` has been read and the client can safely process the message.ReadChangeStreamResponse.DataChange.BuilderclearEstimatedLowWatermark()An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream.ReadChangeStreamResponse.DataChange.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ReadChangeStreamResponse.DataChange.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ReadChangeStreamResponse.DataChange.BuilderclearRowKey()The row key for all mutations that are part of this `DataChange`.ReadChangeStreamResponse.DataChange.BuilderclearSourceClusterId()The cluster where the mutation was applied.ReadChangeStreamResponse.DataChange.BuilderclearTiebreaker()A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics.ReadChangeStreamResponse.DataChange.BuilderclearToken()An encoded position for this stream's partition to restart reading from.ReadChangeStreamResponse.DataChange.BuilderclearType()The type of the mutation.ReadChangeStreamResponse.DataChange.Builderclone()ReadChangeStreamResponse.MutationChunkgetChunks(int index)The mutations associated with this change to the partition.ReadChangeStreamResponse.MutationChunk.BuildergetChunksBuilder(int index)The mutations associated with this change to the partition.List<ReadChangeStreamResponse.MutationChunk.Builder>getChunksBuilderList()The mutations associated with this change to the partition.intgetChunksCount()The mutations associated with this change to the partition.List<ReadChangeStreamResponse.MutationChunk>getChunksList()The mutations associated with this change to the partition.ReadChangeStreamResponse.MutationChunkOrBuildergetChunksOrBuilder(int index)The mutations associated with this change to the partition.List<? extends ReadChangeStreamResponse.MutationChunkOrBuilder>getChunksOrBuilderList()The mutations associated with this change to the partition.com.google.protobuf.TimestampgetCommitTimestamp()The timestamp at which the mutation was applied on the Bigtable server.com.google.protobuf.Timestamp.BuildergetCommitTimestampBuilder()The timestamp at which the mutation was applied on the Bigtable server.com.google.protobuf.TimestampOrBuildergetCommitTimestampOrBuilder()The timestamp at which the mutation was applied on the Bigtable server.ReadChangeStreamResponse.DataChangegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetDone()When true, indicates that the entire `DataChange` has been read and the client can safely process the message.com.google.protobuf.TimestampgetEstimatedLowWatermark()An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream.com.google.protobuf.Timestamp.BuildergetEstimatedLowWatermarkBuilder()An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream.com.google.protobuf.TimestampOrBuildergetEstimatedLowWatermarkOrBuilder()An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream.com.google.protobuf.ByteStringgetRowKey()The row key for all mutations that are part of this `DataChange`.StringgetSourceClusterId()The cluster where the mutation was applied.com.google.protobuf.ByteStringgetSourceClusterIdBytes()The cluster where the mutation was applied.intgetTiebreaker()A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics.StringgetToken()An encoded position for this stream's partition to restart reading from.com.google.protobuf.ByteStringgetTokenBytes()An encoded position for this stream's partition to restart reading from.ReadChangeStreamResponse.DataChange.TypegetType()The type of the mutation.intgetTypeValue()The type of the mutation.booleanhasCommitTimestamp()The timestamp at which the mutation was applied on the Bigtable server.booleanhasEstimatedLowWatermark()An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ReadChangeStreamResponse.DataChange.BuildermergeCommitTimestamp(com.google.protobuf.Timestamp value)The timestamp at which the mutation was applied on the Bigtable server.ReadChangeStreamResponse.DataChange.BuildermergeEstimatedLowWatermark(com.google.protobuf.Timestamp value)An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream.ReadChangeStreamResponse.DataChange.BuildermergeFrom(ReadChangeStreamResponse.DataChange other)ReadChangeStreamResponse.DataChange.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ReadChangeStreamResponse.DataChange.BuildermergeFrom(com.google.protobuf.Message other)ReadChangeStreamResponse.DataChange.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ReadChangeStreamResponse.DataChange.BuilderremoveChunks(int index)The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.BuildersetChunks(int index, ReadChangeStreamResponse.MutationChunk value)The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.BuildersetChunks(int index, ReadChangeStreamResponse.MutationChunk.Builder builderForValue)The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.BuildersetCommitTimestamp(com.google.protobuf.Timestamp value)The timestamp at which the mutation was applied on the Bigtable server.ReadChangeStreamResponse.DataChange.BuildersetCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)The timestamp at which the mutation was applied on the Bigtable server.ReadChangeStreamResponse.DataChange.BuildersetDone(boolean value)When true, indicates that the entire `DataChange` has been read and the client can safely process the message.ReadChangeStreamResponse.DataChange.BuildersetEstimatedLowWatermark(com.google.protobuf.Timestamp value)An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream.ReadChangeStreamResponse.DataChange.BuildersetEstimatedLowWatermark(com.google.protobuf.Timestamp.Builder builderForValue)An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream.ReadChangeStreamResponse.DataChange.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ReadChangeStreamResponse.DataChange.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ReadChangeStreamResponse.DataChange.BuildersetRowKey(com.google.protobuf.ByteString value)The row key for all mutations that are part of this `DataChange`.ReadChangeStreamResponse.DataChange.BuildersetSourceClusterId(String value)The cluster where the mutation was applied.ReadChangeStreamResponse.DataChange.BuildersetSourceClusterIdBytes(com.google.protobuf.ByteString value)The cluster where the mutation was applied.ReadChangeStreamResponse.DataChange.BuildersetTiebreaker(int value)A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics.ReadChangeStreamResponse.DataChange.BuildersetToken(String value)An encoded position for this stream's partition to restart reading from.ReadChangeStreamResponse.DataChange.BuildersetTokenBytes(com.google.protobuf.ByteString value)An encoded position for this stream's partition to restart reading from.ReadChangeStreamResponse.DataChange.BuildersetType(ReadChangeStreamResponse.DataChange.Type value)The type of the mutation.ReadChangeStreamResponse.DataChange.BuildersetTypeValue(int value)The type of the mutation.ReadChangeStreamResponse.DataChange.BuildersetUnknownFields(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<ReadChangeStreamResponse.DataChange.Builder>
-
clear
public ReadChangeStreamResponse.DataChange.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<ReadChangeStreamResponse.DataChange.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<ReadChangeStreamResponse.DataChange.Builder>
-
getDefaultInstanceForType
public ReadChangeStreamResponse.DataChange getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReadChangeStreamResponse.DataChange build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReadChangeStreamResponse.DataChange buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ReadChangeStreamResponse.DataChange.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<ReadChangeStreamResponse.DataChange.Builder>
-
setField
public ReadChangeStreamResponse.DataChange.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<ReadChangeStreamResponse.DataChange.Builder>
-
clearField
public ReadChangeStreamResponse.DataChange.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
clearOneof
public ReadChangeStreamResponse.DataChange.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
setRepeatedField
public ReadChangeStreamResponse.DataChange.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<ReadChangeStreamResponse.DataChange.Builder>
-
addRepeatedField
public ReadChangeStreamResponse.DataChange.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<ReadChangeStreamResponse.DataChange.Builder>
-
mergeFrom
public ReadChangeStreamResponse.DataChange.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
mergeFrom
public ReadChangeStreamResponse.DataChange.Builder mergeFrom(ReadChangeStreamResponse.DataChange other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
mergeFrom
public ReadChangeStreamResponse.DataChange.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<ReadChangeStreamResponse.DataChange.Builder>- Throws:
IOException
-
getTypeValue
public int getTypeValue()
The type of the mutation.
.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1;- Specified by:
getTypeValuein interfaceReadChangeStreamResponse.DataChangeOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public ReadChangeStreamResponse.DataChange.Builder setTypeValue(int value)
The type of the mutation.
.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public ReadChangeStreamResponse.DataChange.Type getType()
The type of the mutation.
.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1;- Specified by:
getTypein interfaceReadChangeStreamResponse.DataChangeOrBuilder- Returns:
- The type.
-
setType
public ReadChangeStreamResponse.DataChange.Builder setType(ReadChangeStreamResponse.DataChange.Type value)
The type of the mutation.
.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public ReadChangeStreamResponse.DataChange.Builder clearType()
The type of the mutation.
.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1;- Returns:
- This builder for chaining.
-
getSourceClusterId
public String getSourceClusterId()
The cluster where the mutation was applied. Not set when `type` is `GARBAGE_COLLECTION`.
string source_cluster_id = 2;- Specified by:
getSourceClusterIdin interfaceReadChangeStreamResponse.DataChangeOrBuilder- Returns:
- The sourceClusterId.
-
getSourceClusterIdBytes
public com.google.protobuf.ByteString getSourceClusterIdBytes()
The cluster where the mutation was applied. Not set when `type` is `GARBAGE_COLLECTION`.
string source_cluster_id = 2;- Specified by:
getSourceClusterIdBytesin interfaceReadChangeStreamResponse.DataChangeOrBuilder- Returns:
- The bytes for sourceClusterId.
-
setSourceClusterId
public ReadChangeStreamResponse.DataChange.Builder setSourceClusterId(String value)
The cluster where the mutation was applied. Not set when `type` is `GARBAGE_COLLECTION`.
string source_cluster_id = 2;- Parameters:
value- The sourceClusterId to set.- Returns:
- This builder for chaining.
-
clearSourceClusterId
public ReadChangeStreamResponse.DataChange.Builder clearSourceClusterId()
The cluster where the mutation was applied. Not set when `type` is `GARBAGE_COLLECTION`.
string source_cluster_id = 2;- Returns:
- This builder for chaining.
-
setSourceClusterIdBytes
public ReadChangeStreamResponse.DataChange.Builder setSourceClusterIdBytes(com.google.protobuf.ByteString value)
The cluster where the mutation was applied. Not set when `type` is `GARBAGE_COLLECTION`.
string source_cluster_id = 2;- Parameters:
value- The bytes for sourceClusterId to set.- Returns:
- This builder for chaining.
-
getRowKey
public com.google.protobuf.ByteString getRowKey()
The row key for all mutations that are part of this `DataChange`. If the `DataChange` is chunked across multiple messages, then this field will only be set for the first message.
bytes row_key = 3;- Specified by:
getRowKeyin interfaceReadChangeStreamResponse.DataChangeOrBuilder- Returns:
- The rowKey.
-
setRowKey
public ReadChangeStreamResponse.DataChange.Builder setRowKey(com.google.protobuf.ByteString value)
The row key for all mutations that are part of this `DataChange`. If the `DataChange` is chunked across multiple messages, then this field will only be set for the first message.
bytes row_key = 3;- Parameters:
value- The rowKey to set.- Returns:
- This builder for chaining.
-
clearRowKey
public ReadChangeStreamResponse.DataChange.Builder clearRowKey()
The row key for all mutations that are part of this `DataChange`. If the `DataChange` is chunked across multiple messages, then this field will only be set for the first message.
bytes row_key = 3;- Returns:
- This builder for chaining.
-
hasCommitTimestamp
public boolean hasCommitTimestamp()
The timestamp at which the mutation was applied on the Bigtable server.
.google.protobuf.Timestamp commit_timestamp = 4;- Specified by:
hasCommitTimestampin interfaceReadChangeStreamResponse.DataChangeOrBuilder- Returns:
- Whether the commitTimestamp field is set.
-
getCommitTimestamp
public com.google.protobuf.Timestamp getCommitTimestamp()
The timestamp at which the mutation was applied on the Bigtable server.
.google.protobuf.Timestamp commit_timestamp = 4;- Specified by:
getCommitTimestampin interfaceReadChangeStreamResponse.DataChangeOrBuilder- Returns:
- The commitTimestamp.
-
setCommitTimestamp
public ReadChangeStreamResponse.DataChange.Builder setCommitTimestamp(com.google.protobuf.Timestamp value)
The timestamp at which the mutation was applied on the Bigtable server.
.google.protobuf.Timestamp commit_timestamp = 4;
-
setCommitTimestamp
public ReadChangeStreamResponse.DataChange.Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp at which the mutation was applied on the Bigtable server.
.google.protobuf.Timestamp commit_timestamp = 4;
-
mergeCommitTimestamp
public ReadChangeStreamResponse.DataChange.Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value)
The timestamp at which the mutation was applied on the Bigtable server.
.google.protobuf.Timestamp commit_timestamp = 4;
-
clearCommitTimestamp
public ReadChangeStreamResponse.DataChange.Builder clearCommitTimestamp()
The timestamp at which the mutation was applied on the Bigtable server.
.google.protobuf.Timestamp commit_timestamp = 4;
-
getCommitTimestampBuilder
public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder()
The timestamp at which the mutation was applied on the Bigtable server.
.google.protobuf.Timestamp commit_timestamp = 4;
-
getCommitTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder()
The timestamp at which the mutation was applied on the Bigtable server.
.google.protobuf.Timestamp commit_timestamp = 4;- Specified by:
getCommitTimestampOrBuilderin interfaceReadChangeStreamResponse.DataChangeOrBuilder
-
getTiebreaker
public int getTiebreaker()
A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics. https://cloud.google.com/bigtable/docs/writes#conflict-resolution In the event that the same row key, column family, column qualifier, timestamp are modified on different clusters at the same `commit_timestamp`, the mutation with the larger `tiebreaker` will be the one chosen for the eventually consistent state of the system.
int32 tiebreaker = 5;- Specified by:
getTiebreakerin interfaceReadChangeStreamResponse.DataChangeOrBuilder- Returns:
- The tiebreaker.
-
setTiebreaker
public ReadChangeStreamResponse.DataChange.Builder setTiebreaker(int value)
A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics. https://cloud.google.com/bigtable/docs/writes#conflict-resolution In the event that the same row key, column family, column qualifier, timestamp are modified on different clusters at the same `commit_timestamp`, the mutation with the larger `tiebreaker` will be the one chosen for the eventually consistent state of the system.
int32 tiebreaker = 5;- Parameters:
value- The tiebreaker to set.- Returns:
- This builder for chaining.
-
clearTiebreaker
public ReadChangeStreamResponse.DataChange.Builder clearTiebreaker()
A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics. https://cloud.google.com/bigtable/docs/writes#conflict-resolution In the event that the same row key, column family, column qualifier, timestamp are modified on different clusters at the same `commit_timestamp`, the mutation with the larger `tiebreaker` will be the one chosen for the eventually consistent state of the system.
int32 tiebreaker = 5;- Returns:
- This builder for chaining.
-
getChunksList
public List<ReadChangeStreamResponse.MutationChunk> getChunksList()
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;- Specified by:
getChunksListin interfaceReadChangeStreamResponse.DataChangeOrBuilder
-
getChunksCount
public int getChunksCount()
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;- Specified by:
getChunksCountin interfaceReadChangeStreamResponse.DataChangeOrBuilder
-
getChunks
public ReadChangeStreamResponse.MutationChunk getChunks(int index)
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;- Specified by:
getChunksin interfaceReadChangeStreamResponse.DataChangeOrBuilder
-
setChunks
public ReadChangeStreamResponse.DataChange.Builder setChunks(int index, ReadChangeStreamResponse.MutationChunk value)
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
-
setChunks
public ReadChangeStreamResponse.DataChange.Builder setChunks(int index, ReadChangeStreamResponse.MutationChunk.Builder builderForValue)
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
-
addChunks
public ReadChangeStreamResponse.DataChange.Builder addChunks(ReadChangeStreamResponse.MutationChunk value)
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
-
addChunks
public ReadChangeStreamResponse.DataChange.Builder addChunks(int index, ReadChangeStreamResponse.MutationChunk value)
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
-
addChunks
public ReadChangeStreamResponse.DataChange.Builder addChunks(ReadChangeStreamResponse.MutationChunk.Builder builderForValue)
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
-
addChunks
public ReadChangeStreamResponse.DataChange.Builder addChunks(int index, ReadChangeStreamResponse.MutationChunk.Builder builderForValue)
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
-
addAllChunks
public ReadChangeStreamResponse.DataChange.Builder addAllChunks(Iterable<? extends ReadChangeStreamResponse.MutationChunk> values)
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
-
clearChunks
public ReadChangeStreamResponse.DataChange.Builder clearChunks()
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
-
removeChunks
public ReadChangeStreamResponse.DataChange.Builder removeChunks(int index)
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
-
getChunksBuilder
public ReadChangeStreamResponse.MutationChunk.Builder getChunksBuilder(int index)
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
-
getChunksOrBuilder
public ReadChangeStreamResponse.MutationChunkOrBuilder getChunksOrBuilder(int index)
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;- Specified by:
getChunksOrBuilderin interfaceReadChangeStreamResponse.DataChangeOrBuilder
-
getChunksOrBuilderList
public List<? extends ReadChangeStreamResponse.MutationChunkOrBuilder> getChunksOrBuilderList()
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;- Specified by:
getChunksOrBuilderListin interfaceReadChangeStreamResponse.DataChangeOrBuilder
-
addChunksBuilder
public ReadChangeStreamResponse.MutationChunk.Builder addChunksBuilder()
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
-
addChunksBuilder
public ReadChangeStreamResponse.MutationChunk.Builder addChunksBuilder(int index)
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
-
getChunksBuilderList
public List<ReadChangeStreamResponse.MutationChunk.Builder> getChunksBuilderList()
The mutations associated with this change to the partition. May contain complete mutations or chunks of a multi-message chunked `DataChange` record.
repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
-
getDone
public boolean getDone()
When true, indicates that the entire `DataChange` has been read and the client can safely process the message.
bool done = 8;- Specified by:
getDonein interfaceReadChangeStreamResponse.DataChangeOrBuilder- Returns:
- The done.
-
setDone
public ReadChangeStreamResponse.DataChange.Builder setDone(boolean value)
When true, indicates that the entire `DataChange` has been read and the client can safely process the message.
bool done = 8;- Parameters:
value- The done to set.- Returns:
- This builder for chaining.
-
clearDone
public ReadChangeStreamResponse.DataChange.Builder clearDone()
When true, indicates that the entire `DataChange` has been read and the client can safely process the message.
bool done = 8;- Returns:
- This builder for chaining.
-
getToken
public String getToken()
An encoded position for this stream's partition to restart reading from. This token is for the StreamPartition from the request.
string token = 9;- Specified by:
getTokenin interfaceReadChangeStreamResponse.DataChangeOrBuilder- Returns:
- The token.
-
getTokenBytes
public com.google.protobuf.ByteString getTokenBytes()
An encoded position for this stream's partition to restart reading from. This token is for the StreamPartition from the request.
string token = 9;- Specified by:
getTokenBytesin interfaceReadChangeStreamResponse.DataChangeOrBuilder- Returns:
- The bytes for token.
-
setToken
public ReadChangeStreamResponse.DataChange.Builder setToken(String value)
An encoded position for this stream's partition to restart reading from. This token is for the StreamPartition from the request.
string token = 9;- Parameters:
value- The token to set.- Returns:
- This builder for chaining.
-
clearToken
public ReadChangeStreamResponse.DataChange.Builder clearToken()
An encoded position for this stream's partition to restart reading from. This token is for the StreamPartition from the request.
string token = 9;- Returns:
- This builder for chaining.
-
setTokenBytes
public ReadChangeStreamResponse.DataChange.Builder setTokenBytes(com.google.protobuf.ByteString value)
An encoded position for this stream's partition to restart reading from. This token is for the StreamPartition from the request.
string token = 9;- Parameters:
value- The bytes for token to set.- Returns:
- This builder for chaining.
-
hasEstimatedLowWatermark
public boolean hasEstimatedLowWatermark()
An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream. It is possible that, under particular circumstances that a future record has a timestamp is is lower than a previously seen timestamp. For an example usage see https://beam.apache.org/documentation/basics/#watermarks
.google.protobuf.Timestamp estimated_low_watermark = 10;- Specified by:
hasEstimatedLowWatermarkin interfaceReadChangeStreamResponse.DataChangeOrBuilder- Returns:
- Whether the estimatedLowWatermark field is set.
-
getEstimatedLowWatermark
public com.google.protobuf.Timestamp getEstimatedLowWatermark()
An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream. It is possible that, under particular circumstances that a future record has a timestamp is is lower than a previously seen timestamp. For an example usage see https://beam.apache.org/documentation/basics/#watermarks
.google.protobuf.Timestamp estimated_low_watermark = 10;- Specified by:
getEstimatedLowWatermarkin interfaceReadChangeStreamResponse.DataChangeOrBuilder- Returns:
- The estimatedLowWatermark.
-
setEstimatedLowWatermark
public ReadChangeStreamResponse.DataChange.Builder setEstimatedLowWatermark(com.google.protobuf.Timestamp value)
An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream. It is possible that, under particular circumstances that a future record has a timestamp is is lower than a previously seen timestamp. For an example usage see https://beam.apache.org/documentation/basics/#watermarks
.google.protobuf.Timestamp estimated_low_watermark = 10;
-
setEstimatedLowWatermark
public ReadChangeStreamResponse.DataChange.Builder setEstimatedLowWatermark(com.google.protobuf.Timestamp.Builder builderForValue)
An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream. It is possible that, under particular circumstances that a future record has a timestamp is is lower than a previously seen timestamp. For an example usage see https://beam.apache.org/documentation/basics/#watermarks
.google.protobuf.Timestamp estimated_low_watermark = 10;
-
mergeEstimatedLowWatermark
public ReadChangeStreamResponse.DataChange.Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value)
An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream. It is possible that, under particular circumstances that a future record has a timestamp is is lower than a previously seen timestamp. For an example usage see https://beam.apache.org/documentation/basics/#watermarks
.google.protobuf.Timestamp estimated_low_watermark = 10;
-
clearEstimatedLowWatermark
public ReadChangeStreamResponse.DataChange.Builder clearEstimatedLowWatermark()
An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream. It is possible that, under particular circumstances that a future record has a timestamp is is lower than a previously seen timestamp. For an example usage see https://beam.apache.org/documentation/basics/#watermarks
.google.protobuf.Timestamp estimated_low_watermark = 10;
-
getEstimatedLowWatermarkBuilder
public com.google.protobuf.Timestamp.Builder getEstimatedLowWatermarkBuilder()
An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream. It is possible that, under particular circumstances that a future record has a timestamp is is lower than a previously seen timestamp. For an example usage see https://beam.apache.org/documentation/basics/#watermarks
.google.protobuf.Timestamp estimated_low_watermark = 10;
-
getEstimatedLowWatermarkOrBuilder
public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder()
An estimate of the commit timestamp that is usually lower than or equal to any timestamp for a record that will be delivered in the future on the stream. It is possible that, under particular circumstances that a future record has a timestamp is is lower than a previously seen timestamp. For an example usage see https://beam.apache.org/documentation/basics/#watermarks
.google.protobuf.Timestamp estimated_low_watermark = 10;- Specified by:
getEstimatedLowWatermarkOrBuilderin interfaceReadChangeStreamResponse.DataChangeOrBuilder
-
setUnknownFields
public final ReadChangeStreamResponse.DataChange.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
mergeUnknownFields
public final ReadChangeStreamResponse.DataChange.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
-