Package com.daml.ledger.api.v1
Class CommandsOuterClass.ExerciseByKeyCommand.Builder
- java.lang.Object
 - 
- com.google.protobuf.AbstractMessageLite.Builder
 - 
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
 - 
- com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 - 
- com.daml.ledger.api.v1.CommandsOuterClass.ExerciseByKeyCommand.Builder
 
 
 
 
 
- 
- All Implemented Interfaces:
 CommandsOuterClass.ExerciseByKeyCommandOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
 - CommandsOuterClass.ExerciseByKeyCommand
 
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 typecom.daml.ledger.api.v1.ExerciseByKeyCommand 
- 
- 
Method Summary
- 
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3 
- 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString 
- 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
 
- 
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
 internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 
- 
clear
public CommandsOuterClass.ExerciseByKeyCommand.Builder clear()
- Specified by:
 clearin interfacecom.google.protobuf.Message.Builder- Specified by:
 clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
 clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 
- 
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
 getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
 getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
 getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 
- 
getDefaultInstanceForType
public CommandsOuterClass.ExerciseByKeyCommand getDefaultInstanceForType()
- Specified by:
 getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
 getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
 
- 
build
public CommandsOuterClass.ExerciseByKeyCommand build()
- Specified by:
 buildin interfacecom.google.protobuf.Message.Builder- Specified by:
 buildin interfacecom.google.protobuf.MessageLite.Builder
 
- 
buildPartial
public CommandsOuterClass.ExerciseByKeyCommand buildPartial()
- Specified by:
 buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
 buildPartialin interfacecom.google.protobuf.MessageLite.Builder
 
- 
clone
public CommandsOuterClass.ExerciseByKeyCommand.Builder clone()
- Specified by:
 clonein interfacecom.google.protobuf.Message.Builder- Specified by:
 clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
 clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 
- 
setField
public CommandsOuterClass.ExerciseByKeyCommand.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
 setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
 setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 
- 
clearField
public CommandsOuterClass.ExerciseByKeyCommand.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
 clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
 clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 
- 
clearOneof
public CommandsOuterClass.ExerciseByKeyCommand.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
 clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
 clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 
- 
setRepeatedField
public CommandsOuterClass.ExerciseByKeyCommand.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
 setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
 setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 
- 
addRepeatedField
public CommandsOuterClass.ExerciseByKeyCommand.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
 addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
 addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 
- 
mergeFrom
public CommandsOuterClass.ExerciseByKeyCommand.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
 mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
 mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 
- 
mergeFrom
public CommandsOuterClass.ExerciseByKeyCommand.Builder mergeFrom(CommandsOuterClass.ExerciseByKeyCommand other)
 
- 
isInitialized
public final boolean isInitialized()
- Specified by:
 isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
 isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 
- 
mergeFrom
public CommandsOuterClass.ExerciseByKeyCommand.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
 mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
 mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
 mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>- Throws:
 java.io.IOException
 
- 
hasTemplateId
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"];- Specified by:
 hasTemplateIdin interfaceCommandsOuterClass.ExerciseByKeyCommandOrBuilder- Returns:
 - Whether the templateId field is set.
 
 
- 
getTemplateId
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"];- Specified by:
 getTemplateIdin interfaceCommandsOuterClass.ExerciseByKeyCommandOrBuilder- Returns:
 - The templateId.
 
 
- 
setTemplateId
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"]; 
- 
setTemplateId
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"]; 
- 
mergeTemplateId
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"]; 
- 
clearTemplateId
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"]; 
- 
getTemplateIdBuilder
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"]; 
- 
getTemplateIdOrBuilder
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"];- Specified by:
 getTemplateIdOrBuilderin interfaceCommandsOuterClass.ExerciseByKeyCommandOrBuilder
 
- 
hasContractKey
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"];- Specified by:
 hasContractKeyin interfaceCommandsOuterClass.ExerciseByKeyCommandOrBuilder- Returns:
 - Whether the contractKey field is set.
 
 
- 
getContractKey
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"];- Specified by:
 getContractKeyin interfaceCommandsOuterClass.ExerciseByKeyCommandOrBuilder- Returns:
 - The contractKey.
 
 
- 
setContractKey
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"]; 
- 
setContractKey
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"]; 
- 
mergeContractKey
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"]; 
- 
clearContractKey
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"]; 
- 
getContractKeyBuilder
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"]; 
- 
getContractKeyOrBuilder
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"];- Specified by:
 getContractKeyOrBuilderin interfaceCommandsOuterClass.ExerciseByKeyCommandOrBuilder
 
- 
getChoice
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"];- Specified by:
 getChoicein interfaceCommandsOuterClass.ExerciseByKeyCommandOrBuilder- Returns:
 - The choice.
 
 
- 
getChoiceBytes
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"];- Specified by:
 getChoiceBytesin interfaceCommandsOuterClass.ExerciseByKeyCommandOrBuilder- Returns:
 - The bytes for choice.
 
 
- 
setChoice
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"];- Parameters:
 value- The choice to set.- Returns:
 - This builder for chaining.
 
 
- 
clearChoice
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"];- Returns:
 - This builder for chaining.
 
 
- 
setChoiceBytes
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"];- Parameters:
 value- The bytes for choice to set.- Returns:
 - This builder for chaining.
 
 
- 
hasChoiceArgument
public boolean hasChoiceArgument()
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"];- Specified by:
 hasChoiceArgumentin interfaceCommandsOuterClass.ExerciseByKeyCommandOrBuilder- Returns:
 - Whether the choiceArgument field is set.
 
 
- 
getChoiceArgument
public ValueOuterClass.Value getChoiceArgument()
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"];- Specified by:
 getChoiceArgumentin interfaceCommandsOuterClass.ExerciseByKeyCommandOrBuilder- Returns:
 - The choiceArgument.
 
 
- 
setChoiceArgument
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"]; 
- 
setChoiceArgument
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"]; 
- 
mergeChoiceArgument
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"]; 
- 
clearChoiceArgument
public CommandsOuterClass.ExerciseByKeyCommand.Builder clearChoiceArgument()
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"]; 
- 
getChoiceArgumentBuilder
public ValueOuterClass.Value.Builder getChoiceArgumentBuilder()
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"]; 
- 
getChoiceArgumentOrBuilder
public ValueOuterClass.ValueOrBuilder getChoiceArgumentOrBuilder()
The argument for this choice. Required
.com.daml.ledger.api.v1.Value choice_argument = 4 [json_name = "choiceArgument"];- Specified by:
 getChoiceArgumentOrBuilderin interfaceCommandsOuterClass.ExerciseByKeyCommandOrBuilder
 
- 
setUnknownFields
public final CommandsOuterClass.ExerciseByKeyCommand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
 setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
 setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 
- 
mergeUnknownFields
public final CommandsOuterClass.ExerciseByKeyCommand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
 mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
 mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.ExerciseByKeyCommand.Builder>
 
 - 
 
 -