public static enum CommandAlert.TriggerMetricType extends Enum<CommandAlert.TriggerMetricType> implements com.google.protobuf.ProtocolMessageEnum
command_alert.TriggerMetricType| Enum Constant and Description |
|---|
AVG_LATENCY
AVG_LATENCY = 2; |
CONSUMER_LAG
CONSUMER_LAG = 3; |
CONSUMER_LEAD
CONSUMER_LEAD = 4; |
CONSUMPTION_DIFF
CONSUMPTION_DIFF = 0; |
MAX_LATENCY
MAX_LATENCY = 1; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AVG_LATENCY_VALUE
AVG_LATENCY = 2; |
static int |
CONSUMER_LAG_VALUE
CONSUMER_LAG = 3; |
static int |
CONSUMER_LEAD_VALUE
CONSUMER_LEAD = 4; |
static int |
CONSUMPTION_DIFF_VALUE
CONSUMPTION_DIFF = 0; |
static int |
MAX_LATENCY_VALUE
MAX_LATENCY = 1; |
| Modifier and Type | Method and Description |
|---|---|
static CommandAlert.TriggerMetricType |
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.TriggerMetricType> |
internalGetValueMap() |
static CommandAlert.TriggerMetricType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CommandAlert.TriggerMetricType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CommandAlert.TriggerMetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandAlert.TriggerMetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandAlert.TriggerMetricType CONSUMPTION_DIFF
CONSUMPTION_DIFF = 0;public static final CommandAlert.TriggerMetricType MAX_LATENCY
MAX_LATENCY = 1;public static final CommandAlert.TriggerMetricType AVG_LATENCY
AVG_LATENCY = 2;public static final CommandAlert.TriggerMetricType CONSUMER_LAG
CONSUMER_LAG = 3;public static final CommandAlert.TriggerMetricType CONSUMER_LEAD
CONSUMER_LEAD = 4;public static final CommandAlert.TriggerMetricType UNRECOGNIZED
public static final int CONSUMPTION_DIFF_VALUE
CONSUMPTION_DIFF = 0;public static final int MAX_LATENCY_VALUE
MAX_LATENCY = 1;public static final int AVG_LATENCY_VALUE
AVG_LATENCY = 2;public static final int CONSUMER_LAG_VALUE
CONSUMER_LAG = 3;public static final int CONSUMER_LEAD_VALUE
CONSUMER_LEAD = 4;public static CommandAlert.TriggerMetricType[] values()
for (CommandAlert.TriggerMetricType c : CommandAlert.TriggerMetricType.values()) System.out.println(c);
public static CommandAlert.TriggerMetricType 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 CommandAlert.TriggerMetricType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static CommandAlert.TriggerMetricType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CommandAlert.TriggerMetricType> 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 CommandAlert.TriggerMetricType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)