Interface MaxMindConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    MaxMindConfig, MaxMindConfig.Builder

    public interface MaxMindConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getAnonDbPath()
      Full file path to the Maxmind anonymous IP database, e.g.
      com.google.protobuf.ByteString getAnonDbPathBytes()
      Full file path to the Maxmind anonymous IP database, e.g.
      String getCityDbPath()
      Full file path to the Maxmind city database, e.g.
      com.google.protobuf.ByteString getCityDbPathBytes()
      Full file path to the Maxmind city database, e.g.
      CommonGeoipProviderConfig getCommonProviderConfig()
      Common provider configuration that specifies which geolocation headers will be populated with geolocation data.
      CommonGeoipProviderConfigOrBuilder getCommonProviderConfigOrBuilder()
      Common provider configuration that specifies which geolocation headers will be populated with geolocation data.
      String getIspDbPath()
      Full file path to the Maxmind ASN database, e.g.
      com.google.protobuf.ByteString getIspDbPathBytes()
      Full file path to the Maxmind ASN database, e.g.
      boolean hasCommonProviderConfig()
      Common provider configuration that specifies which geolocation headers will be populated with geolocation data.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getCityDbPath

        String getCityDbPath()
         Full file path to the Maxmind city database, e.g. /etc/GeoLite2-City.mmdb.
         Database file is expected to have .mmdb extension.
         
        string city_db_path = 1 [(.validate.rules) = { ... }
        Returns:
        The cityDbPath.
      • getCityDbPathBytes

        com.google.protobuf.ByteString getCityDbPathBytes()
         Full file path to the Maxmind city database, e.g. /etc/GeoLite2-City.mmdb.
         Database file is expected to have .mmdb extension.
         
        string city_db_path = 1 [(.validate.rules) = { ... }
        Returns:
        The bytes for cityDbPath.
      • getIspDbPath

        String getIspDbPath()
         Full file path to the Maxmind ASN database, e.g. /etc/GeoLite2-ASN.mmdb.
         Database file is expected to have .mmdb extension.
         
        string isp_db_path = 2 [(.validate.rules) = { ... }
        Returns:
        The ispDbPath.
      • getIspDbPathBytes

        com.google.protobuf.ByteString getIspDbPathBytes()
         Full file path to the Maxmind ASN database, e.g. /etc/GeoLite2-ASN.mmdb.
         Database file is expected to have .mmdb extension.
         
        string isp_db_path = 2 [(.validate.rules) = { ... }
        Returns:
        The bytes for ispDbPath.
      • getAnonDbPath

        String getAnonDbPath()
         Full file path to the Maxmind anonymous IP database, e.g. /etc/GeoIP2-Anonymous-IP.mmdb.
         Database file is expected to have .mmdb extension.
         
        string anon_db_path = 3 [(.validate.rules) = { ... }
        Returns:
        The anonDbPath.
      • getAnonDbPathBytes

        com.google.protobuf.ByteString getAnonDbPathBytes()
         Full file path to the Maxmind anonymous IP database, e.g. /etc/GeoIP2-Anonymous-IP.mmdb.
         Database file is expected to have .mmdb extension.
         
        string anon_db_path = 3 [(.validate.rules) = { ... }
        Returns:
        The bytes for anonDbPath.
      • hasCommonProviderConfig

        boolean hasCommonProviderConfig()
         Common provider configuration that specifies which geolocation headers will be populated with geolocation data.
         
        .envoy.extensions.geoip_providers.common.v3.CommonGeoipProviderConfig common_provider_config = 4 [(.validate.rules) = { ... }
        Returns:
        Whether the commonProviderConfig field is set.
      • getCommonProviderConfig

        CommonGeoipProviderConfig getCommonProviderConfig()
         Common provider configuration that specifies which geolocation headers will be populated with geolocation data.
         
        .envoy.extensions.geoip_providers.common.v3.CommonGeoipProviderConfig common_provider_config = 4 [(.validate.rules) = { ... }
        Returns:
        The commonProviderConfig.
      • getCommonProviderConfigOrBuilder

        CommonGeoipProviderConfigOrBuilder getCommonProviderConfigOrBuilder()
         Common provider configuration that specifies which geolocation headers will be populated with geolocation data.
         
        .envoy.extensions.geoip_providers.common.v3.CommonGeoipProviderConfig common_provider_config = 4 [(.validate.rules) = { ... }