public static enum NetworkPeering.StackType extends Enum<NetworkPeering.StackType> implements com.google.protobuf.ProtocolMessageEnum
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY.Protobuf enum
google.cloud.compute.v1.NetworkPeering.StackType| Enum Constant and Description |
|---|
IPV4_IPV6
This Peering will allow IPv4 traffic and routes to be exchanged.
|
IPV4_ONLY
This Peering will only allow IPv4 traffic and routes to be exchanged, even if the matching peering is IPV4_IPV6.
|
UNDEFINED_STACK_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
IPV4_IPV6_VALUE
This Peering will allow IPv4 traffic and routes to be exchanged.
|
static int |
IPV4_ONLY_VALUE
This Peering will only allow IPv4 traffic and routes to be exchanged, even if the matching peering is IPV4_IPV6.
|
static int |
UNDEFINED_STACK_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkPeering.StackType |
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<NetworkPeering.StackType> |
internalGetValueMap() |
static NetworkPeering.StackType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetworkPeering.StackType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetworkPeering.StackType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkPeering.StackType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkPeering.StackType UNDEFINED_STACK_TYPE
A value indicating that the enum field is not set.
UNDEFINED_STACK_TYPE = 0;public static final NetworkPeering.StackType IPV4_IPV6
This Peering will allow IPv4 traffic and routes to be exchanged. Additionally if the matching peering is IPV4_IPV6, IPv6 traffic and routes will be exchanged as well.
IPV4_IPV6 = 22197249;public static final NetworkPeering.StackType IPV4_ONLY
This Peering will only allow IPv4 traffic and routes to be exchanged, even if the matching peering is IPV4_IPV6.
IPV4_ONLY = 22373798;public static final NetworkPeering.StackType UNRECOGNIZED
public static final int UNDEFINED_STACK_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STACK_TYPE = 0;public static final int IPV4_IPV6_VALUE
This Peering will allow IPv4 traffic and routes to be exchanged. Additionally if the matching peering is IPV4_IPV6, IPv6 traffic and routes will be exchanged as well.
IPV4_IPV6 = 22197249;public static final int IPV4_ONLY_VALUE
This Peering will only allow IPv4 traffic and routes to be exchanged, even if the matching peering is IPV4_IPV6.
IPV4_ONLY = 22373798;public static NetworkPeering.StackType[] values()
for (NetworkPeering.StackType c : NetworkPeering.StackType.values()) System.out.println(c);
public static NetworkPeering.StackType 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 NetworkPeering.StackType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NetworkPeering.StackType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetworkPeering.StackType> 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 NetworkPeering.StackType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.