summaryrefslogtreecommitdiff
path: root/src/rpc/envoy.service.event_reporting.v2alpha.rs
blob: 0897dd6a5b68cb37a0a0b70812176a05519b06b1 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
// @generated
// This file is @generated by prost-build.
/// \[#not-implemented-hide:\]
/// An events envoy sends to the management server.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StreamEventsRequest {
    /// 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_events_request::Identifier>,
    /// Batch of events. When the stream is already active, it will be the events occurred
    /// since the last message had been sent. If the server receives unknown event type, it should
    /// silently ignore it.
    ///
    /// The following events are supported:
    ///
    /// * :ref:`HealthCheckEvent <envoy_api_msg_data.core.v2alpha.HealthCheckEvent>`
    /// * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
    #[prost(message, repeated, tag="2")]
    pub events: ::prost::alloc::vec::Vec<super::super::super::super::google::protobuf::Any>,
}
/// Nested message and enum types in `StreamEventsRequest`.
pub mod stream_events_request {
    #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
    pub struct Identifier {
        /// The node sending the event messages over the stream.
        #[prost(message, optional, tag="1")]
        pub node: ::core::option::Option<super::super::super::super::api::v2::core::Node>,
    }
}
/// \[#not-implemented-hide:\]
/// The management server may send envoy a StreamEventsResponse to tell which events the server
/// is interested in. In future, with aggregated event reporting service, this message will
/// contain, for example, clusters the envoy should send events for, or event types the server
/// wants to process.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct StreamEventsResponse {
}
include!("envoy.service.event_reporting.v2alpha.tonic.rs");
// @@protoc_insertion_point(module)