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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// This file is @generated by prost-build.
/// A batch of value updates to \[Config\]s in a \[ConfigSet\].
///
/// This may be sent across processes to apply the same value updates, but may
/// not be durably written down.
///
/// Intentionally not named with the usual Proto prefix because we pass this
/// around directly.
#[derive(serde::Serialize, serde::Deserialize, proptest_derive::Arbitrary)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ConfigUpdates {
    #[prost(btree_map = "string, message", tag = "2")]
    pub updates: ::prost::alloc::collections::BTreeMap<
        ::prost::alloc::string::String,
        ProtoConfigVal,
    >,
}
/// A single config value.
///
/// This may be sent across processes, but may not be durably written down.
#[derive(serde::Serialize, serde::Deserialize, proptest_derive::Arbitrary)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoConfigVal {
    #[prost(oneof = "proto_config_val::Val", tags = "2, 6, 3, 7, 9, 4, 5, 8")]
    pub val: ::core::option::Option<proto_config_val::Val>,
}
/// Nested message and enum types in `ProtoConfigVal`.
pub mod proto_config_val {
    #[derive(serde::Serialize, serde::Deserialize, proptest_derive::Arbitrary)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Val {
        #[prost(bool, tag = "2")]
        Bool(bool),
        #[prost(uint32, tag = "6")]
        U32(u32),
        #[prost(uint64, tag = "3")]
        Usize(u64),
        #[prost(message, tag = "7")]
        OptUsize(super::ProtoOptionU64),
        #[prost(double, tag = "9")]
        F64(f64),
        #[prost(string, tag = "4")]
        String(::prost::alloc::string::String),
        #[prost(message, tag = "5")]
        Duration(::mz_proto::ProtoDuration),
        /// Switch to Protobuf's native JSON representation,
        /// google.protobuf.Value, once prost supports it.
        /// See: <https://github.com/tokio-rs/prost/issues/404>
        #[prost(string, tag = "8")]
        Json(::prost::alloc::string::String),
    }
}
#[derive(serde::Serialize, serde::Deserialize, proptest_derive::Arbitrary)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoOptionU64 {
    #[prost(uint64, optional, tag = "1")]
    pub val: ::core::option::Option<u64>,
}