public static enum VpnConnection.BgpRoutingMode extends Enum<VpnConnection.BgpRoutingMode> implements com.google.protobuf.ProtocolMessageEnum
Routing mode.Protobuf enum
google.cloud.edgecontainer.v1.VpnConnection.BgpRoutingMode| Enum Constant and Description |
|---|
BGP_ROUTING_MODE_UNSPECIFIED
Unknown.
|
GLOBAL
Global mode.
|
REGIONAL
Regional mode.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BGP_ROUTING_MODE_UNSPECIFIED_VALUE
Unknown.
|
static int |
GLOBAL_VALUE
Global mode.
|
static int |
REGIONAL_VALUE
Regional mode.
|
| Modifier and Type | Method and Description |
|---|---|
static VpnConnection.BgpRoutingMode |
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<VpnConnection.BgpRoutingMode> |
internalGetValueMap() |
static VpnConnection.BgpRoutingMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static VpnConnection.BgpRoutingMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static VpnConnection.BgpRoutingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VpnConnection.BgpRoutingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VpnConnection.BgpRoutingMode BGP_ROUTING_MODE_UNSPECIFIED
Unknown.
BGP_ROUTING_MODE_UNSPECIFIED = 0;public static final VpnConnection.BgpRoutingMode REGIONAL
Regional mode.
REGIONAL = 1;public static final VpnConnection.BgpRoutingMode GLOBAL
Global mode.
GLOBAL = 2;public static final VpnConnection.BgpRoutingMode UNRECOGNIZED
public static final int BGP_ROUTING_MODE_UNSPECIFIED_VALUE
Unknown.
BGP_ROUTING_MODE_UNSPECIFIED = 0;public static final int REGIONAL_VALUE
Regional mode.
REGIONAL = 1;public static final int GLOBAL_VALUE
Global mode.
GLOBAL = 2;public static VpnConnection.BgpRoutingMode[] values()
for (VpnConnection.BgpRoutingMode c : VpnConnection.BgpRoutingMode.values()) System.out.println(c);
public static VpnConnection.BgpRoutingMode 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 VpnConnection.BgpRoutingMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static VpnConnection.BgpRoutingMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<VpnConnection.BgpRoutingMode> 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 VpnConnection.BgpRoutingMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.