public static enum RouteInfo.RouteType extends Enum<RouteInfo.RouteType> implements com.google.protobuf.ProtocolMessageEnum
Type of route:Protobuf enum
google.cloud.networkmanagement.v1beta1.RouteInfo.RouteType| Enum Constant and Description |
|---|
DYNAMIC
Dynamic route exchanged between BGP peers.
|
PEERING_DYNAMIC
A dynamic route received from peering network.
|
PEERING_STATIC
A static route received from peering network.
|
PEERING_SUBNET
A subnet route received from peering network.
|
ROUTE_TYPE_UNSPECIFIED
Unspecified type.
|
STATIC
Static route created by the user, including the default route to the
internet.
|
SUBNET
Route is a subnet route automatically created by the system.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DYNAMIC_VALUE
Dynamic route exchanged between BGP peers.
|
static int |
PEERING_DYNAMIC_VALUE
A dynamic route received from peering network.
|
static int |
PEERING_STATIC_VALUE
A static route received from peering network.
|
static int |
PEERING_SUBNET_VALUE
A subnet route received from peering network.
|
static int |
ROUTE_TYPE_UNSPECIFIED_VALUE
Unspecified type.
|
static int |
STATIC_VALUE
Static route created by the user, including the default route to the
internet.
|
static int |
SUBNET_VALUE
Route is a subnet route automatically created by the system.
|
| Modifier and Type | Method and Description |
|---|---|
static RouteInfo.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<RouteInfo.RouteType> |
internalGetValueMap() |
static RouteInfo.RouteType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RouteInfo.RouteType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RouteInfo.RouteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteInfo.RouteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteInfo.RouteType ROUTE_TYPE_UNSPECIFIED
Unspecified type. Default value.
ROUTE_TYPE_UNSPECIFIED = 0;public static final RouteInfo.RouteType SUBNET
Route is a subnet route automatically created by the system.
SUBNET = 1;public static final RouteInfo.RouteType STATIC
Static route created by the user, including the default route to the internet.
STATIC = 2;public static final RouteInfo.RouteType DYNAMIC
Dynamic route exchanged between BGP peers.
DYNAMIC = 3;public static final RouteInfo.RouteType PEERING_SUBNET
A subnet route received from peering network.
PEERING_SUBNET = 4;public static final RouteInfo.RouteType PEERING_STATIC
A static route received from peering network.
PEERING_STATIC = 5;public static final RouteInfo.RouteType PEERING_DYNAMIC
A dynamic route received from peering network.
PEERING_DYNAMIC = 6;public static final RouteInfo.RouteType UNRECOGNIZED
public static final int ROUTE_TYPE_UNSPECIFIED_VALUE
Unspecified type. Default value.
ROUTE_TYPE_UNSPECIFIED = 0;public static final int SUBNET_VALUE
Route is a subnet route automatically created by the system.
SUBNET = 1;public static final int STATIC_VALUE
Static route created by the user, including the default route to the internet.
STATIC = 2;public static final int DYNAMIC_VALUE
Dynamic route exchanged between BGP peers.
DYNAMIC = 3;public static final int PEERING_SUBNET_VALUE
A subnet route received from peering network.
PEERING_SUBNET = 4;public static final int PEERING_STATIC_VALUE
A static route received from peering network.
PEERING_STATIC = 5;public static final int PEERING_DYNAMIC_VALUE
A dynamic route received from peering network.
PEERING_DYNAMIC = 6;public static RouteInfo.RouteType[] values()
for (RouteInfo.RouteType c : RouteInfo.RouteType.values()) System.out.println(c);
public static RouteInfo.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 RouteInfo.RouteType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RouteInfo.RouteType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RouteInfo.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 RouteInfo.RouteType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.