Enum 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 enum google.cloud.compute.v1.ManagedInstance.CurrentAction
    • 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null