summaryrefslogtreecommitdiff
path: root/src/rpc/envoy.extensions.health_checkers.thrift.v3.rs
blob: 5d990177cf82bc498343cf2c7f592d7a44b8e0de (plain)
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
// @generated
// This file is @generated by prost-build.
// \[#protodoc-title: Thrift\]
// Thrift health checker :ref:`configuration overview <config_health_checkers_thrift>`.
// \[#extension: envoy.health_checkers.thrift\]

#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Thrift {
    /// Specifies the method name that will be set on each health check request dispatched to an upstream host.
    /// Note that method name is case sensitive.
    #[prost(string, tag="1")]
    pub method_name: ::prost::alloc::string::String,
    /// Configures the transport type to be used with the health checks. Note that
    /// :ref:`AUTO_TRANSPORT<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`
    /// is not supported, and we don't honor :ref:`ThriftProtocolOptions<envoy_v3_api_msg_extensions.filters.network.thrift_proxy.v3.ThriftProtocolOptions>`
    /// since it's possible to set to :ref:`AUTO_TRANSPORT<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`.
    /// \[#extension-category: envoy.filters.network\]
    #[prost(enumeration="super::super::super::filters::network::thrift_proxy::v3::TransportType", tag="2")]
    pub transport: i32,
    /// Configures the protocol type to be used with the health checks. Note that
    /// :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`
    /// and :ref:`TWITTER<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.TWITTER>`
    /// are not supported, and we don't honor :ref:`ThriftProtocolOptions<envoy_v3_api_msg_extensions.filters.network.thrift_proxy.v3.ThriftProtocolOptions>`
    /// since it's possible to set to :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`
    /// or :ref:`TWITTER<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.TWITTER>`.
    #[prost(enumeration="super::super::super::filters::network::thrift_proxy::v3::ProtocolType", tag="3")]
    pub protocol: i32,
}
// @@protoc_insertion_point(module)