Interface PacketMirroringFilterOrBuilder (1.63.0)

public interface PacketMirroringFilterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCidrRanges(int index)

public abstract String getCidrRanges(int index)

One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".

repeated string cidr_ranges = 487901697;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The cidrRanges at the given index.

getCidrRangesBytes(int index)

public abstract ByteString getCidrRangesBytes(int index)

One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".

repeated string cidr_ranges = 487901697;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the cidrRanges at the given index.

getCidrRangesCount()

public abstract int getCidrRangesCount()

One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".

repeated string cidr_ranges = 487901697;

Returns
Type Description
int

The count of cidrRanges.

getCidrRangesList()

public abstract List<String> getCidrRangesList()

One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0".

repeated string cidr_ranges = 487901697;

Returns
Type Description
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
Type Description
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
Type Description
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 IPv4 traffic is mirrored.

repeated string I_p_protocols = 98544854;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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 IPv4 traffic is mirrored.

repeated string I_p_protocols = 98544854;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
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 IPv4 traffic is mirrored.

repeated string I_p_protocols = 98544854;

Returns
Type Description
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 IPv4 traffic is mirrored.

repeated string I_p_protocols = 98544854;

Returns
Type Description
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
Type Description
boolean

Whether the direction field is set.