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
Modifier and TypeMethodDescriptionFull file path to the Maxmind anonymous IP database, e.g.com.google.protobuf.ByteStringFull file path to the Maxmind anonymous IP database, e.g.Full file path to the Maxmind ASN database, e.g.com.google.protobuf.ByteStringFull file path to the Maxmind ASN database, e.g.Full file path to the Maxmind city database, e.g.com.google.protobuf.ByteStringFull file path to the Maxmind city database, e.g.Common provider configuration that specifies which geolocation headers will be populated with geolocation data.Common provider configuration that specifies which geolocation headers will be populated with geolocation data.Full file path to the Maxmind ISP database, e.g.com.google.protobuf.ByteStringFull file path to the Maxmind ISP database, e.g.booleanCommon provider configuration that specifies which geolocation headers will be populated with geolocation data.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-
getAsnDbPath
String getAsnDbPath()Full file path to the Maxmind ASN database, e.g. /etc/GeoLite2-ASN.mmdb. Database file is expected to have .mmdb extension.
string asn_db_path = 2 [(.validate.rules) = { ... }- Returns:
- The asnDbPath.
-
getAsnDbPathBytes
com.google.protobuf.ByteString getAsnDbPathBytes()Full file path to the Maxmind ASN database, e.g. /etc/GeoLite2-ASN.mmdb. Database file is expected to have .mmdb extension.
string asn_db_path = 2 [(.validate.rules) = { ... }- Returns:
- The bytes for asnDbPath.
-
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.
-
getIspDbPath
String getIspDbPath()Full file path to the Maxmind ISP database, e.g. /etc/GeoLite2-ISP.mmdb. Database file is expected to have .mmdb extension.
string isp_db_path = 5 [(.validate.rules) = { ... }- Returns:
- The ispDbPath.
-
getIspDbPathBytes
com.google.protobuf.ByteString getIspDbPathBytes()Full file path to the Maxmind ISP database, e.g. /etc/GeoLite2-ISP.mmdb. Database file is expected to have .mmdb extension.
string isp_db_path = 5 [(.validate.rules) = { ... }- Returns:
- The bytes for ispDbPath.
-
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) = { ... }
-