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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
// This file is generated by rust-protobuf 3.5.0-pre. Do not edit
// .proto file is parsed by protoc --rust_out=...
// @generated

// https://github.com/rust-lang/rust-clippy/issues/702
#![allow(unknown_lints)]
#![allow(clippy::all)]

#![allow(unused_attributes)]
#![cfg_attr(rustfmt, rustfmt::skip)]

#![allow(dead_code)]
#![allow(missing_docs)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
#![allow(trivial_casts)]
#![allow(unused_results)]
#![allow(unused_mut)]

//! Generated file from `rustproto.proto`

/// Extension fields
pub mod exts {

    pub const generate_accessors_all: crate::ext::ExtFieldOptional<crate::descriptor::FileOptions, bool> = crate::ext::ExtFieldOptional::new(17004, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const generate_getter_all: crate::ext::ExtFieldOptional<crate::descriptor::FileOptions, bool> = crate::ext::ExtFieldOptional::new(17005, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const tokio_bytes_all: crate::ext::ExtFieldOptional<crate::descriptor::FileOptions, bool> = crate::ext::ExtFieldOptional::new(17011, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const tokio_bytes_for_string_all: crate::ext::ExtFieldOptional<crate::descriptor::FileOptions, bool> = crate::ext::ExtFieldOptional::new(17012, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const oneofs_non_exhaustive_all: crate::ext::ExtFieldOptional<crate::descriptor::FileOptions, bool> = crate::ext::ExtFieldOptional::new(17013, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const btreemap_all: crate::ext::ExtFieldOptional<crate::descriptor::FileOptions, bool> = crate::ext::ExtFieldOptional::new(17014, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const lite_runtime_all: crate::ext::ExtFieldOptional<crate::descriptor::FileOptions, bool> = crate::ext::ExtFieldOptional::new(17035, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const generate_accessors: crate::ext::ExtFieldOptional<crate::descriptor::MessageOptions, bool> = crate::ext::ExtFieldOptional::new(17004, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const generate_getter: crate::ext::ExtFieldOptional<crate::descriptor::MessageOptions, bool> = crate::ext::ExtFieldOptional::new(17005, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const tokio_bytes: crate::ext::ExtFieldOptional<crate::descriptor::MessageOptions, bool> = crate::ext::ExtFieldOptional::new(17011, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const tokio_bytes_for_string: crate::ext::ExtFieldOptional<crate::descriptor::MessageOptions, bool> = crate::ext::ExtFieldOptional::new(17012, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const oneofs_non_exhaustive: crate::ext::ExtFieldOptional<crate::descriptor::MessageOptions, bool> = crate::ext::ExtFieldOptional::new(17013, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const btreemap: crate::ext::ExtFieldOptional<crate::descriptor::MessageOptions, bool> = crate::ext::ExtFieldOptional::new(17014, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const generate_accessors_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, bool> = crate::ext::ExtFieldOptional::new(17004, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const generate_getter_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, bool> = crate::ext::ExtFieldOptional::new(17005, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const tokio_bytes_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, bool> = crate::ext::ExtFieldOptional::new(17011, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const tokio_bytes_for_string_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, bool> = crate::ext::ExtFieldOptional::new(17012, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const oneofs_non_exhaustive_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, bool> = crate::ext::ExtFieldOptional::new(17013, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);

    pub const btreemap_field: crate::ext::ExtFieldOptional<crate::descriptor::FieldOptions, bool> = crate::ext::ExtFieldOptional::new(17014, crate::descriptor::field_descriptor_proto::Type::TYPE_BOOL);
}

static file_descriptor_proto_data: &'static [u8] = b"\
    \n\x0frustproto.proto\x12\trustproto\x1a\x20google/protobuf/descriptor.p\
    roto:T\n\x16generate_accessors_all\x18\xec\x84\x01\x20\x01(\x08\x12\x1c.\
    google.protobuf.FileOptionsR\x14generateAccessorsAll:N\n\x13generate_get\
    ter_all\x18\xed\x84\x01\x20\x01(\x08\x12\x1c.google.protobuf.FileOptions\
    R\x11generateGetterAll:F\n\x0ftokio_bytes_all\x18\xf3\x84\x01\x20\x01(\
    \x08\x12\x1c.google.protobuf.FileOptionsR\rtokioBytesAll:Z\n\x1atokio_by\
    tes_for_string_all\x18\xf4\x84\x01\x20\x01(\x08\x12\x1c.google.protobuf.\
    FileOptionsR\x16tokioBytesForStringAll:Y\n\x19oneofs_non_exhaustive_all\
    \x18\xf5\x84\x01\x20\x01(\x08\x12\x1c.google.protobuf.FileOptionsR\x16on\
    eofsNonExhaustiveAll:A\n\x0cbtreemap_all\x18\xf6\x84\x01\x20\x01(\x08\
    \x12\x1c.google.protobuf.FileOptionsR\x0bbtreemapAll:H\n\x10lite_runtime\
    _all\x18\x8b\x85\x01\x20\x01(\x08\x12\x1c.google.protobuf.FileOptionsR\
    \x0eliteRuntimeAll:P\n\x12generate_accessors\x18\xec\x84\x01\x20\x01(\
    \x08\x12\x1f.google.protobuf.MessageOptionsR\x11generateAccessors:J\n\
    \x0fgenerate_getter\x18\xed\x84\x01\x20\x01(\x08\x12\x1f.google.protobuf\
    .MessageOptionsR\x0egenerateGetter:B\n\x0btokio_bytes\x18\xf3\x84\x01\
    \x20\x01(\x08\x12\x1f.google.protobuf.MessageOptionsR\ntokioBytes:V\n\
    \x16tokio_bytes_for_string\x18\xf4\x84\x01\x20\x01(\x08\x12\x1f.google.p\
    rotobuf.MessageOptionsR\x13tokioBytesForString:U\n\x15oneofs_non_exhaust\
    ive\x18\xf5\x84\x01\x20\x01(\x08\x12\x1f.google.protobuf.MessageOptionsR\
    \x13oneofsNonExhaustive:=\n\x08btreemap\x18\xf6\x84\x01\x20\x01(\x08\x12\
    \x1f.google.protobuf.MessageOptionsR\x08btreemap:Y\n\x18generate_accesso\
    rs_field\x18\xec\x84\x01\x20\x01(\x08\x12\x1d.google.protobuf.FieldOptio\
    nsR\x16generateAccessorsField:S\n\x15generate_getter_field\x18\xed\x84\
    \x01\x20\x01(\x08\x12\x1d.google.protobuf.FieldOptionsR\x13generateGette\
    rField:K\n\x11tokio_bytes_field\x18\xf3\x84\x01\x20\x01(\x08\x12\x1d.goo\
    gle.protobuf.FieldOptionsR\x0ftokioBytesField:_\n\x1ctokio_bytes_for_str\
    ing_field\x18\xf4\x84\x01\x20\x01(\x08\x12\x1d.google.protobuf.FieldOpti\
    onsR\x18tokioBytesForStringField:^\n\x1boneofs_non_exhaustive_field\x18\
    \xf5\x84\x01\x20\x01(\x08\x12\x1d.google.protobuf.FieldOptionsR\x18oneof\
    sNonExhaustiveField:F\n\x0ebtreemap_field\x18\xf6\x84\x01\x20\x01(\x08\
    \x12\x1d.google.protobuf.FieldOptionsR\rbtreemapFieldJ\xf4\x15\n\x06\x12\
    \x04\0\0:\x01\n\x08\n\x01\x0c\x12\x03\0\0\x12\n\t\n\x02\x03\0\x12\x03\
    \x02\0*\n\xe5\x01\n\x01\x02\x12\x03\n\0\x122^\x20see\x20https://github.c\
    om/gogo/protobuf/blob/master/gogoproto/gogo.proto\n\x20for\x20the\x20ori\
    ginal\x20idea\n2{\x20Generated\x20files\x20can\x20be\x20customized\x20us\
    ing\x20this\x20proto\n\x20or\x20using\x20`Customize`\x20struct\x20when\
    \x20codegen\x20is\x20invoked\x20programmatically.\n\n\t\n\x01\x07\x12\
    \x04\x0c\0\x1c\x01\nP\n\x02\x07\0\x12\x03\x0e\x041\x1aE\x20When\x20false\
    ,\x20`get_`,\x20`set_`,\x20`mut_`\x20etc.\x20accessors\x20are\x20not\x20\
    generated\n\n\n\n\x03\x07\0\x02\x12\x03\x0c\x07\"\n\n\n\x03\x07\0\x04\
    \x12\x03\x0e\x04\x0c\n\n\n\x03\x07\0\x05\x12\x03\x0e\r\x11\n\n\n\x03\x07\
    \0\x01\x12\x03\x0e\x12(\n\n\n\x03\x07\0\x03\x12\x03\x0e+0\nL\n\x02\x07\
    \x01\x12\x03\x10\x04.\x1aA\x20When\x20false,\x20`get_`\x20is\x20not\x20g\
    enerated\x20even\x20if\x20`syntax\x20=\x20\"proto2\"`\n\n\n\n\x03\x07\
    \x01\x02\x12\x03\x0c\x07\"\n\n\n\x03\x07\x01\x04\x12\x03\x10\x04\x0c\n\n\
    \n\x03\x07\x01\x05\x12\x03\x10\r\x11\n\n\n\x03\x07\x01\x01\x12\x03\x10\
    \x12%\n\n\n\x03\x07\x01\x03\x12\x03\x10(-\n2\n\x02\x07\x02\x12\x03\x12\
    \x04*\x1a'\x20Use\x20`bytes::Bytes`\x20for\x20`bytes`\x20fields\n\n\n\n\
    \x03\x07\x02\x02\x12\x03\x0c\x07\"\n\n\n\x03\x07\x02\x04\x12\x03\x12\x04\
    \x0c\n\n\n\x03\x07\x02\x05\x12\x03\x12\r\x11\n\n\n\x03\x07\x02\x01\x12\
    \x03\x12\x12!\n\n\n\x03\x07\x02\x03\x12\x03\x12$)\n3\n\x02\x07\x03\x12\
    \x03\x14\x045\x1a(\x20Use\x20`bytes::Bytes`\x20for\x20`string`\x20fields\
    \n\n\n\n\x03\x07\x03\x02\x12\x03\x0c\x07\"\n\n\n\x03\x07\x03\x04\x12\x03\
    \x14\x04\x0c\n\n\n\x03\x07\x03\x05\x12\x03\x14\r\x11\n\n\n\x03\x07\x03\
    \x01\x12\x03\x14\x12,\n\n\n\x03\x07\x03\x03\x12\x03\x14/4\nQ\n\x02\x07\
    \x04\x12\x03\x16\x044\x1aF\x20When\x20false,\x20`#[non_exhaustive]`\x20i\
    s\x20not\x20generated\x20for\x20`oneof`\x20fields.\n\n\n\n\x03\x07\x04\
    \x02\x12\x03\x0c\x07\"\n\n\n\x03\x07\x04\x04\x12\x03\x16\x04\x0c\n\n\n\
    \x03\x07\x04\x05\x12\x03\x16\r\x11\n\n\n\x03\x07\x04\x01\x12\x03\x16\x12\
    +\n\n\n\x03\x07\x04\x03\x12\x03\x16.3\nP\n\x02\x07\x05\x12\x03\x18\x04'\
    \x1aE\x20When\x20true,\x20generate\x20`BTreeMap`\x20instead\x20of\x20`Ha\
    shMap`\x20for\x20map\x20fields.\n\n\n\n\x03\x07\x05\x02\x12\x03\x0c\x07\
    \"\n\n\n\x03\x07\x05\x04\x12\x03\x18\x04\x0c\n\n\n\x03\x07\x05\x05\x12\
    \x03\x18\r\x11\n\n\n\x03\x07\x05\x01\x12\x03\x18\x12\x1e\n\n\n\x03\x07\
    \x05\x03\x12\x03\x18!&\nN\n\x02\x07\x06\x12\x03\x1b\x04+\x1aC\x20When\
    \x20true,\x20will\x20only\x20generate\x20codes\x20that\x20works\x20with\
    \x20lite\x20runtime.\n\n\n\n\x03\x07\x06\x02\x12\x03\x0c\x07\"\n\n\n\x03\
    \x07\x06\x04\x12\x03\x1b\x04\x0c\n\n\n\x03\x07\x06\x05\x12\x03\x1b\r\x11\
    \n\n\n\x03\x07\x06\x01\x12\x03\x1b\x12\"\n\n\n\x03\x07\x06\x03\x12\x03\
    \x1b%*\n\t\n\x01\x07\x12\x04\x1e\0+\x01\nP\n\x02\x07\x07\x12\x03\x20\x04\
    -\x1aE\x20When\x20false,\x20`get_`,\x20`set_`,\x20`mut_`\x20etc.\x20acce\
    ssors\x20are\x20not\x20generated\n\n\n\n\x03\x07\x07\x02\x12\x03\x1e\x07\
    %\n\n\n\x03\x07\x07\x04\x12\x03\x20\x04\x0c\n\n\n\x03\x07\x07\x05\x12\
    \x03\x20\r\x11\n\n\n\x03\x07\x07\x01\x12\x03\x20\x12$\n\n\n\x03\x07\x07\
    \x03\x12\x03\x20',\nL\n\x02\x07\x08\x12\x03\"\x04*\x1aA\x20When\x20false\
    ,\x20`get_`\x20is\x20not\x20generated\x20even\x20if\x20`syntax\x20=\x20\
    \"proto2\"`\n\n\n\n\x03\x07\x08\x02\x12\x03\x1e\x07%\n\n\n\x03\x07\x08\
    \x04\x12\x03\"\x04\x0c\n\n\n\x03\x07\x08\x05\x12\x03\"\r\x11\n\n\n\x03\
    \x07\x08\x01\x12\x03\"\x12!\n\n\n\x03\x07\x08\x03\x12\x03\"$)\n2\n\x02\
    \x07\t\x12\x03$\x04&\x1a'\x20Use\x20`bytes::Bytes`\x20for\x20`bytes`\x20\
    fields\n\n\n\n\x03\x07\t\x02\x12\x03\x1e\x07%\n\n\n\x03\x07\t\x04\x12\
    \x03$\x04\x0c\n\n\n\x03\x07\t\x05\x12\x03$\r\x11\n\n\n\x03\x07\t\x01\x12\
    \x03$\x12\x1d\n\n\n\x03\x07\t\x03\x12\x03$\x20%\n3\n\x02\x07\n\x12\x03&\
    \x041\x1a(\x20Use\x20`bytes::Bytes`\x20for\x20`string`\x20fields\n\n\n\n\
    \x03\x07\n\x02\x12\x03\x1e\x07%\n\n\n\x03\x07\n\x04\x12\x03&\x04\x0c\n\n\
    \n\x03\x07\n\x05\x12\x03&\r\x11\n\n\n\x03\x07\n\x01\x12\x03&\x12(\n\n\n\
    \x03\x07\n\x03\x12\x03&+0\nQ\n\x02\x07\x0b\x12\x03(\x040\x1aF\x20When\
    \x20false,\x20`#[non_exhaustive]`\x20is\x20not\x20generated\x20for\x20`o\
    neof`\x20fields.\n\n\n\n\x03\x07\x0b\x02\x12\x03\x1e\x07%\n\n\n\x03\x07\
    \x0b\x04\x12\x03(\x04\x0c\n\n\n\x03\x07\x0b\x05\x12\x03(\r\x11\n\n\n\x03\
    \x07\x0b\x01\x12\x03(\x12'\n\n\n\x03\x07\x0b\x03\x12\x03(*/\nP\n\x02\x07\
    \x0c\x12\x03*\x04#\x1aE\x20When\x20true,\x20generate\x20`BTreeMap`\x20in\
    stead\x20of\x20`HashMap`\x20for\x20map\x20fields.\n\n\n\n\x03\x07\x0c\
    \x02\x12\x03\x1e\x07%\n\n\n\x03\x07\x0c\x04\x12\x03*\x04\x0c\n\n\n\x03\
    \x07\x0c\x05\x12\x03*\r\x11\n\n\n\x03\x07\x0c\x01\x12\x03*\x12\x1a\n\n\n\
    \x03\x07\x0c\x03\x12\x03*\x1d\"\n\t\n\x01\x07\x12\x04-\0:\x01\nP\n\x02\
    \x07\r\x12\x03/\x043\x1aE\x20When\x20false,\x20`get_`,\x20`set_`,\x20`mu\
    t_`\x20etc.\x20accessors\x20are\x20not\x20generated\n\n\n\n\x03\x07\r\
    \x02\x12\x03-\x07#\n\n\n\x03\x07\r\x04\x12\x03/\x04\x0c\n\n\n\x03\x07\r\
    \x05\x12\x03/\r\x11\n\n\n\x03\x07\r\x01\x12\x03/\x12*\n\n\n\x03\x07\r\
    \x03\x12\x03/-2\nL\n\x02\x07\x0e\x12\x031\x040\x1aA\x20When\x20false,\
    \x20`get_`\x20is\x20not\x20generated\x20even\x20if\x20`syntax\x20=\x20\"\
    proto2\"`\n\n\n\n\x03\x07\x0e\x02\x12\x03-\x07#\n\n\n\x03\x07\x0e\x04\
    \x12\x031\x04\x0c\n\n\n\x03\x07\x0e\x05\x12\x031\r\x11\n\n\n\x03\x07\x0e\
    \x01\x12\x031\x12'\n\n\n\x03\x07\x0e\x03\x12\x031*/\n2\n\x02\x07\x0f\x12\
    \x033\x04,\x1a'\x20Use\x20`bytes::Bytes`\x20for\x20`bytes`\x20fields\n\n\
    \n\n\x03\x07\x0f\x02\x12\x03-\x07#\n\n\n\x03\x07\x0f\x04\x12\x033\x04\
    \x0c\n\n\n\x03\x07\x0f\x05\x12\x033\r\x11\n\n\n\x03\x07\x0f\x01\x12\x033\
    \x12#\n\n\n\x03\x07\x0f\x03\x12\x033&+\n3\n\x02\x07\x10\x12\x035\x047\
    \x1a(\x20Use\x20`bytes::Bytes`\x20for\x20`string`\x20fields\n\n\n\n\x03\
    \x07\x10\x02\x12\x03-\x07#\n\n\n\x03\x07\x10\x04\x12\x035\x04\x0c\n\n\n\
    \x03\x07\x10\x05\x12\x035\r\x11\n\n\n\x03\x07\x10\x01\x12\x035\x12.\n\n\
    \n\x03\x07\x10\x03\x12\x03516\nQ\n\x02\x07\x11\x12\x037\x046\x1aF\x20Whe\
    n\x20false,\x20`#[non_exhaustive]`\x20is\x20not\x20generated\x20for\x20`\
    oneof`\x20fields.\n\n\n\n\x03\x07\x11\x02\x12\x03-\x07#\n\n\n\x03\x07\
    \x11\x04\x12\x037\x04\x0c\n\n\n\x03\x07\x11\x05\x12\x037\r\x11\n\n\n\x03\
    \x07\x11\x01\x12\x037\x12-\n\n\n\x03\x07\x11\x03\x12\x03705\nP\n\x02\x07\
    \x12\x12\x039\x04)\x1aE\x20When\x20true,\x20generate\x20`BTreeMap`\x20in\
    stead\x20of\x20`HashMap`\x20for\x20map\x20fields.\n\n\n\n\x03\x07\x12\
    \x02\x12\x03-\x07#\n\n\n\x03\x07\x12\x04\x12\x039\x04\x0c\n\n\n\x03\x07\
    \x12\x05\x12\x039\r\x11\n\n\n\x03\x07\x12\x01\x12\x039\x12\x20\n\n\n\x03\
    \x07\x12\x03\x12\x039#(\
";

/// `FileDescriptorProto` object which was a source for this generated file
fn file_descriptor_proto() -> &'static crate::descriptor::FileDescriptorProto {
    static file_descriptor_proto_lazy: crate::rt::Lazy<crate::descriptor::FileDescriptorProto> = crate::rt::Lazy::new();
    file_descriptor_proto_lazy.get(|| {
        crate::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
    })
}

/// `FileDescriptor` object which allows dynamic access to files
pub fn file_descriptor() -> &'static crate::reflect::FileDescriptor {
    static generated_file_descriptor_lazy: crate::rt::Lazy<crate::reflect::GeneratedFileDescriptor> = crate::rt::Lazy::new();
    static file_descriptor: crate::rt::Lazy<crate::reflect::FileDescriptor> = crate::rt::Lazy::new();
    file_descriptor.get(|| {
        let generated_file_descriptor = generated_file_descriptor_lazy.get(|| {
            let mut deps = ::std::vec::Vec::with_capacity(1);
            deps.push(crate::descriptor::file_descriptor().clone());
            let mut messages = ::std::vec::Vec::with_capacity(0);
            let mut enums = ::std::vec::Vec::with_capacity(0);
            crate::reflect::GeneratedFileDescriptor::new_generated(
                file_descriptor_proto(),
                deps,
                messages,
                enums,
            )
        });
        crate::reflect::FileDescriptor::new_generated_2(generated_file_descriptor)
    })
}