public static enum TestRunOuterClass.TestRun.Status extends Enum<TestRunOuterClass.TestRun.Status> implements ProtocolMessageEnum
hapi.release.TestRun.Status
Enum Constant and Description |
---|
FAILURE
FAILURE = 2; |
RUNNING
RUNNING = 3; |
SUCCESS
SUCCESS = 1; |
UNKNOWN
UNKNOWN = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
FAILURE_VALUE
FAILURE = 2; |
static int |
RUNNING_VALUE
RUNNING = 3; |
static int |
SUCCESS_VALUE
SUCCESS = 1; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
Modifier and Type | Method and Description |
---|---|
static TestRunOuterClass.TestRun.Status |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<TestRunOuterClass.TestRun.Status> |
internalGetValueMap() |
static TestRunOuterClass.TestRun.Status |
valueOf(Descriptors.EnumValueDescriptor desc) |
static TestRunOuterClass.TestRun.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TestRunOuterClass.TestRun.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestRunOuterClass.TestRun.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestRunOuterClass.TestRun.Status UNKNOWN
UNKNOWN = 0;
public static final TestRunOuterClass.TestRun.Status SUCCESS
SUCCESS = 1;
public static final TestRunOuterClass.TestRun.Status FAILURE
FAILURE = 2;
public static final TestRunOuterClass.TestRun.Status RUNNING
RUNNING = 3;
public static final TestRunOuterClass.TestRun.Status UNRECOGNIZED
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
public static final int SUCCESS_VALUE
SUCCESS = 1;
public static final int FAILURE_VALUE
FAILURE = 2;
public static final int RUNNING_VALUE
RUNNING = 3;
public static TestRunOuterClass.TestRun.Status[] values()
for (TestRunOuterClass.TestRun.Status c : TestRunOuterClass.TestRun.Status.values()) System.out.println(c);
public static TestRunOuterClass.TestRun.Status 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static TestRunOuterClass.TestRun.Status valueOf(int value)
forNumber(int)
instead.public static TestRunOuterClass.TestRun.Status forNumber(int value)
public static Internal.EnumLiteMap<TestRunOuterClass.TestRun.Status> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static TestRunOuterClass.TestRun.Status valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2017–2018, microBean. All rights reserved.