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.CreateAndExerciseCommand
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>
public CommandsOuterClass.CreateAndExerciseCommand getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CommandsOuterClass.CreateAndExerciseCommand build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CommandsOuterClass.CreateAndExerciseCommand buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CommandsOuterClass.CreateAndExerciseCommand.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>
java.io.IOException
public 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.CreateAndExerciseCommandOrBuilder
public 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.CreateAndExerciseCommandOrBuilder
public 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.CreateAndExerciseCommandOrBuilder
public 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.CreateAndExerciseCommandOrBuilder
public 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.CreateAndExerciseCommandOrBuilder
public 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.CreateAndExerciseCommandOrBuilder
public 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.CreateAndExerciseCommandOrBuilder
public 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.CreateAndExerciseCommandOrBuilder
public 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.CreateAndExerciseCommandOrBuilder
public 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.CreateAndExerciseCommandOrBuilder
public 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.CreateAndExerciseCommandOrBuilder
public final CommandsOuterClass.CreateAndExerciseCommand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateAndExerciseCommand.Builder>