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
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSourceDataEncoding {
    #[prost(oneof = "proto_source_data_encoding::Kind", tags = "1, 2")]
    pub kind: ::core::option::Option<proto_source_data_encoding::Kind>,
}
/// Nested message and enum types in `ProtoSourceDataEncoding`.
pub mod proto_source_data_encoding {
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoKeyValue {
        #[prost(message, optional, tag = "1")]
        pub key: ::core::option::Option<super::ProtoDataEncoding>,
        #[prost(message, optional, tag = "2")]
        pub value: ::core::option::Option<super::ProtoDataEncoding>,
    }
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        Single(super::ProtoDataEncoding),
        #[prost(message, tag = "2")]
        KeyValue(ProtoKeyValue),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoDataEncodingInner {
    #[prost(oneof = "proto_data_encoding_inner::Kind", tags = "1, 2, 3, 4, 5, 6, 7")]
    pub kind: ::core::option::Option<proto_data_encoding_inner::Kind>,
}
/// Nested message and enum types in `ProtoDataEncodingInner`.
pub mod proto_data_encoding_inner {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        Avro(super::ProtoAvroEncoding),
        #[prost(message, tag = "2")]
        Protobuf(super::ProtoProtobufEncoding),
        #[prost(message, tag = "3")]
        Csv(super::ProtoCsvEncoding),
        #[prost(message, tag = "4")]
        Regex(super::ProtoRegexEncoding),
        #[prost(message, tag = "5")]
        Bytes(()),
        #[prost(message, tag = "6")]
        Text(()),
        #[prost(message, tag = "7")]
        RowCodec(::mz_repr::ProtoRelationDesc),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoDataEncoding {
    #[prost(bool, tag = "1")]
    pub force_nullable_columns: bool,
    #[prost(message, optional, tag = "2")]
    pub inner: ::core::option::Option<ProtoDataEncodingInner>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoAvroEncoding {
    #[prost(string, tag = "1")]
    pub schema: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "2")]
    pub csr_connection: ::core::option::Option<
        super::super::connections::ProtoCsrConnection,
    >,
    #[prost(bool, tag = "3")]
    pub confluent_wire_format: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoProtobufEncoding {
    #[prost(bytes = "vec", tag = "1")]
    pub descriptors: ::prost::alloc::vec::Vec<u8>,
    #[prost(string, tag = "2")]
    pub message_name: ::prost::alloc::string::String,
    #[prost(bool, tag = "3")]
    pub confluent_wire_format: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoCsvEncoding {
    #[prost(message, optional, tag = "1")]
    pub columns: ::core::option::Option<ProtoColumnSpec>,
    #[prost(uint32, tag = "2")]
    pub delimiter: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoColumnSpec {
    #[prost(oneof = "proto_column_spec::Kind", tags = "1, 2")]
    pub kind: ::core::option::Option<proto_column_spec::Kind>,
}
/// Nested message and enum types in `ProtoColumnSpec`.
pub mod proto_column_spec {
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoHeader {
        #[prost(string, repeated, tag = "1")]
        pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    }
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(uint64, tag = "1")]
        Count(u64),
        #[prost(message, tag = "2")]
        Header(ProtoHeader),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoRegexEncoding {
    #[prost(message, optional, tag = "1")]
    pub regex: ::core::option::Option<::mz_repr::adt::regex::ProtoRegex>,
}