public static final class ReadChangeStreamResponse.DataChange extends com.google.protobuf.GeneratedMessageV3 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| Modifier and Type | Class and Description |
|---|---|
static class |
ReadChangeStreamResponse.DataChange.Builder
A message corresponding to one or more mutations to the partition
being streamed.
|
static class |
ReadChangeStreamResponse.DataChange.Type
The type of mutation.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CHUNKS_FIELD_NUMBER |
static int |
COMMIT_TIMESTAMP_FIELD_NUMBER |
static int |
DONE_FIELD_NUMBER |
static int |
ESTIMATED_LOW_WATERMARK_FIELD_NUMBER |
static int |
ROW_KEY_FIELD_NUMBER |
static int |
SOURCE_CLUSTER_ID_FIELD_NUMBER |
static int |
TIEBREAKER_FIELD_NUMBER |
static int |
TOKEN_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ReadChangeStreamResponse.MutationChunk |
getChunks(int index)
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.TimestampOrBuilder |
getCommitTimestampOrBuilder()
The timestamp at which the mutation was applied on the Bigtable server.
|
static ReadChangeStreamResponse.DataChange |
getDefaultInstance() |
ReadChangeStreamResponse.DataChange |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.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.Parser<ReadChangeStreamResponse.DataChange> |
getParserForType() |
com.google.protobuf.ByteString |
getRowKey()
The row key for all mutations that are part of this `DataChange`.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ReadChangeStreamResponse.DataChange.Builder |
newBuilder() |
static ReadChangeStreamResponse.DataChange.Builder |
newBuilder(ReadChangeStreamResponse.DataChange prototype) |
ReadChangeStreamResponse.DataChange.Builder |
newBuilderForType() |
protected ReadChangeStreamResponse.DataChange.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ReadChangeStreamResponse.DataChange |
parseDelimitedFrom(InputStream input) |
static ReadChangeStreamResponse.DataChange |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamResponse.DataChange |
parseFrom(byte[] data) |
static ReadChangeStreamResponse.DataChange |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamResponse.DataChange |
parseFrom(ByteBuffer data) |
static ReadChangeStreamResponse.DataChange |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamResponse.DataChange |
parseFrom(com.google.protobuf.ByteString data) |
static ReadChangeStreamResponse.DataChange |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamResponse.DataChange |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReadChangeStreamResponse.DataChange |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamResponse.DataChange |
parseFrom(InputStream input) |
static ReadChangeStreamResponse.DataChange |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReadChangeStreamResponse.DataChange> |
parser() |
ReadChangeStreamResponse.DataChange.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TYPE_FIELD_NUMBER
public static final int SOURCE_CLUSTER_ID_FIELD_NUMBER
public static final int ROW_KEY_FIELD_NUMBER
public static final int COMMIT_TIMESTAMP_FIELD_NUMBER
public static final int TIEBREAKER_FIELD_NUMBER
public static final int CHUNKS_FIELD_NUMBER
public static final int DONE_FIELD_NUMBER
public static final int TOKEN_FIELD_NUMBER
public static final int ESTIMATED_LOW_WATERMARK_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getTypeValue()
The type of the mutation.
.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1;getTypeValue in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic ReadChangeStreamResponse.DataChange.Type getType()
The type of the mutation.
.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1;getType in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic String getSourceClusterId()
The cluster where the mutation was applied. Not set when `type` is `GARBAGE_COLLECTION`.
string source_cluster_id = 2;getSourceClusterId in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic com.google.protobuf.ByteString getSourceClusterIdBytes()
The cluster where the mutation was applied. Not set when `type` is `GARBAGE_COLLECTION`.
string source_cluster_id = 2;getSourceClusterIdBytes in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic 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;getRowKey in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic boolean hasCommitTimestamp()
The timestamp at which the mutation was applied on the Bigtable server.
.google.protobuf.Timestamp commit_timestamp = 4;hasCommitTimestamp in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic com.google.protobuf.Timestamp getCommitTimestamp()
The timestamp at which the mutation was applied on the Bigtable server.
.google.protobuf.Timestamp commit_timestamp = 4;getCommitTimestamp in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder()
The timestamp at which the mutation was applied on the Bigtable server.
.google.protobuf.Timestamp commit_timestamp = 4;getCommitTimestampOrBuilder in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic 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;getTiebreaker in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic 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;getChunksList in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic 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;getChunksOrBuilderList in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic 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;getChunksCount in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic 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;getChunks in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic 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;getChunksOrBuilder in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic boolean getDone()
When true, indicates that the entire `DataChange` has been read and the client can safely process the message.
bool done = 8;getDone in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic 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;getToken in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic 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;getTokenBytes in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic 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;hasEstimatedLowWatermark in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic 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;getEstimatedLowWatermark in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic 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;getEstimatedLowWatermarkOrBuilder in interface ReadChangeStreamResponse.DataChangeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ReadChangeStreamResponse.DataChange parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamResponse.DataChange parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamResponse.DataChange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamResponse.DataChange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamResponse.DataChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamResponse.DataChange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamResponse.DataChange parseFrom(InputStream input) throws IOException
IOExceptionpublic static ReadChangeStreamResponse.DataChange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadChangeStreamResponse.DataChange parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ReadChangeStreamResponse.DataChange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadChangeStreamResponse.DataChange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ReadChangeStreamResponse.DataChange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ReadChangeStreamResponse.DataChange.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReadChangeStreamResponse.DataChange.Builder newBuilder()
public static ReadChangeStreamResponse.DataChange.Builder newBuilder(ReadChangeStreamResponse.DataChange prototype)
public ReadChangeStreamResponse.DataChange.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ReadChangeStreamResponse.DataChange.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ReadChangeStreamResponse.DataChange getDefaultInstance()
public static com.google.protobuf.Parser<ReadChangeStreamResponse.DataChange> parser()
public com.google.protobuf.Parser<ReadChangeStreamResponse.DataChange> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ReadChangeStreamResponse.DataChange getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.