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, 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.ExerciseCommand.Builder>
public CommandsOuterClass.ExerciseCommand.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.ExerciseCommand.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.ExerciseCommand.Builder>
public CommandsOuterClass.ExerciseCommand getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CommandsOuterClass.ExerciseCommand build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CommandsOuterClass.ExerciseCommand buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CommandsOuterClass.ExerciseCommand.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.ExerciseCommand.Builder>
public CommandsOuterClass.ExerciseCommand.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.ExerciseCommand.Builder>
public CommandsOuterClass.ExerciseCommand.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.ExerciseCommand.Builder>
public CommandsOuterClass.ExerciseCommand.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.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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.ExerciseCommand.Builder>
java.io.IOException
public 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.ExerciseCommandOrBuilder
public 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.ExerciseCommandOrBuilder
public 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.ExerciseCommandOrBuilder
public 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.ExerciseCommandOrBuilder
public 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.ExerciseCommandOrBuilder
public 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"];
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"];
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.ExerciseCommandOrBuilder
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.ExerciseCommandOrBuilder
public 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"];
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"];
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.ExerciseCommandOrBuilder
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.ExerciseCommandOrBuilder
public 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.ExerciseCommandOrBuilder
public final CommandsOuterClass.ExerciseCommand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseCommand.Builder>