public abstract class Command
extends java.lang.Object
Constructor and Description |
---|
Command() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<CreateCommand> |
asCreateCommand() |
java.util.Optional<ExerciseCommand> |
asExerciseCommand() |
static Command |
fromProtoCommand(com.digitalasset.ledger.api.v1.CommandsOuterClass.Command command) |
com.digitalasset.ledger.api.v1.CommandsOuterClass.Command |
toProtoCommand() |
public static Command fromProtoCommand(com.digitalasset.ledger.api.v1.CommandsOuterClass.Command command)
public com.digitalasset.ledger.api.v1.CommandsOuterClass.Command toProtoCommand()
public final java.util.Optional<CreateCommand> asCreateCommand()
public final java.util.Optional<ExerciseCommand> asExerciseCommand()