Packages

object ContractMetadata extends HasVersionedMessageCompanion[ContractMetadata] with HasVersionedMessageCompanionDbHelpers[ContractMetadata] with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContractMetadata
  2. Serializable
  3. HasVersionedMessageCompanionDbHelpers
  4. HasVersionedMessageCompanion
  5. HasVersionedMessageCompanionCommon
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Deserializer = (ByteString) => ParsingResult[ContractMetadata]
  2. final case class InvalidContractMetadata(message: String) extends RuntimeException with Product with Serializable
  3. type Serializer = (ContractMetadata) => ByteString
  4. case class ProtoCodec(fromInclusive: ProtocolVersion, deserializer: Deserializer, serializer: Serializer) extends Product with Serializable
  5. case class SupportedProtoVersions extends Product with Serializable

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. def create(signatories: Set[LfPartyId], stakeholders: Set[LfPartyId], maybeKeyWithMaintainers: Option[LfVersioned[LfGlobalKeyWithMaintainers]]): Either[String, ContractMetadata]
  7. def empty: ContractMetadata
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def fromByteArray(bytes: Array[Byte]): ParsingResult[ContractMetadata]
  11. def fromByteString(bytes: ByteString): ParsingResult[ContractMetadata]
  12. def fromProtoV0(metadataP: Metadata): ParsingResult[ContractMetadata]
  13. def fromProtoVersioned(proto: VersionedMessage[ContractMetadata]): ParsingResult[ContractMetadata]
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def getVersionedSetParameter(protocolVersion: ProtocolVersion)(implicit setParameterByteArray: SetParameter[Array[Byte]]): SetParameter[ContractMetadata]
  16. def getVersionedSetParameterO(protocolVersion: ProtocolVersion)(implicit setParameterByteArrayO: SetParameter[Option[Array[Byte]]]): SetParameter[Option[ContractMetadata]]
  17. implicit def hasVersionedWrapperGetResult(implicit getResultByteArray: GetResult[Array[Byte]]): GetResult[ContractMetadata]
  18. implicit def hasVersionedWrapperGetResultO(implicit getResultByteArrayO: GetResult[Option[Array[Byte]]]): GetResult[Option[ContractMetadata]]
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. 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
    Definition Classes
    ContractMetadataHasVersionedMessageCompanionCommon
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def readFromFile(inputFile: String): Either[String, ContractMetadata]
  26. def supportedProtoVersion[Proto <: GeneratedMessage](p: GeneratedMessageCompanion[Proto])(fromProto: (Proto) => ParsingResult[ContractMetadata]): (ByteString) => ParsingResult[ContractMetadata]
    Attributes
    protected
    Definition Classes
    HasVersionedMessageCompanion
  27. val supportedProtoVersions: SupportedProtoVersions

    Proto versions that are supported by fromProtoVersioned, fromByteString, toProtoVersioned and toByteString.

    Proto versions that are supported by fromProtoVersioned, fromByteString, toProtoVersioned and toByteString. See the helpers supportedProtoVersion and supportedProtoVersionMemoized below to define a ProtoCodec.

    Definition Classes
    ContractMetadataHasVersionedMessageCompanionCommon
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def tryCreate(signatories: Set[LfPartyId], stakeholders: Set[LfPartyId], maybeKeyWithMaintainers: Option[LfVersioned[LfGlobalKeyWithMaintainers]]): ContractMetadata
  31. def tryFromByteString(bytes: ByteString): ContractMetadata
  32. def tryReadFromFile(inputFile: String): ContractMetadata
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. object SupportedProtoVersions extends Serializable

Deprecated Value Members

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

Ungrouped