Class InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.daml.ledger.api.v2.interactive.InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest
- All Implemented Interfaces:
InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- InteractiveSubmissionServiceOuterClass
public static final class InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest
extends com.google.protobuf.GeneratedMessageV3
implements InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
Protobuf type
com.daml.ledger.api.v2.interactive.PrepareSubmissionRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Protobuf typecom.daml.ledger.api.v2.interactive.PrepareSubmissionRequest
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getActAs
(int index) Set of parties on whose behalf the command should be executed, if submitted.com.google.protobuf.ByteString
getActAsBytes
(int index) Set of parties on whose behalf the command should be executed, if submitted.int
Set of parties on whose behalf the command should be executed, if submitted.com.google.protobuf.ProtocolStringList
Set of parties on whose behalf the command should be executed, if submitted.Uniquely identifies the command.com.google.protobuf.ByteString
Uniquely identifies the command.getCommands
(int index) Individual elements of this atomic command.int
Individual 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.Descriptor
getDisclosedContracts
(int index) Additional contracts used to resolve contract & contract key lookups.int
Additional 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.OptionalOptionalgetPackageIdSelectionPreference
(int index) The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationcom.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 interpretationint
The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationcom.google.protobuf.ProtocolStringList
The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretationcom.google.protobuf.Parser<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest>
getPrefetchContractKeys
(int index) Fetches the contract keys into the caches to speed up the command processing.int
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.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.ByteString
getReadAsBytes
(int index) Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.int
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.com.google.protobuf.ProtocolStringList
Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved.int
Must be a valid synchronizer id Requiredcom.google.protobuf.ByteString
Must be a valid synchronizer id RequiredUniquely identifies the participant user that prepares the transaction.com.google.protobuf.ByteString
Uniquely identifies the participant user that prepares the transaction.boolean
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.int
hashCode()
boolean
Optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER- See Also:
-
COMMAND_ID_FIELD_NUMBER
public static final int COMMAND_ID_FIELD_NUMBER- See Also:
-
COMMANDS_FIELD_NUMBER
public static final int COMMANDS_FIELD_NUMBER- See Also:
-
MIN_LEDGER_TIME_FIELD_NUMBER
public static final int MIN_LEDGER_TIME_FIELD_NUMBER- See Also:
-
ACT_AS_FIELD_NUMBER
public static final int ACT_AS_FIELD_NUMBER- See Also:
-
READ_AS_FIELD_NUMBER
public static final int READ_AS_FIELD_NUMBER- See Also:
-
DISCLOSED_CONTRACTS_FIELD_NUMBER
public static final int DISCLOSED_CONTRACTS_FIELD_NUMBER- See Also:
-
SYNCHRONIZER_ID_FIELD_NUMBER
public static final int SYNCHRONIZER_ID_FIELD_NUMBER- See Also:
-
PACKAGE_ID_SELECTION_PREFERENCE_FIELD_NUMBER
public static final int PACKAGE_ID_SELECTION_PREFERENCE_FIELD_NUMBER- See Also:
-
VERBOSE_HASHING_FIELD_NUMBER
public static final int VERBOSE_HASHING_FIELD_NUMBER- See Also:
-
PREFETCH_CONTRACT_KEYS_FIELD_NUMBER
public static final int PREFETCH_CONTRACT_KEYS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getUserId
Uniquely identifies the participant user that prepares the transaction. Must be a valid UserIdString (as described in ``value.proto``). Required unless authentication is used with a user token. In that case, the token's user-id will be used for the request's user_id.
string user_id = 1 [json_name = "userId"];
- Specified by:
getUserId
in 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.
string user_id = 1 [json_name = "userId"];
- Specified by:
getUserIdBytes
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
- Returns:
- The bytes for userId.
-
getCommandId
Uniquely identifies the command. The triple (user_id, act_as, command_id) constitutes the change ID for the intended ledger change, where act_as is interpreted as a set of party names. The change ID can be used for matching the intended ledger changes with all their completions. Must be a valid LedgerString (as described in ``value.proto``). Required
string command_id = 2 [json_name = "commandId"];
- Specified by:
getCommandId
in 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 [json_name = "commandId"];
- Specified by:
getCommandIdBytes
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
- Returns:
- The bytes for commandId.
-
getCommandsList
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
- Specified by:
getCommandsList
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
getCommandsOrBuilderList
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
- Specified by:
getCommandsOrBuilderList
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
getCommandsCount
public int getCommandsCount()Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
- Specified by:
getCommandsCount
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
getCommands
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
- Specified by:
getCommands
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
getCommandsOrBuilder
Individual elements of this atomic command. Must be non-empty. Required
repeated .com.daml.ledger.api.v2.Command commands = 3 [json_name = "commands"];
- Specified by:
getCommandsOrBuilder
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
hasMinLedgerTime
public boolean hasMinLedgerTime()Optional
.com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4 [json_name = "minLedgerTime"];
- Specified by:
hasMinLedgerTime
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
- Returns:
- Whether the minLedgerTime field is set.
-
getMinLedgerTime
Optional
.com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4 [json_name = "minLedgerTime"];
- Specified by:
getMinLedgerTime
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
- Returns:
- The minLedgerTime.
-
getMinLedgerTimeOrBuilder
Optional
.com.daml.ledger.api.v2.interactive.MinLedgerTime min_ledger_time = 4 [json_name = "minLedgerTime"];
- Specified by:
getMinLedgerTimeOrBuilder
in 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 [json_name = "actAs"];
- Specified by:
getActAsList
in 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 [json_name = "actAs"];
- Specified by:
getActAsCount
in 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 [json_name = "actAs"];
- Specified by:
getActAs
in 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 [json_name = "actAs"];
- Specified by:
getActAsBytes
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the actAs at the given index.
-
getReadAsList
public com.google.protobuf.ProtocolStringList getReadAsList()Set of parties on whose behalf (in addition to all parties listed in ``act_as``) contracts can be retrieved. This affects Daml operations such as ``fetch``, ``fetchByKey``, ``lookupByKey``, ``exercise``, and ``exerciseByKey``. Note: A command can only use contracts that are visible to at least one of the parties in ``act_as`` or ``read_as``. This visibility check is independent from the Daml authorization rules for fetch operations. If ledger API authorization is enabled, then the authorization metadata must authorize the sender of the request to read contract data on behalf of each of the given parties. Optional
repeated string read_as = 6 [json_name = "readAs"];
- Specified by:
getReadAsList
in 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
repeated string read_as = 6 [json_name = "readAs"];
- Specified by:
getReadAsCount
in 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
repeated string read_as = 6 [json_name = "readAs"];
- Specified by:
getReadAs
in 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
repeated string read_as = 6 [json_name = "readAs"];
- Specified by:
getReadAsBytes
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the readAs at the given index.
-
getDisclosedContractsList
Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
- Specified by:
getDisclosedContractsList
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
getDisclosedContractsOrBuilderList
public List<? extends CommandsOuterClass.DisclosedContractOrBuilder> getDisclosedContractsOrBuilderList()Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
- Specified by:
getDisclosedContractsOrBuilderList
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
getDisclosedContractsCount
public int getDisclosedContractsCount()Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
- Specified by:
getDisclosedContractsCount
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
getDisclosedContracts
Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
- Specified by:
getDisclosedContracts
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
getDisclosedContractsOrBuilder
Additional contracts used to resolve contract & contract key lookups. Optional
repeated .com.daml.ledger.api.v2.DisclosedContract disclosed_contracts = 7 [json_name = "disclosedContracts"];
- Specified by:
getDisclosedContractsOrBuilder
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
getSynchronizerId
Must be a valid synchronizer id Required
string synchronizer_id = 8 [json_name = "synchronizerId"];
- Specified by:
getSynchronizerId
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
- Returns:
- The synchronizerId.
-
getSynchronizerIdBytes
public com.google.protobuf.ByteString getSynchronizerIdBytes()Must be a valid synchronizer id Required
string synchronizer_id = 8 [json_name = "synchronizerId"];
- Specified by:
getSynchronizerIdBytes
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
- Returns:
- The bytes for synchronizerId.
-
getPackageIdSelectionPreferenceList
public com.google.protobuf.ProtocolStringList getPackageIdSelectionPreferenceList()The package-id selection preference of the client for resolving package names and interface instances in command submission and interpretation
repeated string package_id_selection_preference = 9 [json_name = "packageIdSelectionPreference"];
- Specified by:
getPackageIdSelectionPreferenceList
in 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
repeated string package_id_selection_preference = 9 [json_name = "packageIdSelectionPreference"];
- Specified by:
getPackageIdSelectionPreferenceCount
in 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
repeated string package_id_selection_preference = 9 [json_name = "packageIdSelectionPreference"];
- Specified by:
getPackageIdSelectionPreference
in 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
repeated string package_id_selection_preference = 9 [json_name = "packageIdSelectionPreference"];
- Specified by:
getPackageIdSelectionPreferenceBytes
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the packageIdSelectionPreference at the given index.
-
getVerboseHashing
public boolean getVerboseHashing()When true, the response will contain additional details on how the transaction was encoded and hashed This can be useful for troubleshooting of hash mismatches. Should only be used for debugging.
bool verbose_hashing = 10 [json_name = "verboseHashing"];
- Specified by:
getVerboseHashing
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
- Returns:
- The verboseHashing.
-
getPrefetchContractKeysList
Fetches the contract keys into the caches to speed up the command processing. Should only contain contract keys that are expected to be resolved during interpretation of the commands. Keys of disclosed contracts do not need prefetching. Optional
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
- Specified by:
getPrefetchContractKeysList
in 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
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
- Specified by:
getPrefetchContractKeysOrBuilderList
in 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
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
- Specified by:
getPrefetchContractKeysCount
in 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
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
- Specified by:
getPrefetchContractKeys
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
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
repeated .com.daml.ledger.api.v2.PrefetchContractKey prefetch_contract_keys = 15 [json_name = "prefetchContractKeys"];
- Specified by:
getPrefetchContractKeysOrBuilder
in interfaceInteractiveSubmissionServiceOuterClass.PrepareSubmissionRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder newBuilder(InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
public static com.google.protobuf.Parser<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest> parser() -
getParserForType
public com.google.protobuf.Parser<InteractiveSubmissionServiceOuterClass.PrepareSubmissionRequest> getParserForType()- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-