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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
// This file is generated. Do not edit
// @generated

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

#![cfg_attr(rustfmt, rustfmt_skip)]

#![allow(box_pointers)]
#![allow(dead_code)]
#![allow(missing_docs)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
#![allow(trivial_casts)]
#![allow(unsafe_code)]
#![allow(unused_imports)]
#![allow(unused_results)]

use protobuf::Message as Message_imported_for_functions;
use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;

#[derive(PartialEq,Clone,Default)]
pub struct Any {
    // message fields
    pub type_url: ::std::string::String,
    pub value: ::std::vec::Vec<u8>,
    // special fields
    unknown_fields: ::protobuf::UnknownFields,
    cached_size: ::protobuf::CachedSize,
}

// see codegen.rs for the explanation why impl Sync explicitly
unsafe impl ::std::marker::Sync for Any {}

impl Any {
    pub fn new() -> Any {
        ::std::default::Default::default()
    }

    pub fn default_instance() -> &'static Any {
        static mut instance: ::protobuf::lazy::Lazy<Any> = ::protobuf::lazy::Lazy {
            lock: ::protobuf::lazy::ONCE_INIT,
            ptr: 0 as *const Any,
        };
        unsafe {
            instance.get(Any::new)
        }
    }

    // string type_url = 1;

    pub fn clear_type_url(&mut self) {
        self.type_url.clear();
    }

    // Param is passed by value, moved
    pub fn set_type_url(&mut self, v: ::std::string::String) {
        self.type_url = v;
    }

    // Mutable pointer to the field.
    // If field is not initialized, it is initialized with default value first.
    pub fn mut_type_url(&mut self) -> &mut ::std::string::String {
        &mut self.type_url
    }

    // Take field
    pub fn take_type_url(&mut self) -> ::std::string::String {
        ::std::mem::replace(&mut self.type_url, ::std::string::String::new())
    }

    pub fn get_type_url(&self) -> &str {
        &self.type_url
    }

    fn get_type_url_for_reflect(&self) -> &::std::string::String {
        &self.type_url
    }

    fn mut_type_url_for_reflect(&mut self) -> &mut ::std::string::String {
        &mut self.type_url
    }

    // bytes value = 2;

    pub fn clear_value(&mut self) {
        self.value.clear();
    }

    // Param is passed by value, moved
    pub fn set_value(&mut self, v: ::std::vec::Vec<u8>) {
        self.value = v;
    }

    // Mutable pointer to the field.
    // If field is not initialized, it is initialized with default value first.
    pub fn mut_value(&mut self) -> &mut ::std::vec::Vec<u8> {
        &mut self.value
    }

    // Take field
    pub fn take_value(&mut self) -> ::std::vec::Vec<u8> {
        ::std::mem::replace(&mut self.value, ::std::vec::Vec::new())
    }

    pub fn get_value(&self) -> &[u8] {
        &self.value
    }

    fn get_value_for_reflect(&self) -> &::std::vec::Vec<u8> {
        &self.value
    }

    fn mut_value_for_reflect(&mut self) -> &mut ::std::vec::Vec<u8> {
        &mut self.value
    }
}

