public static enum LogEntry.PayloadCase extends java.lang.Enum<LogEntry.PayloadCase> implements Internal.EnumLite
Enum Constant and Description |
---|
JSON_PAYLOAD |
PAYLOAD_NOT_SET |
PROTO_PAYLOAD |
TEXT_PAYLOAD |
Modifier and Type | Method and Description |
---|---|
static LogEntry.PayloadCase |
forNumber(int value) |
int |
getNumber() |
static LogEntry.PayloadCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LogEntry.PayloadCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogEntry.PayloadCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogEntry.PayloadCase PROTO_PAYLOAD
public static final LogEntry.PayloadCase TEXT_PAYLOAD
public static final LogEntry.PayloadCase JSON_PAYLOAD
public static final LogEntry.PayloadCase PAYLOAD_NOT_SET
public static LogEntry.PayloadCase[] values()
for (LogEntry.PayloadCase c : LogEntry.PayloadCase.values()) System.out.println(c);
public static LogEntry.PayloadCase 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 LogEntry.PayloadCase valueOf(int value)
forNumber(int)
instead.public static LogEntry.PayloadCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite