public static enum EvenClusterLoad.EvenClusterLoadState extends Enum<EvenClusterLoad.EvenClusterLoadState> implements com.google.protobuf.ProtocolMessageEnum
databalancer.EvenClusterLoadState
Enum Constant and Description |
---|
aborted
aborted = 5; |
balanced
balanced = 3; |
balancing
balancing = 2; |
balancing_failed
balancing_failed = 4; |
disabled
disabled = 6; |
initializing
initializing = 1; |
none
none = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
aborted_VALUE
aborted = 5; |
static int |
balanced_VALUE
balanced = 3; |
static int |
balancing_failed_VALUE
balancing_failed = 4; |
static int |
balancing_VALUE
balancing = 2; |
static int |
disabled_VALUE
disabled = 6; |
static int |
initializing_VALUE
initializing = 1; |
static int |
none_VALUE
none = 0; |
Modifier and Type | Method and Description |
---|---|
static EvenClusterLoad.EvenClusterLoadState |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<EvenClusterLoad.EvenClusterLoadState> |
internalGetValueMap() |
static EvenClusterLoad.EvenClusterLoadState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EvenClusterLoad.EvenClusterLoadState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EvenClusterLoad.EvenClusterLoadState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvenClusterLoad.EvenClusterLoadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EvenClusterLoad.EvenClusterLoadState none
none = 0;
public static final EvenClusterLoad.EvenClusterLoadState initializing
initializing = 1;
public static final EvenClusterLoad.EvenClusterLoadState balancing
balancing = 2;
public static final EvenClusterLoad.EvenClusterLoadState balanced
balanced = 3;
public static final EvenClusterLoad.EvenClusterLoadState balancing_failed
balancing_failed = 4;
public static final EvenClusterLoad.EvenClusterLoadState aborted
aborted = 5;
public static final EvenClusterLoad.EvenClusterLoadState disabled
disabled = 6;
public static final EvenClusterLoad.EvenClusterLoadState UNRECOGNIZED
public static final int none_VALUE
none = 0;
public static final int initializing_VALUE
initializing = 1;
public static final int balancing_VALUE
balancing = 2;
public static final int balanced_VALUE
balanced = 3;
public static final int balancing_failed_VALUE
balancing_failed = 4;
public static final int aborted_VALUE
aborted = 5;
public static final int disabled_VALUE
disabled = 6;
public static EvenClusterLoad.EvenClusterLoadState[] values()
for (EvenClusterLoad.EvenClusterLoadState c : EvenClusterLoad.EvenClusterLoadState.values()) System.out.println(c);
public static EvenClusterLoad.EvenClusterLoadState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static EvenClusterLoad.EvenClusterLoadState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static EvenClusterLoad.EvenClusterLoadState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EvenClusterLoad.EvenClusterLoadState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static EvenClusterLoad.EvenClusterLoadState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)