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 prefixser.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, seesource
.- source
"" for ordinary events. "BT" for backtracking events. "PS" for PubSub events.
- Annotations
- @SerialVersionUID()
- Source
- Event.scala
- Alphabetic
- By Inheritance
- Event
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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 prefixser.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, seesource
.- source
"" for ordinary events. "BT" for backtracking events. "PS" for PubSub events.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllOffset(__vs: Iterable[Offset]): Event
- def addAllTags(__vs: Iterable[String]): Event
- def addOffset(__vs: Offset*): Event
- def addTags(__vs: String*): Event
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearMetadata: Event
- def clearOffset: Event
- def clearPayload: Event
- def clearTags: Event
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: Event.type
- Definition Classes
- Event → GeneratedMessage
- def discardUnknownFields: Event
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- Event → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Event → GeneratedMessage
- def getMetadata: Any
- def getPayload: Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val metadata: Option[Any]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val offset: Seq[Offset]
- val payload: Option[Any]
- val persistenceId: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val seqNr: Long
- def serializedSize: Int
- Definition Classes
- Event → GeneratedMessage
- val slice: Int
- val source: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tags: Seq[String]
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- Event → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[Event, Event]) => Mutation[Event]*): Event
- Definition Classes
- Updatable
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withMetadata(__v: Any): Event
- def withOffset(__v: Seq[Offset]): Event
- def withPayload(__v: Any): Event
- def withPersistenceId(__v: String): Event
- def withSeqNr(__v: Long): Event
- def withSlice(__v: Int): Event
- def withSource(__v: String): Event
- def withTags(__v: Seq[String]): Event
- def withUnknownFields(__v: UnknownFieldSet): Event
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Event → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage