Package com.google.devtools.build.v1
Enum Class BuildStatus.Result
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<BuildStatus.Result>,Constable
- Enclosing class:
- BuildStatus
public static enum BuildStatus.Result
extends Enum<BuildStatus.Result>
implements com.google.protobuf.ProtocolMessageEnum
The end result of the Build.Protobuf enum
google.devtools.build.v1.BuildStatus.Result-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe build was cancelled by a call to CancelBuild.Build error and/or test failure.Build was successful and tests (if requested) all pass.An invocation attempt time exceeded its deadline.Build request time exceeded the request_deadlineBuild required too many resources, such as build tool RAM.Unable to obtain a result due to a failure within the build system.Unspecified or unknown.Unable to obtain a result due to input provided by the user. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe build was cancelled by a call to CancelBuild.static final intBuild error and/or test failure.static final intBuild was successful and tests (if requested) all pass.static final intAn invocation attempt time exceeded its deadline.static final intBuild request time exceeded the request_deadlinestatic final intBuild required too many resources, such as build tool RAM.static final intUnable to obtain a result due to a failure within the build system.static final intUnspecified or unknown.static final intUnable to obtain a result due to input provided by the user. -
Method Summary
Modifier and TypeMethodDescriptionstatic BuildStatus.ResultforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<BuildStatus.Result>static BuildStatus.ResultvalueOf(int value) Deprecated.static BuildStatus.ResultvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static BuildStatus.ResultReturns the enum constant of this class with the specified name.static BuildStatus.Result[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN_STATUS
Unspecified or unknown.
UNKNOWN_STATUS = 0; -
COMMAND_SUCCEEDED
Build was successful and tests (if requested) all pass.
COMMAND_SUCCEEDED = 1; -
COMMAND_FAILED
Build error and/or test failure.
COMMAND_FAILED = 2; -
USER_ERROR
Unable to obtain a result due to input provided by the user.
USER_ERROR = 3; -
SYSTEM_ERROR
Unable to obtain a result due to a failure within the build system.
SYSTEM_ERROR = 4; -
RESOURCE_EXHAUSTED
Build required too many resources, such as build tool RAM.
RESOURCE_EXHAUSTED = 5; -
INVOCATION_DEADLINE_EXCEEDED
An invocation attempt time exceeded its deadline.
INVOCATION_DEADLINE_EXCEEDED = 6; -
REQUEST_DEADLINE_EXCEEDED
Build request time exceeded the request_deadline
REQUEST_DEADLINE_EXCEEDED = 8; -
CANCELLED
The build was cancelled by a call to CancelBuild.
CANCELLED = 7; -
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_STATUS_VALUE
public static final int UNKNOWN_STATUS_VALUEUnspecified or unknown.
UNKNOWN_STATUS = 0;- See Also:
-
COMMAND_SUCCEEDED_VALUE
public static final int COMMAND_SUCCEEDED_VALUEBuild was successful and tests (if requested) all pass.
COMMAND_SUCCEEDED = 1;- See Also:
-
COMMAND_FAILED_VALUE
public static final int COMMAND_FAILED_VALUEBuild error and/or test failure.
COMMAND_FAILED = 2;- See Also:
-
USER_ERROR_VALUE
public static final int USER_ERROR_VALUEUnable to obtain a result due to input provided by the user.
USER_ERROR = 3;- See Also:
-
SYSTEM_ERROR_VALUE
public static final int SYSTEM_ERROR_VALUEUnable to obtain a result due to a failure within the build system.
SYSTEM_ERROR = 4;- See Also:
-
RESOURCE_EXHAUSTED_VALUE
public static final int RESOURCE_EXHAUSTED_VALUEBuild required too many resources, such as build tool RAM.
RESOURCE_EXHAUSTED = 5;- See Also:
-
INVOCATION_DEADLINE_EXCEEDED_VALUE
public static final int INVOCATION_DEADLINE_EXCEEDED_VALUEAn invocation attempt time exceeded its deadline.
INVOCATION_DEADLINE_EXCEEDED = 6;- See Also:
-
REQUEST_DEADLINE_EXCEEDED_VALUE
public static final int REQUEST_DEADLINE_EXCEEDED_VALUEBuild request time exceeded the request_deadline
REQUEST_DEADLINE_EXCEEDED = 8;- See Also:
-
CANCELLED_VALUE
public static final int CANCELLED_VALUEThe build was cancelled by a call to CancelBuild.
CANCELLED = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- 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.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
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
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-