public static enum CommandsOuterClass.Command.CommandCase extends java.lang.Enum<CommandsOuterClass.Command.CommandCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
COMMAND_NOT_SET |
CREATE |
CREATEANDEXERCISE |
EXERCISE |
EXERCISEBYKEY |
Modifier and Type | Method and Description |
---|---|
static CommandsOuterClass.Command.CommandCase |
forNumber(int value) |
int |
getNumber() |
static CommandsOuterClass.Command.CommandCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CommandsOuterClass.Command.CommandCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandsOuterClass.Command.CommandCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandsOuterClass.Command.CommandCase CREATE
public static final CommandsOuterClass.Command.CommandCase EXERCISE
public static final CommandsOuterClass.Command.CommandCase EXERCISEBYKEY
public static final CommandsOuterClass.Command.CommandCase CREATEANDEXERCISE
public static final CommandsOuterClass.Command.CommandCase COMMAND_NOT_SET
public static CommandsOuterClass.Command.CommandCase[] values()
for (CommandsOuterClass.Command.CommandCase c : CommandsOuterClass.Command.CommandCase.values()) System.out.println(c);
public static CommandsOuterClass.Command.CommandCase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static CommandsOuterClass.Command.CommandCase valueOf(int value)
forNumber(int)
instead.public static CommandsOuterClass.Command.CommandCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite