Class ReadChangeStreamResponse.CloseStream.Builder

  • All Implemented Interfaces:
    ReadChangeStreamResponse.CloseStreamOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ReadChangeStreamResponse.CloseStream

    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` & `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