Package com.google.cloud.deploy.v1
Enum Release.TargetRender.FailureCause
java.lang.Object
java.lang.Enum<Release.TargetRender.FailureCause>
com.google.cloud.deploy.v1.Release.TargetRender.FailureCause
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Release.TargetRender.FailureCause>
- Enclosing class:
- Release.TargetRender
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 Summary
Enum ConstantsEnum ConstantDescriptionCloud Build failed to fulfill Cloud Deploy's request.Cloud Build is not available, either because it is not enabled or because Cloud Deploy has insufficient permissions.The render operation did not complete successfully because the custom action(s) required for Rollout jobs were not found in the Skaffold configuration.Release failed during rendering because the release configuration is not supported with the specified deployment strategy.The render operation did not complete successfully; check Cloud Build logs.No reason for failure is specified.The render operation had a feature configured that is not supported.The render operation did not complete successfully because the verification stanza required for verify was not found on the Skaffold configuration. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCloud Build failed to fulfill Cloud Deploy's request.static final intCloud Build is not available, either because it is not enabled or because Cloud Deploy has insufficient permissions.static final intThe render operation did not complete successfully because the custom action(s) required for Rollout jobs were not found in the Skaffold configuration.static final intRelease failed during rendering because the release configuration is not supported with the specified deployment strategy.static final intThe render operation did not complete successfully; check Cloud Build logs.static final intNo reason for failure is specified.static final intThe render operation had a feature configured that is not supported.static final intThe render operation did not complete successfully because the verification stanza required for verify was not found on the Skaffold configuration. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Release.TargetRender.FailureCause>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified 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.
-
Enum Constant Details
-
FAILURE_CAUSE_UNSPECIFIED
No reason for failure is specified.
FAILURE_CAUSE_UNSPECIFIED = 0; -
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
The render operation did not complete successfully; check Cloud Build logs.
EXECUTION_FAILED = 2; -
CLOUD_BUILD_REQUEST_FAILED
Cloud Build failed to fulfill Cloud Deploy's request. See failure_message for additional details.
CLOUD_BUILD_REQUEST_FAILED = 3; -
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; -
CUSTOM_ACTION_NOT_FOUND
The render operation did not complete successfully because the custom action(s) required for Rollout jobs were not found in the Skaffold configuration. See failure_message for additional details.
CUSTOM_ACTION_NOT_FOUND = 5; -
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; -
RENDER_FEATURE_NOT_SUPPORTED
The render operation had a feature configured that is not supported.
RENDER_FEATURE_NOT_SUPPORTED = 7; -
UNRECOGNIZED
-
-
Field Details
-
FAILURE_CAUSE_UNSPECIFIED_VALUE
public static final int FAILURE_CAUSE_UNSPECIFIED_VALUENo reason for failure is specified.
FAILURE_CAUSE_UNSPECIFIED = 0;- See Also:
-
CLOUD_BUILD_UNAVAILABLE_VALUE
public static final int CLOUD_BUILD_UNAVAILABLE_VALUECloud 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_VALUEThe render operation did not complete successfully; check Cloud Build logs.
EXECUTION_FAILED = 2;- See Also:
-
CLOUD_BUILD_REQUEST_FAILED_VALUE
public static final int CLOUD_BUILD_REQUEST_FAILED_VALUECloud Build failed to fulfill Cloud Deploy's request. See failure_message for additional details.
CLOUD_BUILD_REQUEST_FAILED = 3;- See Also:
-
VERIFICATION_CONFIG_NOT_FOUND_VALUE
public static final int VERIFICATION_CONFIG_NOT_FOUND_VALUEThe 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;- See Also:
-
CUSTOM_ACTION_NOT_FOUND_VALUE
public static final int CUSTOM_ACTION_NOT_FOUND_VALUEThe render operation did not complete successfully because the custom action(s) required for Rollout jobs were not found in the Skaffold configuration. See failure_message for additional details.
CUSTOM_ACTION_NOT_FOUND = 5;- See Also:
-
DEPLOYMENT_STRATEGY_NOT_SUPPORTED_VALUE
public static final int DEPLOYMENT_STRATEGY_NOT_SUPPORTED_VALUERelease failed during rendering because the release configuration is not supported with the specified deployment strategy.
DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6;- See Also:
-
RENDER_FEATURE_NOT_SUPPORTED_VALUE
public static final int RENDER_FEATURE_NOT_SUPPORTED_VALUEThe render operation had a feature configured that is not supported.
RENDER_FEATURE_NOT_SUPPORTED = 7;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- 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<Release.TargetRender.FailureCause> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Release.TargetRender.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 nameNullPointerException- if the argument is null
-