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
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoRelationType {
    #[prost(message, repeated, tag = "1")]
    pub column_types: ::prost::alloc::vec::Vec<ProtoColumnType>,
    #[prost(message, repeated, tag = "2")]
    pub keys: ::prost::alloc::vec::Vec<proto_relation_type::ProtoKey>,
}
/// Nested message and enum types in `ProtoRelationType`.
pub mod proto_relation_type {
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoKey {
        #[prost(uint64, repeated, tag = "1")]
        pub keys: ::prost::alloc::vec::Vec<u64>,
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoColumnName {
    #[prost(string, optional, tag = "1")]
    pub value: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoColumnType {
    #[prost(message, optional, tag = "1")]
    pub scalar_type: ::core::option::Option<ProtoScalarType>,
    #[prost(bool, tag = "2")]
    pub nullable: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoRelationDesc {
    #[prost(message, optional, tag = "1")]
    pub typ: ::core::option::Option<ProtoRelationType>,
    #[prost(message, repeated, tag = "2")]
    pub names: ::prost::alloc::vec::Vec<ProtoColumnName>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoScalarType {
    #[prost(
        oneof = "proto_scalar_type::Kind",
        tags = "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"
    )]
    pub kind: ::core::option::Option<proto_scalar_type::Kind>,
}
/// Nested message and enum types in `ProtoScalarType`.
pub mod proto_scalar_type {
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoChar {
        #[prost(message, optional, tag = "1")]
        pub length: ::core::option::Option<super::super::adt::char::ProtoCharLength>,
    }
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoVarChar {
        #[prost(message, optional, tag = "1")]
        pub max_length: ::core::option::Option<
            super::super::adt::varchar::ProtoVarCharMaxLength,
        >,
    }
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoList {
        #[prost(message, optional, boxed, tag = "1")]
        pub element_type: ::core::option::Option<
            ::prost::alloc::boxed::Box<super::ProtoScalarType>,
        >,
        #[prost(message, optional, tag = "3")]
        pub custom_id: ::core::option::Option<super::super::global_id::ProtoGlobalId>,
    }
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoRecordField {
        /// TODO: Create and use ProtoColumnName
        #[prost(message, optional, tag = "1")]
        pub column_name: ::core::option::Option<super::ProtoColumnName>,
        /// TODO: Create and use ProtoColumnType
        #[prost(message, optional, tag = "2")]
        pub column_type: ::core::option::Option<super::ProtoColumnType>,
    }
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoRecord {
        #[prost(message, repeated, tag = "1")]
        pub fields: ::prost::alloc::vec::Vec<ProtoRecordField>,
        #[prost(message, optional, tag = "4")]
        pub custom_id: ::core::option::Option<super::super::global_id::ProtoGlobalId>,
    }
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoMap {
        #[prost(message, optional, boxed, tag = "1")]
        pub value_type: ::core::option::Option<
            ::prost::alloc::boxed::Box<super::ProtoScalarType>,
        >,
        #[prost(message, optional, tag = "3")]
        pub custom_id: ::core::option::Option<super::super::global_id::ProtoGlobalId>,
    }
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct ProtoRange {
        #[prost(message, optional, boxed, tag = "1")]
        pub element_type: ::core::option::Option<
            ::prost::alloc::boxed::Box<super::ProtoScalarType>,
        >,
    }
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Kind {
        #[prost(message, tag = "1")]
        Bool(()),
        #[prost(message, tag = "2")]
        Int16(()),
        #[prost(message, tag = "3")]
        Int32(()),
        #[prost(message, tag = "4")]
        Int64(()),
        #[prost(message, tag = "5")]
        Float32(()),
        #[prost(message, tag = "6")]
        Float64(()),
        #[prost(message, tag = "7")]
        Numeric(super::super::adt::numeric::ProtoOptionalNumericMaxScale),
        #[prost(message, tag = "8")]
        Date(()),
        #[prost(message, tag = "9")]
        Time(()),
        #[prost(message, tag = "10")]
        Timestamp(()),
        #[prost(message, tag = "11")]
        TimestampTz(()),
        #[prost(message, tag = "12")]
        Interval(()),
        #[prost(message, tag = "13")]
        PgLegacyChar(()),
        #[prost(message, tag = "14")]
        Bytes(()),
        #[prost(message, tag = "15")]
        String(()),
        #[prost(message, tag = "16")]
        Char(ProtoChar),
        #[prost(message, tag = "17")]
        VarChar(ProtoVarChar),
        #[prost(message, tag = "18")]
        Jsonb(()),
        #[prost(message, tag = "19")]
        Uuid(()),
        #[prost(message, tag = "20")]
        Array(::prost::alloc::boxed::Box<super::ProtoScalarType>),
        #[prost(message, tag = "21")]
        List(::prost::alloc::boxed::Box<ProtoList>),
        #[prost(message, tag = "22")]
        Record(ProtoRecord),
        #[prost(message, tag = "23")]
        Oid(()),
        #[prost(message, tag = "24")]
        Map(::prost::alloc::boxed::Box<ProtoMap>),
        #[prost(message, tag = "25")]
        RegProc(()),
        #[prost(message, tag = "26")]
        RegType(()),
        #[prost(message, tag = "27")]
        RegClass(()),
        #[prost(message, tag = "28")]
        Int2Vector(()),
        #[prost(message, tag = "29")]
        UInt16(()),
        #[prost(message, tag = "30")]
        UInt32(()),
        #[prost(message, tag = "31")]
        UInt64(()),
        #[prost(message, tag = "32")]
        MzTimestamp(()),
        #[prost(message, tag = "33")]
        Range(::prost::alloc::boxed::Box<ProtoRange>),
        #[prost(message, tag = "34")]
        MzAclItem(()),
    }
}