Package com.daml.ledger.api.v1
Interface CommandsOuterClass.DisclosedContractOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommandsOuterClass.DisclosedContract
,CommandsOuterClass.DisclosedContract.Builder
- Enclosing class:
- CommandsOuterClass
public static interface CommandsOuterClass.DisclosedContractOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueOuterClass.Record
getArguments()
The contract arguments RequiredValueOuterClass.RecordOrBuilder
getArgumentsOrBuilder()
The contract arguments Requiredjava.lang.String
getContractId()
The contract id Requiredcom.google.protobuf.ByteString
getContractIdBytes()
The contract id RequiredContractMetadataOuterClass.ContractMetadata
getMetadata()
The contract metadata from the create event.ContractMetadataOuterClass.ContractMetadataOrBuilder
getMetadataOrBuilder()
The contract metadata from the create event.ValueOuterClass.Identifier
getTemplateId()
The template id of the contract.ValueOuterClass.IdentifierOrBuilder
getTemplateIdOrBuilder()
The template id of the contract.boolean
hasArguments()
The contract arguments Requiredboolean
hasMetadata()
The contract metadata from the create event.boolean
hasTemplateId()
The template id of the contract.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTemplateId
boolean hasTemplateId()
The template id of the contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
- Returns:
- Whether the templateId field is set.
-
getTemplateId
ValueOuterClass.Identifier getTemplateId()
The template id of the contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
- Returns:
- The templateId.
-
getTemplateIdOrBuilder
ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template id of the contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
-
getContractId
java.lang.String getContractId()
The contract id Required
string contract_id = 2 [json_name = "contractId"];
- Returns:
- The contractId.
-
getContractIdBytes
com.google.protobuf.ByteString getContractIdBytes()
The contract id Required
string contract_id = 2 [json_name = "contractId"];
- Returns:
- The bytes for contractId.
-
hasArguments
boolean hasArguments()
The contract arguments Required
.com.daml.ledger.api.v1.Record arguments = 3 [json_name = "arguments"];
- Returns:
- Whether the arguments field is set.
-
getArguments
ValueOuterClass.Record getArguments()
The contract arguments Required
.com.daml.ledger.api.v1.Record arguments = 3 [json_name = "arguments"];
- Returns:
- The arguments.
-
getArgumentsOrBuilder
ValueOuterClass.RecordOrBuilder getArgumentsOrBuilder()
The contract arguments Required
.com.daml.ledger.api.v1.Record arguments = 3 [json_name = "arguments"];
-
hasMetadata
boolean hasMetadata()
The contract metadata from the create event. Required
.com.daml.ledger.api.v1.ContractMetadata metadata = 4 [json_name = "metadata"];
- Returns:
- Whether the metadata field is set.
-
getMetadata
ContractMetadataOuterClass.ContractMetadata getMetadata()
The contract metadata from the create event. Required
.com.daml.ledger.api.v1.ContractMetadata metadata = 4 [json_name = "metadata"];
- Returns:
- The metadata.
-
getMetadataOrBuilder
ContractMetadataOuterClass.ContractMetadataOrBuilder getMetadataOrBuilder()
The contract metadata from the create event. Required
.com.daml.ledger.api.v1.ContractMetadata metadata = 4 [json_name = "metadata"];
-
-