public static enum ApiStatus.ApiType extends Enum<ApiStatus.ApiType> implements com.google.protobuf.ProtocolMessageEnum
databalancer.ApiType| Enum Constant and Description |
|---|
ADD_BROKER
ADD_BROKER = 1; |
ADD_BROKER_V2
ADD_BROKER_V2 = 5; |
CELL_OVERLOAD_OCCURRENCE_DELTA
CELL_OVERLOAD_OCCURRENCE_DELTA = 6; |
CELLS
CELLS = 7; |
EVEN_CLUSTER_LOAD
EVEN_CLUSTER_LOAD = 3; |
FAILED_BROKER_LIST
FAILED_BROKER_LIST = 2; |
REMOVE_BROKER
DEPRECATED as of CP 7.0
|
REMOVE_BROKER_V2
REMOVE_BROKER_V2 = 4; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_BROKER_V2_VALUE
ADD_BROKER_V2 = 5; |
static int |
ADD_BROKER_VALUE
ADD_BROKER = 1; |
static int |
CELL_OVERLOAD_OCCURRENCE_DELTA_VALUE
CELL_OVERLOAD_OCCURRENCE_DELTA = 6; |
static int |
CELLS_VALUE
CELLS = 7; |
static int |
EVEN_CLUSTER_LOAD_VALUE
EVEN_CLUSTER_LOAD = 3; |
static int |
FAILED_BROKER_LIST_VALUE
FAILED_BROKER_LIST = 2; |
static int |
REMOVE_BROKER_V2_VALUE
REMOVE_BROKER_V2 = 4; |
static int |
REMOVE_BROKER_VALUE
DEPRECATED as of CP 7.0
|
| Modifier and Type | Method and Description |
|---|---|
static ApiStatus.ApiType |
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<ApiStatus.ApiType> |
internalGetValueMap() |
static ApiStatus.ApiType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ApiStatus.ApiType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ApiStatus.ApiType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiStatus.ApiType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiStatus.ApiType REMOVE_BROKER
DEPRECATED as of CP 7.0
REMOVE_BROKER = 0;public static final ApiStatus.ApiType ADD_BROKER
ADD_BROKER = 1;public static final ApiStatus.ApiType FAILED_BROKER_LIST
FAILED_BROKER_LIST = 2;public static final ApiStatus.ApiType EVEN_CLUSTER_LOAD
EVEN_CLUSTER_LOAD = 3;public static final ApiStatus.ApiType REMOVE_BROKER_V2
REMOVE_BROKER_V2 = 4;public static final ApiStatus.ApiType ADD_BROKER_V2
ADD_BROKER_V2 = 5;public static final ApiStatus.ApiType CELL_OVERLOAD_OCCURRENCE_DELTA
CELL_OVERLOAD_OCCURRENCE_DELTA = 6;public static final ApiStatus.ApiType CELLS
CELLS = 7;public static final ApiStatus.ApiType UNRECOGNIZED
public static final int REMOVE_BROKER_VALUE
DEPRECATED as of CP 7.0
REMOVE_BROKER = 0;public static final int ADD_BROKER_VALUE
ADD_BROKER = 1;public static final int FAILED_BROKER_LIST_VALUE
FAILED_BROKER_LIST = 2;public static final int EVEN_CLUSTER_LOAD_VALUE
EVEN_CLUSTER_LOAD = 3;public static final int REMOVE_BROKER_V2_VALUE
REMOVE_BROKER_V2 = 4;public static final int ADD_BROKER_V2_VALUE
ADD_BROKER_V2 = 5;public static final int CELL_OVERLOAD_OCCURRENCE_DELTA_VALUE
CELL_OVERLOAD_OCCURRENCE_DELTA = 6;public static final int CELLS_VALUE
CELLS = 7;public static ApiStatus.ApiType[] values()
for (ApiStatus.ApiType c : ApiStatus.ApiType.values()) System.out.println(c);
public static ApiStatus.ApiType 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ApiStatus.ApiType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ApiStatus.ApiType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ApiStatus.ApiType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ApiStatus.ApiType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)