Enum PatchJobs.Instance.PatchState

java.lang.Object
java.lang.Enum<PatchJobs.Instance.PatchState>
com.google.cloud.osconfig.v1beta.PatchJobs.Instance.PatchState
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<PatchJobs.Instance.PatchState>
Enclosing class:
PatchJobs.Instance

public static enum PatchJobs.Instance.PatchState extends Enum<PatchJobs.Instance.PatchState> implements com.google.protobuf.ProtocolMessageEnum
 Patch state of an instance.
 
Protobuf enum google.cloud.osconfig.v1beta.Instance.PatchState
  • Enum Constant Details

    • PATCH_STATE_UNSPECIFIED

      public static final PatchJobs.Instance.PatchState PATCH_STATE_UNSPECIFIED
       Unspecified.
       
      PATCH_STATE_UNSPECIFIED = 0;
    • PENDING

      public static final PatchJobs.Instance.PatchState PENDING
       The instance is not yet notified.
       
      PENDING = 1;
    • INACTIVE

      public static final PatchJobs.Instance.PatchState INACTIVE
       Instance is inactive and cannot be patched.
       
      INACTIVE = 2;
    • NOTIFIED

      public static final PatchJobs.Instance.PatchState NOTIFIED
       The instance is notified that it should be patched.
       
      NOTIFIED = 3;
    • STARTED

      public static final PatchJobs.Instance.PatchState STARTED
       The instance has started the patching process.
       
      STARTED = 4;
    • DOWNLOADING_PATCHES

      public static final PatchJobs.Instance.PatchState DOWNLOADING_PATCHES
       The instance is downloading patches.
       
      DOWNLOADING_PATCHES = 5;
    • APPLYING_PATCHES

      public static final PatchJobs.Instance.PatchState APPLYING_PATCHES
       The instance is applying patches.
       
      APPLYING_PATCHES = 6;
    • REBOOTING

      public static final PatchJobs.Instance.PatchState REBOOTING
       The instance is rebooting.
       
      REBOOTING = 7;
    • SUCCEEDED

      public static final PatchJobs.Instance.PatchState SUCCEEDED
       The instance has completed applying patches.
       
      SUCCEEDED = 8;
    • SUCCEEDED_REBOOT_REQUIRED

      public static final PatchJobs.Instance.PatchState SUCCEEDED_REBOOT_REQUIRED
       The instance has completed applying patches but a reboot is required.
       
      SUCCEEDED_REBOOT_REQUIRED = 9;
    • FAILED

      public static final PatchJobs.Instance.PatchState FAILED
       The instance has failed to apply the patch.
       
      FAILED = 10;
    • ACKED

      public static final PatchJobs.Instance.PatchState ACKED
       The instance acked the notification and will start shortly.
       
      ACKED = 11;
    • TIMED_OUT

      public static final PatchJobs.Instance.PatchState TIMED_OUT
       The instance exceeded the time out while applying the patch.
       
      TIMED_OUT = 12;
    • RUNNING_PRE_PATCH_STEP

      public static final PatchJobs.Instance.PatchState RUNNING_PRE_PATCH_STEP
       The instance is running the pre-patch step.
       
      RUNNING_PRE_PATCH_STEP = 13;
    • RUNNING_POST_PATCH_STEP

      public static final PatchJobs.Instance.PatchState RUNNING_POST_PATCH_STEP
       The instance is running the post-patch step.
       
      RUNNING_POST_PATCH_STEP = 14;
    • NO_AGENT_DETECTED

      public static final PatchJobs.Instance.PatchState NO_AGENT_DETECTED
       The service could not detect the presence of the agent. Check to ensure
       that the agent is installed, running, and able to communicate with the
       service.
       
      NO_AGENT_DETECTED = 15;
    • UNRECOGNIZED

      public static final PatchJobs.Instance.PatchState UNRECOGNIZED
  • Field Details

    • PATCH_STATE_UNSPECIFIED_VALUE

      public static final int PATCH_STATE_UNSPECIFIED_VALUE
       Unspecified.
       
      PATCH_STATE_UNSPECIFIED = 0;
      See Also:
    • PENDING_VALUE

      public static final int PENDING_VALUE
       The instance is not yet notified.
       
      PENDING = 1;
      See Also:
    • INACTIVE_VALUE

      public static final int INACTIVE_VALUE
       Instance is inactive and cannot be patched.
       
      INACTIVE = 2;
      See Also:
    • NOTIFIED_VALUE

      public static final int NOTIFIED_VALUE
       The instance is notified that it should be patched.
       
      NOTIFIED = 3;
      See Also:
    • STARTED_VALUE

      public static final int STARTED_VALUE
       The instance has started the patching process.
       
      STARTED = 4;
      See Also:
    • DOWNLOADING_PATCHES_VALUE

      public static final int DOWNLOADING_PATCHES_VALUE
       The instance is downloading patches.
       
      DOWNLOADING_PATCHES = 5;
      See Also:
    • APPLYING_PATCHES_VALUE

      public static final int APPLYING_PATCHES_VALUE
       The instance is applying patches.
       
      APPLYING_PATCHES = 6;
      See Also:
    • REBOOTING_VALUE

      public static final int REBOOTING_VALUE
       The instance is rebooting.
       
      REBOOTING = 7;
      See Also:
    • SUCCEEDED_VALUE

      public static final int SUCCEEDED_VALUE
       The instance has completed applying patches.
       
      SUCCEEDED = 8;
      See Also:
    • SUCCEEDED_REBOOT_REQUIRED_VALUE

      public static final int SUCCEEDED_REBOOT_REQUIRED_VALUE
       The instance has completed applying patches but a reboot is required.
       
      SUCCEEDED_REBOOT_REQUIRED = 9;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
       The instance has failed to apply the patch.
       
      FAILED = 10;
      See Also:
    • ACKED_VALUE

      public static final int ACKED_VALUE
       The instance acked the notification and will start shortly.
       
      ACKED = 11;
      See Also:
    • TIMED_OUT_VALUE

      public static final int TIMED_OUT_VALUE
       The instance exceeded the time out while applying the patch.
       
      TIMED_OUT = 12;
      See Also:
    • RUNNING_PRE_PATCH_STEP_VALUE

      public static final int RUNNING_PRE_PATCH_STEP_VALUE
       The instance is running the pre-patch step.
       
      RUNNING_PRE_PATCH_STEP = 13;
      See Also:
    • RUNNING_POST_PATCH_STEP_VALUE

      public static final int RUNNING_POST_PATCH_STEP_VALUE
       The instance is running the post-patch step.
       
      RUNNING_POST_PATCH_STEP = 14;
      See Also:
    • NO_AGENT_DETECTED_VALUE

      public static final int NO_AGENT_DETECTED_VALUE
       The service could not detect the presence of the agent. Check to ensure
       that the agent is installed, running, and able to communicate with the
       service.
       
      NO_AGENT_DETECTED = 15;
      See Also:
  • Method Details

    • values

      public static PatchJobs.Instance.PatchState[] 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

      public static PatchJobs.Instance.PatchState 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 PatchJobs.Instance.PatchState 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 PatchJobs.Instance.PatchState 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<PatchJobs.Instance.PatchState> internalGetValueMap()
    • 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static PatchJobs.Instance.PatchState 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