public static enum UpcomingMaintenance.MaintenanceStatus extends Enum<UpcomingMaintenance.MaintenanceStatus> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
google.cloud.compute.v1.UpcomingMaintenance.MaintenanceStatus| Enum Constant and Description |
|---|
ONGOING
There is ongoing maintenance on this VM.
|
PENDING
There is pending maintenance.
|
UNDEFINED_MAINTENANCE_STATUS
A value indicating that the enum field is not set.
|
UNKNOWN
Unknown maintenance status.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ONGOING_VALUE
There is ongoing maintenance on this VM.
|
static int |
PENDING_VALUE
There is pending maintenance.
|
static int |
UNDEFINED_MAINTENANCE_STATUS_VALUE
A value indicating that the enum field is not set.
|
static int |
UNKNOWN_VALUE
Unknown maintenance status.
|
| Modifier and Type | Method and Description |
|---|---|
static UpcomingMaintenance.MaintenanceStatus |
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<UpcomingMaintenance.MaintenanceStatus> |
internalGetValueMap() |
static UpcomingMaintenance.MaintenanceStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UpcomingMaintenance.MaintenanceStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UpcomingMaintenance.MaintenanceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpcomingMaintenance.MaintenanceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpcomingMaintenance.MaintenanceStatus UNDEFINED_MAINTENANCE_STATUS
A value indicating that the enum field is not set.
UNDEFINED_MAINTENANCE_STATUS = 0;public static final UpcomingMaintenance.MaintenanceStatus ONGOING
There is ongoing maintenance on this VM.
ONGOING = 473158491;public static final UpcomingMaintenance.MaintenanceStatus PENDING
There is pending maintenance.
PENDING = 35394935;public static final UpcomingMaintenance.MaintenanceStatus UNKNOWN
Unknown maintenance status. Do not use this value.
UNKNOWN = 433141802;public static final UpcomingMaintenance.MaintenanceStatus UNRECOGNIZED
public static final int UNDEFINED_MAINTENANCE_STATUS_VALUE
A value indicating that the enum field is not set.
UNDEFINED_MAINTENANCE_STATUS = 0;public static final int ONGOING_VALUE
There is ongoing maintenance on this VM.
ONGOING = 473158491;public static final int PENDING_VALUE
There is pending maintenance.
PENDING = 35394935;public static final int UNKNOWN_VALUE
Unknown maintenance status. Do not use this value.
UNKNOWN = 433141802;public static UpcomingMaintenance.MaintenanceStatus[] values()
for (UpcomingMaintenance.MaintenanceStatus c : UpcomingMaintenance.MaintenanceStatus.values()) System.out.println(c);
public static UpcomingMaintenance.MaintenanceStatus 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 UpcomingMaintenance.MaintenanceStatus valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UpcomingMaintenance.MaintenanceStatus forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UpcomingMaintenance.MaintenanceStatus> 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 UpcomingMaintenance.MaintenanceStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.