Interface TcpRoute.RouteMatchOrBuilder (0.15.0)

public static interface TcpRoute.RouteMatchOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAddress()

public abstract String getAddress()

Required. Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). Only IPV4 addresses are supported. Examples: "10.0.0.1" - matches against this exact IP address. "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0"

  • matches against any IP address'.

string address = 1;

Returns
Type Description
String

The address.

getAddressBytes()

public abstract ByteString getAddressBytes()

Required. Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). Only IPV4 addresses are supported. Examples: "10.0.0.1" - matches against this exact IP address. "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0"

  • matches against any IP address'.

string address = 1;

Returns
Type Description
ByteString

The bytes for address.

getPort()

public abstract String getPort()

Required. Specifies the destination port to match against.

string port = 2;

Returns
Type Description
String

The port.

getPortBytes()

public abstract ByteString getPortBytes()

Required. Specifies the destination port to match against.

string port = 2;

Returns
Type Description
ByteString

The bytes for port.