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