public static enum LogMessage.Level extends Enum<LogMessage.Level> implements com.google.protobuf.ProtocolMessageEnum
tensorflow.LogMessage.Level
Enum Constant and Description |
---|
DEBUGGING
Note: The logging level 10 cannot be named DEBUG.
|
ERROR
ERROR = 40; |
FATAL
FATAL = 50; |
INFO
INFO = 20; |
UNKNOWN
UNKNOWN = 0; |
UNRECOGNIZED |
WARN
WARN = 30; |
Modifier and Type | Field and Description |
---|---|
static int |
DEBUGGING_VALUE
Note: The logging level 10 cannot be named DEBUG.
|
static int |
ERROR_VALUE
ERROR = 40; |
static int |
FATAL_VALUE
FATAL = 50; |
static int |
INFO_VALUE
INFO = 20; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
static int |
WARN_VALUE
WARN = 30; |
Modifier and Type | Method and Description |
---|---|
static LogMessage.Level |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<LogMessage.Level> |
internalGetValueMap() |
static LogMessage.Level |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LogMessage.Level |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LogMessage.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogMessage.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogMessage.Level UNKNOWN
UNKNOWN = 0;
public static final LogMessage.Level DEBUGGING
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;
public static final LogMessage.Level INFO
INFO = 20;
public static final LogMessage.Level WARN
WARN = 30;
public static final LogMessage.Level ERROR
ERROR = 40;
public static final LogMessage.Level FATAL
FATAL = 50;
public static final LogMessage.Level UNRECOGNIZED
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
public static final int DEBUGGING_VALUE
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;
public static final int INFO_VALUE
INFO = 20;
public static final int WARN_VALUE
WARN = 30;
public static final int ERROR_VALUE
ERROR = 40;
public static final int FATAL_VALUE
FATAL = 50;
public static LogMessage.Level[] values()
for (LogMessage.Level c : LogMessage.Level.values()) System.out.println(c);
public static LogMessage.Level valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static LogMessage.Level valueOf(int value)
forNumber(int)
instead.public static LogMessage.Level forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<LogMessage.Level> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LogMessage.Level valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2015–2019. All rights reserved.