Interface NetworkRoutingConfigOrBuilder (1.65.0)

public interface NetworkRoutingConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBgpAlwaysCompareMed()

public abstract boolean getBgpAlwaysCompareMed()

Enable comparison of Multi-Exit Discriminators (MED) across routes with different neighbor ASNs when using the STANDARD BGP best path selection algorithm.

optional bool bgp_always_compare_med = 213102902;

Returns
Type Description
boolean

The bgpAlwaysCompareMed.

getBgpBestPathSelectionMode()

public abstract String getBgpBestPathSelectionMode()

The BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers. Can be LEGACY (default) or STANDARD. Check the BgpBestPathSelectionMode enum for the list of possible values.

optional string bgp_best_path_selection_mode = 317816297;

Returns
Type Description
String

The bgpBestPathSelectionMode.

getBgpBestPathSelectionModeBytes()

public abstract ByteString getBgpBestPathSelectionModeBytes()

The BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers. Can be LEGACY (default) or STANDARD. Check the BgpBestPathSelectionMode enum for the list of possible values.

optional string bgp_best_path_selection_mode = 317816297;

Returns
Type Description
ByteString

The bytes for bgpBestPathSelectionMode.

getBgpInterRegionCost()

public abstract String getBgpInterRegionCost()

Allows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm. Can be DEFAULT or ADD_COST_TO_MED. Check the BgpInterRegionCost enum for the list of possible values.

optional string bgp_inter_region_cost = 462142689;

Returns
Type Description
String

The bgpInterRegionCost.

getBgpInterRegionCostBytes()

public abstract ByteString getBgpInterRegionCostBytes()

Allows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm. Can be DEFAULT or ADD_COST_TO_MED. Check the BgpInterRegionCost enum for the list of possible values.

optional string bgp_inter_region_cost = 462142689;

Returns
Type Description
ByteString

The bytes for bgpInterRegionCost.

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
Type Description
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
Type Description
ByteString

The bytes for routingMode.

hasBgpAlwaysCompareMed()

public abstract boolean hasBgpAlwaysCompareMed()

Enable comparison of Multi-Exit Discriminators (MED) across routes with different neighbor ASNs when using the STANDARD BGP best path selection algorithm.

optional bool bgp_always_compare_med = 213102902;

Returns
Type Description
boolean

Whether the bgpAlwaysCompareMed field is set.

hasBgpBestPathSelectionMode()

public abstract boolean hasBgpBestPathSelectionMode()

The BGP best path selection algorithm to be employed within this network for dynamic routes learned by Cloud Routers. Can be LEGACY (default) or STANDARD. Check the BgpBestPathSelectionMode enum for the list of possible values.

optional string bgp_best_path_selection_mode = 317816297;

Returns
Type Description
boolean

Whether the bgpBestPathSelectionMode field is set.

hasBgpInterRegionCost()

public abstract boolean hasBgpInterRegionCost()

Allows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm. Can be DEFAULT or ADD_COST_TO_MED. Check the BgpInterRegionCost enum for the list of possible values.

optional string bgp_inter_region_cost = 462142689;

Returns
Type Description
boolean

Whether the bgpInterRegionCost field is set.

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
Type Description
boolean

Whether the routingMode field is set.