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.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TcpProtocolOptions {
    /// The idle timeout for the connection. The idle timeout is defined as the period in which
    /// the connection is not associated with a downstream connection. When the idle timeout is
    /// reached, the connection will be closed.
    ///
    /// If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
    ///
    /// .. warning::
    /// Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
    /// FIN packets, etc.
    #[prost(message, optional, tag = "1")]
    pub idle_timeout: ::core::option::Option<
        super::super::super::super::super::google::protobuf::Duration,
    >,
}
impl ::prost::Name for TcpProtocolOptions {
    const NAME: &'static str = "TcpProtocolOptions";
    const PACKAGE: &'static str = "envoy.extensions.upstreams.tcp.v3";
    fn full_name() -> ::prost::alloc::string::String {
        "envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "type.googleapis.com/envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions".into()
    }
}