Enum PatchJobs.Instance.PatchState

    • Field Detail

      • PATCH_STATE_UNSPECIFIED_VALUE

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

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

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

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

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

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

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

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

        public static final int SUCCEEDED_VALUE
         The instance has completed applying patches.
         
        SUCCEEDED = 8;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • FAILED_VALUE

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

        public static final int ACKED_VALUE
         The instance acked the notification and will start shortly.
         
        ACKED = 11;
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • values

        public static PatchJobs.Instance.PatchState[] 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 (PatchJobs.Instance.PatchState c : PatchJobs.Instance.PatchState.values())
            System.out.println(c);
        
        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.
      • 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 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