Package io.opentelemetry.proto.logs.v1
Enum SeverityNumber
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SeverityNumber>,java.lang.constant.Constable
public enum SeverityNumber
extends Enum<SeverityNumber>
implements com.google.protobuf.ProtocolMessageEnum
Possible values for LogRecord.SeverityNumber.Protobuf enum
opentelemetry.proto.logs.v1.SeverityNumber-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSEVERITY_NUMBER_DEBUG = 5;SEVERITY_NUMBER_DEBUG2 = 6;SEVERITY_NUMBER_DEBUG3 = 7;SEVERITY_NUMBER_DEBUG4 = 8;SEVERITY_NUMBER_ERROR = 17;SEVERITY_NUMBER_ERROR2 = 18;SEVERITY_NUMBER_ERROR3 = 19;SEVERITY_NUMBER_ERROR4 = 20;SEVERITY_NUMBER_FATAL = 21;SEVERITY_NUMBER_FATAL2 = 22;SEVERITY_NUMBER_FATAL3 = 23;SEVERITY_NUMBER_FATAL4 = 24;SEVERITY_NUMBER_INFO = 9;SEVERITY_NUMBER_INFO2 = 10;SEVERITY_NUMBER_INFO3 = 11;SEVERITY_NUMBER_INFO4 = 12;SEVERITY_NUMBER_TRACE = 1;SEVERITY_NUMBER_TRACE2 = 2;SEVERITY_NUMBER_TRACE3 = 3;SEVERITY_NUMBER_TRACE4 = 4;UNSPECIFIED is the default SeverityNumber, it MUST NOT be used.SEVERITY_NUMBER_WARN = 13;SEVERITY_NUMBER_WARN2 = 14;SEVERITY_NUMBER_WARN3 = 15;SEVERITY_NUMBER_WARN4 = 16; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSEVERITY_NUMBER_DEBUG = 5;static final intSEVERITY_NUMBER_DEBUG2 = 6;static final intSEVERITY_NUMBER_DEBUG3 = 7;static final intSEVERITY_NUMBER_DEBUG4 = 8;static final intSEVERITY_NUMBER_ERROR = 17;static final intSEVERITY_NUMBER_ERROR2 = 18;static final intSEVERITY_NUMBER_ERROR3 = 19;static final intSEVERITY_NUMBER_ERROR4 = 20;static final intSEVERITY_NUMBER_FATAL = 21;static final intSEVERITY_NUMBER_FATAL2 = 22;static final intSEVERITY_NUMBER_FATAL3 = 23;static final intSEVERITY_NUMBER_FATAL4 = 24;static final intSEVERITY_NUMBER_INFO = 9;static final intSEVERITY_NUMBER_INFO2 = 10;static final intSEVERITY_NUMBER_INFO3 = 11;static final intSEVERITY_NUMBER_INFO4 = 12;static final intSEVERITY_NUMBER_TRACE = 1;static final intSEVERITY_NUMBER_TRACE2 = 2;static final intSEVERITY_NUMBER_TRACE3 = 3;static final intSEVERITY_NUMBER_TRACE4 = 4;static final intUNSPECIFIED is the default SeverityNumber, it MUST NOT be used.static final intSEVERITY_NUMBER_WARN = 13;static final intSEVERITY_NUMBER_WARN2 = 14;static final intSEVERITY_NUMBER_WARN3 = 15;static final intSEVERITY_NUMBER_WARN4 = 16; -
Method Summary
Modifier and TypeMethodDescriptionstatic SeverityNumberforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SeverityNumber>static SeverityNumbervalueOf(int value) Deprecated.static SeverityNumbervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SeverityNumberReturns the enum constant of this type with the specified name.static SeverityNumber[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SEVERITY_NUMBER_UNSPECIFIED
UNSPECIFIED is the default SeverityNumber, it MUST NOT be used.
SEVERITY_NUMBER_UNSPECIFIED = 0; -
SEVERITY_NUMBER_TRACE
SEVERITY_NUMBER_TRACE = 1; -
SEVERITY_NUMBER_TRACE2
SEVERITY_NUMBER_TRACE2 = 2; -
SEVERITY_NUMBER_TRACE3
SEVERITY_NUMBER_TRACE3 = 3; -
SEVERITY_NUMBER_TRACE4
SEVERITY_NUMBER_TRACE4 = 4; -
SEVERITY_NUMBER_DEBUG
SEVERITY_NUMBER_DEBUG = 5; -
SEVERITY_NUMBER_DEBUG2
SEVERITY_NUMBER_DEBUG2 = 6; -
SEVERITY_NUMBER_DEBUG3
SEVERITY_NUMBER_DEBUG3 = 7; -
SEVERITY_NUMBER_DEBUG4
SEVERITY_NUMBER_DEBUG4 = 8; -
SEVERITY_NUMBER_INFO
SEVERITY_NUMBER_INFO = 9; -
SEVERITY_NUMBER_INFO2
SEVERITY_NUMBER_INFO2 = 10; -
SEVERITY_NUMBER_INFO3
SEVERITY_NUMBER_INFO3 = 11; -
SEVERITY_NUMBER_INFO4
SEVERITY_NUMBER_INFO4 = 12; -
SEVERITY_NUMBER_WARN
SEVERITY_NUMBER_WARN = 13; -
SEVERITY_NUMBER_WARN2
SEVERITY_NUMBER_WARN2 = 14; -
SEVERITY_NUMBER_WARN3
SEVERITY_NUMBER_WARN3 = 15; -
SEVERITY_NUMBER_WARN4
SEVERITY_NUMBER_WARN4 = 16; -
SEVERITY_NUMBER_ERROR
SEVERITY_NUMBER_ERROR = 17; -
SEVERITY_NUMBER_ERROR2
SEVERITY_NUMBER_ERROR2 = 18; -
SEVERITY_NUMBER_ERROR3
SEVERITY_NUMBER_ERROR3 = 19; -
SEVERITY_NUMBER_ERROR4
SEVERITY_NUMBER_ERROR4 = 20; -
SEVERITY_NUMBER_FATAL
SEVERITY_NUMBER_FATAL = 21; -
SEVERITY_NUMBER_FATAL2
SEVERITY_NUMBER_FATAL2 = 22; -
SEVERITY_NUMBER_FATAL3
SEVERITY_NUMBER_FATAL3 = 23; -
SEVERITY_NUMBER_FATAL4
SEVERITY_NUMBER_FATAL4 = 24; -
UNRECOGNIZED
-
-
Field Details
-
SEVERITY_NUMBER_UNSPECIFIED_VALUE
public static final int SEVERITY_NUMBER_UNSPECIFIED_VALUEUNSPECIFIED is the default SeverityNumber, it MUST NOT be used.
SEVERITY_NUMBER_UNSPECIFIED = 0;- See Also:
-
SEVERITY_NUMBER_TRACE_VALUE
public static final int SEVERITY_NUMBER_TRACE_VALUESEVERITY_NUMBER_TRACE = 1;- See Also:
-
SEVERITY_NUMBER_TRACE2_VALUE
public static final int SEVERITY_NUMBER_TRACE2_VALUESEVERITY_NUMBER_TRACE2 = 2;- See Also:
-
SEVERITY_NUMBER_TRACE3_VALUE
public static final int SEVERITY_NUMBER_TRACE3_VALUESEVERITY_NUMBER_TRACE3 = 3;- See Also:
-
SEVERITY_NUMBER_TRACE4_VALUE
public static final int SEVERITY_NUMBER_TRACE4_VALUESEVERITY_NUMBER_TRACE4 = 4;- See Also:
-
SEVERITY_NUMBER_DEBUG_VALUE
public static final int SEVERITY_NUMBER_DEBUG_VALUESEVERITY_NUMBER_DEBUG = 5;- See Also:
-
SEVERITY_NUMBER_DEBUG2_VALUE
public static final int SEVERITY_NUMBER_DEBUG2_VALUESEVERITY_NUMBER_DEBUG2 = 6;- See Also:
-
SEVERITY_NUMBER_DEBUG3_VALUE
public static final int SEVERITY_NUMBER_DEBUG3_VALUESEVERITY_NUMBER_DEBUG3 = 7;- See Also:
-
SEVERITY_NUMBER_DEBUG4_VALUE
public static final int SEVERITY_NUMBER_DEBUG4_VALUESEVERITY_NUMBER_DEBUG4 = 8;- See Also:
-
SEVERITY_NUMBER_INFO_VALUE
public static final int SEVERITY_NUMBER_INFO_VALUESEVERITY_NUMBER_INFO = 9;- See Also:
-
SEVERITY_NUMBER_INFO2_VALUE
public static final int SEVERITY_NUMBER_INFO2_VALUESEVERITY_NUMBER_INFO2 = 10;- See Also:
-
SEVERITY_NUMBER_INFO3_VALUE
public static final int SEVERITY_NUMBER_INFO3_VALUESEVERITY_NUMBER_INFO3 = 11;- See Also:
-
SEVERITY_NUMBER_INFO4_VALUE
public static final int SEVERITY_NUMBER_INFO4_VALUESEVERITY_NUMBER_INFO4 = 12;- See Also:
-
SEVERITY_NUMBER_WARN_VALUE
public static final int SEVERITY_NUMBER_WARN_VALUESEVERITY_NUMBER_WARN = 13;- See Also:
-
SEVERITY_NUMBER_WARN2_VALUE
public static final int SEVERITY_NUMBER_WARN2_VALUESEVERITY_NUMBER_WARN2 = 14;- See Also:
-
SEVERITY_NUMBER_WARN3_VALUE
public static final int SEVERITY_NUMBER_WARN3_VALUESEVERITY_NUMBER_WARN3 = 15;- See Also:
-
SEVERITY_NUMBER_WARN4_VALUE
public static final int SEVERITY_NUMBER_WARN4_VALUESEVERITY_NUMBER_WARN4 = 16;- See Also:
-
SEVERITY_NUMBER_ERROR_VALUE
public static final int SEVERITY_NUMBER_ERROR_VALUESEVERITY_NUMBER_ERROR = 17;- See Also:
-
SEVERITY_NUMBER_ERROR2_VALUE
public static final int SEVERITY_NUMBER_ERROR2_VALUESEVERITY_NUMBER_ERROR2 = 18;- See Also:
-
SEVERITY_NUMBER_ERROR3_VALUE
public static final int SEVERITY_NUMBER_ERROR3_VALUESEVERITY_NUMBER_ERROR3 = 19;- See Also:
-
SEVERITY_NUMBER_ERROR4_VALUE
public static final int SEVERITY_NUMBER_ERROR4_VALUESEVERITY_NUMBER_ERROR4 = 20;- See Also:
-
SEVERITY_NUMBER_FATAL_VALUE
public static final int SEVERITY_NUMBER_FATAL_VALUESEVERITY_NUMBER_FATAL = 21;- See Also:
-
SEVERITY_NUMBER_FATAL2_VALUE
public static final int SEVERITY_NUMBER_FATAL2_VALUESEVERITY_NUMBER_FATAL2 = 22;- See Also:
-
SEVERITY_NUMBER_FATAL3_VALUE
public static final int SEVERITY_NUMBER_FATAL3_VALUESEVERITY_NUMBER_FATAL3 = 23;- See Also:
-
SEVERITY_NUMBER_FATAL4_VALUE
public static final int SEVERITY_NUMBER_FATAL4_VALUESEVERITY_NUMBER_FATAL4 = 24;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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
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
-