Package com.daml.ledger.api.v2
Class CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
com.daml.ledger.api.v2.CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder
- All Implemented Interfaces:
CommandServiceOuterClass.SubmitAndWaitForTransactionRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- CommandServiceOuterClass.SubmitAndWaitForTransactionRequest
public static final class CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
implements CommandServiceOuterClass.SubmitAndWaitForTransactionRequestOrBuilder
These commands are executed as a single atomic transaction.Protobuf type
com.daml.ledger.api.v2.SubmitAndWaitForTransactionRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The commands to be submitted.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set.clone()
The commands to be submitted.The commands to be submitted.The commands to be submitted.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set.If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set.If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set.boolean
The commands to be submitted.boolean
If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
The commands to be submitted.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) The commands to be submitted.setCommands
(CommandsOuterClass.Commands.Builder builderForValue) The commands to be submitted.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set.If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) 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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
-
setField
public CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
-
clearField
public CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
-
clearOneof
public CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
-
setRepeatedField
public CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
-
addRepeatedField
public CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
-
mergeFrom
public CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
-
mergeFrom
public CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
- Throws:
IOException
-
hasCommands
public boolean hasCommands()The commands to be submitted. Required
.com.daml.ledger.api.v2.Commands commands = 1 [json_name = "commands"];
- Specified by:
hasCommands
in interfaceCommandServiceOuterClass.SubmitAndWaitForTransactionRequestOrBuilder
- Returns:
- Whether the commands field is set.
-
getCommands
The commands to be submitted. Required
.com.daml.ledger.api.v2.Commands commands = 1 [json_name = "commands"];
- Specified by:
getCommands
in interfaceCommandServiceOuterClass.SubmitAndWaitForTransactionRequestOrBuilder
- Returns:
- The commands.
-
setCommands
public CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder setCommands(CommandsOuterClass.Commands value) The commands to be submitted. Required
.com.daml.ledger.api.v2.Commands commands = 1 [json_name = "commands"];
-
setCommands
public CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder setCommands(CommandsOuterClass.Commands.Builder builderForValue) The commands to be submitted. Required
.com.daml.ledger.api.v2.Commands commands = 1 [json_name = "commands"];
-
mergeCommands
public CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder mergeCommands(CommandsOuterClass.Commands value) The commands to be submitted. Required
.com.daml.ledger.api.v2.Commands commands = 1 [json_name = "commands"];
-
clearCommands
The commands to be submitted. Required
.com.daml.ledger.api.v2.Commands commands = 1 [json_name = "commands"];
-
getCommandsBuilder
The commands to be submitted. Required
.com.daml.ledger.api.v2.Commands commands = 1 [json_name = "commands"];
-
getCommandsOrBuilder
The commands to be submitted. Required
.com.daml.ledger.api.v2.Commands commands = 1 [json_name = "commands"];
- Specified by:
getCommandsOrBuilder
in interfaceCommandServiceOuterClass.SubmitAndWaitForTransactionRequestOrBuilder
-
hasTransactionFormat
public boolean hasTransactionFormat()If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set. Optional
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 2 [json_name = "transactionFormat"];
- Specified by:
hasTransactionFormat
in interfaceCommandServiceOuterClass.SubmitAndWaitForTransactionRequestOrBuilder
- Returns:
- Whether the transactionFormat field is set.
-
getTransactionFormat
If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set. Optional
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 2 [json_name = "transactionFormat"];
- Specified by:
getTransactionFormat
in interfaceCommandServiceOuterClass.SubmitAndWaitForTransactionRequestOrBuilder
- Returns:
- The transactionFormat.
-
setTransactionFormat
public CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder setTransactionFormat(TransactionFilterOuterClass.TransactionFormat value) If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set. Optional
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 2 [json_name = "transactionFormat"];
-
setTransactionFormat
public CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder setTransactionFormat(TransactionFilterOuterClass.TransactionFormat.Builder builderForValue) If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set. Optional
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 2 [json_name = "transactionFormat"];
-
mergeTransactionFormat
public CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder mergeTransactionFormat(TransactionFilterOuterClass.TransactionFormat value) If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set. Optional
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 2 [json_name = "transactionFormat"];
-
clearTransactionFormat
If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set. Optional
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 2 [json_name = "transactionFormat"];
-
getTransactionFormatBuilder
If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set. Optional
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 2 [json_name = "transactionFormat"];
-
getTransactionFormatOrBuilder
If no ``transaction_format`` is provided, a default will be used where ``transaction_shape`` is set to TRANSACTION_SHAPE_ACS_DELTA, ``event_format`` is defined with ``filters_by_party`` containing wildcard-template filter for all original ``act_as`` and ``read_as`` parties and the ``verbose`` flag is set. Optional
.com.daml.ledger.api.v2.TransactionFormat transaction_format = 2 [json_name = "transactionFormat"];
- Specified by:
getTransactionFormatOrBuilder
in interfaceCommandServiceOuterClass.SubmitAndWaitForTransactionRequestOrBuilder
-
setUnknownFields
public final CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
-
mergeUnknownFields
public final CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest.Builder>
-