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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// This file is @generated by prost-build.
/// The lowercase `b` is because prost lowercases it anyways
/// if its capitalized :(
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoRocksDbTuningParameters {
    #[prost(message, optional, tag = "1")]
    pub compaction_style: ::core::option::Option<
        proto_rocks_db_tuning_parameters::ProtoCompactionStyle,
    >,
    #[prost(uint64, tag = "2")]
    pub optimize_compaction_memtable_budget: u64,
    #[prost(bool, tag = "3")]
    pub level_compaction_dynamic_level_bytes: bool,
    #[prost(int32, tag = "4")]
    pub universal_compaction_target_ratio: i32,
    #[prost(int32, optional, tag = "5")]
    pub parallelism: ::core::option::Option<i32>,
    #[prost(message, optional, tag = "6")]
    pub compression_type: ::core::option::Option<
        proto_rocks_db_tuning_parameters::ProtoCompressionType,
    >,
    #[prost(message, optional, tag = "7")]
    pub bottommost_compression_type: ::core::option::Option<
        proto_rocks_db_tuning_parameters::ProtoCompressionType,
    >,
    #[prost(uint64, tag = "8")]
    pub batch_size: u64,
    #[prost(message, optional, tag = "9")]
    pub retry_max_duration: ::core::option::Option<::mz_proto::ProtoDuration>,
    #[prost(uint32, tag = "10")]
    pub stats_log_interval_seconds: u32,
    #[prost(uint32, tag = "11")]
    pub stats_persist_interval_seconds: u32,
    #[prost(uint32, optional, tag = "12")]
    pub point_lookup_block_cache_size_mb: ::core::option::Option<u32>,
    #[prost(uint64, tag = "13")]
    pub shrink_buffers_by_ratio: u64,
    #[prost(uint64, optional, tag = "14")]
    pub write_buffer_manager_memory_bytes: ::core::option::Option<u64>,
    #[prost(double, optional, tag = "15")]
    pub write_buffer_manager_memory_fraction: ::core::option::Option<f64>,
    #[prost(bool, tag = "16")]
    pub write_buffer_manager_allow_stall: bool,
}
/// Nested message and enum types in `ProtoRocksDbTuningParameters`.
pub mod proto_rocks_db_tuning_parameters {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, Copy, PartialEq, ::prost::Message)]
    pub struct ProtoCompactionStyle {
        #[prost(oneof = "proto_compaction_style::Kind", tags = "1, 2")]
        pub kind: ::core::option::Option<proto_compaction_style::Kind>,
    }
    /// Nested message and enum types in `ProtoCompactionStyle`.
    pub mod proto_compaction_style {
        #[allow(clippy::derive_partial_eq_without_eq)]
        #[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
        pub enum Kind {
            #[prost(message, tag = "1")]
            Level(()),
            #[prost(message, tag = "2")]
            Universal(()),
        }
    }
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, Copy, PartialEq, ::prost::Message)]
    pub struct ProtoCompressionType {
        #[prost(oneof = "proto_compression_type::Kind", tags = "1, 2, 3, 4")]
        pub kind: ::core::option::Option<proto_compression_type::Kind>,
    }
    /// Nested message and enum types in `ProtoCompressionType`.
    pub mod proto_compression_type {
        #[allow(clippy::derive_partial_eq_without_eq)]
        #[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
        pub enum Kind {
            #[prost(message, tag = "1")]
            Zstd(()),
            #[prost(message, tag = "2")]
            Snappy(()),
            #[prost(message, tag = "3")]
            Lz4(()),
            #[prost(message, tag = "4")]
            None(()),
        }
    }
}