Package com.daml.ledger.api.v1
Interface ContractMetadataOuterClass.ContractMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContractMetadataOuterClass.ContractMetadata,ContractMetadataOuterClass.ContractMetadata.Builder
- Enclosing class:
- ContractMetadataOuterClass
public static interface ContractMetadataOuterClass.ContractMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetContractKeyHash()Hash of the contract key if defined.com.google.protobuf.TimestampgetCreatedAt()Ledger effective time of the transaction that created the contract.com.google.protobuf.TimestampOrBuildergetCreatedAtOrBuilder()Ledger effective time of the transaction that created the contract.com.google.protobuf.ByteStringgetDriverMetadata()Driver-specific metadata.booleanhasCreatedAt()Ledger effective time of the transaction that created the contract.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCreatedAt
boolean hasCreatedAt()
Ledger effective time of the transaction that created the contract. Required
.google.protobuf.Timestamp created_at = 1 [json_name = "createdAt"];- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
com.google.protobuf.Timestamp getCreatedAt()
Ledger effective time of the transaction that created the contract. Required
.google.protobuf.Timestamp created_at = 1 [json_name = "createdAt"];- Returns:
- The createdAt.
-
getCreatedAtOrBuilder
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
Ledger effective time of the transaction that created the contract. Required
.google.protobuf.Timestamp created_at = 1 [json_name = "createdAt"];
-
getContractKeyHash
com.google.protobuf.ByteString getContractKeyHash()
Hash of the contract key if defined. Optional
bytes contract_key_hash = 2 [json_name = "contractKeyHash"];- Returns:
- The contractKeyHash.
-
getDriverMetadata
com.google.protobuf.ByteString getDriverMetadata()
Driver-specific metadata. This is opaque and cannot be decoded. Optional
bytes driver_metadata = 3 [json_name = "driverMetadata"];- Returns:
- The driverMetadata.
-
-