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, 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

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, 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

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