public static final class SecurityPolicyRuleNetworkMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRuleNetworkMatcher.Builder> implements SecurityPolicyRuleNetworkMatcherOrBuilder
Represents a match condition that incoming network traffic is evaluated against.Protobuf type
google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcher| Modifier and Type | Method and Description |
|---|---|
SecurityPolicyRuleNetworkMatcher.Builder |
addAllDestIpRanges(Iterable<String> values)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addAllDestPorts(Iterable<String> values)
Destination port numbers for TCP/UDP/SCTP.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addAllIpProtocols(Iterable<String> values)
IPv4 protocol / IPv6 next header (after extension headers).
|
SecurityPolicyRuleNetworkMatcher.Builder |
addAllSrcAsns(Iterable<? extends Integer> values)
BGP Autonomous System Number associated with the source IP address.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addAllSrcIpRanges(Iterable<String> values)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addAllSrcPorts(Iterable<String> values)
Source port numbers for TCP/UDP/SCTP.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addAllSrcRegionCodes(Iterable<String> values)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addAllUserDefinedFields(Iterable<? extends SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> values)
User-defined fields.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addDestIpRanges(String value)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addDestIpRangesBytes(com.google.protobuf.ByteString value)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addDestPorts(String value)
Destination port numbers for TCP/UDP/SCTP.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addDestPortsBytes(com.google.protobuf.ByteString value)
Destination port numbers for TCP/UDP/SCTP.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addIpProtocols(String value)
IPv4 protocol / IPv6 next header (after extension headers).
|
SecurityPolicyRuleNetworkMatcher.Builder |
addIpProtocolsBytes(com.google.protobuf.ByteString value)
IPv4 protocol / IPv6 next header (after extension headers).
|
SecurityPolicyRuleNetworkMatcher.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SecurityPolicyRuleNetworkMatcher.Builder |
addSrcAsns(int value)
BGP Autonomous System Number associated with the source IP address.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addSrcIpRanges(String value)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addSrcIpRangesBytes(com.google.protobuf.ByteString value)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addSrcPorts(String value)
Source port numbers for TCP/UDP/SCTP.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addSrcPortsBytes(com.google.protobuf.ByteString value)
Source port numbers for TCP/UDP/SCTP.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addSrcRegionCodes(String value)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addSrcRegionCodesBytes(com.google.protobuf.ByteString value)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addUserDefinedFields(int index,
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue)
User-defined fields.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addUserDefinedFields(int index,
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value)
User-defined fields.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addUserDefinedFields(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue)
User-defined fields.
|
SecurityPolicyRuleNetworkMatcher.Builder |
addUserDefinedFields(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value)
User-defined fields.
|
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder |
addUserDefinedFieldsBuilder()
User-defined fields.
|
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder |
addUserDefinedFieldsBuilder(int index)
User-defined fields.
|
SecurityPolicyRuleNetworkMatcher |
build() |
SecurityPolicyRuleNetworkMatcher |
buildPartial() |
SecurityPolicyRuleNetworkMatcher.Builder |
clear() |
SecurityPolicyRuleNetworkMatcher.Builder |
clearDestIpRanges()
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
SecurityPolicyRuleNetworkMatcher.Builder |
clearDestPorts()
Destination port numbers for TCP/UDP/SCTP.
|
SecurityPolicyRuleNetworkMatcher.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SecurityPolicyRuleNetworkMatcher.Builder |
clearIpProtocols()
IPv4 protocol / IPv6 next header (after extension headers).
|
SecurityPolicyRuleNetworkMatcher.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SecurityPolicyRuleNetworkMatcher.Builder |
clearSrcAsns()
BGP Autonomous System Number associated with the source IP address.
|
SecurityPolicyRuleNetworkMatcher.Builder |
clearSrcIpRanges()
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
SecurityPolicyRuleNetworkMatcher.Builder |
clearSrcPorts()
Source port numbers for TCP/UDP/SCTP.
|
SecurityPolicyRuleNetworkMatcher.Builder |
clearSrcRegionCodes()
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
|
SecurityPolicyRuleNetworkMatcher.Builder |
clearUserDefinedFields()
User-defined fields.
|
SecurityPolicyRuleNetworkMatcher.Builder |
clone() |
SecurityPolicyRuleNetworkMatcher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDestIpRanges(int index)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
com.google.protobuf.ByteString |
getDestIpRangesBytes(int index)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
int |
getDestIpRangesCount()
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
com.google.protobuf.ProtocolStringList |
getDestIpRangesList()
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
String |
getDestPorts(int index)
Destination port numbers for TCP/UDP/SCTP.
|
com.google.protobuf.ByteString |
getDestPortsBytes(int index)
Destination port numbers for TCP/UDP/SCTP.
|
int |
getDestPortsCount()
Destination port numbers for TCP/UDP/SCTP.
|
com.google.protobuf.ProtocolStringList |
getDestPortsList()
Destination port numbers for TCP/UDP/SCTP.
|
String |
getIpProtocols(int index)
IPv4 protocol / IPv6 next header (after extension headers).
|
com.google.protobuf.ByteString |
getIpProtocolsBytes(int index)
IPv4 protocol / IPv6 next header (after extension headers).
|
int |
getIpProtocolsCount()
IPv4 protocol / IPv6 next header (after extension headers).
|
com.google.protobuf.ProtocolStringList |
getIpProtocolsList()
IPv4 protocol / IPv6 next header (after extension headers).
|
int |
getSrcAsns(int index)
BGP Autonomous System Number associated with the source IP address.
|
int |
getSrcAsnsCount()
BGP Autonomous System Number associated with the source IP address.
|
List<Integer> |
getSrcAsnsList()
BGP Autonomous System Number associated with the source IP address.
|
String |
getSrcIpRanges(int index)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
com.google.protobuf.ByteString |
getSrcIpRangesBytes(int index)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
int |
getSrcIpRangesCount()
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
com.google.protobuf.ProtocolStringList |
getSrcIpRangesList()
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
String |
getSrcPorts(int index)
Source port numbers for TCP/UDP/SCTP.
|
com.google.protobuf.ByteString |
getSrcPortsBytes(int index)
Source port numbers for TCP/UDP/SCTP.
|
int |
getSrcPortsCount()
Source port numbers for TCP/UDP/SCTP.
|
com.google.protobuf.ProtocolStringList |
getSrcPortsList()
Source port numbers for TCP/UDP/SCTP.
|
String |
getSrcRegionCodes(int index)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
|
com.google.protobuf.ByteString |
getSrcRegionCodesBytes(int index)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
|
int |
getSrcRegionCodesCount()
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
|
com.google.protobuf.ProtocolStringList |
getSrcRegionCodesList()
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
|
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch |
getUserDefinedFields(int index)
User-defined fields.
|
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder |
getUserDefinedFieldsBuilder(int index)
User-defined fields.
|
List<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder> |
getUserDefinedFieldsBuilderList()
User-defined fields.
|
int |
getUserDefinedFieldsCount()
User-defined fields.
|
List<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> |
getUserDefinedFieldsList()
User-defined fields.
|
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder |
getUserDefinedFieldsOrBuilder(int index)
User-defined fields.
|
List<? extends SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder> |
getUserDefinedFieldsOrBuilderList()
User-defined fields.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SecurityPolicyRuleNetworkMatcher.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SecurityPolicyRuleNetworkMatcher.Builder |
mergeFrom(com.google.protobuf.Message other) |
SecurityPolicyRuleNetworkMatcher.Builder |
mergeFrom(SecurityPolicyRuleNetworkMatcher other) |
SecurityPolicyRuleNetworkMatcher.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SecurityPolicyRuleNetworkMatcher.Builder |
removeUserDefinedFields(int index)
User-defined fields.
|
SecurityPolicyRuleNetworkMatcher.Builder |
setDestIpRanges(int index,
String value)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
SecurityPolicyRuleNetworkMatcher.Builder |
setDestPorts(int index,
String value)
Destination port numbers for TCP/UDP/SCTP.
|
SecurityPolicyRuleNetworkMatcher.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SecurityPolicyRuleNetworkMatcher.Builder |
setIpProtocols(int index,
String value)
IPv4 protocol / IPv6 next header (after extension headers).
|
SecurityPolicyRuleNetworkMatcher.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SecurityPolicyRuleNetworkMatcher.Builder |
setSrcAsns(int index,
int value)
BGP Autonomous System Number associated with the source IP address.
|
SecurityPolicyRuleNetworkMatcher.Builder |
setSrcIpRanges(int index,
String value)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
SecurityPolicyRuleNetworkMatcher.Builder |
setSrcPorts(int index,
String value)
Source port numbers for TCP/UDP/SCTP.
|
SecurityPolicyRuleNetworkMatcher.Builder |
setSrcRegionCodes(int index,
String value)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
|
SecurityPolicyRuleNetworkMatcher.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SecurityPolicyRuleNetworkMatcher.Builder |
setUserDefinedFields(int index,
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue)
User-defined fields.
|
SecurityPolicyRuleNetworkMatcher.Builder |
setUserDefinedFields(int index,
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value)
User-defined fields.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRuleNetworkMatcher.Builder>public SecurityPolicyRuleNetworkMatcher.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRuleNetworkMatcher.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<SecurityPolicyRuleNetworkMatcher.Builder>public SecurityPolicyRuleNetworkMatcher getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SecurityPolicyRuleNetworkMatcher build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SecurityPolicyRuleNetworkMatcher buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SecurityPolicyRuleNetworkMatcher.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRuleNetworkMatcher.Builder>public SecurityPolicyRuleNetworkMatcher.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<SecurityPolicyRuleNetworkMatcher.Builder>public SecurityPolicyRuleNetworkMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRuleNetworkMatcher.Builder>public SecurityPolicyRuleNetworkMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRuleNetworkMatcher.Builder>public SecurityPolicyRuleNetworkMatcher.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<SecurityPolicyRuleNetworkMatcher.Builder>public SecurityPolicyRuleNetworkMatcher.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<SecurityPolicyRuleNetworkMatcher.Builder>public SecurityPolicyRuleNetworkMatcher.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SecurityPolicyRuleNetworkMatcher.Builder>public SecurityPolicyRuleNetworkMatcher.Builder mergeFrom(SecurityPolicyRuleNetworkMatcher other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRuleNetworkMatcher.Builder>public SecurityPolicyRuleNetworkMatcher.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<SecurityPolicyRuleNetworkMatcher.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getDestIpRangesList()
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;getDestIpRangesList in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic int getDestIpRangesCount()
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;getDestIpRangesCount in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic String getDestIpRanges(int index)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;getDestIpRanges in interface SecurityPolicyRuleNetworkMatcherOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getDestIpRangesBytes(int index)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;getDestIpRangesBytes in interface SecurityPolicyRuleNetworkMatcherOrBuilderindex - The index of the value to return.public SecurityPolicyRuleNetworkMatcher.Builder setDestIpRanges(int index, String value)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;index - The index to set the value at.value - The destIpRanges to set.public SecurityPolicyRuleNetworkMatcher.Builder addDestIpRanges(String value)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;value - The destIpRanges to add.public SecurityPolicyRuleNetworkMatcher.Builder addAllDestIpRanges(Iterable<String> values)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;values - The destIpRanges to add.public SecurityPolicyRuleNetworkMatcher.Builder clearDestIpRanges()
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;public SecurityPolicyRuleNetworkMatcher.Builder addDestIpRangesBytes(com.google.protobuf.ByteString value)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;value - The bytes of the destIpRanges to add.public com.google.protobuf.ProtocolStringList getDestPortsList()
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;getDestPortsList in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic int getDestPortsCount()
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;getDestPortsCount in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic String getDestPorts(int index)
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;getDestPorts in interface SecurityPolicyRuleNetworkMatcherOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getDestPortsBytes(int index)
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;getDestPortsBytes in interface SecurityPolicyRuleNetworkMatcherOrBuilderindex - The index of the value to return.public SecurityPolicyRuleNetworkMatcher.Builder setDestPorts(int index, String value)
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;index - The index to set the value at.value - The destPorts to set.public SecurityPolicyRuleNetworkMatcher.Builder addDestPorts(String value)
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;value - The destPorts to add.public SecurityPolicyRuleNetworkMatcher.Builder addAllDestPorts(Iterable<String> values)
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;values - The destPorts to add.public SecurityPolicyRuleNetworkMatcher.Builder clearDestPorts()
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;public SecurityPolicyRuleNetworkMatcher.Builder addDestPortsBytes(com.google.protobuf.ByteString value)
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;value - The bytes of the destPorts to add.public com.google.protobuf.ProtocolStringList getIpProtocolsList()
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;getIpProtocolsList in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic int getIpProtocolsCount()
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;getIpProtocolsCount in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic String getIpProtocols(int index)
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;getIpProtocols in interface SecurityPolicyRuleNetworkMatcherOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getIpProtocolsBytes(int index)
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;getIpProtocolsBytes in interface SecurityPolicyRuleNetworkMatcherOrBuilderindex - The index of the value to return.public SecurityPolicyRuleNetworkMatcher.Builder setIpProtocols(int index, String value)
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;index - The index to set the value at.value - The ipProtocols to set.public SecurityPolicyRuleNetworkMatcher.Builder addIpProtocols(String value)
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;value - The ipProtocols to add.public SecurityPolicyRuleNetworkMatcher.Builder addAllIpProtocols(Iterable<String> values)
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;values - The ipProtocols to add.public SecurityPolicyRuleNetworkMatcher.Builder clearIpProtocols()
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;public SecurityPolicyRuleNetworkMatcher.Builder addIpProtocolsBytes(com.google.protobuf.ByteString value)
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;value - The bytes of the ipProtocols to add.public List<Integer> getSrcAsnsList()
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;getSrcAsnsList in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic int getSrcAsnsCount()
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;getSrcAsnsCount in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic int getSrcAsns(int index)
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;getSrcAsns in interface SecurityPolicyRuleNetworkMatcherOrBuilderindex - The index of the element to return.public SecurityPolicyRuleNetworkMatcher.Builder setSrcAsns(int index, int value)
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;index - The index to set the value at.value - The srcAsns to set.public SecurityPolicyRuleNetworkMatcher.Builder addSrcAsns(int value)
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;value - The srcAsns to add.public SecurityPolicyRuleNetworkMatcher.Builder addAllSrcAsns(Iterable<? extends Integer> values)
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;values - The srcAsns to add.public SecurityPolicyRuleNetworkMatcher.Builder clearSrcAsns()
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;public com.google.protobuf.ProtocolStringList getSrcIpRangesList()
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;getSrcIpRangesList in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic int getSrcIpRangesCount()
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;getSrcIpRangesCount in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic String getSrcIpRanges(int index)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;getSrcIpRanges in interface SecurityPolicyRuleNetworkMatcherOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSrcIpRangesBytes(int index)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;getSrcIpRangesBytes in interface SecurityPolicyRuleNetworkMatcherOrBuilderindex - The index of the value to return.public SecurityPolicyRuleNetworkMatcher.Builder setSrcIpRanges(int index, String value)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;index - The index to set the value at.value - The srcIpRanges to set.public SecurityPolicyRuleNetworkMatcher.Builder addSrcIpRanges(String value)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;value - The srcIpRanges to add.public SecurityPolicyRuleNetworkMatcher.Builder addAllSrcIpRanges(Iterable<String> values)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;values - The srcIpRanges to add.public SecurityPolicyRuleNetworkMatcher.Builder clearSrcIpRanges()
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;public SecurityPolicyRuleNetworkMatcher.Builder addSrcIpRangesBytes(com.google.protobuf.ByteString value)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;value - The bytes of the srcIpRanges to add.public com.google.protobuf.ProtocolStringList getSrcPortsList()
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;getSrcPortsList in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic int getSrcPortsCount()
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;getSrcPortsCount in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic String getSrcPorts(int index)
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;getSrcPorts in interface SecurityPolicyRuleNetworkMatcherOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSrcPortsBytes(int index)
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;getSrcPortsBytes in interface SecurityPolicyRuleNetworkMatcherOrBuilderindex - The index of the value to return.public SecurityPolicyRuleNetworkMatcher.Builder setSrcPorts(int index, String value)
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;index - The index to set the value at.value - The srcPorts to set.public SecurityPolicyRuleNetworkMatcher.Builder addSrcPorts(String value)
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;value - The srcPorts to add.public SecurityPolicyRuleNetworkMatcher.Builder addAllSrcPorts(Iterable<String> values)
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;values - The srcPorts to add.public SecurityPolicyRuleNetworkMatcher.Builder clearSrcPorts()
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;public SecurityPolicyRuleNetworkMatcher.Builder addSrcPortsBytes(com.google.protobuf.ByteString value)
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;value - The bytes of the srcPorts to add.public com.google.protobuf.ProtocolStringList getSrcRegionCodesList()
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;getSrcRegionCodesList in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic int getSrcRegionCodesCount()
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;getSrcRegionCodesCount in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic String getSrcRegionCodes(int index)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;getSrcRegionCodes in interface SecurityPolicyRuleNetworkMatcherOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSrcRegionCodesBytes(int index)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;getSrcRegionCodesBytes in interface SecurityPolicyRuleNetworkMatcherOrBuilderindex - The index of the value to return.public SecurityPolicyRuleNetworkMatcher.Builder setSrcRegionCodes(int index, String value)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;index - The index to set the value at.value - The srcRegionCodes to set.public SecurityPolicyRuleNetworkMatcher.Builder addSrcRegionCodes(String value)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;value - The srcRegionCodes to add.public SecurityPolicyRuleNetworkMatcher.Builder addAllSrcRegionCodes(Iterable<String> values)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;values - The srcRegionCodes to add.public SecurityPolicyRuleNetworkMatcher.Builder clearSrcRegionCodes()
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;public SecurityPolicyRuleNetworkMatcher.Builder addSrcRegionCodesBytes(com.google.protobuf.ByteString value)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;value - The bytes of the srcRegionCodes to add.public List<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> getUserDefinedFieldsList()
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
getUserDefinedFieldsList in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic int getUserDefinedFieldsCount()
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
getUserDefinedFieldsCount in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch getUserDefinedFields(int index)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
getUserDefinedFields in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic SecurityPolicyRuleNetworkMatcher.Builder setUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
public SecurityPolicyRuleNetworkMatcher.Builder setUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
public SecurityPolicyRuleNetworkMatcher.Builder addUserDefinedFields(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
public SecurityPolicyRuleNetworkMatcher.Builder addUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
public SecurityPolicyRuleNetworkMatcher.Builder addUserDefinedFields(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
public SecurityPolicyRuleNetworkMatcher.Builder addUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
public SecurityPolicyRuleNetworkMatcher.Builder addAllUserDefinedFields(Iterable<? extends SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> values)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
public SecurityPolicyRuleNetworkMatcher.Builder clearUserDefinedFields()
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
public SecurityPolicyRuleNetworkMatcher.Builder removeUserDefinedFields(int index)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
public SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder getUserDefinedFieldsBuilder(int index)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
public SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder getUserDefinedFieldsOrBuilder(int index)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
getUserDefinedFieldsOrBuilder in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic List<? extends SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder> getUserDefinedFieldsOrBuilderList()
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
getUserDefinedFieldsOrBuilderList in interface SecurityPolicyRuleNetworkMatcherOrBuilderpublic SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder addUserDefinedFieldsBuilder()
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
public SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder addUserDefinedFieldsBuilder(int index)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
public List<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder> getUserDefinedFieldsBuilderList()
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
public final SecurityPolicyRuleNetworkMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRuleNetworkMatcher.Builder>public final SecurityPolicyRuleNetworkMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SecurityPolicyRuleNetworkMatcher.Builder>Copyright © 2025 Google LLC. All rights reserved.