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.
/// Wrapper around an existing extension that provides an associated matcher. This allows
/// decorating an existing extension with a matcher, which can be used to match against
/// relevant protocol data.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExtensionWithMatcher {
    /// The associated matcher. This is deprecated in favor of xds_matcher.
    #[deprecated]
    #[prost(message, optional, tag = "1")]
    pub matcher: ::core::option::Option<
        super::super::super::super::config::common::matcher::v3::Matcher,
    >,
    /// The associated matcher.
    #[prost(message, optional, tag = "3")]
    pub xds_matcher: ::core::option::Option<
        super::super::super::super::super::xds::r#type::matcher::v3::Matcher,
    >,
    /// The underlying extension config.
    #[prost(message, optional, tag = "2")]
    pub extension_config: ::core::option::Option<
        super::super::super::super::config::core::v3::TypedExtensionConfig,
    >,
}
impl ::prost::Name for ExtensionWithMatcher {
    const NAME: &'static str = "ExtensionWithMatcher";
    const PACKAGE: &'static str = "envoy.extensions.common.matching.v3";
    fn full_name() -> ::prost::alloc::string::String {
        "envoy.extensions.common.matching.v3.ExtensionWithMatcher".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "type.googleapis.com/envoy.extensions.common.matching.v3.ExtensionWithMatcher"
            .into()
    }
}
/// Extra settings on a per virtualhost/route/weighted-cluster level.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExtensionWithMatcherPerRoute {
    /// Matcher override.
    #[prost(message, optional, tag = "1")]
    pub xds_matcher: ::core::option::Option<
        super::super::super::super::super::xds::r#type::matcher::v3::Matcher,
    >,
}
impl ::prost::Name for ExtensionWithMatcherPerRoute {
    const NAME: &'static str = "ExtensionWithMatcherPerRoute";
    const PACKAGE: &'static str = "envoy.extensions.common.matching.v3";
    fn full_name() -> ::prost::alloc::string::String {
        "envoy.extensions.common.matching.v3.ExtensionWithMatcherPerRoute".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "type.googleapis.com/envoy.extensions.common.matching.v3.ExtensionWithMatcherPerRoute"
            .into()
    }
}