envoy-types 0.7.3

Collection of protobuf types and other assets to work with the Envoy Proxy through Rust gRPC services.
Documentation
// 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()
    }
}