Enum 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 Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.Note: The logging level 10 cannot be named DEBUG.static final intDeprecated.ERROR = 40;static final intDeprecated.FATAL = 50;static final intDeprecated.INFO = 20;static final intDeprecated.UNKNOWN = 0;static final intDeprecated.WARN = 30; -
Method Summary
Modifier and TypeMethodDescriptionstatic LogMessage.LevelforNumber(int value) Deprecated.static final Descriptors.EnumDescriptorDeprecated.Deprecated.final intDeprecated.Deprecated.static Internal.EnumLiteMap<LogMessage.Level> Deprecated.static LogMessage.LevelvalueOf(int value) Deprecated.static LogMessage.LevelDeprecated.Returns the enum constant of this type with the specified name.static LogMessage.LevelDeprecated.Returns the enum constant of this type with the specified name.static LogMessage.Level[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
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
-
WARN
-
ERROR
-
FATAL
-
UNRECOGNIZED
Deprecated.
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEDeprecated.UNKNOWN = 0;- See Also:
-
DEBUGGING_VALUE
public static final int DEBUGGING_VALUEDeprecated.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_VALUEDeprecated.INFO = 20;- See Also:
-
WARN_VALUE
public static final int WARN_VALUEDeprecated.WARN = 30;- See Also:
-
ERROR_VALUE
public static final int ERROR_VALUEDeprecated.ERROR = 40;- See Also:
-
FATAL_VALUE
public static final int FATAL_VALUEDeprecated.FATAL = 50;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()Deprecated.- Specified by:
getNumberin interfaceInternal.EnumLite- Specified by:
getNumberin interfaceProtocolMessageEnum
-
valueOf
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
Deprecated.- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
Deprecated. -
getValueDescriptor
Deprecated.- Specified by:
getValueDescriptorin interfaceProtocolMessageEnum
-
getDescriptorForType
Deprecated.- Specified by:
getDescriptorForTypein interfaceProtocolMessageEnum
-
getDescriptor
Deprecated. -
valueOf
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 nameNullPointerException- if the argument is null
-