Enum LogMessage.Level

java.lang.Object
java.lang.Enum<LogMessage.Level>
org.tensorflow.proto.LogMessage.Level
All Implemented Interfaces:
Internal.EnumLite, ProtocolMessageEnum, Serializable, Comparable<LogMessage.Level>
Enclosing class:
LogMessage

@Deprecated public static enum LogMessage.Level extends Enum<LogMessage.Level> implements ProtocolMessageEnum
Deprecated.
Protobuf enum tensorflow.LogMessage.Level
  • Enum Constant Details

    • UNKNOWN

      public static final LogMessage.Level UNKNOWN
      Deprecated.
      UNKNOWN = 0;
    • DEBUGGING

      public static final LogMessage.Level DEBUGGING
      Deprecated.
      Note: The logging level 10 cannot be named DEBUG. Some software
      projects compile their C/C++ code with -DDEBUG in debug builds. So the
      C++ code generated from this file should not have an identifier named
      DEBUG.
      
      DEBUGGING = 10;
    • INFO

      public static final LogMessage.Level INFO
      Deprecated.
      INFO = 20;
    • WARN

      public static final LogMessage.Level WARN
      Deprecated.
      WARN = 30;
    • ERROR

      public static final LogMessage.Level ERROR
      Deprecated.
      ERROR = 40;
    • FATAL

      public static final LogMessage.Level FATAL
      Deprecated.
      FATAL = 50;
    • UNRECOGNIZED

      public static final LogMessage.Level UNRECOGNIZED
      Deprecated.
  • Field Details

    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
      Deprecated.
      UNKNOWN = 0;
      See Also:
    • DEBUGGING_VALUE

      public static final int DEBUGGING_VALUE
      Deprecated.
      Note: The logging level 10 cannot be named DEBUG. Some software
      projects compile their C/C++ code with -DDEBUG in debug builds. So the
      C++ code generated from this file should not have an identifier named
      DEBUG.
      
      DEBUGGING = 10;
      See Also:
    • INFO_VALUE

      public static final int INFO_VALUE
      Deprecated.
      INFO = 20;
      See Also:
    • WARN_VALUE

      public static final int WARN_VALUE
      Deprecated.
      WARN = 30;
      See Also:
    • ERROR_VALUE

      public static final int ERROR_VALUE
      Deprecated.
      ERROR = 40;
      See Also:
    • FATAL_VALUE

      public static final int FATAL_VALUE
      Deprecated.
      FATAL = 50;
      See Also:
  • Method Details

    • values

      public static LogMessage.Level[] values()
      Deprecated.
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static LogMessage.Level valueOf(String name)
      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:
      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()
      Deprecated.
      Specified by:
      getNumber in interface Internal.EnumLite
      Specified by:
      getNumber in interface ProtocolMessageEnum
    • valueOf

      @Deprecated public static LogMessage.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 LogMessage.Level forNumber(int value)
      Deprecated.
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static Internal.EnumLiteMap<LogMessage.Level> internalGetValueMap()
      Deprecated.
    • getValueDescriptor

      public final Descriptors.EnumValueDescriptor getValueDescriptor()
      Deprecated.
      Specified by:
      getValueDescriptor in interface ProtocolMessageEnum
    • getDescriptorForType

      public final Descriptors.EnumDescriptor getDescriptorForType()
      Deprecated.
      Specified by:
      getDescriptorForType in interface ProtocolMessageEnum
    • getDescriptor

      public static final Descriptors.EnumDescriptor getDescriptor()
      Deprecated.
    • valueOf

      public static LogMessage.Level valueOf(Descriptors.EnumValueDescriptor desc)
      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:
      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