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