Package com.daml.ledger.api.v2.admin
Interface CommandInspectionServiceOuterClass.ContractOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommandInspectionServiceOuterClass.Contract,CommandInspectionServiceOuterClass.Contract.Builder
- Enclosing class:
CommandInspectionServiceOuterClass
public static interface CommandInspectionServiceOuterClass.ContractOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe contract's ID Requiredcom.google.protobuf.ByteStringThe contract's ID Requiredcom.daml.ledger.api.v2.ValueOuterClass.ValueThe contract key, if defined Optionalcom.daml.ledger.api.v2.ValueOuterClass.ValueOrBuilderThe contract key, if defined Optionalcom.daml.ledger.api.v2.ValueOuterClass.IdentifierThe identifier of the template used to create the contract.com.daml.ledger.api.v2.ValueOuterClass.IdentifierOrBuilderThe identifier of the template used to create the contract.booleanThe contract key, if defined OptionalbooleanThe identifier of the template used to create the contract.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTemplateId
boolean hasTemplateId()The identifier of the template used to create the contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 1;- Returns:
- Whether the templateId field is set.
-
getTemplateId
com.daml.ledger.api.v2.ValueOuterClass.Identifier getTemplateId()The identifier of the template used to create the contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 1;- Returns:
- The templateId.
-
getTemplateIdOrBuilder
com.daml.ledger.api.v2.ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()The identifier of the template used to create the contract. The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 1; -
getContractId
String getContractId()The contract's ID Required
string contract_id = 2;- Returns:
- The contractId.
-
getContractIdBytes
com.google.protobuf.ByteString getContractIdBytes()The contract's ID Required
string contract_id = 2;- Returns:
- The bytes for contractId.
-
hasContractKey
boolean hasContractKey()The contract key, if defined Optional
.com.daml.ledger.api.v2.Value contract_key = 3;- Returns:
- Whether the contractKey field is set.
-
getContractKey
com.daml.ledger.api.v2.ValueOuterClass.Value getContractKey()The contract key, if defined Optional
.com.daml.ledger.api.v2.Value contract_key = 3;- Returns:
- The contractKey.
-
getContractKeyOrBuilder
com.daml.ledger.api.v2.ValueOuterClass.ValueOrBuilder getContractKeyOrBuilder()The contract key, if defined Optional
.com.daml.ledger.api.v2.Value contract_key = 3;
-