public static enum LoggingProto.Level extends java.lang.Enum<LoggingProto.Level> implements com.google.protobuf.ProtocolMessageEnum
de.huxhorn.lilith.logging.Level
Enum Constant and Description |
---|
DEBUG
DEBUG = 2; |
ERROR
ERROR = 5; |
INFO
INFO = 3; |
TRACE
TRACE = 1; |
WARN
WARN = 4; |
Modifier and Type | Field and Description |
---|---|
static int |
DEBUG_VALUE
DEBUG = 2; |
static int |
ERROR_VALUE
ERROR = 5; |
static int |
INFO_VALUE
INFO = 3; |
static int |
TRACE_VALUE
TRACE = 1; |
static int |
WARN_VALUE
WARN = 4; |
Modifier and Type | Method and Description |
---|---|
static LoggingProto.Level |
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<LoggingProto.Level> |
internalGetValueMap() |
static LoggingProto.Level |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LoggingProto.Level |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LoggingProto.Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoggingProto.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggingProto.Level TRACE
TRACE = 1;
public static final LoggingProto.Level DEBUG
DEBUG = 2;
public static final LoggingProto.Level INFO
INFO = 3;
public static final LoggingProto.Level WARN
WARN = 4;
public static final LoggingProto.Level ERROR
ERROR = 5;
public static final int TRACE_VALUE
TRACE = 1;
public static final int DEBUG_VALUE
DEBUG = 2;
public static final int INFO_VALUE
INFO = 3;
public static final int WARN_VALUE
WARN = 4;
public static final int ERROR_VALUE
ERROR = 5;
public static LoggingProto.Level[] values()
for (LoggingProto.Level c : LoggingProto.Level.values()) System.out.println(c);
public static LoggingProto.Level 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 LoggingProto.Level valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static LoggingProto.Level forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LoggingProto.Level> 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 LoggingProto.Level valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)