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