public static enum PatchJobs.PatchRollout.Mode extends Enum<PatchJobs.PatchRollout.Mode> implements com.google.protobuf.ProtocolMessageEnum
Type of the rollout.Protobuf enum
google.cloud.osconfig.v1.PatchRollout.Mode| Enum Constant and Description |
|---|
CONCURRENT_ZONES
Patches are applied to VMs in all zones at the same time.
|
MODE_UNSPECIFIED
Mode must be specified.
|
UNRECOGNIZED |
ZONE_BY_ZONE
Patches are applied one zone at a time.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CONCURRENT_ZONES_VALUE
Patches are applied to VMs in all zones at the same time.
|
static int |
MODE_UNSPECIFIED_VALUE
Mode must be specified.
|
static int |
ZONE_BY_ZONE_VALUE
Patches are applied one zone at a time.
|
| Modifier and Type | Method and Description |
|---|---|
static PatchJobs.PatchRollout.Mode |
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.PatchRollout.Mode> |
internalGetValueMap() |
static PatchJobs.PatchRollout.Mode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PatchJobs.PatchRollout.Mode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PatchJobs.PatchRollout.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatchJobs.PatchRollout.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchJobs.PatchRollout.Mode MODE_UNSPECIFIED
Mode must be specified.
MODE_UNSPECIFIED = 0;public static final PatchJobs.PatchRollout.Mode ZONE_BY_ZONE
Patches are applied one zone at a time. The patch job begins in the region with the lowest number of targeted VMs. Within the region, patching begins in the zone with the lowest number of targeted VMs. If multiple regions (or zones within a region) have the same number of targeted VMs, a tie-breaker is achieved by sorting the regions or zones in alphabetical order.
ZONE_BY_ZONE = 1;public static final PatchJobs.PatchRollout.Mode CONCURRENT_ZONES
Patches are applied to VMs in all zones at the same time.
CONCURRENT_ZONES = 2;public static final PatchJobs.PatchRollout.Mode UNRECOGNIZED
public static final int MODE_UNSPECIFIED_VALUE
Mode must be specified.
MODE_UNSPECIFIED = 0;public static final int ZONE_BY_ZONE_VALUE
Patches are applied one zone at a time. The patch job begins in the region with the lowest number of targeted VMs. Within the region, patching begins in the zone with the lowest number of targeted VMs. If multiple regions (or zones within a region) have the same number of targeted VMs, a tie-breaker is achieved by sorting the regions or zones in alphabetical order.
ZONE_BY_ZONE = 1;public static final int CONCURRENT_ZONES_VALUE
Patches are applied to VMs in all zones at the same time.
CONCURRENT_ZONES = 2;public static PatchJobs.PatchRollout.Mode[] values()
for (PatchJobs.PatchRollout.Mode c : PatchJobs.PatchRollout.Mode.values()) System.out.println(c);
public static PatchJobs.PatchRollout.Mode 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.PatchRollout.Mode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PatchJobs.PatchRollout.Mode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PatchJobs.PatchRollout.Mode> 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.PatchRollout.Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.