Interface PacketMirroringFilterOrBuilder (1.23.0)

public interface PacketMirroringFilterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCidrRanges(int index)

public abstract String getCidrRanges(int index)

IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.

repeated string cidr_ranges = 487901697;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The cidrRanges at the given index.

getCidrRangesBytes(int index)

public abstract ByteString getCidrRangesBytes(int index)

IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.

repeated string cidr_ranges = 487901697;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the cidrRanges at the given index.

getCidrRangesCount()

public abstract int getCidrRangesCount()

IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.

repeated string cidr_ranges = 487901697;

Returns
TypeDescription
int

The count of cidrRanges.

getCidrRangesList()

public abstract List<String> getCidrRangesList()

IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.

repeated string cidr_ranges = 487901697;

Returns
TypeDescription
List<String>

A list containing the cidrRanges.

getDirection()

public abstract String getDirection()

Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. Check the Direction enum for the list of possible values.

optional string direction = 111150975;

Returns
TypeDescription
String

The direction.

getDirectionBytes()

public abstract ByteString getDirectionBytes()

Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. Check the Direction enum for the list of possible values.

optional string direction = 111150975;

Returns
TypeDescription
ByteString

The bytes for direction.

getIPProtocols(int index)

public abstract String getIPProtocols(int index)

Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.

repeated string I_p_protocols = 98544854;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The iPProtocols at the given index.

getIPProtocolsBytes(int index)

public abstract ByteString getIPProtocolsBytes(int index)

Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.

repeated string I_p_protocols = 98544854;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the iPProtocols at the given index.

getIPProtocolsCount()

public abstract int getIPProtocolsCount()

Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.

repeated string I_p_protocols = 98544854;

Returns
TypeDescription
int

The count of iPProtocols.

getIPProtocolsList()

public abstract List<String> getIPProtocolsList()

Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.

repeated string I_p_protocols = 98544854;

Returns
TypeDescription
List<String>

A list containing the iPProtocols.

hasDirection()

public abstract boolean hasDirection()

Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. Check the Direction enum for the list of possible values.

optional string direction = 111150975;

Returns
TypeDescription
boolean

Whether the direction field is set.