public static enum UpcomingMaintenance.Type extends Enum<UpcomingMaintenance.Type> implements com.google.protobuf.ProtocolMessageEnum
Defines the type of maintenance.Protobuf enum
google.cloud.compute.v1.UpcomingMaintenance.Type| Enum Constant and Description |
|---|
SCHEDULED
Scheduled maintenance (e.g. maintenance after uptime guarantee is complete).
|
UNDEFINED_TYPE
A value indicating that the enum field is not set.
|
UNKNOWN_TYPE
No type specified.
|
UNRECOGNIZED |
UNSCHEDULED
Unscheduled maintenance (e.g. emergency maintenance during uptime guarantee).
|
| Modifier and Type | Field and Description |
|---|---|
static int |
SCHEDULED_VALUE
Scheduled maintenance (e.g. maintenance after uptime guarantee is complete).
|
static int |
UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
|
static int |
UNKNOWN_TYPE_VALUE
No type specified.
|
static int |
UNSCHEDULED_VALUE
Unscheduled maintenance (e.g. emergency maintenance during uptime guarantee).
|
| Modifier and Type | Method and Description |
|---|---|
static UpcomingMaintenance.Type |
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.Type> |
internalGetValueMap() |
static UpcomingMaintenance.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UpcomingMaintenance.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UpcomingMaintenance.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpcomingMaintenance.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpcomingMaintenance.Type UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final UpcomingMaintenance.Type SCHEDULED
Scheduled maintenance (e.g. maintenance after uptime guarantee is complete).
SCHEDULED = 478400653;public static final UpcomingMaintenance.Type UNKNOWN_TYPE
No type specified. Do not use this value.
UNKNOWN_TYPE = 490705455;public static final UpcomingMaintenance.Type UNSCHEDULED
Unscheduled maintenance (e.g. emergency maintenance during uptime guarantee).
UNSCHEDULED = 450077204;public static final UpcomingMaintenance.Type UNRECOGNIZED
public static final int UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final int SCHEDULED_VALUE
Scheduled maintenance (e.g. maintenance after uptime guarantee is complete).
SCHEDULED = 478400653;public static final int UNKNOWN_TYPE_VALUE
No type specified. Do not use this value.
UNKNOWN_TYPE = 490705455;public static final int UNSCHEDULED_VALUE
Unscheduled maintenance (e.g. emergency maintenance during uptime guarantee).
UNSCHEDULED = 450077204;public static UpcomingMaintenance.Type[] values()
for (UpcomingMaintenance.Type c : UpcomingMaintenance.Type.values()) System.out.println(c);
public static UpcomingMaintenance.Type 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.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UpcomingMaintenance.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UpcomingMaintenance.Type> 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.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.