final case class UntypedVersionedMessage(wrapper: Wrapper, version: Int) extends GeneratedMessage with Updatable[UntypedVersionedMessage] with Product with Serializable
UntypedVersionedMessage
is the generic wrapper for versioned messages
The version is included in the version
integer and the serialized
message is contained in data
.
Internally, we use the typed alias VersionedMessage[ValueClass]
to avoid
the risk of confusion between different proto versioned messaged (see, e.g.,
the return type of the HasVersionedWrapper.toProtoVersioned
method).
The oneof
prevents the serialized message to be empty if data
is empty
and version
is 0 (the default value for an integer). Such an empty message
cannot be deserialized using previous version of our parsing method.
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- UntypedVersionedMessage
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearWrapper: UntypedVersionedMessage
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def companion: UntypedVersionedMessage.type
- Definition Classes
- UntypedVersionedMessage → GeneratedMessage
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getData: ByteString
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- UntypedVersionedMessage → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- UntypedVersionedMessage → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- UntypedVersionedMessage → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- UntypedVersionedMessage → GeneratedMessage
- def update(ms: (Lens[UntypedVersionedMessage, UntypedVersionedMessage]) => Mutation[UntypedVersionedMessage]*): UntypedVersionedMessage
- Definition Classes
- Updatable
- val version: Int
- 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 withData(__v: ByteString): UntypedVersionedMessage
- def withVersion(__v: Int): UntypedVersionedMessage
- def withWrapper(__v: Wrapper): UntypedVersionedMessage
- val wrapper: Wrapper
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- UntypedVersionedMessage → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage