Class/Object

com.youtube.vitess.proto.vtgate

UpdateStreamResponse

Related Docs: object UpdateStreamResponse | package vtgate

Permalink

final case class UpdateStreamResponse(event: Option[StreamEvent] = None, resumeTimestamp: Long = 0L) extends GeneratedMessage with Message[UpdateStreamResponse] with Updatable[UpdateStreamResponse] with Product with Serializable

UpdateStreamResponse is streamed by UpdateStream.

event

event is one event from the stream.

resumeTimestamp

resume_timestamp is the timestamp to resume streaming from if the client is interrupted. If the Update Stream only goes to one shard, this is equal to event.timestamp. If the Update Stream goes to multiple shards and aggregates, this is the minimum value of the current timestamp for all shards.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[UpdateStreamResponse], Message[UpdateStreamResponse], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UpdateStreamResponse
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UpdateStreamResponse(event: Option[StreamEvent] = None, resumeTimestamp: Long = 0L)

    Permalink

    event

    event is one event from the stream.

    resumeTimestamp

    resume_timestamp is the timestamp to resume streaming from if the client is interrupted. If the Update Stream only goes to one shard, this is equal to event.timestamp. If the Update Stream goes to multiple shards and aggregates, this is the minimum value of the current timestamp for all shards.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clearEvent: UpdateStreamResponse

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def companion: UpdateStreamResponse.type

    Permalink
    Definition Classes
    UpdateStreamResponse → GeneratedMessage
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. val event: Option[StreamEvent]

    Permalink

    event is one event from the stream.

  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getEvent: StreamEvent

    Permalink
  13. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    UpdateStreamResponse → GeneratedMessage
  14. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    UpdateStreamResponse → GeneratedMessage
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def mergeFrom(_input__: CodedInputStream): UpdateStreamResponse

    Permalink
    Definition Classes
    UpdateStreamResponse → Message
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. val resumeTimestamp: Long

    Permalink

    resume_timestamp is the timestamp to resume streaming from if the client is interrupted.

    resume_timestamp is the timestamp to resume streaming from if the client is interrupted. If the Update Stream only goes to one shard, this is equal to event.timestamp. If the Update Stream goes to multiple shards and aggregates, this is the minimum value of the current timestamp for all shards.

  21. final def serializedSize: Int

    Permalink
    Definition Classes
    UpdateStreamResponse → GeneratedMessage
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  24. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  25. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  26. def toString(): String

    Permalink
    Definition Classes
    UpdateStreamResponse → AnyRef → Any
  27. def update(ms: (Lens[UpdateStreamResponse, UpdateStreamResponse]) ⇒ Mutation[UpdateStreamResponse]*): UpdateStreamResponse

    Permalink
    Definition Classes
    Updatable
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def withEvent(__v: StreamEvent): UpdateStreamResponse

    Permalink
  32. def withResumeTimestamp(__v: Long): UpdateStreamResponse

    Permalink
  33. def writeDelimitedTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage
  34. def writeTo(_output__: CodedOutputStream): Unit

    Permalink
    Definition Classes
    UpdateStreamResponse → GeneratedMessage
  35. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[UpdateStreamResponse]

Inherited from Message[UpdateStreamResponse]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped