Interface RouterBgpPeerCustomLearnedIpRangeOrBuilder (1.49.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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the range field is set.