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(CommandsOuterClass.Command command) |
CommandsOuterClass.Command |
toProtoCommand() |
public static Command fromProtoCommand(CommandsOuterClass.Command command)
public CommandsOuterClass.Command toProtoCommand()
public final java.util.Optional<CreateCommand> asCreateCommand()
public final java.util.Optional<ExerciseCommand> asExerciseCommand()