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 CommandsOuterClass.DisclosedContract.ArgumentsCase
getArgumentsCase()
java.lang.String
getContractId()
The contract id Requiredcom.google.protobuf.ByteString
getContractIdBytes()
The contract id RequiredValueOuterClass.Record
getCreateArguments()
The contract arguments as typed Recordcom.google.protobuf.Any
getCreateArgumentsBlob()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.com.google.protobuf.AnyOrBuilder
getCreateArgumentsBlobOrBuilder()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.ValueOuterClass.RecordOrBuilder
getCreateArgumentsOrBuilder()
The contract arguments as typed RecordContractMetadataOuterClass.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
hasCreateArguments()
The contract arguments as typed Recordboolean
hasCreateArgumentsBlob()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.boolean
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.
-
hasCreateArguments
boolean hasCreateArguments()
The contract arguments as typed Record
.com.daml.ledger.api.v1.Record create_arguments = 3 [json_name = "createArguments"];
- Returns:
- Whether the createArguments field is set.
-
getCreateArguments
ValueOuterClass.Record getCreateArguments()
The contract arguments as typed Record
.com.daml.ledger.api.v1.Record create_arguments = 3 [json_name = "createArguments"];
- Returns:
- The createArguments.
-
getCreateArgumentsOrBuilder
ValueOuterClass.RecordOrBuilder getCreateArgumentsOrBuilder()
The contract arguments as typed Record
.com.daml.ledger.api.v1.Record create_arguments = 3 [json_name = "createArguments"];
-
hasCreateArgumentsBlob
boolean hasCreateArgumentsBlob()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.
.google.protobuf.Any create_arguments_blob = 5 [json_name = "createArgumentsBlob"];
- Returns:
- Whether the createArgumentsBlob field is set.
-
getCreateArgumentsBlob
com.google.protobuf.Any getCreateArgumentsBlob()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.
.google.protobuf.Any create_arguments_blob = 5 [json_name = "createArgumentsBlob"];
- Returns:
- The createArgumentsBlob.
-
getCreateArgumentsBlobOrBuilder
com.google.protobuf.AnyOrBuilder getCreateArgumentsBlobOrBuilder()
The contract arguments specified using an opaque blob extracted from the ``create_arguments_blob`` field of a ``com.daml.ledger.api.v1.CreatedEvent``.
.google.protobuf.Any create_arguments_blob = 5 [json_name = "createArgumentsBlob"];
-
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"];
-
getArgumentsCase
CommandsOuterClass.DisclosedContract.ArgumentsCase getArgumentsCase()
-
-