Package com.google.cloud.deploy.v1
Enum ExecutionConfig.ExecutionEnvironmentUsage
java.lang.Object
java.lang.Enum<ExecutionConfig.ExecutionEnvironmentUsage>
com.google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ExecutionConfig.ExecutionEnvironmentUsage>
- Enclosing class:
- ExecutionConfig
public static enum ExecutionConfig.ExecutionEnvironmentUsage
extends Enum<ExecutionConfig.ExecutionEnvironmentUsage>
implements com.google.protobuf.ProtocolMessageEnum
Possible usages of this configuration.Protobuf enum
google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse for deploying and deployment hooks.Default value.Use for postdeploy job execution.Use for predeploy job execution.Use for rendering.Use for deployment verification. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUse for deploying and deployment hooks.static final intDefault value.static final intUse for postdeploy job execution.static final intUse for predeploy job execution.static final intUse for rendering.static final intUse for deployment verification. -
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<ExecutionConfig.ExecutionEnvironmentUsage>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.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED
public static final ExecutionConfig.ExecutionEnvironmentUsage EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIEDDefault value. This value is unused.
EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0; -
RENDER
Use for rendering.
RENDER = 1; -
DEPLOY
Use for deploying and deployment hooks.
DEPLOY = 2; -
VERIFY
Use for deployment verification.
VERIFY = 3; -
PREDEPLOY
Use for predeploy job execution.
PREDEPLOY = 4; -
POSTDEPLOY
Use for postdeploy job execution.
POSTDEPLOY = 5; -
UNRECOGNIZED
-
-
Field Details
-
EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED_VALUE
public static final int EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED_VALUEDefault value. This value is unused.
EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED = 0;- See Also:
-
RENDER_VALUE
public static final int RENDER_VALUEUse for rendering.
RENDER = 1;- See Also:
-
DEPLOY_VALUE
public static final int DEPLOY_VALUEUse for deploying and deployment hooks.
DEPLOY = 2;- See Also:
-
VERIFY_VALUE
public static final int VERIFY_VALUEUse for deployment verification.
VERIFY = 3;- See Also:
-
PREDEPLOY_VALUE
public static final int PREDEPLOY_VALUEUse for predeploy job execution.
PREDEPLOY = 4;- See Also:
-
POSTDEPLOY_VALUE
public static final int POSTDEPLOY_VALUEUse for postdeploy job execution.
POSTDEPLOY = 5;- 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<ExecutionConfig.ExecutionEnvironmentUsage> 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 ExecutionConfig.ExecutionEnvironmentUsage 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
-