Package com.daml.ledger.api.v2
Interface CommandsOuterClass.ExerciseByKeyCommandOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommandsOuterClass.ExerciseByKeyCommand
,CommandsOuterClass.ExerciseByKeyCommand.Builder
- Enclosing class:
- CommandsOuterClass
public static interface CommandsOuterClass.ExerciseByKeyCommandOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the choice the client wants to exercise.The argument for this choice.The argument for this choice.com.google.protobuf.ByteString
The name of the choice the client wants to exercise.The key of the contract the client wants to exercise upon.The key of the contract the client wants to exercise upon.The template of contract the client wants to exercise.The template of contract the client wants to exercise.boolean
The argument for this choice.boolean
The key of the contract the client wants to exercise upon.boolean
The template of contract the client wants to exercise.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 template of contract the client wants to exercise. Both package-name and package-id reference identifier formats for the template-id are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. 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 template of contract the client wants to exercise. Both package-name and package-id reference identifier formats for the template-id are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier template_id = 1 [json_name = "templateId"];
- Returns:
- The templateId.
-
getTemplateIdOrBuilder
ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()The template of contract the client wants to exercise. Both package-name and package-id reference identifier formats for the template-id are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier template_id = 1 [json_name = "templateId"];
-
hasContractKey
boolean hasContractKey()The key of the contract the client wants to exercise upon. Required
.com.daml.ledger.api.v2.Value contract_key = 2 [json_name = "contractKey"];
- Returns:
- Whether the contractKey field is set.
-
getContractKey
ValueOuterClass.Value getContractKey()The key of the contract the client wants to exercise upon. Required
.com.daml.ledger.api.v2.Value contract_key = 2 [json_name = "contractKey"];
- Returns:
- The contractKey.
-
getContractKeyOrBuilder
ValueOuterClass.ValueOrBuilder getContractKeyOrBuilder()The key of the contract the client wants to exercise upon. Required
.com.daml.ledger.api.v2.Value contract_key = 2 [json_name = "contractKey"];
-
getChoice
String getChoice()The name of the choice the client wants to exercise. Must be a valid NameString (as described in ``value.proto``) Required
string choice = 3 [json_name = "choice"];
- Returns:
- The choice.
-
getChoiceBytes
com.google.protobuf.ByteString getChoiceBytes()The name of the choice the client wants to exercise. Must be a valid NameString (as described in ``value.proto``) Required
string choice = 3 [json_name = "choice"];
- Returns:
- The bytes for choice.
-
hasChoiceArgument
boolean hasChoiceArgument()The argument for this choice. Required
.com.daml.ledger.api.v2.Value choice_argument = 4 [json_name = "choiceArgument"];
- Returns:
- Whether the choiceArgument field is set.
-
getChoiceArgument
ValueOuterClass.Value getChoiceArgument()The argument for this choice. Required
.com.daml.ledger.api.v2.Value choice_argument = 4 [json_name = "choiceArgument"];
- Returns:
- The choiceArgument.
-
getChoiceArgumentOrBuilder
ValueOuterClass.ValueOrBuilder getChoiceArgumentOrBuilder()The argument for this choice. Required
.com.daml.ledger.api.v2.Value choice_argument = 4 [json_name = "choiceArgument"];
-