Package com.clickhouse.client.grpc.impl
Enum LogsLevel
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<LogsLevel>,java.lang.constant.Constable
Protobuf enum
clickhouse.grpc.LogsLevel-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLOG_CRITICAL = 2;LOG_DEBUG = 7;LOG_ERROR = 3;LOG_FATAL = 1;LOG_INFORMATION = 6;LOG_NONE = 0;LOG_NOTICE = 5;LOG_TRACE = 8;LOG_WARNING = 4; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLOG_CRITICAL = 2;static final intLOG_DEBUG = 7;static final intLOG_ERROR = 3;static final intLOG_FATAL = 1;static final intLOG_INFORMATION = 6;static final intLOG_NONE = 0;static final intLOG_NOTICE = 5;static final intLOG_TRACE = 8;static final intLOG_WARNING = 4; -
Method Summary
Modifier and TypeMethodDescriptionstatic LogsLevelforNumber(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<LogsLevel>static LogsLevelvalueOf(int value) Deprecated.static LogsLevelvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static LogsLevelReturns the enum constant of this type with the specified name.static LogsLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOG_NONE
LOG_NONE = 0; -
LOG_FATAL
LOG_FATAL = 1; -
LOG_CRITICAL
LOG_CRITICAL = 2; -
LOG_ERROR
LOG_ERROR = 3; -
LOG_WARNING
LOG_WARNING = 4; -
LOG_NOTICE
LOG_NOTICE = 5; -
LOG_INFORMATION
LOG_INFORMATION = 6; -
LOG_DEBUG
LOG_DEBUG = 7; -
LOG_TRACE
LOG_TRACE = 8; -
UNRECOGNIZED
-
-
Field Details
-
LOG_NONE_VALUE
public static final int LOG_NONE_VALUELOG_NONE = 0;- See Also:
-
LOG_FATAL_VALUE
public static final int LOG_FATAL_VALUELOG_FATAL = 1;- See Also:
-
LOG_CRITICAL_VALUE
public static final int LOG_CRITICAL_VALUELOG_CRITICAL = 2;- See Also:
-
LOG_ERROR_VALUE
public static final int LOG_ERROR_VALUELOG_ERROR = 3;- See Also:
-
LOG_WARNING_VALUE
public static final int LOG_WARNING_VALUELOG_WARNING = 4;- See Also:
-
LOG_NOTICE_VALUE
public static final int LOG_NOTICE_VALUELOG_NOTICE = 5;- See Also:
-
LOG_INFORMATION_VALUE
public static final int LOG_INFORMATION_VALUELOG_INFORMATION = 6;- See Also:
-
LOG_DEBUG_VALUE
public static final int LOG_DEBUG_VALUELOG_DEBUG = 7;- See Also:
-
LOG_TRACE_VALUE
public static final int LOG_TRACE_VALUELOG_TRACE = 8;- 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
-