- 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
PacketMirroringFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllCidrRanges(Iterable<String> values)
public PacketMirroringFilter.Builder addAllCidrRanges(Iterable<String> values)
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 |
values |
Iterable<String> The cidrRanges to add. |
Returns | |
---|---|
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 IPv4 traffic is mirrored.
repeated string I_p_protocols = 98544854;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The iPProtocols to add. |
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
This builder for chaining. |
addCidrRanges(String value)
public PacketMirroringFilter.Builder addCidrRanges(String value)
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 |
value |
String The cidrRanges to add. |
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
This builder for chaining. |
addCidrRangesBytes(ByteString value)
public PacketMirroringFilter.Builder addCidrRangesBytes(ByteString value)
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 |
value |
ByteString The bytes of the cidrRanges to add. |
Returns | |
---|---|
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 IPv4 traffic is mirrored.
repeated string I_p_protocols = 98544854;
Parameter | |
---|---|
Name | Description |
value |
String The iPProtocols to add. |
Returns | |
---|---|
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 IPv4 traffic is mirrored.
repeated string I_p_protocols = 98544854;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the iPProtocols to add. |
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PacketMirroringFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
build()
public PacketMirroringFilter build()
Returns | |
---|---|
Type | Description |
PacketMirroringFilter |
buildPartial()
public PacketMirroringFilter buildPartial()
Returns | |
---|---|
Type | Description |
PacketMirroringFilter |
clear()
public PacketMirroringFilter.Builder clear()
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
clearCidrRanges()
public PacketMirroringFilter.Builder clearCidrRanges()
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 |
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;
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PacketMirroringFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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 IPv4 traffic is mirrored.
repeated string I_p_protocols = 98544854;
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PacketMirroringFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
clone()
public PacketMirroringFilter.Builder clone()
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
getCidrRanges(int index)
public 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 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 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the cidrRanges. |
getDefaultInstanceForType()
public PacketMirroringFilter getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PacketMirroringFilter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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 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 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 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 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 IPv4 traffic is mirrored.
repeated string I_p_protocols = 98544854;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the direction field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PacketMirroringFilter other)
public PacketMirroringFilter.Builder mergeFrom(PacketMirroringFilter other)
Parameter | |
---|---|
Name | Description |
other |
PacketMirroringFilter |
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PacketMirroringFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PacketMirroringFilter.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PacketMirroringFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
setCidrRanges(int index, String value)
public PacketMirroringFilter.Builder setCidrRanges(int index, String value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The cidrRanges to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The direction to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for direction to set. |
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PacketMirroringFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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 IPv4 traffic is mirrored.
repeated string I_p_protocols = 98544854;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The iPProtocols to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PacketMirroringFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PacketMirroringFilter.Builder |