public static enum CommandAlert.TopicTriggerMetricType extends Enum<CommandAlert.TopicTriggerMetricType> implements com.google.protobuf.ProtocolMessageEnum
command_alert.TopicTriggerMetricType
Enum Constant and Description |
---|
TOPIC_BYTES_IN
TOPIC_BYTES_IN = 0; |
TOPIC_BYTES_OUT
TOPIC_BYTES_OUT = 1; |
TOPIC_OUT_OF_SYNC_REPLICA_COUNT
TOPIC_OUT_OF_SYNC_REPLICA_COUNT = 4; |
TOPIC_PRODUCTION_REQ_COUNT
TOPIC_PRODUCTION_REQ_COUNT = 2; |
TOPIC_UNDER_REPLICATED_TOPIC_PARTITIONS
TOPIC_UNDER_REPLICATED_TOPIC_PARTITIONS = 3; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
TOPIC_BYTES_IN_VALUE
TOPIC_BYTES_IN = 0; |
static int |
TOPIC_BYTES_OUT_VALUE
TOPIC_BYTES_OUT = 1; |
static int |
TOPIC_OUT_OF_SYNC_REPLICA_COUNT_VALUE
TOPIC_OUT_OF_SYNC_REPLICA_COUNT = 4; |
static int |
TOPIC_PRODUCTION_REQ_COUNT_VALUE
TOPIC_PRODUCTION_REQ_COUNT = 2; |
static int |
TOPIC_UNDER_REPLICATED_TOPIC_PARTITIONS_VALUE
TOPIC_UNDER_REPLICATED_TOPIC_PARTITIONS = 3; |
Modifier and Type | Method and Description |
---|---|
static CommandAlert.TopicTriggerMetricType |
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<CommandAlert.TopicTriggerMetricType> |
internalGetValueMap() |
static CommandAlert.TopicTriggerMetricType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CommandAlert.TopicTriggerMetricType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CommandAlert.TopicTriggerMetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandAlert.TopicTriggerMetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandAlert.TopicTriggerMetricType TOPIC_BYTES_IN
TOPIC_BYTES_IN = 0;
public static final CommandAlert.TopicTriggerMetricType TOPIC_BYTES_OUT
TOPIC_BYTES_OUT = 1;
public static final CommandAlert.TopicTriggerMetricType TOPIC_PRODUCTION_REQ_COUNT
TOPIC_PRODUCTION_REQ_COUNT = 2;
public static final CommandAlert.TopicTriggerMetricType TOPIC_UNDER_REPLICATED_TOPIC_PARTITIONS
TOPIC_UNDER_REPLICATED_TOPIC_PARTITIONS = 3;
public static final CommandAlert.TopicTriggerMetricType TOPIC_OUT_OF_SYNC_REPLICA_COUNT
TOPIC_OUT_OF_SYNC_REPLICA_COUNT = 4;
public static final CommandAlert.TopicTriggerMetricType UNRECOGNIZED
public static final int TOPIC_BYTES_IN_VALUE
TOPIC_BYTES_IN = 0;
public static final int TOPIC_BYTES_OUT_VALUE
TOPIC_BYTES_OUT = 1;
public static final int TOPIC_PRODUCTION_REQ_COUNT_VALUE
TOPIC_PRODUCTION_REQ_COUNT = 2;
public static final int TOPIC_UNDER_REPLICATED_TOPIC_PARTITIONS_VALUE
TOPIC_UNDER_REPLICATED_TOPIC_PARTITIONS = 3;
public static final int TOPIC_OUT_OF_SYNC_REPLICA_COUNT_VALUE
TOPIC_OUT_OF_SYNC_REPLICA_COUNT = 4;
public static CommandAlert.TopicTriggerMetricType[] values()
for (CommandAlert.TopicTriggerMetricType c : CommandAlert.TopicTriggerMetricType.values()) System.out.println(c);
public static CommandAlert.TopicTriggerMetricType 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 CommandAlert.TopicTriggerMetricType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static CommandAlert.TopicTriggerMetricType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CommandAlert.TopicTriggerMetricType> 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 CommandAlert.TopicTriggerMetricType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)