Package com.google.devtools.build.v1
Enum BuildStatus.Result
- java.lang.Object
-
- java.lang.Enum<BuildStatus.Result>
-
- com.google.devtools.build.v1.BuildStatus.Result
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<BuildStatus.Result>
- Enclosing class:
- BuildStatus
public static enum BuildStatus.Result extends java.lang.Enum<BuildStatus.Result> implements com.google.protobuf.ProtocolMessageEnum
The end result of the Build.
Protobuf enumgoogle.devtools.build.v1.BuildStatus.Result
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDThe build was cancelled by a call to CancelBuild.COMMAND_FAILEDBuild error and/or test failure.COMMAND_SUCCEEDEDBuild was successful and tests (if requested) all pass.INVOCATION_DEADLINE_EXCEEDEDAn invocation attempt time exceeded its deadline.REQUEST_DEADLINE_EXCEEDEDBuild request time exceeded the request_deadlineRESOURCE_EXHAUSTEDBuild required too many resources, such as build tool RAM.SYSTEM_ERRORUnable to obtain a result due to a failure within the build system.UNKNOWN_STATUSUnspecified or unknown.UNRECOGNIZEDUSER_ERRORUnable to obtain a result due to input provided by the user.
-
Field Summary
Fields Modifier and Type Field Description static intCANCELLED_VALUEThe build was cancelled by a call to CancelBuild.static intCOMMAND_FAILED_VALUEBuild error and/or test failure.static intCOMMAND_SUCCEEDED_VALUEBuild was successful and tests (if requested) all pass.static intINVOCATION_DEADLINE_EXCEEDED_VALUEAn invocation attempt time exceeded its deadline.static intREQUEST_DEADLINE_EXCEEDED_VALUEBuild request time exceeded the request_deadlinestatic intRESOURCE_EXHAUSTED_VALUEBuild required too many resources, such as build tool RAM.static intSYSTEM_ERROR_VALUEUnable to obtain a result due to a failure within the build system.static intUNKNOWN_STATUS_VALUEUnspecified or unknown.static intUSER_ERROR_VALUEUnable to obtain a result due to input provided by the user.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BuildStatus.ResultforNumber(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<BuildStatus.Result>internalGetValueMap()static BuildStatus.ResultvalueOf(int value)Deprecated.static BuildStatus.ResultvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static BuildStatus.ResultvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BuildStatus.Result[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_STATUS
public static final BuildStatus.Result UNKNOWN_STATUS
Unspecified or unknown.
UNKNOWN_STATUS = 0;
-
COMMAND_SUCCEEDED
public static final BuildStatus.Result COMMAND_SUCCEEDED
Build was successful and tests (if requested) all pass.
COMMAND_SUCCEEDED = 1;
-
COMMAND_FAILED
public static final BuildStatus.Result COMMAND_FAILED
Build error and/or test failure.
COMMAND_FAILED = 2;
-
USER_ERROR
public static final BuildStatus.Result USER_ERROR
Unable to obtain a result due to input provided by the user.
USER_ERROR = 3;
-
SYSTEM_ERROR
public static final BuildStatus.Result SYSTEM_ERROR
Unable to obtain a result due to a failure within the build system.
SYSTEM_ERROR = 4;
-
RESOURCE_EXHAUSTED
public static final BuildStatus.Result RESOURCE_EXHAUSTED
Build required too many resources, such as build tool RAM.
RESOURCE_EXHAUSTED = 5;
-
INVOCATION_DEADLINE_EXCEEDED
public static final BuildStatus.Result INVOCATION_DEADLINE_EXCEEDED
An invocation attempt time exceeded its deadline.
INVOCATION_DEADLINE_EXCEEDED = 6;
-
REQUEST_DEADLINE_EXCEEDED
public static final BuildStatus.Result REQUEST_DEADLINE_EXCEEDED
Build request time exceeded the request_deadline
REQUEST_DEADLINE_EXCEEDED = 8;
-
CANCELLED
public static final BuildStatus.Result CANCELLED
The build was cancelled by a call to CancelBuild.
CANCELLED = 7;
-
UNRECOGNIZED
public static final BuildStatus.Result UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_STATUS_VALUE
public static final int UNKNOWN_STATUS_VALUE
Unspecified or unknown.
UNKNOWN_STATUS = 0;- See Also:
- Constant Field Values
-
COMMAND_SUCCEEDED_VALUE
public static final int COMMAND_SUCCEEDED_VALUE
Build was successful and tests (if requested) all pass.
COMMAND_SUCCEEDED = 1;- See Also:
- Constant Field Values
-
COMMAND_FAILED_VALUE
public static final int COMMAND_FAILED_VALUE
Build error and/or test failure.
COMMAND_FAILED = 2;- See Also:
- Constant Field Values
-
USER_ERROR_VALUE
public static final int USER_ERROR_VALUE
Unable to obtain a result due to input provided by the user.
USER_ERROR = 3;- See Also:
- Constant Field Values
-
SYSTEM_ERROR_VALUE
public static final int SYSTEM_ERROR_VALUE
Unable to obtain a result due to a failure within the build system.
SYSTEM_ERROR = 4;- See Also:
- Constant Field Values
-
RESOURCE_EXHAUSTED_VALUE
public static final int RESOURCE_EXHAUSTED_VALUE
Build required too many resources, such as build tool RAM.
RESOURCE_EXHAUSTED = 5;- See Also:
- Constant Field Values
-
INVOCATION_DEADLINE_EXCEEDED_VALUE
public static final int INVOCATION_DEADLINE_EXCEEDED_VALUE
An invocation attempt time exceeded its deadline.
INVOCATION_DEADLINE_EXCEEDED = 6;- See Also:
- Constant Field Values
-
REQUEST_DEADLINE_EXCEEDED_VALUE
public static final int REQUEST_DEADLINE_EXCEEDED_VALUE
Build request time exceeded the request_deadline
REQUEST_DEADLINE_EXCEEDED = 8;- See Also:
- Constant Field Values
-
CANCELLED_VALUE
public static final int CANCELLED_VALUE
The build was cancelled by a call to CancelBuild.
CANCELLED = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static BuildStatus.Result[] 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 (BuildStatus.Result c : BuildStatus.Result.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildStatus.Result 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 BuildStatus.Result 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 BuildStatus.Result 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<BuildStatus.Result> 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 BuildStatus.Result 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
-
-