Enum SessionLog.SessionStatus
- All Implemented Interfaces:
Internal.EnumLite, ProtocolMessageEnum, Serializable, Comparable<SessionLog.SessionStatus>
- Enclosing class:
SessionLog
public static enum SessionLog.SessionStatus
extends Enum<SessionLog.SessionStatus>
implements ProtocolMessageEnum
Protobuf enum
tensorflow.SessionLog.SessionStatus-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCHECKPOINT = 3;START = 1;STATUS_UNSPECIFIED = 0;STOP = 2; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCHECKPOINT = 3;static final intSTART = 1;static final intSTATUS_UNSPECIFIED = 0;static final intSTOP = 2; -
Method Summary
Modifier and TypeMethodDescriptionstatic SessionLog.SessionStatusforNumber(int value) static final Descriptors.EnumDescriptorfinal intstatic SessionLog.SessionStatusvalueOf(int value) Deprecated.static SessionLog.SessionStatusReturns the enum constant of this type with the specified name.static SessionLog.SessionStatusReturns 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.
-
Enum Constant Details
-
STATUS_UNSPECIFIED
STATUS_UNSPECIFIED = 0; -
START
START = 1; -
STOP
STOP = 2; -
CHECKPOINT
CHECKPOINT = 3; -
UNRECOGNIZED
-
-
Field Details
-
STATUS_UNSPECIFIED_VALUE
public static final int STATUS_UNSPECIFIED_VALUESTATUS_UNSPECIFIED = 0;- See Also:
-
START_VALUE
public static final int START_VALUESTART = 1;- See Also:
-
STOP_VALUE
public static final int STOP_VALUESTOP = 2;- See Also:
-
CHECKPOINT_VALUE
public static final int CHECKPOINT_VALUECHECKPOINT = 3;- See Also:
-
-
Method Details
-
values
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
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()- 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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
- Specified by:
getValueDescriptorin interfaceProtocolMessageEnum
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceProtocolMessageEnum
-
getDescriptor
-
valueOf
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
-