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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
// This file is @generated by prost-build.
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoComputeCommand {
    #[prost(
        oneof = "proto_compute_command::Kind",
        tags = "1, 2, 3, 4, 5, 6, 7, 8, 9, 10"
    )]
    pub kind: ::core::option::Option<proto_compute_command::Kind>,
}
/// Nested message and enum types in `ProtoComputeCommand`.
pub mod proto_compute_command {
    #[allow(missing_docs)]
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoCreateTimely {
        #[prost(message, optional, tag = "1")]
        pub config: ::core::option::Option<
            ::mz_cluster_client::client::ProtoTimelyConfig,
        >,
        #[prost(message, optional, tag = "2")]
        pub epoch: ::core::option::Option<
            ::mz_cluster_client::client::ProtoClusterStartupEpoch,
        >,
    }
    #[allow(missing_docs)]
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        CreateTimely(ProtoCreateTimely),
        #[prost(message, tag = "2")]
        CreateInstance(super::ProtoInstanceConfig),
        #[prost(message, tag = "3")]
        CreateDataflow(::mz_compute_types::dataflows::ProtoDataflowDescription),
        #[prost(message, tag = "4")]
        AllowCompaction(::mz_storage_client::client::ProtoCompaction),
        #[prost(message, tag = "5")]
        Peek(super::ProtoPeek),
        #[prost(message, tag = "6")]
        CancelPeek(::mz_proto::ProtoU128),
        #[prost(message, tag = "7")]
        InitializationComplete(()),
        #[prost(message, tag = "8")]
        UpdateConfiguration(super::ProtoComputeParameters),
        #[prost(message, tag = "9")]
        Schedule(::mz_repr::global_id::ProtoGlobalId),
        #[prost(message, tag = "10")]
        AllowWrites(()),
    }
}
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoInstanceConfig {
    #[prost(message, optional, tag = "1")]
    pub logging: ::core::option::Option<super::super::logging::ProtoLoggingConfig>,
}
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoIndexTarget {
    #[prost(message, optional, tag = "1")]
    pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
}
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPersistTarget {
    #[prost(message, optional, tag = "1")]
    pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
    #[prost(message, optional, tag = "2")]
    pub metadata: ::core::option::Option<
        ::mz_storage_types::controller::ProtoCollectionMetadata,
    >,
}
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPeek {
    #[prost(message, repeated, tag = "2")]
    pub key: ::prost::alloc::vec::Vec<::mz_repr::ProtoRow>,
    #[prost(message, optional, tag = "3")]
    pub uuid: ::core::option::Option<::mz_proto::ProtoU128>,
    #[prost(uint64, tag = "4")]
    pub timestamp: u64,
    #[prost(message, optional, tag = "5")]
    pub finishing: ::core::option::Option<::mz_expr::ProtoRowSetFinishing>,
    #[prost(message, optional, tag = "6")]
    pub map_filter_project: ::core::option::Option<::mz_expr::ProtoSafeMfpPlan>,
    #[prost(btree_map = "string, string", tag = "7")]
    pub otel_ctx: ::prost::alloc::collections::BTreeMap<
        ::prost::alloc::string::String,
        ::prost::alloc::string::String,
    >,
    #[prost(oneof = "proto_peek::Target", tags = "8, 9")]
    pub target: ::core::option::Option<proto_peek::Target>,
}
/// Nested message and enum types in `ProtoPeek`.
pub mod proto_peek {
    #[allow(missing_docs)]
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Target {
        #[prost(message, tag = "8")]
        Index(super::ProtoIndexTarget),
        #[prost(message, tag = "9")]
        Persist(super::ProtoPersistTarget),
    }
}
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoComputeParameters {
    #[prost(message, optional, tag = "7")]
    pub workload_class: ::core::option::Option<ProtoWorkloadClass>,
    #[prost(uint64, optional, tag = "1")]
    pub max_result_size: ::core::option::Option<u64>,
    #[prost(message, optional, tag = "2")]
    pub dyncfg_updates: ::core::option::Option<::mz_dyncfg::ConfigUpdates>,
    #[prost(message, optional, tag = "5")]
    pub tracing: ::core::option::Option<::mz_tracing::params::ProtoTracingParameters>,
    #[prost(message, optional, tag = "6")]
    pub grpc_client: ::core::option::Option<
        ::mz_service::params::ProtoGrpcClientParameters,
    >,
}
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoWorkloadClass {
    #[prost(string, optional, tag = "1")]
    pub value: ::core::option::Option<::prost::alloc::string::String>,
}