summaryrefslogtreecommitdiff
path: root/src/rpc/envoy.extensions.outlier_detection_monitors.common.v3.rs
blob: 510ac81531cca392a65596c267681c8c15718a2b (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
// @generated
// This file is @generated by prost-build.
/// \[#protodoc-title: Outlier detection error buckets\]
/// Error bucket for HTTP codes.
/// \[#not-implemented-hide:\]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct HttpErrors {
    #[prost(message, optional, tag="1")]
    pub range: ::core::option::Option<super::super::super::super::r#type::v3::Int32Range>,
}
/// Error bucket for locally originated errors.
/// \[#not-implemented-hide:\]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct LocalOriginErrors {
}
/// Error bucket for database errors.
/// Sub-parameters may be added later, like malformed response, error on write, etc.
/// \[#not-implemented-hide:\]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct DatabaseErrors {
}
/// Union of possible error buckets.
/// \[#not-implemented-hide:\]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ErrorBuckets {
    /// List of buckets "catching" HTTP codes.
    #[prost(message, repeated, tag="1")]
    pub http_errors: ::prost::alloc::vec::Vec<HttpErrors>,
    /// List of buckets "catching" locally originated errors.
    #[prost(message, repeated, tag="2")]
    pub local_origin_errors: ::prost::alloc::vec::Vec<LocalOriginErrors>,
    /// List of buckets "catching" database errors.
    #[prost(message, repeated, tag="3")]
    pub database_errors: ::prost::alloc::vec::Vec<DatabaseErrors>,
}
// @@protoc_insertion_point(module)