Enum 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 enum google.cloud.dataproc.v1.LoggingConfig.Level
    • 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
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null