public static enum Project.XpnProjectStatus extends Enum<Project.XpnProjectStatus> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated.Protobuf enum
google.cloud.compute.v1.Project.XpnProjectStatus| Enum Constant and Description |
|---|
HOST
HOST = 2223528; |
UNDEFINED_XPN_PROJECT_STATUS
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
UNSPECIFIED_XPN_PROJECT_STATUS
UNSPECIFIED_XPN_PROJECT_STATUS = 340393257; |
| Modifier and Type | Field and Description |
|---|---|
static int |
HOST_VALUE
HOST = 2223528; |
static int |
UNDEFINED_XPN_PROJECT_STATUS_VALUE
A value indicating that the enum field is not set.
|
static int |
UNSPECIFIED_XPN_PROJECT_STATUS_VALUE
UNSPECIFIED_XPN_PROJECT_STATUS = 340393257; |
| Modifier and Type | Method and Description |
|---|---|
static Project.XpnProjectStatus |
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<Project.XpnProjectStatus> |
internalGetValueMap() |
static Project.XpnProjectStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Project.XpnProjectStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Project.XpnProjectStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Project.XpnProjectStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Project.XpnProjectStatus UNDEFINED_XPN_PROJECT_STATUS
A value indicating that the enum field is not set.
UNDEFINED_XPN_PROJECT_STATUS = 0;public static final Project.XpnProjectStatus HOST
HOST = 2223528;public static final Project.XpnProjectStatus UNSPECIFIED_XPN_PROJECT_STATUS
UNSPECIFIED_XPN_PROJECT_STATUS = 340393257;public static final Project.XpnProjectStatus UNRECOGNIZED
public static final int UNDEFINED_XPN_PROJECT_STATUS_VALUE
A value indicating that the enum field is not set.
UNDEFINED_XPN_PROJECT_STATUS = 0;public static final int HOST_VALUE
HOST = 2223528;public static final int UNSPECIFIED_XPN_PROJECT_STATUS_VALUE
UNSPECIFIED_XPN_PROJECT_STATUS = 340393257;public static Project.XpnProjectStatus[] values()
for (Project.XpnProjectStatus c : Project.XpnProjectStatus.values()) System.out.println(c);
public static Project.XpnProjectStatus 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 Project.XpnProjectStatus valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Project.XpnProjectStatus forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Project.XpnProjectStatus> 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 Project.XpnProjectStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.