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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleNetworkMatcher.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleNetworkMatcher.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleNetworkMatcher.Builder>
    • getDefaultInstanceForType

      public SecurityPolicyRuleNetworkMatcher getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SecurityPolicyRuleNetworkMatcher buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SecurityPolicyRuleNetworkMatcher.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SecurityPolicyRuleNetworkMatcher.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getDestIpRangesList in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getDestIpRangesCount in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      Returns:
      The count of destIpRanges.
    • getDestIpRanges

      public String getDestIpRanges(int index)
       Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text
       format.
       
      repeated string dest_ip_ranges = 337357713;
      Specified by:
      getDestIpRanges in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getDestIpRangesBytes in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the destIpRanges at the given index.
    • setDestIpRanges

      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;
      Parameters:
      index - The index to set the value at.
      value - The destIpRanges to set.
      Returns:
      This builder for chaining.
    • addDestIpRanges

      public SecurityPolicyRuleNetworkMatcher.Builder addDestIpRanges(String value)
       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

      public SecurityPolicyRuleNetworkMatcher.Builder addAllDestIpRanges(Iterable<String> values)
       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

      public SecurityPolicyRuleNetworkMatcher.Builder 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:
      getDestPortsList in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getDestPortsCount in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      Returns:
      The count of destPorts.
    • getDestPorts

      public 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;
      Specified by:
      getDestPorts in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getDestPortsBytes in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the destPorts at the given index.
    • setDestPorts

      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;
      Parameters:
      index - The index to set the value at.
      value - The destPorts to set.
      Returns:
      This builder for chaining.
    • addDestPorts

      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;
      Parameters:
      value - The destPorts to add.
      Returns:
      This builder for chaining.
    • addAllDestPorts

      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;
      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:
      getIpProtocolsList in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getIpProtocolsCount in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      Returns:
      The count of ipProtocols.
    • getIpProtocols

      public 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;
      Specified by:
      getIpProtocols in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getIpProtocolsBytes in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ipProtocols at the given index.
    • setIpProtocols

      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;
      Parameters:
      index - The index to set the value at.
      value - The ipProtocols to set.
      Returns:
      This builder for chaining.
    • addIpProtocols

      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;
      Parameters:
      value - The ipProtocols to add.
      Returns:
      This builder for chaining.
    • addAllIpProtocols

      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;
      Parameters:
      values - The ipProtocols to add.
      Returns:
      This builder for chaining.
    • clearIpProtocols

      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;
      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

      public List<Integer> getSrcAsnsList()
       BGP Autonomous System Number associated with the source IP address.
       
      repeated uint32 src_asns = 117825266;
      Specified by:
      getSrcAsnsList in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getSrcAsnsCount in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getSrcAsns in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The srcAsns at the given index.
    • setSrcAsns

      public SecurityPolicyRuleNetworkMatcher.Builder setSrcAsns(int index, int value)
       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

      public SecurityPolicyRuleNetworkMatcher.Builder addSrcAsns(int value)
       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

      public SecurityPolicyRuleNetworkMatcher.Builder addAllSrcAsns(Iterable<? extends Integer> values)
       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:
      getSrcIpRangesList in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getSrcIpRangesCount in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      Returns:
      The count of srcIpRanges.
    • getSrcIpRanges

      public String getSrcIpRanges(int index)
       Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
       
      repeated string src_ip_ranges = 432128083;
      Specified by:
      getSrcIpRanges in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getSrcIpRangesBytes in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the srcIpRanges at the given index.
    • setSrcIpRanges

      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;
      Parameters:
      index - The index to set the value at.
      value - The srcIpRanges to set.
      Returns:
      This builder for chaining.
    • addSrcIpRanges

      public SecurityPolicyRuleNetworkMatcher.Builder addSrcIpRanges(String value)
       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

      public SecurityPolicyRuleNetworkMatcher.Builder addAllSrcIpRanges(Iterable<String> values)
       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

      public SecurityPolicyRuleNetworkMatcher.Builder 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:
      getSrcPortsList in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getSrcPortsCount in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      Returns:
      The count of srcPorts.
    • getSrcPorts

      public 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;
      Specified by:
      getSrcPorts in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getSrcPortsBytes in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the srcPorts at the given index.
    • setSrcPorts

      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;
      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

      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;
      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:
      getSrcRegionCodesList in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getSrcRegionCodesCount in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      Returns:
      The count of srcRegionCodes.
    • getSrcRegionCodes

      public 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;
      Specified by:
      getSrcRegionCodes in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      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:
      getSrcRegionCodesBytes in interface SecurityPolicyRuleNetworkMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the srcRegionCodes at the given index.
    • setSrcRegionCodes

      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;
      Parameters:
      index - The index to set the value at.
      value - The srcRegionCodes to set.
      Returns:
      This builder for chaining.
    • addSrcRegionCodes

      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;
      Parameters:
      value - The srcRegionCodes to add.
      Returns:
      This builder for chaining.
    • addAllSrcRegionCodes

      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;
      Parameters:
      values - The srcRegionCodes to add.
      Returns:
      This builder for chaining.
    • clearSrcRegionCodes

      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;
      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

      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;
      Specified by:
      getUserDefinedFieldsList in interface SecurityPolicyRuleNetworkMatcherOrBuilder
    • 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:
      getUserDefinedFieldsCount in interface SecurityPolicyRuleNetworkMatcherOrBuilder
    • getUserDefinedFields

      public 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;
      Specified by:
      getUserDefinedFields in interface SecurityPolicyRuleNetworkMatcherOrBuilder
    • setUserDefinedFields

       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

       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

       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

       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

       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

       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

       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

      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;
    • removeUserDefinedFields

      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;
    • 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:
      getUserDefinedFieldsOrBuilder in interface SecurityPolicyRuleNetworkMatcherOrBuilder
    • 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:
      getUserDefinedFieldsOrBuilderList in interface SecurityPolicyRuleNetworkMatcherOrBuilder
    • 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;