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.ByteString
The contract's ID RequiredThe contract key, if defined OptionalThe contract key, if defined OptionalThe identifier of the template used to create the contract.The identifier of the template used to create the contract.boolean
The contract key, if defined Optionalboolean
The identifier of the template used to create the contract.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods 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 [json_name = "templateId"];
- Returns:
- Whether the templateId field is set.
-
getTemplateId
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 [json_name = "templateId"];
- Returns:
- The templateId.
-
getTemplateIdOrBuilder
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 [json_name = "templateId"];
-
getContractId
String getContractId()The contract's ID Required
string contract_id = 2 [json_name = "contractId"];
- Returns:
- The contractId.
-
getContractIdBytes
com.google.protobuf.ByteString getContractIdBytes()The contract's ID Required
string contract_id = 2 [json_name = "contractId"];
- Returns:
- The bytes for contractId.
-
hasContractKey
boolean hasContractKey()The contract key, if defined Optional
.com.daml.ledger.api.v2.Value contract_key = 3 [json_name = "contractKey"];
- Returns:
- Whether the contractKey field is set.
-
getContractKey
ValueOuterClass.Value getContractKey()The contract key, if defined Optional
.com.daml.ledger.api.v2.Value contract_key = 3 [json_name = "contractKey"];
- Returns:
- The contractKey.
-
getContractKeyOrBuilder
ValueOuterClass.ValueOrBuilder getContractKeyOrBuilder()The contract key, if defined Optional
.com.daml.ledger.api.v2.Value contract_key = 3 [json_name = "contractKey"];
-