Package com.google.cloud.config.v1
Enum DeploymentUnitProgress.State
java.lang.Object
java.lang.Enum<DeploymentUnitProgress.State>
com.google.cloud.config.v1.DeploymentUnitProgress.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DeploymentUnitProgress.State>
- Enclosing class:
- DeploymentUnitProgress
public static enum DeploymentUnitProgress.State
extends Enum<DeploymentUnitProgress.State>
implements com.google.protobuf.ProtocolMessageEnum
The possible steps a deployment unit provisioning may be running.Protobuf enum
google.cloud.config.v1.DeploymentUnitProgress.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe deployment unit was aborted, likely due to failures in other dependent deployment units.The underlying deployment of the unit is being created or updated.The deployment is being deleted.The underlying deployment operation of the unit has failed.The deployment is being previewed.The deployment unit is queued for deployment creation or update.The deployment unit was skipped because there were no changes to apply.The default value.The underlying deployment operation of the unit has succeeded. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe deployment unit was aborted, likely due to failures in other dependent deployment units.static final intThe underlying deployment of the unit is being created or updated.static final intThe deployment is being deleted.static final intThe underlying deployment operation of the unit has failed.static final intThe deployment is being previewed.static final intThe deployment unit is queued for deployment creation or update.static final intThe deployment unit was skipped because there were no changes to apply.static final intThe default value.static final intThe underlying deployment operation of the unit has succeeded. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeploymentUnitProgress.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DeploymentUnitProgress.State>static DeploymentUnitProgress.StatevalueOf(int value) Deprecated.static DeploymentUnitProgress.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DeploymentUnitProgress.StateReturns the enum constant of this type with the specified name.static DeploymentUnitProgress.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
The default value. This value is unused.
STATE_UNSPECIFIED = 0; -
QUEUED
The deployment unit is queued for deployment creation or update.
QUEUED = 1; -
APPLYING_DEPLOYMENT
The underlying deployment of the unit is being created or updated.
APPLYING_DEPLOYMENT = 2; -
SUCCEEDED
The underlying deployment operation of the unit has succeeded.
SUCCEEDED = 4; -
FAILED
The underlying deployment operation of the unit has failed.
FAILED = 5; -
ABORTED
The deployment unit was aborted, likely due to failures in other dependent deployment units.
ABORTED = 6; -
SKIPPED
The deployment unit was skipped because there were no changes to apply.
SKIPPED = 7; -
DELETING_DEPLOYMENT
The deployment is being deleted.
DELETING_DEPLOYMENT = 8; -
PREVIEWING_DEPLOYMENT
The deployment is being previewed.
PREVIEWING_DEPLOYMENT = 9; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEThe default value. This value is unused.
STATE_UNSPECIFIED = 0;- See Also:
-
QUEUED_VALUE
public static final int QUEUED_VALUEThe deployment unit is queued for deployment creation or update.
QUEUED = 1;- See Also:
-
APPLYING_DEPLOYMENT_VALUE
public static final int APPLYING_DEPLOYMENT_VALUEThe underlying deployment of the unit is being created or updated.
APPLYING_DEPLOYMENT = 2;- See Also:
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUEThe underlying deployment operation of the unit has succeeded.
SUCCEEDED = 4;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEThe underlying deployment operation of the unit has failed.
FAILED = 5;- See Also:
-
ABORTED_VALUE
public static final int ABORTED_VALUEThe deployment unit was aborted, likely due to failures in other dependent deployment units.
ABORTED = 6;- See Also:
-
SKIPPED_VALUE
public static final int SKIPPED_VALUEThe deployment unit was skipped because there were no changes to apply.
SKIPPED = 7;- See Also:
-
DELETING_DEPLOYMENT_VALUE
public static final int DELETING_DEPLOYMENT_VALUEThe deployment is being deleted.
DELETING_DEPLOYMENT = 8;- See Also:
-
PREVIEWING_DEPLOYMENT_VALUE
public static final int PREVIEWING_DEPLOYMENT_VALUEThe deployment is being previewed.
PREVIEWING_DEPLOYMENT = 9;- 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<DeploymentUnitProgress.State> 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 DeploymentUnitProgress.State 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
-