Package com.daml.ledger.api.v1
Interface CommandsOuterClass.CreateAndExerciseCommandOrBuilder
- 
- All Superinterfaces:
 com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
 CommandsOuterClass.CreateAndExerciseCommand,CommandsOuterClass.CreateAndExerciseCommand.Builder
- Enclosing class:
 - CommandsOuterClass
 
public static interface CommandsOuterClass.CreateAndExerciseCommandOrBuilder extends com.google.protobuf.MessageOrBuilder 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetChoice()The name of the choice the client wants to exercise.ValueOuterClass.ValuegetChoiceArgument()The argument for this choice.ValueOuterClass.ValueOrBuildergetChoiceArgumentOrBuilder()The argument for this choice.com.google.protobuf.ByteStringgetChoiceBytes()The name of the choice the client wants to exercise.ValueOuterClass.RecordgetCreateArguments()The arguments required for creating a contract from this template.ValueOuterClass.RecordOrBuildergetCreateArgumentsOrBuilder()The arguments required for creating a contract from this template.ValueOuterClass.IdentifiergetTemplateId()The template of the contract the client wants to create.ValueOuterClass.IdentifierOrBuildergetTemplateIdOrBuilder()The template of the contract the client wants to create.booleanhasChoiceArgument()The argument for this choice.booleanhasCreateArguments()The arguments required for creating a contract from this template.booleanhasTemplateId()The template of the contract the client wants to create.- 
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 of the contract the client wants to create. 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 of the contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];- Returns:
 - The templateId.
 
 
- 
getTemplateIdOrBuilder
ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template of the contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"]; 
- 
hasCreateArguments
boolean hasCreateArguments()
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];- Returns:
 - Whether the createArguments field is set.
 
 
- 
getCreateArguments
ValueOuterClass.Record getCreateArguments()
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];- Returns:
 - The createArguments.
 
 
- 
getCreateArgumentsOrBuilder
ValueOuterClass.RecordOrBuilder getCreateArgumentsOrBuilder()
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"]; 
- 
getChoice
java.lang.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.v1.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.v1.Value choice_argument = 4 [json_name = "choiceArgument"];- Returns:
 - The choiceArgument.
 
 
- 
getChoiceArgumentOrBuilder
ValueOuterClass.ValueOrBuilder getChoiceArgumentOrBuilder()
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"]; 
 - 
 
 -