Package com.google.cloud.compute.v1
Enum ManagedInstance.CurrentAction
- java.lang.Object
-
- java.lang.Enum<ManagedInstance.CurrentAction>
-
- com.google.cloud.compute.v1.ManagedInstance.CurrentAction
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ManagedInstance.CurrentAction>
- Enclosing class:
- ManagedInstance
public static enum ManagedInstance.CurrentAction extends Enum<ManagedInstance.CurrentAction> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified. Additional supported values which may be not listed in the enum directly due to technical reasons: STOPPING SUSPENDING
Protobuf enumgoogle.cloud.compute.v1.ManagedInstance.CurrentAction
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABANDONING
The managed instance group is abandoning this instance.CREATING
The managed instance group is creating this instance.CREATING_WITHOUT_RETRIES
The managed instance group is attempting to create this instance only once.DELETING
The managed instance group is permanently deleting this instance.NONE
The managed instance group has not scheduled any actions for this instance.RECREATING
The managed instance group is recreating this instance.REFRESHING
The managed instance group is applying configuration changes to the instance without stopping it.RESTARTING
The managed instance group is restarting this instance.RESUMING
The managed instance group is resuming this instance.STARTING
The managed instance group is starting this instance.UNDEFINED_CURRENT_ACTION
A value indicating that the enum field is not set.UNRECOGNIZED
VERIFYING
The managed instance group is verifying this already created instance.
-
Field Summary
Fields Modifier and Type Field Description static int
ABANDONING_VALUE
The managed instance group is abandoning this instance.static int
CREATING_VALUE
The managed instance group is creating this instance.static int
CREATING_WITHOUT_RETRIES_VALUE
The managed instance group is attempting to create this instance only once.static int
DELETING_VALUE
The managed instance group is permanently deleting this instance.static int
NONE_VALUE
The managed instance group has not scheduled any actions for this instance.static int
RECREATING_VALUE
The managed instance group is recreating this instance.static int
REFRESHING_VALUE
The managed instance group is applying configuration changes to the instance without stopping it.static int
RESTARTING_VALUE
The managed instance group is restarting this instance.static int
RESUMING_VALUE
The managed instance group is resuming this instance.static int
STARTING_VALUE
The managed instance group is starting this instance.static int
UNDEFINED_CURRENT_ACTION_VALUE
A value indicating that the enum field is not set.static int
VERIFYING_VALUE
The managed instance group is verifying this already created instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ManagedInstance.CurrentAction
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<ManagedInstance.CurrentAction>
internalGetValueMap()
static ManagedInstance.CurrentAction
valueOf(int value)
Deprecated.static ManagedInstance.CurrentAction
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ManagedInstance.CurrentAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static ManagedInstance.CurrentAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED_CURRENT_ACTION
public static final ManagedInstance.CurrentAction UNDEFINED_CURRENT_ACTION
A value indicating that the enum field is not set.
UNDEFINED_CURRENT_ACTION = 0;
-
ABANDONING
public static final ManagedInstance.CurrentAction ABANDONING
The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group.
ABANDONING = 388244813;
-
CREATING
public static final ManagedInstance.CurrentAction CREATING
The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful.
CREATING = 455564985;
-
CREATING_WITHOUT_RETRIES
public static final ManagedInstance.CurrentAction CREATING_WITHOUT_RETRIES
The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased.
CREATING_WITHOUT_RETRIES = 428843785;
-
DELETING
public static final ManagedInstance.CurrentAction DELETING
The managed instance group is permanently deleting this instance.
DELETING = 528602024;
-
NONE
public static final ManagedInstance.CurrentAction NONE
The managed instance group has not scheduled any actions for this instance.
NONE = 2402104;
-
RECREATING
public static final ManagedInstance.CurrentAction RECREATING
The managed instance group is recreating this instance.
RECREATING = 287278572;
-
REFRESHING
public static final ManagedInstance.CurrentAction REFRESHING
The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.
REFRESHING = 163266343;
-
RESTARTING
public static final ManagedInstance.CurrentAction RESTARTING
The managed instance group is restarting this instance.
RESTARTING = 320534387;
-
RESUMING
public static final ManagedInstance.CurrentAction RESUMING
The managed instance group is resuming this instance.
RESUMING = 446856618;
-
STARTING
public static final ManagedInstance.CurrentAction STARTING
The managed instance group is starting this instance.
STARTING = 488820800;
-
VERIFYING
public static final ManagedInstance.CurrentAction VERIFYING
The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
VERIFYING = 16982185;
-
UNRECOGNIZED
public static final ManagedInstance.CurrentAction UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_CURRENT_ACTION_VALUE
public static final int UNDEFINED_CURRENT_ACTION_VALUE
A value indicating that the enum field is not set.
UNDEFINED_CURRENT_ACTION = 0;
- See Also:
- Constant Field Values
-
ABANDONING_VALUE
public static final int ABANDONING_VALUE
The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group.
ABANDONING = 388244813;
- See Also:
- Constant Field Values
-
CREATING_VALUE
public static final int CREATING_VALUE
The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful.
CREATING = 455564985;
- See Also:
- Constant Field Values
-
CREATING_WITHOUT_RETRIES_VALUE
public static final int CREATING_WITHOUT_RETRIES_VALUE
The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased.
CREATING_WITHOUT_RETRIES = 428843785;
- See Also:
- Constant Field Values
-
DELETING_VALUE
public static final int DELETING_VALUE
The managed instance group is permanently deleting this instance.
DELETING = 528602024;
- See Also:
- Constant Field Values
-
NONE_VALUE
public static final int NONE_VALUE
The managed instance group has not scheduled any actions for this instance.
NONE = 2402104;
- See Also:
- Constant Field Values
-
RECREATING_VALUE
public static final int RECREATING_VALUE
The managed instance group is recreating this instance.
RECREATING = 287278572;
- See Also:
- Constant Field Values
-
REFRESHING_VALUE
public static final int REFRESHING_VALUE
The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.
REFRESHING = 163266343;
- See Also:
- Constant Field Values
-
RESTARTING_VALUE
public static final int RESTARTING_VALUE
The managed instance group is restarting this instance.
RESTARTING = 320534387;
- See Also:
- Constant Field Values
-
RESUMING_VALUE
public static final int RESUMING_VALUE
The managed instance group is resuming this instance.
RESUMING = 446856618;
- See Also:
- Constant Field Values
-
STARTING_VALUE
public static final int STARTING_VALUE
The managed instance group is starting this instance.
STARTING = 488820800;
- See Also:
- Constant Field Values
-
VERIFYING_VALUE
public static final int VERIFYING_VALUE
The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions).
VERIFYING = 16982185;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ManagedInstance.CurrentAction[] 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 (ManagedInstance.CurrentAction c : ManagedInstance.CurrentAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ManagedInstance.CurrentAction 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 ManagedInstance.CurrentAction 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 ManagedInstance.CurrentAction 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<ManagedInstance.CurrentAction> 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 ManagedInstance.CurrentAction 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
-
-