Package com.google.cloud.dataproc.v1
Enum LoggingConfig.Level
- java.lang.Object
-
- java.lang.Enum<LoggingConfig.Level>
-
- com.google.cloud.dataproc.v1.LoggingConfig.Level
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<LoggingConfig.Level>
- Enclosing class:
- LoggingConfig
public static enum LoggingConfig.Level extends Enum<LoggingConfig.Level> implements com.google.protobuf.ProtocolMessageEnum
The Log4j level for job execution. When running an [Apache Hive](https://hive.apache.org/) job, Cloud Dataproc configures the Hive client to an equivalent verbosity level.
Protobuf enumgoogle.cloud.dataproc.v1.LoggingConfig.Level
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLUse ALL level for log4j.DEBUGUse DEBUG level for log4j.ERRORUse ERROR level for log4j.FATALUse FATAL level for log4j.INFOUse INFO level for log4j.LEVEL_UNSPECIFIEDLevel is unspecified.OFFTurn off log4j.TRACEUse TRACE level for log4j.UNRECOGNIZEDWARNUse WARN level for log4j.
-
Field Summary
Fields Modifier and Type Field Description static intALL_VALUEUse ALL level for log4j.static intDEBUG_VALUEUse DEBUG level for log4j.static intERROR_VALUEUse ERROR level for log4j.static intFATAL_VALUEUse FATAL level for log4j.static intINFO_VALUEUse INFO level for log4j.static intLEVEL_UNSPECIFIED_VALUELevel is unspecified.static intOFF_VALUETurn off log4j.static intTRACE_VALUEUse TRACE level for log4j.static intWARN_VALUEUse WARN level for log4j.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LoggingConfig.LevelforNumber(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<LoggingConfig.Level>internalGetValueMap()static LoggingConfig.LevelvalueOf(int value)Deprecated.static LoggingConfig.LevelvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static LoggingConfig.LevelvalueOf(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.
-
-
-
Enum Constant Detail
-
LEVEL_UNSPECIFIED
public static final LoggingConfig.Level LEVEL_UNSPECIFIED
Level is unspecified. Use default level for log4j.
LEVEL_UNSPECIFIED = 0;
-
ALL
public static final LoggingConfig.Level ALL
Use ALL level for log4j.
ALL = 1;
-
TRACE
public static final LoggingConfig.Level TRACE
Use TRACE level for log4j.
TRACE = 2;
-
DEBUG
public static final LoggingConfig.Level DEBUG
Use DEBUG level for log4j.
DEBUG = 3;
-
INFO
public static final LoggingConfig.Level INFO
Use INFO level for log4j.
INFO = 4;
-
WARN
public static final LoggingConfig.Level WARN
Use WARN level for log4j.
WARN = 5;
-
ERROR
public static final LoggingConfig.Level ERROR
Use ERROR level for log4j.
ERROR = 6;
-
FATAL
public static final LoggingConfig.Level FATAL
Use FATAL level for log4j.
FATAL = 7;
-
OFF
public static final LoggingConfig.Level OFF
Turn off log4j.
OFF = 8;
-
UNRECOGNIZED
public static final LoggingConfig.Level UNRECOGNIZED
-
-
Field Detail
-
LEVEL_UNSPECIFIED_VALUE
public static final int LEVEL_UNSPECIFIED_VALUE
Level is unspecified. Use default level for log4j.
LEVEL_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
ALL_VALUE
public static final int ALL_VALUE
Use ALL level for log4j.
ALL = 1;- See Also:
- Constant Field Values
-
TRACE_VALUE
public static final int TRACE_VALUE
Use TRACE level for log4j.
TRACE = 2;- See Also:
- Constant Field Values
-
DEBUG_VALUE
public static final int DEBUG_VALUE
Use DEBUG level for log4j.
DEBUG = 3;- See Also:
- Constant Field Values
-
INFO_VALUE
public static final int INFO_VALUE
Use INFO level for log4j.
INFO = 4;- See Also:
- Constant Field Values
-
WARN_VALUE
public static final int WARN_VALUE
Use WARN level for log4j.
WARN = 5;- See Also:
- Constant Field Values
-
ERROR_VALUE
public static final int ERROR_VALUE
Use ERROR level for log4j.
ERROR = 6;- See Also:
- Constant Field Values
-
FATAL_VALUE
public static final int FATAL_VALUE
Use FATAL level for log4j.
FATAL = 7;- See Also:
- Constant Field Values
-
OFF_VALUE
public static final int OFF_VALUE
Turn off log4j.
OFF = 8;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static LoggingConfig.Level[] 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 (LoggingConfig.Level c : LoggingConfig.Level.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoggingConfig.Level 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 LoggingConfig.Level 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 LoggingConfig.Level 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<LoggingConfig.Level> 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 LoggingConfig.Level 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
-
-