Interface CommandsOuterClass.ExerciseCommandOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CommandsOuterClass.ExerciseCommand, CommandsOuterClass.ExerciseCommand.Builder
Enclosing class:
CommandsOuterClass

public static interface CommandsOuterClass.ExerciseCommandOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the choice the client wants to exercise.
    com.daml.ledger.api.v2.ValueOuterClass.Value
    The argument for this choice.
    com.daml.ledger.api.v2.ValueOuterClass.ValueOrBuilder
    The argument for this choice.
    com.google.protobuf.ByteString
    The name of the choice the client wants to exercise.
    The ID of the contract the client wants to exercise upon.
    com.google.protobuf.ByteString
    The ID of the contract the client wants to exercise upon.
    com.daml.ledger.api.v2.ValueOuterClass.Identifier
    The template or interface of the contract the client wants to exercise.
    com.daml.ledger.api.v2.ValueOuterClass.IdentifierOrBuilder
    The template or interface of the contract the client wants to exercise.
    boolean
    The argument for this choice.
    boolean
    The template or interface of the 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 or interface of the 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.
       To exercise a choice on an interface, specify the interface identifier in the template_id field.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 1;
      Returns:
      Whether the templateId field is set.
    • getTemplateId

      com.daml.ledger.api.v2.ValueOuterClass.Identifier getTemplateId()
       The template or interface of the 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.
       To exercise a choice on an interface, specify the interface identifier in the template_id field.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 1;
      Returns:
      The templateId.
    • getTemplateIdOrBuilder

      com.daml.ledger.api.v2.ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
       The template or interface of the 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.
       To exercise a choice on an interface, specify the interface identifier in the template_id field.
      
       Required
       
      .com.daml.ledger.api.v2.Identifier template_id = 1;
    • getContractId

      String getContractId()
       The ID of the contract the client wants to exercise upon.
       Must be a valid LedgerString (as described in ``value.proto``).
      
       Required
       
      string contract_id = 2;
      Returns:
      The contractId.
    • getContractIdBytes

      com.google.protobuf.ByteString getContractIdBytes()
       The ID of the contract the client wants to exercise upon.
       Must be a valid LedgerString (as described in ``value.proto``).
      
       Required
       
      string contract_id = 2;
      Returns:
      The bytes for contractId.
    • 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;
      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;
      Returns:
      The bytes for choice.
    • hasChoiceArgument

      boolean hasChoiceArgument()
       The argument for this choice.
      
       Required
       
      .com.daml.ledger.api.v2.Value choice_argument = 4;
      Returns:
      Whether the choiceArgument field is set.
    • getChoiceArgument

      com.daml.ledger.api.v2.ValueOuterClass.Value getChoiceArgument()
       The argument for this choice.
      
       Required
       
      .com.daml.ledger.api.v2.Value choice_argument = 4;
      Returns:
      The choiceArgument.
    • getChoiceArgumentOrBuilder

      com.daml.ledger.api.v2.ValueOuterClass.ValueOrBuilder getChoiceArgumentOrBuilder()
       The argument for this choice.
      
       Required
       
      .com.daml.ledger.api.v2.Value choice_argument = 4;