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
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoMzOffset {
    #[prost(uint64, tag = "1")]
    pub offset: u64,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoTimeline {
    #[prost(oneof = "proto_timeline::Kind", tags = "1, 2, 3")]
    pub kind: ::core::option::Option<proto_timeline::Kind>,
}
/// Nested message and enum types in `ProtoTimeline`.
pub mod proto_timeline {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        EpochMilliseconds(()),
        #[prost(string, tag = "2")]
        External(::prost::alloc::string::String),
        #[prost(string, tag = "3")]
        User(::prost::alloc::string::String),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSourceDesc {
    #[prost(message, optional, tag = "1")]
    pub connection: ::core::option::Option<ProtoSourceConnection>,
    #[prost(message, optional, tag = "2")]
    pub encoding: ::core::option::Option<encoding::ProtoSourceDataEncoding>,
    #[prost(message, optional, tag = "3")]
    pub envelope: ::core::option::Option<envelope::ProtoSourceEnvelope>,
    #[prost(message, optional, tag = "5")]
    pub timestamp_interval: ::core::option::Option<::mz_proto::ProtoDuration>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSourceConnection {
    #[prost(oneof = "proto_source_connection::Kind", tags = "1, 4, 6, 8")]
    pub kind: ::core::option::Option<proto_source_connection::Kind>,
}
/// Nested message and enum types in `ProtoSourceConnection`.
pub mod proto_source_connection {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        Kafka(super::kafka::ProtoKafkaSourceConnection),
        #[prost(message, tag = "4")]
        Postgres(super::postgres::ProtoPostgresSourceConnection),
        #[prost(message, tag = "6")]
        Loadgen(super::load_generator::ProtoLoadGeneratorSourceConnection),
        #[prost(message, tag = "8")]
        Mysql(super::mysql::ProtoMySqlSourceConnection),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSourceData {
    #[prost(oneof = "proto_source_data::Kind", tags = "1, 2")]
    pub kind: ::core::option::Option<proto_source_data::Kind>,
}
/// Nested message and enum types in `ProtoSourceData`.
pub mod proto_source_data {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        Ok(::mz_repr::ProtoRow),
        #[prost(message, tag = "2")]
        Err(super::super::errors::ProtoDataflowError),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoCompression {
    #[prost(oneof = "proto_compression::Kind", tags = "1, 2")]
    pub kind: ::core::option::Option<proto_compression::Kind>,
}
/// Nested message and enum types in `ProtoCompression`.
pub mod proto_compression {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        Gzip(()),
        #[prost(message, tag = "2")]
        None(()),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoIngestionDescription {
    /// repeated ProtoSourceImport source_imports = 1;
    #[prost(message, repeated, tag = "2")]
    pub source_exports: ::prost::alloc::vec::Vec<
        proto_ingestion_description::ProtoSourceExport,
    >,
    #[prost(message, optional, tag = "3")]
    pub ingestion_metadata: ::core::option::Option<
        super::controller::ProtoCollectionMetadata,
    >,
    #[prost(message, optional, tag = "4")]
    pub desc: ::core::option::Option<ProtoSourceDesc>,
    #[prost(message, optional, tag = "6")]
    pub instance_id: ::core::option::Option<super::instances::ProtoStorageInstanceId>,
    #[prost(message, optional, tag = "7")]
    pub remap_collection_id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
}
/// Nested message and enum types in `ProtoIngestionDescription`.
pub mod proto_ingestion_description {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoSourceImport {
        #[prost(message, optional, tag = "1")]
        pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
        #[prost(message, optional, tag = "2")]
        pub storage_metadata: ::core::option::Option<
            super::super::controller::ProtoCollectionMetadata,
        >,
    }
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoSourceExport {
        #[prost(message, optional, tag = "1")]
        pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
        #[prost(uint64, tag = "2")]
        pub output_index: u64,
        #[prost(message, optional, tag = "3")]
        pub storage_metadata: ::core::option::Option<
            super::super::controller::ProtoCollectionMetadata,
        >,
    }
}