Enum LoggingProto.Level
- java.lang.Object
-
- java.lang.Enum<LoggingProto.Level>
-
- de.huxhorn.lilith.data.logging.protobuf.generated.LoggingProto.Level
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<LoggingProto.Level>
- Enclosing class:
- LoggingProto
public static enum LoggingProto.Level extends java.lang.Enum<LoggingProto.Level> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumde.huxhorn.lilith.logging.Level
-
-
Field Summary
Fields Modifier and Type Field Description static intDEBUG_VALUEDEBUG = 2;static intERROR_VALUEERROR = 5;static intINFO_VALUEINFO = 3;static intTRACE_VALUETRACE = 1;static intWARN_VALUEWARN = 4;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LoggingProto.LevelforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<LoggingProto.Level>internalGetValueMap()static LoggingProto.LevelvalueOf(int value)Deprecated.static LoggingProto.LevelvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static LoggingProto.LevelvalueOf(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.
-
-
-
Enum Constant Detail
-
TRACE
public static final LoggingProto.Level TRACE
TRACE = 1;
-
DEBUG
public static final LoggingProto.Level DEBUG
DEBUG = 2;
-
INFO
public static final LoggingProto.Level INFO
INFO = 3;
-
WARN
public static final LoggingProto.Level WARN
WARN = 4;
-
ERROR
public static final LoggingProto.Level ERROR
ERROR = 5;
-
-
Field Detail
-
TRACE_VALUE
public static final int TRACE_VALUE
TRACE = 1;- See Also:
- Constant Field Values
-
DEBUG_VALUE
public static final int DEBUG_VALUE
DEBUG = 2;- See Also:
- Constant Field Values
-
INFO_VALUE
public static final int INFO_VALUE
INFO = 3;- See Also:
- Constant Field Values
-
WARN_VALUE
public static final int WARN_VALUE
WARN = 4;- See Also:
- Constant Field Values
-
ERROR_VALUE
public static final int ERROR_VALUE
ERROR = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static LoggingProto.Level[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LoggingProto.Level c : LoggingProto.Level.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoggingProto.Level valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static LoggingProto.Level valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static LoggingProto.Level forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<LoggingProto.Level> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static LoggingProto.Level valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-