public static final class ReadChangeStreamResponse.CloseStream extends com.google.protobuf.GeneratedMessage implements ReadChangeStreamResponse.CloseStreamOrBuilder
A message indicating that the client should stop reading from the stream. If status is OK and `continuation_tokens` & `new_partitions` are empty, the stream has finished (for example if there was an `end_time` specified). If `continuation_tokens` & `new_partitions` are present, then a change in partitioning requires the client to open a new stream for each token to resume reading. Example: [B, D) ends | v new_partitions: [A, C) [C, E) continuation_tokens.partitions: [B,C) [C,D) ^---^ ^---^ ^ ^ | | | StreamContinuationToken 2 | StreamContinuationToken 1 To read the new partition [A,C), supply the continuation tokens whose ranges cover the new partition, for example ContinuationToken[A,B) & ContinuationToken[B,C).Protobuf type
google.bigtable.v2.ReadChangeStreamResponse.CloseStream| Modifier and Type | Class and Description |
|---|---|
static class |
ReadChangeStreamResponse.CloseStream.Builder
A message indicating that the client should stop reading from the stream.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONTINUATION_TOKENS_FIELD_NUMBER |
static int |
NEW_PARTITIONS_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
StreamContinuationToken |
getContinuationTokens(int index)
If non-empty, contains the information needed to resume reading their
associated partitions.
|
int |
getContinuationTokensCount()
If non-empty, contains the information needed to resume reading their
associated partitions.
|
List<StreamContinuationToken> |
getContinuationTokensList()
If non-empty, contains the information needed to resume reading their
associated partitions.
|
StreamContinuationTokenOrBuilder |
getContinuationTokensOrBuilder(int index)
If non-empty, contains the information needed to resume reading their
associated partitions.
|
List<? extends StreamContinuationTokenOrBuilder> |
getContinuationTokensOrBuilderList()
If non-empty, contains the information needed to resume reading their
associated partitions.
|
static ReadChangeStreamResponse.CloseStream |
getDefaultInstance() |
ReadChangeStreamResponse.CloseStream |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
StreamPartition |
getNewPartitions(int index)
If non-empty, contains the new partitions to start reading from, which
are related to but not necessarily identical to the partitions for the
above `continuation_tokens`.
|
int |
getNewPartitionsCount()
If non-empty, contains the new partitions to start reading from, which
are related to but not necessarily identical to the partitions for the
above `continuation_tokens`.
|
List<StreamPartition> |
getNewPartitionsList()
If non-empty, contains the new partitions to start reading from, which
are related to but not necessarily identical to the partitions for the
above `continuation_tokens`.
|
StreamPartitionOrBuilder |
getNewPartitionsOrBuilder(int index)
If non-empty, contains the new partitions to start reading from, which
are related to but not necessarily identical to the partitions for the
above `continuation_tokens`.
|
List<? extends StreamPartitionOrBuilder> |
getNewPartitionsOrBuilderList()
If non-empty, contains the new partitions to start reading from, which
are related to but not necessarily identical to the partitions for the
above `continuation_tokens`.
|
com.google.protobuf.Parser<ReadChangeStreamResponse.CloseStream> |
getParserForType() |
int |
getSerializedSize() |
com.google.rpc.Status |
getStatus()
The status of the stream.
|
com.google.rpc.StatusOrBuilder |
getStatusOrBuilder()
The status of the stream.
|
int |
hashCode() |
boolean |
hasStatus()
The status of the stream.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ReadChangeStreamResponse.CloseStream.Builder |
newBuilder() |
static ReadChangeStreamResponse.CloseStream.Builder |
newBuilder(ReadChangeStreamResponse.CloseStream prototype) |
ReadChangeStreamResponse.CloseStream.Builder |
newBuilderForType() |
protected ReadChangeStreamResponse.CloseStream.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static ReadChangeStreamResponse.CloseStream |
parseDelimitedFrom(InputStream input) |
static ReadChangeStreamResponse.CloseStream |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamResponse.CloseStream |
parseFrom(byte[] data) |
static ReadChangeStreamResponse.CloseStream |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamResponse.CloseStream |
parseFrom(ByteBuffer data) |
static ReadChangeStreamResponse.CloseStream |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamResponse.CloseStream |
parseFrom(com.google.protobuf.ByteString data) |
static ReadChangeStreamResponse.CloseStream |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamResponse.CloseStream |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReadChangeStreamResponse.CloseStream |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamResponse.CloseStream |
parseFrom(InputStream input) |
static ReadChangeStreamResponse.CloseStream |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReadChangeStreamResponse.CloseStream> |
parser() |
ReadChangeStreamResponse.CloseStream.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STATUS_FIELD_NUMBER
public static final int CONTINUATION_TOKENS_FIELD_NUMBER
public static final int NEW_PARTITIONS_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasStatus()
The status of the stream.
.google.rpc.Status status = 1;hasStatus in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic com.google.rpc.Status getStatus()
The status of the stream.
.google.rpc.Status status = 1;getStatus in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic com.google.rpc.StatusOrBuilder getStatusOrBuilder()
The status of the stream.
.google.rpc.Status status = 1;getStatusOrBuilder in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic List<StreamContinuationToken> getContinuationTokensList()
If non-empty, contains the information needed to resume reading their associated partitions.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;getContinuationTokensList in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic List<? extends StreamContinuationTokenOrBuilder> getContinuationTokensOrBuilderList()
If non-empty, contains the information needed to resume reading their associated partitions.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;getContinuationTokensOrBuilderList in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic int getContinuationTokensCount()
If non-empty, contains the information needed to resume reading their associated partitions.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;getContinuationTokensCount in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic StreamContinuationToken getContinuationTokens(int index)
If non-empty, contains the information needed to resume reading their associated partitions.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;getContinuationTokens in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic StreamContinuationTokenOrBuilder getContinuationTokensOrBuilder(int index)
If non-empty, contains the information needed to resume reading their associated partitions.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;getContinuationTokensOrBuilder in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic List<StreamPartition> getNewPartitionsList()
If non-empty, contains the new partitions to start reading from, which are related to but not necessarily identical to the partitions for the above `continuation_tokens`.
repeated .google.bigtable.v2.StreamPartition new_partitions = 3;getNewPartitionsList in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic List<? extends StreamPartitionOrBuilder> getNewPartitionsOrBuilderList()
If non-empty, contains the new partitions to start reading from, which are related to but not necessarily identical to the partitions for the above `continuation_tokens`.
repeated .google.bigtable.v2.StreamPartition new_partitions = 3;getNewPartitionsOrBuilderList in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic int getNewPartitionsCount()
If non-empty, contains the new partitions to start reading from, which are related to but not necessarily identical to the partitions for the above `continuation_tokens`.
repeated .google.bigtable.v2.StreamPartition new_partitions = 3;getNewPartitionsCount in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic StreamPartition getNewPartitions(int index)
If non-empty, contains the new partitions to start reading from, which are related to but not necessarily identical to the partitions for the above `continuation_tokens`.
repeated .google.bigtable.v2.StreamPartition new_partitions = 3;getNewPartitions in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic StreamPartitionOrBuilder getNewPartitionsOrBuilder(int index)
If non-empty, contains the new partitions to start reading from, which are related to but not necessarily identical to the partitions for the above `continuation_tokens`.
repeated .google.bigtable.v2.StreamPartition new_partitions = 3;getNewPartitionsOrBuilder in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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.CloseStream parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamResponse.CloseStream parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamResponse.CloseStream parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamResponse.CloseStream parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamResponse.CloseStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamResponse.CloseStream parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamResponse.CloseStream parseFrom(InputStream input) throws IOException
IOExceptionpublic static ReadChangeStreamResponse.CloseStream parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadChangeStreamResponse.CloseStream parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ReadChangeStreamResponse.CloseStream parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadChangeStreamResponse.CloseStream parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ReadChangeStreamResponse.CloseStream parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ReadChangeStreamResponse.CloseStream.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReadChangeStreamResponse.CloseStream.Builder newBuilder()
public static ReadChangeStreamResponse.CloseStream.Builder newBuilder(ReadChangeStreamResponse.CloseStream prototype)
public ReadChangeStreamResponse.CloseStream.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ReadChangeStreamResponse.CloseStream.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static ReadChangeStreamResponse.CloseStream getDefaultInstance()
public static com.google.protobuf.Parser<ReadChangeStreamResponse.CloseStream> parser()
public com.google.protobuf.Parser<ReadChangeStreamResponse.CloseStream> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic ReadChangeStreamResponse.CloseStream getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.