diff options
Diffstat (limited to 'src/rpc/envoy.service.accesslog.v3.rs')
| -rw-r--r-- | src/rpc/envoy.service.accesslog.v3.rs | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/rpc/envoy.service.accesslog.v3.rs b/src/rpc/envoy.service.accesslog.v3.rs new file mode 100644 index 00000000..785dcfe2 --- /dev/null +++ b/src/rpc/envoy.service.accesslog.v3.rs @@ -0,0 +1,61 @@ +// @generated +// This file is @generated by prost-build. +/// Empty response for the StreamAccessLogs API. Will never be sent. See below. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, Copy, PartialEq, ::prost::Message)] +pub struct StreamAccessLogsResponse { +} +/// Stream message for the StreamAccessLogs API. Envoy will open a stream to the server and stream +/// access logs without ever expecting a response. +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct StreamAccessLogsMessage { + /// Identifier data that will only be sent in the first message on the stream. This is effectively + /// structured metadata and is a performance optimization. + #[prost(message, optional, tag="1")] + pub identifier: ::core::option::Option<stream_access_logs_message::Identifier>, + /// Batches of log entries of a single type. Generally speaking, a given stream should only + /// ever include one type of log entry. + #[prost(oneof="stream_access_logs_message::LogEntries", tags="2, 3")] + pub log_entries: ::core::option::Option<stream_access_logs_message::LogEntries>, +} +/// Nested message and enum types in `StreamAccessLogsMessage`. +pub mod stream_access_logs_message { + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] + pub struct Identifier { + /// The node sending the access log messages over the stream. + #[prost(message, optional, tag="1")] + pub node: ::core::option::Option<super::super::super::super::config::core::v3::Node>, + /// The friendly name of the log configured in :ref:`CommonGrpcAccessLogConfig + /// <envoy_v3_api_msg_extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig>`. + #[prost(string, tag="2")] + pub log_name: ::prost::alloc::string::String, + } + /// Wrapper for batches of HTTP access log entries. + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] + pub struct HttpAccessLogEntries { + #[prost(message, repeated, tag="1")] + pub log_entry: ::prost::alloc::vec::Vec<super::super::super::super::data::accesslog::v3::HttpAccessLogEntry>, + } + /// Wrapper for batches of TCP access log entries. + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] + pub struct TcpAccessLogEntries { + #[prost(message, repeated, tag="1")] + pub log_entry: ::prost::alloc::vec::Vec<super::super::super::super::data::accesslog::v3::TcpAccessLogEntry>, + } + /// Batches of log entries of a single type. Generally speaking, a given stream should only + /// ever include one type of log entry. + #[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Oneof)] + pub enum LogEntries { + #[prost(message, tag="2")] + HttpLogs(HttpAccessLogEntries), + #[prost(message, tag="3")] + TcpLogs(TcpAccessLogEntries), + } +} +include!("envoy.service.accesslog.v3.tonic.rs"); +// @@protoc_insertion_point(module)
\ No newline at end of file |
