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. [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'stargetSize 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 SUSPENDINGProtobuf enum
google.cloud.compute.v1.ManagedInstance.CurrentAction-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe managed instance group is abandoning this instance.The managed instance group is creating this instance.The managed instance group is attempting to create this instance only once.The managed instance group is permanently deleting this instance.The managed instance group has not scheduled any actions for this instance.The managed instance group is recreating this instance.The managed instance group is applying configuration changes to the instance without stopping it.The managed instance group is restarting this instance.The managed instance group is resuming this instance.The managed instance group is starting this instance.A value indicating that the enum field is not set.The managed instance group is verifying this already created instance. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe managed instance group is abandoning this instance.static final intThe managed instance group is creating this instance.static final intThe managed instance group is attempting to create this instance only once.static final intThe managed instance group is permanently deleting this instance.static final intThe managed instance group has not scheduled any actions for this instance.static final intThe managed instance group is recreating this instance.static final intThe managed instance group is applying configuration changes to the instance without stopping it.static final intThe managed instance group is restarting this instance.static final intThe managed instance group is resuming this instance.static final intThe managed instance group is starting this instance.static final intA value indicating that the enum field is not set.static final intThe managed instance group is verifying this already created instance. -
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<ManagedInstance.CurrentAction>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 ManagedInstance.CurrentAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_CURRENT_ACTION
A value indicating that the enum field is not set.
UNDEFINED_CURRENT_ACTION = 0; -
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
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
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
The managed instance group is permanently deleting this instance.
DELETING = 528602024; -
NONE
The managed instance group has not scheduled any actions for this instance.
NONE = 2402104; -
RECREATING
The managed instance group is recreating this instance.
RECREATING = 287278572; -
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
The managed instance group is restarting this instance.
RESTARTING = 320534387; -
RESUMING
The managed instance group is resuming this instance.
RESUMING = 446856618; -
STARTING
The managed instance group is starting this instance.
STARTING = 488820800; -
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
-
-
Field Details
-
UNDEFINED_CURRENT_ACTION_VALUE
public static final int UNDEFINED_CURRENT_ACTION_VALUEA value indicating that the enum field is not set.
UNDEFINED_CURRENT_ACTION = 0;- See Also:
-
ABANDONING_VALUE
public static final int ABANDONING_VALUEThe 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:
-
CREATING_VALUE
public static final int CREATING_VALUEThe 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:
-
CREATING_WITHOUT_RETRIES_VALUE
public static final int CREATING_WITHOUT_RETRIES_VALUEThe 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:
-
DELETING_VALUE
public static final int DELETING_VALUEThe managed instance group is permanently deleting this instance.
DELETING = 528602024;- See Also:
-
NONE_VALUE
public static final int NONE_VALUEThe managed instance group has not scheduled any actions for this instance.
NONE = 2402104;- See Also:
-
RECREATING_VALUE
public static final int RECREATING_VALUEThe managed instance group is recreating this instance.
RECREATING = 287278572;- See Also:
-
REFRESHING_VALUE
public static final int REFRESHING_VALUEThe 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:
-
RESTARTING_VALUE
public static final int RESTARTING_VALUEThe managed instance group is restarting this instance.
RESTARTING = 320534387;- See Also:
-
RESUMING_VALUE
public static final int RESUMING_VALUEThe managed instance group is resuming this instance.
RESUMING = 446856618;- See Also:
-
STARTING_VALUE
public static final int STARTING_VALUEThe managed instance group is starting this instance.
STARTING = 488820800;- See Also:
-
VERIFYING_VALUE
public static final int VERIFYING_VALUEThe 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:
-
-
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<ManagedInstance.CurrentAction> 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 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
-