Enum Rollout.FailureCause

java.lang.Object
java.lang.Enum<Rollout.FailureCause>
com.google.cloud.deploy.v1.Rollout.FailureCause
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Rollout.FailureCause>
Enclosing class:
Rollout

public static enum Rollout.FailureCause extends Enum<Rollout.FailureCause> implements com.google.protobuf.ProtocolMessageEnum
 Well-known rollout failures.
 
Protobuf enum google.cloud.deploy.v1.Rollout.FailureCause
  • Enum Constant Details

    • FAILURE_CAUSE_UNSPECIFIED

      public static final Rollout.FailureCause FAILURE_CAUSE_UNSPECIFIED
       No reason for failure is specified.
       
      FAILURE_CAUSE_UNSPECIFIED = 0;
    • CLOUD_BUILD_UNAVAILABLE

      public static final Rollout.FailureCause CLOUD_BUILD_UNAVAILABLE
       Cloud Build is not available, either because it is not enabled or because
       Cloud Deploy has insufficient permissions. See [required
       permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
       
      CLOUD_BUILD_UNAVAILABLE = 1;
    • EXECUTION_FAILED

      public static final Rollout.FailureCause EXECUTION_FAILED
       The deploy operation did not complete successfully; check Cloud Build
       logs.
       
      EXECUTION_FAILED = 2;
    • DEADLINE_EXCEEDED

      public static final Rollout.FailureCause DEADLINE_EXCEEDED
       Deployment did not complete within the allotted time.
       
      DEADLINE_EXCEEDED = 3;
    • RELEASE_FAILED

      public static final Rollout.FailureCause RELEASE_FAILED
       Release is in a failed state.
       
      RELEASE_FAILED = 4;
    • RELEASE_ABANDONED

      public static final Rollout.FailureCause RELEASE_ABANDONED
       Release is abandoned.
       
      RELEASE_ABANDONED = 5;
    • VERIFICATION_CONFIG_NOT_FOUND

      public static final Rollout.FailureCause VERIFICATION_CONFIG_NOT_FOUND
       No Skaffold verify configuration was found.
       
      VERIFICATION_CONFIG_NOT_FOUND = 6;
    • CLOUD_BUILD_REQUEST_FAILED

      public static final Rollout.FailureCause CLOUD_BUILD_REQUEST_FAILED
       Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
       for additional details.
       
      CLOUD_BUILD_REQUEST_FAILED = 7;
    • OPERATION_FEATURE_NOT_SUPPORTED

      public static final Rollout.FailureCause OPERATION_FEATURE_NOT_SUPPORTED
       A Rollout operation had a feature configured that is not supported.
       
      OPERATION_FEATURE_NOT_SUPPORTED = 8;
    • UNRECOGNIZED

      public static final Rollout.FailureCause UNRECOGNIZED
  • Field Details

    • FAILURE_CAUSE_UNSPECIFIED_VALUE

      public static final int FAILURE_CAUSE_UNSPECIFIED_VALUE
       No reason for failure is specified.
       
      FAILURE_CAUSE_UNSPECIFIED = 0;
      See Also:
    • CLOUD_BUILD_UNAVAILABLE_VALUE

      public static final int CLOUD_BUILD_UNAVAILABLE_VALUE
       Cloud Build is not available, either because it is not enabled or because
       Cloud Deploy has insufficient permissions. See [required
       permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
       
      CLOUD_BUILD_UNAVAILABLE = 1;
      See Also:
    • EXECUTION_FAILED_VALUE

      public static final int EXECUTION_FAILED_VALUE
       The deploy operation did not complete successfully; check Cloud Build
       logs.
       
      EXECUTION_FAILED = 2;
      See Also:
    • DEADLINE_EXCEEDED_VALUE

      public static final int DEADLINE_EXCEEDED_VALUE
       Deployment did not complete within the allotted time.
       
      DEADLINE_EXCEEDED = 3;
      See Also:
    • RELEASE_FAILED_VALUE

      public static final int RELEASE_FAILED_VALUE
       Release is in a failed state.
       
      RELEASE_FAILED = 4;
      See Also:
    • RELEASE_ABANDONED_VALUE

      public static final int RELEASE_ABANDONED_VALUE
       Release is abandoned.
       
      RELEASE_ABANDONED = 5;
      See Also:
    • VERIFICATION_CONFIG_NOT_FOUND_VALUE

      public static final int VERIFICATION_CONFIG_NOT_FOUND_VALUE
       No Skaffold verify configuration was found.
       
      VERIFICATION_CONFIG_NOT_FOUND = 6;
      See Also:
    • CLOUD_BUILD_REQUEST_FAILED_VALUE

      public static final int CLOUD_BUILD_REQUEST_FAILED_VALUE
       Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
       for additional details.
       
      CLOUD_BUILD_REQUEST_FAILED = 7;
      See Also:
    • OPERATION_FEATURE_NOT_SUPPORTED_VALUE

      public static final int OPERATION_FEATURE_NOT_SUPPORTED_VALUE
       A Rollout operation had a feature configured that is not supported.
       
      OPERATION_FEATURE_NOT_SUPPORTED = 8;
      See Also:
  • Method Details

    • values

      public static Rollout.FailureCause[] 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 Rollout.FailureCause 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 Rollout.FailureCause 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 Rollout.FailureCause 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<Rollout.FailureCause> 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 Rollout.FailureCause 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