object ViewParticipantData extends HasMemoizedProtocolVersionedWithContextCompanion[ViewParticipantData, HashOps] with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ViewParticipantData
  2. Serializable
  3. HasMemoizedProtocolVersionedWithContextCompanion
  4. HasProtocolVersionedWrapperCompanion
  5. HasSupportedProtoVersions
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type DataByteString = ByteString
  2. type Deserializer = (HashOps, OriginalByteString, DataByteString) => ParsingResult[ViewParticipantData]
  3. case class InvalidViewParticipantData(message: String) extends RuntimeException with Product with Serializable

    Indicates an attempt to create an invalid ViewParticipantData.

  4. type OriginalByteString = ByteString
  5. case class RootAction(command: LfCommand, authorizers: Set[LfPartyId], failed: Boolean) extends Product with Serializable
  6. type Serializer = (ViewParticipantData) => ByteString
    Definition Classes
    HasSupportedProtoVersions
  7. case class LegacyProtoConverter(fromInclusive: RepresentativeProtocolVersion[ValueClass], deserializer: Deserializer, serializer: Serializer) extends ProtoCodec with Product with Serializable

    Used to (de)serialize classes which for legacy reasons where not wrapped in VersionedMessage Chances are this is NOT the class you want to use, use VersionedProtoConverter instead when adding serialization to a new class

    Used to (de)serialize classes which for legacy reasons where not wrapped in VersionedMessage Chances are this is NOT the class you want to use, use VersionedProtoConverter instead when adding serialization to a new class

    Definition Classes
    HasSupportedProtoVersions
  8. sealed trait ProtoCodec extends AnyRef

    Base class for (de)serializating from/to protobuf of ValueClass from a specific PV

    Base class for (de)serializating from/to protobuf of ValueClass from a specific PV

    Definition Classes
    HasSupportedProtoVersions
  9. case class SupportedProtoVersions extends Product with Serializable
    Definition Classes
    HasSupportedProtoVersions
  10. case class VersionedProtoConverter(fromInclusive: RepresentativeProtocolVersion[ValueClass], deserializer: Deserializer, serializer: Serializer) extends ProtoCodec with Product with Serializable

    Supported Proto version

    Supported Proto version

    fromInclusive

    The protocol version when this Proto version was introduced

    deserializer

    Deserialization method

    serializer

    Serialization method

    Definition Classes
    HasSupportedProtoVersions

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. def apply(hashOps: HashOps)(coreInputs: Map[LfContractId, InputContract], createdCore: Seq[CreatedContract], createdInSubviewArchivedInCore: Set[LfContractId], resolvedKeys: Map[LfGlobalKey, SerializableKeyResolution], actionDescription: ActionDescription, rollbackContext: RollbackContext, salt: Salt, protocolVersion: ProtocolVersion): ViewParticipantData

    Creates a view participant data.

    Creates a view participant data.

    Annotations
    @throws(scala.this.throws.<init>$default$1[com.digitalasset.canton.serialization.SerializationCheckFailed[com.daml.lf.value.ValueCoder.EncodeError]])
    Exceptions thrown

    InvalidViewParticipantData if ViewParticipantData.createdCore contains two elements with the same contract id, if ViewParticipantData.coreInputs(id).contractId != id if ViewParticipantData.createdInSubviewArchivedInCore overlaps with ViewParticipantData.createdCore's ids or ViewParticipantData.coreInputs if ViewParticipantData.coreInputs does not contain the resolved contract ids in ViewParticipantData.resolvedKeys if ViewParticipantData.createdCore creates a contract with a key that is not in ViewParticipantData.resolvedKeys if the ViewParticipantData.actionDescription is a com.digitalasset.canton.data.ActionDescription.CreateActionDescription and the created id is not the first contract ID in ViewParticipantData.createdCore if the ViewParticipantData.actionDescription is a com.digitalasset.canton.data.ActionDescription.ExerciseActionDescription or com.digitalasset.canton.data.ActionDescription.FetchActionDescription and the input contract is not in ViewParticipantData.coreInputs if the ViewParticipantData.actionDescription is a com.digitalasset.canton.data.ActionDescription.LookupByKeyActionDescription and the key is not in ViewParticipantData.resolvedKeys.

    com.digitalasset.canton.serialization.SerializationCheckFailed if this instance cannot be serialized

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def create(hashOps: HashOps)(coreInputs: Map[LfContractId, InputContract], createdCore: Seq[CreatedContract], createdInSubviewArchivedInCore: Set[LfContractId], resolvedKeys: Map[LfGlobalKey, SerializableKeyResolution], actionDescription: ActionDescription, rollbackContext: RollbackContext, salt: Salt, protocolVersion: ProtocolVersion): Either[String, ViewParticipantData]

    Creates a view participant data.

  8. def deserializeForVersion(rpv: RepresentativeProtocolVersion[ViewParticipantData], deserializeLegacyProto: (Deserializer) => ParsingResult[ViewParticipantData], deserializeVersionedProto: => ParsingResult[ViewParticipantData]): ParsingResult[ViewParticipantData]
    Attributes
    protected
    Definition Classes
    HasProtocolVersionedWrapperCompanion
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def fromByteArray(context: HashOps)(bytes: Array[Byte]): ParsingResult[ViewParticipantData]
  12. def fromByteString(context: HashOps)(bytes: OriginalByteString): ParsingResult[ViewParticipantData]
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val 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
    ViewParticipantDataHasProtocolVersionedWrapperCompanionHasSupportedProtoVersions
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def protoVersionFor(protocolVersion: ProtocolVersion): ProtoVersion

    Return the Proto version corresponding to the protocol version

    Return the Proto version corresponding to the protocol version

    Definition Classes
    HasSupportedProtoVersions
  21. def protoVersionFor(protocolVersion: RepresentativeProtocolVersion[ViewParticipantData]): ProtoVersion

    Return the Proto version corresponding to the representative protocol version

    Return the Proto version corresponding to the representative protocol version

    Definition Classes
    HasSupportedProtoVersions
  22. def protocolVersionRepresentativeFor(protoVersion: ProtoVersion): RepresentativeProtocolVersion[ViewParticipantData]
    Definition Classes
    HasSupportedProtoVersions
  23. def protocolVersionRepresentativeFor(protocolVersion: ProtocolVersion): RepresentativeProtocolVersion[ViewParticipantData]
    Definition Classes
    HasSupportedProtoVersions
  24. def supportedProtoVersionMemoized[Proto <: GeneratedMessage](p: GeneratedMessageCompanion[Proto])(fromProto: (HashOps, Proto) => (OriginalByteString) => ParsingResult[ViewParticipantData]): Deserializer
    Attributes
    protected
    Definition Classes
    HasMemoizedProtocolVersionedWithContextCompanion
  25. val supportedProtoVersions: SupportedProtoVersions

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

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

    Definition Classes
    ViewParticipantDataHasSupportedProtoVersions
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. object LegacyProtoConverter extends Serializable
    Definition Classes
    HasSupportedProtoVersions
  32. object SupportedProtoVersions extends Serializable
    Definition Classes
    HasSupportedProtoVersions
  33. object VersionedProtoConverter extends Serializable
    Definition Classes
    HasSupportedProtoVersions

Deprecated Value Members

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

Ungrouped