public static final class CommandsOuterClass.CreateAndExerciseCommand.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder> implements CommandsOuterClass.CreateAndExerciseCommandOrBuilder
Create a contract and exercise a choice on it in the same transaction.Protobuf type
com.daml.ledger.api.v1.CreateAndExerciseCommandgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>public CommandsOuterClass.CreateAndExerciseCommand.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>public CommandsOuterClass.CreateAndExerciseCommand getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CommandsOuterClass.CreateAndExerciseCommand build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CommandsOuterClass.CreateAndExerciseCommand buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CommandsOuterClass.CreateAndExerciseCommand.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>public CommandsOuterClass.CreateAndExerciseCommand.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>public CommandsOuterClass.CreateAndExerciseCommand.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>public CommandsOuterClass.CreateAndExerciseCommand.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>public CommandsOuterClass.CreateAndExerciseCommand.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>public CommandsOuterClass.CreateAndExerciseCommand.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>public CommandsOuterClass.CreateAndExerciseCommand.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>public CommandsOuterClass.CreateAndExerciseCommand.Builder mergeFrom(CommandsOuterClass.CreateAndExerciseCommand other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>public CommandsOuterClass.CreateAndExerciseCommand.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>java.io.IOExceptionpublic boolean hasTemplateId()
The template of the contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];hasTemplateId in interface CommandsOuterClass.CreateAndExerciseCommandOrBuilderpublic ValueOuterClass.Identifier getTemplateId()
The template of the contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];getTemplateId in interface CommandsOuterClass.CreateAndExerciseCommandOrBuilderpublic CommandsOuterClass.CreateAndExerciseCommand.Builder setTemplateId(ValueOuterClass.Identifier value)
The template of the contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];public CommandsOuterClass.CreateAndExerciseCommand.Builder setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template of the contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];public CommandsOuterClass.CreateAndExerciseCommand.Builder mergeTemplateId(ValueOuterClass.Identifier value)
The template of the contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];public CommandsOuterClass.CreateAndExerciseCommand.Builder clearTemplateId()
The template of the contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];public ValueOuterClass.Identifier.Builder getTemplateIdBuilder()
The template of the contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];public ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template of the contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];getTemplateIdOrBuilder in interface CommandsOuterClass.CreateAndExerciseCommandOrBuilderpublic boolean hasCreateArguments()
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];hasCreateArguments in interface CommandsOuterClass.CreateAndExerciseCommandOrBuilderpublic ValueOuterClass.Record getCreateArguments()
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];getCreateArguments in interface CommandsOuterClass.CreateAndExerciseCommandOrBuilderpublic CommandsOuterClass.CreateAndExerciseCommand.Builder setCreateArguments(ValueOuterClass.Record value)
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];public CommandsOuterClass.CreateAndExerciseCommand.Builder setCreateArguments(ValueOuterClass.Record.Builder builderForValue)
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];public CommandsOuterClass.CreateAndExerciseCommand.Builder mergeCreateArguments(ValueOuterClass.Record value)
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];public CommandsOuterClass.CreateAndExerciseCommand.Builder clearCreateArguments()
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];public ValueOuterClass.Record.Builder getCreateArgumentsBuilder()
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];public ValueOuterClass.RecordOrBuilder getCreateArgumentsOrBuilder()
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];getCreateArgumentsOrBuilder in interface CommandsOuterClass.CreateAndExerciseCommandOrBuilderpublic java.lang.String getChoice()
The name of the choice the client wants to exercise. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 3 [json_name = "choice"];getChoice in interface CommandsOuterClass.CreateAndExerciseCommandOrBuilderpublic com.google.protobuf.ByteString getChoiceBytes()
The name of the choice the client wants to exercise. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 3 [json_name = "choice"];getChoiceBytes in interface CommandsOuterClass.CreateAndExerciseCommandOrBuilderpublic CommandsOuterClass.CreateAndExerciseCommand.Builder setChoice(java.lang.String value)
The name of the choice the client wants to exercise. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 3 [json_name = "choice"];value - The choice to set.public CommandsOuterClass.CreateAndExerciseCommand.Builder clearChoice()
The name of the choice the client wants to exercise. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 3 [json_name = "choice"];public CommandsOuterClass.CreateAndExerciseCommand.Builder setChoiceBytes(com.google.protobuf.ByteString value)
The name of the choice the client wants to exercise. Must be a valid NameString (as described in ``value.proto``). Required
string choice = 3 [json_name = "choice"];value - The bytes for choice to set.public boolean hasChoiceArgument()
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"];hasChoiceArgument in interface CommandsOuterClass.CreateAndExerciseCommandOrBuilderpublic ValueOuterClass.Value getChoiceArgument()
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"];getChoiceArgument in interface CommandsOuterClass.CreateAndExerciseCommandOrBuilderpublic CommandsOuterClass.CreateAndExerciseCommand.Builder setChoiceArgument(ValueOuterClass.Value value)
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"];public CommandsOuterClass.CreateAndExerciseCommand.Builder setChoiceArgument(ValueOuterClass.Value.Builder builderForValue)
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"];public CommandsOuterClass.CreateAndExerciseCommand.Builder mergeChoiceArgument(ValueOuterClass.Value value)
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"];public CommandsOuterClass.CreateAndExerciseCommand.Builder clearChoiceArgument()
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"];public ValueOuterClass.Value.Builder getChoiceArgumentBuilder()
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"];public ValueOuterClass.ValueOrBuilder getChoiceArgumentOrBuilder()
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"];getChoiceArgumentOrBuilder in interface CommandsOuterClass.CreateAndExerciseCommandOrBuilderpublic final CommandsOuterClass.CreateAndExerciseCommand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>public final CommandsOuterClass.CreateAndExerciseCommand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>