Package com.google.cloud.config.v1
Enum Revision.ErrorCode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Revision.ErrorCode>
- Enclosing class:
- Revision
public static enum Revision.ErrorCode
extends Enum<Revision.ErrorCode>
implements com.google.protobuf.ProtocolMessageEnum
Possible errors if Revision could not be created or updated successfully.Protobuf enum
google.cloud.config.v1.Revision.ErrorCode-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCloud Build job associated with creating or updating a deployment could not be started.Cloud Build job associated with creating or updating a deployment was started but failed.Cloud Build failed due to a permission issue.No error code was specified.Failed to import values from an external source.quota validation failed for one or more resources in terraform configuration files. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCloud Build job associated with creating or updating a deployment could not be started.static final intCloud Build job associated with creating or updating a deployment was started but failed.static final intCloud Build failed due to a permission issue.static final intNo error code was specified.static final intFailed to import values from an external source.static final intquota validation failed for one or more resources in terraform configuration files. -
Method Summary
Modifier and TypeMethodDescriptionstatic Revision.ErrorCodeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Revision.ErrorCode>static Revision.ErrorCodevalueOf(int value) Deprecated.static Revision.ErrorCodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Revision.ErrorCodeReturns the enum constant of this type with the specified name.static Revision.ErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ERROR_CODE_UNSPECIFIED
No error code was specified.
ERROR_CODE_UNSPECIFIED = 0; -
CLOUD_BUILD_PERMISSION_DENIED
Cloud Build failed due to a permission issue.
CLOUD_BUILD_PERMISSION_DENIED = 1; -
APPLY_BUILD_API_FAILED
Cloud Build job associated with creating or updating a deployment could not be started.
APPLY_BUILD_API_FAILED = 4; -
APPLY_BUILD_RUN_FAILED
Cloud Build job associated with creating or updating a deployment was started but failed.
APPLY_BUILD_RUN_FAILED = 5; -
QUOTA_VALIDATION_FAILED
quota validation failed for one or more resources in terraform configuration files.
QUOTA_VALIDATION_FAILED = 7; -
EXTERNAL_VALUE_SOURCE_IMPORT_FAILED
Failed to import values from an external source.
EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 8; -
UNRECOGNIZED
-
-
Field Details
-
ERROR_CODE_UNSPECIFIED_VALUE
public static final int ERROR_CODE_UNSPECIFIED_VALUENo error code was specified.
ERROR_CODE_UNSPECIFIED = 0;- See Also:
-
CLOUD_BUILD_PERMISSION_DENIED_VALUE
public static final int CLOUD_BUILD_PERMISSION_DENIED_VALUECloud Build failed due to a permission issue.
CLOUD_BUILD_PERMISSION_DENIED = 1;- See Also:
-
APPLY_BUILD_API_FAILED_VALUE
public static final int APPLY_BUILD_API_FAILED_VALUECloud Build job associated with creating or updating a deployment could not be started.
APPLY_BUILD_API_FAILED = 4;- See Also:
-
APPLY_BUILD_RUN_FAILED_VALUE
public static final int APPLY_BUILD_RUN_FAILED_VALUECloud Build job associated with creating or updating a deployment was started but failed.
APPLY_BUILD_RUN_FAILED = 5;- See Also:
-
QUOTA_VALIDATION_FAILED_VALUE
public static final int QUOTA_VALIDATION_FAILED_VALUEquota validation failed for one or more resources in terraform configuration files.
QUOTA_VALIDATION_FAILED = 7;- See Also:
-
EXTERNAL_VALUE_SOURCE_IMPORT_FAILED_VALUE
public static final int EXTERNAL_VALUE_SOURCE_IMPORT_FAILED_VALUEFailed to import values from an external source.
EXTERNAL_VALUE_SOURCE_IMPORT_FAILED = 8;- 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
-
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
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
-