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, 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, correlationId: Option[String] = _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 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. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  28. val offset: Seq[Offset]
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. val replicaInfo: Option[ReplicaInfo]
  31. def serializedSize: Int
    Definition Classes
    InitReq → GeneratedMessage
  32. val sliceMax: Int
  33. val sliceMin: Int
  34. val streamId: String
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  37. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  38. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  39. def toProtoString: String
    Definition Classes
    InitReq → GeneratedMessage
  40. val unknownFields: UnknownFieldSet
  41. def update(ms: (Lens[InitReq, InitReq]) => Mutation[InitReq]*): InitReq
    Definition Classes
    Updatable
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. def withCorrelationId(__v: String): InitReq
  46. def withFilter(__v: Seq[FilterCriteria]): InitReq
  47. def withOffset(__v: Seq[Offset]): InitReq
  48. def withReplicaInfo(__v: ReplicaInfo): InitReq
  49. def withSliceMax(__v: Int): InitReq
  50. def withSliceMin(__v: Int): InitReq
  51. def withStreamId(__v: String): InitReq
  52. def withUnknownFields(__v: UnknownFieldSet): InitReq
  53. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  54. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    InitReq → GeneratedMessage
  55. 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