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