Enum Class 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, 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
  • Enum Constant Details

    • 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 Details

    • UNKNOWN_STATUS_VALUE

      public static final int UNKNOWN_STATUS_VALUE
       Unspecified or unknown.
       
      UNKNOWN_STATUS = 0;
      See Also:
    • COMMAND_SUCCEEDED_VALUE

      public static final int COMMAND_SUCCEEDED_VALUE
       Build was successful and tests (if requested) all pass.
       
      COMMAND_SUCCEEDED = 1;
      See Also:
    • COMMAND_FAILED_VALUE

      public static final int COMMAND_FAILED_VALUE
       Build error and/or test failure.
       
      COMMAND_FAILED = 2;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • CANCELLED_VALUE

      public static final int CANCELLED_VALUE
       The build was cancelled by a call to CancelBuild.
       
      CANCELLED = 7;
      See Also:
  • Method Details

    • values

      public static BuildStatus.Result[] 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

      public static BuildStatus.Result valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static BuildStatus.Result valueOf(int value)
      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 name
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 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 name
      NullPointerException - if the argument is null