1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// This file is @generated by prost-build.
/// \[\#next-free-field: 7\]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct MaxMindConfig {
/// Full file path to the MaxMind city database, e.g., `/etc/GeoLite2-City.mmdb`.
/// Database file is expected to have `.mmdb` extension.
#[prost(string, tag = "1")]
pub city_db_path: ::prost::alloc::string::String,
/// Full file path to the MaxMind ASN database, e.g., `/etc/GeoLite2-ASN.mmdb`.
/// Database file is expected to have `.mmdb` extension.
/// When this is defined, the ASN information will always be fetched from the `asn_db`.
#[prost(string, tag = "2")]
pub asn_db_path: ::prost::alloc::string::String,
/// Full file path to the MaxMind Anonymous IP database, e.g., `/etc/GeoIP2-Anonymous-IP.mmdb`.
/// Database file is expected to have `.mmdb` extension.
#[prost(string, tag = "3")]
pub anon_db_path: ::prost::alloc::string::String,
/// Full file path to the MaxMind ISP database, e.g., `/etc/GeoLite2-ISP.mmdb`.
/// Database file is expected to have `.mmdb` extension.
/// If `asn_db_path` is not defined, ASN information will be fetched from
/// `isp_db` instead.
#[prost(string, tag = "5")]
pub isp_db_path: ::prost::alloc::string::String,
/// Full file path to the MaxMind Country database, e.g., `/etc/GeoLite2-Country.mmdb`.
/// Database file is expected to have `.mmdb` extension.
///
/// If `country_db_path` is not specified, country information will be fetched from
/// `city_db` if `city_db` is configured.
#[prost(string, tag = "6")]
pub country_db_path: ::prost::alloc::string::String,
/// Common provider configuration that specifies which geolocation headers will be populated with geolocation data.
#[prost(message, optional, tag = "4")]
pub common_provider_config: ::core::option::Option<
super::super::common::v3::CommonGeoipProviderConfig,
>,
}
impl ::prost::Name for MaxMindConfig {
const NAME: &'static str = "MaxMindConfig";
const PACKAGE: &'static str = "envoy.extensions.geoip_providers.maxmind.v3";
fn full_name() -> ::prost::alloc::string::String {
"envoy.extensions.geoip_providers.maxmind.v3.MaxMindConfig".into()
}
fn type_url() -> ::prost::alloc::string::String {
"type.googleapis.com/envoy.extensions.geoip_providers.maxmind.v3.MaxMindConfig"
.into()
}
}