impl ::protobuf::Message for Any {
    fn is_initialized(&self) -> bool {
        true
    }

    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
        while !is.eof()? {
            let (field_number, wire_type) = is.read_tag_unpack()?;
            match field_number {
                1 => {
                    ::protobuf::rt::read_singular_proto3_string_into(wire_type, is, &mut self.type_url)?;
                },
                2 => {
                    ::protobuf::rt::read_singular_proto3_bytes_into(wire_type, is, &mut self.value)?;
                },
                _ => {
                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u32 {
        let mut my_size = 0;
        if !self.type_url.is_empty() {
            my_size += ::protobuf::rt::string_size(1, &self.type_url);
        }
        if !self.value.is_empty() {
            my_size += ::protobuf::rt::bytes_size(2, &self.value);
        }
        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
        self.cached_size.set(my_size);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
        if !self.type_url.is_empty() {
            os.write_string(1, &self.type_url)?;
        }
        if !self.value.is_empty() {
            os.write_bytes(2, &self.value)?;
        }
        os.write_unknown_fields(self.get_unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn get_cached_size(&self) -> u32 {
        self.cached_size.get()
    }

    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
        &self.unknown_fields
    }

    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
        &mut self.unknown_fields
    }

    fn as_any(&self) -> &::std::any::Any {
        self as &::std::any::Any
    }
    fn as_any_mut(&mut self) -> &mut ::std::any::Any {
        self as &mut ::std::any::Any
    }
    fn into_any(self: Box<Self>) -> ::std::boxed::Box<::std::any::Any> {
        self
    }

    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
        ::protobuf::MessageStatic::descriptor_static(None::<Self>)
    }
}

impl ::protobuf::MessageStatic for Any {
    fn new() -> Any {
        Any::new()
    }

    fn descriptor_static(_: ::std::option::Option<Any>) -> &'static ::protobuf::reflect::MessageDescriptor {
        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
            lock: ::protobuf::lazy::ONCE_INIT,
            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
        };
        unsafe {
            descriptor.get(|| {
                let mut fields = ::std::vec::Vec::new();
                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
                    "type_url",
                    Any::get_type_url_for_reflect,
                    Any::mut_type_url_for_reflect,
                ));
                fields.push(::protobuf::reflect::accessor::make_simple_field_accessor::<_, ::protobuf::types::ProtobufTypeBytes>(
                    "value",
                    Any::get_value_for_reflect,
                    Any::mut_value_for_reflect,
                ));
                ::protobuf::reflect::MessageDescriptor::new::<Any>(
                    "Any",
                    fields,
                    file_descriptor_proto()
                )
            })
        }
    }
}

impl ::protobuf::Clear for Any {
    fn clear(&mut self) {
        self.clear_type_url();
        self.clear_value();
        self.unknown_fields.clear();
    }
}

impl ::std::fmt::Debug for Any {
    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        ::protobuf::text_format::fmt(self, f)
    }
}

impl ::protobuf::reflect::ProtobufValue for Any {
    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
        ::protobuf::reflect::ProtobufValueRef::Message(self)
    }
}

