public static enum ReservationsPerformMaintenanceRequest.MaintenanceScope extends Enum<ReservationsPerformMaintenanceRequest.MaintenanceScope> implements com.google.protobuf.ProtocolMessageEnum
Specifies if all, running or unused hosts are in scope for this request.Protobuf enum
google.cloud.compute.v1.ReservationsPerformMaintenanceRequest.MaintenanceScope| Enum Constant and Description |
|---|
ALL
Trigger maintenance for all hosts belonging to this reservation irrespective of whether VMs are running on them or not.
|
MAINTENANCE_SCOPE_UNSPECIFIED
Internal only
MAINTENANCE_SCOPE_UNSPECIFIED = 78827328; |
RUNNING_VMS
Trigger maintenance only on the hosts belonging to this reservation which have VMs running on them.
|
UNDEFINED_MAINTENANCE_SCOPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
UNUSED_CAPACITY
Trigger maintenance only on the hosts belonging to this reservation which do not have any VMs running on them.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_VALUE
Trigger maintenance for all hosts belonging to this reservation irrespective of whether VMs are running on them or not.
|
static int |
MAINTENANCE_SCOPE_UNSPECIFIED_VALUE
Internal only
MAINTENANCE_SCOPE_UNSPECIFIED = 78827328; |
static int |
RUNNING_VMS_VALUE
Trigger maintenance only on the hosts belonging to this reservation which have VMs running on them.
|
static int |
UNDEFINED_MAINTENANCE_SCOPE_VALUE
A value indicating that the enum field is not set.
|
static int |
UNUSED_CAPACITY_VALUE
Trigger maintenance only on the hosts belonging to this reservation which do not have any VMs running on them.
|
| Modifier and Type | Method and Description |
|---|---|
static ReservationsPerformMaintenanceRequest.MaintenanceScope |
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<ReservationsPerformMaintenanceRequest.MaintenanceScope> |
internalGetValueMap() |
static ReservationsPerformMaintenanceRequest.MaintenanceScope |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ReservationsPerformMaintenanceRequest.MaintenanceScope |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ReservationsPerformMaintenanceRequest.MaintenanceScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReservationsPerformMaintenanceRequest.MaintenanceScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReservationsPerformMaintenanceRequest.MaintenanceScope UNDEFINED_MAINTENANCE_SCOPE
A value indicating that the enum field is not set.
UNDEFINED_MAINTENANCE_SCOPE = 0;public static final ReservationsPerformMaintenanceRequest.MaintenanceScope ALL
Trigger maintenance for all hosts belonging to this reservation irrespective of whether VMs are running on them or not.
ALL = 64897;public static final ReservationsPerformMaintenanceRequest.MaintenanceScope MAINTENANCE_SCOPE_UNSPECIFIED
Internal only
MAINTENANCE_SCOPE_UNSPECIFIED = 78827328;public static final ReservationsPerformMaintenanceRequest.MaintenanceScope RUNNING_VMS
Trigger maintenance only on the hosts belonging to this reservation which have VMs running on them.
RUNNING_VMS = 535770588;public static final ReservationsPerformMaintenanceRequest.MaintenanceScope UNUSED_CAPACITY
Trigger maintenance only on the hosts belonging to this reservation which do not have any VMs running on them. This is not allowed for Standard ExR
UNUSED_CAPACITY = 212724995;public static final ReservationsPerformMaintenanceRequest.MaintenanceScope UNRECOGNIZED
public static final int UNDEFINED_MAINTENANCE_SCOPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_MAINTENANCE_SCOPE = 0;public static final int ALL_VALUE
Trigger maintenance for all hosts belonging to this reservation irrespective of whether VMs are running on them or not.
ALL = 64897;public static final int MAINTENANCE_SCOPE_UNSPECIFIED_VALUE
Internal only
MAINTENANCE_SCOPE_UNSPECIFIED = 78827328;public static final int RUNNING_VMS_VALUE
Trigger maintenance only on the hosts belonging to this reservation which have VMs running on them.
RUNNING_VMS = 535770588;public static final int UNUSED_CAPACITY_VALUE
Trigger maintenance only on the hosts belonging to this reservation which do not have any VMs running on them. This is not allowed for Standard ExR
UNUSED_CAPACITY = 212724995;public static ReservationsPerformMaintenanceRequest.MaintenanceScope[] values()
for (ReservationsPerformMaintenanceRequest.MaintenanceScope c : ReservationsPerformMaintenanceRequest.MaintenanceScope.values()) System.out.println(c);
public static ReservationsPerformMaintenanceRequest.MaintenanceScope 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 ReservationsPerformMaintenanceRequest.MaintenanceScope valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ReservationsPerformMaintenanceRequest.MaintenanceScope forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ReservationsPerformMaintenanceRequest.MaintenanceScope> 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 ReservationsPerformMaintenanceRequest.MaintenanceScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.