public static final class CommandsOuterClass.ExerciseCommand.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseCommand.Builder> implements CommandsOuterClass.ExerciseCommandOrBuilder
Exercise a choice on an existing contract.Protobuf type
com.daml.ledger.api.v1.ExerciseCommand| Modifier and Type | Method and Description |
|---|---|
CommandsOuterClass.ExerciseCommand.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CommandsOuterClass.ExerciseCommand |
build() |
CommandsOuterClass.ExerciseCommand |
buildPartial() |
CommandsOuterClass.ExerciseCommand.Builder |
clear() |
CommandsOuterClass.ExerciseCommand.Builder |
clearChoice()
The name of the choice the client wants to exercise.
|
CommandsOuterClass.ExerciseCommand.Builder |
clearChoiceArgument()
The argument for this choice.
|
CommandsOuterClass.ExerciseCommand.Builder |
clearContractId()
The ID of the contract the client wants to exercise upon.
|
CommandsOuterClass.ExerciseCommand.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CommandsOuterClass.ExerciseCommand.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CommandsOuterClass.ExerciseCommand.Builder |
clearTemplateId()
The template of contract the client wants to exercise.
|
CommandsOuterClass.ExerciseCommand.Builder |
clone() |
java.lang.String |
getChoice()
The name of the choice the client wants to exercise.
|
ValueOuterClass.Value |
getChoiceArgument()
The argument for this choice.
|
ValueOuterClass.Value.Builder |
getChoiceArgumentBuilder()
The argument for this choice.
|
ValueOuterClass.ValueOrBuilder |
getChoiceArgumentOrBuilder()
The argument for this choice.
|
com.google.protobuf.ByteString |
getChoiceBytes()
The name of the choice the client wants to exercise.
|
java.lang.String |
getContractId()
The ID of the contract the client wants to exercise upon.
|
com.google.protobuf.ByteString |
getContractIdBytes()
The ID of the contract the client wants to exercise upon.
|
CommandsOuterClass.ExerciseCommand |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ValueOuterClass.Identifier |
getTemplateId()
The template of contract the client wants to exercise.
|
ValueOuterClass.Identifier.Builder |
getTemplateIdBuilder()
The template of contract the client wants to exercise.
|
ValueOuterClass.IdentifierOrBuilder |
getTemplateIdOrBuilder()
The template of contract the client wants to exercise.
|
boolean |
hasChoiceArgument()
The argument for this choice.
|
boolean |
hasTemplateId()
The template of contract the client wants to exercise.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CommandsOuterClass.ExerciseCommand.Builder |
mergeChoiceArgument(ValueOuterClass.Value value)
The argument for this choice.
|
CommandsOuterClass.ExerciseCommand.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommandsOuterClass.ExerciseCommand.Builder |
mergeFrom(CommandsOuterClass.ExerciseCommand other) |
CommandsOuterClass.ExerciseCommand.Builder |
mergeFrom(com.google.protobuf.Message other) |
CommandsOuterClass.ExerciseCommand.Builder |
mergeTemplateId(ValueOuterClass.Identifier value)
The template of contract the client wants to exercise.
|
CommandsOuterClass.ExerciseCommand.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommandsOuterClass.ExerciseCommand.Builder |
setChoice(java.lang.String value)
The name of the choice the client wants to exercise.
|
CommandsOuterClass.ExerciseCommand.Builder |
setChoiceArgument(ValueOuterClass.Value.Builder builderForValue)
The argument for this choice.
|
CommandsOuterClass.ExerciseCommand.Builder |
setChoiceArgument(ValueOuterClass.Value value)
The argument for this choice.
|
CommandsOuterClass.ExerciseCommand.Builder |
setChoiceBytes(com.google.protobuf.ByteString value)
The name of the choice the client wants to exercise.
|
CommandsOuterClass.ExerciseCommand.Builder |
setContractId(java.lang.String value)
The ID of the contract the client wants to exercise upon.
|
CommandsOuterClass.ExerciseCommand.Builder |
setContractIdBytes(com.google.protobuf.ByteString value)
The ID of the contract the client wants to exercise upon.
|
CommandsOuterClass.ExerciseCommand.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CommandsOuterClass.ExerciseCommand.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CommandsOuterClass.ExerciseCommand.Builder |
setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template of contract the client wants to exercise.
|
CommandsOuterClass.ExerciseCommand.Builder |
setTemplateId(ValueOuterClass.Identifier value)
The template of contract the client wants to exercise.
|
CommandsOuterClass.ExerciseCommand.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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.ExerciseCommand.Builder>public CommandsOuterClass.ExerciseCommand.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.ExerciseCommand.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.ExerciseCommand.Builder>public CommandsOuterClass.ExerciseCommand getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CommandsOuterClass.ExerciseCommand build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CommandsOuterClass.ExerciseCommand buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CommandsOuterClass.ExerciseCommand.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.ExerciseCommand.Builder>public CommandsOuterClass.ExerciseCommand.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.ExerciseCommand.Builder>public CommandsOuterClass.ExerciseCommand.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseCommand.Builder>public CommandsOuterClass.ExerciseCommand.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseCommand.Builder>public CommandsOuterClass.ExerciseCommand.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.ExerciseCommand.Builder>public CommandsOuterClass.ExerciseCommand.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.ExerciseCommand.Builder>public CommandsOuterClass.ExerciseCommand.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.ExerciseCommand.Builder>public CommandsOuterClass.ExerciseCommand.Builder mergeFrom(CommandsOuterClass.ExerciseCommand other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseCommand.Builder>public CommandsOuterClass.ExerciseCommand.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.ExerciseCommand.Builder>java.io.IOExceptionpublic boolean hasTemplateId()
The template of contract the client wants to exercise. Required
.com.daml.ledger.api.v1.Identifier template_id = 1[json_name = "templateId"];hasTemplateId in interface CommandsOuterClass.ExerciseCommandOrBuilderpublic ValueOuterClass.Identifier getTemplateId()
The template of contract the client wants to exercise. Required
.com.daml.ledger.api.v1.Identifier template_id = 1[json_name = "templateId"];getTemplateId in interface CommandsOuterClass.ExerciseCommandOrBuilderpublic CommandsOuterClass.ExerciseCommand.Builder setTemplateId(ValueOuterClass.Identifier value)
The template of contract the client wants to exercise. Required
.com.daml.ledger.api.v1.Identifier template_id = 1[json_name = "templateId"];public CommandsOuterClass.ExerciseCommand.Builder setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template of contract the client wants to exercise. Required
.com.daml.ledger.api.v1.Identifier template_id = 1[json_name = "templateId"];public CommandsOuterClass.ExerciseCommand.Builder mergeTemplateId(ValueOuterClass.Identifier value)
The template of contract the client wants to exercise. Required
.com.daml.ledger.api.v1.Identifier template_id = 1[json_name = "templateId"];public CommandsOuterClass.ExerciseCommand.Builder clearTemplateId()
The template of contract the client wants to exercise. Required
.com.daml.ledger.api.v1.Identifier template_id = 1[json_name = "templateId"];public ValueOuterClass.Identifier.Builder getTemplateIdBuilder()
The template of contract the client wants to exercise. Required
.com.daml.ledger.api.v1.Identifier template_id = 1[json_name = "templateId"];public ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template of contract the client wants to exercise. Required
.com.daml.ledger.api.v1.Identifier template_id = 1[json_name = "templateId"];getTemplateIdOrBuilder in interface CommandsOuterClass.ExerciseCommandOrBuilderpublic java.lang.String getContractId()
The ID of the contract the client wants to exercise upon. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2[json_name = "contractId"];getContractId in interface CommandsOuterClass.ExerciseCommandOrBuilderpublic com.google.protobuf.ByteString getContractIdBytes()
The ID of the contract the client wants to exercise upon. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2[json_name = "contractId"];getContractIdBytes in interface CommandsOuterClass.ExerciseCommandOrBuilderpublic CommandsOuterClass.ExerciseCommand.Builder setContractId(java.lang.String value)
The ID of the contract the client wants to exercise upon. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2[json_name = "contractId"];value - The contractId to set.public CommandsOuterClass.ExerciseCommand.Builder clearContractId()
The ID of the contract the client wants to exercise upon. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2[json_name = "contractId"];public CommandsOuterClass.ExerciseCommand.Builder setContractIdBytes(com.google.protobuf.ByteString value)
The ID of the contract the client wants to exercise upon. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2[json_name = "contractId"];value - The bytes for contractId to set.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.ExerciseCommandOrBuilderpublic 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.ExerciseCommandOrBuilderpublic CommandsOuterClass.ExerciseCommand.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.ExerciseCommand.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.ExerciseCommand.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.ExerciseCommandOrBuilderpublic 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.ExerciseCommandOrBuilderpublic CommandsOuterClass.ExerciseCommand.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.ExerciseCommand.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.ExerciseCommand.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.ExerciseCommand.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.ExerciseCommandOrBuilderpublic final CommandsOuterClass.ExerciseCommand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseCommand.Builder>public final CommandsOuterClass.ExerciseCommand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseCommand.Builder>