@Generated(value="Generated by the protocol buffer compiler") public enum TerminationStatus extends java.lang.Enum<TerminationStatus> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
ABNORMAL_TERMINATION |
LAUNCH_FAILED |
NORMAL_TERMINATION |
OOM |
PROCESS_CRASHED |
PROCESS_WAS_KILLED |
STILL_RUNNING |
TERMINATION_STATUS_UNSPECIFIED
Reserved value.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ABNORMAL_TERMINATION_VALUE |
static int |
LAUNCH_FAILED_VALUE |
static int |
NORMAL_TERMINATION_VALUE |
static int |
OOM_VALUE |
static int |
PROCESS_CRASHED_VALUE |
static int |
PROCESS_WAS_KILLED_VALUE |
static int |
STILL_RUNNING_VALUE |
static int |
TERMINATION_STATUS_UNSPECIFIED_VALUE
Reserved value.
|
Modifier and Type | Method and Description |
---|---|
static TerminationStatus |
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<TerminationStatus> |
internalGetValueMap() |
static TerminationStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TerminationStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TerminationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TerminationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TerminationStatus TERMINATION_STATUS_UNSPECIFIED
public static final TerminationStatus NORMAL_TERMINATION
public static final TerminationStatus ABNORMAL_TERMINATION
public static final TerminationStatus PROCESS_WAS_KILLED
public static final TerminationStatus PROCESS_CRASHED
public static final TerminationStatus STILL_RUNNING
public static final TerminationStatus LAUNCH_FAILED
public static final TerminationStatus OOM
public static final TerminationStatus UNRECOGNIZED
public static final int TERMINATION_STATUS_UNSPECIFIED_VALUE
public static final int NORMAL_TERMINATION_VALUE
public static final int ABNORMAL_TERMINATION_VALUE
public static final int PROCESS_WAS_KILLED_VALUE
public static final int PROCESS_CRASHED_VALUE
public static final int STILL_RUNNING_VALUE
public static final int LAUNCH_FAILED_VALUE
public static final int OOM_VALUE
public static TerminationStatus[] values()
for (TerminationStatus c : TerminationStatus.values()) System.out.println(c);
public static TerminationStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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 TerminationStatus valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static TerminationStatus forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TerminationStatus> 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 TerminationStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)