public static enum ListBgpRoutesRoutersRequest.RouteType extends Enum<ListBgpRoutesRoutersRequest.RouteType> implements com.google.protobuf.ProtocolMessageEnum
(Required) limit results to this type of route (either LEARNED or ADVERTISED)Protobuf enum
google.cloud.compute.v1.ListBgpRoutesRoutersRequest.RouteType| Enum Constant and Description |
|---|
ADVERTISED
ADVERTISED = 20302109; |
LEARNED
LEARNED = 231892419; |
UNDEFINED_ROUTE_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
UNSPECIFIED_ROUTE_TYPE
UNSPECIFIED_ROUTE_TYPE = 248064440; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADVERTISED_VALUE
ADVERTISED = 20302109; |
static int |
LEARNED_VALUE
LEARNED = 231892419; |
static int |
UNDEFINED_ROUTE_TYPE_VALUE
A value indicating that the enum field is not set.
|
static int |
UNSPECIFIED_ROUTE_TYPE_VALUE
UNSPECIFIED_ROUTE_TYPE = 248064440; |
| Modifier and Type | Method and Description |
|---|---|
static ListBgpRoutesRoutersRequest.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<ListBgpRoutesRoutersRequest.RouteType> |
internalGetValueMap() |
static ListBgpRoutesRoutersRequest.RouteType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ListBgpRoutesRoutersRequest.RouteType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ListBgpRoutesRoutersRequest.RouteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListBgpRoutesRoutersRequest.RouteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListBgpRoutesRoutersRequest.RouteType UNDEFINED_ROUTE_TYPE
A value indicating that the enum field is not set.
UNDEFINED_ROUTE_TYPE = 0;public static final ListBgpRoutesRoutersRequest.RouteType ADVERTISED
ADVERTISED = 20302109;public static final ListBgpRoutesRoutersRequest.RouteType LEARNED
LEARNED = 231892419;public static final ListBgpRoutesRoutersRequest.RouteType UNSPECIFIED_ROUTE_TYPE
UNSPECIFIED_ROUTE_TYPE = 248064440;public static final ListBgpRoutesRoutersRequest.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 ADVERTISED_VALUE
ADVERTISED = 20302109;public static final int LEARNED_VALUE
LEARNED = 231892419;public static final int UNSPECIFIED_ROUTE_TYPE_VALUE
UNSPECIFIED_ROUTE_TYPE = 248064440;public static ListBgpRoutesRoutersRequest.RouteType[] values()
for (ListBgpRoutesRoutersRequest.RouteType c : ListBgpRoutesRoutersRequest.RouteType.values()) System.out.println(c);
public static ListBgpRoutesRoutersRequest.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 ListBgpRoutesRoutersRequest.RouteType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ListBgpRoutesRoutersRequest.RouteType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ListBgpRoutesRoutersRequest.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 ListBgpRoutesRoutersRequest.RouteType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.