public static enum Reservation.Status extends Enum<Reservation.Status> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The status of the reservation.Protobuf enum
google.cloud.compute.v1.Reservation.Status| Enum Constant and Description |
|---|
CREATING
Resources are being allocated for the reservation.
|
DELETING
Reservation is currently being deleted.
|
INVALID
INVALID = 530283991; |
READY
Reservation has allocated all its resources.
|
UNDEFINED_STATUS
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
UPDATING
Reservation is currently being resized.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
Resources are being allocated for the reservation.
|
static int |
DELETING_VALUE
Reservation is currently being deleted.
|
static int |
INVALID_VALUE
INVALID = 530283991; |
static int |
READY_VALUE
Reservation has allocated all its resources.
|
static int |
UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
|
static int |
UPDATING_VALUE
Reservation is currently being resized.
|
| Modifier and Type | Method and Description |
|---|---|
static Reservation.Status |
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<Reservation.Status> |
internalGetValueMap() |
static Reservation.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Reservation.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Reservation.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Reservation.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Reservation.Status UNDEFINED_STATUS
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;public static final Reservation.Status CREATING
Resources are being allocated for the reservation.
CREATING = 455564985;public static final Reservation.Status DELETING
Reservation is currently being deleted.
DELETING = 528602024;public static final Reservation.Status INVALID
INVALID = 530283991;public static final Reservation.Status READY
Reservation has allocated all its resources.
READY = 77848963;public static final Reservation.Status UPDATING
Reservation is currently being resized.
UPDATING = 494614342;public static final Reservation.Status UNRECOGNIZED
public static final int UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;public static final int CREATING_VALUE
Resources are being allocated for the reservation.
CREATING = 455564985;public static final int DELETING_VALUE
Reservation is currently being deleted.
DELETING = 528602024;public static final int INVALID_VALUE
INVALID = 530283991;public static final int READY_VALUE
Reservation has allocated all its resources.
READY = 77848963;public static final int UPDATING_VALUE
Reservation is currently being resized.
UPDATING = 494614342;public static Reservation.Status[] values()
for (Reservation.Status c : Reservation.Status.values()) System.out.println(c);
public static Reservation.Status 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 Reservation.Status valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Reservation.Status forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Reservation.Status> 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 Reservation.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.