Class InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest

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

public static final class InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest extends com.google.protobuf.GeneratedMessageV3 implements InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
Protobuf type com.daml.ledger.api.v2.interactive.PrepareSubmissionRequest
See Also:
  • Field Details

    • USER_ID_FIELD_NUMBER

      public static final int USER_ID_FIELD_NUMBER
      See Also:
    • COMMAND_ID_FIELD_NUMBER

      public static final int COMMAND_ID_FIELD_NUMBER
      See Also:
    • COMMANDS_FIELD_NUMBER

      public static final int COMMANDS_FIELD_NUMBER
      See Also:
    • MIN_LEDGER_TIME_FIELD_NUMBER

      public static final int MIN_LEDGER_TIME_FIELD_NUMBER
      See Also:
    • MAX_RECORD_TIME_FIELD_NUMBER

      public static final int MAX_RECORD_TIME_FIELD_NUMBER
      See Also:
    • ACT_AS_FIELD_NUMBER

      public static final int ACT_AS_FIELD_NUMBER
      See Also:
    • READ_AS_FIELD_NUMBER

      public static final int READ_AS_FIELD_NUMBER
      See Also:
    • DISCLOSED_CONTRACTS_FIELD_NUMBER

      public static final int DISCLOSED_CONTRACTS_FIELD_NUMBER
      See Also:
    • SYNCHRONIZER_ID_FIELD_NUMBER

      public static final int SYNCHRONIZER_ID_FIELD_NUMBER
      See Also:
    • PACKAGE_ID_SELECTION_PREFERENCE_FIELD_NUMBER

      public static final int PACKAGE_ID_SELECTION_PREFERENCE_FIELD_NUMBER
      See Also:
    • VERBOSE_HASHING_FIELD_NUMBER

      public static final int VERBOSE_HASHING_FIELD_NUMBER
      See Also:
    • PREFETCH_CONTRACT_KEYS_FIELD_NUMBER

      public static final int PREFETCH_CONTRACT_KEYS_FIELD_NUMBER
      See Also:
    • ESTIMATE_TRAFFIC_COST_FIELD_NUMBER

      public static final int ESTIMATE_TRAFFIC_COST_FIELD_NUMBER
      See Also:
    • HASHING_SCHEME_VERSION_FIELD_NUMBER

      public static final int HASHING_SCHEME_VERSION_FIELD_NUMBER
      See Also:
    • TAPS_MAX_PASSES_FIELD_NUMBER

      public static final int TAPS_MAX_PASSES_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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.
      
       Optional
       
      string user_id = 1;
      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.
      
       Optional
       
      string user_id = 1;
      Specified by:
      getUserIdBytes in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The bytes for userId.
    • 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;
      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;
      Specified by:
      getCommandIdBytes in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The bytes for commandId.
    • getCommandsList

      public List<CommandsOuterClass.Command> getCommandsList()
       Individual elements of this atomic command. Must be non-empty.
       Limitation: Only single command transaction are currently supported by the API.
       The field is marked as repeated in preparation for future support of multiple commands.
      
       Required: must be non-empty
       
      repeated .com.daml.ledger.api.v2.Command commands = 3;
      Specified by:
      getCommandsList in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getCommandsOrBuilderList

      public List<? extends CommandsOuterClass.CommandOrBuilder> getCommandsOrBuilderList()
       Individual elements of this atomic command. Must be non-empty.
       Limitation: Only single command transaction are currently supported by the API.
       The field is marked as repeated in preparation for future support of multiple commands.
      
       Required: must be non-empty
       
      repeated .com.daml.ledger.api.v2.Command commands = 3;
      Specified by:
      getCommandsOrBuilderList in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getCommandsCount

      public int getCommandsCount()
       Individual elements of this atomic command. Must be non-empty.
       Limitation: Only single command transaction are currently supported by the API.
       The field is marked as repeated in preparation for future support of multiple commands.
      
       Required: must be non-empty
       
      repeated .com.daml.ledger.api.v2.Command commands = 3;
      Specified by:
      getCommandsCount in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getCommands

      public CommandsOuterClass.Command getCommands(int index)
       Individual elements of this atomic command. Must be non-empty.
       Limitation: Only single command transaction are currently supported by the API.
       The field is marked as repeated in preparation for future support of multiple commands.
      
       Required: must be non-empty
       
      repeated .com.daml.ledger.api.v2.Command commands = 3;
      Specified by:
      getCommands in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getCommandsOrBuilder

      public CommandsOuterClass.CommandOrBuilder getCommandsOrBuilder(int index)
       Individual elements of this atomic command. Must be non-empty.
       Limitation: Only single command transaction are currently supported by the API.
       The field is marked as repeated in preparation for future support of multiple commands.
      
       Required: must be non-empty
       
      repeated .com.daml.ledger.api.v2.Command commands = 3;
      Specified by:
      getCommandsOrBuilder in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • hasMinLedgerTime

      public boolean hasMinLedgerTime()
       Optional
       
      .com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4;
      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;
      Specified by:
      getMinLedgerTime in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The minLedgerTime.
    • getMinLedgerTimeOrBuilder

       Optional
       
      .com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4;
      Specified by:
      getMinLedgerTimeOrBuilder in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • hasMaxRecordTime

      public boolean hasMaxRecordTime()
       Maximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.
       If submitted after it will be rejected even if otherwise valid, in which case it needs to be prepared and signed again
       with a new valid max_record_time.
       Use this to limit the time-to-life of a prepared transaction,
       which is useful to know when it can definitely not be accepted
       anymore and resorting to preparing another transaction for the same
       intent is safe again.
      
       Optional
       
      optional .google.protobuf.Timestamp max_record_time = 11;
      Specified by:
      hasMaxRecordTime in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      Whether the maxRecordTime field is set.
    • getMaxRecordTime

      public com.google.protobuf.Timestamp getMaxRecordTime()
       Maximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.
       If submitted after it will be rejected even if otherwise valid, in which case it needs to be prepared and signed again
       with a new valid max_record_time.
       Use this to limit the time-to-life of a prepared transaction,
       which is useful to know when it can definitely not be accepted
       anymore and resorting to preparing another transaction for the same
       intent is safe again.
      
       Optional
       
      optional .google.protobuf.Timestamp max_record_time = 11;
      Specified by:
      getMaxRecordTime in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The maxRecordTime.
    • getMaxRecordTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getMaxRecordTimeOrBuilder()
       Maximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.
       If submitted after it will be rejected even if otherwise valid, in which case it needs to be prepared and signed again
       with a new valid max_record_time.
       Use this to limit the time-to-life of a prepared transaction,
       which is useful to know when it can definitely not be accepted
       anymore and resorting to preparing another transaction for the same
       intent is safe again.
      
       Optional
       
      optional .google.protobuf.Timestamp max_record_time = 11;
      Specified by:
      getMaxRecordTimeOrBuilder 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;
      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;
      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;
      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;
      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.
    • 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: can be empty
       
      repeated string read_as = 6;
      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: can be empty
       
      repeated string read_as = 6;
      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: can be empty
       
      repeated string read_as = 6;
      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: can be empty
       
      repeated string read_as = 6;
      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.
    • getDisclosedContractsList

      public List<CommandsOuterClass.DisclosedContract> getDisclosedContractsList()
       Additional contracts used to resolve contract & contract key lookups.
      
       Optional: can be empty
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7;
      Specified by:
      getDisclosedContractsList in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getDisclosedContractsOrBuilderList

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

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

      public CommandsOuterClass.DisclosedContract getDisclosedContracts(int index)
       Additional contracts used to resolve contract & contract key lookups.
      
       Optional: can be empty
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7;
      Specified by:
      getDisclosedContracts in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getDisclosedContractsOrBuilder

      public CommandsOuterClass.DisclosedContractOrBuilder getDisclosedContractsOrBuilder(int index)
       Additional contracts used to resolve contract & contract key lookups.
      
       Optional: can be empty
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7;
      Specified by:
      getDisclosedContractsOrBuilder in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • getSynchronizerId

      public String getSynchronizerId()
       Must be a valid synchronizer id
       If not set, a suitable synchronizer that this node is connected to will be chosen
      
       Optional
       
      string synchronizer_id = 8;
      Specified by:
      getSynchronizerId in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The synchronizerId.
    • getSynchronizerIdBytes

      public com.google.protobuf.ByteString getSynchronizerIdBytes()
       Must be a valid synchronizer id
       If not set, a suitable synchronizer that this node is connected to will be chosen
      
       Optional
       
      string synchronizer_id = 8;
      Specified by:
      getSynchronizerIdBytes in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The bytes for synchronizerId.
    • 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
      
       Optional: can be empty
       
      repeated string package_id_selection_preference = 9;
      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
      
       Optional: can be empty
       
      repeated string package_id_selection_preference = 9;
      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
      
       Optional: can be empty
       
      repeated string package_id_selection_preference = 9;
      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
      
       Optional: can be empty
       
      repeated string package_id_selection_preference = 9;
      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.
    • 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.
       Defaults to false
      
       Optional
       
      bool verbose_hashing = 10;
      Specified by:
      getVerboseHashing in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The verboseHashing.
    • 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: can be empty
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15;
      Specified by:
      getPrefetchContractKeysList 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: can be empty
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15;
      Specified by:
      getPrefetchContractKeysOrBuilderList 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: can be empty
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15;
      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: can be empty
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15;
      Specified by:
      getPrefetchContractKeys in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • 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: can be empty
       
      repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15;
      Specified by:
      getPrefetchContractKeysOrBuilder in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • hasEstimateTrafficCost

      public boolean hasEstimateTrafficCost()
       Hints to improve the accuracy of traffic cost estimation.
       The estimation logic assumes that this node will be used for the execution of the transaction
       If another node is used instead, the estimation may be less precise.
       Request amplification is not accounted for in the estimation: each amplified request will
       result in the cost of the confirmation request to be charged additionally.
      
       Traffic cost estimation is enabled by default if this field is not set
       To turn off cost estimation, set the CostEstimationHints#disabled field to true
      
       Optional
       
      optional .com.daml.ledger.api.v2.interactive.CostEstimationHints estimate_traffic_cost = 16;
      Specified by:
      hasEstimateTrafficCost in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      Whether the estimateTrafficCost field is set.
    • getEstimateTrafficCost

       Hints to improve the accuracy of traffic cost estimation.
       The estimation logic assumes that this node will be used for the execution of the transaction
       If another node is used instead, the estimation may be less precise.
       Request amplification is not accounted for in the estimation: each amplified request will
       result in the cost of the confirmation request to be charged additionally.
      
       Traffic cost estimation is enabled by default if this field is not set
       To turn off cost estimation, set the CostEstimationHints#disabled field to true
      
       Optional
       
      optional .com.daml.ledger.api.v2.interactive.CostEstimationHints estimate_traffic_cost = 16;
      Specified by:
      getEstimateTrafficCost in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The estimateTrafficCost.
    • getEstimateTrafficCostOrBuilder

       Hints to improve the accuracy of traffic cost estimation.
       The estimation logic assumes that this node will be used for the execution of the transaction
       If another node is used instead, the estimation may be less precise.
       Request amplification is not accounted for in the estimation: each amplified request will
       result in the cost of the confirmation request to be charged additionally.
      
       Traffic cost estimation is enabled by default if this field is not set
       To turn off cost estimation, set the CostEstimationHints#disabled field to true
      
       Optional
       
      optional .com.daml.ledger.api.v2.interactive.CostEstimationHints estimate_traffic_cost = 16;
      Specified by:
      getEstimateTrafficCostOrBuilder in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
    • hasHashingSchemeVersion

      public boolean hasHashingSchemeVersion()
       The hashing scheme version to be used when building the hash.
       Defaults to HASHING_SCHEME_VERSION_V2.
      
       Optional
       
      optional .com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 17;
      Specified by:
      hasHashingSchemeVersion in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      Whether the hashingSchemeVersion field is set.
    • getHashingSchemeVersionValue

      public int getHashingSchemeVersionValue()
       The hashing scheme version to be used when building the hash.
       Defaults to HASHING_SCHEME_VERSION_V2.
      
       Optional
       
      optional .com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 17;
      Specified by:
      getHashingSchemeVersionValue in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The enum numeric value on the wire for hashingSchemeVersion.
    • getHashingSchemeVersion

       The hashing scheme version to be used when building the hash.
       Defaults to HASHING_SCHEME_VERSION_V2.
      
       Optional
       
      optional .com.daml.ledger.api.v2.interactive.HashingSchemeVersion hashing_scheme_version = 17;
      Specified by:
      getHashingSchemeVersion in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The hashingSchemeVersion.
    • hasTapsMaxPasses

      public boolean hasTapsMaxPasses()
       The maximum number of passes for the Topology-Aware Package Selection (TAPS).
       Higher values can increase the chance of successful package selection for routing of interpreted transactions.
       If unset, this defaults to the value defined in the participant configuration.
       The provided value must not exceed the limit specified in the participant configuration.
      
       Optional
       
      optional uint32 taps_max_passes = 18;
      Specified by:
      hasTapsMaxPasses in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      Whether the tapsMaxPasses field is set.
    • getTapsMaxPasses

      public int getTapsMaxPasses()
       The maximum number of passes for the Topology-Aware Package Selection (TAPS).
       Higher values can increase the chance of successful package selection for routing of interpreted transactions.
       If unset, this defaults to the value defined in the participant configuration.
       The provided value must not exceed the limit specified in the participant configuration.
      
       Optional
       
      optional uint32 taps_max_passes = 18;
      Specified by:
      getTapsMaxPasses in interface InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
      Returns:
      The tapsMaxPasses.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      Throws:
      IOException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      Throws:
      IOException
    • parseDelimitedFrom

      public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

    • parser

      public static com.google.protobuf.Parser<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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