public static enum Route.RouteType extends Enum<Route.RouteType> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static routeProtobuf enum
google.cloud.compute.v1.Route.RouteType| Enum Constant and Description |
|---|
BGP
BGP = 65707; |
STATIC
STATIC = 308331118; |
SUBNET
SUBNET = 309278557; |
TRANSIT
TRANSIT = 187793843; |
UNDEFINED_ROUTE_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BGP_VALUE
BGP = 65707; |
static int |
STATIC_VALUE
STATIC = 308331118; |
static int |
SUBNET_VALUE
SUBNET = 309278557; |
static int |
TRANSIT_VALUE
TRANSIT = 187793843; |
static int |
UNDEFINED_ROUTE_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Route.RouteType |
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<Route.RouteType> |
internalGetValueMap() |
static Route.RouteType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Route.RouteType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Route.RouteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Route.RouteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Route.RouteType UNDEFINED_ROUTE_TYPE
A value indicating that the enum field is not set.
UNDEFINED_ROUTE_TYPE = 0;public static final Route.RouteType BGP
BGP = 65707;public static final Route.RouteType STATIC
STATIC = 308331118;public static final Route.RouteType SUBNET
SUBNET = 309278557;public static final Route.RouteType TRANSIT
TRANSIT = 187793843;public static final Route.RouteType UNRECOGNIZED
public static final int UNDEFINED_ROUTE_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ROUTE_TYPE = 0;public static final int BGP_VALUE
BGP = 65707;public static final int STATIC_VALUE
STATIC = 308331118;public static final int SUBNET_VALUE
SUBNET = 309278557;public static final int TRANSIT_VALUE
TRANSIT = 187793843;public static Route.RouteType[] values()
for (Route.RouteType c : Route.RouteType.values()) System.out.println(c);
public static Route.RouteType 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 Route.RouteType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Route.RouteType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Route.RouteType> 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 Route.RouteType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.