t

com.digitalasset.canton.version

HasVersionedMessageCompanion

trait HasVersionedMessageCompanion[ValueClass <: HasVersionedWrapper[VersionedMessage[ValueClass]]] extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HasVersionedMessageCompanion
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Parser = (ByteString) => ParsingResult[ValueClass]

Abstract Value Members

  1. abstract def name: String

    The name of the class as used for pretty-printing and error reporting

    The name of the class as used for pretty-printing and error reporting

    Attributes
    protected
  2. abstract def supportedProtoVersions: Map[Int, Parser]

    Proto versions that are supported by fromProtoVersioned and fromByteString See the helpers supportedProtoVersion and supportedProtoVersionMemoized below to define a Parser.

    Proto versions that are supported by fromProtoVersioned and fromByteString See the helpers supportedProtoVersion and supportedProtoVersionMemoized below to define a Parser.

    Attributes
    protected

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def fromByteArray(bytes: Array[Byte]): ParsingResult[ValueClass]
  9. def fromByteString(bytes: ByteString): ParsingResult[ValueClass]
  10. def fromProtoVersioned(proto: VersionedMessage[ValueClass]): ParsingResult[ValueClass]
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def getVersionedSetParameter(protocolVersion: ProtocolVersion)(implicit setParameterByteArray: SetParameter[Array[Byte]]): SetParameter[ValueClass]
  13. def getVersionedSetParameterO(protocolVersion: ProtocolVersion)(implicit setParameterByteArrayO: SetParameter[Option[Array[Byte]]]): SetParameter[Option[ValueClass]]
  14. implicit def hasVersionedWrapperGetResult(implicit getResultByteArray: GetResult[Array[Byte]]): GetResult[ValueClass]
  15. implicit def hasVersionedWrapperGetResultO(implicit getResultByteArrayO: GetResult[Option[Array[Byte]]]): GetResult[Option[ValueClass]]
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def readFromFile(inputFile: String): Either[String, ValueClass]
  22. def supportedProtoVersion[Proto <: GeneratedMessage](p: GeneratedMessageCompanion[Proto])(fromProto: (Proto) => ParsingResult[ValueClass]): (ByteString) => ParsingResult[ValueClass]
    Attributes
    protected
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def tryFromByteString(bytes: ByteString): ValueClass
  26. def tryReadFromFile(inputFile: String): ValueClass
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped