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