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