CloseStream

com.google.bigtable.v2.bigtable.ReadChangeStreamResponse.CloseStream
See theCloseStream companion object
final case class CloseStream(status: Option[Status], continuationTokens: Seq[StreamContinuationToken], newPartitions: Seq[StreamPartition], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[CloseStream]

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).

Value parameters

continuationTokens

If non-empty, contains the information needed to resume reading their associated partitions.

newPartitions

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.

status

The status of the stream.

Attributes

Companion
object
Source
ReadChangeStreamResponse.scala
Graph
Supertypes
trait Updatable[CloseStream]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
ReadChangeStreamResponse.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
ReadChangeStreamResponse.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
ReadChangeStreamResponse.scala
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
ReadChangeStreamResponse.scala
def withUnknownFields(`__v`: UnknownFieldSet): CloseStream

Attributes

Source
ReadChangeStreamResponse.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
ReadChangeStreamResponse.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
def update(ms: Lens[CloseStream, CloseStream] => () => CloseStream*): A

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala