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