Package com.clickhouse.client.grpc.impl
Enum LogsLevel
- java.lang.Object
-
- java.lang.Enum<LogsLevel>
-
- com.clickhouse.client.grpc.impl.LogsLevel
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<LogsLevel>
public enum LogsLevel extends Enum<LogsLevel> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumclickhouse.grpc.LogsLevel
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOG_CRITICALLOG_CRITICAL = 2;LOG_DEBUGLOG_DEBUG = 7;LOG_ERRORLOG_ERROR = 3;LOG_FATALLOG_FATAL = 1;LOG_INFORMATIONLOG_INFORMATION = 6;LOG_NONELOG_NONE = 0;LOG_NOTICELOG_NOTICE = 5;LOG_TRACELOG_TRACE = 8;LOG_WARNINGLOG_WARNING = 4;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intLOG_CRITICAL_VALUELOG_CRITICAL = 2;static intLOG_DEBUG_VALUELOG_DEBUG = 7;static intLOG_ERROR_VALUELOG_ERROR = 3;static intLOG_FATAL_VALUELOG_FATAL = 1;static intLOG_INFORMATION_VALUELOG_INFORMATION = 6;static intLOG_NONE_VALUELOG_NONE = 0;static intLOG_NOTICE_VALUELOG_NOTICE = 5;static intLOG_TRACE_VALUELOG_TRACE = 8;static intLOG_WARNING_VALUELOG_WARNING = 4;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LogsLevelforNumber(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<LogsLevel>internalGetValueMap()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 LogsLevelvalueOf(String name)Returns 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 Detail
-
LOG_NONE
public static final LogsLevel LOG_NONE
LOG_NONE = 0;
-
LOG_FATAL
public static final LogsLevel LOG_FATAL
LOG_FATAL = 1;
-
LOG_CRITICAL
public static final LogsLevel LOG_CRITICAL
LOG_CRITICAL = 2;
-
LOG_ERROR
public static final LogsLevel LOG_ERROR
LOG_ERROR = 3;
-
LOG_WARNING
public static final LogsLevel LOG_WARNING
LOG_WARNING = 4;
-
LOG_NOTICE
public static final LogsLevel LOG_NOTICE
LOG_NOTICE = 5;
-
LOG_INFORMATION
public static final LogsLevel LOG_INFORMATION
LOG_INFORMATION = 6;
-
LOG_DEBUG
public static final LogsLevel LOG_DEBUG
LOG_DEBUG = 7;
-
LOG_TRACE
public static final LogsLevel LOG_TRACE
LOG_TRACE = 8;
-
UNRECOGNIZED
public static final LogsLevel UNRECOGNIZED
-
-
Field Detail
-
LOG_NONE_VALUE
public static final int LOG_NONE_VALUE
LOG_NONE = 0;- See Also:
- Constant Field Values
-
LOG_FATAL_VALUE
public static final int LOG_FATAL_VALUE
LOG_FATAL = 1;- See Also:
- Constant Field Values
-
LOG_CRITICAL_VALUE
public static final int LOG_CRITICAL_VALUE
LOG_CRITICAL = 2;- See Also:
- Constant Field Values
-
LOG_ERROR_VALUE
public static final int LOG_ERROR_VALUE
LOG_ERROR = 3;- See Also:
- Constant Field Values
-
LOG_WARNING_VALUE
public static final int LOG_WARNING_VALUE
LOG_WARNING = 4;- See Also:
- Constant Field Values
-
LOG_NOTICE_VALUE
public static final int LOG_NOTICE_VALUE
LOG_NOTICE = 5;- See Also:
- Constant Field Values
-
LOG_INFORMATION_VALUE
public static final int LOG_INFORMATION_VALUE
LOG_INFORMATION = 6;- See Also:
- Constant Field Values
-
LOG_DEBUG_VALUE
public static final int LOG_DEBUG_VALUE
LOG_DEBUG = 7;- See Also:
- Constant Field Values
-
LOG_TRACE_VALUE
public static final int LOG_TRACE_VALUE
LOG_TRACE = 8;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static LogsLevel[] 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 (LogsLevel c : LogsLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogsLevel 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 LogsLevel 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 LogsLevel 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<LogsLevel> 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 LogsLevel 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
-
-