public static enum DeployJobRun.FailureCause extends Enum<DeployJobRun.FailureCause> implements com.google.protobuf.ProtocolMessageEnum
Well-known deploy failures.Protobuf enum
google.cloud.deploy.v1.DeployJobRun.FailureCause| Enum Constant and Description |
|---|
CLOUD_BUILD_REQUEST_FAILED
Cloud Build failed to fulfill Cloud Deploy's request.
|
CLOUD_BUILD_UNAVAILABLE
Cloud Build is not available, either because it is not enabled or because
Cloud Deploy has insufficient permissions.
|
DEADLINE_EXCEEDED
The deploy job run did not complete within the alloted time.
|
DEPLOY_FEATURE_NOT_SUPPORTED
The deploy operation had a feature configured that is not supported.
|
EXECUTION_FAILED
The deploy operation did not complete successfully; check Cloud Build
logs.
|
FAILURE_CAUSE_UNSPECIFIED
No reason for failure is specified.
|
MISSING_RESOURCES_FOR_CANARY
There were missing resources in the runtime environment required for a
canary deployment.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLOUD_BUILD_REQUEST_FAILED_VALUE
Cloud Build failed to fulfill Cloud Deploy's request.
|
static int |
CLOUD_BUILD_UNAVAILABLE_VALUE
Cloud Build is not available, either because it is not enabled or because
Cloud Deploy has insufficient permissions.
|
static int |
DEADLINE_EXCEEDED_VALUE
The deploy job run did not complete within the alloted time.
|
static int |
DEPLOY_FEATURE_NOT_SUPPORTED_VALUE
The deploy operation had a feature configured that is not supported.
|
static int |
EXECUTION_FAILED_VALUE
The deploy operation did not complete successfully; check Cloud Build
logs.
|
static int |
FAILURE_CAUSE_UNSPECIFIED_VALUE
No reason for failure is specified.
|
static int |
MISSING_RESOURCES_FOR_CANARY_VALUE
There were missing resources in the runtime environment required for a
canary deployment.
|
| Modifier and Type | Method and Description |
|---|---|
static DeployJobRun.FailureCause |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<DeployJobRun.FailureCause> |
internalGetValueMap() |
static DeployJobRun.FailureCause |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DeployJobRun.FailureCause |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DeployJobRun.FailureCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeployJobRun.FailureCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeployJobRun.FailureCause FAILURE_CAUSE_UNSPECIFIED
No reason for failure is specified.
FAILURE_CAUSE_UNSPECIFIED = 0;public static final DeployJobRun.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;public static final DeployJobRun.FailureCause EXECUTION_FAILED
The deploy operation did not complete successfully; check Cloud Build logs.
EXECUTION_FAILED = 2;public static final DeployJobRun.FailureCause DEADLINE_EXCEEDED
The deploy job run did not complete within the alloted time.
DEADLINE_EXCEEDED = 3;public static final DeployJobRun.FailureCause MISSING_RESOURCES_FOR_CANARY
There were missing resources in the runtime environment required for a canary deployment. Check the Cloud Build logs for more information.
MISSING_RESOURCES_FOR_CANARY = 4;public static final DeployJobRun.FailureCause CLOUD_BUILD_REQUEST_FAILED
Cloud Build failed to fulfill Cloud Deploy's request. See failure_message for additional details.
CLOUD_BUILD_REQUEST_FAILED = 5;public static final DeployJobRun.FailureCause DEPLOY_FEATURE_NOT_SUPPORTED
The deploy operation had a feature configured that is not supported.
DEPLOY_FEATURE_NOT_SUPPORTED = 6;public static final DeployJobRun.FailureCause UNRECOGNIZED
public static final int FAILURE_CAUSE_UNSPECIFIED_VALUE
No reason for failure is specified.
FAILURE_CAUSE_UNSPECIFIED = 0;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;public static final int EXECUTION_FAILED_VALUE
The deploy operation did not complete successfully; check Cloud Build logs.
EXECUTION_FAILED = 2;public static final int DEADLINE_EXCEEDED_VALUE
The deploy job run did not complete within the alloted time.
DEADLINE_EXCEEDED = 3;public static final int MISSING_RESOURCES_FOR_CANARY_VALUE
There were missing resources in the runtime environment required for a canary deployment. Check the Cloud Build logs for more information.
MISSING_RESOURCES_FOR_CANARY = 4;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 = 5;public static final int DEPLOY_FEATURE_NOT_SUPPORTED_VALUE
The deploy operation had a feature configured that is not supported.
DEPLOY_FEATURE_NOT_SUPPORTED = 6;public static DeployJobRun.FailureCause[] values()
for (DeployJobRun.FailureCause c : DeployJobRun.FailureCause.values()) System.out.println(c);
public static DeployJobRun.FailureCause valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static DeployJobRun.FailureCause valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DeployJobRun.FailureCause forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DeployJobRun.FailureCause> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DeployJobRun.FailureCause valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.