Class FirewallPolicyRuleMatcher.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FirewallPolicyRuleMatcher.Builder>
com.google.cloud.compute.v1.FirewallPolicyRuleMatcher.Builder
All Implemented Interfaces:
FirewallPolicyRuleMatcherOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FirewallPolicyRuleMatcher

public static final class FirewallPolicyRuleMatcher.Builder extends com.google.protobuf.GeneratedMessage.Builder<FirewallPolicyRuleMatcher.Builder> implements FirewallPolicyRuleMatcherOrBuilder
 Represents a match condition that incoming traffic is evaluated against.
 Exactly one field must be specified.
 
Protobuf type google.cloud.compute.v1.FirewallPolicyRuleMatcher
  • 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<FirewallPolicyRuleMatcher.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<FirewallPolicyRuleMatcher.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<FirewallPolicyRuleMatcher.Builder>
    • getDefaultInstanceForType

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

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

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

      public FirewallPolicyRuleMatcher.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<FirewallPolicyRuleMatcher.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<FirewallPolicyRuleMatcher.Builder>
    • mergeFrom

      public FirewallPolicyRuleMatcher.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<FirewallPolicyRuleMatcher.Builder>
      Throws:
      IOException
    • getDestAddressGroupsList

      public com.google.protobuf.ProtocolStringList getDestAddressGroupsList()
       Address groups which should be matched against the traffic destination.
       Maximum number of destination address groups is 10.
       
      repeated string dest_address_groups = 468760508;
      Specified by:
      getDestAddressGroupsList in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      A list containing the destAddressGroups.
    • getDestAddressGroupsCount

      public int getDestAddressGroupsCount()
       Address groups which should be matched against the traffic destination.
       Maximum number of destination address groups is 10.
       
      repeated string dest_address_groups = 468760508;
      Specified by:
      getDestAddressGroupsCount in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The count of destAddressGroups.
    • getDestAddressGroups

      public String getDestAddressGroups(int index)
       Address groups which should be matched against the traffic destination.
       Maximum number of destination address groups is 10.
       
      repeated string dest_address_groups = 468760508;
      Specified by:
      getDestAddressGroups in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The destAddressGroups at the given index.
    • getDestAddressGroupsBytes

      public com.google.protobuf.ByteString getDestAddressGroupsBytes(int index)
       Address groups which should be matched against the traffic destination.
       Maximum number of destination address groups is 10.
       
      repeated string dest_address_groups = 468760508;
      Specified by:
      getDestAddressGroupsBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the destAddressGroups at the given index.
    • setDestAddressGroups

      public FirewallPolicyRuleMatcher.Builder setDestAddressGroups(int index, String value)
       Address groups which should be matched against the traffic destination.
       Maximum number of destination address groups is 10.
       
      repeated string dest_address_groups = 468760508;
      Parameters:
      index - The index to set the value at.
      value - The destAddressGroups to set.
      Returns:
      This builder for chaining.
    • addDestAddressGroups

      public FirewallPolicyRuleMatcher.Builder addDestAddressGroups(String value)
       Address groups which should be matched against the traffic destination.
       Maximum number of destination address groups is 10.
       
      repeated string dest_address_groups = 468760508;
      Parameters:
      value - The destAddressGroups to add.
      Returns:
      This builder for chaining.
    • addAllDestAddressGroups

      public FirewallPolicyRuleMatcher.Builder addAllDestAddressGroups(Iterable<String> values)
       Address groups which should be matched against the traffic destination.
       Maximum number of destination address groups is 10.
       
      repeated string dest_address_groups = 468760508;
      Parameters:
      values - The destAddressGroups to add.
      Returns:
      This builder for chaining.
    • clearDestAddressGroups

      public FirewallPolicyRuleMatcher.Builder clearDestAddressGroups()
       Address groups which should be matched against the traffic destination.
       Maximum number of destination address groups is 10.
       
      repeated string dest_address_groups = 468760508;
      Returns:
      This builder for chaining.
    • addDestAddressGroupsBytes

      public FirewallPolicyRuleMatcher.Builder addDestAddressGroupsBytes(com.google.protobuf.ByteString value)
       Address groups which should be matched against the traffic destination.
       Maximum number of destination address groups is 10.
       
      repeated string dest_address_groups = 468760508;
      Parameters:
      value - The bytes of the destAddressGroups to add.
      Returns:
      This builder for chaining.
    • getDestFqdnsList

      public com.google.protobuf.ProtocolStringList getDestFqdnsList()
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic destination.
       Maximum number of destination fqdn allowed is 100.
       
      repeated string dest_fqdns = 370712737;
      Specified by:
      getDestFqdnsList in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      A list containing the destFqdns.
    • getDestFqdnsCount

      public int getDestFqdnsCount()
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic destination.
       Maximum number of destination fqdn allowed is 100.
       
      repeated string dest_fqdns = 370712737;
      Specified by:
      getDestFqdnsCount in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The count of destFqdns.
    • getDestFqdns

      public String getDestFqdns(int index)
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic destination.
       Maximum number of destination fqdn allowed is 100.
       
      repeated string dest_fqdns = 370712737;
      Specified by:
      getDestFqdns in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The destFqdns at the given index.
    • getDestFqdnsBytes

      public com.google.protobuf.ByteString getDestFqdnsBytes(int index)
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic destination.
       Maximum number of destination fqdn allowed is 100.
       
      repeated string dest_fqdns = 370712737;
      Specified by:
      getDestFqdnsBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the destFqdns at the given index.
    • setDestFqdns

      public FirewallPolicyRuleMatcher.Builder setDestFqdns(int index, String value)
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic destination.
       Maximum number of destination fqdn allowed is 100.
       
      repeated string dest_fqdns = 370712737;
      Parameters:
      index - The index to set the value at.
      value - The destFqdns to set.
      Returns:
      This builder for chaining.
    • addDestFqdns

      public FirewallPolicyRuleMatcher.Builder addDestFqdns(String value)
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic destination.
       Maximum number of destination fqdn allowed is 100.
       
      repeated string dest_fqdns = 370712737;
      Parameters:
      value - The destFqdns to add.
      Returns:
      This builder for chaining.
    • addAllDestFqdns

      public FirewallPolicyRuleMatcher.Builder addAllDestFqdns(Iterable<String> values)
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic destination.
       Maximum number of destination fqdn allowed is 100.
       
      repeated string dest_fqdns = 370712737;
      Parameters:
      values - The destFqdns to add.
      Returns:
      This builder for chaining.
    • clearDestFqdns

      public FirewallPolicyRuleMatcher.Builder clearDestFqdns()
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic destination.
       Maximum number of destination fqdn allowed is 100.
       
      repeated string dest_fqdns = 370712737;
      Returns:
      This builder for chaining.
    • addDestFqdnsBytes

      public FirewallPolicyRuleMatcher.Builder addDestFqdnsBytes(com.google.protobuf.ByteString value)
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic destination.
       Maximum number of destination fqdn allowed is 100.
       
      repeated string dest_fqdns = 370712737;
      Parameters:
      value - The bytes of the destFqdns to add.
      Returns:
      This builder for chaining.
    • getDestIpRangesList

      public com.google.protobuf.ProtocolStringList getDestIpRangesList()
       CIDR IP address range.
       Maximum number of destination CIDR IP ranges allowed is 5000.
       
      repeated string dest_ip_ranges = 337357713;
      Specified by:
      getDestIpRangesList in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      A list containing the destIpRanges.
    • getDestIpRangesCount

      public int getDestIpRangesCount()
       CIDR IP address range.
       Maximum number of destination CIDR IP ranges allowed is 5000.
       
      repeated string dest_ip_ranges = 337357713;
      Specified by:
      getDestIpRangesCount in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The count of destIpRanges.
    • getDestIpRanges

      public String getDestIpRanges(int index)
       CIDR IP address range.
       Maximum number of destination CIDR IP ranges allowed is 5000.
       
      repeated string dest_ip_ranges = 337357713;
      Specified by:
      getDestIpRanges in interface FirewallPolicyRuleMatcherOrBuilder
      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)
       CIDR IP address range.
       Maximum number of destination CIDR IP ranges allowed is 5000.
       
      repeated string dest_ip_ranges = 337357713;
      Specified by:
      getDestIpRangesBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the destIpRanges at the given index.
    • setDestIpRanges

      public FirewallPolicyRuleMatcher.Builder setDestIpRanges(int index, String value)
       CIDR IP address range.
       Maximum number of destination CIDR IP ranges allowed is 5000.
       
      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 FirewallPolicyRuleMatcher.Builder addDestIpRanges(String value)
       CIDR IP address range.
       Maximum number of destination CIDR IP ranges allowed is 5000.
       
      repeated string dest_ip_ranges = 337357713;
      Parameters:
      value - The destIpRanges to add.
      Returns:
      This builder for chaining.
    • addAllDestIpRanges

      public FirewallPolicyRuleMatcher.Builder addAllDestIpRanges(Iterable<String> values)
       CIDR IP address range.
       Maximum number of destination CIDR IP ranges allowed is 5000.
       
      repeated string dest_ip_ranges = 337357713;
      Parameters:
      values - The destIpRanges to add.
      Returns:
      This builder for chaining.
    • clearDestIpRanges

      public FirewallPolicyRuleMatcher.Builder clearDestIpRanges()
       CIDR IP address range.
       Maximum number of destination CIDR IP ranges allowed is 5000.
       
      repeated string dest_ip_ranges = 337357713;
      Returns:
      This builder for chaining.
    • addDestIpRangesBytes

      public FirewallPolicyRuleMatcher.Builder addDestIpRangesBytes(com.google.protobuf.ByteString value)
       CIDR IP address range.
       Maximum number of destination CIDR IP ranges allowed is 5000.
       
      repeated string dest_ip_ranges = 337357713;
      Parameters:
      value - The bytes of the destIpRanges to add.
      Returns:
      This builder for chaining.
    • hasDestNetworkContext

      public boolean hasDestNetworkContext()
       Network context of the traffic destination. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - NON_INTERNET
       Check the DestNetworkContext enum for the list of possible values.
       
      optional string dest_network_context = 76347649;
      Specified by:
      hasDestNetworkContext in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      Whether the destNetworkContext field is set.
    • getDestNetworkContext

      public String getDestNetworkContext()
       Network context of the traffic destination. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - NON_INTERNET
       Check the DestNetworkContext enum for the list of possible values.
       
      optional string dest_network_context = 76347649;
      Specified by:
      getDestNetworkContext in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The destNetworkContext.
    • getDestNetworkContextBytes

      public com.google.protobuf.ByteString getDestNetworkContextBytes()
       Network context of the traffic destination. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - NON_INTERNET
       Check the DestNetworkContext enum for the list of possible values.
       
      optional string dest_network_context = 76347649;
      Specified by:
      getDestNetworkContextBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The bytes for destNetworkContext.
    • setDestNetworkContext

      public FirewallPolicyRuleMatcher.Builder setDestNetworkContext(String value)
       Network context of the traffic destination. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - NON_INTERNET
       Check the DestNetworkContext enum for the list of possible values.
       
      optional string dest_network_context = 76347649;
      Parameters:
      value - The destNetworkContext to set.
      Returns:
      This builder for chaining.
    • clearDestNetworkContext

      public FirewallPolicyRuleMatcher.Builder clearDestNetworkContext()
       Network context of the traffic destination. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - NON_INTERNET
       Check the DestNetworkContext enum for the list of possible values.
       
      optional string dest_network_context = 76347649;
      Returns:
      This builder for chaining.
    • setDestNetworkContextBytes

      public FirewallPolicyRuleMatcher.Builder setDestNetworkContextBytes(com.google.protobuf.ByteString value)
       Network context of the traffic destination. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - NON_INTERNET
       Check the DestNetworkContext enum for the list of possible values.
       
      optional string dest_network_context = 76347649;
      Parameters:
      value - The bytes for destNetworkContext to set.
      Returns:
      This builder for chaining.
    • hasDestNetworkType

      public boolean hasDestNetworkType()
       Network type of the traffic destination. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - NON_INTERNET
       Check the DestNetworkType enum for the list of possible values.
       
      optional string dest_network_type = 409853224;
      Specified by:
      hasDestNetworkType in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      Whether the destNetworkType field is set.
    • getDestNetworkType

      public String getDestNetworkType()
       Network type of the traffic destination. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - NON_INTERNET
       Check the DestNetworkType enum for the list of possible values.
       
      optional string dest_network_type = 409853224;
      Specified by:
      getDestNetworkType in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The destNetworkType.
    • getDestNetworkTypeBytes

      public com.google.protobuf.ByteString getDestNetworkTypeBytes()
       Network type of the traffic destination. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - NON_INTERNET
       Check the DestNetworkType enum for the list of possible values.
       
      optional string dest_network_type = 409853224;
      Specified by:
      getDestNetworkTypeBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The bytes for destNetworkType.
    • setDestNetworkType

      public FirewallPolicyRuleMatcher.Builder setDestNetworkType(String value)
       Network type of the traffic destination. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - NON_INTERNET
       Check the DestNetworkType enum for the list of possible values.
       
      optional string dest_network_type = 409853224;
      Parameters:
      value - The destNetworkType to set.
      Returns:
      This builder for chaining.
    • clearDestNetworkType

      public FirewallPolicyRuleMatcher.Builder clearDestNetworkType()
       Network type of the traffic destination. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - NON_INTERNET
       Check the DestNetworkType enum for the list of possible values.
       
      optional string dest_network_type = 409853224;
      Returns:
      This builder for chaining.
    • setDestNetworkTypeBytes

      public FirewallPolicyRuleMatcher.Builder setDestNetworkTypeBytes(com.google.protobuf.ByteString value)
       Network type of the traffic destination. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - NON_INTERNET
       Check the DestNetworkType enum for the list of possible values.
       
      optional string dest_network_type = 409853224;
      Parameters:
      value - The bytes for destNetworkType to set.
      Returns:
      This builder for chaining.
    • getDestRegionCodesList

      public com.google.protobuf.ProtocolStringList getDestRegionCodesList()
       Region codes whose IP addresses will be used to match for destination
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of dest region codes allowed is 5000.
       
      repeated string dest_region_codes = 199120280;
      Specified by:
      getDestRegionCodesList in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      A list containing the destRegionCodes.
    • getDestRegionCodesCount

      public int getDestRegionCodesCount()
       Region codes whose IP addresses will be used to match for destination
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of dest region codes allowed is 5000.
       
      repeated string dest_region_codes = 199120280;
      Specified by:
      getDestRegionCodesCount in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The count of destRegionCodes.
    • getDestRegionCodes

      public String getDestRegionCodes(int index)
       Region codes whose IP addresses will be used to match for destination
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of dest region codes allowed is 5000.
       
      repeated string dest_region_codes = 199120280;
      Specified by:
      getDestRegionCodes in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The destRegionCodes at the given index.
    • getDestRegionCodesBytes

      public com.google.protobuf.ByteString getDestRegionCodesBytes(int index)
       Region codes whose IP addresses will be used to match for destination
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of dest region codes allowed is 5000.
       
      repeated string dest_region_codes = 199120280;
      Specified by:
      getDestRegionCodesBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the destRegionCodes at the given index.
    • setDestRegionCodes

      public FirewallPolicyRuleMatcher.Builder setDestRegionCodes(int index, String value)
       Region codes whose IP addresses will be used to match for destination
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of dest region codes allowed is 5000.
       
      repeated string dest_region_codes = 199120280;
      Parameters:
      index - The index to set the value at.
      value - The destRegionCodes to set.
      Returns:
      This builder for chaining.
    • addDestRegionCodes

      public FirewallPolicyRuleMatcher.Builder addDestRegionCodes(String value)
       Region codes whose IP addresses will be used to match for destination
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of dest region codes allowed is 5000.
       
      repeated string dest_region_codes = 199120280;
      Parameters:
      value - The destRegionCodes to add.
      Returns:
      This builder for chaining.
    • addAllDestRegionCodes

      public FirewallPolicyRuleMatcher.Builder addAllDestRegionCodes(Iterable<String> values)
       Region codes whose IP addresses will be used to match for destination
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of dest region codes allowed is 5000.
       
      repeated string dest_region_codes = 199120280;
      Parameters:
      values - The destRegionCodes to add.
      Returns:
      This builder for chaining.
    • clearDestRegionCodes

      public FirewallPolicyRuleMatcher.Builder clearDestRegionCodes()
       Region codes whose IP addresses will be used to match for destination
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of dest region codes allowed is 5000.
       
      repeated string dest_region_codes = 199120280;
      Returns:
      This builder for chaining.
    • addDestRegionCodesBytes

      public FirewallPolicyRuleMatcher.Builder addDestRegionCodesBytes(com.google.protobuf.ByteString value)
       Region codes whose IP addresses will be used to match for destination
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of dest region codes allowed is 5000.
       
      repeated string dest_region_codes = 199120280;
      Parameters:
      value - The bytes of the destRegionCodes to add.
      Returns:
      This builder for chaining.
    • getDestThreatIntelligencesList

      public com.google.protobuf.ProtocolStringList getDestThreatIntelligencesList()
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic destination.
       
      repeated string dest_threat_intelligences = 119896492;
      Specified by:
      getDestThreatIntelligencesList in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      A list containing the destThreatIntelligences.
    • getDestThreatIntelligencesCount

      public int getDestThreatIntelligencesCount()
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic destination.
       
      repeated string dest_threat_intelligences = 119896492;
      Specified by:
      getDestThreatIntelligencesCount in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The count of destThreatIntelligences.
    • getDestThreatIntelligences

      public String getDestThreatIntelligences(int index)
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic destination.
       
      repeated string dest_threat_intelligences = 119896492;
      Specified by:
      getDestThreatIntelligences in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The destThreatIntelligences at the given index.
    • getDestThreatIntelligencesBytes

      public com.google.protobuf.ByteString getDestThreatIntelligencesBytes(int index)
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic destination.
       
      repeated string dest_threat_intelligences = 119896492;
      Specified by:
      getDestThreatIntelligencesBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the destThreatIntelligences at the given index.
    • setDestThreatIntelligences

      public FirewallPolicyRuleMatcher.Builder setDestThreatIntelligences(int index, String value)
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic destination.
       
      repeated string dest_threat_intelligences = 119896492;
      Parameters:
      index - The index to set the value at.
      value - The destThreatIntelligences to set.
      Returns:
      This builder for chaining.
    • addDestThreatIntelligences

      public FirewallPolicyRuleMatcher.Builder addDestThreatIntelligences(String value)
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic destination.
       
      repeated string dest_threat_intelligences = 119896492;
      Parameters:
      value - The destThreatIntelligences to add.
      Returns:
      This builder for chaining.
    • addAllDestThreatIntelligences

      public FirewallPolicyRuleMatcher.Builder addAllDestThreatIntelligences(Iterable<String> values)
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic destination.
       
      repeated string dest_threat_intelligences = 119896492;
      Parameters:
      values - The destThreatIntelligences to add.
      Returns:
      This builder for chaining.
    • clearDestThreatIntelligences

      public FirewallPolicyRuleMatcher.Builder clearDestThreatIntelligences()
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic destination.
       
      repeated string dest_threat_intelligences = 119896492;
      Returns:
      This builder for chaining.
    • addDestThreatIntelligencesBytes

      public FirewallPolicyRuleMatcher.Builder addDestThreatIntelligencesBytes(com.google.protobuf.ByteString value)
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic destination.
       
      repeated string dest_threat_intelligences = 119896492;
      Parameters:
      value - The bytes of the destThreatIntelligences to add.
      Returns:
      This builder for chaining.
    • getLayer4ConfigsList

      public List<FirewallPolicyRuleMatcherLayer4Config> getLayer4ConfigsList()
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
      Specified by:
      getLayer4ConfigsList in interface FirewallPolicyRuleMatcherOrBuilder
    • getLayer4ConfigsCount

      public int getLayer4ConfigsCount()
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
      Specified by:
      getLayer4ConfigsCount in interface FirewallPolicyRuleMatcherOrBuilder
    • getLayer4Configs

      public FirewallPolicyRuleMatcherLayer4Config getLayer4Configs(int index)
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
      Specified by:
      getLayer4Configs in interface FirewallPolicyRuleMatcherOrBuilder
    • setLayer4Configs

      public FirewallPolicyRuleMatcher.Builder setLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config value)
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
    • setLayer4Configs

      public FirewallPolicyRuleMatcher.Builder setLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
    • addLayer4Configs

       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
    • addLayer4Configs

      public FirewallPolicyRuleMatcher.Builder addLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config value)
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
    • addLayer4Configs

       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
    • addLayer4Configs

      public FirewallPolicyRuleMatcher.Builder addLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
    • addAllLayer4Configs

       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
    • clearLayer4Configs

      public FirewallPolicyRuleMatcher.Builder clearLayer4Configs()
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
    • removeLayer4Configs

      public FirewallPolicyRuleMatcher.Builder removeLayer4Configs(int index)
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
    • getLayer4ConfigsBuilder

      public FirewallPolicyRuleMatcherLayer4Config.Builder getLayer4ConfigsBuilder(int index)
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
    • getLayer4ConfigsOrBuilder

      public FirewallPolicyRuleMatcherLayer4ConfigOrBuilder getLayer4ConfigsOrBuilder(int index)
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
      Specified by:
      getLayer4ConfigsOrBuilder in interface FirewallPolicyRuleMatcherOrBuilder
    • getLayer4ConfigsOrBuilderList

      public List<? extends FirewallPolicyRuleMatcherLayer4ConfigOrBuilder> getLayer4ConfigsOrBuilderList()
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
      Specified by:
      getLayer4ConfigsOrBuilderList in interface FirewallPolicyRuleMatcherOrBuilder
    • addLayer4ConfigsBuilder

      public FirewallPolicyRuleMatcherLayer4Config.Builder addLayer4ConfigsBuilder()
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
    • addLayer4ConfigsBuilder

      public FirewallPolicyRuleMatcherLayer4Config.Builder addLayer4ConfigsBuilder(int index)
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
    • getLayer4ConfigsBuilderList

      public List<FirewallPolicyRuleMatcherLayer4Config.Builder> getLayer4ConfigsBuilderList()
       Pairs of IP protocols and ports that the rule should match.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
    • getSrcAddressGroupsList

      public com.google.protobuf.ProtocolStringList getSrcAddressGroupsList()
       Address groups which should be matched against the traffic source.
       Maximum number of source address groups is 10.
       
      repeated string src_address_groups = 436423738;
      Specified by:
      getSrcAddressGroupsList in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      A list containing the srcAddressGroups.
    • getSrcAddressGroupsCount

      public int getSrcAddressGroupsCount()
       Address groups which should be matched against the traffic source.
       Maximum number of source address groups is 10.
       
      repeated string src_address_groups = 436423738;
      Specified by:
      getSrcAddressGroupsCount in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The count of srcAddressGroups.
    • getSrcAddressGroups

      public String getSrcAddressGroups(int index)
       Address groups which should be matched against the traffic source.
       Maximum number of source address groups is 10.
       
      repeated string src_address_groups = 436423738;
      Specified by:
      getSrcAddressGroups in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The srcAddressGroups at the given index.
    • getSrcAddressGroupsBytes

      public com.google.protobuf.ByteString getSrcAddressGroupsBytes(int index)
       Address groups which should be matched against the traffic source.
       Maximum number of source address groups is 10.
       
      repeated string src_address_groups = 436423738;
      Specified by:
      getSrcAddressGroupsBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the srcAddressGroups at the given index.
    • setSrcAddressGroups

      public FirewallPolicyRuleMatcher.Builder setSrcAddressGroups(int index, String value)
       Address groups which should be matched against the traffic source.
       Maximum number of source address groups is 10.
       
      repeated string src_address_groups = 436423738;
      Parameters:
      index - The index to set the value at.
      value - The srcAddressGroups to set.
      Returns:
      This builder for chaining.
    • addSrcAddressGroups

      public FirewallPolicyRuleMatcher.Builder addSrcAddressGroups(String value)
       Address groups which should be matched against the traffic source.
       Maximum number of source address groups is 10.
       
      repeated string src_address_groups = 436423738;
      Parameters:
      value - The srcAddressGroups to add.
      Returns:
      This builder for chaining.
    • addAllSrcAddressGroups

      public FirewallPolicyRuleMatcher.Builder addAllSrcAddressGroups(Iterable<String> values)
       Address groups which should be matched against the traffic source.
       Maximum number of source address groups is 10.
       
      repeated string src_address_groups = 436423738;
      Parameters:
      values - The srcAddressGroups to add.
      Returns:
      This builder for chaining.
    • clearSrcAddressGroups

      public FirewallPolicyRuleMatcher.Builder clearSrcAddressGroups()
       Address groups which should be matched against the traffic source.
       Maximum number of source address groups is 10.
       
      repeated string src_address_groups = 436423738;
      Returns:
      This builder for chaining.
    • addSrcAddressGroupsBytes

      public FirewallPolicyRuleMatcher.Builder addSrcAddressGroupsBytes(com.google.protobuf.ByteString value)
       Address groups which should be matched against the traffic source.
       Maximum number of source address groups is 10.
       
      repeated string src_address_groups = 436423738;
      Parameters:
      value - The bytes of the srcAddressGroups to add.
      Returns:
      This builder for chaining.
    • getSrcFqdnsList

      public com.google.protobuf.ProtocolStringList getSrcFqdnsList()
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic source.
       Maximum number of source fqdn allowed is 100.
       
      repeated string src_fqdns = 435906147;
      Specified by:
      getSrcFqdnsList in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      A list containing the srcFqdns.
    • getSrcFqdnsCount

      public int getSrcFqdnsCount()
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic source.
       Maximum number of source fqdn allowed is 100.
       
      repeated string src_fqdns = 435906147;
      Specified by:
      getSrcFqdnsCount in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The count of srcFqdns.
    • getSrcFqdns

      public String getSrcFqdns(int index)
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic source.
       Maximum number of source fqdn allowed is 100.
       
      repeated string src_fqdns = 435906147;
      Specified by:
      getSrcFqdns in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The srcFqdns at the given index.
    • getSrcFqdnsBytes

      public com.google.protobuf.ByteString getSrcFqdnsBytes(int index)
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic source.
       Maximum number of source fqdn allowed is 100.
       
      repeated string src_fqdns = 435906147;
      Specified by:
      getSrcFqdnsBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the srcFqdns at the given index.
    • setSrcFqdns

      public FirewallPolicyRuleMatcher.Builder setSrcFqdns(int index, String value)
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic source.
       Maximum number of source fqdn allowed is 100.
       
      repeated string src_fqdns = 435906147;
      Parameters:
      index - The index to set the value at.
      value - The srcFqdns to set.
      Returns:
      This builder for chaining.
    • addSrcFqdns

      public FirewallPolicyRuleMatcher.Builder addSrcFqdns(String value)
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic source.
       Maximum number of source fqdn allowed is 100.
       
      repeated string src_fqdns = 435906147;
      Parameters:
      value - The srcFqdns to add.
      Returns:
      This builder for chaining.
    • addAllSrcFqdns

      public FirewallPolicyRuleMatcher.Builder addAllSrcFqdns(Iterable<String> values)
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic source.
       Maximum number of source fqdn allowed is 100.
       
      repeated string src_fqdns = 435906147;
      Parameters:
      values - The srcFqdns to add.
      Returns:
      This builder for chaining.
    • clearSrcFqdns

      public FirewallPolicyRuleMatcher.Builder clearSrcFqdns()
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic source.
       Maximum number of source fqdn allowed is 100.
       
      repeated string src_fqdns = 435906147;
      Returns:
      This builder for chaining.
    • addSrcFqdnsBytes

      public FirewallPolicyRuleMatcher.Builder addSrcFqdnsBytes(com.google.protobuf.ByteString value)
       Fully Qualified Domain Name (FQDN) which should be matched against
       traffic source.
       Maximum number of source fqdn allowed is 100.
       
      repeated string src_fqdns = 435906147;
      Parameters:
      value - The bytes of the srcFqdns to add.
      Returns:
      This builder for chaining.
    • getSrcIpRangesList

      public com.google.protobuf.ProtocolStringList getSrcIpRangesList()
       CIDR IP address range.
       Maximum number of source CIDR IP ranges allowed is 5000.
       
      repeated string src_ip_ranges = 432128083;
      Specified by:
      getSrcIpRangesList in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      A list containing the srcIpRanges.
    • getSrcIpRangesCount

      public int getSrcIpRangesCount()
       CIDR IP address range.
       Maximum number of source CIDR IP ranges allowed is 5000.
       
      repeated string src_ip_ranges = 432128083;
      Specified by:
      getSrcIpRangesCount in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The count of srcIpRanges.
    • getSrcIpRanges

      public String getSrcIpRanges(int index)
       CIDR IP address range.
       Maximum number of source CIDR IP ranges allowed is 5000.
       
      repeated string src_ip_ranges = 432128083;
      Specified by:
      getSrcIpRanges in interface FirewallPolicyRuleMatcherOrBuilder
      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)
       CIDR IP address range.
       Maximum number of source CIDR IP ranges allowed is 5000.
       
      repeated string src_ip_ranges = 432128083;
      Specified by:
      getSrcIpRangesBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the srcIpRanges at the given index.
    • setSrcIpRanges

      public FirewallPolicyRuleMatcher.Builder setSrcIpRanges(int index, String value)
       CIDR IP address range.
       Maximum number of source CIDR IP ranges allowed is 5000.
       
      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 FirewallPolicyRuleMatcher.Builder addSrcIpRanges(String value)
       CIDR IP address range.
       Maximum number of source CIDR IP ranges allowed is 5000.
       
      repeated string src_ip_ranges = 432128083;
      Parameters:
      value - The srcIpRanges to add.
      Returns:
      This builder for chaining.
    • addAllSrcIpRanges

      public FirewallPolicyRuleMatcher.Builder addAllSrcIpRanges(Iterable<String> values)
       CIDR IP address range.
       Maximum number of source CIDR IP ranges allowed is 5000.
       
      repeated string src_ip_ranges = 432128083;
      Parameters:
      values - The srcIpRanges to add.
      Returns:
      This builder for chaining.
    • clearSrcIpRanges

      public FirewallPolicyRuleMatcher.Builder clearSrcIpRanges()
       CIDR IP address range.
       Maximum number of source CIDR IP ranges allowed is 5000.
       
      repeated string src_ip_ranges = 432128083;
      Returns:
      This builder for chaining.
    • addSrcIpRangesBytes

      public FirewallPolicyRuleMatcher.Builder addSrcIpRangesBytes(com.google.protobuf.ByteString value)
       CIDR IP address range.
       Maximum number of source CIDR IP ranges allowed is 5000.
       
      repeated string src_ip_ranges = 432128083;
      Parameters:
      value - The bytes of the srcIpRanges to add.
      Returns:
      This builder for chaining.
    • hasSrcNetworkContext

      public boolean hasSrcNetworkContext()
       Network context of the traffic source. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - INTRA_VPC
       - NON_INTERNET
       - VPC_NETWORKS
       Check the SrcNetworkContext enum for the list of possible values.
       
      optional string src_network_context = 147649603;
      Specified by:
      hasSrcNetworkContext in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      Whether the srcNetworkContext field is set.
    • getSrcNetworkContext

      public String getSrcNetworkContext()
       Network context of the traffic source. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - INTRA_VPC
       - NON_INTERNET
       - VPC_NETWORKS
       Check the SrcNetworkContext enum for the list of possible values.
       
      optional string src_network_context = 147649603;
      Specified by:
      getSrcNetworkContext in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The srcNetworkContext.
    • getSrcNetworkContextBytes

      public com.google.protobuf.ByteString getSrcNetworkContextBytes()
       Network context of the traffic source. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - INTRA_VPC
       - NON_INTERNET
       - VPC_NETWORKS
       Check the SrcNetworkContext enum for the list of possible values.
       
      optional string src_network_context = 147649603;
      Specified by:
      getSrcNetworkContextBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The bytes for srcNetworkContext.
    • setSrcNetworkContext

      public FirewallPolicyRuleMatcher.Builder setSrcNetworkContext(String value)
       Network context of the traffic source. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - INTRA_VPC
       - NON_INTERNET
       - VPC_NETWORKS
       Check the SrcNetworkContext enum for the list of possible values.
       
      optional string src_network_context = 147649603;
      Parameters:
      value - The srcNetworkContext to set.
      Returns:
      This builder for chaining.
    • clearSrcNetworkContext

      public FirewallPolicyRuleMatcher.Builder clearSrcNetworkContext()
       Network context of the traffic source. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - INTRA_VPC
       - NON_INTERNET
       - VPC_NETWORKS
       Check the SrcNetworkContext enum for the list of possible values.
       
      optional string src_network_context = 147649603;
      Returns:
      This builder for chaining.
    • setSrcNetworkContextBytes

      public FirewallPolicyRuleMatcher.Builder setSrcNetworkContextBytes(com.google.protobuf.ByteString value)
       Network context of the traffic source. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - INTRA_VPC
       - NON_INTERNET
       - VPC_NETWORKS
       Check the SrcNetworkContext enum for the list of possible values.
       
      optional string src_network_context = 147649603;
      Parameters:
      value - The bytes for srcNetworkContext to set.
      Returns:
      This builder for chaining.
    • hasSrcNetworkType

      public boolean hasSrcNetworkType()
       Network type of the traffic source. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - INTRA_VPC
       - NON_INTERNET
       - VPC_NETWORKS
       Check the SrcNetworkType enum for the list of possible values.
       
      optional string src_network_type = 309819686;
      Specified by:
      hasSrcNetworkType in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      Whether the srcNetworkType field is set.
    • getSrcNetworkType

      public String getSrcNetworkType()
       Network type of the traffic source. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - INTRA_VPC
       - NON_INTERNET
       - VPC_NETWORKS
       Check the SrcNetworkType enum for the list of possible values.
       
      optional string src_network_type = 309819686;
      Specified by:
      getSrcNetworkType in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The srcNetworkType.
    • getSrcNetworkTypeBytes

      public com.google.protobuf.ByteString getSrcNetworkTypeBytes()
       Network type of the traffic source. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - INTRA_VPC
       - NON_INTERNET
       - VPC_NETWORKS
       Check the SrcNetworkType enum for the list of possible values.
       
      optional string src_network_type = 309819686;
      Specified by:
      getSrcNetworkTypeBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The bytes for srcNetworkType.
    • setSrcNetworkType

      public FirewallPolicyRuleMatcher.Builder setSrcNetworkType(String value)
       Network type of the traffic source. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - INTRA_VPC
       - NON_INTERNET
       - VPC_NETWORKS
       Check the SrcNetworkType enum for the list of possible values.
       
      optional string src_network_type = 309819686;
      Parameters:
      value - The srcNetworkType to set.
      Returns:
      This builder for chaining.
    • clearSrcNetworkType

      public FirewallPolicyRuleMatcher.Builder clearSrcNetworkType()
       Network type of the traffic source. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - INTRA_VPC
       - NON_INTERNET
       - VPC_NETWORKS
       Check the SrcNetworkType enum for the list of possible values.
       
      optional string src_network_type = 309819686;
      Returns:
      This builder for chaining.
    • setSrcNetworkTypeBytes

      public FirewallPolicyRuleMatcher.Builder setSrcNetworkTypeBytes(com.google.protobuf.ByteString value)
       Network type of the traffic source. Allowed values are:
      
      
       - UNSPECIFIED
       - INTERNET
       - INTRA_VPC
       - NON_INTERNET
       - VPC_NETWORKS
       Check the SrcNetworkType enum for the list of possible values.
       
      optional string src_network_type = 309819686;
      Parameters:
      value - The bytes for srcNetworkType to set.
      Returns:
      This builder for chaining.
    • getSrcNetworksList

      public com.google.protobuf.ProtocolStringList getSrcNetworksList()
       Networks of the traffic source. It can be either a full or partial url.
       
      repeated string src_networks = 247119872;
      Specified by:
      getSrcNetworksList in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      A list containing the srcNetworks.
    • getSrcNetworksCount

      public int getSrcNetworksCount()
       Networks of the traffic source. It can be either a full or partial url.
       
      repeated string src_networks = 247119872;
      Specified by:
      getSrcNetworksCount in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The count of srcNetworks.
    • getSrcNetworks

      public String getSrcNetworks(int index)
       Networks of the traffic source. It can be either a full or partial url.
       
      repeated string src_networks = 247119872;
      Specified by:
      getSrcNetworks in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The srcNetworks at the given index.
    • getSrcNetworksBytes

      public com.google.protobuf.ByteString getSrcNetworksBytes(int index)
       Networks of the traffic source. It can be either a full or partial url.
       
      repeated string src_networks = 247119872;
      Specified by:
      getSrcNetworksBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the srcNetworks at the given index.
    • setSrcNetworks

      public FirewallPolicyRuleMatcher.Builder setSrcNetworks(int index, String value)
       Networks of the traffic source. It can be either a full or partial url.
       
      repeated string src_networks = 247119872;
      Parameters:
      index - The index to set the value at.
      value - The srcNetworks to set.
      Returns:
      This builder for chaining.
    • addSrcNetworks

      public FirewallPolicyRuleMatcher.Builder addSrcNetworks(String value)
       Networks of the traffic source. It can be either a full or partial url.
       
      repeated string src_networks = 247119872;
      Parameters:
      value - The srcNetworks to add.
      Returns:
      This builder for chaining.
    • addAllSrcNetworks

      public FirewallPolicyRuleMatcher.Builder addAllSrcNetworks(Iterable<String> values)
       Networks of the traffic source. It can be either a full or partial url.
       
      repeated string src_networks = 247119872;
      Parameters:
      values - The srcNetworks to add.
      Returns:
      This builder for chaining.
    • clearSrcNetworks

      public FirewallPolicyRuleMatcher.Builder clearSrcNetworks()
       Networks of the traffic source. It can be either a full or partial url.
       
      repeated string src_networks = 247119872;
      Returns:
      This builder for chaining.
    • addSrcNetworksBytes

      public FirewallPolicyRuleMatcher.Builder addSrcNetworksBytes(com.google.protobuf.ByteString value)
       Networks of the traffic source. It can be either a full or partial url.
       
      repeated string src_networks = 247119872;
      Parameters:
      value - The bytes of the srcNetworks to add.
      Returns:
      This builder for chaining.
    • getSrcRegionCodesList

      public com.google.protobuf.ProtocolStringList getSrcRegionCodesList()
       Region codes whose IP addresses will be used to match for source
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of source region codes allowed is 5000.
       
      repeated string src_region_codes = 99086742;
      Specified by:
      getSrcRegionCodesList in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      A list containing the srcRegionCodes.
    • getSrcRegionCodesCount

      public int getSrcRegionCodesCount()
       Region codes whose IP addresses will be used to match for source
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of source region codes allowed is 5000.
       
      repeated string src_region_codes = 99086742;
      Specified by:
      getSrcRegionCodesCount in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The count of srcRegionCodes.
    • getSrcRegionCodes

      public String getSrcRegionCodes(int index)
       Region codes whose IP addresses will be used to match for source
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of source region codes allowed is 5000.
       
      repeated string src_region_codes = 99086742;
      Specified by:
      getSrcRegionCodes in interface FirewallPolicyRuleMatcherOrBuilder
      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)
       Region codes whose IP addresses will be used to match for source
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of source region codes allowed is 5000.
       
      repeated string src_region_codes = 99086742;
      Specified by:
      getSrcRegionCodesBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the srcRegionCodes at the given index.
    • setSrcRegionCodes

      public FirewallPolicyRuleMatcher.Builder setSrcRegionCodes(int index, String value)
       Region codes whose IP addresses will be used to match for source
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of source region codes allowed is 5000.
       
      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 FirewallPolicyRuleMatcher.Builder addSrcRegionCodes(String value)
       Region codes whose IP addresses will be used to match for source
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of source region codes allowed is 5000.
       
      repeated string src_region_codes = 99086742;
      Parameters:
      value - The srcRegionCodes to add.
      Returns:
      This builder for chaining.
    • addAllSrcRegionCodes

      public FirewallPolicyRuleMatcher.Builder addAllSrcRegionCodes(Iterable<String> values)
       Region codes whose IP addresses will be used to match for source
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of source region codes allowed is 5000.
       
      repeated string src_region_codes = 99086742;
      Parameters:
      values - The srcRegionCodes to add.
      Returns:
      This builder for chaining.
    • clearSrcRegionCodes

      public FirewallPolicyRuleMatcher.Builder clearSrcRegionCodes()
       Region codes whose IP addresses will be used to match for source
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of source region codes allowed is 5000.
       
      repeated string src_region_codes = 99086742;
      Returns:
      This builder for chaining.
    • addSrcRegionCodesBytes

      public FirewallPolicyRuleMatcher.Builder addSrcRegionCodesBytes(com.google.protobuf.ByteString value)
       Region codes whose IP addresses will be used to match for source
       of traffic. Should be specified as 2 letter country code defined as per
       ISO 3166 alpha-2 country codes. ex."US"
       Maximum number of source region codes allowed is 5000.
       
      repeated string src_region_codes = 99086742;
      Parameters:
      value - The bytes of the srcRegionCodes to add.
      Returns:
      This builder for chaining.
    • getSrcSecureTagsList

      public List<FirewallPolicyRuleSecureTag> getSrcSecureTagsList()
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
      Specified by:
      getSrcSecureTagsList in interface FirewallPolicyRuleMatcherOrBuilder
    • getSrcSecureTagsCount

      public int getSrcSecureTagsCount()
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
      Specified by:
      getSrcSecureTagsCount in interface FirewallPolicyRuleMatcherOrBuilder
    • getSrcSecureTags

      public FirewallPolicyRuleSecureTag getSrcSecureTags(int index)
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
      Specified by:
      getSrcSecureTags in interface FirewallPolicyRuleMatcherOrBuilder
    • setSrcSecureTags

      public FirewallPolicyRuleMatcher.Builder setSrcSecureTags(int index, FirewallPolicyRuleSecureTag value)
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
    • setSrcSecureTags

      public FirewallPolicyRuleMatcher.Builder setSrcSecureTags(int index, FirewallPolicyRuleSecureTag.Builder builderForValue)
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
    • addSrcSecureTags

       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
    • addSrcSecureTags

      public FirewallPolicyRuleMatcher.Builder addSrcSecureTags(int index, FirewallPolicyRuleSecureTag value)
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
    • addSrcSecureTags

       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
    • addSrcSecureTags

      public FirewallPolicyRuleMatcher.Builder addSrcSecureTags(int index, FirewallPolicyRuleSecureTag.Builder builderForValue)
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
    • addAllSrcSecureTags

      public FirewallPolicyRuleMatcher.Builder addAllSrcSecureTags(Iterable<? extends FirewallPolicyRuleSecureTag> values)
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
    • clearSrcSecureTags

      public FirewallPolicyRuleMatcher.Builder clearSrcSecureTags()
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
    • removeSrcSecureTags

      public FirewallPolicyRuleMatcher.Builder removeSrcSecureTags(int index)
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
    • getSrcSecureTagsBuilder

      public FirewallPolicyRuleSecureTag.Builder getSrcSecureTagsBuilder(int index)
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
    • getSrcSecureTagsOrBuilder

      public FirewallPolicyRuleSecureTagOrBuilder getSrcSecureTagsOrBuilder(int index)
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
      Specified by:
      getSrcSecureTagsOrBuilder in interface FirewallPolicyRuleMatcherOrBuilder
    • getSrcSecureTagsOrBuilderList

      public List<? extends FirewallPolicyRuleSecureTagOrBuilder> getSrcSecureTagsOrBuilderList()
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
      Specified by:
      getSrcSecureTagsOrBuilderList in interface FirewallPolicyRuleMatcherOrBuilder
    • addSrcSecureTagsBuilder

      public FirewallPolicyRuleSecureTag.Builder addSrcSecureTagsBuilder()
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
    • addSrcSecureTagsBuilder

      public FirewallPolicyRuleSecureTag.Builder addSrcSecureTagsBuilder(int index)
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
    • getSrcSecureTagsBuilderList

      public List<FirewallPolicyRuleSecureTag.Builder> getSrcSecureTagsBuilderList()
       List of secure tag values, which should be matched at the source
       of the traffic.
       For INGRESS rule, if all the srcSecureTag are INEFFECTIVE,
       and there is no srcIpRange, this rule will be ignored.
       Maximum number of source tag values allowed is 256.
       
      repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
    • getSrcThreatIntelligencesList

      public com.google.protobuf.ProtocolStringList getSrcThreatIntelligencesList()
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic source.
       
      repeated string src_threat_intelligences = 323631018;
      Specified by:
      getSrcThreatIntelligencesList in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      A list containing the srcThreatIntelligences.
    • getSrcThreatIntelligencesCount

      public int getSrcThreatIntelligencesCount()
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic source.
       
      repeated string src_threat_intelligences = 323631018;
      Specified by:
      getSrcThreatIntelligencesCount in interface FirewallPolicyRuleMatcherOrBuilder
      Returns:
      The count of srcThreatIntelligences.
    • getSrcThreatIntelligences

      public String getSrcThreatIntelligences(int index)
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic source.
       
      repeated string src_threat_intelligences = 323631018;
      Specified by:
      getSrcThreatIntelligences in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The srcThreatIntelligences at the given index.
    • getSrcThreatIntelligencesBytes

      public com.google.protobuf.ByteString getSrcThreatIntelligencesBytes(int index)
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic source.
       
      repeated string src_threat_intelligences = 323631018;
      Specified by:
      getSrcThreatIntelligencesBytes in interface FirewallPolicyRuleMatcherOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the srcThreatIntelligences at the given index.
    • setSrcThreatIntelligences

      public FirewallPolicyRuleMatcher.Builder setSrcThreatIntelligences(int index, String value)
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic source.
       
      repeated string src_threat_intelligences = 323631018;
      Parameters:
      index - The index to set the value at.
      value - The srcThreatIntelligences to set.
      Returns:
      This builder for chaining.
    • addSrcThreatIntelligences

      public FirewallPolicyRuleMatcher.Builder addSrcThreatIntelligences(String value)
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic source.
       
      repeated string src_threat_intelligences = 323631018;
      Parameters:
      value - The srcThreatIntelligences to add.
      Returns:
      This builder for chaining.
    • addAllSrcThreatIntelligences

      public FirewallPolicyRuleMatcher.Builder addAllSrcThreatIntelligences(Iterable<String> values)
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic source.
       
      repeated string src_threat_intelligences = 323631018;
      Parameters:
      values - The srcThreatIntelligences to add.
      Returns:
      This builder for chaining.
    • clearSrcThreatIntelligences

      public FirewallPolicyRuleMatcher.Builder clearSrcThreatIntelligences()
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic source.
       
      repeated string src_threat_intelligences = 323631018;
      Returns:
      This builder for chaining.
    • addSrcThreatIntelligencesBytes

      public FirewallPolicyRuleMatcher.Builder addSrcThreatIntelligencesBytes(com.google.protobuf.ByteString value)
       Names of Network Threat Intelligence lists.
       The IPs in these lists will be matched against traffic source.
       
      repeated string src_threat_intelligences = 323631018;
      Parameters:
      value - The bytes of the srcThreatIntelligences to add.
      Returns:
      This builder for chaining.