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() @IntrinsicCandidate()
  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 fromProtoV1(metadataP: Metadata): ParsingResult[ContractMetadata]
  14. def fromProtoVersioned(proto: VersionedMessage[ContractMetadata]): ParsingResult[ContractMetadata]
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. def getVersionedSetParameter(protocolVersion: ProtocolVersion)(implicit setParameterByteArray: SetParameter[Array[Byte]]): SetParameter[ContractMetadata]
  17. def getVersionedSetParameterO(protocolVersion: ProtocolVersion)(implicit setParameterByteArrayO: SetParameter[Option[Array[Byte]]]): SetParameter[Option[ContractMetadata]]
  18. implicit def hasVersionedWrapperGetResult(implicit getResultByteArray: GetResult[Array[Byte]]): GetResult[ContractMetadata]
  19. implicit def hasVersionedWrapperGetResultO(implicit getResultByteArrayO: GetResult[Option[Array[Byte]]]): GetResult[Option[ContractMetadata]]
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. 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

    Definition Classes
    ContractMetadataHasVersionedMessageCompanionCommon
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. def readFromFile(inputFile: String): Either[String, ContractMetadata]
  27. def supportedProtoVersion[Proto <: GeneratedMessage](p: GeneratedMessageCompanion[Proto])(fromProto: (Proto) => ParsingResult[ContractMetadata]): (ByteString) => ParsingResult[ContractMetadata]
    Attributes
    protected
    Definition Classes
    HasVersionedMessageCompanion
  28. 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
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def tryCreate(signatories: Set[LfPartyId], stakeholders: Set[LfPartyId], maybeKeyWithMaintainers: Option[LfVersioned[LfGlobalKeyWithMaintainers]]): ContractMetadata
  32. def tryFromByteString(bytes: ByteString): ContractMetadata
  33. def tryReadFromFile(inputFile: String): ContractMetadata
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. 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
    Deprecated

Ungrouped