Package com.daml.ledger.api.v2
Interface CommandsOuterClass.CreateCommandOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommandsOuterClass.CreateCommand
,CommandsOuterClass.CreateCommand.Builder
- Enclosing class:
- CommandsOuterClass
public static interface CommandsOuterClass.CreateCommandOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe arguments required for creating a contract from this template.The arguments required for creating a contract from this template.The template of contract the client wants to create.The template of contract the client wants to create.boolean
The arguments required for creating a contract from this template.boolean
The template of contract the client wants to create.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 create. 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 create. 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 create. 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"];
-
hasCreateArguments
boolean hasCreateArguments()The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v2.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.v2.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.v2.Record create_arguments = 2 [json_name = "createArguments"];
-