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.Builder
addAllChunks(Iterable<? extends ReadChangeStreamResponse.MutationChunk> values)
The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.Builder
addChunks(int index, ReadChangeStreamResponse.MutationChunk value)
The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.Builder
addChunks(int index, ReadChangeStreamResponse.MutationChunk.Builder builderForValue)
The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.Builder
addChunks(ReadChangeStreamResponse.MutationChunk value)
The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.Builder
addChunks(ReadChangeStreamResponse.MutationChunk.Builder builderForValue)
The mutations associated with this change to the partition.ReadChangeStreamResponse.MutationChunk.Builder
addChunksBuilder()
The mutations associated with this change to the partition.ReadChangeStreamResponse.MutationChunk.Builder
addChunksBuilder(int index)
The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ReadChangeStreamResponse.DataChange
build()
ReadChangeStreamResponse.DataChange
buildPartial()
ReadChangeStreamResponse.DataChange.Builder
clear()
ReadChangeStreamResponse.DataChange.Builder
clearChunks()
The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.Builder
clearCommitTimestamp()
The timestamp at which the mutation was applied on the Bigtable server.ReadChangeStreamResponse.DataChange.Builder
clearDone()
When true, indicates that the entire `DataChange` has been read and the client can safely process the message.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.ReadChangeStreamResponse.DataChange.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ReadChangeStreamResponse.DataChange.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ReadChangeStreamResponse.DataChange.Builder
clearRowKey()
The row key for all mutations that are part of this `DataChange`.ReadChangeStreamResponse.DataChange.Builder
clearSourceClusterId()
The cluster where the mutation was applied.ReadChangeStreamResponse.DataChange.Builder
clearTiebreaker()
A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics.ReadChangeStreamResponse.DataChange.Builder
clearToken()
An encoded position for this stream's partition to restart reading from.ReadChangeStreamResponse.DataChange.Builder
clearType()
The type of the mutation.ReadChangeStreamResponse.DataChange.Builder
clone()
ReadChangeStreamResponse.MutationChunk
getChunks(int index)
The mutations associated with this change to the partition.ReadChangeStreamResponse.MutationChunk.Builder
getChunksBuilder(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.int
getChunksCount()
The mutations associated with this change to the partition.List<ReadChangeStreamResponse.MutationChunk>
getChunksList()
The mutations associated with this change to the partition.ReadChangeStreamResponse.MutationChunkOrBuilder
getChunksOrBuilder(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.Timestamp
getCommitTimestamp()
The timestamp at which the mutation was applied on the Bigtable server.com.google.protobuf.Timestamp.Builder
getCommitTimestampBuilder()
The timestamp at which the mutation was applied on the Bigtable server.com.google.protobuf.TimestampOrBuilder
getCommitTimestampOrBuilder()
The timestamp at which the mutation was applied on the Bigtable server.ReadChangeStreamResponse.DataChange
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getDone()
When true, indicates that the entire `DataChange` has been read and the client can safely process the message.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.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.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.com.google.protobuf.ByteString
getRowKey()
The row key for all mutations that are part of this `DataChange`.String
getSourceClusterId()
The cluster where the mutation was applied.com.google.protobuf.ByteString
getSourceClusterIdBytes()
The cluster where the mutation was applied.int
getTiebreaker()
A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics.String
getToken()
An encoded position for this stream's partition to restart reading from.com.google.protobuf.ByteString
getTokenBytes()
An encoded position for this stream's partition to restart reading from.ReadChangeStreamResponse.DataChange.Type
getType()
The type of the mutation.int
getTypeValue()
The type of the mutation.boolean
hasCommitTimestamp()
The timestamp at which the mutation was applied on the Bigtable server.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ReadChangeStreamResponse.DataChange.Builder
mergeCommitTimestamp(com.google.protobuf.Timestamp value)
The timestamp at which the mutation was applied on the Bigtable server.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.ReadChangeStreamResponse.DataChange.Builder
mergeFrom(ReadChangeStreamResponse.DataChange other)
ReadChangeStreamResponse.DataChange.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ReadChangeStreamResponse.DataChange.Builder
mergeFrom(com.google.protobuf.Message other)
ReadChangeStreamResponse.DataChange.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReadChangeStreamResponse.DataChange.Builder
removeChunks(int index)
The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.Builder
setChunks(int index, ReadChangeStreamResponse.MutationChunk value)
The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.Builder
setChunks(int index, ReadChangeStreamResponse.MutationChunk.Builder builderForValue)
The mutations associated with this change to the partition.ReadChangeStreamResponse.DataChange.Builder
setCommitTimestamp(com.google.protobuf.Timestamp value)
The timestamp at which the mutation was applied on the Bigtable server.ReadChangeStreamResponse.DataChange.Builder
setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp at which the mutation was applied on the Bigtable server.ReadChangeStreamResponse.DataChange.Builder
setDone(boolean value)
When true, indicates that the entire `DataChange` has been read and the client can safely process the message.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.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.ReadChangeStreamResponse.DataChange.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ReadChangeStreamResponse.DataChange.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ReadChangeStreamResponse.DataChange.Builder
setRowKey(com.google.protobuf.ByteString value)
The row key for all mutations that are part of this `DataChange`.ReadChangeStreamResponse.DataChange.Builder
setSourceClusterId(String value)
The cluster where the mutation was applied.ReadChangeStreamResponse.DataChange.Builder
setSourceClusterIdBytes(com.google.protobuf.ByteString value)
The cluster where the mutation was applied.ReadChangeStreamResponse.DataChange.Builder
setTiebreaker(int value)
A value that lets stream consumers reconstruct Bigtable's conflict resolution semantics.ReadChangeStreamResponse.DataChange.Builder
setToken(String value)
An encoded position for this stream's partition to restart reading from.ReadChangeStreamResponse.DataChange.Builder
setTokenBytes(com.google.protobuf.ByteString value)
An encoded position for this stream's partition to restart reading from.ReadChangeStreamResponse.DataChange.Builder
setType(ReadChangeStreamResponse.DataChange.Type value)
The type of the mutation.ReadChangeStreamResponse.DataChange.Builder
setTypeValue(int value)
The type of the mutation.ReadChangeStreamResponse.DataChange.Builder
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
-
-
-
-
Method Detail
-
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
public 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
public ReadChangeStreamResponse.DataChange getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReadChangeStreamResponse.DataChange build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReadChangeStreamResponse.DataChange buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ReadChangeStreamResponse.DataChange.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
public ReadChangeStreamResponse.DataChange.Builder mergeFrom(com.google.protobuf.Message other)
- 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
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:
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
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:
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
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:
getRowKey
in 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:
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
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:
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
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:
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
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:
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
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:
getChunksOrBuilder
in 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:
getChunksOrBuilderList
in 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:
getDone
in 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:
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
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:
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
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:
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>
-
-