Package com.google.cloud.osconfig.v1beta
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 enumgoogle.cloud.osconfig.v1beta.Instance.PatchState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACKED
The instance acked the notification and will start shortly.APPLYING_PATCHES
The instance is applying patches.DOWNLOADING_PATCHES
The instance is downloading patches.FAILED
The instance has failed to apply the patch.INACTIVE
Instance is inactive and cannot be patched.NO_AGENT_DETECTED
The service could not detect the presence of the agent.NOTIFIED
The instance is notified that it should be patched.PATCH_STATE_UNSPECIFIED
Unspecified.PENDING
The instance is not yet notified.REBOOTING
The instance is rebooting.RUNNING_POST_PATCH_STEP
The instance is running the post-patch step.RUNNING_PRE_PATCH_STEP
The instance is running the pre-patch step.STARTED
The instance has started the patching process.SUCCEEDED
The instance has completed applying patches.SUCCEEDED_REBOOT_REQUIRED
The instance has completed applying patches but a reboot is required.TIMED_OUT
The instance exceeded the time out while applying the patch.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ACKED_VALUE
The instance acked the notification and will start shortly.static int
APPLYING_PATCHES_VALUE
The instance is applying patches.static int
DOWNLOADING_PATCHES_VALUE
The instance is downloading patches.static int
FAILED_VALUE
The instance has failed to apply the patch.static int
INACTIVE_VALUE
Instance is inactive and cannot be patched.static int
NO_AGENT_DETECTED_VALUE
The service could not detect the presence of the agent.static int
NOTIFIED_VALUE
The instance is notified that it should be patched.static int
PATCH_STATE_UNSPECIFIED_VALUE
Unspecified.static int
PENDING_VALUE
The instance is not yet notified.static int
REBOOTING_VALUE
The instance is rebooting.static int
RUNNING_POST_PATCH_STEP_VALUE
The instance is running the post-patch step.static int
RUNNING_PRE_PATCH_STEP_VALUE
The instance is running the pre-patch step.static int
STARTED_VALUE
The instance has started the patching process.static int
SUCCEEDED_REBOOT_REQUIRED_VALUE
The instance has completed applying patches but a reboot is required.static int
SUCCEEDED_VALUE
The instance has completed applying patches.static int
TIMED_OUT_VALUE
The instance exceeded the time out while applying the patch.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PatchJobs.Instance.PatchState
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<PatchJobs.Instance.PatchState>
internalGetValueMap()
static PatchJobs.Instance.PatchState
valueOf(int value)
Deprecated.static PatchJobs.Instance.PatchState
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static PatchJobs.Instance.PatchState
valueOf(String name)
Returns the enum constant of this type with the specified name.static PatchJobs.Instance.PatchState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 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 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 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 nameNullPointerException
- 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 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 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 nameNullPointerException
- if the argument is null
-
-