public static enum OpennmsModelProtos.AlarmFeedback.FeedbackType extends Enum<OpennmsModelProtos.AlarmFeedback.FeedbackType> implements com.google.protobuf.ProtocolMessageEnum
AlarmFeedback.FeedbackType
Enum Constant and Description |
---|
CORRECT
CORRECT = 2; |
FALSE_NEGATIVE
FALSE_NEGATIVE = 1; |
FALSE_POSITIVE
FALSE_POSITIVE = 0; |
UNKNOWN
UNKNOWN = 3; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CORRECT_VALUE
CORRECT = 2; |
static int |
FALSE_NEGATIVE_VALUE
FALSE_NEGATIVE = 1; |
static int |
FALSE_POSITIVE_VALUE
FALSE_POSITIVE = 0; |
static int |
UNKNOWN_VALUE
UNKNOWN = 3; |
Modifier and Type | Method and Description |
---|---|
static OpennmsModelProtos.AlarmFeedback.FeedbackType |
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<OpennmsModelProtos.AlarmFeedback.FeedbackType> |
internalGetValueMap() |
static OpennmsModelProtos.AlarmFeedback.FeedbackType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OpennmsModelProtos.AlarmFeedback.FeedbackType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OpennmsModelProtos.AlarmFeedback.FeedbackType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpennmsModelProtos.AlarmFeedback.FeedbackType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpennmsModelProtos.AlarmFeedback.FeedbackType FALSE_POSITIVE
FALSE_POSITIVE = 0;
public static final OpennmsModelProtos.AlarmFeedback.FeedbackType FALSE_NEGATIVE
FALSE_NEGATIVE = 1;
public static final OpennmsModelProtos.AlarmFeedback.FeedbackType CORRECT
CORRECT = 2;
public static final OpennmsModelProtos.AlarmFeedback.FeedbackType UNKNOWN
UNKNOWN = 3;
public static final OpennmsModelProtos.AlarmFeedback.FeedbackType UNRECOGNIZED
public static final int FALSE_POSITIVE_VALUE
FALSE_POSITIVE = 0;
public static final int FALSE_NEGATIVE_VALUE
FALSE_NEGATIVE = 1;
public static final int CORRECT_VALUE
CORRECT = 2;
public static final int UNKNOWN_VALUE
UNKNOWN = 3;
public static OpennmsModelProtos.AlarmFeedback.FeedbackType[] values()
for (OpennmsModelProtos.AlarmFeedback.FeedbackType c : OpennmsModelProtos.AlarmFeedback.FeedbackType.values()) System.out.println(c);
public static OpennmsModelProtos.AlarmFeedback.FeedbackType 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 OpennmsModelProtos.AlarmFeedback.FeedbackType valueOf(int value)
forNumber(int)
instead.public static OpennmsModelProtos.AlarmFeedback.FeedbackType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<OpennmsModelProtos.AlarmFeedback.FeedbackType> 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 OpennmsModelProtos.AlarmFeedback.FeedbackType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020. All rights reserved.