public static enum Release.TargetRender.FailureCause extends Enum<Release.TargetRender.FailureCause> implements com.google.protobuf.ProtocolMessageEnum
Well-known rendering failures.Protobuf enum
google.cloud.deploy.v1.Release.TargetRender.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.
|
CUSTOM_ACTION_NOT_FOUND
The render operation did not complete successfully because the custom
action required for predeploy or postdeploy was not found in the
Skaffold configuration.
|
DEPLOYMENT_STRATEGY_NOT_SUPPORTED
Release failed during rendering because the release configuration is
not supported with the specified deployment strategy.
|
EXECUTION_FAILED
The render operation did not complete successfully; check Cloud Build
logs.
|
FAILURE_CAUSE_UNSPECIFIED
No reason for failure is specified.
|
RENDER_FEATURE_NOT_SUPPORTED
The render operation had a feature configured that is not supported.
|
UNRECOGNIZED |
VERIFICATION_CONFIG_NOT_FOUND
The render operation did not complete successfully because the
verification stanza required for verify was not found on the Skaffold
configuration.
|
| 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 |
CUSTOM_ACTION_NOT_FOUND_VALUE
The render operation did not complete successfully because the custom
action required for predeploy or postdeploy was not found in the
Skaffold configuration.
|
static int |
DEPLOYMENT_STRATEGY_NOT_SUPPORTED_VALUE
Release failed during rendering because the release configuration is
not supported with the specified deployment strategy.
|
static int |
EXECUTION_FAILED_VALUE
The render operation did not complete successfully; check Cloud Build
logs.
|
static int |
FAILURE_CAUSE_UNSPECIFIED_VALUE
No reason for failure is specified.
|
static int |
RENDER_FEATURE_NOT_SUPPORTED_VALUE
The render operation had a feature configured that is not supported.
|
static int |
VERIFICATION_CONFIG_NOT_FOUND_VALUE
The render operation did not complete successfully because the
verification stanza required for verify was not found on the Skaffold
configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static Release.TargetRender.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<Release.TargetRender.FailureCause> |
internalGetValueMap() |
static Release.TargetRender.FailureCause |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Release.TargetRender.FailureCause |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Release.TargetRender.FailureCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Release.TargetRender.FailureCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Release.TargetRender.FailureCause FAILURE_CAUSE_UNSPECIFIED
No reason for failure is specified.
FAILURE_CAUSE_UNSPECIFIED = 0;public static final Release.TargetRender.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 Release.TargetRender.FailureCause EXECUTION_FAILED
The render operation did not complete successfully; check Cloud Build logs.
EXECUTION_FAILED = 2;public static final Release.TargetRender.FailureCause CLOUD_BUILD_REQUEST_FAILED
Cloud Build failed to fulfill Cloud Deploy's request. See failure_message for additional details.
CLOUD_BUILD_REQUEST_FAILED = 3;public static final Release.TargetRender.FailureCause VERIFICATION_CONFIG_NOT_FOUND
The render operation did not complete successfully because the verification stanza required for verify was not found on the Skaffold configuration.
VERIFICATION_CONFIG_NOT_FOUND = 4;public static final Release.TargetRender.FailureCause CUSTOM_ACTION_NOT_FOUND
The render operation did not complete successfully because the custom action required for predeploy or postdeploy was not found in the Skaffold configuration. See failure_message for additional details.
CUSTOM_ACTION_NOT_FOUND = 5;public static final Release.TargetRender.FailureCause DEPLOYMENT_STRATEGY_NOT_SUPPORTED
Release failed during rendering because the release configuration is not supported with the specified deployment strategy.
DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6;public static final Release.TargetRender.FailureCause RENDER_FEATURE_NOT_SUPPORTED
The render operation had a feature configured that is not supported.
RENDER_FEATURE_NOT_SUPPORTED = 7;public static final Release.TargetRender.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 render operation did not complete successfully; check Cloud Build logs.
EXECUTION_FAILED = 2;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 = 3;public static final int VERIFICATION_CONFIG_NOT_FOUND_VALUE
The render operation did not complete successfully because the verification stanza required for verify was not found on the Skaffold configuration.
VERIFICATION_CONFIG_NOT_FOUND = 4;public static final int CUSTOM_ACTION_NOT_FOUND_VALUE
The render operation did not complete successfully because the custom action required for predeploy or postdeploy was not found in the Skaffold configuration. See failure_message for additional details.
CUSTOM_ACTION_NOT_FOUND = 5;public static final int DEPLOYMENT_STRATEGY_NOT_SUPPORTED_VALUE
Release failed during rendering because the release configuration is not supported with the specified deployment strategy.
DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6;public static final int RENDER_FEATURE_NOT_SUPPORTED_VALUE
The render operation had a feature configured that is not supported.
RENDER_FEATURE_NOT_SUPPORTED = 7;public static Release.TargetRender.FailureCause[] values()
for (Release.TargetRender.FailureCause c : Release.TargetRender.FailureCause.values()) System.out.println(c);
public static Release.TargetRender.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 Release.TargetRender.FailureCause valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Release.TargetRender.FailureCause forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Release.TargetRender.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 Release.TargetRender.FailureCause valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.