public static enum SessionLog.SessionStatus extends Enum<SessionLog.SessionStatus> implements com.google.protobuf.ProtocolMessageEnum
tensorflow.SessionLog.SessionStatus
Enum Constant and Description |
---|
CHECKPOINT
CHECKPOINT = 3; |
START
START = 1; |
STATUS_UNSPECIFIED
STATUS_UNSPECIFIED = 0; |
STOP
STOP = 2; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CHECKPOINT_VALUE
CHECKPOINT = 3; |
static int |
START_VALUE
START = 1; |
static int |
STATUS_UNSPECIFIED_VALUE
STATUS_UNSPECIFIED = 0; |
static int |
STOP_VALUE
STOP = 2; |
Modifier and Type | Method and Description |
---|---|
static SessionLog.SessionStatus |
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<SessionLog.SessionStatus> |
internalGetValueMap() |
static SessionLog.SessionStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SessionLog.SessionStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SessionLog.SessionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionLog.SessionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionLog.SessionStatus STATUS_UNSPECIFIED
STATUS_UNSPECIFIED = 0;
public static final SessionLog.SessionStatus START
START = 1;
public static final SessionLog.SessionStatus STOP
STOP = 2;
public static final SessionLog.SessionStatus CHECKPOINT
CHECKPOINT = 3;
public static final SessionLog.SessionStatus UNRECOGNIZED
public static final int STATUS_UNSPECIFIED_VALUE
STATUS_UNSPECIFIED = 0;
public static final int START_VALUE
START = 1;
public static final int STOP_VALUE
STOP = 2;
public static final int CHECKPOINT_VALUE
CHECKPOINT = 3;
public static SessionLog.SessionStatus[] values()
for (SessionLog.SessionStatus c : SessionLog.SessionStatus.values()) System.out.println(c);
public static SessionLog.SessionStatus 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 SessionLog.SessionStatus valueOf(int value)
forNumber(int)
instead.public static SessionLog.SessionStatus forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SessionLog.SessionStatus> 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 SessionLog.SessionStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2015–2019. All rights reserved.