static file_descriptor_proto_data: &'static [u8] = b"\
    \n\x19google/protobuf/any.proto\x12\x0fgoogle.protobuf\"6\n\x03Any\x12\
    \x19\n\x08type_url\x18\x01\x20\x01(\tR\x07typeUrl\x12\x14\n\x05value\x18\
    \x02\x20\x01(\x0cR\x05valueBo\n\x13com.google.protobufB\x08AnyProtoP\x01\
    Z%github.com/golang/protobuf/ptypes/any\xa2\x02\x03GPB\xaa\x02\x1eGoogle\
    .Protobuf.WellKnownTypesJ\x99)\n\x07\x12\x05\x1e\0\x8a\x01\x01\n\xcc\x0c\
    \n\x01\x0c\x12\x03\x1e\0\x122\xc1\x0c\x20Protocol\x20Buffers\x20-\x20Goo\
    gle's\x20data\x20interchange\x20format\n\x20Copyright\x202008\x20Google\
    \x20Inc.\x20\x20All\x20rights\x20reserved.\n\x20https://developers.googl\
    e.com/protocol-buffers/\n\n\x20Redistribution\x20and\x20use\x20in\x20sou\
    rce\x20and\x20binary\x20forms,\x20with\x20or\x20without\n\x20modificatio\
    n,\x20are\x20permitted\x20provided\x20that\x20the\x20following\x20condit\
    ions\x20are\n\x20met:\n\n\x20\x20\x20\x20\x20*\x20Redistributions\x20of\
    \x20source\x20code\x20must\x20retain\x20the\x20above\x20copyright\n\x20n\
    otice,\x20this\x20list\x20of\x20conditions\x20and\x20the\x20following\
    \x20disclaimer.\n\x20\x20\x20\x20\x20*\x20Redistributions\x20in\x20binar\
    y\x20form\x20must\x20reproduce\x20the\x20above\n\x20copyright\x20notice,\
    \x20this\x20list\x20of\x20conditions\x20and\x20the\x20following\x20discl\
    aimer\n\x20in\x20the\x20documentation\x20and/or\x20other\x20materials\
    \x20provided\x20with\x20the\n\x20distribution.\n\x20\x20\x20\x20\x20*\
    \x20Neither\x20the\x20name\x20of\x20Google\x20Inc.\x20nor\x20the\x20name\
    s\x20of\x20its\n\x20contributors\x20may\x20be\x20used\x20to\x20endorse\
    \x20or\x20promote\x20products\x20derived\x20from\n\x20this\x20software\
    \x20without\x20specific\x20prior\x20written\x20permission.\n\n\x20THIS\
    \x20SOFTWARE\x20IS\x20PROVIDED\x20BY\x20THE\x20COPYRIGHT\x20HOLDERS\x20A\
    ND\x20CONTRIBUTORS\n\x20\"AS\x20IS\"\x20AND\x20ANY\x20EXPRESS\x20OR\x20I\
    MPLIED\x20WARRANTIES,\x20INCLUDING,\x20BUT\x20NOT\n\x20LIMITED\x20TO,\
    \x20THE\x20IMPLIED\x20WARRANTIES\x20OF\x20MERCHANTABILITY\x20AND\x20FITN\
    ESS\x20FOR\n\x20A\x20PARTICULAR\x20PURPOSE\x20ARE\x20DISCLAIMED.\x20IN\
    \x20NO\x20EVENT\x20SHALL\x20THE\x20COPYRIGHT\n\x20OWNER\x20OR\x20CONTRIB\
    UTORS\x20BE\x20LIABLE\x20FOR\x20ANY\x20DIRECT,\x20INDIRECT,\x20INCIDENTA\
    L,\n\x20SPECIAL,\x20EXEMPLARY,\x20OR\x20CONSEQUENTIAL\x20DAMAGES\x20(INC\
    LUDING,\x20BUT\x20NOT\n\x20LIMITED\x20TO,\x20PROCUREMENT\x20OF\x20SUBSTI\
    TUTE\x20GOODS\x20OR\x20SERVICES;\x20LOSS\x20OF\x20USE,\n\x20DATA,\x20OR\
    \x20PROFITS;\x20OR\x20BUSINESS\x20INTERRUPTION)\x20HOWEVER\x20CAUSED\x20\
    AND\x20ON\x20ANY\n\x20THEORY\x20OF\x20LIABILITY,\x20WHETHER\x20IN\x20CON\
    TRACT,\x20STRICT\x20LIABILITY,\x20OR\x20TORT\n\x20(INCLUDING\x20NEGLIGEN\
    CE\x20OR\x20OTHERWISE)\x20ARISING\x20IN\x20ANY\x20WAY\x20OUT\x20OF\x20TH\
    E\x20USE\n\x20OF\x20THIS\x20SOFTWARE,\x20EVEN\x20IF\x20ADVISED\x20OF\x20\
    THE\x20POSSIBILITY\x20OF\x20SUCH\x20DAMAGE.\n\n\x08\n\x01\x02\x12\x03\
    \x20\x08\x17\n\x08\n\x01\x08\x12\x03\"\0;\n\x0b\n\x04\x08\xe7\x07\0\x12\
    \x03\"\0;\n\x0c\n\x05\x08\xe7\x07\0\x02\x12\x03\"\x07\x17\n\r\n\x06\x08\
    \xe7\x07\0\x02\0\x12\x03\"\x07\x17\n\x0e\n\x07\x08\xe7\x07\0\x02\0\x01\
    \x12\x03\"\x07\x17\n\x0c\n\x05\x08\xe7\x07\0\x07\x12\x03\"\x1a:\n\x08\n\
    \x01\x08\x12\x03#\0<\n\x0b\n\x04\x08\xe7\x07\x01\x12\x03#\0<\n\x0c\n\x05\
    \x08\xe7\x07\x01\x02\x12\x03#\x07\x11\n\r\n\x06\x08\xe7\x07\x01\x02\0\
    \x12\x03#\x07\x11\n\x0e\n\x07\x08\xe7\x07\x01\x02\0\x01\x12\x03#\x07\x11\
    \n\x0c\n\x05\x08\xe7\x07\x01\x07\x12\x03#\x14;\n\x08\n\x01\x08\x12\x03$\
    \0,\n\x0b\n\x04\x08\xe7\x07\x02\x12\x03$\0,\n\x0c\n\x05\x08\xe7\x07\x02\
    \x02\x12\x03$\x07\x13\n\r\n\x06\x08\xe7\x07\x02\x02\0\x12\x03$\x07\x13\n\
    \x0e\n\x07\x08\xe7\x07\x02\x02\0\x01\x12\x03$\x07\x13\n\x0c\n\x05\x08\
    \xe7\x07\x02\x07\x12\x03$\x16+\n\x08\n\x01\x08\x12\x03%\0)\n\x0b\n\x04\
    \x08\xe7\x07\x03\x12\x03%\0)\n\x0c\n\x05\x08\xe7\x07\x03\x02\x12\x03%\
    \x07\x1b\n\r\n\x06\x08\xe7\x07\x03\x02\0\x12\x03%\x07\x1b\n\x0e\n\x07\
    \x08\xe7\x07\x03\x02\0\x01\x12\x03%\x07\x1b\n\x0c\n\x05\x08\xe7\x07\x03\
    \x07\x12\x03%\x1e(\n\x08\n\x01\x08\x12\x03&\0\"\n\x0b\n\x04\x08\xe7\x07\
    \x04\x12\x03&\0\"\n\x0c\n\x05\x08\xe7\x07\x04\x02\x12\x03&\x07\x1a\n\r\n\
    \x06\x08\xe7\x07\x04\x02\0\x12\x03&\x07\x1a\n\x0e\n\x07\x08\xe7\x07\x04\
    \x02\0\x01\x12\x03&\x07\x1a\n\x0c\n\x05\x08\xe7\x07\x04\x03\x12\x03&\x1d\
    !\n\x08\n\x01\x08\x12\x03'\0!\n\x0b\n\x04\x08\xe7\x07\x05\x12\x03'\0!\n\
    \x0c\n\x05\x08\xe7\x07\x05\x02\x12\x03'\x07\x18\n\r\n\x06\x08\xe7\x07\
    \x05\x02\0\x12\x03'\x07\x18\n\x0e\n\x07\x08\xe7\x07\x05\x02\0\x01\x12\
    \x03'\x07\x18\n\x0c\n\x05\x08\xe7\x07\x05\x07\x12\x03'\x1b\x20\n\x81\x0f\
    \n\x02\x04\0\x12\x05o\0\x8a\x01\x01\x1a\xf3\x0e\x20`Any`\x20contains\x20\
    an\x20arbitrary\x20serialized\x20protocol\x20buffer\x20message\x20along\
    \x20with\x20a\n\x20URL\x20that\x20describes\x20the\x20type\x20of\x20the\
    \x20serialized\x20message.\n\n\x20Protobuf\x20library\x20provides\x20sup\
    port\x20to\x20pack/unpack\x20Any\x20values\x20in\x20the\x20form\n\x20of\
    \x20utility\x20functions\x20or\x20additional\x20generated\x20methods\x20\
    of\x20the\x20Any\x20type.\n\n\x20Example\x201:\x20Pack\x20and\x20unpack\
    \x20a\x20message\x20in\x20C++.\n\n\x20\x20\x20\x20\x20Foo\x20foo\x20=\
    \x20...;\n\x20\x20\x20\x20\x20Any\x20any;\n\x20\x20\x20\x20\x20any.PackF\
    rom(foo);\n\x20\x20\x20\x20\x20...\n\x20\x20\x20\x20\x20if\x20(any.Unpac\
    kTo(&foo))\x20{\n\x20\x20\x20\x20\x20\x20\x20...\n\x20\x20\x20\x20\x20}\
    \n\n\x20Example\x202:\x20Pack\x20and\x20unpack\x20a\x20message\x20in\x20\
    Java.\n\n\x20\x20\x20\x20\x20Foo\x20foo\x20=\x20...;\n\x20\x20\x20\x20\
    \x20Any\x20any\x20=\x20Any.pack(foo);\n\x20\x20\x20\x20\x20...\n\x20\x20\
    \x20\x20\x20if\x20(any.is(Foo.class))\x20{\n\x20\x20\x20\x20\x20\x20\x20\
    foo\x20=\x20any.unpack(Foo.class);\n\x20\x20\x20\x20\x20}\n\n\x20\x20Exa\
    mple\x203:\x20Pack\x20and\x20unpack\x20a\x20message\x20in\x20Python.\n\n\
    \x20\x20\x20\x20\x20foo\x20=\x20Foo(...)\n\x20\x20\x20\x20\x20any\x20=\
    \x20Any()\n\x20\x20\x20\x20\x20any.Pack(foo)\n\x20\x20\x20\x20\x20...\n\
    \x20\x20\x20\x20\x20if\x20any.Is(Foo.DESCRIPTOR):\n\x20\x20\x20\x20\x20\
    \x20\x20any.Unpack(foo)\n\x20\x20\x20\x20\x20\x20\x20...\n\n\x20The\x20p\
    ack\x20methods\x20provided\x20by\x20protobuf\x20library\x20will\x20by\
    \x20default\x20use\n\x20'type.googleapis.com/full.type.name'\x20as\x20th\
    e\x20type\x20URL\x20and\x20the\x20unpack\n\x20methods\x20only\x20use\x20\
    the\x20fully\x20qualified\x20type\x20name\x20after\x20the\x20last\x20'/'\
    \n\x20in\x20the\x20type\x20URL,\x20for\x20example\x20\"foo.bar.com/x/y.z\
    \"\x20will\x20yield\x20type\n\x20name\x20\"y.z\".\n\n\n\x20JSON\n\x20===\
    =\n\x20The\x20JSON\x20representation\x20of\x20an\x20`Any`\x20value\x20us\
    es\x20the\x20regular\n\x20representation\x20of\x20the\x20deserialized,\
    \x20embedded\x20message,\x20with\x20an\n\x20additional\x20field\x20`@typ\
    e`\x20which\x20contains\x20the\x20type\x20URL.\x20Example:\n\n\x20\x20\
    \x20\x20\x20package\x20google.profile;\n\x20\x20\x20\x20\x20message\x20P\
    erson\x20{\n\x20\x20\x20\x20\x20\x20\x20string\x20first_name\x20=\x201;\
    \n\x20\x20\x20\x20\x20\x20\x20string\x20last_name\x20=\x202;\n\x20\x20\
    \x20\x20\x20}\n\n\x20\x20\x20\x20\x20{\n\x20\x20\x20\x20\x20\x20\x20\"@t\
    ype\":\x20\"type.googleapis.com/google.profile.Person\",\n\x20\x20\x20\
    \x20\x20\x20\x20\"firstName\":\x20<string>,\n\x20\x20\x20\x20\x20\x20\
    \x20\"lastName\":\x20<string>\n\x20\x20\x20\x20\x20}\n\n\x20If\x20the\
    \x20embedded\x20message\x20type\x20is\x20well-known\x20and\x20has\x20a\
    \x20custom\x20JSON\n\x20representation,\x20that\x20representation\x20wil\
    l\x20be\x20embedded\x20adding\x20a\x20field\n\x20`value`\x20which\x20hol\
    ds\x20the\x20custom\x20JSON\x20in\x20addition\x20to\x20the\x20`@type`\n\
    \x20field.\x20Example\x20(for\x20message\x20[google.protobuf.Duration][]\
    ):\n\n\x20\x20\x20\x20\x20{\n\x20\x20\x20\x20\x20\x20\x20\"@type\":\x20\
    \"type.googleapis.com/google.protobuf.Duration\",\n\x20\x20\x20\x20\x20\
    \x20\x20\"value\":\x20\"1.212s\"\n\x20\x20\x20\x20\x20}\n\n\n\n\n\x03\
    \x04\0\x01\x12\x03o\x08\x0b\n\xe4\x07\n\x04\x04\0\x02\0\x12\x04\x86\x01\
    \x02\x16\x1a\xd5\x07\x20A\x20URL/resource\x20name\x20whose\x20content\
    \x20describes\x20the\x20type\x20of\x20the\n\x20serialized\x20protocol\
    \x20buffer\x20message.\n\n\x20For\x20URLs\x20which\x20use\x20the\x20sche\
    me\x20`http`,\x20`https`,\x20or\x20no\x20scheme,\x20the\n\x20following\
    \x20restrictions\x20and\x20interpretations\x20apply:\n\n\x20*\x20If\x20n\
    o\x20scheme\x20is\x20provided,\x20`https`\x20is\x20assumed.\n\x20*\x20Th\
    e\x20last\x20segment\x20of\x20the\x20URL's\x20path\x20must\x20represent\
    \x20the\x20fully\n\x20\x20\x20qualified\x20name\x20of\x20the\x20type\x20\
    (as\x20in\x20`path/google.protobuf.Duration`).\n\x20\x20\x20The\x20name\
    \x20should\x20be\x20in\x20a\x20canonical\x20form\x20(e.g.,\x20leading\
    \x20\".\"\x20is\n\x20\x20\x20not\x20accepted).\n\x20*\x20An\x20HTTP\x20G\
    ET\x20on\x20the\x20URL\x20must\x20yield\x20a\x20[google.protobuf.Type][]\
    \n\x20\x20\x20value\x20in\x20binary\x20format,\x20or\x20produce\x20an\
    \x20error.\n\x20*\x20Applications\x20are\x20allowed\x20to\x20cache\x20lo\
    okup\x20results\x20based\x20on\x20the\n\x20\x20\x20URL,\x20or\x20have\
    \x20them\x20precompiled\x20into\x20a\x20binary\x20to\x20avoid\x20any\n\
    \x20\x20\x20lookup.\x20Therefore,\x20binary\x20compatibility\x20needs\
    \x20to\x20be\x20preserved\n\x20\x20\x20on\x20changes\x20to\x20types.\x20\
    (Use\x20versioned\x20type\x20names\x20to\x20manage\n\x20\x20\x20breaking\
    \x20changes.)\n\n\x20Schemes\x20other\x20than\x20`http`,\x20`https`\x20(\
    or\x20the\x20empty\x20scheme)\x20might\x20be\n\x20used\x20with\x20implem\
    entation\x20specific\x20semantics.\n\n\n\x0e\n\x05\x04\0\x02\0\x04\x12\
    \x05\x86\x01\x02o\r\n\r\n\x05\x04\0\x02\0\x05\x12\x04\x86\x01\x02\x08\n\
    \r\n\x05\x04\0\x02\0\x01\x12\x04\x86\x01\t\x11\n\r\n\x05\x04\0\x02\0\x03\
    \x12\x04\x86\x01\x14\x15\nW\n\x04\x04\0\x02\x01\x12\x04\x89\x01\x02\x12\
    \x1aI\x20Must\x20be\x20a\x20valid\x20serialized\x20protocol\x20buffer\
    \x20of\x20the\x20above\x20specified\x20type.\n\n\x0f\n\x05\x04\0\x02\x01\
    \x04\x12\x06\x89\x01\x02\x86\x01\x16\n\r\n\x05\x04\0\x02\x01\x05\x12\x04\
    \x89\x01\x02\x07\n\r\n\x05\x04\0\x02\x01\x01\x12\x04\x89\x01\x08\r\n\r\n\
    \x05\x04\0\x02\x01\x03\x12\x04\x89\x01\x10\x11b\x06proto3\
";

static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy {
    lock: ::protobuf::lazy::ONCE_INIT,
    ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
};

fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
    ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()
}

pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
    unsafe {
        file_descriptor_proto_lazy.get(|| {
            parse_descriptor_proto()
        })
    }
}