Interface BgpRouteNetworkLayerReachabilityInformationOrBuilder (1.69.0)

public interface BgpRouteNetworkLayerReachabilityInformationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPathId()

public abstract int getPathId()

If the BGP session supports multiple paths (RFC 7911), the path identifier for this route.

optional uint32 path_id = 282287989;

Returns
Type Description
int

The pathId.

getPrefix()

public abstract String getPrefix()

Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.

optional string prefix = 93631122;

Returns
Type Description
String

The prefix.

getPrefixBytes()

public abstract ByteString getPrefixBytes()

Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.

optional string prefix = 93631122;

Returns
Type Description
ByteString

The bytes for prefix.

hasPathId()

public abstract boolean hasPathId()

If the BGP session supports multiple paths (RFC 7911), the path identifier for this route.

optional uint32 path_id = 282287989;

Returns
Type Description
boolean

Whether the pathId field is set.

hasPrefix()

public abstract boolean hasPrefix()

Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.

optional string prefix = 93631122;

Returns
Type Description
boolean

Whether the prefix field is set.