Package com.google.cloud.compute.v1
Interface PacketMirroringFilterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PacketMirroringFilter,PacketMirroringFilter.Builder
@Generated
public interface PacketMirroringFilterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCidrRanges(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.com.google.protobuf.ByteStringgetCidrRangesBytes(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.intOne or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header.One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (ingress) or destination (egress) IP in the IP header.Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH.com.google.protobuf.ByteStringDirection of traffic to mirror, either INGRESS, EGRESS, or BOTH.getIPProtocols(int index) Protocols that apply as filter on mirrored traffic.com.google.protobuf.ByteStringgetIPProtocolsBytes(int index) Protocols that apply as filter on mirrored traffic.intProtocols that apply as filter on mirrored traffic.Protocols that apply as filter on mirrored traffic.booleanDirection of traffic to mirror, either INGRESS, EGRESS, or BOTH.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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:
- A list containing the iPProtocols.
-
getIPProtocolsCount
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:
- The count of iPProtocols.
-
getIPProtocols
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;- Parameters:
index- The index of the element to return.- Returns:
- The iPProtocols at the given index.
-
getIPProtocolsBytes
com.google.protobuf.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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the iPProtocols at the given index.
-
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:
- A list containing the cidrRanges.
-
getCidrRangesCount
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:
- The count of cidrRanges.
-
getCidrRanges
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;- Parameters:
index- The index of the element to return.- Returns:
- The cidrRanges at the given index.
-
getCidrRangesBytes
com.google.protobuf.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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the cidrRanges at the given index.
-
hasDirection
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:
- Whether the direction field is set.
-
getDirection
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:
- The direction.
-
getDirectionBytes
com.google.protobuf.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:
- The bytes for direction.
-