public static enum PatchJobs.PatchConfig.RebootConfig extends Enum<PatchJobs.PatchConfig.RebootConfig> implements com.google.protobuf.ProtocolMessageEnum
Post-patch reboot settings.Protobuf enum
google.cloud.osconfig.v1.PatchConfig.RebootConfig| Enum Constant and Description |
|---|
ALWAYS
Always reboot the machine after the update completes.
|
DEFAULT
The agent decides if a reboot is necessary by checking signals such as
registry keys on Windows or `/var/run/reboot-required` on APT based
systems.
|
NEVER
Never reboot the machine after the update completes.
|
REBOOT_CONFIG_UNSPECIFIED
The default behavior is DEFAULT.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALWAYS_VALUE
Always reboot the machine after the update completes.
|
static int |
DEFAULT_VALUE
The agent decides if a reboot is necessary by checking signals such as
registry keys on Windows or `/var/run/reboot-required` on APT based
systems.
|
static int |
NEVER_VALUE
Never reboot the machine after the update completes.
|
static int |
REBOOT_CONFIG_UNSPECIFIED_VALUE
The default behavior is DEFAULT.
|
| Modifier and Type | Method and Description |
|---|---|
static PatchJobs.PatchConfig.RebootConfig |
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.PatchConfig.RebootConfig> |
internalGetValueMap() |
static PatchJobs.PatchConfig.RebootConfig |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PatchJobs.PatchConfig.RebootConfig |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PatchJobs.PatchConfig.RebootConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatchJobs.PatchConfig.RebootConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchJobs.PatchConfig.RebootConfig REBOOT_CONFIG_UNSPECIFIED
The default behavior is DEFAULT.
REBOOT_CONFIG_UNSPECIFIED = 0;public static final PatchJobs.PatchConfig.RebootConfig DEFAULT
The agent decides if a reboot is necessary by checking signals such as registry keys on Windows or `/var/run/reboot-required` on APT based systems. On RPM based systems, a set of core system package install times are compared with system boot time.
DEFAULT = 1;public static final PatchJobs.PatchConfig.RebootConfig ALWAYS
Always reboot the machine after the update completes.
ALWAYS = 2;public static final PatchJobs.PatchConfig.RebootConfig NEVER
Never reboot the machine after the update completes.
NEVER = 3;public static final PatchJobs.PatchConfig.RebootConfig UNRECOGNIZED
public static final int REBOOT_CONFIG_UNSPECIFIED_VALUE
The default behavior is DEFAULT.
REBOOT_CONFIG_UNSPECIFIED = 0;public static final int DEFAULT_VALUE
The agent decides if a reboot is necessary by checking signals such as registry keys on Windows or `/var/run/reboot-required` on APT based systems. On RPM based systems, a set of core system package install times are compared with system boot time.
DEFAULT = 1;public static final int ALWAYS_VALUE
Always reboot the machine after the update completes.
ALWAYS = 2;public static final int NEVER_VALUE
Never reboot the machine after the update completes.
NEVER = 3;public static PatchJobs.PatchConfig.RebootConfig[] values()
for (PatchJobs.PatchConfig.RebootConfig c : PatchJobs.PatchConfig.RebootConfig.values()) System.out.println(c);
public static PatchJobs.PatchConfig.RebootConfig valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static PatchJobs.PatchConfig.RebootConfig valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PatchJobs.PatchConfig.RebootConfig forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PatchJobs.PatchConfig.RebootConfig> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static PatchJobs.PatchConfig.RebootConfig valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.