Package com.google.cloud.compute.v1
Enum PerInstanceConfig.Status
- java.lang.Object
-
- java.lang.Enum<PerInstanceConfig.Status>
-
- com.google.cloud.compute.v1.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 enumgoogle.cloud.compute.v1.PerInstanceConfig.Status
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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.DELETING
The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH.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.NONE
*[Default]* The default status, when no per-instance configuration exists.UNAPPLIED
The per-instance configuration is set on an instance but not been applied yet.UNAPPLIED_DELETION
The per-instance configuration has been deleted, but the deletion is not yet applied.UNDEFINED_STATUS
A value indicating that the enum field is not set.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
APPLYING_VALUE
The per-instance configuration is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example, REFRESH.static int
DELETING_VALUE
The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH.static int
EFFECTIVE_VALUE
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.static int
NONE_VALUE
*[Default]* The default status, when no per-instance configuration exists.static int
UNAPPLIED_DELETION_VALUE
The per-instance configuration has been deleted, but the deletion is not yet applied.static int
UNAPPLIED_VALUE
The per-instance configuration is set on an instance but not been applied yet.static int
UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PerInstanceConfig.Status
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<PerInstanceConfig.Status>
internalGetValueMap()
static PerInstanceConfig.Status
valueOf(int value)
Deprecated.static PerInstanceConfig.Status
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static PerInstanceConfig.Status
valueOf(String name)
Returns 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 Detail
-
UNDEFINED_STATUS
public static final PerInstanceConfig.Status UNDEFINED_STATUS
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;
-
APPLYING
public static final PerInstanceConfig.Status 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
public static final PerInstanceConfig.Status DELETING
The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH.
DELETING = 528602024;
-
EFFECTIVE
public static final PerInstanceConfig.Status 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
public static final PerInstanceConfig.Status NONE
*[Default]* The default status, when no per-instance configuration exists.
NONE = 2402104;
-
UNAPPLIED
public static final PerInstanceConfig.Status UNAPPLIED
The per-instance configuration is set on an instance but not been applied yet.
UNAPPLIED = 483935140;
-
UNAPPLIED_DELETION
public static final PerInstanceConfig.Status UNAPPLIED_DELETION
The per-instance configuration has been deleted, but the deletion is not yet applied.
UNAPPLIED_DELETION = 313956873;
-
UNRECOGNIZED
public static final PerInstanceConfig.Status UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_STATUS_VALUE
public static final int UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;
- See Also:
- Constant Field Values
-
APPLYING_VALUE
public static final int APPLYING_VALUE
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;
- See Also:
- Constant Field Values
-
DELETING_VALUE
public static final int DELETING_VALUE
The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH.
DELETING = 528602024;
- See Also:
- Constant Field Values
-
EFFECTIVE_VALUE
public static final int EFFECTIVE_VALUE
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;
- See Also:
- Constant Field Values
-
NONE_VALUE
public static final int NONE_VALUE
*[Default]* The default status, when no per-instance configuration exists.
NONE = 2402104;
- See Also:
- Constant Field Values
-
UNAPPLIED_VALUE
public static final int UNAPPLIED_VALUE
The per-instance configuration is set on an instance but not been applied yet.
UNAPPLIED = 483935140;
- See Also:
- Constant Field Values
-
UNAPPLIED_DELETION_VALUE
public static final int UNAPPLIED_DELETION_VALUE
The per-instance configuration has been deleted, but the deletion is not yet applied.
UNAPPLIED_DELETION = 313956873;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static PerInstanceConfig.Status[] 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 (PerInstanceConfig.Status c : PerInstanceConfig.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PerInstanceConfig.Status 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 PerInstanceConfig.Status 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 PerInstanceConfig.Status 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<PerInstanceConfig.Status> 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 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
-
-