Enum Route.RouteType (1.27.0)

public enum Route.RouteType extends Enum<Route.RouteType> implements 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 route

Protobuf enum google.cloud.compute.v1.Route.RouteType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
BGP

BGP = 65707;

BGP_VALUE

BGP = 65707;

STATIC

STATIC = 308331118;

STATIC_VALUE

STATIC = 308331118;

SUBNET

SUBNET = 309278557;

SUBNET_VALUE

SUBNET = 309278557;

TRANSIT

TRANSIT = 187793843;

TRANSIT_VALUE

TRANSIT = 187793843;

UNDEFINED_ROUTE_TYPE

A value indicating that the enum field is not set.

UNDEFINED_ROUTE_TYPE = 0;

UNDEFINED_ROUTE_TYPE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_ROUTE_TYPE = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()