final case class InitReq(streamId: String = "", sliceMin: Int = 0, sliceMax: Int = 0, offset: Seq[Offset] = _root_.scala.Seq.empty, filter: Seq[FilterCriteria] = _root_.scala.Seq.empty, replicaInfo: Option[ReplicaInfo] = _root_.scala.None, correlationId: Option[String] = _root_.scala.None, keepAliveIntervalMillis: Long = 0L, keepAliveTimeoutMillis: Long = 0L, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[InitReq] with Product with Serializable

The first message must always be this InitReq to setup the stream. It can only be used as the first message.

streamId

the logical stream identifier, mapped to a specific internal entity type by the producer settings

sliceMin

entities are partitioned by a deterministic slice (0-1023), a consumer would handle a slice range from slice_min to slice_max

offset

start from this offset if empty, then NoOffset if single and no slice defined, then TimestampOffset if any and slice defined, then TimestampOffsetBySlice

filter

consumer defined event filters

keepAliveIntervalMillis

if greater than 0 the producer will emit StreamOut.keep_alive messages when no events have been emitted for this many milliseconds, to keep the connection alive end-to-end through proxies and load balancers. The producer clamps the interval to between 1 second and 1 hour, and emits one keep alive right away when the stream starts.

keepAliveTimeoutMillis

if greater than 0 the producer fails the stream when no StreamIn.keep_alive has arrived from the consumer for this many milliseconds, counted once the consumer has sent its first one. At least twice the interval.

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

Instance Constructors

  1. new InitReq(streamId: String = "", sliceMin: Int = 0, sliceMax: Int = 0, offset: Seq[Offset] = _root_.scala.Seq.empty, filter: Seq[FilterCriteria] = _root_.scala.Seq.empty, replicaInfo: Option[ReplicaInfo] = _root_.scala.None, correlationId: Option[String] = _root_.scala.None, keepAliveIntervalMillis: Long = 0L, keepAliveTimeoutMillis: Long = 0L, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    streamId

    the logical stream identifier, mapped to a specific internal entity type by the producer settings

    sliceMin

    entities are partitioned by a deterministic slice (0-1023), a consumer would handle a slice range from slice_min to slice_max

    offset

    start from this offset if empty, then NoOffset if single and no slice defined, then TimestampOffset if any and slice defined, then TimestampOffsetBySlice

    filter

    consumer defined event filters

    keepAliveIntervalMillis

    if greater than 0 the producer will emit StreamOut.keep_alive messages when no events have been emitted for this many milliseconds, to keep the connection alive end-to-end through proxies and load balancers. The producer clamps the interval to between 1 second and 1 hour, and emits one keep alive right away when the stream starts.

    keepAliveTimeoutMillis

    if greater than 0 the producer fails the stream when no StreamIn.keep_alive has arrived from the consumer for this many milliseconds, counted once the consumer has sent its first one. At least twice the interval.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllFilter(__vs: Iterable[FilterCriteria]): InitReq
  5. def addAllOffset(__vs: Iterable[Offset]): InitReq
  6. def addFilter(__vs: FilterCriteria*): InitReq
  7. def addOffset(__vs: Offset*): InitReq
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clearCorrelationId: InitReq
  10. def clearFilter: InitReq
  11. def clearOffset: InitReq
  12. def clearReplicaInfo: InitReq
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  14. def companion: InitReq.type
    Definition Classes
    InitReq → GeneratedMessage
  15. val correlationId: Option[String]
  16. def discardUnknownFields: InitReq
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. val filter: Seq[FilterCriteria]
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  20. def getCorrelationId: String
  21. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    InitReq → GeneratedMessage
  22. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    InitReq → GeneratedMessage
  23. def getReplicaInfo: ReplicaInfo
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. val keepAliveIntervalMillis: Long
  26. val keepAliveTimeoutMillis: Long
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  30. val offset: Seq[Offset]
  31. def productElementNames: Iterator[String]
    Definition Classes
    Product
  32. val replicaInfo: Option[ReplicaInfo]
  33. def serializedSize: Int
    Definition Classes
    InitReq → GeneratedMessage
  34. val sliceMax: Int
  35. val sliceMin: Int
  36. val streamId: String
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  39. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  40. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  41. def toProtoString: String
    Definition Classes
    InitReq → GeneratedMessage
  42. val unknownFields: UnknownFieldSet
  43. def update(ms: (Lens[InitReq, InitReq]) => Mutation[InitReq]*): InitReq
    Definition Classes
    Updatable
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. def withCorrelationId(__v: String): InitReq
  48. def withFilter(__v: Seq[FilterCriteria]): InitReq
  49. def withKeepAliveIntervalMillis(__v: Long): InitReq
  50. def withKeepAliveTimeoutMillis(__v: Long): InitReq
  51. def withOffset(__v: Seq[Offset]): InitReq
  52. def withReplicaInfo(__v: ReplicaInfo): InitReq
  53. def withSliceMax(__v: Int): InitReq
  54. def withSliceMin(__v: Int): InitReq
  55. def withStreamId(__v: String): InitReq
  56. def withUnknownFields(__v: UnknownFieldSet): InitReq
  57. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  58. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    InitReq → GeneratedMessage
  59. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Updatable[InitReq]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped