Package crawlercommons.urlfrontier
Enum Urlfrontier.LogLevelParams.Level
- java.lang.Object
-
- java.lang.Enum<Urlfrontier.LogLevelParams.Level>
-
- crawlercommons.urlfrontier.Urlfrontier.LogLevelParams.Level
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Urlfrontier.LogLevelParams.Level>
- Enclosing class:
- Urlfrontier.LogLevelParams
public static enum Urlfrontier.LogLevelParams.Level extends Enum<Urlfrontier.LogLevelParams.Level> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumurlfrontier.LogLevelParams.Level
-
-
Field Summary
Fields Modifier and Type Field Description static intDEBUG_VALUEDEBUG = 1;static intERROR_VALUEERROR = 4;static intINFO_VALUEINFO = 2;static intTRACE_VALUETRACE = 0;static intWARN_VALUEWARN = 3;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Urlfrontier.LogLevelParams.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<Urlfrontier.LogLevelParams.Level>internalGetValueMap()static Urlfrontier.LogLevelParams.LevelvalueOf(int value)Deprecated.static Urlfrontier.LogLevelParams.LevelvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Urlfrontier.LogLevelParams.LevelvalueOf(String name)Returns the enum constant of this type with the specified name.static Urlfrontier.LogLevelParams.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 Urlfrontier.LogLevelParams.Level TRACE
TRACE = 0;
-
DEBUG
public static final Urlfrontier.LogLevelParams.Level DEBUG
DEBUG = 1;
-
INFO
public static final Urlfrontier.LogLevelParams.Level INFO
INFO = 2;
-
WARN
public static final Urlfrontier.LogLevelParams.Level WARN
WARN = 3;
-
ERROR
public static final Urlfrontier.LogLevelParams.Level ERROR
ERROR = 4;
-
UNRECOGNIZED
public static final Urlfrontier.LogLevelParams.Level UNRECOGNIZED
-
-
Field Detail
-
TRACE_VALUE
public static final int TRACE_VALUE
TRACE = 0;- See Also:
- Constant Field Values
-
DEBUG_VALUE
public static final int DEBUG_VALUE
DEBUG = 1;- See Also:
- Constant Field Values
-
INFO_VALUE
public static final int INFO_VALUE
INFO = 2;- See Also:
- Constant Field Values
-
WARN_VALUE
public static final int WARN_VALUE
WARN = 3;- See Also:
- Constant Field Values
-
ERROR_VALUE
public static final int ERROR_VALUE
ERROR = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Urlfrontier.LogLevelParams.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 (Urlfrontier.LogLevelParams.Level c : Urlfrontier.LogLevelParams.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 Urlfrontier.LogLevelParams.Level valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- 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 Urlfrontier.LogLevelParams.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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static Urlfrontier.LogLevelParams.Level forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Urlfrontier.LogLevelParams.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 Urlfrontier.LogLevelParams.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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-