// This file is @generated by prost-build.
/// Configuration for tap transport socket. This wraps another transport socket, providing the
/// ability to interpose and record in plain text any traffic that is surfaced to Envoy.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Tap {
    /// Common configuration for the tap transport socket.
    #[prost(message, optional, tag = "1")]
    pub common_config: ::core::option::Option<
        super::super::super::common::tap::v3::CommonExtensionConfig,
    >,
    /// The underlying transport socket being wrapped.
    #[prost(message, optional, tag = "2")]
    pub transport_socket: ::core::option::Option<
        super::super::super::super::config::core::v3::TransportSocket,
    >,
    /// Additional configurations for the transport socket tap
    #[prost(message, optional, tag = "3")]
    pub socket_tap_config: ::core::option::Option<SocketTapConfig>,
}
/// Additional configurations for the transport socket tap
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SocketTapConfig {
    /// Indicates to whether output the connection information per event
    /// This is only applicable if the streamed trace is enabled
    #[prost(bool, tag = "1")]
    pub set_connection_per_event: bool,
    /// The contents of the transport tap's statistics prefix.
    #[prost(string, tag = "2")]
    pub stats_prefix: ::prost::alloc::string::String,
}
