Package com.google.cloud.config.v1
Enum Deployment.ErrorCode
- java.lang.Object
-
- java.lang.Enum<Deployment.ErrorCode>
-
- com.google.cloud.config.v1.Deployment.ErrorCode
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Deployment.ErrorCode>
- Enclosing class:
- Deployment
public static enum Deployment.ErrorCode extends Enum<Deployment.ErrorCode> implements com.google.protobuf.ProtocolMessageEnum
Possible errors that can occur with deployments.
Protobuf enumgoogle.cloud.config.v1.Deployment.ErrorCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUCKET_CREATION_FAILED
Cloud Storage bucket creation failed due to an issue unrelated to permissions.BUCKET_CREATION_PERMISSION_DENIED
Cloud Storage bucket creation failed due to a permission issue.CLOUD_BUILD_PERMISSION_DENIED
Cloud Build failed due to a permission issue.DELETE_BUILD_API_FAILED
Cloud Build job associated with a deployment deletion could not be started.DELETE_BUILD_RUN_FAILED
Cloud Build job associated with a deployment deletion was started but failed.ERROR_CODE_UNSPECIFIED
No error code was specified.REVISION_FAILED
The revision failed.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
BUCKET_CREATION_FAILED_VALUE
Cloud Storage bucket creation failed due to an issue unrelated to permissions.static int
BUCKET_CREATION_PERMISSION_DENIED_VALUE
Cloud Storage bucket creation failed due to a permission issue.static int
CLOUD_BUILD_PERMISSION_DENIED_VALUE
Cloud Build failed due to a permission issue.static int
DELETE_BUILD_API_FAILED_VALUE
Cloud Build job associated with a deployment deletion could not be started.static int
DELETE_BUILD_RUN_FAILED_VALUE
Cloud Build job associated with a deployment deletion was started but failed.static int
ERROR_CODE_UNSPECIFIED_VALUE
No error code was specified.static int
REVISION_FAILED_VALUE
The revision failed.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Deployment.ErrorCode
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<Deployment.ErrorCode>
internalGetValueMap()
static Deployment.ErrorCode
valueOf(int value)
Deprecated.static Deployment.ErrorCode
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Deployment.ErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static Deployment.ErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR_CODE_UNSPECIFIED
public static final Deployment.ErrorCode ERROR_CODE_UNSPECIFIED
No error code was specified.
ERROR_CODE_UNSPECIFIED = 0;
-
REVISION_FAILED
public static final Deployment.ErrorCode REVISION_FAILED
The revision failed. See Revision for more details.
REVISION_FAILED = 1;
-
CLOUD_BUILD_PERMISSION_DENIED
public static final Deployment.ErrorCode CLOUD_BUILD_PERMISSION_DENIED
Cloud Build failed due to a permission issue.
CLOUD_BUILD_PERMISSION_DENIED = 3;
-
DELETE_BUILD_API_FAILED
public static final Deployment.ErrorCode DELETE_BUILD_API_FAILED
Cloud Build job associated with a deployment deletion could not be started.
DELETE_BUILD_API_FAILED = 5;
-
DELETE_BUILD_RUN_FAILED
public static final Deployment.ErrorCode DELETE_BUILD_RUN_FAILED
Cloud Build job associated with a deployment deletion was started but failed.
DELETE_BUILD_RUN_FAILED = 6;
-
BUCKET_CREATION_PERMISSION_DENIED
public static final Deployment.ErrorCode BUCKET_CREATION_PERMISSION_DENIED
Cloud Storage bucket creation failed due to a permission issue.
BUCKET_CREATION_PERMISSION_DENIED = 7;
-
BUCKET_CREATION_FAILED
public static final Deployment.ErrorCode BUCKET_CREATION_FAILED
Cloud Storage bucket creation failed due to an issue unrelated to permissions.
BUCKET_CREATION_FAILED = 8;
-
UNRECOGNIZED
public static final Deployment.ErrorCode UNRECOGNIZED
-
-
Field Detail
-
ERROR_CODE_UNSPECIFIED_VALUE
public static final int ERROR_CODE_UNSPECIFIED_VALUE
No error code was specified.
ERROR_CODE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
REVISION_FAILED_VALUE
public static final int REVISION_FAILED_VALUE
The revision failed. See Revision for more details.
REVISION_FAILED = 1;
- See Also:
- Constant Field Values
-
CLOUD_BUILD_PERMISSION_DENIED_VALUE
public static final int CLOUD_BUILD_PERMISSION_DENIED_VALUE
Cloud Build failed due to a permission issue.
CLOUD_BUILD_PERMISSION_DENIED = 3;
- See Also:
- Constant Field Values
-
DELETE_BUILD_API_FAILED_VALUE
public static final int DELETE_BUILD_API_FAILED_VALUE
Cloud Build job associated with a deployment deletion could not be started.
DELETE_BUILD_API_FAILED = 5;
- See Also:
- Constant Field Values
-
DELETE_BUILD_RUN_FAILED_VALUE
public static final int DELETE_BUILD_RUN_FAILED_VALUE
Cloud Build job associated with a deployment deletion was started but failed.
DELETE_BUILD_RUN_FAILED = 6;
- See Also:
- Constant Field Values
-
BUCKET_CREATION_PERMISSION_DENIED_VALUE
public static final int BUCKET_CREATION_PERMISSION_DENIED_VALUE
Cloud Storage bucket creation failed due to a permission issue.
BUCKET_CREATION_PERMISSION_DENIED = 7;
- See Also:
- Constant Field Values
-
BUCKET_CREATION_FAILED_VALUE
public static final int BUCKET_CREATION_FAILED_VALUE
Cloud Storage bucket creation failed due to an issue unrelated to permissions.
BUCKET_CREATION_FAILED = 8;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Deployment.ErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Deployment.ErrorCode c : Deployment.ErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Deployment.ErrorCode 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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Deployment.ErrorCode 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 nameNullPointerException
- if the argument is null
-
forNumber
public static Deployment.ErrorCode 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<Deployment.ErrorCode> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Deployment.ErrorCode 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
-
-