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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
// This file is @generated by prost-build.
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoComputeResponse {
    #[prost(oneof = "proto_compute_response::Kind", tags = "1, 2, 3, 4, 5")]
    pub kind: ::core::option::Option<proto_compute_response::Kind>,
}
/// Nested message and enum types in `ProtoComputeResponse`.
pub mod proto_compute_response {
    #[allow(missing_docs)]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoFrontiersKind {
        #[prost(message, optional, tag = "1")]
        pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
        #[prost(message, optional, tag = "2")]
        pub resp: ::core::option::Option<super::ProtoFrontiersResponse>,
    }
    #[allow(missing_docs)]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoPeekResponseKind {
        #[prost(message, optional, tag = "1")]
        pub id: ::core::option::Option<::mz_proto::ProtoU128>,
        #[prost(message, optional, tag = "2")]
        pub resp: ::core::option::Option<super::ProtoPeekResponse>,
        #[prost(btree_map = "string, string", tag = "3")]
        pub otel_ctx: ::prost::alloc::collections::BTreeMap<
            ::prost::alloc::string::String,
            ::prost::alloc::string::String,
        >,
    }
    #[allow(missing_docs)]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoSubscribeResponseKind {
        #[prost(message, optional, tag = "1")]
        pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
        #[prost(message, optional, tag = "2")]
        pub resp: ::core::option::Option<super::ProtoSubscribeResponse>,
    }
    #[allow(missing_docs)]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoCopyToResponseKind {
        #[prost(message, optional, tag = "1")]
        pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
        #[prost(message, optional, tag = "2")]
        pub resp: ::core::option::Option<super::ProtoCopyToResponse>,
    }
    #[allow(missing_docs)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        Frontiers(ProtoFrontiersKind),
        #[prost(message, tag = "2")]
        PeekResponse(ProtoPeekResponseKind),
        #[prost(message, tag = "3")]
        SubscribeResponse(ProtoSubscribeResponseKind),
        #[prost(message, tag = "4")]
        CopyToResponse(ProtoCopyToResponseKind),
        #[prost(message, tag = "5")]
        Status(super::ProtoStatusResponse),
    }
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoFrontiersResponse {
    #[prost(message, optional, tag = "1")]
    pub write_frontier: ::core::option::Option<::mz_repr::antichain::ProtoU64Antichain>,
    #[prost(message, optional, tag = "2")]
    pub input_frontier: ::core::option::Option<::mz_repr::antichain::ProtoU64Antichain>,
    #[prost(message, optional, tag = "3")]
    pub output_frontier: ::core::option::Option<::mz_repr::antichain::ProtoU64Antichain>,
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPeekResponse {
    #[prost(oneof = "proto_peek_response::Kind", tags = "1, 2, 3")]
    pub kind: ::core::option::Option<proto_peek_response::Kind>,
}
/// Nested message and enum types in `ProtoPeekResponse`.
pub mod proto_peek_response {
    #[allow(missing_docs)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        Rows(::mz_expr::row::ProtoRowCollection),
        #[prost(string, tag = "2")]
        Error(::prost::alloc::string::String),
        #[prost(message, tag = "3")]
        Canceled(()),
    }
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSubscribeResponse {
    #[prost(oneof = "proto_subscribe_response::Kind", tags = "1, 2")]
    pub kind: ::core::option::Option<proto_subscribe_response::Kind>,
}
/// Nested message and enum types in `ProtoSubscribeResponse`.
pub mod proto_subscribe_response {
    #[allow(missing_docs)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        Batch(super::ProtoSubscribeBatch),
        #[prost(message, tag = "2")]
        DroppedAt(::mz_repr::antichain::ProtoU64Antichain),
    }
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoCopyToResponse {
    #[prost(oneof = "proto_copy_to_response::Kind", tags = "1, 2, 3")]
    pub kind: ::core::option::Option<proto_copy_to_response::Kind>,
}
/// Nested message and enum types in `ProtoCopyToResponse`.
pub mod proto_copy_to_response {
    #[allow(missing_docs)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(uint64, tag = "1")]
        Rows(u64),
        #[prost(string, tag = "2")]
        Error(::prost::alloc::string::String),
        #[prost(message, tag = "3")]
        Dropped(()),
    }
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSubscribeBatch {
    #[prost(message, optional, tag = "1")]
    pub lower: ::core::option::Option<::mz_repr::antichain::ProtoU64Antichain>,
    #[prost(message, optional, tag = "2")]
    pub upper: ::core::option::Option<::mz_repr::antichain::ProtoU64Antichain>,
    #[prost(message, optional, tag = "4")]
    pub updates: ::core::option::Option<
        proto_subscribe_batch::ProtoSubscribeBatchContents,
    >,
}
/// Nested message and enum types in `ProtoSubscribeBatch`.
pub mod proto_subscribe_batch {
    #[allow(missing_docs)]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoUpdate {
        #[prost(uint64, tag = "1")]
        pub timestamp: u64,
        #[prost(message, optional, tag = "2")]
        pub row: ::core::option::Option<::mz_repr::ProtoRow>,
        #[prost(int64, tag = "3")]
        pub diff: i64,
    }
    #[allow(missing_docs)]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoSubscribeBatchContents {
        #[prost(oneof = "proto_subscribe_batch_contents::Kind", tags = "1, 2")]
        pub kind: ::core::option::Option<proto_subscribe_batch_contents::Kind>,
    }
    /// Nested message and enum types in `ProtoSubscribeBatchContents`.
    pub mod proto_subscribe_batch_contents {
        #[allow(missing_docs)]
        #[derive(Clone, PartialEq, ::prost::Oneof)]
        pub enum Kind {
            #[prost(message, tag = "1")]
            Updates(super::ProtoSubscribeUpdates),
            #[prost(string, tag = "2")]
            Error(::prost::alloc::string::String),
        }
    }
    #[allow(missing_docs)]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoSubscribeUpdates {
        #[prost(message, repeated, tag = "1")]
        pub updates: ::prost::alloc::vec::Vec<ProtoUpdate>,
    }
}
#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoStatusResponse {
    #[prost(oneof = "proto_status_response::Kind", tags = "1")]
    pub kind: ::core::option::Option<proto_status_response::Kind>,
}
/// Nested message and enum types in `ProtoStatusResponse`.
pub mod proto_status_response {
    #[allow(missing_docs)]
    #[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        OperatorHydration(super::ProtoOperatorHydrationStatus),
    }
}
#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoOperatorHydrationStatus {
    #[prost(message, optional, tag = "1")]
    pub collection_id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
    #[prost(uint64, tag = "2")]
    pub lir_id: u64,
    #[prost(uint64, tag = "3")]
    pub worker_id: u64,
    #[prost(bool, tag = "4")]
    pub hydrated: bool,
}