Interface ExchangedPeeringRouteOrBuilder (1.45.0)

public interface ExchangedPeeringRouteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestRange()

public abstract String getDestRange()

The destination range of the route.

optional string dest_range = 381327712;

Returns
TypeDescription
String

The destRange.

getDestRangeBytes()

public abstract ByteString getDestRangeBytes()

The destination range of the route.

optional string dest_range = 381327712;

Returns
TypeDescription
ByteString

The bytes for destRange.

getImported()

public abstract boolean getImported()

True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict.

optional bool imported = 114502404;

Returns
TypeDescription
boolean

The imported.

getNextHopRegion()

public abstract String getNextHopRegion()

The region of peering route next hop, only applies to dynamic routes.

optional string next_hop_region = 122577014;

Returns
TypeDescription
String

The nextHopRegion.

getNextHopRegionBytes()

public abstract ByteString getNextHopRegionBytes()

The region of peering route next hop, only applies to dynamic routes.

optional string next_hop_region = 122577014;

Returns
TypeDescription
ByteString

The bytes for nextHopRegion.

getPriority()

public abstract int getPriority()

The priority of the peering route.

optional uint32 priority = 445151652;

Returns
TypeDescription
int

The priority.

getType()

public abstract String getType()

The type of the peering route. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The type of the peering route. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
TypeDescription
ByteString

The bytes for type.

hasDestRange()

public abstract boolean hasDestRange()

The destination range of the route.

optional string dest_range = 381327712;

Returns
TypeDescription
boolean

Whether the destRange field is set.

hasImported()

public abstract boolean hasImported()

True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict.

optional bool imported = 114502404;

Returns
TypeDescription
boolean

Whether the imported field is set.

hasNextHopRegion()

public abstract boolean hasNextHopRegion()

The region of peering route next hop, only applies to dynamic routes.

optional string next_hop_region = 122577014;

Returns
TypeDescription
boolean

Whether the nextHopRegion field is set.

hasPriority()

public abstract boolean hasPriority()

The priority of the peering route.

optional uint32 priority = 445151652;

Returns
TypeDescription
boolean

Whether the priority field is set.

hasType()

public abstract boolean hasType()

The type of the peering route. Check the Type enum for the list of possible values.

optional string type = 3575610;

Returns
TypeDescription
boolean

Whether the type field is set.