Package com.daml.ledger.javaapi.data
Class ContractMetadata
- java.lang.Object
-
- com.daml.ledger.javaapi.data.ContractMetadata
-
public final class ContractMetadata extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description com.google.protobuf.ByteString
contractKeyHash
java.time.Instant
createdAt
com.google.protobuf.ByteString
driverMetadata
-
Constructor Summary
Constructors Constructor Description ContractMetadata(@NonNull java.time.Instant createdAt, @NonNull com.google.protobuf.ByteString contractKeyHash, @NonNull com.google.protobuf.ByteString driverMetadata)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContractMetadata
Empty()
boolean
equals(java.lang.Object o)
static @NonNull ContractMetadata
fromProto(ContractMetadataOuterClass.ContractMetadata metadata)
int
hashCode()
ContractMetadataOuterClass.ContractMetadata
toProto()
java.lang.String
toString()
-
-
-
Method Detail
-
Empty
public static ContractMetadata Empty()
-
fromProto
public static @NonNull ContractMetadata fromProto(ContractMetadataOuterClass.ContractMetadata metadata)
-
toProto
public ContractMetadataOuterClass.ContractMetadata toProto()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-