public static enum Region.Status extends Enum<Region.Status> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] Status of the region, either UP or DOWN.Protobuf enum
google.cloud.compute.v1.Region.Status| Enum Constant and Description |
|---|
DOWN
DOWN = 2104482; |
UNDEFINED_STATUS
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
UP
UP = 2715; |
| Modifier and Type | Field and Description |
|---|---|
static int |
DOWN_VALUE
DOWN = 2104482; |
static int |
UNDEFINED_STATUS_VALUE
A value indicating that the enum field is not set.
|
static int |
UP_VALUE
UP = 2715; |
| Modifier and Type | Method and Description |
|---|---|
static Region.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<Region.Status> |
internalGetValueMap() |
static Region.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Region.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Region.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Region.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Region.Status UNDEFINED_STATUS
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;public static final Region.Status DOWN
DOWN = 2104482;public static final Region.Status UP
UP = 2715;public static final Region.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 DOWN_VALUE
DOWN = 2104482;public static final int UP_VALUE
UP = 2715;public static Region.Status[] values()
for (Region.Status c : Region.Status.values()) System.out.println(c);
public static Region.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 Region.Status valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Region.Status forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Region.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 Region.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.