Class CommandsOuterClass.Commands.Builder

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

public static final class CommandsOuterClass.Commands.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Commands.Builder> implements CommandsOuterClass.CommandsOrBuilder
 A composite command that groups multiple commands together.
 
Protobuf type com.daml.ledger.api.v2.Commands
  • 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<CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
    • getDefaultInstanceForType

      public CommandsOuterClass.Commands 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

      public CommandsOuterClass.Commands 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<CommandsOuterClass.Commands.Builder>
    • setField

      public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
    • clearField

      public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
    • clearOneof

      public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
    • setRepeatedField

      public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
    • addRepeatedField

      public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
    • mergeFrom

      public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
    • mergeFrom

      public CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
      Throws:
      IOException
    • getDeduplicationPeriodCase

      public CommandsOuterClass.Commands.DeduplicationPeriodCase getDeduplicationPeriodCase()
      Specified by:
      getDeduplicationPeriodCase in interface CommandsOuterClass.CommandsOrBuilder
    • clearDeduplicationPeriod

      public CommandsOuterClass.Commands.Builder clearDeduplicationPeriod()
    • getWorkflowId

      public String getWorkflowId()
       Identifier of the on-ledger workflow that this command is a part of.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 1 [json_name = "workflowId"];
      Specified by:
      getWorkflowId in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      The workflowId.
    • getWorkflowIdBytes

      public com.google.protobuf.ByteString getWorkflowIdBytes()
       Identifier of the on-ledger workflow that this command is a part of.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 1 [json_name = "workflowId"];
      Specified by:
      getWorkflowIdBytes in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      The bytes for workflowId.
    • setWorkflowId

      public CommandsOuterClass.Commands.Builder setWorkflowId(String value)
       Identifier of the on-ledger workflow that this command is a part of.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 1 [json_name = "workflowId"];
      Parameters:
      value - The workflowId to set.
      Returns:
      This builder for chaining.
    • clearWorkflowId

      public CommandsOuterClass.Commands.Builder clearWorkflowId()
       Identifier of the on-ledger workflow that this command is a part of.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 1 [json_name = "workflowId"];
      Returns:
      This builder for chaining.
    • setWorkflowIdBytes

      public CommandsOuterClass.Commands.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value)
       Identifier of the on-ledger workflow that this command is a part of.
       Must be a valid LedgerString (as described in ``value.proto``).
       Optional
       
      string workflow_id = 1 [json_name = "workflowId"];
      Parameters:
      value - The bytes for workflowId to set.
      Returns:
      This builder for chaining.
    • getUserId

      public String getUserId()
       Uniquely identifies the participant user that issued the command.
       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 = 2 [json_name = "userId"];
      Specified by:
      getUserId in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      The userId.
    • getUserIdBytes

      public com.google.protobuf.ByteString getUserIdBytes()
       Uniquely identifies the participant user that issued the command.
       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 = 2 [json_name = "userId"];
      Specified by:
      getUserIdBytes in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      The bytes for userId.
    • setUserId

      public CommandsOuterClass.Commands.Builder setUserId(String value)
       Uniquely identifies the participant user that issued the command.
       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 = 2 [json_name = "userId"];
      Parameters:
      value - The userId to set.
      Returns:
      This builder for chaining.
    • clearUserId

       Uniquely identifies the participant user that issued the command.
       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 = 2 [json_name = "userId"];
      Returns:
      This builder for chaining.
    • setUserIdBytes

      public CommandsOuterClass.Commands.Builder setUserIdBytes(com.google.protobuf.ByteString value)
       Uniquely identifies the participant user that issued the command.
       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 = 2 [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 = 3 [json_name = "commandId"];
      Specified by:
      getCommandId in interface CommandsOuterClass.CommandsOrBuilder
      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 = 3 [json_name = "commandId"];
      Specified by:
      getCommandIdBytes in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      The bytes for commandId.
    • setCommandId

      public CommandsOuterClass.Commands.Builder setCommandId(String 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 = 3 [json_name = "commandId"];
      Parameters:
      value - The commandId to set.
      Returns:
      This builder for chaining.
    • clearCommandId

      public CommandsOuterClass.Commands.Builder 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 = 3 [json_name = "commandId"];
      Returns:
      This builder for chaining.
    • setCommandIdBytes

      public CommandsOuterClass.Commands.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 = 3 [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 = 4 [json_name = "commands"];
      Specified by:
      getCommandsList in interface CommandsOuterClass.CommandsOrBuilder
    • getCommandsCount

      public int getCommandsCount()
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
      Specified by:
      getCommandsCount in interface CommandsOuterClass.CommandsOrBuilder
    • 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 = 4 [json_name = "commands"];
      Specified by:
      getCommands in interface CommandsOuterClass.CommandsOrBuilder
    • setCommands

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

      public CommandsOuterClass.Commands.Builder setCommands(int index, CommandsOuterClass.Command.Builder builderForValue)
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
    • addCommands

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

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

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

      public CommandsOuterClass.Commands.Builder addCommands(int index, CommandsOuterClass.Command.Builder builderForValue)
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
    • addAllCommands

      public CommandsOuterClass.Commands.Builder addAllCommands(Iterable<? extends CommandsOuterClass.Command> values)
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 4 [json_name = "commands"];
    • clearCommands

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

      public CommandsOuterClass.Commands.Builder removeCommands(int index)
       Individual elements of this atomic command. Must be non-empty.
       Required
       
      repeated .com.daml.ledger.api.v2.Command commands = 4 [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 = 4 [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 = 4 [json_name = "commands"];
      Specified by:
      getCommandsOrBuilder in interface CommandsOuterClass.CommandsOrBuilder
    • 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 = 4 [json_name = "commands"];
      Specified by:
      getCommandsOrBuilderList in interface CommandsOuterClass.CommandsOrBuilder
    • 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 = 4 [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 = 4 [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 = 4 [json_name = "commands"];
    • hasDeduplicationDuration

      public boolean hasDeduplicationDuration()
       Specifies the length of the deduplication period.
       It is interpreted relative to the local clock at some point during the submission's processing.
       Must be non-negative. Must not exceed the maximum deduplication time.
       
      .google.protobuf.Duration deduplication_duration = 5 [json_name = "deduplicationDuration"];
      Specified by:
      hasDeduplicationDuration in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      Whether the deduplicationDuration field is set.
    • getDeduplicationDuration

      public com.google.protobuf.Duration getDeduplicationDuration()
       Specifies the length of the deduplication period.
       It is interpreted relative to the local clock at some point during the submission's processing.
       Must be non-negative. Must not exceed the maximum deduplication time.
       
      .google.protobuf.Duration deduplication_duration = 5 [json_name = "deduplicationDuration"];
      Specified by:
      getDeduplicationDuration in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      The deduplicationDuration.
    • setDeduplicationDuration

      public CommandsOuterClass.Commands.Builder setDeduplicationDuration(com.google.protobuf.Duration value)
       Specifies the length of the deduplication period.
       It is interpreted relative to the local clock at some point during the submission's processing.
       Must be non-negative. Must not exceed the maximum deduplication time.
       
      .google.protobuf.Duration deduplication_duration = 5 [json_name = "deduplicationDuration"];
    • setDeduplicationDuration

      public CommandsOuterClass.Commands.Builder setDeduplicationDuration(com.google.protobuf.Duration.Builder builderForValue)
       Specifies the length of the deduplication period.
       It is interpreted relative to the local clock at some point during the submission's processing.
       Must be non-negative. Must not exceed the maximum deduplication time.
       
      .google.protobuf.Duration deduplication_duration = 5 [json_name = "deduplicationDuration"];
    • mergeDeduplicationDuration

      public CommandsOuterClass.Commands.Builder mergeDeduplicationDuration(com.google.protobuf.Duration value)
       Specifies the length of the deduplication period.
       It is interpreted relative to the local clock at some point during the submission's processing.
       Must be non-negative. Must not exceed the maximum deduplication time.
       
      .google.protobuf.Duration deduplication_duration = 5 [json_name = "deduplicationDuration"];
    • clearDeduplicationDuration

      public CommandsOuterClass.Commands.Builder clearDeduplicationDuration()
       Specifies the length of the deduplication period.
       It is interpreted relative to the local clock at some point during the submission's processing.
       Must be non-negative. Must not exceed the maximum deduplication time.
       
      .google.protobuf.Duration deduplication_duration = 5 [json_name = "deduplicationDuration"];
    • getDeduplicationDurationBuilder

      public com.google.protobuf.Duration.Builder getDeduplicationDurationBuilder()
       Specifies the length of the deduplication period.
       It is interpreted relative to the local clock at some point during the submission's processing.
       Must be non-negative. Must not exceed the maximum deduplication time.
       
      .google.protobuf.Duration deduplication_duration = 5 [json_name = "deduplicationDuration"];
    • getDeduplicationDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getDeduplicationDurationOrBuilder()
       Specifies the length of the deduplication period.
       It is interpreted relative to the local clock at some point during the submission's processing.
       Must be non-negative. Must not exceed the maximum deduplication time.
       
      .google.protobuf.Duration deduplication_duration = 5 [json_name = "deduplicationDuration"];
      Specified by:
      getDeduplicationDurationOrBuilder in interface CommandsOuterClass.CommandsOrBuilder
    • hasDeduplicationOffset

      public boolean hasDeduplicationOffset()
       Specifies the start of the deduplication period by a completion stream offset (exclusive).
       Must be a valid absolute offset (positive integer) or participant begin (zero).
       
      int64 deduplication_offset = 6 [json_name = "deduplicationOffset"];
      Specified by:
      hasDeduplicationOffset in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      Whether the deduplicationOffset field is set.
    • getDeduplicationOffset

      public long getDeduplicationOffset()
       Specifies the start of the deduplication period by a completion stream offset (exclusive).
       Must be a valid absolute offset (positive integer) or participant begin (zero).
       
      int64 deduplication_offset = 6 [json_name = "deduplicationOffset"];
      Specified by:
      getDeduplicationOffset in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      The deduplicationOffset.
    • setDeduplicationOffset

      public CommandsOuterClass.Commands.Builder setDeduplicationOffset(long value)
       Specifies the start of the deduplication period by a completion stream offset (exclusive).
       Must be a valid absolute offset (positive integer) or participant begin (zero).
       
      int64 deduplication_offset = 6 [json_name = "deduplicationOffset"];
      Parameters:
      value - The deduplicationOffset to set.
      Returns:
      This builder for chaining.
    • clearDeduplicationOffset

      public CommandsOuterClass.Commands.Builder clearDeduplicationOffset()
       Specifies the start of the deduplication period by a completion stream offset (exclusive).
       Must be a valid absolute offset (positive integer) or participant begin (zero).
       
      int64 deduplication_offset = 6 [json_name = "deduplicationOffset"];
      Returns:
      This builder for chaining.
    • hasMinLedgerTimeAbs

      public boolean hasMinLedgerTimeAbs()
       Lower bound for the ledger time assigned to the resulting transaction.
       Note: The ledger time of a transaction is assigned as part of command interpretation.
       Use this property if you expect that command interpretation will take a considerate amount of time, such that by
       the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore.
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 7 [json_name = "minLedgerTimeAbs"];
      Specified by:
      hasMinLedgerTimeAbs in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      Whether the minLedgerTimeAbs field is set.
    • getMinLedgerTimeAbs

      public com.google.protobuf.Timestamp getMinLedgerTimeAbs()
       Lower bound for the ledger time assigned to the resulting transaction.
       Note: The ledger time of a transaction is assigned as part of command interpretation.
       Use this property if you expect that command interpretation will take a considerate amount of time, such that by
       the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore.
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 7 [json_name = "minLedgerTimeAbs"];
      Specified by:
      getMinLedgerTimeAbs in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      The minLedgerTimeAbs.
    • setMinLedgerTimeAbs

      public CommandsOuterClass.Commands.Builder setMinLedgerTimeAbs(com.google.protobuf.Timestamp value)
       Lower bound for the ledger time assigned to the resulting transaction.
       Note: The ledger time of a transaction is assigned as part of command interpretation.
       Use this property if you expect that command interpretation will take a considerate amount of time, such that by
       the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore.
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 7 [json_name = "minLedgerTimeAbs"];
    • setMinLedgerTimeAbs

      public CommandsOuterClass.Commands.Builder setMinLedgerTimeAbs(com.google.protobuf.Timestamp.Builder builderForValue)
       Lower bound for the ledger time assigned to the resulting transaction.
       Note: The ledger time of a transaction is assigned as part of command interpretation.
       Use this property if you expect that command interpretation will take a considerate amount of time, such that by
       the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore.
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 7 [json_name = "minLedgerTimeAbs"];
    • mergeMinLedgerTimeAbs

      public CommandsOuterClass.Commands.Builder mergeMinLedgerTimeAbs(com.google.protobuf.Timestamp value)
       Lower bound for the ledger time assigned to the resulting transaction.
       Note: The ledger time of a transaction is assigned as part of command interpretation.
       Use this property if you expect that command interpretation will take a considerate amount of time, such that by
       the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore.
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 7 [json_name = "minLedgerTimeAbs"];
    • clearMinLedgerTimeAbs

      public CommandsOuterClass.Commands.Builder clearMinLedgerTimeAbs()
       Lower bound for the ledger time assigned to the resulting transaction.
       Note: The ledger time of a transaction is assigned as part of command interpretation.
       Use this property if you expect that command interpretation will take a considerate amount of time, such that by
       the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore.
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 7 [json_name = "minLedgerTimeAbs"];
    • getMinLedgerTimeAbsBuilder

      public com.google.protobuf.Timestamp.Builder getMinLedgerTimeAbsBuilder()
       Lower bound for the ledger time assigned to the resulting transaction.
       Note: The ledger time of a transaction is assigned as part of command interpretation.
       Use this property if you expect that command interpretation will take a considerate amount of time, such that by
       the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore.
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 7 [json_name = "minLedgerTimeAbs"];
    • getMinLedgerTimeAbsOrBuilder

      public com.google.protobuf.TimestampOrBuilder getMinLedgerTimeAbsOrBuilder()
       Lower bound for the ledger time assigned to the resulting transaction.
       Note: The ledger time of a transaction is assigned as part of command interpretation.
       Use this property if you expect that command interpretation will take a considerate amount of time, such that by
       the time the resulting transaction is sequenced, its assigned ledger time is not valid anymore.
       Must not be set at the same time as min_ledger_time_rel.
       Optional
       
      .google.protobuf.Timestamp min_ledger_time_abs = 7 [json_name = "minLedgerTimeAbs"];
      Specified by:
      getMinLedgerTimeAbsOrBuilder in interface CommandsOuterClass.CommandsOrBuilder
    • hasMinLedgerTimeRel

      public boolean hasMinLedgerTimeRel()
       Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 8 [json_name = "minLedgerTimeRel"];
      Specified by:
      hasMinLedgerTimeRel in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      Whether the minLedgerTimeRel field is set.
    • getMinLedgerTimeRel

      public com.google.protobuf.Duration getMinLedgerTimeRel()
       Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 8 [json_name = "minLedgerTimeRel"];
      Specified by:
      getMinLedgerTimeRel in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      The minLedgerTimeRel.
    • setMinLedgerTimeRel

      public CommandsOuterClass.Commands.Builder setMinLedgerTimeRel(com.google.protobuf.Duration value)
       Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 8 [json_name = "minLedgerTimeRel"];
    • setMinLedgerTimeRel

      public CommandsOuterClass.Commands.Builder setMinLedgerTimeRel(com.google.protobuf.Duration.Builder builderForValue)
       Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 8 [json_name = "minLedgerTimeRel"];
    • mergeMinLedgerTimeRel

      public CommandsOuterClass.Commands.Builder mergeMinLedgerTimeRel(com.google.protobuf.Duration value)
       Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 8 [json_name = "minLedgerTimeRel"];
    • clearMinLedgerTimeRel

      public CommandsOuterClass.Commands.Builder clearMinLedgerTimeRel()
       Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 8 [json_name = "minLedgerTimeRel"];
    • getMinLedgerTimeRelBuilder

      public com.google.protobuf.Duration.Builder getMinLedgerTimeRelBuilder()
       Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 8 [json_name = "minLedgerTimeRel"];
    • getMinLedgerTimeRelOrBuilder

      public com.google.protobuf.DurationOrBuilder getMinLedgerTimeRelOrBuilder()
       Same as min_ledger_time_abs, but specified as a duration, starting from the time the command is received by the server.
       Must not be set at the same time as min_ledger_time_abs.
       Optional
       
      .google.protobuf.Duration min_ledger_time_rel = 8 [json_name = "minLedgerTimeRel"];
      Specified by:
      getMinLedgerTimeRelOrBuilder in interface CommandsOuterClass.CommandsOrBuilder
    • getActAsList

      public com.google.protobuf.ProtocolStringList getActAsList()
       Set of parties on whose behalf the command should be executed.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to act on behalf of each of the given parties.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 9 [json_name = "actAs"];
      Specified by:
      getActAsList in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      A list containing the actAs.
    • getActAsCount

      public int getActAsCount()
       Set of parties on whose behalf the command should be executed.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to act on behalf of each of the given parties.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 9 [json_name = "actAs"];
      Specified by:
      getActAsCount in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      The count of actAs.
    • getActAs

      public String getActAs(int index)
       Set of parties on whose behalf the command should be executed.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to act on behalf of each of the given parties.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 9 [json_name = "actAs"];
      Specified by:
      getActAs in interface CommandsOuterClass.CommandsOrBuilder
      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 ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to act on behalf of each of the given parties.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 9 [json_name = "actAs"];
      Specified by:
      getActAsBytes in interface CommandsOuterClass.CommandsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the actAs at the given index.
    • setActAs

      public CommandsOuterClass.Commands.Builder setActAs(int index, String value)
       Set of parties on whose behalf the command should be executed.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to act on behalf of each of the given parties.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 9 [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 ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to act on behalf of each of the given parties.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 9 [json_name = "actAs"];
      Parameters:
      value - The actAs to add.
      Returns:
      This builder for chaining.
    • addAllActAs

      public CommandsOuterClass.Commands.Builder addAllActAs(Iterable<String> values)
       Set of parties on whose behalf the command should be executed.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to act on behalf of each of the given parties.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 9 [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 ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to act on behalf of each of the given parties.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 9 [json_name = "actAs"];
      Returns:
      This builder for chaining.
    • addActAsBytes

      public CommandsOuterClass.Commands.Builder addActAsBytes(com.google.protobuf.ByteString value)
       Set of parties on whose behalf the command should be executed.
       If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request
       to act on behalf of each of the given parties.
       Each element must be a valid PartyIdString (as described in ``value.proto``).
       Required, must be non-empty.
       
      repeated string act_as = 9 [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 participant node of a Daml network can host multiple parties. Each contract present on the participant
       node is only visible to a subset of these parties. 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 = 10 [json_name = "readAs"];
      Specified by:
      getReadAsList in interface CommandsOuterClass.CommandsOrBuilder
      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 participant node of a Daml network can host multiple parties. Each contract present on the participant
       node is only visible to a subset of these parties. 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 = 10 [json_name = "readAs"];
      Specified by:
      getReadAsCount in interface CommandsOuterClass.CommandsOrBuilder
      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 participant node of a Daml network can host multiple parties. Each contract present on the participant
       node is only visible to a subset of these parties. 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 = 10 [json_name = "readAs"];
      Specified by:
      getReadAs in interface CommandsOuterClass.CommandsOrBuilder
      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 participant node of a Daml network can host multiple parties. Each contract present on the participant
       node is only visible to a subset of these parties. 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 = 10 [json_name = "readAs"];
      Specified by:
      getReadAsBytes in interface CommandsOuterClass.CommandsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the readAs at the given index.
    • setReadAs

      public CommandsOuterClass.Commands.Builder setReadAs(int index, String 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 participant node of a Daml network can host multiple parties. Each contract present on the participant
       node is only visible to a subset of these parties. 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 = 10 [json_name = "readAs"];
      Parameters:
      index - The index to set the value at.
      value - The readAs to set.
      Returns:
      This builder for chaining.
    • addReadAs

      public CommandsOuterClass.Commands.Builder addReadAs(String 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 participant node of a Daml network can host multiple parties. Each contract present on the participant
       node is only visible to a subset of these parties. 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 = 10 [json_name = "readAs"];
      Parameters:
      value - The readAs to add.
      Returns:
      This builder for chaining.
    • addAllReadAs

      public CommandsOuterClass.Commands.Builder addAllReadAs(Iterable<String> values)
       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 participant node of a Daml network can host multiple parties. Each contract present on the participant
       node is only visible to a subset of these parties. 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 = 10 [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 participant node of a Daml network can host multiple parties. Each contract present on the participant
       node is only visible to a subset of these parties. 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 = 10 [json_name = "readAs"];
      Returns:
      This builder for chaining.
    • addReadAsBytes

      public CommandsOuterClass.Commands.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 participant node of a Daml network can host multiple parties. Each contract present on the participant
       node is only visible to a subset of these parties. 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 = 10 [json_name = "readAs"];
      Parameters:
      value - The bytes of the readAs to add.
      Returns:
      This builder for chaining.
    • getSubmissionId

      public String getSubmissionId()
       A unique identifier to distinguish completions for different submissions with the same change ID.
       Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
       with the same change ID.
       Must be a valid LedgerString (as described in ``value.proto``).
      
       If omitted, the participant or the committer may set a value of their choice.
       Optional
       
      string submission_id = 11 [json_name = "submissionId"];
      Specified by:
      getSubmissionId in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      The submissionId.
    • getSubmissionIdBytes

      public com.google.protobuf.ByteString getSubmissionIdBytes()
       A unique identifier to distinguish completions for different submissions with the same change ID.
       Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
       with the same change ID.
       Must be a valid LedgerString (as described in ``value.proto``).
      
       If omitted, the participant or the committer may set a value of their choice.
       Optional
       
      string submission_id = 11 [json_name = "submissionId"];
      Specified by:
      getSubmissionIdBytes in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      The bytes for submissionId.
    • setSubmissionId

      public CommandsOuterClass.Commands.Builder setSubmissionId(String value)
       A unique identifier to distinguish completions for different submissions with the same change ID.
       Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
       with the same change ID.
       Must be a valid LedgerString (as described in ``value.proto``).
      
       If omitted, the participant or the committer may set a value of their choice.
       Optional
       
      string submission_id = 11 [json_name = "submissionId"];
      Parameters:
      value - The submissionId to set.
      Returns:
      This builder for chaining.
    • clearSubmissionId

      public CommandsOuterClass.Commands.Builder clearSubmissionId()
       A unique identifier to distinguish completions for different submissions with the same change ID.
       Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
       with the same change ID.
       Must be a valid LedgerString (as described in ``value.proto``).
      
       If omitted, the participant or the committer may set a value of their choice.
       Optional
       
      string submission_id = 11 [json_name = "submissionId"];
      Returns:
      This builder for chaining.
    • setSubmissionIdBytes

      public CommandsOuterClass.Commands.Builder setSubmissionIdBytes(com.google.protobuf.ByteString value)
       A unique identifier to distinguish completions for different submissions with the same change ID.
       Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
       with the same change ID.
       Must be a valid LedgerString (as described in ``value.proto``).
      
       If omitted, the participant or the committer may set a value of their choice.
       Optional
       
      string submission_id = 11 [json_name = "submissionId"];
      Parameters:
      value - The bytes for submissionId to set.
      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 = 12 [json_name = "disclosedContracts"];
      Specified by:
      getDisclosedContractsList in interface CommandsOuterClass.CommandsOrBuilder
    • getDisclosedContractsCount

      public int getDisclosedContractsCount()
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
      Specified by:
      getDisclosedContractsCount in interface CommandsOuterClass.CommandsOrBuilder
    • 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 = 12 [json_name = "disclosedContracts"];
      Specified by:
      getDisclosedContracts in interface CommandsOuterClass.CommandsOrBuilder
    • setDisclosedContracts

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

      public CommandsOuterClass.Commands.Builder setDisclosedContracts(int index, CommandsOuterClass.DisclosedContract.Builder builderForValue)
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
    • addDisclosedContracts

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

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

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

      public CommandsOuterClass.Commands.Builder addDisclosedContracts(int index, CommandsOuterClass.DisclosedContract.Builder builderForValue)
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
    • addAllDisclosedContracts

      public CommandsOuterClass.Commands.Builder addAllDisclosedContracts(Iterable<? extends CommandsOuterClass.DisclosedContract> values)
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [json_name = "disclosedContracts"];
    • clearDisclosedContracts

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

      public CommandsOuterClass.Commands.Builder removeDisclosedContracts(int index)
       Additional contracts used to resolve contract & contract key lookups.
       Optional
       
      repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 12 [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 = 12 [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 = 12 [json_name = "disclosedContracts"];
      Specified by:
      getDisclosedContractsOrBuilder in interface CommandsOuterClass.CommandsOrBuilder
    • 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 = 12 [json_name = "disclosedContracts"];
      Specified by:
      getDisclosedContractsOrBuilderList in interface CommandsOuterClass.CommandsOrBuilder
    • 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 = 12 [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 = 12 [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 = 12 [json_name = "disclosedContracts"];
    • getSynchronizerId

      public String getSynchronizerId()
       Must be a valid synchronizer id
       Optional
       
      string synchronizer_id = 13 [json_name = "synchronizerId"];
      Specified by:
      getSynchronizerId in interface CommandsOuterClass.CommandsOrBuilder
      Returns:
      The synchronizerId.
    • getSynchronizerIdBytes

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

      public CommandsOuterClass.Commands.Builder setSynchronizerId(String value)
       Must be a valid synchronizer id
       Optional
       
      string synchronizer_id = 13 [json_name = "synchronizerId"];
      Parameters:
      value - The synchronizerId to set.
      Returns:
      This builder for chaining.
    • clearSynchronizerId

      public CommandsOuterClass.Commands.Builder clearSynchronizerId()
       Must be a valid synchronizer id
       Optional
       
      string synchronizer_id = 13 [json_name = "synchronizerId"];
      Returns:
      This builder for chaining.
    • setSynchronizerIdBytes

      public CommandsOuterClass.Commands.Builder setSynchronizerIdBytes(com.google.protobuf.ByteString value)
       Must be a valid synchronizer id
       Optional
       
      string synchronizer_id = 13 [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 = 14 [json_name = "packageIdSelectionPreference"];
      Specified by:
      getPackageIdSelectionPreferenceList in interface CommandsOuterClass.CommandsOrBuilder
      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 = 14 [json_name = "packageIdSelectionPreference"];
      Specified by:
      getPackageIdSelectionPreferenceCount in interface CommandsOuterClass.CommandsOrBuilder
      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 = 14 [json_name = "packageIdSelectionPreference"];
      Specified by:
      getPackageIdSelectionPreference in interface CommandsOuterClass.CommandsOrBuilder
      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 = 14 [json_name = "packageIdSelectionPreference"];
      Specified by:
      getPackageIdSelectionPreferenceBytes in interface CommandsOuterClass.CommandsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the packageIdSelectionPreference at the given index.
    • setPackageIdSelectionPreference

      public CommandsOuterClass.Commands.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 = 14 [json_name = "packageIdSelectionPreference"];
      Parameters:
      index - The index to set the value at.
      value - The packageIdSelectionPreference to set.
      Returns:
      This builder for chaining.
    • addPackageIdSelectionPreference

      public CommandsOuterClass.Commands.Builder addPackageIdSelectionPreference(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 = 14 [json_name = "packageIdSelectionPreference"];
      Parameters:
      value - The packageIdSelectionPreference to add.
      Returns:
      This builder for chaining.
    • addAllPackageIdSelectionPreference

      public CommandsOuterClass.Commands.Builder addAllPackageIdSelectionPreference(Iterable<String> values)
       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 = 14 [json_name = "packageIdSelectionPreference"];
      Parameters:
      values - The packageIdSelectionPreference to add.
      Returns:
      This builder for chaining.
    • clearPackageIdSelectionPreference

      public CommandsOuterClass.Commands.Builder 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 = 14 [json_name = "packageIdSelectionPreference"];
      Returns:
      This builder for chaining.
    • addPackageIdSelectionPreferenceBytes

      public CommandsOuterClass.Commands.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 = 14 [json_name = "packageIdSelectionPreference"];
      Parameters:
      value - The bytes of the packageIdSelectionPreference to add.
      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 CommandsOuterClass.CommandsOrBuilder
    • 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 CommandsOuterClass.CommandsOrBuilder
    • 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 CommandsOuterClass.CommandsOrBuilder
    • setPrefetchContractKeys

      public CommandsOuterClass.Commands.Builder setPrefetchContractKeys(int index, CommandsOuterClass.PrefetchContractKey value)
       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

      public CommandsOuterClass.Commands.Builder setPrefetchContractKeys(int index, CommandsOuterClass.PrefetchContractKey.Builder builderForValue)
       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

      public CommandsOuterClass.Commands.Builder addPrefetchContractKeys(int index, CommandsOuterClass.PrefetchContractKey value)
       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

      public CommandsOuterClass.Commands.Builder addPrefetchContractKeys(int index, CommandsOuterClass.PrefetchContractKey.Builder builderForValue)
       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

      public CommandsOuterClass.Commands.Builder addAllPrefetchContractKeys(Iterable<? extends CommandsOuterClass.PrefetchContractKey> values)
       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

      public CommandsOuterClass.Commands.Builder 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 CommandsOuterClass.Commands.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 CommandsOuterClass.CommandsOrBuilder
    • 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 CommandsOuterClass.CommandsOrBuilder
    • 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 CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>
    • mergeUnknownFields

      public final CommandsOuterClass.Commands.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<CommandsOuterClass.Commands.Builder>