public static enum InboundMessage.MessageCase extends Enum<InboundMessage.MessageCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
CANONICALIZE_RESPONSE |
COMPILE_REQUEST |
FILE_IMPORT_RESPONSE |
FUNCTION_CALL_RESPONSE |
IMPORT_RESPONSE |
MESSAGE_NOT_SET |
VERSION_REQUEST |
| Modifier and Type | Method and Description |
|---|---|
static InboundMessage.MessageCase |
forNumber(int value) |
int |
getNumber() |
static InboundMessage.MessageCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InboundMessage.MessageCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InboundMessage.MessageCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InboundMessage.MessageCase COMPILE_REQUEST
public static final InboundMessage.MessageCase CANONICALIZE_RESPONSE
public static final InboundMessage.MessageCase IMPORT_RESPONSE
public static final InboundMessage.MessageCase FILE_IMPORT_RESPONSE
public static final InboundMessage.MessageCase FUNCTION_CALL_RESPONSE
public static final InboundMessage.MessageCase VERSION_REQUEST
public static final InboundMessage.MessageCase MESSAGE_NOT_SET
public static InboundMessage.MessageCase[] values()
for (InboundMessage.MessageCase c : InboundMessage.MessageCase.values()) System.out.println(c);
public static InboundMessage.MessageCase 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 InboundMessage.MessageCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static InboundMessage.MessageCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite