Package com.google.cloud.compute.v1
Enum PerInstanceConfig.Status
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PerInstanceConfig.Status>
- Enclosing class:
- PerInstanceConfig
public static enum PerInstanceConfig.Status
extends Enum<PerInstanceConfig.Status>
implements com.google.protobuf.ProtocolMessageEnum
The status of applying this per-instance configuration on the corresponding managed instance.Protobuf enum
google.cloud.compute.v1.PerInstanceConfig.Status-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe per-instance configuration is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example,REFRESH.The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH.The per-instance configuration is effective on the instance, meaning that all disks, ips and metadata specified in this configuration are attached or set on the instance.*[Default]* The default status, when no per-instance configuration exists.The per-instance configuration is set on an instance but not been applied yet.The per-instance configuration has been deleted, but the deletion is not yet applied.A value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe per-instance configuration is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example,REFRESH.static final intThe per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH.static final intThe per-instance configuration is effective on the instance, meaning that all disks, ips and metadata specified in this configuration are attached or set on the instance.static final int*[Default]* The default status, when no per-instance configuration exists.static final intThe per-instance configuration has been deleted, but the deletion is not yet applied.static final intThe per-instance configuration is set on an instance but not been applied yet.static final intA value indicating that the enum field is not set. -
Method Summary
Modifier and TypeMethodDescriptionstatic PerInstanceConfig.StatusforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PerInstanceConfig.Status>static PerInstanceConfig.StatusvalueOf(int value) Deprecated.static PerInstanceConfig.StatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static PerInstanceConfig.StatusReturns the enum constant of this type with the specified name.static PerInstanceConfig.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_STATUS
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0; -
APPLYING
The per-instance configuration is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example,REFRESH.
APPLYING = 352003508; -
DELETING
The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH.
DELETING = 528602024; -
EFFECTIVE
The per-instance configuration is effective on the instance, meaning that all disks, ips and metadata specified in this configuration are attached or set on the instance.
EFFECTIVE = 244201863; -
NONE
*[Default]* The default status, when no per-instance configuration exists.
NONE = 2402104; -
UNAPPLIED
The per-instance configuration is set on an instance but not been applied yet.
UNAPPLIED = 483935140; -
UNAPPLIED_DELETION
The per-instance configuration has been deleted, but the deletion is not yet applied.
UNAPPLIED_DELETION = 313956873; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_STATUS_VALUE
public static final int UNDEFINED_STATUS_VALUEA value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;- See Also:
-
APPLYING_VALUE
public static final int APPLYING_VALUEThe per-instance configuration is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example,REFRESH.
APPLYING = 352003508;- See Also:
-
DELETING_VALUE
public static final int DELETING_VALUEThe per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH.
DELETING = 528602024;- See Also:
-
EFFECTIVE_VALUE
public static final int EFFECTIVE_VALUEThe per-instance configuration is effective on the instance, meaning that all disks, ips and metadata specified in this configuration are attached or set on the instance.
EFFECTIVE = 244201863;- See Also:
-
NONE_VALUE
public static final int NONE_VALUE*[Default]* The default status, when no per-instance configuration exists.
NONE = 2402104;- See Also:
-
UNAPPLIED_VALUE
public static final int UNAPPLIED_VALUEThe per-instance configuration is set on an instance but not been applied yet.
UNAPPLIED = 483935140;- See Also:
-
UNAPPLIED_DELETION_VALUE
public static final int UNAPPLIED_DELETION_VALUEThe per-instance configuration has been deleted, but the deletion is not yet applied.
UNAPPLIED_DELETION = 313956873;- 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<PerInstanceConfig.Status> 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 PerInstanceConfig.Status 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
-