public static enum Commitment.Status extends Enum<Commitment.Status> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.Protobuf enum
google.cloud.compute.v1.Commitment.Status| Enum Constant and Description |
|---|
ACTIVE
ACTIVE = 314733318; |
CANCELLED
CANCELLED = 41957681; |
CREATING
CREATING = 455564985; |
EXPIRED
EXPIRED = 482489093; |
NOT_YET_ACTIVE
NOT_YET_ACTIVE = 20607337; |
UNDEFINED_STATUS
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
ACTIVE = 314733318; |
static int |
CANCELLED_VALUE
CANCELLED = 41957681; |
static int |
CREATING_VALUE
CREATING = 455564985; |
static int |
EXPIRED_VALUE
EXPIRED = 482489093; |
static int |
NOT_YET_ACTIVE_VALUE
NOT_YET_ACTIVE = 20607337; |
static int |
UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Commitment.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<Commitment.Status> |
internalGetValueMap() |
static Commitment.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Commitment.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Commitment.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Commitment.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Commitment.Status UNDEFINED_STATUS
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;public static final Commitment.Status ACTIVE
ACTIVE = 314733318;public static final Commitment.Status CANCELLED
CANCELLED = 41957681;public static final Commitment.Status CREATING
CREATING = 455564985;public static final Commitment.Status EXPIRED
EXPIRED = 482489093;public static final Commitment.Status NOT_YET_ACTIVE
NOT_YET_ACTIVE = 20607337;public static final Commitment.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 ACTIVE_VALUE
ACTIVE = 314733318;public static final int CANCELLED_VALUE
CANCELLED = 41957681;public static final int CREATING_VALUE
CREATING = 455564985;public static final int EXPIRED_VALUE
EXPIRED = 482489093;public static final int NOT_YET_ACTIVE_VALUE
NOT_YET_ACTIVE = 20607337;public static Commitment.Status[] values()
for (Commitment.Status c : Commitment.Status.values()) System.out.println(c);
public static Commitment.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 Commitment.Status valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Commitment.Status forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Commitment.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 Commitment.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.