final case class Event(persistenceId: String = "", seqNr: Long = 0L, slice: Int = 0, offset: Seq[Offset] = _root_.scala.Seq.empty, payload: Option[Any] = _root_.scala.None, source: String = "", metadata: Option[Any] = _root_.scala.None, tags: Seq[String] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Event] with Product with Serializable

payload

The event payload may be serialized as Protobuf message when the type_url prefix is type.googleapis.com/ or with Akka serialization when the type_url prefix ser.akka.io/. For Akka serialization, the serializer id and manifest are encoded into a custom type_url schema. Note that the payload is empty for backtracking events, see source.

source

"" for ordinary events. "BT" for backtracking events. "PS" for PubSub events.

Annotations
@SerialVersionUID()
Source
Event.scala
Linear Supertypes
Updatable[Event], GeneratedMessage, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Event
  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 Event(persistenceId: String = "", seqNr: Long = 0L, slice: Int = 0, offset: Seq[Offset] = _root_.scala.Seq.empty, payload: Option[Any] = _root_.scala.None, source: String = "", metadata: Option[Any] = _root_.scala.None, tags: Seq[String] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    payload

    The event payload may be serialized as Protobuf message when the type_url prefix is type.googleapis.com/ or with Akka serialization when the type_url prefix ser.akka.io/. For Akka serialization, the serializer id and manifest are encoded into a custom type_url schema. Note that the payload is empty for backtracking events, see source.

    source

    "" for ordinary events. "BT" for backtracking events. "PS" for PubSub events.

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 addAllOffset(__vs: Iterable[Offset]): Event
  5. def addAllTags(__vs: Iterable[String]): Event
  6. def addOffset(__vs: Offset*): Event
  7. def addTags(__vs: String*): Event
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clearMetadata: Event
  10. def clearOffset: Event
  11. def clearPayload: Event
  12. def clearTags: Event
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  14. def companion: Event.type
    Definition Classes
    Event → GeneratedMessage
  15. def discardUnknownFields: Event
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Event → GeneratedMessage
  19. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Event → GeneratedMessage
  20. def getMetadata: Any
  21. def getPayload: Any
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. val metadata: Option[Any]
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. val offset: Seq[Offset]
  28. val payload: Option[Any]
  29. val persistenceId: String
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. val seqNr: Long
  32. def serializedSize: Int
    Definition Classes
    Event → GeneratedMessage
  33. val slice: Int
  34. val source: String
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. val tags: Seq[String]
  37. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  38. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  39. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  40. def toProtoString: String
    Definition Classes
    Event → GeneratedMessage
  41. val unknownFields: UnknownFieldSet
  42. def update(ms: (Lens[Event, Event]) => Mutation[Event]*): Event
    Definition Classes
    Updatable
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. def withMetadata(__v: Any): Event
  47. def withOffset(__v: Seq[Offset]): Event
  48. def withPayload(__v: Any): Event
  49. def withPersistenceId(__v: String): Event
  50. def withSeqNr(__v: Long): Event
  51. def withSlice(__v: Int): Event
  52. def withSource(__v: String): Event
  53. def withTags(__v: Seq[String]): Event
  54. def withUnknownFields(__v: UnknownFieldSet): Event
  55. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  56. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Event → GeneratedMessage
  57. 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[Event]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped