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. def addAllFilter(__vs: Iterable[FilterCriteria]): InitReq
  2. def addAllOffset(__vs: Iterable[Offset]): InitReq
  3. def addFilter(__vs: FilterCriteria*): InitReq
  4. def addOffset(__vs: Offset*): InitReq
  5. def clearFilter: InitReq
  6. def clearOffset: InitReq
  7. def clearReplicaInfo: InitReq
  8. def companion: InitReq.type
    Definition Classes
    InitReq → GeneratedMessage
  9. def discardUnknownFields: InitReq
  10. val filter: Seq[FilterCriteria]
  11. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    InitReq → GeneratedMessage
  12. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    InitReq → GeneratedMessage
  13. def getReplicaInfo: ReplicaInfo
  14. val offset: Seq[Offset]
  15. def productElementNames: Iterator[String]
    Definition Classes
    Product
  16. val replicaInfo: Option[ReplicaInfo]
  17. def serializedSize: Int
    Definition Classes
    InitReq → GeneratedMessage
  18. val sliceMax: Int
  19. val sliceMin: Int
  20. val streamId: String
  21. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  22. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  23. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  24. def toProtoString: String
    Definition Classes
    InitReq → GeneratedMessage
  25. val unknownFields: UnknownFieldSet
  26. def update(ms: (Lens[InitReq, InitReq]) => Mutation[InitReq]*): InitReq
    Definition Classes
    Updatable
  27. def withFilter(__v: Seq[FilterCriteria]): InitReq
  28. def withOffset(__v: Seq[Offset]): InitReq
  29. def withReplicaInfo(__v: ReplicaInfo): InitReq
  30. def withSliceMax(__v: Int): InitReq
  31. def withSliceMin(__v: Int): InitReq
  32. def withStreamId(__v: String): InitReq
  33. def withUnknownFields(__v: UnknownFieldSet): InitReq
  34. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  35. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    InitReq → GeneratedMessage
  36. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage