public static enum LoggingConfig.Level extends java.lang.Enum<LoggingConfig.Level> implements ProtocolMessageEnum
The Log4j level for job execution. When running an [Apache Hive](http://hive.apache.org/) job, Cloud Dataproc configures the Hive client to an equivalent verbosity level.Protobuf enum
google.cloud.dataproc.v1.LoggingConfig.Level
Enum Constant and Description |
---|
ALL
Use ALL level for log4j.
|
DEBUG
Use DEBUG level for log4j.
|
ERROR
Use ERROR level for log4j.
|
FATAL
Use FATAL level for log4j.
|
INFO
Use INFO level for log4j.
|
LEVEL_UNSPECIFIED
Level is unspecified.
|
OFF
Turn off log4j.
|
TRACE
Use TRACE level for log4j.
|
UNRECOGNIZED |
WARN
Use WARN level for log4j.
|
Modifier and Type | Field and Description |
---|---|
static int |
ALL_VALUE
Use ALL level for log4j.
|
static int |
DEBUG_VALUE
Use DEBUG level for log4j.
|
static int |
ERROR_VALUE
Use ERROR level for log4j.
|
static int |
FATAL_VALUE
Use FATAL level for log4j.
|
static int |
INFO_VALUE
Use INFO level for log4j.
|
static int |
LEVEL_UNSPECIFIED_VALUE
Level is unspecified.
|
static int |
OFF_VALUE
Turn off log4j.
|
static int |
TRACE_VALUE
Use TRACE level for log4j.
|
static int |
WARN_VALUE
Use WARN level for log4j.
|
Modifier and Type | Method and Description |
---|---|
static LoggingConfig.Level |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<LoggingConfig.Level> |
internalGetValueMap() |
static LoggingConfig.Level |
valueOf(Descriptors.EnumValueDescriptor desc) |
static LoggingConfig.Level |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LoggingConfig.Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoggingConfig.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggingConfig.Level LEVEL_UNSPECIFIED
Level is unspecified. Use default level for log4j.
LEVEL_UNSPECIFIED = 0;
public static final LoggingConfig.Level ALL
Use ALL level for log4j.
ALL = 1;
public static final LoggingConfig.Level TRACE
Use TRACE level for log4j.
TRACE = 2;
public static final LoggingConfig.Level DEBUG
Use DEBUG level for log4j.
DEBUG = 3;
public static final LoggingConfig.Level INFO
Use INFO level for log4j.
INFO = 4;
public static final LoggingConfig.Level WARN
Use WARN level for log4j.
WARN = 5;
public static final LoggingConfig.Level ERROR
Use ERROR level for log4j.
ERROR = 6;
public static final LoggingConfig.Level FATAL
Use FATAL level for log4j.
FATAL = 7;
public static final LoggingConfig.Level OFF
Turn off log4j.
OFF = 8;
public static final LoggingConfig.Level UNRECOGNIZED
public static final int LEVEL_UNSPECIFIED_VALUE
Level is unspecified. Use default level for log4j.
LEVEL_UNSPECIFIED = 0;
public static final int ALL_VALUE
Use ALL level for log4j.
ALL = 1;
public static final int TRACE_VALUE
Use TRACE level for log4j.
TRACE = 2;
public static final int DEBUG_VALUE
Use DEBUG level for log4j.
DEBUG = 3;
public static final int INFO_VALUE
Use INFO level for log4j.
INFO = 4;
public static final int WARN_VALUE
Use WARN level for log4j.
WARN = 5;
public static final int ERROR_VALUE
Use ERROR level for log4j.
ERROR = 6;
public static final int FATAL_VALUE
Use FATAL level for log4j.
FATAL = 7;
public static final int OFF_VALUE
Turn off log4j.
OFF = 8;
public static LoggingConfig.Level[] values()
for (LoggingConfig.Level c : LoggingConfig.Level.values()) System.out.println(c);
public static LoggingConfig.Level valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static LoggingConfig.Level valueOf(int value)
forNumber(int)
instead.public static LoggingConfig.Level forNumber(int value)
public static Internal.EnumLiteMap<LoggingConfig.Level> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static LoggingConfig.Level valueOf(Descriptors.EnumValueDescriptor desc)