public static final class PacketMirroringFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PacketMirroringFilter.Builder> implements PacketMirroringFilterOrBuilder
Protobuf type
google.cloud.compute.v1.PacketMirroringFilter| Modifier and Type | Method and Description |
|---|---|
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.
|
PacketMirroringFilter.Builder |
addAllIPProtocols(Iterable<String> values)
Protocols that apply as filter on mirrored traffic.
|
PacketMirroringFilter.Builder |
addCidrRanges(String value)
IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header.
|
PacketMirroringFilter.Builder |
addCidrRangesBytes(com.google.protobuf.ByteString value)
IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header.
|
PacketMirroringFilter.Builder |
addIPProtocols(String value)
Protocols that apply as filter on mirrored traffic.
|
PacketMirroringFilter.Builder |
addIPProtocolsBytes(com.google.protobuf.ByteString value)
Protocols that apply as filter on mirrored traffic.
|
PacketMirroringFilter.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PacketMirroringFilter |
build() |
PacketMirroringFilter |
buildPartial() |
PacketMirroringFilter.Builder |
clear() |
PacketMirroringFilter.Builder |
clearCidrRanges()
IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header.
|
PacketMirroringFilter.Builder |
clearDirection()
Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH.
|
PacketMirroringFilter.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PacketMirroringFilter.Builder |
clearIPProtocols()
Protocols that apply as filter on mirrored traffic.
|
PacketMirroringFilter.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PacketMirroringFilter.Builder |
clone() |
String |
getCidrRanges(int index)
IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header.
|
com.google.protobuf.ByteString |
getCidrRangesBytes(int index)
IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header.
|
int |
getCidrRangesCount()
IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header.
|
com.google.protobuf.ProtocolStringList |
getCidrRangesList()
IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header.
|
PacketMirroringFilter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDirection()
Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH.
|
com.google.protobuf.ByteString |
getDirectionBytes()
Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH.
|
String |
getIPProtocols(int index)
Protocols that apply as filter on mirrored traffic.
|
com.google.protobuf.ByteString |
getIPProtocolsBytes(int index)
Protocols that apply as filter on mirrored traffic.
|
int |
getIPProtocolsCount()
Protocols that apply as filter on mirrored traffic.
|
com.google.protobuf.ProtocolStringList |
getIPProtocolsList()
Protocols that apply as filter on mirrored traffic.
|
boolean |
hasDirection()
Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PacketMirroringFilter.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PacketMirroringFilter.Builder |
mergeFrom(com.google.protobuf.Message other) |
PacketMirroringFilter.Builder |
mergeFrom(PacketMirroringFilter other) |
PacketMirroringFilter.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
PacketMirroringFilter.Builder |
setDirection(String value)
Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH.
|
PacketMirroringFilter.Builder |
setDirectionBytes(com.google.protobuf.ByteString value)
Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH.
|
PacketMirroringFilter.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PacketMirroringFilter.Builder |
setIPProtocols(int index,
String value)
Protocols that apply as filter on mirrored traffic.
|
PacketMirroringFilter.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PacketMirroringFilter.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PacketMirroringFilter.Builder>public PacketMirroringFilter.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PacketMirroringFilter.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PacketMirroringFilter.Builder>public PacketMirroringFilter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PacketMirroringFilter build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PacketMirroringFilter buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PacketMirroringFilter.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PacketMirroringFilter.Builder>public PacketMirroringFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PacketMirroringFilter.Builder>public PacketMirroringFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PacketMirroringFilter.Builder>public PacketMirroringFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PacketMirroringFilter.Builder>public PacketMirroringFilter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PacketMirroringFilter.Builder>public PacketMirroringFilter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PacketMirroringFilter.Builder>public PacketMirroringFilter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PacketMirroringFilter.Builder>public PacketMirroringFilter.Builder mergeFrom(PacketMirroringFilter other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PacketMirroringFilter.Builder>public PacketMirroringFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PacketMirroringFilter.Builder>IOExceptionpublic com.google.protobuf.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;getIPProtocolsList in interface PacketMirroringFilterOrBuilderpublic 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;getIPProtocolsCount in interface PacketMirroringFilterOrBuilderpublic 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;getIPProtocols in interface PacketMirroringFilterOrBuilderindex - The index of the element to return.public 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 traffic is mirrored.
repeated string I_p_protocols = 98544854;getIPProtocolsBytes in interface PacketMirroringFilterOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The iPProtocols to set.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;value - The iPProtocols to add.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;values - The iPProtocols to add.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;public PacketMirroringFilter.Builder addIPProtocolsBytes(com.google.protobuf.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;value - The bytes of the iPProtocols to add.public com.google.protobuf.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;getCidrRangesList in interface PacketMirroringFilterOrBuilderpublic 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;getCidrRangesCount in interface PacketMirroringFilterOrBuilderpublic 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;getCidrRanges in interface PacketMirroringFilterOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getCidrRangesBytes in interface PacketMirroringFilterOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The cidrRanges to set.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;value - The cidrRanges to add.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;values - The cidrRanges to add.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;public PacketMirroringFilter.Builder addCidrRangesBytes(com.google.protobuf.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;value - The bytes of the cidrRanges to add.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;hasDirection in interface PacketMirroringFilterOrBuilderpublic 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;getDirection in interface PacketMirroringFilterOrBuilderpublic 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;getDirectionBytes in interface PacketMirroringFilterOrBuilderpublic 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;value - The direction to set.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;public PacketMirroringFilter.Builder setDirectionBytes(com.google.protobuf.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;value - The bytes for direction to set.public final PacketMirroringFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PacketMirroringFilter.Builder>public final PacketMirroringFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PacketMirroringFilter.Builder>Copyright © 2023 Google LLC. All rights reserved.