public static enum Constants.TestStatus extends Enum<Constants.TestStatus> implements com.google.protobuf.ProtocolMessageEnum
TestStatus| Enum Constant and Description |
|---|
ERROR
ERROR = 3; |
FAILURE
FAILURE = 2; |
OK
OK = 1; |
SKIPPED
SKIPPED = 4; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_VALUE
ERROR = 3; |
static int |
FAILURE_VALUE
FAILURE = 2; |
static int |
OK_VALUE
OK = 1; |
static int |
SKIPPED_VALUE
SKIPPED = 4; |
| Modifier and Type | Method and Description |
|---|---|
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<Constants.TestStatus> |
internalGetValueMap() |
static Constants.TestStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Constants.TestStatus |
valueOf(int value) |
static Constants.TestStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.TestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.TestStatus OK
OK = 1;public static final Constants.TestStatus FAILURE
FAILURE = 2;public static final Constants.TestStatus ERROR
ERROR = 3;public static final Constants.TestStatus SKIPPED
SKIPPED = 4;public static final int OK_VALUE
OK = 1;public static final int FAILURE_VALUE
FAILURE = 2;public static final int ERROR_VALUE
ERROR = 3;public static final int SKIPPED_VALUE
SKIPPED = 4;public static Constants.TestStatus[] values()
for (Constants.TestStatus c : Constants.TestStatus.values()) System.out.println(c);
public static Constants.TestStatus 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static Constants.TestStatus valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Constants.TestStatus> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Constants.TestStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2009–2016 SonarSource. All rights reserved.