Enum DataflowWorkerLoggingOptions.Level
- java.lang.Object
-
- java.lang.Enum<DataflowWorkerLoggingOptions.Level>
-
- org.apache.beam.runners.dataflow.options.DataflowWorkerLoggingOptions.Level
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DataflowWorkerLoggingOptions.Level>
- Enclosing interface:
- DataflowWorkerLoggingOptions
public static enum DataflowWorkerLoggingOptions.Level extends java.lang.Enum<DataflowWorkerLoggingOptions.Level>
The set of log levels that can be used on the Dataflow worker.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEBUGLevel for logging diagnostic messages.ERRORLevel for logging error messages.INFOLevel for logging informational messages.OFFSpecial level used to turn off logging.TRACELevel for logging tracing messages.WARNLevel for logging warning messages.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataflowWorkerLoggingOptions.LevelvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DataflowWorkerLoggingOptions.Level[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final DataflowWorkerLoggingOptions.Level OFF
Special level used to turn off logging.
-
ERROR
public static final DataflowWorkerLoggingOptions.Level ERROR
Level for logging error messages.
-
WARN
public static final DataflowWorkerLoggingOptions.Level WARN
Level for logging warning messages.
-
INFO
public static final DataflowWorkerLoggingOptions.Level INFO
Level for logging informational messages.
-
DEBUG
public static final DataflowWorkerLoggingOptions.Level DEBUG
Level for logging diagnostic messages.
-
TRACE
public static final DataflowWorkerLoggingOptions.Level TRACE
Level for logging tracing messages.
-
-
Method Detail
-
values
public static DataflowWorkerLoggingOptions.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 (DataflowWorkerLoggingOptions.Level c : DataflowWorkerLoggingOptions.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 DataflowWorkerLoggingOptions.Level valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-