trait HasProtoV0[ProtoClass <: GeneratedMessage] extends AnyRef

Trait for classes that have a corresponding Protobuf definition but **don't** need the ability to be directly serialized into a ByteString or ByteArray. Commonly, this interface should be used when the corresponding Protobuf message is only used in other Protobuf messages or for gRPC calls and responses, but never sent around or stored as a bytestring. E.g. an Envelope is always embedded in a Batch, and therefore doesn't need a serialization method itself because it will be indirectly serialized when the enclosing Batch is serialized.

Linear Supertypes
Known Subclasses
ServiceAgreement, EncryptionKeyPair, EncryptionPrivateKey, EncryptionPublicKey, EncryptionPublicKeyWithName, Hmac, PublicKeyWithName, Salt, Signature, SigningKeyPair, SigningPrivateKey, SigningPublicKey, SigningPublicKeyWithName, ActionDescription, CreateActionDescription, ExerciseActionDescription, FetchActionDescription, LookupByKeyActionDescription, ConfirmingParty, FullInformeeTree, GenTransactionTree, GenTransferViewTree, Informee, InformeeTree, LightTransactionViewTree, MerkleSeq, MerkleSeqElement, PlainInformee, TransactionView, TransferInViewTree, TransferOutViewTree, ViewCommonData, DomainNodeSequencerConfig, InitializeMediatorRequest, InitializeMediatorResponse, Failure, Success, InitRequest, InitResponse, EthereumAccount, LedgerIdentity, SequencerMemberStatus, SequencerPruningStatus, SequencerSnapshot, ServiceAgreementAcceptance, RequestResult, DomainStatus, MediatorNodeStatus, Status, ParticipantStatus, SequencerHealthStatus, SequencerNodeStatus, SimpleStatus, TopologyQueueStatus, ResourceLimits, TransferSearchResult, DomainConnectionConfig, CausalityUpdate, TransactionUpdate, TransferInUpdate, TransferOutUpdate, SubmissionTrackingData, TransactionSubmissionTrackingData, CauseWithTemplate, RejectionCause, TimeoutCause, SerializableBlindingInfo, SerializableCommandRejected, SerializableCompletionInfo, SerializableConfiguration, SerializableConfigurationChangeRejected, SerializableConfigurationChanged, SerializableDivulgedContract, SerializableLedgerSyncEvent, SerializableLfTimestamp, SerializableNodeSeed, SerializablePartyAddedToParticipant, SerializablePartyAllocationRejected, SerializablePublicPackageUpload, SerializablePublicPackageUploadRejected, SerializableRejectionReasonTemplate, SerializableTimeModel, SerializableTransactionAccepted, SerializableTransactionMeta, ContractMetadata, CreatedContract, DynamicDomainParameters, InputContract, ResolvedKey, RollbackContext, SerializableContract, SerializableDeduplicationPeriod, StaticDomainParameters, StoredParties, TransferId, AcsCommitment, CausalityMessage, DomainTopologyTransactionMessage, EncryptedViewMessage, InformeeMessage, LocalApprove, LocalReject, Reject, Reject, Reject, Reject, Reject, Reject, Malformed, Reject, Reject, Reject, Reject, Reject, Reject, Reject, Reject, Reject, Reject, Reject, Reject, Reject, LocalVerdict, MalformedMediatorRequestResult, MediatorResponse, RegisterTopologyTransactionRequest, RegisterTopologyTransactionResponse, RootHashMessage, SignedProtocolMessage, TransactionResultMessage, TransferInMediatorMessage, TransferOutMediatorMessage, TransferResult, VectorClock, Verdict, Approve, MediatorReject, Reject, Reject, Reject, Reject, Reject, Reject, RejectReasons, Timeout, GrpcSequencerConnection, HttpSequencerConnection, SequencerConnection, AcknowledgeRequest, DeliverErrorReason, BatchInvalid, BatchRefused, HandshakeRequest, HandshakeResponse, Failure, Success, Recipients, RecipientsTree, SendAsyncError, Overloaded, RequestInvalid, RequestRefused, SenderUnknown, ShuttingDown, Unavailable, UnknownRecipients, SendAsyncResponse, SignedContent, SubscriptionRequest, SubscriptionResponse, VerifyActiveRequest, IgnoredSequencedEvent, OrdinarySequencedEvent, PossiblyIgnoredSequencedEvent, AwaitTimeRequest, DomainTimeTrackerConfig, FetchTimeRequest, FetchTimeResponse, TimeProof, TimeProofRequestConfig, BaseQuery, StoredTopologyTransactions, DomainGovernanceTransaction, DomainParametersChange, IdentifierDelegation, LegalIdentityClaim, MediatorDomainState, NamespaceDelegation, OwnerToKeyMapping, ParticipantState, PartyToParticipant, SignedLegalIdentityClaim, SignedTopologyTransaction, TopologyStateUpdate, VettedPackages, TraceContext
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HasProtoV0
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def toProtoV0: ProtoClass

    Yields the proto representation of the class.

    Yields the proto representation of the class.

    Subclasses should make this method public by default, as this supports composing proto serializations. Keep it protected, if there are good reasons for it (e.g. com.digitalasset.canton.serialization.MemoizedEvidence).

    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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. 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