Interface RouterBgpPeerCustomLearnedIpRangeOrBuilder (1.59.0)

public interface RouterBgpPeerCustomLearnedIpRangeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRange()

public abstract String getRange()

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

optional string range = 108280125;

Returns
Type Description
String

The range.

getRangeBytes()

public abstract ByteString getRangeBytes()

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

optional string range = 108280125;

Returns
Type Description
ByteString

The bytes for range.

hasRange()

public abstract boolean hasRange()

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128.

optional string range = 108280125;

Returns
Type Description
boolean

Whether the range field is set.