public enum SeverityLevel extends java.lang.Enum<SeverityLevel> implements com.google.protobuf.ProtocolMessageEnum
contracts.SeverityLevel
Enum Constant and Description |
---|
Critical
Critical = 5; |
Error
Error = 4; |
Information
Information = 2; |
Unknown
Unknown = 0; |
UNRECOGNIZED |
Verbose
Verbose = 1; |
Warning
Warning = 3; |
Modifier and Type | Field and Description |
---|---|
static int |
Critical_VALUE
Critical = 5; |
static int |
Error_VALUE
Error = 4; |
static int |
Information_VALUE
Information = 2; |
static int |
Unknown_VALUE
Unknown = 0; |
static int |
Verbose_VALUE
Verbose = 1; |
static int |
Warning_VALUE
Warning = 3; |
Modifier and Type | Method and Description |
---|---|
static SeverityLevel |
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<SeverityLevel> |
internalGetValueMap() |
static SeverityLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SeverityLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SeverityLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SeverityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeverityLevel Unknown
Unknown = 0;
public static final SeverityLevel Verbose
Verbose = 1;
public static final SeverityLevel Information
Information = 2;
public static final SeverityLevel Warning
Warning = 3;
public static final SeverityLevel Error
Error = 4;
public static final SeverityLevel Critical
Critical = 5;
public static final SeverityLevel UNRECOGNIZED
public static final int Unknown_VALUE
Unknown = 0;
public static final int Verbose_VALUE
Verbose = 1;
public static final int Information_VALUE
Information = 2;
public static final int Warning_VALUE
Warning = 3;
public static final int Error_VALUE
Error = 4;
public static final int Critical_VALUE
Critical = 5;
public static SeverityLevel[] values()
for (SeverityLevel c : SeverityLevel.values()) System.out.println(c);
public static SeverityLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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 SeverityLevel valueOf(int value)
forNumber(int)
instead.public static SeverityLevel forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SeverityLevel> 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 SeverityLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)