Enum Class ApiStatus.ApiType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ApiStatus.ApiType>,Constable
- Enclosing class:
ApiStatus
public static enum ApiStatus.ApiType
extends Enum<ApiStatus.ApiType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
databalancer.ApiType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionADD_BROKER = 1;ADD_BROKER_V2 = 5;CELL_OVERLOAD_OCCURRENCE_DELTA = 6;CELLS = 7;EVEN_CLUSTER_LOAD = 3;FAILED_BROKER_LIST = 2;DEPRECATED as of CP 7.0REMOVE_BROKER_V2 = 4; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intADD_BROKER_V2 = 5;static final intADD_BROKER = 1;static final intCELL_OVERLOAD_OCCURRENCE_DELTA = 6;static final intCELLS = 7;static final intEVEN_CLUSTER_LOAD = 3;static final intFAILED_BROKER_LIST = 2;static final intREMOVE_BROKER_V2 = 4;static final intDEPRECATED as of CP 7.0 -
Method Summary
Modifier and TypeMethodDescriptionstatic ApiStatus.ApiTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ApiStatus.ApiType> static ApiStatus.ApiTypevalueOf(int value) Deprecated.static ApiStatus.ApiTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ApiStatus.ApiTypeReturns the enum constant of this class with the specified name.static ApiStatus.ApiType[]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
-
REMOVE_BROKER
DEPRECATED as of CP 7.0
REMOVE_BROKER = 0; -
ADD_BROKER
ADD_BROKER = 1; -
FAILED_BROKER_LIST
FAILED_BROKER_LIST = 2; -
EVEN_CLUSTER_LOAD
EVEN_CLUSTER_LOAD = 3; -
REMOVE_BROKER_V2
REMOVE_BROKER_V2 = 4; -
ADD_BROKER_V2
ADD_BROKER_V2 = 5; -
CELL_OVERLOAD_OCCURRENCE_DELTA
CELL_OVERLOAD_OCCURRENCE_DELTA = 6; -
CELLS
CELLS = 7; -
UNRECOGNIZED
-
-
Field Details
-
REMOVE_BROKER_VALUE
public static final int REMOVE_BROKER_VALUEDEPRECATED as of CP 7.0
REMOVE_BROKER = 0;- See Also:
-
ADD_BROKER_VALUE
public static final int ADD_BROKER_VALUEADD_BROKER = 1;- See Also:
-
FAILED_BROKER_LIST_VALUE
public static final int FAILED_BROKER_LIST_VALUEFAILED_BROKER_LIST = 2;- See Also:
-
EVEN_CLUSTER_LOAD_VALUE
public static final int EVEN_CLUSTER_LOAD_VALUEEVEN_CLUSTER_LOAD = 3;- See Also:
-
REMOVE_BROKER_V2_VALUE
public static final int REMOVE_BROKER_V2_VALUEREMOVE_BROKER_V2 = 4;- See Also:
-
ADD_BROKER_V2_VALUE
public static final int ADD_BROKER_V2_VALUEADD_BROKER_V2 = 5;- See Also:
-
CELL_OVERLOAD_OCCURRENCE_DELTA_VALUE
public static final int CELL_OVERLOAD_OCCURRENCE_DELTA_VALUECELL_OVERLOAD_OCCURRENCE_DELTA = 6;- See Also:
-
CELLS_VALUE
public static final int CELLS_VALUECELLS = 7;- 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
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
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:
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
-