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
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoComputeResponse {
    #[prost(oneof = "proto_compute_response::Kind", tags = "1, 2, 3")]
    pub kind: ::core::option::Option<proto_compute_response::Kind>,
}
/// Nested message and enum types in `ProtoComputeResponse`.
pub mod proto_compute_response {
    #[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(map = "string, string", tag = "3")]
        pub otel_ctx: ::std::collections::HashMap<
            ::prost::alloc::string::String,
            ::prost::alloc::string::String,
        >,
    }
    #[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>,
    }
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        FrontierUppers(::mz_storage_client::client::ProtoFrontierUppersKind),
        #[prost(message, tag = "2")]
        PeekResponse(ProtoPeekResponseKind),
        #[prost(message, tag = "3")]
        SubscribeResponse(ProtoSubscribeResponseKind),
    }
}
#[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 {
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoRow {
        #[prost(message, optional, tag = "1")]
        pub row: ::core::option::Option<::mz_repr::ProtoRow>,
        #[prost(uint64, tag = "2")]
        pub diff: u64,
    }
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoRows {
        #[prost(message, repeated, tag = "1")]
        pub rows: ::prost::alloc::vec::Vec<ProtoRow>,
    }
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        Rows(ProtoRows),
        #[prost(string, tag = "2")]
        Error(::prost::alloc::string::String),
        #[prost(message, tag = "3")]
        Canceled(()),
    }
}
#[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 {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        Batch(super::ProtoSubscribeBatch),
        #[prost(message, tag = "2")]
        DroppedAt(::mz_repr::antichain::ProtoU64Antichain),
    }
}
#[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 {
    #[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,
    }
    #[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 {
        #[derive(Clone, PartialEq, ::prost::Oneof)]
        pub enum Kind {
            #[prost(message, tag = "1")]
            Updates(super::ProtoSubscribeUpdates),
            #[prost(string, tag = "2")]
            Error(::prost::alloc::string::String),
        }
    }
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoSubscribeUpdates {
        #[prost(message, repeated, tag = "1")]
        pub updates: ::prost::alloc::vec::Vec<ProtoUpdate>,
    }
}