Enum Build.Status

java.lang.Object
java.lang.Enum<Build.Status>
com.google.cloudbuild.v1.Build.Status
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Build.Status>
Enclosing class:
Build

public static enum Build.Status extends Enum<Build.Status> implements com.google.protobuf.ProtocolMessageEnum
 Possible status of a build or build step.
 
Protobuf enum google.devtools.cloudbuild.v1.Build.Status
  • Enum Constant Details

    • STATUS_UNKNOWN

      public static final Build.Status STATUS_UNKNOWN
       Status of the build is unknown.
       
      STATUS_UNKNOWN = 0;
    • PENDING

      public static final Build.Status PENDING
       Build has been created and is pending execution and queuing. It has not
       been queued.
       
      PENDING = 10;
    • QUEUED

      public static final Build.Status QUEUED
       Build or step is queued; work has not yet begun.
       
      QUEUED = 1;
    • WORKING

      public static final Build.Status WORKING
       Build or step is being executed.
       
      WORKING = 2;
    • SUCCESS

      public static final Build.Status SUCCESS
       Build or step finished successfully.
       
      SUCCESS = 3;
    • FAILURE

      public static final Build.Status FAILURE
       Build or step failed to complete successfully.
       
      FAILURE = 4;
    • INTERNAL_ERROR

      public static final Build.Status INTERNAL_ERROR
       Build or step failed due to an internal cause.
       
      INTERNAL_ERROR = 5;
    • TIMEOUT

      public static final Build.Status TIMEOUT
       Build or step took longer than was allowed.
       
      TIMEOUT = 6;
    • CANCELLED

      public static final Build.Status CANCELLED
       Build or step was canceled by a user.
       
      CANCELLED = 7;
    • EXPIRED

      public static final Build.Status EXPIRED
       Build was enqueued for longer than the value of `queue_ttl`.
       
      EXPIRED = 9;
    • UNRECOGNIZED

      public static final Build.Status UNRECOGNIZED
  • Field Details

    • STATUS_UNKNOWN_VALUE

      public static final int STATUS_UNKNOWN_VALUE
       Status of the build is unknown.
       
      STATUS_UNKNOWN = 0;
      See Also:
    • PENDING_VALUE

      public static final int PENDING_VALUE
       Build has been created and is pending execution and queuing. It has not
       been queued.
       
      PENDING = 10;
      See Also:
    • QUEUED_VALUE

      public static final int QUEUED_VALUE
       Build or step is queued; work has not yet begun.
       
      QUEUED = 1;
      See Also:
    • WORKING_VALUE

      public static final int WORKING_VALUE
       Build or step is being executed.
       
      WORKING = 2;
      See Also:
    • SUCCESS_VALUE

      public static final int SUCCESS_VALUE
       Build or step finished successfully.
       
      SUCCESS = 3;
      See Also:
    • FAILURE_VALUE

      public static final int FAILURE_VALUE
       Build or step failed to complete successfully.
       
      FAILURE = 4;
      See Also:
    • INTERNAL_ERROR_VALUE

      public static final int INTERNAL_ERROR_VALUE
       Build or step failed due to an internal cause.
       
      INTERNAL_ERROR = 5;
      See Also:
    • TIMEOUT_VALUE

      public static final int TIMEOUT_VALUE
       Build or step took longer than was allowed.
       
      TIMEOUT = 6;
      See Also:
    • CANCELLED_VALUE

      public static final int CANCELLED_VALUE
       Build or step was canceled by a user.
       
      CANCELLED = 7;
      See Also:
    • EXPIRED_VALUE

      public static final int EXPIRED_VALUE
       Build was enqueued for longer than the value of `queue_ttl`.
       
      EXPIRED = 9;
      See Also:
  • Method Details

    • values

      public static Build.Status[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Build.Status valueOf(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:
      IllegalArgumentException - if this enum type 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 Build.Status 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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Build.Status 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<Build.Status> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Build.Status 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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null