public static enum NetworkRoutingConfig.RoutingMode extends Enum<NetworkRoutingConfig.RoutingMode> implements com.google.protobuf.ProtocolMessageEnum
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions.Protobuf enum
google.cloud.compute.v1.NetworkRoutingConfig.RoutingMode| Enum Constant and Description |
|---|
GLOBAL
GLOBAL = 494663587; |
REGIONAL
REGIONAL = 92288543; |
UNDEFINED_ROUTING_MODE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
GLOBAL_VALUE
GLOBAL = 494663587; |
static int |
REGIONAL_VALUE
REGIONAL = 92288543; |
static int |
UNDEFINED_ROUTING_MODE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkRoutingConfig.RoutingMode |
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<NetworkRoutingConfig.RoutingMode> |
internalGetValueMap() |
static NetworkRoutingConfig.RoutingMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetworkRoutingConfig.RoutingMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetworkRoutingConfig.RoutingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkRoutingConfig.RoutingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkRoutingConfig.RoutingMode UNDEFINED_ROUTING_MODE
A value indicating that the enum field is not set.
UNDEFINED_ROUTING_MODE = 0;public static final NetworkRoutingConfig.RoutingMode GLOBAL
GLOBAL = 494663587;public static final NetworkRoutingConfig.RoutingMode REGIONAL
REGIONAL = 92288543;public static final NetworkRoutingConfig.RoutingMode UNRECOGNIZED
public static final int UNDEFINED_ROUTING_MODE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ROUTING_MODE = 0;public static final int GLOBAL_VALUE
GLOBAL = 494663587;public static final int REGIONAL_VALUE
REGIONAL = 92288543;public static NetworkRoutingConfig.RoutingMode[] values()
for (NetworkRoutingConfig.RoutingMode c : NetworkRoutingConfig.RoutingMode.values()) System.out.println(c);
public static NetworkRoutingConfig.RoutingMode 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 NetworkRoutingConfig.RoutingMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NetworkRoutingConfig.RoutingMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetworkRoutingConfig.RoutingMode> 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 NetworkRoutingConfig.RoutingMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.