Class InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
com.daml.ledger.api.v2.interactive.InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder
- All Implemented Interfaces:
InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest
public static final class InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
implements InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
Protobuf type
com.daml.ledger.api.v2.interactive.PrepareSubmissionRequest-
Method Summary
Modifier and TypeMethodDescriptionSet of parties on whose behalf the command should be executed, if submitted.addActAsBytes(com.google.protobuf.ByteString value) Set of parties on whose behalf the command should be executed, if submitted.addAllActAs(Iterable<String> values) Set of parties on whose behalf the command should be executed, if submitted.addAllCommands(Iterable<? extends CommandsOuterClass.Command> values) Individual elements of this atomic command.addAllDisclosedContracts(Iterable<? extends CommandsOuterClass.DisclosedContract> values) Additional contracts used to resolve contract & contract key lookups.The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation Optional: can be emptyaddAllPrefetchContractKeys(Iterable<? extends CommandsOuterClass.PrefetchContractKey> values) Fetches the contract keys into the caches to speed up the command processing.addAllReadAs(Iterable<String> values) Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.addCommands(int index, CommandsOuterClass.Command value) Individual elements of this atomic command.addCommands(int index, CommandsOuterClass.Command.Builder builderForValue) Individual elements of this atomic command.Individual elements of this atomic command.addCommands(CommandsOuterClass.Command.Builder builderForValue) Individual elements of this atomic command.Individual elements of this atomic command.addCommandsBuilder(int index) Individual elements of this atomic command.addDisclosedContracts(int index, CommandsOuterClass.DisclosedContract value) Additional contracts used to resolve contract & contract key lookups.addDisclosedContracts(int index, CommandsOuterClass.DisclosedContract.Builder builderForValue) Additional contracts used to resolve contract & contract key lookups.Additional contracts used to resolve contract & contract key lookups.addDisclosedContracts(CommandsOuterClass.DisclosedContract.Builder builderForValue) Additional contracts used to resolve contract & contract key lookups.Additional contracts used to resolve contract & contract key lookups.addDisclosedContractsBuilder(int index) Additional contracts used to resolve contract & contract key lookups.The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation Optional: can be emptyaddPackageIdSelectionPreferenceBytes(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 Optional: can be emptyaddPrefetchContractKeys(int index, CommandsOuterClass.PrefetchContractKey value) Fetches the contract keys into the caches to speed up the command processing.addPrefetchContractKeys(int index, CommandsOuterClass.PrefetchContractKey.Builder builderForValue) Fetches the contract keys into the caches to speed up the command processing.Fetches the contract keys into the caches to speed up the command processing.addPrefetchContractKeys(CommandsOuterClass.PrefetchContractKey.Builder builderForValue) Fetches the contract keys into the caches to speed up the command processing.Fetches the contract keys into the caches to speed up the command processing.addPrefetchContractKeysBuilder(int index) Fetches the contract keys into the caches to speed up the command processing.Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.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.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Set of parties on whose behalf the command should be executed, if submitted.Uniquely identifies the command.Individual elements of this atomic command.Additional contracts used to resolve contract & contract key lookups.Hints to improve the accuracy of traffic cost estimation.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The hashing scheme version to be used when building the hash.Maximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.OptionalclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation Optional: can be emptyFetches the contract keys into the caches to speed up the command processing.Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.Must be a valid synchronizer id If not set, a suitable synchronizer that this node is connected to will be chosen OptionalThe maximum number of passes for the Topology-Aware Package Selection (TAPS).Uniquely identifies the participant user that prepares the transaction.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.clone()getActAs(int index) Set of parties on whose behalf the command should be executed, if submitted.com.google.protobuf.ByteStringgetActAsBytes(int index) Set of parties on whose behalf the command should be executed, if submitted.intSet of parties on whose behalf the command should be executed, if submitted.com.google.protobuf.ProtocolStringListSet of parties on whose behalf the command should be executed, if submitted.Uniquely identifies the command.com.google.protobuf.ByteStringUniquely identifies the command.getCommands(int index) Individual elements of this atomic command.getCommandsBuilder(int index) Individual elements of this atomic command.Individual elements of this atomic command.intIndividual elements of this atomic command.Individual elements of this atomic command.getCommandsOrBuilder(int index) Individual elements of this atomic command.List<? extends CommandsOuterClass.CommandOrBuilder> Individual elements of this atomic command.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDisclosedContracts(int index) Additional contracts used to resolve contract & contract key lookups.getDisclosedContractsBuilder(int index) Additional contracts used to resolve contract & contract key lookups.Additional contracts used to resolve contract & contract key lookups.intAdditional contracts used to resolve contract & contract key lookups.Additional contracts used to resolve contract & contract key lookups.getDisclosedContractsOrBuilder(int index) Additional contracts used to resolve contract & contract key lookups.Additional contracts used to resolve contract & contract key lookups.Hints to improve the accuracy of traffic cost estimation.Hints to improve the accuracy of traffic cost estimation.Hints to improve the accuracy of traffic cost estimation.The hashing scheme version to be used when building the hash.intThe hashing scheme version to be used when building the hash.com.google.protobuf.TimestampMaximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.com.google.protobuf.Timestamp.BuilderMaximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.com.google.protobuf.TimestampOrBuilderMaximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.OptionalOptionalOptionalgetPackageIdSelectionPreference(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 emptycom.google.protobuf.ByteStringgetPackageIdSelectionPreferenceBytes(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 emptyintThe package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation Optional: can be emptycom.google.protobuf.ProtocolStringListThe package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation Optional: can be emptygetPrefetchContractKeys(int index) Fetches the contract keys into the caches to speed up the command processing.getPrefetchContractKeysBuilder(int index) Fetches the contract keys into the caches to speed up the command processing.Fetches the contract keys into the caches to speed up the command processing.intFetches the contract keys into the caches to speed up the command processing.Fetches the contract keys into the caches to speed up the command processing.getPrefetchContractKeysOrBuilder(int index) Fetches the contract keys into the caches to speed up the command processing.Fetches the contract keys into the caches to speed up the command processing.getReadAs(int index) Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.com.google.protobuf.ByteStringgetReadAsBytes(int index) Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.intSet of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.com.google.protobuf.ProtocolStringListSet of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.Must be a valid synchronizer id If not set, a suitable synchronizer that this node is connected to will be chosen Optionalcom.google.protobuf.ByteStringMust be a valid synchronizer id If not set, a suitable synchronizer that this node is connected to will be chosen OptionalintThe maximum number of passes for the Topology-Aware Package Selection (TAPS).Uniquely identifies the participant user that prepares the transaction.com.google.protobuf.ByteStringUniquely identifies the participant user that prepares the transaction.booleanWhen true, the response will contain additional details on how the transaction was encoded and hashed This can be useful for troubleshooting of hash mismatches.booleanHints to improve the accuracy of traffic cost estimation.booleanThe hashing scheme version to be used when building the hash.booleanMaximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.booleanOptionalbooleanThe maximum number of passes for the Topology-Aware Package Selection (TAPS).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanHints to improve the accuracy of traffic cost estimation.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMaxRecordTime(com.google.protobuf.Timestamp value) Maximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.OptionalmergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeCommands(int index) Individual elements of this atomic command.removeDisclosedContracts(int index) Additional contracts used to resolve contract & contract key lookups.removePrefetchContractKeys(int index) Fetches the contract keys into the caches to speed up the command processing.Set of parties on whose behalf the command should be executed, if submitted.setCommandId(String value) Uniquely identifies the command.setCommandIdBytes(com.google.protobuf.ByteString value) Uniquely identifies the command.setCommands(int index, CommandsOuterClass.Command value) Individual elements of this atomic command.setCommands(int index, CommandsOuterClass.Command.Builder builderForValue) Individual elements of this atomic command.setDisclosedContracts(int index, CommandsOuterClass.DisclosedContract value) Additional contracts used to resolve contract & contract key lookups.setDisclosedContracts(int index, CommandsOuterClass.DisclosedContract.Builder builderForValue) Additional contracts used to resolve contract & contract key lookups.Hints to improve the accuracy of traffic cost estimation.setEstimateTrafficCost(InteractiveSubmissionServiceOuterClass.CostEstimationHints.Builder builderForValue) Hints to improve the accuracy of traffic cost estimation.The hashing scheme version to be used when building the hash.setHashingSchemeVersionValue(int value) The hashing scheme version to be used when building the hash.setMaxRecordTime(com.google.protobuf.Timestamp value) Maximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.setMaxRecordTime(com.google.protobuf.Timestamp.Builder builderForValue) Maximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.OptionalOptionalsetPackageIdSelectionPreference(int index, String value) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation Optional: can be emptysetPrefetchContractKeys(int index, CommandsOuterClass.PrefetchContractKey value) Fetches the contract keys into the caches to speed up the command processing.setPrefetchContractKeys(int index, CommandsOuterClass.PrefetchContractKey.Builder builderForValue) Fetches the contract keys into the caches to speed up the command processing.Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSynchronizerId(String value) Must be a valid synchronizer id If not set, a suitable synchronizer that this node is connected to will be chosen OptionalsetSynchronizerIdBytes(com.google.protobuf.ByteString value) Must be a valid synchronizer id If not set, a suitable synchronizer that this node is connected to will be chosen OptionalsetTapsMaxPasses(int value) The maximum number of passes for the Topology-Aware Package Selection (TAPS).setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Uniquely identifies the participant user that prepares the transaction.setUserIdBytes(com.google.protobuf.ByteString value) Uniquely identifies the participant user that prepares the transaction.setVerboseHashing(boolean value) 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.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
-
setField
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
-
clearField
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
-
clearOneof
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
-
setRepeatedField
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
-
addRepeatedField
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
-
mergeFrom
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
-
mergeFrom
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>- Throws:
IOException
-
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:
getUserIdin interfaceInteractiveSubmissionServiceOuterClass.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:
getUserIdBytesin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- The bytes for userId.
-
setUserId
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setUserId(String value) Uniquely identifies the participant user that prepares the transaction. Must be a valid UserIdString (as described in ``value.proto``). Required unless authentication is used with a user token. In that case, the token's user-id will be used for the request's user_id. Optional
string user_id = 1;- Parameters:
value- The userId to set.- Returns:
- This builder for chaining.
-
clearUserId
Uniquely identifies the participant user that prepares the transaction. Must be a valid UserIdString (as described in ``value.proto``). Required unless authentication is used with a user token. In that case, the token's user-id will be used for the request's user_id. Optional
string user_id = 1;- Returns:
- This builder for chaining.
-
setUserIdBytes
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setUserIdBytes(com.google.protobuf.ByteString value) Uniquely identifies the participant user that prepares the transaction. Must be a valid UserIdString (as described in ``value.proto``). Required unless authentication is used with a user token. In that case, the token's user-id will be used for the request's user_id. Optional
string user_id = 1;- Parameters:
value- The bytes for userId to set.- Returns:
- This builder for chaining.
-
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:
getCommandIdin interfaceInteractiveSubmissionServiceOuterClass.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:
getCommandIdBytesin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- The bytes for commandId.
-
setCommandId
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.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 = 2;- Parameters:
value- The commandId to set.- Returns:
- This builder for chaining.
-
clearCommandId
Uniquely identifies the command. The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change, where act_as is interpreted as a set of party names. The change ID can be used for matching the intended ledger changes with all their completions. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 2;- Returns:
- This builder for chaining.
-
setCommandIdBytes
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setCommandIdBytes(com.google.protobuf.ByteString value) Uniquely identifies the command. The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change, where act_as is interpreted as a set of party names. The change ID can be used for matching the intended ledger changes with all their completions. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 2;- Parameters:
value- The bytes for commandId to set.- Returns:
- This builder for chaining.
-
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:
getCommandsListin interfaceInteractiveSubmissionServiceOuterClass.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:
getCommandsCountin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
getCommands
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:
getCommandsin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
setCommands
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setCommands(int index, CommandsOuterClass.Command value) 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; -
setCommands
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setCommands(int index, CommandsOuterClass.Command.Builder builderForValue) 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; -
addCommands
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addCommands(CommandsOuterClass.Command value) 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; -
addCommands
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addCommands(int index, CommandsOuterClass.Command value) 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; -
addCommands
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addCommands(CommandsOuterClass.Command.Builder builderForValue) 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; -
addCommands
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addCommands(int index, CommandsOuterClass.Command.Builder builderForValue) 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; -
addAllCommands
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addAllCommands(Iterable<? extends CommandsOuterClass.Command> values) 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; -
clearCommands
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; -
removeCommands
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder removeCommands(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; -
getCommandsBuilder
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; -
getCommandsOrBuilder
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:
getCommandsOrBuilderin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
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:
getCommandsOrBuilderListin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
addCommandsBuilder
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; -
addCommandsBuilder
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; -
getCommandsBuilderList
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; -
hasMinLedgerTime
public boolean hasMinLedgerTime()Optional
.com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4;- Specified by:
hasMinLedgerTimein interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- Whether the minLedgerTime field is set.
-
getMinLedgerTime
Optional
.com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4;- Specified by:
getMinLedgerTimein interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- The minLedgerTime.
-
setMinLedgerTime
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setMinLedgerTime(InteractiveSubmissionServiceOuterClass.MinLedgerTime value) Optional
.com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4; -
setMinLedgerTime
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setMinLedgerTime(InteractiveSubmissionServiceOuterClass.MinLedgerTime.Builder builderForValue) Optional
.com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4; -
mergeMinLedgerTime
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder mergeMinLedgerTime(InteractiveSubmissionServiceOuterClass.MinLedgerTime value) Optional
.com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4; -
clearMinLedgerTime
Optional
.com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4; -
getMinLedgerTimeBuilder
Optional
.com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4; -
getMinLedgerTimeOrBuilder
Optional
.com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4;- Specified by:
getMinLedgerTimeOrBuilderin interfaceInteractiveSubmissionServiceOuterClass.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:
hasMaxRecordTimein interfaceInteractiveSubmissionServiceOuterClass.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:
getMaxRecordTimein interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- The maxRecordTime.
-
setMaxRecordTime
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setMaxRecordTime(com.google.protobuf.Timestamp value) 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; -
setMaxRecordTime
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setMaxRecordTime(com.google.protobuf.Timestamp.Builder builderForValue) 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; -
mergeMaxRecordTime
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder mergeMaxRecordTime(com.google.protobuf.Timestamp value) 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; -
clearMaxRecordTime
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; -
getMaxRecordTimeBuilder
public com.google.protobuf.Timestamp.Builder getMaxRecordTimeBuilder()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; -
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:
getMaxRecordTimeOrBuilderin interfaceInteractiveSubmissionServiceOuterClass.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:
getActAsListin interfaceInteractiveSubmissionServiceOuterClass.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:
getActAsCountin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- The count of actAs.
-
getActAs
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:
getActAsin interfaceInteractiveSubmissionServiceOuterClass.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:
getActAsBytesin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the actAs at the given index.
-
setActAs
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setActAs(int index, String value) Set of parties on whose behalf the command should be executed, if submitted. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction and does not execute it. Therefore read authorization is sufficient even for actAs parties. Note: This may change, and more specific authorization scope may be introduced in the future. Each element must be a valid PartyIdString (as described in ``value.proto``). Required: must be non-empty
repeated string act_as = 5;- Parameters:
index- The index to set the value at.value- The actAs to set.- Returns:
- This builder for chaining.
-
addActAs
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addActAs(String value) Set of parties on whose behalf the command should be executed, if submitted. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction and does not execute it. Therefore read authorization is sufficient even for actAs parties. Note: This may change, and more specific authorization scope may be introduced in the future. Each element must be a valid PartyIdString (as described in ``value.proto``). Required: must be non-empty
repeated string act_as = 5;- Parameters:
value- The actAs to add.- Returns:
- This builder for chaining.
-
addAllActAs
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addAllActAs(Iterable<String> values) 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;- Parameters:
values- The actAs to add.- Returns:
- This builder for chaining.
-
clearActAs
Set of parties on whose behalf the command should be executed, if submitted. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction and does not execute it. Therefore read authorization is sufficient even for actAs parties. Note: This may change, and more specific authorization scope may be introduced in the future. Each element must be a valid PartyIdString (as described in ``value.proto``). Required: must be non-empty
repeated string act_as = 5;- Returns:
- This builder for chaining.
-
addActAsBytes
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addActAsBytes(com.google.protobuf.ByteString value) Set of parties on whose behalf the command should be executed, if submitted. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to **read** (not act) on behalf of each of the given parties. This is because this RPC merely prepares a transaction and does not execute it. Therefore read authorization is sufficient even for actAs parties. Note: This may change, and more specific authorization scope may be introduced in the future. Each element must be a valid PartyIdString (as described in ``value.proto``). Required: must be non-empty
repeated string act_as = 5;- Parameters:
value- The bytes of the actAs to add.- Returns:
- This builder for chaining.
-
getReadAsList
public com.google.protobuf.ProtocolStringList getReadAsList()Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional: can be empty
repeated string read_as = 6;- Specified by:
getReadAsListin interfaceInteractiveSubmissionServiceOuterClass.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:
getReadAsCountin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- The count of readAs.
-
getReadAs
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:
getReadAsin interfaceInteractiveSubmissionServiceOuterClass.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:
getReadAsBytesin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the readAs at the given index.
-
setReadAs
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.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 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;- Parameters:
index- The index to set the value at.value- The readAs to set.- Returns:
- This builder for chaining.
-
addReadAs
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.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 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;- Parameters:
value- The readAs to add.- Returns:
- This builder for chaining.
-
addAllReadAs
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.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 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;- Parameters:
values- The readAs to add.- Returns:
- This builder for chaining.
-
clearReadAs
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional: can be empty
repeated string read_as = 6;- Returns:
- This builder for chaining.
-
addReadAsBytes
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addReadAsBytes(com.google.protobuf.ByteString value) Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional: can be empty
repeated string read_as = 6;- Parameters:
value- The bytes of the readAs to add.- Returns:
- This builder for chaining.
-
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:
getDisclosedContractsListin interfaceInteractiveSubmissionServiceOuterClass.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:
getDisclosedContractsCountin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
getDisclosedContracts
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:
getDisclosedContractsin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
setDisclosedContracts
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setDisclosedContracts(int index, CommandsOuterClass.DisclosedContract value) Additional contracts used to resolve contract & contract key lookups. Optional: can be empty
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7; -
setDisclosedContracts
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setDisclosedContracts(int index, CommandsOuterClass.DisclosedContract.Builder builderForValue) Additional contracts used to resolve contract & contract key lookups. Optional: can be empty
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7; -
addDisclosedContracts
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addDisclosedContracts(CommandsOuterClass.DisclosedContract value) Additional contracts used to resolve contract & contract key lookups. Optional: can be empty
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7; -
addDisclosedContracts
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addDisclosedContracts(int index, CommandsOuterClass.DisclosedContract value) Additional contracts used to resolve contract & contract key lookups. Optional: can be empty
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7; -
addDisclosedContracts
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addDisclosedContracts(CommandsOuterClass.DisclosedContract.Builder builderForValue) Additional contracts used to resolve contract & contract key lookups. Optional: can be empty
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7; -
addDisclosedContracts
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addDisclosedContracts(int index, CommandsOuterClass.DisclosedContract.Builder builderForValue) Additional contracts used to resolve contract & contract key lookups. Optional: can be empty
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7; -
addAllDisclosedContracts
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addAllDisclosedContracts(Iterable<? extends CommandsOuterClass.DisclosedContract> values) Additional contracts used to resolve contract & contract key lookups. Optional: can be empty
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7; -
clearDisclosedContracts
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder clearDisclosedContracts()Additional contracts used to resolve contract & contract key lookups. Optional: can be empty
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7; -
removeDisclosedContracts
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder removeDisclosedContracts(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; -
getDisclosedContractsBuilder
Additional contracts used to resolve contract & contract key lookups. Optional: can be empty
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7; -
getDisclosedContractsOrBuilder
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:
getDisclosedContractsOrBuilderin interfaceInteractiveSubmissionServiceOuterClass.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:
getDisclosedContractsOrBuilderListin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
addDisclosedContractsBuilder
Additional contracts used to resolve contract & contract key lookups. Optional: can be empty
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7; -
addDisclosedContractsBuilder
Additional contracts used to resolve contract & contract key lookups. Optional: can be empty
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7; -
getDisclosedContractsBuilderList
Additional contracts used to resolve contract & contract key lookups. Optional: can be empty
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7; -
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:
getSynchronizerIdin interfaceInteractiveSubmissionServiceOuterClass.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:
getSynchronizerIdBytesin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- The bytes for synchronizerId.
-
setSynchronizerId
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setSynchronizerId(String value) 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;- Parameters:
value- The synchronizerId to set.- Returns:
- This builder for chaining.
-
clearSynchronizerId
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder clearSynchronizerId()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;- Returns:
- This builder for chaining.
-
setSynchronizerIdBytes
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setSynchronizerIdBytes(com.google.protobuf.ByteString value) 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;- 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 Optional: can be empty
repeated string package_id_selection_preference = 9;- Specified by:
getPackageIdSelectionPreferenceListin interfaceInteractiveSubmissionServiceOuterClass.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:
getPackageIdSelectionPreferenceCountin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- The count of packageIdSelectionPreference.
-
getPackageIdSelectionPreference
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:
getPackageIdSelectionPreferencein interfaceInteractiveSubmissionServiceOuterClass.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:
getPackageIdSelectionPreferenceBytesin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the packageIdSelectionPreference at the given index.
-
setPackageIdSelectionPreference
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setPackageIdSelectionPreference(int index, String value) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation Optional: can be empty
repeated string package_id_selection_preference = 9;- Parameters:
index- The index to set the value at.value- The packageIdSelectionPreference to set.- Returns:
- This builder for chaining.
-
addPackageIdSelectionPreference
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addPackageIdSelectionPreference(String value) 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;- Parameters:
value- The packageIdSelectionPreference to add.- Returns:
- This builder for chaining.
-
addAllPackageIdSelectionPreference
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.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 Optional: can be empty
repeated string package_id_selection_preference = 9;- Parameters:
values- The packageIdSelectionPreference to add.- Returns:
- This builder for chaining.
-
clearPackageIdSelectionPreference
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder clearPackageIdSelectionPreference()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;- Returns:
- This builder for chaining.
-
addPackageIdSelectionPreferenceBytes
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addPackageIdSelectionPreferenceBytes(com.google.protobuf.ByteString value) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation Optional: can be empty
repeated string package_id_selection_preference = 9;- Parameters:
value- The bytes of the packageIdSelectionPreference to add.- Returns:
- This builder for chaining.
-
getVerboseHashing
public boolean getVerboseHashing()When true, the response will contain additional details on how the transaction was encoded and hashed This can be useful for troubleshooting of hash mismatches. Should only be used for debugging. Defaults to false Optional
bool verbose_hashing = 10;- Specified by:
getVerboseHashingin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- The verboseHashing.
-
setVerboseHashing
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setVerboseHashing(boolean value) 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;- Parameters:
value- The verboseHashing to set.- Returns:
- This builder for chaining.
-
clearVerboseHashing
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder clearVerboseHashing()When true, the response will contain additional details on how the transaction was encoded and hashed This can be useful for troubleshooting of hash mismatches. Should only be used for debugging. Defaults to false Optional
bool verbose_hashing = 10;- Returns:
- This builder for chaining.
-
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:
getPrefetchContractKeysListin interfaceInteractiveSubmissionServiceOuterClass.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:
getPrefetchContractKeysCountin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
getPrefetchContractKeys
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:
getPrefetchContractKeysin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
setPrefetchContractKeys
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.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: can be empty
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15; -
setPrefetchContractKeys
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.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: can be empty
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15; -
addPrefetchContractKeys
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addPrefetchContractKeys(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: can be empty
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15; -
addPrefetchContractKeys
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.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: can be empty
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15; -
addPrefetchContractKeys
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder addPrefetchContractKeys(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: can be empty
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15; -
addPrefetchContractKeys
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.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: can be empty
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15; -
addAllPrefetchContractKeys
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.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: can be empty
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15; -
clearPrefetchContractKeys
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.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: can be empty
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15; -
removePrefetchContractKeys
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder removePrefetchContractKeys(int index) Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional: can be empty
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15; -
getPrefetchContractKeysBuilder
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; -
getPrefetchContractKeysOrBuilder
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:
getPrefetchContractKeysOrBuilderin interfaceInteractiveSubmissionServiceOuterClass.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:
getPrefetchContractKeysOrBuilderListin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
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: can be empty
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15; -
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: can be empty
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15; -
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: can be empty
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15; -
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:
hasEstimateTrafficCostin interfaceInteractiveSubmissionServiceOuterClass.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:
getEstimateTrafficCostin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- The estimateTrafficCost.
-
setEstimateTrafficCost
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setEstimateTrafficCost(InteractiveSubmissionServiceOuterClass.CostEstimationHints value) 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; -
setEstimateTrafficCost
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setEstimateTrafficCost(InteractiveSubmissionServiceOuterClass.CostEstimationHints.Builder builderForValue) 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; -
mergeEstimateTrafficCost
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder mergeEstimateTrafficCost(InteractiveSubmissionServiceOuterClass.CostEstimationHints value) 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; -
clearEstimateTrafficCost
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder clearEstimateTrafficCost()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; -
getEstimateTrafficCostBuilder
public InteractiveSubmissionServiceOuterClass.CostEstimationHints.Builder getEstimateTrafficCostBuilder()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; -
getEstimateTrafficCostOrBuilder
public InteractiveSubmissionServiceOuterClass.CostEstimationHintsOrBuilder 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:
getEstimateTrafficCostOrBuilderin interfaceInteractiveSubmissionServiceOuterClass.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:
hasHashingSchemeVersionin interfaceInteractiveSubmissionServiceOuterClass.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:
getHashingSchemeVersionValuein interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- The enum numeric value on the wire for hashingSchemeVersion.
-
setHashingSchemeVersionValue
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setHashingSchemeVersionValue(int value) 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;- Parameters:
value- The enum numeric value on the wire for hashingSchemeVersion to set.- Returns:
- This builder for chaining.
-
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:
getHashingSchemeVersionin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- The hashingSchemeVersion.
-
setHashingSchemeVersion
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setHashingSchemeVersion(InteractiveSubmissionServiceOuterClass.HashingSchemeVersion value) 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;- Parameters:
value- The hashingSchemeVersion to set.- Returns:
- This builder for chaining.
-
clearHashingSchemeVersion
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder clearHashingSchemeVersion()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;- Returns:
- This builder for chaining.
-
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:
hasTapsMaxPassesin interfaceInteractiveSubmissionServiceOuterClass.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:
getTapsMaxPassesin interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder- Returns:
- The tapsMaxPasses.
-
setTapsMaxPasses
public InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setTapsMaxPasses(int value) 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;- Parameters:
value- The tapsMaxPasses to set.- Returns:
- This builder for chaining.
-
clearTapsMaxPasses
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
-
mergeUnknownFields
public final InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder>
-