Interface NetworkRoutingConfigOrBuilder (1.27.0)

public interface NetworkRoutingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRoutingMode()

public abstract String getRoutingMode()

The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.

optional string routing_mode = 475143548;

Returns
TypeDescription
String

The routingMode.

getRoutingModeBytes()

public abstract ByteString getRoutingModeBytes()

The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.

optional string routing_mode = 475143548;

Returns
TypeDescription
ByteString

The bytes for routingMode.

hasRoutingMode()

public abstract boolean hasRoutingMode()

The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. Check the RoutingMode enum for the list of possible values.

optional string routing_mode = 475143548;

Returns
TypeDescription
boolean

Whether the routingMode field is set.