Package com.google.cloud.config.v1
Enum PreviewOperationMetadata.PreviewStep
java.lang.Object
java.lang.Enum<PreviewOperationMetadata.PreviewStep>
com.google.cloud.config.v1.PreviewOperationMetadata.PreviewStep
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PreviewOperationMetadata.PreviewStep>
- Enclosing class:
- PreviewOperationMetadata
public static enum PreviewOperationMetadata.PreviewStep
extends Enum<PreviewOperationMetadata.PreviewStep>
implements com.google.protobuf.ProtocolMessageEnum
The possible steps a preview may be running.Protobuf enum
google.cloud.config.v1.PreviewOperationMetadata.PreviewStep-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDownloading the blueprint onto the Google Cloud Storage bucket.Operation failed.Fetching a deployment.Locking a deployment.Infra Manager is creating a Google Cloud Storage bucket to store artifacts and metadata about the preview.Unspecified preview step.Initializing Terraform using `terraform init`.Running `terraform plan`.Operation was successful.Unlocking a deployment.Validating the provided repository. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDownloading the blueprint onto the Google Cloud Storage bucket.static final intOperation failed.static final intFetching a deployment.static final intLocking a deployment.static final intInfra Manager is creating a Google Cloud Storage bucket to store artifacts and metadata about the preview.static final intUnspecified preview step.static final intInitializing Terraform using `terraform init`.static final intRunning `terraform plan`.static final intOperation was successful.static final intUnlocking a deployment.static final intValidating the provided repository. -
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<PreviewOperationMetadata.PreviewStep>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 PreviewOperationMetadata.PreviewStep[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PREVIEW_STEP_UNSPECIFIED
Unspecified preview step.
PREVIEW_STEP_UNSPECIFIED = 0; -
PREPARING_STORAGE_BUCKET
Infra Manager is creating a Google Cloud Storage bucket to store artifacts and metadata about the preview.
PREPARING_STORAGE_BUCKET = 1; -
DOWNLOADING_BLUEPRINT
Downloading the blueprint onto the Google Cloud Storage bucket.
DOWNLOADING_BLUEPRINT = 2; -
RUNNING_TF_INIT
Initializing Terraform using `terraform init`.
RUNNING_TF_INIT = 3; -
RUNNING_TF_PLAN
Running `terraform plan`.
RUNNING_TF_PLAN = 4; -
FETCHING_DEPLOYMENT
Fetching a deployment.
FETCHING_DEPLOYMENT = 5; -
LOCKING_DEPLOYMENT
Locking a deployment.
LOCKING_DEPLOYMENT = 6; -
UNLOCKING_DEPLOYMENT
Unlocking a deployment.
UNLOCKING_DEPLOYMENT = 7; -
SUCCEEDED
Operation was successful.
SUCCEEDED = 8; -
FAILED
Operation failed.
FAILED = 9; -
VALIDATING_REPOSITORY
Validating the provided repository.
VALIDATING_REPOSITORY = 10; -
UNRECOGNIZED
-
-
Field Details
-
PREVIEW_STEP_UNSPECIFIED_VALUE
public static final int PREVIEW_STEP_UNSPECIFIED_VALUEUnspecified preview step.
PREVIEW_STEP_UNSPECIFIED = 0;- See Also:
-
PREPARING_STORAGE_BUCKET_VALUE
public static final int PREPARING_STORAGE_BUCKET_VALUEInfra Manager is creating a Google Cloud Storage bucket to store artifacts and metadata about the preview.
PREPARING_STORAGE_BUCKET = 1;- See Also:
-
DOWNLOADING_BLUEPRINT_VALUE
public static final int DOWNLOADING_BLUEPRINT_VALUEDownloading the blueprint onto the Google Cloud Storage bucket.
DOWNLOADING_BLUEPRINT = 2;- See Also:
-
RUNNING_TF_INIT_VALUE
public static final int RUNNING_TF_INIT_VALUEInitializing Terraform using `terraform init`.
RUNNING_TF_INIT = 3;- See Also:
-
RUNNING_TF_PLAN_VALUE
public static final int RUNNING_TF_PLAN_VALUERunning `terraform plan`.
RUNNING_TF_PLAN = 4;- See Also:
-
FETCHING_DEPLOYMENT_VALUE
public static final int FETCHING_DEPLOYMENT_VALUEFetching a deployment.
FETCHING_DEPLOYMENT = 5;- See Also:
-
LOCKING_DEPLOYMENT_VALUE
public static final int LOCKING_DEPLOYMENT_VALUELocking a deployment.
LOCKING_DEPLOYMENT = 6;- See Also:
-
UNLOCKING_DEPLOYMENT_VALUE
public static final int UNLOCKING_DEPLOYMENT_VALUEUnlocking a deployment.
UNLOCKING_DEPLOYMENT = 7;- See Also:
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUEOperation was successful.
SUCCEEDED = 8;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEOperation failed.
FAILED = 9;- See Also:
-
VALIDATING_REPOSITORY_VALUE
public static final int VALIDATING_REPOSITORY_VALUEValidating the provided repository.
VALIDATING_REPOSITORY = 10;- 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<PreviewOperationMetadata.PreviewStep> 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 PreviewOperationMetadata.PreviewStep 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
-