public static enum ListBgpRoutesRoutersRequest.AddressFamily extends Enum<ListBgpRoutesRoutersRequest.AddressFamily> implements com.google.protobuf.ProtocolMessageEnum
(Required) limit results to this address family (either IPv4 or IPv6)Protobuf enum
google.cloud.compute.v1.ListBgpRoutesRoutersRequest.AddressFamily| Enum Constant and Description |
|---|
IPV4
IPV4 = 2254341; |
IPV6
IPV6 = 2254343; |
UNDEFINED_ADDRESS_FAMILY
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
UNSPECIFIED_IP_VERSION
UNSPECIFIED_IP_VERSION = 72938440; |
| Modifier and Type | Field and Description |
|---|---|
static int |
IPV4_VALUE
IPV4 = 2254341; |
static int |
IPV6_VALUE
IPV6 = 2254343; |
static int |
UNDEFINED_ADDRESS_FAMILY_VALUE
A value indicating that the enum field is not set.
|
static int |
UNSPECIFIED_IP_VERSION_VALUE
UNSPECIFIED_IP_VERSION = 72938440; |
| Modifier and Type | Method and Description |
|---|---|
static ListBgpRoutesRoutersRequest.AddressFamily |
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<ListBgpRoutesRoutersRequest.AddressFamily> |
internalGetValueMap() |
static ListBgpRoutesRoutersRequest.AddressFamily |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ListBgpRoutesRoutersRequest.AddressFamily |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ListBgpRoutesRoutersRequest.AddressFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListBgpRoutesRoutersRequest.AddressFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListBgpRoutesRoutersRequest.AddressFamily UNDEFINED_ADDRESS_FAMILY
A value indicating that the enum field is not set.
UNDEFINED_ADDRESS_FAMILY = 0;public static final ListBgpRoutesRoutersRequest.AddressFamily IPV4
IPV4 = 2254341;public static final ListBgpRoutesRoutersRequest.AddressFamily IPV6
IPV6 = 2254343;public static final ListBgpRoutesRoutersRequest.AddressFamily UNSPECIFIED_IP_VERSION
UNSPECIFIED_IP_VERSION = 72938440;public static final ListBgpRoutesRoutersRequest.AddressFamily UNRECOGNIZED
public static final int UNDEFINED_ADDRESS_FAMILY_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ADDRESS_FAMILY = 0;public static final int IPV4_VALUE
IPV4 = 2254341;public static final int IPV6_VALUE
IPV6 = 2254343;public static final int UNSPECIFIED_IP_VERSION_VALUE
UNSPECIFIED_IP_VERSION = 72938440;public static ListBgpRoutesRoutersRequest.AddressFamily[] values()
for (ListBgpRoutesRoutersRequest.AddressFamily c : ListBgpRoutesRoutersRequest.AddressFamily.values()) System.out.println(c);
public static ListBgpRoutesRoutersRequest.AddressFamily 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 ListBgpRoutesRoutersRequest.AddressFamily valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ListBgpRoutesRoutersRequest.AddressFamily forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ListBgpRoutesRoutersRequest.AddressFamily> 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 ListBgpRoutesRoutersRequest.AddressFamily valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.