Class ReadChangeStreamResponse.CloseStream

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream
All Implemented Interfaces:
ReadChangeStreamResponse.CloseStreamOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
ReadChangeStreamResponse

public static final class ReadChangeStreamResponse.CloseStream extends com.google.protobuf.GeneratedMessageV3 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
See Also: