Package io.flowcean.learner.grpc
Enum LearnerOuterClass.LogLevel
- java.lang.Object
-
- java.lang.Enum<LearnerOuterClass.LogLevel>
-
- io.flowcean.learner.grpc.LearnerOuterClass.LogLevel
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<LearnerOuterClass.LogLevel>
- Enclosing class:
- LearnerOuterClass
public static enum LearnerOuterClass.LogLevel extends Enum<LearnerOuterClass.LogLevel> implements com.google.protobuf.ProtocolMessageEnum
Log levels for messages.
Protobuf enumLogLevel
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOGLEVEL_DEBUG
LOGLEVEL_DEBUG = 1;
LOGLEVEL_ERROR
LOGLEVEL_ERROR = 4;
LOGLEVEL_FATAL
LOGLEVEL_FATAL = 5;
LOGLEVEL_INFO
LOGLEVEL_INFO = 2;
LOGLEVEL_UNDEFINED
LOGLEVEL_UNDEFINED = 0;
LOGLEVEL_WARNING
LOGLEVEL_WARNING = 3;
UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
LOGLEVEL_DEBUG_VALUE
LOGLEVEL_DEBUG = 1;
static int
LOGLEVEL_ERROR_VALUE
LOGLEVEL_ERROR = 4;
static int
LOGLEVEL_FATAL_VALUE
LOGLEVEL_FATAL = 5;
static int
LOGLEVEL_INFO_VALUE
LOGLEVEL_INFO = 2;
static int
LOGLEVEL_UNDEFINED_VALUE
LOGLEVEL_UNDEFINED = 0;
static int
LOGLEVEL_WARNING_VALUE
LOGLEVEL_WARNING = 3;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LearnerOuterClass.LogLevel
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<LearnerOuterClass.LogLevel>
internalGetValueMap()
static LearnerOuterClass.LogLevel
valueOf(int value)
Deprecated.static LearnerOuterClass.LogLevel
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static LearnerOuterClass.LogLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static LearnerOuterClass.LogLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOGLEVEL_UNDEFINED
public static final LearnerOuterClass.LogLevel LOGLEVEL_UNDEFINED
LOGLEVEL_UNDEFINED = 0;
-
LOGLEVEL_DEBUG
public static final LearnerOuterClass.LogLevel LOGLEVEL_DEBUG
LOGLEVEL_DEBUG = 1;
-
LOGLEVEL_INFO
public static final LearnerOuterClass.LogLevel LOGLEVEL_INFO
LOGLEVEL_INFO = 2;
-
LOGLEVEL_WARNING
public static final LearnerOuterClass.LogLevel LOGLEVEL_WARNING
LOGLEVEL_WARNING = 3;
-
LOGLEVEL_ERROR
public static final LearnerOuterClass.LogLevel LOGLEVEL_ERROR
LOGLEVEL_ERROR = 4;
-
LOGLEVEL_FATAL
public static final LearnerOuterClass.LogLevel LOGLEVEL_FATAL
LOGLEVEL_FATAL = 5;
-
UNRECOGNIZED
public static final LearnerOuterClass.LogLevel UNRECOGNIZED
-
-
Field Detail
-
LOGLEVEL_UNDEFINED_VALUE
public static final int LOGLEVEL_UNDEFINED_VALUE
LOGLEVEL_UNDEFINED = 0;
- See Also:
- Constant Field Values
-
LOGLEVEL_DEBUG_VALUE
public static final int LOGLEVEL_DEBUG_VALUE
LOGLEVEL_DEBUG = 1;
- See Also:
- Constant Field Values
-
LOGLEVEL_INFO_VALUE
public static final int LOGLEVEL_INFO_VALUE
LOGLEVEL_INFO = 2;
- See Also:
- Constant Field Values
-
LOGLEVEL_WARNING_VALUE
public static final int LOGLEVEL_WARNING_VALUE
LOGLEVEL_WARNING = 3;
- See Also:
- Constant Field Values
-
LOGLEVEL_ERROR_VALUE
public static final int LOGLEVEL_ERROR_VALUE
LOGLEVEL_ERROR = 4;
- See Also:
- Constant Field Values
-
LOGLEVEL_FATAL_VALUE
public static final int LOGLEVEL_FATAL_VALUE
LOGLEVEL_FATAL = 5;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static LearnerOuterClass.LogLevel[] 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 (LearnerOuterClass.LogLevel c : LearnerOuterClass.LogLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LearnerOuterClass.LogLevel 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static LearnerOuterClass.LogLevel 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 LearnerOuterClass.LogLevel 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<LearnerOuterClass.LogLevel> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static LearnerOuterClass.LogLevel 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
-
-