public static final class CommandsOuterClass.ExerciseByKeyCommand.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder> implements CommandsOuterClass.ExerciseByKeyCommandOrBuilder
Exercise a choice on an existing contract specified by its key.Protobuf type
com.daml.ledger.api.v1.ExerciseByKeyCommand
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.ExerciseByKeyCommand.Builder>
public CommandsOuterClass.ExerciseByKeyCommand.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.ExerciseByKeyCommand.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.ExerciseByKeyCommand.Builder>
public CommandsOuterClass.ExerciseByKeyCommand getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CommandsOuterClass.ExerciseByKeyCommand build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CommandsOuterClass.ExerciseByKeyCommand buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CommandsOuterClass.ExerciseByKeyCommand.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.ExerciseByKeyCommand.Builder>
public CommandsOuterClass.ExerciseByKeyCommand.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.ExerciseByKeyCommand.Builder>
public CommandsOuterClass.ExerciseByKeyCommand.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.ExerciseByKeyCommand.Builder>
public CommandsOuterClass.ExerciseByKeyCommand.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.ExerciseByKeyCommand.Builder>
public CommandsOuterClass.ExerciseByKeyCommand.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.ExerciseByKeyCommand.Builder>
public CommandsOuterClass.ExerciseByKeyCommand.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.ExerciseByKeyCommand.Builder>
public CommandsOuterClass.ExerciseByKeyCommand.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
public CommandsOuterClass.ExerciseByKeyCommand.Builder mergeFrom(CommandsOuterClass.ExerciseByKeyCommand other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
public CommandsOuterClass.ExerciseByKeyCommand.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.ExerciseByKeyCommand.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.ExerciseByKeyCommandOrBuilder
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.ExerciseByKeyCommandOrBuilder
public CommandsOuterClass.ExerciseByKeyCommand.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.ExerciseByKeyCommand.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.ExerciseByKeyCommand.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.ExerciseByKeyCommand.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.ExerciseByKeyCommandOrBuilder
public boolean hasContractKey()
The key of the contract the client wants to exercise upon. Required
.com.daml.ledger.api.v1.Value contract_key = 2[json_name = "contractKey"];
hasContractKey
in interface CommandsOuterClass.ExerciseByKeyCommandOrBuilder
public ValueOuterClass.Value getContractKey()
The key of the contract the client wants to exercise upon. Required
.com.daml.ledger.api.v1.Value contract_key = 2[json_name = "contractKey"];
getContractKey
in interface CommandsOuterClass.ExerciseByKeyCommandOrBuilder
public CommandsOuterClass.ExerciseByKeyCommand.Builder setContractKey(ValueOuterClass.Value value)
The key of the contract the client wants to exercise upon. Required
.com.daml.ledger.api.v1.Value contract_key = 2[json_name = "contractKey"];
public CommandsOuterClass.ExerciseByKeyCommand.Builder setContractKey(ValueOuterClass.Value.Builder builderForValue)
The key of the contract the client wants to exercise upon. Required
.com.daml.ledger.api.v1.Value contract_key = 2[json_name = "contractKey"];
public CommandsOuterClass.ExerciseByKeyCommand.Builder mergeContractKey(ValueOuterClass.Value value)
The key of the contract the client wants to exercise upon. Required
.com.daml.ledger.api.v1.Value contract_key = 2[json_name = "contractKey"];
public CommandsOuterClass.ExerciseByKeyCommand.Builder clearContractKey()
The key of the contract the client wants to exercise upon. Required
.com.daml.ledger.api.v1.Value contract_key = 2[json_name = "contractKey"];
public ValueOuterClass.Value.Builder getContractKeyBuilder()
The key of the contract the client wants to exercise upon. Required
.com.daml.ledger.api.v1.Value contract_key = 2[json_name = "contractKey"];
public ValueOuterClass.ValueOrBuilder getContractKeyOrBuilder()
The key of the contract the client wants to exercise upon. Required
.com.daml.ledger.api.v1.Value contract_key = 2[json_name = "contractKey"];
getContractKeyOrBuilder
in interface CommandsOuterClass.ExerciseByKeyCommandOrBuilder
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.ExerciseByKeyCommandOrBuilder
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.ExerciseByKeyCommandOrBuilder
public CommandsOuterClass.ExerciseByKeyCommand.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.ExerciseByKeyCommand.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.ExerciseByKeyCommand.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.ExerciseByKeyCommandOrBuilder
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.ExerciseByKeyCommandOrBuilder
public CommandsOuterClass.ExerciseByKeyCommand.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.ExerciseByKeyCommand.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.ExerciseByKeyCommand.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.ExerciseByKeyCommand.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.ExerciseByKeyCommandOrBuilder
public final CommandsOuterClass.ExerciseByKeyCommand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
public final CommandsOuterClass.ExerciseByKeyCommand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>