- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class PacketMirroringFilter.Builder extends GeneratedMessageV3.Builder<PacketMirroringFilter.Builder> implements PacketMirroringFilterOrBuilder
Protobuf type google.cloud.compute.v1.PacketMirroringFilter
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PacketMirroringFilter.BuilderImplements
PacketMirroringFilterOrBuilderMethods
addAllCidrRanges(Iterable<String> values)
public PacketMirroringFilter.Builder addAllCidrRanges(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The cidrRanges to add. |
Type | Description |
PacketMirroringFilter.Builder | This builder for chaining. |
addAllIPProtocols(Iterable<String> values)
public PacketMirroringFilter.Builder addAllIPProtocols(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The iPProtocols to add. |
Type | Description |
PacketMirroringFilter.Builder | This builder for chaining. |
addCidrRanges(String value)
public PacketMirroringFilter.Builder addCidrRanges(String value)
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;
Name | Description |
value | String The cidrRanges to add. |
Type | Description |
PacketMirroringFilter.Builder | This builder for chaining. |
addCidrRangesBytes(ByteString value)
public PacketMirroringFilter.Builder addCidrRangesBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes of the cidrRanges to add. |
Type | Description |
PacketMirroringFilter.Builder | This builder for chaining. |
addIPProtocols(String value)
public PacketMirroringFilter.Builder addIPProtocols(String value)
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;
Name | Description |
value | String The iPProtocols to add. |
Type | Description |
PacketMirroringFilter.Builder | This builder for chaining. |
addIPProtocolsBytes(ByteString value)
public PacketMirroringFilter.Builder addIPProtocolsBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes of the iPProtocols to add. |
Type | Description |
PacketMirroringFilter.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PacketMirroringFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PacketMirroringFilter.Builder |
build()
public PacketMirroringFilter build()
Type | Description |
PacketMirroringFilter |
buildPartial()
public PacketMirroringFilter buildPartial()
Type | Description |
PacketMirroringFilter |
clear()
public PacketMirroringFilter.Builder clear()
Type | Description |
PacketMirroringFilter.Builder |
clearCidrRanges()
public PacketMirroringFilter.Builder clearCidrRanges()
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;
Type | Description |
PacketMirroringFilter.Builder | This builder for chaining. |
clearDirection()
public PacketMirroringFilter.Builder clearDirection()
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;
Type | Description |
PacketMirroringFilter.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PacketMirroringFilter.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PacketMirroringFilter.Builder |
clearIPProtocols()
public PacketMirroringFilter.Builder clearIPProtocols()
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;
Type | Description |
PacketMirroringFilter.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PacketMirroringFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PacketMirroringFilter.Builder |
clone()
public PacketMirroringFilter.Builder clone()
Type | Description |
PacketMirroringFilter.Builder |
getCidrRanges(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The cidrRanges at the given index. |
getCidrRangesBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the cidrRanges at the given index. |
getCidrRangesCount()
public 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;
Type | Description |
int | The count of cidrRanges. |
getCidrRangesList()
public ProtocolStringList 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;
Type | Description |
ProtocolStringList | A list containing the cidrRanges. |
getDefaultInstanceForType()
public PacketMirroringFilter getDefaultInstanceForType()
Type | Description |
PacketMirroringFilter |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDirection()
public 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;
Type | Description |
String | The direction. |
getDirectionBytes()
public 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;
Type | Description |
ByteString | The bytes for direction. |
getIPProtocols(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The iPProtocols at the given index. |
getIPProtocolsBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the iPProtocols at the given index. |
getIPProtocolsCount()
public 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;
Type | Description |
int | The count of iPProtocols. |
getIPProtocolsList()
public ProtocolStringList 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;
Type | Description |
ProtocolStringList | A list containing the iPProtocols. |
hasDirection()
public 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;
Type | Description |
boolean | Whether the direction field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PacketMirroringFilter other)
public PacketMirroringFilter.Builder mergeFrom(PacketMirroringFilter other)
Name | Description |
other | PacketMirroringFilter |
Type | Description |
PacketMirroringFilter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PacketMirroringFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PacketMirroringFilter.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PacketMirroringFilter.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PacketMirroringFilter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PacketMirroringFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PacketMirroringFilter.Builder |
setCidrRanges(int index, String value)
public PacketMirroringFilter.Builder setCidrRanges(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The cidrRanges to set. |
Type | Description |
PacketMirroringFilter.Builder | This builder for chaining. |
setDirection(String value)
public PacketMirroringFilter.Builder setDirection(String value)
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;
Name | Description |
value | String The direction to set. |
Type | Description |
PacketMirroringFilter.Builder | This builder for chaining. |
setDirectionBytes(ByteString value)
public PacketMirroringFilter.Builder setDirectionBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for direction to set. |
Type | Description |
PacketMirroringFilter.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PacketMirroringFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PacketMirroringFilter.Builder |
setIPProtocols(int index, String value)
public PacketMirroringFilter.Builder setIPProtocols(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The iPProtocols to set. |
Type | Description |
PacketMirroringFilter.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PacketMirroringFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PacketMirroringFilter.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PacketMirroringFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PacketMirroringFilter.Builder |