Enum Class EvenClusterLoad.EvenClusterLoadState
java.lang.Object
java.lang.Enum<EvenClusterLoad.EvenClusterLoadState>
io.confluent.databalancer.record.EvenClusterLoad.EvenClusterLoadState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<EvenClusterLoad.EvenClusterLoadState>,Constable
- Enclosing class:
EvenClusterLoad
public static enum EvenClusterLoad.EvenClusterLoadState
extends Enum<EvenClusterLoad.EvenClusterLoadState>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
databalancer.EvenClusterLoadState-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionaborted = 5;balanced = 3;balancing = 2;balancing_failed = 4;disabled = 6;initializing = 1;none = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intaborted = 5;static final intbalanced = 3;static final intbalancing_failed = 4;static final intbalancing = 2;static final intdisabled = 6;static final intinitializing = 1;static final intnone = 0; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<EvenClusterLoad.EvenClusterLoadState> valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static EvenClusterLoad.EvenClusterLoadState[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
none
none = 0; -
initializing
initializing = 1; -
balancing
balancing = 2; -
balanced
balanced = 3; -
balancing_failed
balancing_failed = 4; -
aborted
aborted = 5; -
disabled
disabled = 6; -
UNRECOGNIZED
-
-
Field Details
-
none_VALUE
public static final int none_VALUEnone = 0;- See Also:
-
initializing_VALUE
public static final int initializing_VALUEinitializing = 1;- See Also:
-
balancing_VALUE
public static final int balancing_VALUEbalancing = 2;- See Also:
-
balanced_VALUE
public static final int balanced_VALUEbalanced = 3;- See Also:
-
balancing_failed_VALUE
public static final int balancing_failed_VALUEbalancing_failed = 4;- See Also:
-
aborted_VALUE
public static final int aborted_VALUEaborted = 5;- See Also:
-
disabled_VALUE
public static final int disabled_VALUEdisabled = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<EvenClusterLoad.EvenClusterLoadState> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static EvenClusterLoad.EvenClusterLoadState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-