Class FirewallPolicyRuleMatcher

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.FirewallPolicyRuleMatcher
All Implemented Interfaces:
FirewallPolicyRuleMatcherOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class FirewallPolicyRuleMatcher extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • DEST_ADDRESS_GROUPS_FIELD_NUMBER

      public static final int DEST_ADDRESS_GROUPS_FIELD_NUMBER
      See Also:
    • DEST_FQDNS_FIELD_NUMBER

      public static final int DEST_FQDNS_FIELD_NUMBER
      See Also:
    • DEST_IP_RANGES_FIELD_NUMBER

      public static final int DEST_IP_RANGES_FIELD_NUMBER
      See Also:
    • DEST_NETWORK_CONTEXT_FIELD_NUMBER

      public static final int DEST_NETWORK_CONTEXT_FIELD_NUMBER
      See Also:
    • DEST_NETWORK_TYPE_FIELD_NUMBER

      public static final int DEST_NETWORK_TYPE_FIELD_NUMBER
      See Also:
    • DEST_REGION_CODES_FIELD_NUMBER

      public static final int DEST_REGION_CODES_FIELD_NUMBER
      See Also:
    • DEST_THREAT_INTELLIGENCES_FIELD_NUMBER

      public static final int DEST_THREAT_INTELLIGENCES_FIELD_NUMBER
      See Also:
    • LAYER4_CONFIGS_FIELD_NUMBER

      public static final int LAYER4_CONFIGS_FIELD_NUMBER
      See Also:
    • SRC_ADDRESS_GROUPS_FIELD_NUMBER

      public static final int SRC_ADDRESS_GROUPS_FIELD_NUMBER
      See Also:
    • SRC_FQDNS_FIELD_NUMBER

      public static final int SRC_FQDNS_FIELD_NUMBER
      See Also:
    • SRC_IP_RANGES_FIELD_NUMBER

      public static final int SRC_IP_RANGES_FIELD_NUMBER
      See Also:
    • SRC_NETWORK_CONTEXT_FIELD_NUMBER

      public static final int SRC_NETWORK_CONTEXT_FIELD_NUMBER
      See Also:
    • SRC_NETWORK_TYPE_FIELD_NUMBER

      public static final int SRC_NETWORK_TYPE_FIELD_NUMBER
      See Also:
    • SRC_NETWORKS_FIELD_NUMBER

      public static final int SRC_NETWORKS_FIELD_NUMBER
      See Also:
    • SRC_REGION_CODES_FIELD_NUMBER

      public static final int SRC_REGION_CODES_FIELD_NUMBER
      See Also:
    • SRC_SECURE_TAGS_FIELD_NUMBER

      public static final int SRC_SECURE_TAGS_FIELD_NUMBER
      See Also:
    • SRC_THREAT_INTELLIGENCES_FIELD_NUMBER

      public static final int SRC_THREAT_INTELLIGENCES_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static FirewallPolicyRuleMatcher parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallPolicyRuleMatcher parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallPolicyRuleMatcher parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallPolicyRuleMatcher parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallPolicyRuleMatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallPolicyRuleMatcher parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallPolicyRuleMatcher parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FirewallPolicyRuleMatcher parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FirewallPolicyRuleMatcher parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FirewallPolicyRuleMatcher parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FirewallPolicyRuleMatcher parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FirewallPolicyRuleMatcher parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static FirewallPolicyRuleMatcher.Builder newBuilder()
    • newBuilder

      public static FirewallPolicyRuleMatcher.Builder newBuilder(FirewallPolicyRuleMatcher prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected FirewallPolicyRuleMatcher.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static FirewallPolicyRuleMatcher getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FirewallPolicyRuleMatcher> parser()
    • getParserForType

      public com.google.protobuf.Parser<FirewallPolicyRuleMatcher> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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