public static final class CommandsOuterClass.Command.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Command.Builder> implements CommandsOuterClass.CommandOrBuilder
A command can either create a new contract or exercise a choice on an existing contract.Protobuf type
com.daml.ledger.api.v1.Command
Modifier and Type | Method and Description |
---|---|
CommandsOuterClass.Command.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CommandsOuterClass.Command |
build() |
CommandsOuterClass.Command |
buildPartial() |
CommandsOuterClass.Command.Builder |
clear() |
CommandsOuterClass.Command.Builder |
clearCommand() |
CommandsOuterClass.Command.Builder |
clearCreate()
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"]; |
CommandsOuterClass.Command.Builder |
clearCreateAndExercise()
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"]; |
CommandsOuterClass.Command.Builder |
clearExercise()
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"]; |
CommandsOuterClass.Command.Builder |
clearExerciseByKey()
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"]; |
CommandsOuterClass.Command.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CommandsOuterClass.Command.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CommandsOuterClass.Command.Builder |
clone() |
CommandsOuterClass.Command.CommandCase |
getCommandCase() |
CommandsOuterClass.CreateCommand |
getCreate()
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"]; |
CommandsOuterClass.CreateAndExerciseCommand |
getCreateAndExercise()
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"]; |
CommandsOuterClass.CreateAndExerciseCommand.Builder |
getCreateAndExerciseBuilder()
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"]; |
CommandsOuterClass.CreateAndExerciseCommandOrBuilder |
getCreateAndExerciseOrBuilder()
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"]; |
CommandsOuterClass.CreateCommand.Builder |
getCreateBuilder()
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"]; |
CommandsOuterClass.CreateCommandOrBuilder |
getCreateOrBuilder()
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"]; |
CommandsOuterClass.Command |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CommandsOuterClass.ExerciseCommand |
getExercise()
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"]; |
CommandsOuterClass.ExerciseCommand.Builder |
getExerciseBuilder()
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"]; |
CommandsOuterClass.ExerciseByKeyCommand |
getExerciseByKey()
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"]; |
CommandsOuterClass.ExerciseByKeyCommand.Builder |
getExerciseByKeyBuilder()
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"]; |
CommandsOuterClass.ExerciseByKeyCommandOrBuilder |
getExerciseByKeyOrBuilder()
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"]; |
CommandsOuterClass.ExerciseCommandOrBuilder |
getExerciseOrBuilder()
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"]; |
boolean |
hasCreate()
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"]; |
boolean |
hasCreateAndExercise()
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"]; |
boolean |
hasExercise()
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"]; |
boolean |
hasExerciseByKey()
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"]; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CommandsOuterClass.Command.Builder |
mergeCreate(CommandsOuterClass.CreateCommand value)
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"]; |
CommandsOuterClass.Command.Builder |
mergeCreateAndExercise(CommandsOuterClass.CreateAndExerciseCommand value)
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"]; |
CommandsOuterClass.Command.Builder |
mergeExercise(CommandsOuterClass.ExerciseCommand value)
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"]; |
CommandsOuterClass.Command.Builder |
mergeExerciseByKey(CommandsOuterClass.ExerciseByKeyCommand value)
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"]; |
CommandsOuterClass.Command.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommandsOuterClass.Command.Builder |
mergeFrom(CommandsOuterClass.Command other) |
CommandsOuterClass.Command.Builder |
mergeFrom(com.google.protobuf.Message other) |
CommandsOuterClass.Command.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommandsOuterClass.Command.Builder |
setCreate(CommandsOuterClass.CreateCommand.Builder builderForValue)
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"]; |
CommandsOuterClass.Command.Builder |
setCreate(CommandsOuterClass.CreateCommand value)
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"]; |
CommandsOuterClass.Command.Builder |
setCreateAndExercise(CommandsOuterClass.CreateAndExerciseCommand.Builder builderForValue)
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"]; |
CommandsOuterClass.Command.Builder |
setCreateAndExercise(CommandsOuterClass.CreateAndExerciseCommand value)
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"]; |
CommandsOuterClass.Command.Builder |
setExercise(CommandsOuterClass.ExerciseCommand.Builder builderForValue)
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"]; |
CommandsOuterClass.Command.Builder |
setExercise(CommandsOuterClass.ExerciseCommand value)
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"]; |
CommandsOuterClass.Command.Builder |
setExerciseByKey(CommandsOuterClass.ExerciseByKeyCommand.Builder builderForValue)
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"]; |
CommandsOuterClass.Command.Builder |
setExerciseByKey(CommandsOuterClass.ExerciseByKeyCommand value)
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"]; |
CommandsOuterClass.Command.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CommandsOuterClass.Command.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CommandsOuterClass.Command.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.Command.Builder>
public CommandsOuterClass.Command.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.Command.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.Command.Builder>
public CommandsOuterClass.Command getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CommandsOuterClass.Command build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CommandsOuterClass.Command buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CommandsOuterClass.Command.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.Command.Builder>
public CommandsOuterClass.Command.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.Command.Builder>
public CommandsOuterClass.Command.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.Command.Builder>
public CommandsOuterClass.Command.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.Command.Builder>
public CommandsOuterClass.Command.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.Command.Builder>
public CommandsOuterClass.Command.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.Command.Builder>
public CommandsOuterClass.Command.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.Command.Builder>
public CommandsOuterClass.Command.Builder mergeFrom(CommandsOuterClass.Command other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Command.Builder>
public CommandsOuterClass.Command.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.Command.Builder>
java.io.IOException
public CommandsOuterClass.Command.CommandCase getCommandCase()
getCommandCase
in interface CommandsOuterClass.CommandOrBuilder
public CommandsOuterClass.Command.Builder clearCommand()
public boolean hasCreate()
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"];
hasCreate
in interface CommandsOuterClass.CommandOrBuilder
public CommandsOuterClass.CreateCommand getCreate()
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"];
getCreate
in interface CommandsOuterClass.CommandOrBuilder
public CommandsOuterClass.Command.Builder setCreate(CommandsOuterClass.CreateCommand value)
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"];
public CommandsOuterClass.Command.Builder setCreate(CommandsOuterClass.CreateCommand.Builder builderForValue)
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"];
public CommandsOuterClass.Command.Builder mergeCreate(CommandsOuterClass.CreateCommand value)
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"];
public CommandsOuterClass.Command.Builder clearCreate()
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"];
public CommandsOuterClass.CreateCommand.Builder getCreateBuilder()
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"];
public CommandsOuterClass.CreateCommandOrBuilder getCreateOrBuilder()
.com.daml.ledger.api.v1.CreateCommand create = 1 [json_name = "create"];
getCreateOrBuilder
in interface CommandsOuterClass.CommandOrBuilder
public boolean hasExercise()
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"];
hasExercise
in interface CommandsOuterClass.CommandOrBuilder
public CommandsOuterClass.ExerciseCommand getExercise()
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"];
getExercise
in interface CommandsOuterClass.CommandOrBuilder
public CommandsOuterClass.Command.Builder setExercise(CommandsOuterClass.ExerciseCommand value)
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"];
public CommandsOuterClass.Command.Builder setExercise(CommandsOuterClass.ExerciseCommand.Builder builderForValue)
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"];
public CommandsOuterClass.Command.Builder mergeExercise(CommandsOuterClass.ExerciseCommand value)
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"];
public CommandsOuterClass.Command.Builder clearExercise()
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"];
public CommandsOuterClass.ExerciseCommand.Builder getExerciseBuilder()
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"];
public CommandsOuterClass.ExerciseCommandOrBuilder getExerciseOrBuilder()
.com.daml.ledger.api.v1.ExerciseCommand exercise = 2 [json_name = "exercise"];
getExerciseOrBuilder
in interface CommandsOuterClass.CommandOrBuilder
public boolean hasExerciseByKey()
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"];
hasExerciseByKey
in interface CommandsOuterClass.CommandOrBuilder
public CommandsOuterClass.ExerciseByKeyCommand getExerciseByKey()
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"];
getExerciseByKey
in interface CommandsOuterClass.CommandOrBuilder
public CommandsOuterClass.Command.Builder setExerciseByKey(CommandsOuterClass.ExerciseByKeyCommand value)
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"];
public CommandsOuterClass.Command.Builder setExerciseByKey(CommandsOuterClass.ExerciseByKeyCommand.Builder builderForValue)
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"];
public CommandsOuterClass.Command.Builder mergeExerciseByKey(CommandsOuterClass.ExerciseByKeyCommand value)
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"];
public CommandsOuterClass.Command.Builder clearExerciseByKey()
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"];
public CommandsOuterClass.ExerciseByKeyCommand.Builder getExerciseByKeyBuilder()
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"];
public CommandsOuterClass.ExerciseByKeyCommandOrBuilder getExerciseByKeyOrBuilder()
.com.daml.ledger.api.v1.ExerciseByKeyCommand exerciseByKey = 4 [json_name = "exerciseByKey"];
getExerciseByKeyOrBuilder
in interface CommandsOuterClass.CommandOrBuilder
public boolean hasCreateAndExercise()
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"];
hasCreateAndExercise
in interface CommandsOuterClass.CommandOrBuilder
public CommandsOuterClass.CreateAndExerciseCommand getCreateAndExercise()
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"];
getCreateAndExercise
in interface CommandsOuterClass.CommandOrBuilder
public CommandsOuterClass.Command.Builder setCreateAndExercise(CommandsOuterClass.CreateAndExerciseCommand value)
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"];
public CommandsOuterClass.Command.Builder setCreateAndExercise(CommandsOuterClass.CreateAndExerciseCommand.Builder builderForValue)
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"];
public CommandsOuterClass.Command.Builder mergeCreateAndExercise(CommandsOuterClass.CreateAndExerciseCommand value)
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"];
public CommandsOuterClass.Command.Builder clearCreateAndExercise()
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"];
public CommandsOuterClass.CreateAndExerciseCommand.Builder getCreateAndExerciseBuilder()
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"];
public CommandsOuterClass.CreateAndExerciseCommandOrBuilder getCreateAndExerciseOrBuilder()
.com.daml.ledger.api.v1.CreateAndExerciseCommand createAndExercise = 3 [json_name = "createAndExercise"];
getCreateAndExerciseOrBuilder
in interface CommandsOuterClass.CommandOrBuilder
public final CommandsOuterClass.Command.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Command.Builder>
public final CommandsOuterClass.Command.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.Command.Builder>