object ViewParticipantData extends HasMemoizedProtocolVersionedWithContextCompanion[ViewParticipantData, HashOps]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ViewParticipantData
  2. HasMemoizedProtocolVersionedWithContextCompanion2
  3. HasProtocolVersionedWrapperCompanion
  4. Serializable
  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. final case class InvalidViewParticipantData(message: String) extends RuntimeException with Product with Serializable

    Indicates an attempt to create an invalid ViewParticipantData.

  4. type OriginalByteString = ByteString
  5. final case class RootAction(command: LfCommand, authorizers: Set[LfPartyId], failed: Boolean) extends Product with Serializable
  6. type Serializer = (ViewParticipantData) => ByteString
    Definition Classes
    HasSupportedProtoVersions
  7. type ThisRepresentativeProtocolVersion = RepresentativeProtocolVersion[ViewParticipantData.this.type]
    Attributes
    protected
    Definition Classes
    HasSupportedProtoVersions
  8. case class DefaultValueFromInclusive[T](attribute: (ValueClass) => T, attributeName: String, startInclusive: ThisRepresentativeProtocolVersion, defaultValue: T) extends DefaultValue[T] with Product with Serializable
    Definition Classes
    HasSupportedProtoVersions
  9. case class DefaultValueUntilExclusive[T](attribute: (ValueClass) => T, attributeName: String, untilExclusive: ThisRepresentativeProtocolVersion, defaultValue: T) extends DefaultValue[T] with Product with Serializable
    Definition Classes
    HasSupportedProtoVersions
  10. case class EmptyOptionExactlyUntilExclusive[T](attribute: (ValueClass) => Option[T], attributeName: String, untilExclusive: ThisRepresentativeProtocolVersion) extends DefaultValue[Option[T]] with Product with Serializable
    Definition Classes
    HasSupportedProtoVersions
  11. trait Invariant extends AnyRef
    Definition Classes
    HasSupportedProtoVersions
  12. case class LegacyProtoConverter extends ProtoCodec with PrettyPrinting 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

    Attributes
    protected[this]
    Definition Classes
    HasSupportedProtoVersions
  13. 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
  14. case class SupportedProtoVersions extends Product with Serializable
    Definition Classes
    HasSupportedProtoVersions
  15. case class UnsupportedProtoCodec(fromInclusive: RepresentativeProtocolVersion[HasSupportedProtoVersions.this.type]) extends ProtoCodec with PrettyPrinting with Product with Serializable
    Attributes
    protected[this]
    Definition Classes
    HasSupportedProtoVersions
  16. case class VersionedProtoConverter extends ProtoCodec with PrettyPrinting with Product with Serializable

    Supported Proto version

    Supported Proto version

    Attributes
    protected[this]
    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. 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(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.

  7. def deserializationErrorK(error: ProtoDeserializationError): (HashOps, OriginalByteString, DataByteString) => ParsingResult[ViewParticipantData]
  8. def deserializeForVersion(rpv: RepresentativeProtocolVersion[ViewParticipantData.this.type], 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. def invariants: Seq[Invariant]
    Definition Classes
    HasSupportedProtoVersions
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. 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
  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 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
  22. def protoVersionFor(protocolVersion: RepresentativeProtocolVersion[ViewParticipantData.this.type]): ProtoVersion

    Return the Proto version corresponding to the representative protocol version

    Return the Proto version corresponding to the representative protocol version

    Definition Classes
    HasSupportedProtoVersions
  23. def protocolVersionRepresentativeFor(protoVersion: ProtoVersion): RepresentativeProtocolVersion[ViewParticipantData.this.type]
    Definition Classes
    HasSupportedProtoVersions
  24. def protocolVersionRepresentativeFor(protocolVersion: ProtocolVersion): RepresentativeProtocolVersion[ViewParticipantData.this.type]
    Definition Classes
    HasSupportedProtoVersions
  25. def supportedProtoVersionMemoized[Proto <: GeneratedMessage](p: GeneratedMessageCompanion[Proto])(fromProto: (HashOps, Proto) => (OriginalByteString) => ParsingResult[ViewParticipantData]): Deserializer
    Attributes
    protected
    Definition Classes
    HasMemoizedProtocolVersionedWithContextCompanion2
  26. 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
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def tryCreate(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

  30. def validateInstance(instance: ViewParticipantData, representativeProtocolVersion: ThisRepresentativeProtocolVersion): Either[String, Unit]

    Will check that default value rules defined in companionObj.defaultValues hold.

    Will check that default value rules defined in companionObj.defaultValues hold.

    Definition Classes
    HasProtocolVersionedWrapperCompanion
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. object LegacyProtoConverter extends Serializable
    Definition Classes
    HasSupportedProtoVersions
  35. object SupportedProtoVersions extends Serializable
    Definition Classes
    HasSupportedProtoVersions
  36. object UnsupportedProtoCodec extends Serializable
    Definition Classes
    HasSupportedProtoVersions
  37. 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
    Deprecated

Ungrouped