Interface RouterStatusOrBuilder (1.65.0)

public interface RouterStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBestRoutes(int index)

public abstract Route getBestRoutes(int index)

A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions.

repeated .google.cloud.compute.v1.Route best_routes = 395826693;

Parameter
Name Description
index int
Returns
Type Description
Route

getBestRoutesCount()

public abstract int getBestRoutesCount()

A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions.

repeated .google.cloud.compute.v1.Route best_routes = 395826693;

Returns
Type Description
int

getBestRoutesForRouter(int index)

public abstract Route getBestRoutesForRouter(int index)

A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router.

repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;

Parameter
Name Description
index int
Returns
Type Description
Route

getBestRoutesForRouterCount()

public abstract int getBestRoutesForRouterCount()

A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router.

repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;

Returns
Type Description
int

getBestRoutesForRouterList()

public abstract List<Route> getBestRoutesForRouterList()

A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router.

repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;

Returns
Type Description
List<Route>

getBestRoutesForRouterOrBuilder(int index)

public abstract RouteOrBuilder getBestRoutesForRouterOrBuilder(int index)

A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router.

repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;

Parameter
Name Description
index int
Returns
Type Description
RouteOrBuilder

getBestRoutesForRouterOrBuilderList()

public abstract List<? extends RouteOrBuilder> getBestRoutesForRouterOrBuilderList()

A list of the best BGP routes learned by this Cloud Router. It is possible that routes listed might not be programmed into the data plane, if the Google Cloud control plane finds a more optimal route for a prefix than a route learned by this Cloud Router.

repeated .google.cloud.compute.v1.Route best_routes_for_router = 119389689;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.RouteOrBuilder>

getBestRoutesList()

public abstract List<Route> getBestRoutesList()

A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions.

repeated .google.cloud.compute.v1.Route best_routes = 395826693;

Returns
Type Description
List<Route>

getBestRoutesOrBuilder(int index)

public abstract RouteOrBuilder getBestRoutesOrBuilder(int index)

A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions.

repeated .google.cloud.compute.v1.Route best_routes = 395826693;

Parameter
Name Description
index int
Returns
Type Description
RouteOrBuilder

getBestRoutesOrBuilderList()

public abstract List<? extends RouteOrBuilder> getBestRoutesOrBuilderList()

A list of the best dynamic routes for this Cloud Router's Virtual Private Cloud (VPC) network in the same region as this Cloud Router. Lists all of the best routes per prefix that are programmed into this region's VPC data plane. When global dynamic routing mode is turned on in the VPC network, this list can include cross-region dynamic routes from Cloud Routers in other regions.

repeated .google.cloud.compute.v1.Route best_routes = 395826693;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.RouteOrBuilder>

getBgpPeerStatus(int index)

public abstract RouterStatusBgpPeerStatus getBgpPeerStatus(int index)

repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;

Parameter
Name Description
index int
Returns
Type Description
RouterStatusBgpPeerStatus

getBgpPeerStatusCount()

public abstract int getBgpPeerStatusCount()

repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;

Returns
Type Description
int

getBgpPeerStatusList()

public abstract List<RouterStatusBgpPeerStatus> getBgpPeerStatusList()

repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;

Returns
Type Description
List<RouterStatusBgpPeerStatus>

getBgpPeerStatusOrBuilder(int index)

public abstract RouterStatusBgpPeerStatusOrBuilder getBgpPeerStatusOrBuilder(int index)

repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;

Parameter
Name Description
index int
Returns
Type Description
RouterStatusBgpPeerStatusOrBuilder

getBgpPeerStatusOrBuilderList()

public abstract List<? extends RouterStatusBgpPeerStatusOrBuilder> getBgpPeerStatusOrBuilderList()

repeated .google.cloud.compute.v1.RouterStatusBgpPeerStatus bgp_peer_status = 218459131;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.RouterStatusBgpPeerStatusOrBuilder>

getNatStatus(int index)

public abstract RouterStatusNatStatus getNatStatus(int index)

repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;

Parameter
Name Description
index int
Returns
Type Description
RouterStatusNatStatus

getNatStatusCount()

public abstract int getNatStatusCount()

repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;

Returns
Type Description
int

getNatStatusList()

public abstract List<RouterStatusNatStatus> getNatStatusList()

repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;

Returns
Type Description
List<RouterStatusNatStatus>

getNatStatusOrBuilder(int index)

public abstract RouterStatusNatStatusOrBuilder getNatStatusOrBuilder(int index)

repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;

Parameter
Name Description
index int
Returns
Type Description
RouterStatusNatStatusOrBuilder

getNatStatusOrBuilderList()

public abstract List<? extends RouterStatusNatStatusOrBuilder> getNatStatusOrBuilderList()

repeated .google.cloud.compute.v1.RouterStatusNatStatus nat_status = 63098064;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.RouterStatusNatStatusOrBuilder>

getNetwork()

public abstract String getNetwork()

URI of the network to which this router belongs.

optional string network = 232872494;

Returns
Type Description
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

URI of the network to which this router belongs.

optional string network = 232872494;

Returns
Type Description
ByteString

The bytes for network.

hasNetwork()

public abstract boolean hasNetwork()

URI of the network to which this router belongs.

optional string network = 232872494;

Returns
Type Description
boolean

Whether the network field is set.