public static enum ServerArgs.ArgtypeCase extends Enum<ServerArgs.ArgtypeCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
ARGTYPE_NOT_SET |
MARK |
SETUP |
Modifier and Type | Method and Description |
---|---|
int |
getNumber() |
static ServerArgs.ArgtypeCase |
valueOf(int value) |
static ServerArgs.ArgtypeCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerArgs.ArgtypeCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerArgs.ArgtypeCase SETUP
public static final ServerArgs.ArgtypeCase MARK
public static final ServerArgs.ArgtypeCase ARGTYPE_NOT_SET
public static ServerArgs.ArgtypeCase[] values()
for (ServerArgs.ArgtypeCase c : ServerArgs.ArgtypeCase.values()) System.out.println(c);
public static ServerArgs.ArgtypeCase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ServerArgs.ArgtypeCase valueOf(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite