public static final class ReadChangeStreamResponse.CloseStream.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.CloseStream.Builder> implements ReadChangeStreamResponse.CloseStreamOrBuilder
A message indicating that the client should stop reading from the stream. If status is OK and `continuation_tokens` is empty, the stream has finished (for example if there was an `end_time` specified). If `continuation_tokens` is present, then a change in partitioning requires the client to open a new stream for each token to resume reading.Protobuf type
google.bigtable.v2.ReadChangeStreamResponse.CloseStream| Modifier and Type | Method and Description |
|---|---|
ReadChangeStreamResponse.CloseStream.Builder |
addAllContinuationTokens(Iterable<? extends StreamContinuationToken> values)
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
ReadChangeStreamResponse.CloseStream.Builder |
addContinuationTokens(int index,
StreamContinuationToken.Builder builderForValue)
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
ReadChangeStreamResponse.CloseStream.Builder |
addContinuationTokens(int index,
StreamContinuationToken value)
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
ReadChangeStreamResponse.CloseStream.Builder |
addContinuationTokens(StreamContinuationToken.Builder builderForValue)
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
ReadChangeStreamResponse.CloseStream.Builder |
addContinuationTokens(StreamContinuationToken value)
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
StreamContinuationToken.Builder |
addContinuationTokensBuilder()
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
StreamContinuationToken.Builder |
addContinuationTokensBuilder(int index)
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
ReadChangeStreamResponse.CloseStream.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReadChangeStreamResponse.CloseStream |
build() |
ReadChangeStreamResponse.CloseStream |
buildPartial() |
ReadChangeStreamResponse.CloseStream.Builder |
clear() |
ReadChangeStreamResponse.CloseStream.Builder |
clearContinuationTokens()
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
ReadChangeStreamResponse.CloseStream.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ReadChangeStreamResponse.CloseStream.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ReadChangeStreamResponse.CloseStream.Builder |
clearStatus()
The status of the stream.
|
ReadChangeStreamResponse.CloseStream.Builder |
clone() |
StreamContinuationToken |
getContinuationTokens(int index)
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
StreamContinuationToken.Builder |
getContinuationTokensBuilder(int index)
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
List<StreamContinuationToken.Builder> |
getContinuationTokensBuilderList()
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
int |
getContinuationTokensCount()
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
List<StreamContinuationToken> |
getContinuationTokensList()
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
StreamContinuationTokenOrBuilder |
getContinuationTokensOrBuilder(int index)
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
List<? extends StreamContinuationTokenOrBuilder> |
getContinuationTokensOrBuilderList()
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
ReadChangeStreamResponse.CloseStream |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.rpc.Status |
getStatus()
The status of the stream.
|
com.google.rpc.Status.Builder |
getStatusBuilder()
The status of the stream.
|
com.google.rpc.StatusOrBuilder |
getStatusOrBuilder()
The status of the stream.
|
boolean |
hasStatus()
The status of the stream.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ReadChangeStreamResponse.CloseStream.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ReadChangeStreamResponse.CloseStream.Builder |
mergeFrom(com.google.protobuf.Message other) |
ReadChangeStreamResponse.CloseStream.Builder |
mergeFrom(ReadChangeStreamResponse.CloseStream other) |
ReadChangeStreamResponse.CloseStream.Builder |
mergeStatus(com.google.rpc.Status value)
The status of the stream.
|
ReadChangeStreamResponse.CloseStream.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ReadChangeStreamResponse.CloseStream.Builder |
removeContinuationTokens(int index)
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
ReadChangeStreamResponse.CloseStream.Builder |
setContinuationTokens(int index,
StreamContinuationToken.Builder builderForValue)
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
ReadChangeStreamResponse.CloseStream.Builder |
setContinuationTokens(int index,
StreamContinuationToken value)
If non-empty, contains the information needed to start reading the new
partition(s) that contain segments of this partition's row range.
|
ReadChangeStreamResponse.CloseStream.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReadChangeStreamResponse.CloseStream.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ReadChangeStreamResponse.CloseStream.Builder |
setStatus(com.google.rpc.Status.Builder builderForValue)
The status of the stream.
|
ReadChangeStreamResponse.CloseStream.Builder |
setStatus(com.google.rpc.Status value)
The status of the stream.
|
ReadChangeStreamResponse.CloseStream.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.CloseStream.Builder>public ReadChangeStreamResponse.CloseStream.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.CloseStream.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.CloseStream.Builder>public ReadChangeStreamResponse.CloseStream getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ReadChangeStreamResponse.CloseStream build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ReadChangeStreamResponse.CloseStream buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ReadChangeStreamResponse.CloseStream.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.CloseStream.Builder>public ReadChangeStreamResponse.CloseStream.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.CloseStream.Builder>public ReadChangeStreamResponse.CloseStream.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.CloseStream.Builder>public ReadChangeStreamResponse.CloseStream.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.CloseStream.Builder>public ReadChangeStreamResponse.CloseStream.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.CloseStream.Builder>public ReadChangeStreamResponse.CloseStream.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.CloseStream.Builder>public ReadChangeStreamResponse.CloseStream.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadChangeStreamResponse.CloseStream.Builder>public ReadChangeStreamResponse.CloseStream.Builder mergeFrom(ReadChangeStreamResponse.CloseStream other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.CloseStream.Builder>public ReadChangeStreamResponse.CloseStream.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadChangeStreamResponse.CloseStream.Builder>IOExceptionpublic 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 ReadChangeStreamResponse.CloseStream.Builder setStatus(com.google.rpc.Status value)
The status of the stream.
.google.rpc.Status status = 1;public ReadChangeStreamResponse.CloseStream.Builder setStatus(com.google.rpc.Status.Builder builderForValue)
The status of the stream.
.google.rpc.Status status = 1;public ReadChangeStreamResponse.CloseStream.Builder mergeStatus(com.google.rpc.Status value)
The status of the stream.
.google.rpc.Status status = 1;public ReadChangeStreamResponse.CloseStream.Builder clearStatus()
The status of the stream.
.google.rpc.Status status = 1;public com.google.rpc.Status.Builder getStatusBuilder()
The status of the stream.
.google.rpc.Status status = 1;public 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 start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;getContinuationTokensList in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic int getContinuationTokensCount()
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
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 start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;getContinuationTokens in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic ReadChangeStreamResponse.CloseStream.Builder setContinuationTokens(int index, StreamContinuationToken value)
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;public ReadChangeStreamResponse.CloseStream.Builder setContinuationTokens(int index, StreamContinuationToken.Builder builderForValue)
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;public ReadChangeStreamResponse.CloseStream.Builder addContinuationTokens(StreamContinuationToken value)
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;public ReadChangeStreamResponse.CloseStream.Builder addContinuationTokens(int index, StreamContinuationToken value)
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;public ReadChangeStreamResponse.CloseStream.Builder addContinuationTokens(StreamContinuationToken.Builder builderForValue)
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;public ReadChangeStreamResponse.CloseStream.Builder addContinuationTokens(int index, StreamContinuationToken.Builder builderForValue)
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;public ReadChangeStreamResponse.CloseStream.Builder addAllContinuationTokens(Iterable<? extends StreamContinuationToken> values)
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;public ReadChangeStreamResponse.CloseStream.Builder clearContinuationTokens()
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;public ReadChangeStreamResponse.CloseStream.Builder removeContinuationTokens(int index)
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;public StreamContinuationToken.Builder getContinuationTokensBuilder(int index)
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;public StreamContinuationTokenOrBuilder getContinuationTokensOrBuilder(int index)
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;getContinuationTokensOrBuilder in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic List<? extends StreamContinuationTokenOrBuilder> getContinuationTokensOrBuilderList()
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;getContinuationTokensOrBuilderList in interface ReadChangeStreamResponse.CloseStreamOrBuilderpublic StreamContinuationToken.Builder addContinuationTokensBuilder()
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;public StreamContinuationToken.Builder addContinuationTokensBuilder(int index)
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;public List<StreamContinuationToken.Builder> getContinuationTokensBuilderList()
If non-empty, contains the information needed to start reading the new partition(s) that contain segments of this partition's row range.
repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;public final ReadChangeStreamResponse.CloseStream.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.CloseStream.Builder>public final ReadChangeStreamResponse.CloseStream.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadChangeStreamResponse.CloseStream.Builder>Copyright © 2023 Google LLC. All rights reserved.