Enum 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 enum google.devtools.build.v1.BuildStatus.Result
    • 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;
    • 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 name
        java.lang.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 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 name
        java.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:
        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 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 name
        java.lang.NullPointerException - if the argument is null