Class InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
com.daml.ledger.api.v2.interactive.InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder
All Implemented Interfaces:
InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest

public static final class InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder> implements InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
Protobuf type com.daml.ledger.api.v2.interactive.PrepareSubmissionRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
    • getDefaultInstanceForType

      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
    • setField

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
    • clearField

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
    • clearOneof

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
    • setRepeatedField

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
    • addRepeatedField

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
    • mergeFrom

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
    • mergeFrom

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
      Throws:
      IOException
    • getUserId

      public String getUserId()
       Uniquely identifies the participant user that prepares the transaction.
       Must be a valid UserIdString (as described in ``value.proto``).
       Required unless authentication is used with a user token.
       In that case, the token's user-id will be used for the request's user_id.
       
      string user_id = 1 [json_name = "userId"];
      Specified by:
      getUserId in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The userId.
    • getUserIdBytes

      public com.google.protobuf.ByteString getUserIdBytes()
       Uniquely identifies the participant user that prepares the transaction.
       Must be a valid UserIdString (as described in ``value.proto``).
       Required unless authentication is used with a user token.
       In that case, the token's user-id will be used for the request's user_id.
       
      string user_id = 1 [json_name = "userId"];
      Specified by:
      getUserIdBytes in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The bytes for userId.
    • setUserId

       Uniquely identifies the participant user that prepares the transaction.
       Must be a valid UserIdString (as described in ``value.proto``).
       Required unless authentication is used with a user token.
       In that case, the token's user-id will be used for the request's user_id.
       
      string user_id = 1 [json_name = "userId"];
      Parameters:
      value - The userId to set.
      Returns:
      This builder for chaining.
    • clearUserId

       Uniquely identifies the participant user that prepares the transaction.
       Must be a valid UserIdString (as described in ``value.proto``).
       Required unless authentication is used with a user token.
       In that case, the token's user-id will be used for the request's user_id.
       
      string user_id = 1 [json_name = "userId"];
      Returns:
      This builder for chaining.
    • setUserIdBytes

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setUserIdBytes(com.google.protobuf.ByteString value)
       Uniquely identifies the participant user that prepares the transaction.
       Must be a valid UserIdString (as described in ``value.proto``).
       Required unless authentication is used with a user token.
       In that case, the token's user-id will be used for the request's user_id.
       
      string user_id = 1 [json_name = "userId"];
      Parameters:
      value - The bytes for userId to set.
      Returns:
      This builder for chaining.
    • getCommandId

      public String getCommandId()
       Uniquely identifies the command.
       The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change,
       where act_as is interpreted as a set of party names.
       The change ID can be used for matching the intended ledger changes with all their completions.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string command_id = 2 [json_name = "commandId"];
      Specified by:
      getCommandId in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The commandId.
    • getCommandIdBytes

      public com.google.protobuf.ByteString getCommandIdBytes()
       Uniquely identifies the command.
       The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change,
       where act_as is interpreted as a set of party names.
       The change ID can be used for matching the intended ledger changes with all their completions.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string command_id = 2 [json_name = "commandId"];
      Specified by:
      getCommandIdBytes in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The bytes for commandId.
    • setCommandId

       Uniquely identifies the command.
       The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change,
       where act_as is interpreted as a set of party names.
       The change ID can be used for matching the intended ledger changes with all their completions.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string command_id = 2 [json_name = "commandId"];
      Parameters:
      value - The commandId to set.
      Returns:
      This builder for chaining.
    • clearCommandId

       Uniquely identifies the command.
       The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change,
       where act_as is interpreted as a set of party names.
       The change ID can be used for matching the intended ledger changes with all their completions.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string command_id = 2 [json_name = "commandId"];
      Returns:
      This builder for chaining.
    • setCommandIdBytes

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setCommandIdBytes(com.google.protobuf.ByteString value)
       Uniquely identifies the command.
       The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change,
       where act_as is interpreted as a set of party names.
       The change ID can be used for matching the intended ledger changes with all their completions.
       Must be a valid LedgerString (as described in ``value.proto``).
       Required
       
      string command_id = 2 [json_name = "commandId"];
      Parameters:
      value - The bytes for commandId to set.
      Returns:
      This builder for chaining.
    • getCommandsList

      public List<CommandsOuterClass.Command> getCommandsList()
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
      Specified by:
      getCommandsList in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getCommandsCount

      public int getCommandsCount()
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
      Specified by:
      getCommandsCount in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getCommands

      public CommandsOuterClass.Command getCommands(int index)
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
      Specified by:
      getCommands in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • setCommands

       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
    • setCommands

       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
    • addCommands

       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
    • addCommands

       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
    • addCommands

       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
    • addCommands

       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
    • addAllCommands

       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
    • clearCommands

       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
    • removeCommands

       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
    • getCommandsBuilder

      public CommandsOuterClass.Command.Builder getCommandsBuilder(int index)
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
    • getCommandsOrBuilder

      public CommandsOuterClass.CommandOrBuilder getCommandsOrBuilder(int index)
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
      Specified by:
      getCommandsOrBuilder in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getCommandsOrBuilderList

      public List<? extends CommandsOuterClass.CommandOrBuilder> getCommandsOrBuilderList()
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
      Specified by:
      getCommandsOrBuilderList in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • addCommandsBuilder

      public CommandsOuterClass.Command.Builder addCommandsBuilder()
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
    • addCommandsBuilder

      public CommandsOuterClass.Command.Builder addCommandsBuilder(int index)
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
    • getCommandsBuilderList

      public List<CommandsOuterClass.Command.Builder> getCommandsBuilderList()
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
    • hasMinLedgerTime

      public boolean hasMinLedgerTime()
       Optional
       
      .com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4 [json_name = "minLedgerTime"];
      Specified by:
      hasMinLedgerTime in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      Whether the minLedgerTime field is set.
    • getMinLedgerTime

       Optional
       
      .com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4 [json_name = "minLedgerTime"];
      Specified by:
      getMinLedgerTime in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The minLedgerTime.
    • setMinLedgerTime

       Optional
       
      .com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4 [json_name = "minLedgerTime"];
    • setMinLedgerTime

       Optional
       
      .com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4 [json_name = "minLedgerTime"];
    • mergeMinLedgerTime

       Optional
       
      .com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4 [json_name = "minLedgerTime"];
    • clearMinLedgerTime

       Optional
       
      .com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4 [json_name = "minLedgerTime"];
    • getMinLedgerTimeBuilder

       Optional
       
      .com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4 [json_name = "minLedgerTime"];
    • getMinLedgerTimeOrBuilder

       Optional
       
      .com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4 [json_name = "minLedgerTime"];
      Specified by:
      getMinLedgerTimeOrBuilder in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getActAsList

      public com.google.protobuf.ProtocolStringList getActAsList()
       Set of parties on whose behalf the command should be executed, if submitted.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction
       and does not execute it. Therefore read authorization is sufficient even for actAs parties.
       Note: This may change, and more specific authorization scope may be introduced in the future.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 5 [json_name = "actAs"];
      Specified by:
      getActAsList in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      A list containing the actAs.
    • getActAsCount

      public int getActAsCount()
       Set of parties on whose behalf the command should be executed, if submitted.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction
       and does not execute it. Therefore read authorization is sufficient even for actAs parties.
       Note: This may change, and more specific authorization scope may be introduced in the future.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 5 [json_name = "actAs"];
      Specified by:
      getActAsCount in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The count of actAs.
    • getActAs

      public String getActAs(int index)
       Set of parties on whose behalf the command should be executed, if submitted.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction
       and does not execute it. Therefore read authorization is sufficient even for actAs parties.
       Note: This may change, and more specific authorization scope may be introduced in the future.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 5 [json_name = "actAs"];
      Specified by:
      getActAs in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The actAs at the given index.
    • getActAsBytes

      public com.google.protobuf.ByteString getActAsBytes(int index)
       Set of parties on whose behalf the command should be executed, if submitted.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction
       and does not execute it. Therefore read authorization is sufficient even for actAs parties.
       Note: This may change, and more specific authorization scope may be introduced in the future.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 5 [json_name = "actAs"];
      Specified by:
      getActAsBytes in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the actAs at the given index.
    • setActAs

       Set of parties on whose behalf the command should be executed, if submitted.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction
       and does not execute it. Therefore read authorization is sufficient even for actAs parties.
       Note: This may change, and more specific authorization scope may be introduced in the future.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 5 [json_name = "actAs"];
      Parameters:
      index - The index to set the value at.
      value - The actAs to set.
      Returns:
      This builder for chaining.
    • addActAs

       Set of parties on whose behalf the command should be executed, if submitted.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction
       and does not execute it. Therefore read authorization is sufficient even for actAs parties.
       Note: This may change, and more specific authorization scope may be introduced in the future.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 5 [json_name = "actAs"];
      Parameters:
      value - The actAs to add.
      Returns:
      This builder for chaining.
    • addAllActAs

       Set of parties on whose behalf the command should be executed, if submitted.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction
       and does not execute it. Therefore read authorization is sufficient even for actAs parties.
       Note: This may change, and more specific authorization scope may be introduced in the future.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 5 [json_name = "actAs"];
      Parameters:
      values - The actAs to add.
      Returns:
      This builder for chaining.
    • clearActAs

       Set of parties on whose behalf the command should be executed, if submitted.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction
       and does not execute it. Therefore read authorization is sufficient even for actAs parties.
       Note: This may change, and more specific authorization scope may be introduced in the future.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 5 [json_name = "actAs"];
      Returns:
      This builder for chaining.
    • addActAsBytes

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addActAsBytes(com.google.protobuf.ByteString value)
       Set of parties on whose behalf the command should be executed, if submitted.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction
       and does not execute it. Therefore read authorization is sufficient even for actAs parties.
       Note: This may change, and more specific authorization scope may be introduced in the future.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 5 [json_name = "actAs"];
      Parameters:
      value - The bytes of the actAs to add.
      Returns:
      This builder for chaining.
    • getReadAsList

      public com.google.protobuf.ProtocolStringList getReadAsList()
       Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
       This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.
       Note: A command can only use contracts that are visible to at least
       one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization
       rules for fetch operations.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to read contract data on behalf of each of the given parties.
       Optional
       
      repeated string read_as = 6 [json_name = "readAs"];
      Specified by:
      getReadAsList in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      A list containing the readAs.
    • getReadAsCount

      public int getReadAsCount()
       Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
       This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.
       Note: A command can only use contracts that are visible to at least
       one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization
       rules for fetch operations.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to read contract data on behalf of each of the given parties.
       Optional
       
      repeated string read_as = 6 [json_name = "readAs"];
      Specified by:
      getReadAsCount in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The count of readAs.
    • getReadAs

      public String getReadAs(int index)
       Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
       This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.
       Note: A command can only use contracts that are visible to at least
       one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization
       rules for fetch operations.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to read contract data on behalf of each of the given parties.
       Optional
       
      repeated string read_as = 6 [json_name = "readAs"];
      Specified by:
      getReadAs in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The readAs at the given index.
    • getReadAsBytes

      public com.google.protobuf.ByteString getReadAsBytes(int index)
       Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
       This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.
       Note: A command can only use contracts that are visible to at least
       one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization
       rules for fetch operations.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to read contract data on behalf of each of the given parties.
       Optional
       
      repeated string read_as = 6 [json_name = "readAs"];
      Specified by:
      getReadAsBytes in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the readAs at the given index.
    • setReadAs

       Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
       This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.
       Note: A command can only use contracts that are visible to at least
       one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization
       rules for fetch operations.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to read contract data on behalf of each of the given parties.
       Optional
       
      repeated string read_as = 6 [json_name = "readAs"];
      Parameters:
      index - The index to set the value at.
      value - The readAs to set.
      Returns:
      This builder for chaining.
    • addReadAs

       Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
       This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.
       Note: A command can only use contracts that are visible to at least
       one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization
       rules for fetch operations.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to read contract data on behalf of each of the given parties.
       Optional
       
      repeated string read_as = 6 [json_name = "readAs"];
      Parameters:
      value - The readAs to add.
      Returns:
      This builder for chaining.
    • addAllReadAs

       Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
       This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.
       Note: A command can only use contracts that are visible to at least
       one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization
       rules for fetch operations.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to read contract data on behalf of each of the given parties.
       Optional
       
      repeated string read_as = 6 [json_name = "readAs"];
      Parameters:
      values - The readAs to add.
      Returns:
      This builder for chaining.
    • clearReadAs

       Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
       This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.
       Note: A command can only use contracts that are visible to at least
       one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization
       rules for fetch operations.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to read contract data on behalf of each of the given parties.
       Optional
       
      repeated string read_as = 6 [json_name = "readAs"];
      Returns:
      This builder for chaining.
    • addReadAsBytes

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addReadAsBytes(com.google.protobuf.ByteString value)
       Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.
       This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``.
       Note: A command can only use contracts that are visible to at least
       one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization
       rules for fetch operations.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to read contract data on behalf of each of the given parties.
       Optional
       
      repeated string read_as = 6 [json_name = "readAs"];
      Parameters:
      value - The bytes of the readAs to add.
      Returns:
      This builder for chaining.
    • getDisclosedContractsList

      public List<CommandsOuterClass.DisclosedContract> getDisclosedContractsList()
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
      Specified by:
      getDisclosedContractsList in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getDisclosedContractsCount

      public int getDisclosedContractsCount()
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
      Specified by:
      getDisclosedContractsCount in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getDisclosedContracts

      public CommandsOuterClass.DisclosedContract getDisclosedContracts(int index)
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
      Specified by:
      getDisclosedContracts in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • setDisclosedContracts

       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
    • setDisclosedContracts

       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
    • addDisclosedContracts

       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
    • addDisclosedContracts

       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
    • addDisclosedContracts

       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
    • addDisclosedContracts

       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
    • addAllDisclosedContracts

       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
    • clearDisclosedContracts

       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
    • removeDisclosedContracts

       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
    • getDisclosedContractsBuilder

      public CommandsOuterClass.DisclosedContract.Builder getDisclosedContractsBuilder(int index)
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
    • getDisclosedContractsOrBuilder

      public CommandsOuterClass.DisclosedContractOrBuilder getDisclosedContractsOrBuilder(int index)
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
      Specified by:
      getDisclosedContractsOrBuilder in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getDisclosedContractsOrBuilderList

      public List<? extends CommandsOuterClass.DisclosedContractOrBuilder> getDisclosedContractsOrBuilderList()
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
      Specified by:
      getDisclosedContractsOrBuilderList in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • addDisclosedContractsBuilder

      public CommandsOuterClass.DisclosedContract.Builder addDisclosedContractsBuilder()
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
    • addDisclosedContractsBuilder

      public CommandsOuterClass.DisclosedContract.Builder addDisclosedContractsBuilder(int index)
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
    • getDisclosedContractsBuilderList

      public List<CommandsOuterClass.DisclosedContract.Builder> getDisclosedContractsBuilderList()
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
    • getSynchronizerId

      public String getSynchronizerId()
       Must be a valid synchronizer id
       Required
       
      string synchronizer_id = 8 [json_name = "synchronizerId"];
      Specified by:
      getSynchronizerId in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The synchronizerId.
    • getSynchronizerIdBytes

      public com.google.protobuf.ByteString getSynchronizerIdBytes()
       Must be a valid synchronizer id
       Required
       
      string synchronizer_id = 8 [json_name = "synchronizerId"];
      Specified by:
      getSynchronizerIdBytes in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The bytes for synchronizerId.
    • setSynchronizerId

       Must be a valid synchronizer id
       Required
       
      string synchronizer_id = 8 [json_name = "synchronizerId"];
      Parameters:
      value - The synchronizerId to set.
      Returns:
      This builder for chaining.
    • clearSynchronizerId

       Must be a valid synchronizer id
       Required
       
      string synchronizer_id = 8 [json_name = "synchronizerId"];
      Returns:
      This builder for chaining.
    • setSynchronizerIdBytes

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setSynchronizerIdBytes(com.google.protobuf.ByteString value)
       Must be a valid synchronizer id
       Required
       
      string synchronizer_id = 8 [json_name = "synchronizerId"];
      Parameters:
      value - The bytes for synchronizerId to set.
      Returns:
      This builder for chaining.
    • getPackageIdSelectionPreferenceList

      public com.google.protobuf.ProtocolStringList getPackageIdSelectionPreferenceList()
       The package-id selection preference of the client for resolving
       package names and interface instances in command submission and interpretation
       
      repeated string package_id_selection_preference = 9 [json_name = "packageIdSelectionPreference"];
      Specified by:
      getPackageIdSelectionPreferenceList in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      A list containing the packageIdSelectionPreference.
    • getPackageIdSelectionPreferenceCount

      public int getPackageIdSelectionPreferenceCount()
       The package-id selection preference of the client for resolving
       package names and interface instances in command submission and interpretation
       
      repeated string package_id_selection_preference = 9 [json_name = "packageIdSelectionPreference"];
      Specified by:
      getPackageIdSelectionPreferenceCount in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The count of packageIdSelectionPreference.
    • getPackageIdSelectionPreference

      public String getPackageIdSelectionPreference(int index)
       The package-id selection preference of the client for resolving
       package names and interface instances in command submission and interpretation
       
      repeated string package_id_selection_preference = 9 [json_name = "packageIdSelectionPreference"];
      Specified by:
      getPackageIdSelectionPreference in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The packageIdSelectionPreference at the given index.
    • getPackageIdSelectionPreferenceBytes

      public com.google.protobuf.ByteString getPackageIdSelectionPreferenceBytes(int index)
       The package-id selection preference of the client for resolving
       package names and interface instances in command submission and interpretation
       
      repeated string package_id_selection_preference = 9 [json_name = "packageIdSelectionPreference"];
      Specified by:
      getPackageIdSelectionPreferenceBytes in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the packageIdSelectionPreference at the given index.
    • setPackageIdSelectionPreference

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setPackageIdSelectionPreference(int index, String value)
       The package-id selection preference of the client for resolving
       package names and interface instances in command submission and interpretation
       
      repeated string package_id_selection_preference = 9 [json_name = "packageIdSelectionPreference"];
      Parameters:
      index - The index to set the value at.
      value - The packageIdSelectionPreference to set.
      Returns:
      This builder for chaining.
    • addPackageIdSelectionPreference

       The package-id selection preference of the client for resolving
       package names and interface instances in command submission and interpretation
       
      repeated string package_id_selection_preference = 9 [json_name = "packageIdSelectionPreference"];
      Parameters:
      value - The packageIdSelectionPreference to add.
      Returns:
      This builder for chaining.
    • addAllPackageIdSelectionPreference

       The package-id selection preference of the client for resolving
       package names and interface instances in command submission and interpretation
       
      repeated string package_id_selection_preference = 9 [json_name = "packageIdSelectionPreference"];
      Parameters:
      values - The packageIdSelectionPreference to add.
      Returns:
      This builder for chaining.
    • clearPackageIdSelectionPreference

       The package-id selection preference of the client for resolving
       package names and interface instances in command submission and interpretation
       
      repeated string package_id_selection_preference = 9 [json_name = "packageIdSelectionPreference"];
      Returns:
      This builder for chaining.
    • addPackageIdSelectionPreferenceBytes

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addPackageIdSelectionPreferenceBytes(com.google.protobuf.ByteString value)
       The package-id selection preference of the client for resolving
       package names and interface instances in command submission and interpretation
       
      repeated string package_id_selection_preference = 9 [json_name = "packageIdSelectionPreference"];
      Parameters:
      value - The bytes of the packageIdSelectionPreference to add.
      Returns:
      This builder for chaining.
    • getVerboseHashing

      public boolean getVerboseHashing()
       When true, the response will contain additional details on how the transaction was encoded and hashed
       This can be useful for troubleshooting of hash mismatches. Should only be used for debugging.
       
      bool verbose_hashing = 10 [json_name = "verboseHashing"];
      Specified by:
      getVerboseHashing in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The verboseHashing.
    • setVerboseHashing

       When true, the response will contain additional details on how the transaction was encoded and hashed
       This can be useful for troubleshooting of hash mismatches. Should only be used for debugging.
       
      bool verbose_hashing = 10 [json_name = "verboseHashing"];
      Parameters:
      value - The verboseHashing to set.
      Returns:
      This builder for chaining.
    • clearVerboseHashing

       When true, the response will contain additional details on how the transaction was encoded and hashed
       This can be useful for troubleshooting of hash mismatches. Should only be used for debugging.
       
      bool verbose_hashing = 10 [json_name = "verboseHashing"];
      Returns:
      This builder for chaining.
    • getPrefetchContractKeysList

      public List<CommandsOuterClass.PrefetchContractKey> getPrefetchContractKeysList()
       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
      Specified by:
      getPrefetchContractKeysList in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getPrefetchContractKeysCount

      public int getPrefetchContractKeysCount()
       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
      Specified by:
      getPrefetchContractKeysCount in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getPrefetchContractKeys

      public CommandsOuterClass.PrefetchContractKey getPrefetchContractKeys(int index)
       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
      Specified by:
      getPrefetchContractKeys in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • setPrefetchContractKeys

       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
    • setPrefetchContractKeys

       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
    • addPrefetchContractKeys

       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
    • addPrefetchContractKeys

       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
    • addPrefetchContractKeys

       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
    • addPrefetchContractKeys

       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
    • addAllPrefetchContractKeys

       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
    • clearPrefetchContractKeys

       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
    • removePrefetchContractKeys

      public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder removePrefetchContractKeys(int index)
       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
    • getPrefetchContractKeysBuilder

      public CommandsOuterClass.PrefetchContractKey.Builder getPrefetchContractKeysBuilder(int index)
       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
    • getPrefetchContractKeysOrBuilder

      public CommandsOuterClass.PrefetchContractKeyOrBuilder getPrefetchContractKeysOrBuilder(int index)
       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
      Specified by:
      getPrefetchContractKeysOrBuilder in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getPrefetchContractKeysOrBuilderList

      public List<? extends CommandsOuterClass.PrefetchContractKeyOrBuilder> getPrefetchContractKeysOrBuilderList()
       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
      Specified by:
      getPrefetchContractKeysOrBuilderList in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • addPrefetchContractKeysBuilder

      public CommandsOuterClass.PrefetchContractKey.Builder addPrefetchContractKeysBuilder()
       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
    • addPrefetchContractKeysBuilder

      public CommandsOuterClass.PrefetchContractKey.Builder addPrefetchContractKeysBuilder(int index)
       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
    • getPrefetchContractKeysBuilderList

      public List<CommandsOuterClass.PrefetchContractKey.Builder> getPrefetchContractKeysBuilderList()
       Fetches the contract keys into the caches to speed up the command processing.
       Should only contain contract keys that are expected to be resolved during interpretation of the commands.
       Keys of disclosed contracts do not need prefetching.
      
       Optional
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
    • setUnknownFields

      public final InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
    • mergeUnknownFields

      public final InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>