Enum BuildEventStreamProtos.TestStatus
- java.lang.Object
-
- java.lang.Enum<BuildEventStreamProtos.TestStatus>
-
- com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.TestStatus
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<BuildEventStreamProtos.TestStatus>
- Enclosing class:
- BuildEventStreamProtos
public static enum BuildEventStreamProtos.TestStatus extends java.lang.Enum<BuildEventStreamProtos.TestStatus> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumbuild_event_stream.TestStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILEDFAILED = 4;FAILED_TO_BUILDFAILED_TO_BUILD = 7;FLAKYFLAKY = 2;INCOMPLETEINCOMPLETE = 5;NO_STATUSNO_STATUS = 0;PASSEDPASSED = 1;REMOTE_FAILUREREMOTE_FAILURE = 6;TIMEOUTTIMEOUT = 3;TOOL_HALTED_BEFORE_TESTINGTOOL_HALTED_BEFORE_TESTING = 8;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intFAILED_TO_BUILD_VALUEFAILED_TO_BUILD = 7;static intFAILED_VALUEFAILED = 4;static intFLAKY_VALUEFLAKY = 2;static intINCOMPLETE_VALUEINCOMPLETE = 5;static intNO_STATUS_VALUENO_STATUS = 0;static intPASSED_VALUEPASSED = 1;static intREMOTE_FAILURE_VALUEREMOTE_FAILURE = 6;static intTIMEOUT_VALUETIMEOUT = 3;static intTOOL_HALTED_BEFORE_TESTING_VALUETOOL_HALTED_BEFORE_TESTING = 8;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BuildEventStreamProtos.TestStatusforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<BuildEventStreamProtos.TestStatus>internalGetValueMap()static BuildEventStreamProtos.TestStatusvalueOf(int value)Deprecated.static BuildEventStreamProtos.TestStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static BuildEventStreamProtos.TestStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BuildEventStreamProtos.TestStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_STATUS
public static final BuildEventStreamProtos.TestStatus NO_STATUS
NO_STATUS = 0;
-
PASSED
public static final BuildEventStreamProtos.TestStatus PASSED
PASSED = 1;
-
FLAKY
public static final BuildEventStreamProtos.TestStatus FLAKY
FLAKY = 2;
-
TIMEOUT
public static final BuildEventStreamProtos.TestStatus TIMEOUT
TIMEOUT = 3;
-
FAILED
public static final BuildEventStreamProtos.TestStatus FAILED
FAILED = 4;
-
INCOMPLETE
public static final BuildEventStreamProtos.TestStatus INCOMPLETE
INCOMPLETE = 5;
-
REMOTE_FAILURE
public static final BuildEventStreamProtos.TestStatus REMOTE_FAILURE
REMOTE_FAILURE = 6;
-
FAILED_TO_BUILD
public static final BuildEventStreamProtos.TestStatus FAILED_TO_BUILD
FAILED_TO_BUILD = 7;
-
TOOL_HALTED_BEFORE_TESTING
public static final BuildEventStreamProtos.TestStatus TOOL_HALTED_BEFORE_TESTING
TOOL_HALTED_BEFORE_TESTING = 8;
-
UNRECOGNIZED
public static final BuildEventStreamProtos.TestStatus UNRECOGNIZED
-
-
Field Detail
-
NO_STATUS_VALUE
public static final int NO_STATUS_VALUE
NO_STATUS = 0;- See Also:
- Constant Field Values
-
PASSED_VALUE
public static final int PASSED_VALUE
PASSED = 1;- See Also:
- Constant Field Values
-
FLAKY_VALUE
public static final int FLAKY_VALUE
FLAKY = 2;- See Also:
- Constant Field Values
-
TIMEOUT_VALUE
public static final int TIMEOUT_VALUE
TIMEOUT = 3;- See Also:
- Constant Field Values
-
FAILED_VALUE
public static final int FAILED_VALUE
FAILED = 4;- See Also:
- Constant Field Values
-
INCOMPLETE_VALUE
public static final int INCOMPLETE_VALUE
INCOMPLETE = 5;- See Also:
- Constant Field Values
-
REMOTE_FAILURE_VALUE
public static final int REMOTE_FAILURE_VALUE
REMOTE_FAILURE = 6;- See Also:
- Constant Field Values
-
FAILED_TO_BUILD_VALUE
public static final int FAILED_TO_BUILD_VALUE
FAILED_TO_BUILD = 7;- See Also:
- Constant Field Values
-
TOOL_HALTED_BEFORE_TESTING_VALUE
public static final int TOOL_HALTED_BEFORE_TESTING_VALUE
TOOL_HALTED_BEFORE_TESTING = 8;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static BuildEventStreamProtos.TestStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BuildEventStreamProtos.TestStatus c : BuildEventStreamProtos.TestStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildEventStreamProtos.TestStatus valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static BuildEventStreamProtos.TestStatus valueOf(int value)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static BuildEventStreamProtos.TestStatus forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<BuildEventStreamProtos.TestStatus> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static BuildEventStreamProtos.TestStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-