public static enum ServerReflectionResponse.MessageResponseCase extends Enum<ServerReflectionResponse.MessageResponseCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
| Enum Constant and Description |
|---|
ALL_EXTENSION_NUMBERS_RESPONSE |
ERROR_RESPONSE |
FILE_DESCRIPTOR_RESPONSE |
LIST_SERVICES_RESPONSE |
MESSAGERESPONSE_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static ServerReflectionResponse.MessageResponseCase |
forNumber(int value) |
int |
getNumber() |
static ServerReflectionResponse.MessageResponseCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ServerReflectionResponse.MessageResponseCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerReflectionResponse.MessageResponseCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerReflectionResponse.MessageResponseCase FILE_DESCRIPTOR_RESPONSE
public static final ServerReflectionResponse.MessageResponseCase ALL_EXTENSION_NUMBERS_RESPONSE
public static final ServerReflectionResponse.MessageResponseCase LIST_SERVICES_RESPONSE
public static final ServerReflectionResponse.MessageResponseCase ERROR_RESPONSE
public static final ServerReflectionResponse.MessageResponseCase MESSAGERESPONSE_NOT_SET
public static ServerReflectionResponse.MessageResponseCase[] values()
for (ServerReflectionResponse.MessageResponseCase c : ServerReflectionResponse.MessageResponseCase.values()) System.out.println(c);
public static ServerReflectionResponse.MessageResponseCase 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 null@Deprecated public static ServerReflectionResponse.MessageResponseCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static ServerReflectionResponse.MessageResponseCase forNumber(int value)
public int getNumber()
getNumber in interface AbstractMessageLite.InternalOneOfEnumgetNumber in interface Internal.EnumLite