Package com.google.cloud.compute.v1
Class SecurityPolicyRuleNetworkMatcher.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleNetworkMatcher.Builder>
com.google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcher.Builder
- All Implemented Interfaces:
SecurityPolicyRuleNetworkMatcherOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SecurityPolicyRuleNetworkMatcher
public static final class SecurityPolicyRuleNetworkMatcher.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleNetworkMatcher.Builder>
implements SecurityPolicyRuleNetworkMatcherOrBuilder
Represents a match condition that incoming network traffic is evaluated against.Protobuf type
google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcher-
Method Summary
Modifier and TypeMethodDescriptionaddAllDestIpRanges(Iterable<String> values) Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.addAllDestPorts(Iterable<String> values) Destination port numbers for TCP/UDP/SCTP.addAllIpProtocols(Iterable<String> values) IPv4 protocol / IPv6 next header (after extension headers).addAllSrcAsns(Iterable<? extends Integer> values) BGP Autonomous System Number associated with the source IP address.addAllSrcIpRanges(Iterable<String> values) Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.addAllSrcPorts(Iterable<String> values) Source port numbers for TCP/UDP/SCTP.addAllSrcRegionCodes(Iterable<String> values) Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.addAllUserDefinedFields(Iterable<? extends SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> values) User-defined fields.addDestIpRanges(String value) Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.addDestIpRangesBytes(com.google.protobuf.ByteString value) Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.addDestPorts(String value) Destination port numbers for TCP/UDP/SCTP.addDestPortsBytes(com.google.protobuf.ByteString value) Destination port numbers for TCP/UDP/SCTP.addIpProtocols(String value) IPv4 protocol / IPv6 next header (after extension headers).addIpProtocolsBytes(com.google.protobuf.ByteString value) IPv4 protocol / IPv6 next header (after extension headers).addSrcAsns(int value) BGP Autonomous System Number associated with the source IP address.addSrcIpRanges(String value) Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.addSrcIpRangesBytes(com.google.protobuf.ByteString value) Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.addSrcPorts(String value) Source port numbers for TCP/UDP/SCTP.addSrcPortsBytes(com.google.protobuf.ByteString value) Source port numbers for TCP/UDP/SCTP.addSrcRegionCodes(String value) Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.addSrcRegionCodesBytes(com.google.protobuf.ByteString value) Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.addUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value) User-defined fields.addUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue) User-defined fields.User-defined fields.User-defined fields.User-defined fields.addUserDefinedFieldsBuilder(int index) User-defined fields.build()clear()Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.Destination port numbers for TCP/UDP/SCTP.IPv4 protocol / IPv6 next header (after extension headers).BGP Autonomous System Number associated with the source IP address.Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.Source port numbers for TCP/UDP/SCTP.Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.User-defined fields.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDestIpRanges(int index) Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.com.google.protobuf.ByteStringgetDestIpRangesBytes(int index) Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.intDestination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.com.google.protobuf.ProtocolStringListDestination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.getDestPorts(int index) Destination port numbers for TCP/UDP/SCTP.com.google.protobuf.ByteStringgetDestPortsBytes(int index) Destination port numbers for TCP/UDP/SCTP.intDestination port numbers for TCP/UDP/SCTP.com.google.protobuf.ProtocolStringListDestination port numbers for TCP/UDP/SCTP.getIpProtocols(int index) IPv4 protocol / IPv6 next header (after extension headers).com.google.protobuf.ByteStringgetIpProtocolsBytes(int index) IPv4 protocol / IPv6 next header (after extension headers).intIPv4 protocol / IPv6 next header (after extension headers).com.google.protobuf.ProtocolStringListIPv4 protocol / IPv6 next header (after extension headers).intgetSrcAsns(int index) BGP Autonomous System Number associated with the source IP address.intBGP Autonomous System Number associated with the source IP address.BGP Autonomous System Number associated with the source IP address.getSrcIpRanges(int index) Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.com.google.protobuf.ByteStringgetSrcIpRangesBytes(int index) Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.intSource IPv4/IPv6 addresses or CIDR prefixes, in standard text format.com.google.protobuf.ProtocolStringListSource IPv4/IPv6 addresses or CIDR prefixes, in standard text format.getSrcPorts(int index) Source port numbers for TCP/UDP/SCTP.com.google.protobuf.ByteStringgetSrcPortsBytes(int index) Source port numbers for TCP/UDP/SCTP.intSource port numbers for TCP/UDP/SCTP.com.google.protobuf.ProtocolStringListSource port numbers for TCP/UDP/SCTP.getSrcRegionCodes(int index) Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.com.google.protobuf.ByteStringgetSrcRegionCodesBytes(int index) Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.intTwo-letter ISO 3166-1 alpha-2 country code associated with the source IP address.com.google.protobuf.ProtocolStringListTwo-letter ISO 3166-1 alpha-2 country code associated with the source IP address.getUserDefinedFields(int index) User-defined fields.getUserDefinedFieldsBuilder(int index) User-defined fields.User-defined fields.intUser-defined fields.User-defined fields.getUserDefinedFieldsOrBuilder(int index) User-defined fields.User-defined fields.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeUserDefinedFields(int index) User-defined fields.setDestIpRanges(int index, String value) Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.setDestPorts(int index, String value) Destination port numbers for TCP/UDP/SCTP.setIpProtocols(int index, String value) IPv4 protocol / IPv6 next header (after extension headers).setSrcAsns(int index, int value) BGP Autonomous System Number associated with the source IP address.setSrcIpRanges(int index, String value) Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.setSrcPorts(int index, String value) Source port numbers for TCP/UDP/SCTP.setSrcRegionCodes(int index, String value) Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.setUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value) User-defined fields.setUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue) User-defined fields.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleNetworkMatcher.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleNetworkMatcher.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleNetworkMatcher.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecurityPolicyRuleNetworkMatcher.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleNetworkMatcher.Builder>
-
mergeFrom
public SecurityPolicyRuleNetworkMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SecurityPolicyRuleNetworkMatcher.Builder>- Throws:
IOException
-
getDestIpRangesList
public com.google.protobuf.ProtocolStringList getDestIpRangesList()Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;- Specified by:
getDestIpRangesListin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- A list containing the destIpRanges.
-
getDestIpRangesCount
public int getDestIpRangesCount()Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;- Specified by:
getDestIpRangesCountin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- The count of destIpRanges.
-
getDestIpRanges
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;- Specified by:
getDestIpRangesin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The destIpRanges at the given index.
-
getDestIpRangesBytes
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;- Specified by:
getDestIpRangesBytesin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the destIpRanges at the given index.
-
setDestIpRanges
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;- Parameters:
index- The index to set the value at.value- The destIpRanges to set.- Returns:
- This builder for chaining.
-
addDestIpRanges
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;- Parameters:
value- The destIpRanges to add.- Returns:
- This builder for chaining.
-
addAllDestIpRanges
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;- Parameters:
values- The destIpRanges to add.- Returns:
- This builder for chaining.
-
clearDestIpRanges
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;- Returns:
- This builder for chaining.
-
addDestIpRangesBytes
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;- Parameters:
value- The bytes of the destIpRanges to add.- Returns:
- This builder for chaining.
-
getDestPortsList
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;- Specified by:
getDestPortsListin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- A list containing the destPorts.
-
getDestPortsCount
public 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;- Specified by:
getDestPortsCountin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- The count of destPorts.
-
getDestPorts
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;- Specified by:
getDestPortsin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The destPorts at the given index.
-
getDestPortsBytes
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;- Specified by:
getDestPortsBytesin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the destPorts at the given index.
-
setDestPorts
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;- Parameters:
index- The index to set the value at.value- The destPorts to set.- Returns:
- This builder for chaining.
-
addDestPorts
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;- Parameters:
value- The destPorts to add.- Returns:
- This builder for chaining.
-
addAllDestPorts
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;- Parameters:
values- The destPorts to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addDestPortsBytes
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;- Parameters:
value- The bytes of the destPorts to add.- Returns:
- This builder for chaining.
-
getIpProtocolsList
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;- Specified by:
getIpProtocolsListin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- A list containing the ipProtocols.
-
getIpProtocolsCount
public 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;- Specified by:
getIpProtocolsCountin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- The count of ipProtocols.
-
getIpProtocols
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;- Specified by:
getIpProtocolsin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ipProtocols at the given index.
-
getIpProtocolsBytes
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;- Specified by:
getIpProtocolsBytesin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ipProtocols at the given index.
-
setIpProtocols
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;- Parameters:
index- The index to set the value at.value- The ipProtocols to set.- Returns:
- This builder for chaining.
-
addIpProtocols
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;- Parameters:
value- The ipProtocols to add.- Returns:
- This builder for chaining.
-
addAllIpProtocols
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;- Parameters:
values- The ipProtocols to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addIpProtocolsBytes
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;- Parameters:
value- The bytes of the ipProtocols to add.- Returns:
- This builder for chaining.
-
getSrcAsnsList
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;- Specified by:
getSrcAsnsListin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- A list containing the srcAsns.
-
getSrcAsnsCount
public int getSrcAsnsCount()BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;- Specified by:
getSrcAsnsCountin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- The count of srcAsns.
-
getSrcAsns
public int getSrcAsns(int index) BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;- Specified by:
getSrcAsnsin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The srcAsns at the given index.
-
setSrcAsns
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;- Parameters:
index- The index to set the value at.value- The srcAsns to set.- Returns:
- This builder for chaining.
-
addSrcAsns
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;- Parameters:
value- The srcAsns to add.- Returns:
- This builder for chaining.
-
addAllSrcAsns
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;- Parameters:
values- The srcAsns to add.- Returns:
- This builder for chaining.
-
clearSrcAsns
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;- Returns:
- This builder for chaining.
-
getSrcIpRangesList
public com.google.protobuf.ProtocolStringList getSrcIpRangesList()Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;- Specified by:
getSrcIpRangesListin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- A list containing the srcIpRanges.
-
getSrcIpRangesCount
public int getSrcIpRangesCount()Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;- Specified by:
getSrcIpRangesCountin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- The count of srcIpRanges.
-
getSrcIpRanges
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;- Specified by:
getSrcIpRangesin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The srcIpRanges at the given index.
-
getSrcIpRangesBytes
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;- Specified by:
getSrcIpRangesBytesin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the srcIpRanges at the given index.
-
setSrcIpRanges
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;- Parameters:
index- The index to set the value at.value- The srcIpRanges to set.- Returns:
- This builder for chaining.
-
addSrcIpRanges
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;- Parameters:
value- The srcIpRanges to add.- Returns:
- This builder for chaining.
-
addAllSrcIpRanges
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;- Parameters:
values- The srcIpRanges to add.- Returns:
- This builder for chaining.
-
clearSrcIpRanges
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;- Returns:
- This builder for chaining.
-
addSrcIpRangesBytes
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;- Parameters:
value- The bytes of the srcIpRanges to add.- Returns:
- This builder for chaining.
-
getSrcPortsList
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;- Specified by:
getSrcPortsListin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- A list containing the srcPorts.
-
getSrcPortsCount
public 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;- Specified by:
getSrcPortsCountin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- The count of srcPorts.
-
getSrcPorts
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;- Specified by:
getSrcPortsin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The srcPorts at the given index.
-
getSrcPortsBytes
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;- Specified by:
getSrcPortsBytesin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the srcPorts at the given index.
-
setSrcPorts
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;- Parameters:
index- The index to set the value at.value- The srcPorts to set.- Returns:
- This builder for chaining.
-
addSrcPorts
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;- Parameters:
value- The srcPorts to add.- Returns:
- This builder for chaining.
-
addAllSrcPorts
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;- Parameters:
values- The srcPorts to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addSrcPortsBytes
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;- Parameters:
value- The bytes of the srcPorts to add.- Returns:
- This builder for chaining.
-
getSrcRegionCodesList
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;- Specified by:
getSrcRegionCodesListin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- A list containing the srcRegionCodes.
-
getSrcRegionCodesCount
public int getSrcRegionCodesCount()Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;- Specified by:
getSrcRegionCodesCountin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Returns:
- The count of srcRegionCodes.
-
getSrcRegionCodes
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;- Specified by:
getSrcRegionCodesin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The srcRegionCodes at the given index.
-
getSrcRegionCodesBytes
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;- Specified by:
getSrcRegionCodesBytesin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the srcRegionCodes at the given index.
-
setSrcRegionCodes
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;- Parameters:
index- The index to set the value at.value- The srcRegionCodes to set.- Returns:
- This builder for chaining.
-
addSrcRegionCodes
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;- Parameters:
value- The srcRegionCodes to add.- Returns:
- This builder for chaining.
-
addAllSrcRegionCodes
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;- Parameters:
values- The srcRegionCodes to add.- Returns:
- This builder for chaining.
-
clearSrcRegionCodes
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;- Returns:
- This builder for chaining.
-
addSrcRegionCodesBytes
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;- Parameters:
value- The bytes of the srcRegionCodes to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
getUserDefinedFieldsListin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder
-
getUserDefinedFieldsCount
public 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;- Specified by:
getUserDefinedFieldsCountin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder
-
getUserDefinedFields
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;- Specified by:
getUserDefinedFieldsin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder
-
setUserDefinedFields
public 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; -
setUserDefinedFields
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; -
addUserDefinedFields
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; -
addUserDefinedFields
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; -
addUserDefinedFields
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; -
addUserDefinedFields
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; -
addAllUserDefinedFields
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; -
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; -
removeUserDefinedFields
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; -
getUserDefinedFieldsBuilder
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; -
getUserDefinedFieldsOrBuilder
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;- Specified by:
getUserDefinedFieldsOrBuilderin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder
-
getUserDefinedFieldsOrBuilderList
public 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;- Specified by:
getUserDefinedFieldsOrBuilderListin interfaceSecurityPolicyRuleNetworkMatcherOrBuilder
-
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; -
addUserDefinedFieldsBuilder
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; -
getUserDefinedFieldsBuilderList
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;
-