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 enum
google.cloud.osconfig.v1beta.Instance.PatchState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe instance acked the notification and will start shortly.The instance is applying patches.The instance is downloading patches.The instance has failed to apply the patch.Instance is inactive and cannot be patched.The service could not detect the presence of the agent.The instance is notified that it should be patched.Unspecified.The instance is not yet notified.The instance is rebooting.The instance is running the post-patch step.The instance is running the pre-patch step.The instance has started the patching process.The instance has completed applying patches.The instance has completed applying patches but a reboot is required.The instance exceeded the time out while applying the patch. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe instance acked the notification and will start shortly.static final intThe instance is applying patches.static final intThe instance is downloading patches.static final intThe instance has failed to apply the patch.static final intInstance is inactive and cannot be patched.static final intThe service could not detect the presence of the agent.static final intThe instance is notified that it should be patched.static final intUnspecified.static final intThe instance is not yet notified.static final intThe instance is rebooting.static final intThe instance is running the post-patch step.static final intThe instance is running the pre-patch step.static final intThe instance has started the patching process.static final intThe instance has completed applying patches but a reboot is required.static final intThe instance has completed applying patches.static final intThe instance exceeded the time out while applying the patch. -
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<PatchJobs.Instance.PatchState>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 PatchJobs.Instance.PatchState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PATCH_STATE_UNSPECIFIED
Unspecified.
PATCH_STATE_UNSPECIFIED = 0; -
PENDING
The instance is not yet notified.
PENDING = 1; -
INACTIVE
Instance is inactive and cannot be patched.
INACTIVE = 2; -
NOTIFIED
The instance is notified that it should be patched.
NOTIFIED = 3; -
STARTED
The instance has started the patching process.
STARTED = 4; -
DOWNLOADING_PATCHES
The instance is downloading patches.
DOWNLOADING_PATCHES = 5; -
APPLYING_PATCHES
The instance is applying patches.
APPLYING_PATCHES = 6; -
REBOOTING
The instance is rebooting.
REBOOTING = 7; -
SUCCEEDED
The instance has completed applying patches.
SUCCEEDED = 8; -
SUCCEEDED_REBOOT_REQUIRED
The instance has completed applying patches but a reboot is required.
SUCCEEDED_REBOOT_REQUIRED = 9; -
FAILED
The instance has failed to apply the patch.
FAILED = 10; -
ACKED
The instance acked the notification and will start shortly.
ACKED = 11; -
TIMED_OUT
The instance exceeded the time out while applying the patch.
TIMED_OUT = 12; -
RUNNING_PRE_PATCH_STEP
The instance is running the pre-patch step.
RUNNING_PRE_PATCH_STEP = 13; -
RUNNING_POST_PATCH_STEP
The instance is running the post-patch step.
RUNNING_POST_PATCH_STEP = 14; -
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
-
-
Field Details
-
PATCH_STATE_UNSPECIFIED_VALUE
public static final int PATCH_STATE_UNSPECIFIED_VALUEUnspecified.
PATCH_STATE_UNSPECIFIED = 0;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUEThe instance is not yet notified.
PENDING = 1;- See Also:
-
INACTIVE_VALUE
public static final int INACTIVE_VALUEInstance is inactive and cannot be patched.
INACTIVE = 2;- See Also:
-
NOTIFIED_VALUE
public static final int NOTIFIED_VALUEThe instance is notified that it should be patched.
NOTIFIED = 3;- See Also:
-
STARTED_VALUE
public static final int STARTED_VALUEThe instance has started the patching process.
STARTED = 4;- See Also:
-
DOWNLOADING_PATCHES_VALUE
public static final int DOWNLOADING_PATCHES_VALUEThe instance is downloading patches.
DOWNLOADING_PATCHES = 5;- See Also:
-
APPLYING_PATCHES_VALUE
public static final int APPLYING_PATCHES_VALUEThe instance is applying patches.
APPLYING_PATCHES = 6;- See Also:
-
REBOOTING_VALUE
public static final int REBOOTING_VALUEThe instance is rebooting.
REBOOTING = 7;- See Also:
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUEThe instance has completed applying patches.
SUCCEEDED = 8;- See Also:
-
SUCCEEDED_REBOOT_REQUIRED_VALUE
public static final int SUCCEEDED_REBOOT_REQUIRED_VALUEThe instance has completed applying patches but a reboot is required.
SUCCEEDED_REBOOT_REQUIRED = 9;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEThe instance has failed to apply the patch.
FAILED = 10;- See Also:
-
ACKED_VALUE
public static final int ACKED_VALUEThe instance acked the notification and will start shortly.
ACKED = 11;- See Also:
-
TIMED_OUT_VALUE
public static final int TIMED_OUT_VALUEThe 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_VALUEThe 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_VALUEThe 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_VALUEThe 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
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<PatchJobs.Instance.PatchState> 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 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
-