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 type
google.bigtable.v2.ReadChangeStreamResponse.DataChange
-
Method Summary
Modifier and TypeMethodDescriptionaddAllChunks
(Iterable<? extends ReadChangeStreamResponse.MutationChunk> values) The mutations associated with this change to the partition.addChunks
(int index, ReadChangeStreamResponse.MutationChunk value) The mutations associated with this change to the partition.addChunks
(int index, ReadChangeStreamResponse.MutationChunk.Builder builderForValue) The mutations associated with this change to the partition.The mutations associated with this change to the partition.addChunks
(ReadChangeStreamResponse.MutationChunk.Builder builderForValue) The mutations associated with this change to the partition.The mutations associated with this change to the partition.addChunksBuilder
(int index) The mutations associated with this change to the partition.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The mutations associated with this change to the partition.The timestamp at which the mutation was applied on the Bigtable server.When true, indicates that the entire `DataChange` has been read and the client can safely process the message.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.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The row key for all mutations that are part of this `DataChange`.The cluster where the mutation was applied.A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics.An encoded position for this stream's partition to restart reading from.The type of the mutation.clone()
getChunks
(int index) The mutations associated with this change to the partition.getChunksBuilder
(int index) The mutations associated with this change to the partition.The mutations associated with this change to the partition.int
The mutations associated with this change to the partition.The mutations associated with this change to the partition.getChunksOrBuilder
(int index) The mutations associated with this change to the partition.The mutations associated with this change to the partition.com.google.protobuf.Timestamp
The timestamp at which the mutation was applied on the Bigtable server.com.google.protobuf.Timestamp.Builder
The timestamp at which the mutation was applied on the Bigtable server.com.google.protobuf.TimestampOrBuilder
The timestamp at which the mutation was applied on the Bigtable server.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
getDone()
When true, indicates that the entire `DataChange` has been read and the client can safely process the message.com.google.protobuf.Timestamp
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.Builder
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.TimestampOrBuilder
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.ByteString
The row key for all mutations that are part of this `DataChange`.The cluster where the mutation was applied.com.google.protobuf.ByteString
The cluster where the mutation was applied.int
A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics.getToken()
An encoded position for this stream's partition to restart reading from.com.google.protobuf.ByteString
An encoded position for this stream's partition to restart reading from.getType()
The type of the mutation.int
The type of the mutation.boolean
The timestamp at which the mutation was applied on the Bigtable server.boolean
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.FieldAccessorTable
final boolean
mergeCommitTimestamp
(com.google.protobuf.Timestamp value) The timestamp at which the mutation was applied on the Bigtable server.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.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeChunks
(int index) The mutations associated with this change to the partition.setChunks
(int index, ReadChangeStreamResponse.MutationChunk value) The mutations associated with this change to the partition.setChunks
(int index, ReadChangeStreamResponse.MutationChunk.Builder builderForValue) The mutations associated with this change to the partition.setCommitTimestamp
(com.google.protobuf.Timestamp value) The timestamp at which the mutation was applied on the Bigtable server.setCommitTimestamp
(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp at which the mutation was applied on the Bigtable server.setDone
(boolean value) When true, indicates that the entire `DataChange` has been read and the client can safely process the message.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.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.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRowKey
(com.google.protobuf.ByteString value) The row key for all mutations that are part of this `DataChange`.setSourceClusterId
(String value) The cluster where the mutation was applied.setSourceClusterIdBytes
(com.google.protobuf.ByteString value) The cluster where the mutation was applied.setTiebreaker
(int value) A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics.An encoded position for this stream's partition to restart reading from.setTokenBytes
(com.google.protobuf.ByteString value) An encoded position for this stream's partition to restart reading from.The type of the mutation.setTypeValue
(int value) The type of the mutation.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, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
setField
public ReadChangeStreamResponse.DataChange.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
clearField
public ReadChangeStreamResponse.DataChange.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
clearOneof
public ReadChangeStreamResponse.DataChange.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
addRepeatedField
public ReadChangeStreamResponse.DataChange.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
mergeFrom
public ReadChangeStreamResponse.DataChange.Builder mergeFrom(ReadChangeStreamResponse.DataChange other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getTypeValue
in interfaceReadChangeStreamResponse.DataChangeOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
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
The type of the mutation.
.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1;
- Specified by:
getType
in 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
The type of the mutation.
.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1;
- Returns:
- This builder for chaining.
-
getSourceClusterId
The cluster where the mutation was applied. Not set when `type` is `GARBAGE_COLLECTION`.
string source_cluster_id = 2;
- Specified by:
getSourceClusterId
in 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:
getSourceClusterIdBytes
in interfaceReadChangeStreamResponse.DataChangeOrBuilder
- Returns:
- The bytes for sourceClusterId.
-
setSourceClusterId
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
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:
getRowKey
in interfaceReadChangeStreamResponse.DataChangeOrBuilder
- Returns:
- The rowKey.
-
setRowKey
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
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:
hasCommitTimestamp
in 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:
getCommitTimestamp
in 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
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:
getCommitTimestampOrBuilder
in 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:
getTiebreaker
in interfaceReadChangeStreamResponse.DataChangeOrBuilder
- Returns:
- The tiebreaker.
-
setTiebreaker
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
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
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:
getChunksList
in 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:
getChunksCount
in interfaceReadChangeStreamResponse.DataChangeOrBuilder
-
getChunks
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:
getChunks
in 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
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
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
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
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:
getChunksOrBuilder
in interfaceReadChangeStreamResponse.DataChangeOrBuilder
-
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:
getChunksOrBuilderList
in interfaceReadChangeStreamResponse.DataChangeOrBuilder
-
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
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
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:
getDone
in interfaceReadChangeStreamResponse.DataChangeOrBuilder
- Returns:
- The done.
-
setDone
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
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
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:
getToken
in 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:
getTokenBytes
in interfaceReadChangeStreamResponse.DataChangeOrBuilder
- Returns:
- The bytes for token.
-
setToken
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
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:
hasEstimatedLowWatermark
in 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:
getEstimatedLowWatermark
in 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
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:
getEstimatedLowWatermarkOrBuilder
in interfaceReadChangeStreamResponse.DataChangeOrBuilder
-
setUnknownFields
public final ReadChangeStreamResponse.DataChange.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-
mergeUnknownFields
public final ReadChangeStreamResponse.DataChange.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.DataChange.Builder>
-