boiler_generated/
encrypted_app_ticket.rs

1// This file is generated. Do not edit
2// @generated
3
4#![allow(dead_code)]
5#![allow(non_camel_case_types)]
6#![allow(non_snake_case)]
7#![allow(non_upper_case_globals)]
8#![allow(unused_imports)]
9
10use protobuf::Message as Message_imported_for_functions;
11use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
12
13#[derive(Clone,Default)]
14pub struct EncryptedAppTicket {
15    // message fields
16    ticket_version_no: ::std::option::Option<u32>,
17    crc_encryptedticket: ::std::option::Option<u32>,
18    cb_encrypteduserdata: ::std::option::Option<u32>,
19    cb_encrypted_appownershipticket: ::std::option::Option<u32>,
20    encrypted_ticket: ::protobuf::SingularField<::std::vec::Vec<u8>>,
21    // special fields
22    unknown_fields: ::protobuf::UnknownFields,
23    cached_size: ::std::cell::Cell<u32>,
24}
25
26// see codegen.rs for the explanation why impl Sync explicitly
27unsafe impl ::std::marker::Sync for EncryptedAppTicket {}
28
29impl EncryptedAppTicket {
30    pub fn new() -> EncryptedAppTicket {
31        ::std::default::Default::default()
32    }
33
34    pub fn default_instance() -> &'static EncryptedAppTicket {
35        static mut instance: ::protobuf::lazy::Lazy<EncryptedAppTicket> = ::protobuf::lazy::Lazy {
36            lock: ::protobuf::lazy::ONCE_INIT,
37            ptr: 0 as *const EncryptedAppTicket,
38        };
39        unsafe {
40            instance.get(|| {
41                EncryptedAppTicket {
42                    ticket_version_no: ::std::option::Option::None,
43                    crc_encryptedticket: ::std::option::Option::None,
44                    cb_encrypteduserdata: ::std::option::Option::None,
45                    cb_encrypted_appownershipticket: ::std::option::Option::None,
46                    encrypted_ticket: ::protobuf::SingularField::none(),
47                    unknown_fields: ::protobuf::UnknownFields::new(),
48                    cached_size: ::std::cell::Cell::new(0),
49                }
50            })
51        }
52    }
53
54    // optional uint32 ticket_version_no = 1;
55
56    pub fn clear_ticket_version_no(&mut self) {
57        self.ticket_version_no = ::std::option::Option::None;
58    }
59
60    pub fn has_ticket_version_no(&self) -> bool {
61        self.ticket_version_no.is_some()
62    }
63
64    // Param is passed by value, moved
65    pub fn set_ticket_version_no(&mut self, v: u32) {
66        self.ticket_version_no = ::std::option::Option::Some(v);
67    }
68
69    pub fn get_ticket_version_no<'a>(&self) -> u32 {
70        self.ticket_version_no.unwrap_or(0)
71    }
72
73    // optional uint32 crc_encryptedticket = 2;
74
75    pub fn clear_crc_encryptedticket(&mut self) {
76        self.crc_encryptedticket = ::std::option::Option::None;
77    }
78
79    pub fn has_crc_encryptedticket(&self) -> bool {
80        self.crc_encryptedticket.is_some()
81    }
82
83    // Param is passed by value, moved
84    pub fn set_crc_encryptedticket(&mut self, v: u32) {
85        self.crc_encryptedticket = ::std::option::Option::Some(v);
86    }
87
88    pub fn get_crc_encryptedticket<'a>(&self) -> u32 {
89        self.crc_encryptedticket.unwrap_or(0)
90    }
91
92    // optional uint32 cb_encrypteduserdata = 3;
93
94    pub fn clear_cb_encrypteduserdata(&mut self) {
95        self.cb_encrypteduserdata = ::std::option::Option::None;
96    }
97
98    pub fn has_cb_encrypteduserdata(&self) -> bool {
99        self.cb_encrypteduserdata.is_some()
100    }
101
102    // Param is passed by value, moved
103    pub fn set_cb_encrypteduserdata(&mut self, v: u32) {
104        self.cb_encrypteduserdata = ::std::option::Option::Some(v);
105    }
106
107    pub fn get_cb_encrypteduserdata<'a>(&self) -> u32 {
108        self.cb_encrypteduserdata.unwrap_or(0)
109    }
110
111    // optional uint32 cb_encrypted_appownershipticket = 4;
112
113    pub fn clear_cb_encrypted_appownershipticket(&mut self) {
114        self.cb_encrypted_appownershipticket = ::std::option::Option::None;
115    }
116
117    pub fn has_cb_encrypted_appownershipticket(&self) -> bool {
118        self.cb_encrypted_appownershipticket.is_some()
119    }
120
121    // Param is passed by value, moved
122    pub fn set_cb_encrypted_appownershipticket(&mut self, v: u32) {
123        self.cb_encrypted_appownershipticket = ::std::option::Option::Some(v);
124    }
125
126    pub fn get_cb_encrypted_appownershipticket<'a>(&self) -> u32 {
127        self.cb_encrypted_appownershipticket.unwrap_or(0)
128    }
129
130    // optional bytes encrypted_ticket = 5;
131
132    pub fn clear_encrypted_ticket(&mut self) {
133        self.encrypted_ticket.clear();
134    }
135
136    pub fn has_encrypted_ticket(&self) -> bool {
137        self.encrypted_ticket.is_some()
138    }
139
140    // Param is passed by value, moved
141    pub fn set_encrypted_ticket(&mut self, v: ::std::vec::Vec<u8>) {
142        self.encrypted_ticket = ::protobuf::SingularField::some(v);
143    }
144
145    // Mutable pointer to the field.
146    // If field is not initialized, it is initialized with default value first.
147    pub fn mut_encrypted_ticket<'a>(&'a mut self) -> &'a mut ::std::vec::Vec<u8> {
148        if self.encrypted_ticket.is_none() {
149            self.encrypted_ticket.set_default();
150        };
151        self.encrypted_ticket.as_mut().unwrap()
152    }
153
154    // Take field
155    pub fn take_encrypted_ticket(&mut self) -> ::std::vec::Vec<u8> {
156        self.encrypted_ticket.take().unwrap_or_else(|| ::std::vec::Vec::new())
157    }
158
159    pub fn get_encrypted_ticket<'a>(&'a self) -> &'a [u8] {
160        match self.encrypted_ticket.as_ref() {
161            Some(v) => &v,
162            None => &[],
163        }
164    }
165}
166
167impl ::protobuf::Message for EncryptedAppTicket {
168    fn is_initialized(&self) -> bool {
169        true
170    }
171
172    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
173        while !try!(is.eof()) {
174            let (field_number, wire_type) = try!(is.read_tag_unpack());
175            match field_number {
176                1 => {
177                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
178                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
179                    };
180                    let tmp = try!(is.read_uint32());
181                    self.ticket_version_no = ::std::option::Option::Some(tmp);
182                },
183                2 => {
184                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
185                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
186                    };
187                    let tmp = try!(is.read_uint32());
188                    self.crc_encryptedticket = ::std::option::Option::Some(tmp);
189                },
190                3 => {
191                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
192                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
193                    };
194                    let tmp = try!(is.read_uint32());
195                    self.cb_encrypteduserdata = ::std::option::Option::Some(tmp);
196                },
197                4 => {
198                    if wire_type != ::protobuf::wire_format::WireTypeVarint {
199                        return ::std::result::Result::Err(::protobuf::rt::unexpected_wire_type(wire_type));
200                    };
201                    let tmp = try!(is.read_uint32());
202                    self.cb_encrypted_appownershipticket = ::std::option::Option::Some(tmp);
203                },
204                5 => {
205                    try!(::protobuf::rt::read_singular_bytes_into(wire_type, is, &mut self.encrypted_ticket));
206                },
207                _ => {
208                    try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields()));
209                },
210            };
211        }
212        ::std::result::Result::Ok(())
213    }
214
215    // Compute sizes of nested messages
216    #[allow(unused_variables)]
217    fn compute_size(&self) -> u32 {
218        let mut my_size = 0;
219        for value in self.ticket_version_no.iter() {
220            my_size += ::protobuf::rt::value_size(1, *value, ::protobuf::wire_format::WireTypeVarint);
221        };
222        for value in self.crc_encryptedticket.iter() {
223            my_size += ::protobuf::rt::value_size(2, *value, ::protobuf::wire_format::WireTypeVarint);
224        };
225        for value in self.cb_encrypteduserdata.iter() {
226            my_size += ::protobuf::rt::value_size(3, *value, ::protobuf::wire_format::WireTypeVarint);
227        };
228        for value in self.cb_encrypted_appownershipticket.iter() {
229            my_size += ::protobuf::rt::value_size(4, *value, ::protobuf::wire_format::WireTypeVarint);
230        };
231        for value in self.encrypted_ticket.iter() {
232            my_size += ::protobuf::rt::bytes_size(5, &value);
233        };
234        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
235        self.cached_size.set(my_size);
236        my_size
237    }
238
239    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
240        if let Some(v) = self.ticket_version_no {
241            try!(os.write_uint32(1, v));
242        };
243        if let Some(v) = self.crc_encryptedticket {
244            try!(os.write_uint32(2, v));
245        };
246        if let Some(v) = self.cb_encrypteduserdata {
247            try!(os.write_uint32(3, v));
248        };
249        if let Some(v) = self.cb_encrypted_appownershipticket {
250            try!(os.write_uint32(4, v));
251        };
252        if let Some(v) = self.encrypted_ticket.as_ref() {
253            try!(os.write_bytes(5, &v));
254        };
255        try!(os.write_unknown_fields(self.get_unknown_fields()));
256        ::std::result::Result::Ok(())
257    }
258
259    fn get_cached_size(&self) -> u32 {
260        self.cached_size.get()
261    }
262
263    fn get_unknown_fields<'s>(&'s self) -> &'s ::protobuf::UnknownFields {
264        &self.unknown_fields
265    }
266
267    fn mut_unknown_fields<'s>(&'s mut self) -> &'s mut ::protobuf::UnknownFields {
268        &mut self.unknown_fields
269    }
270
271    fn type_id(&self) -> ::std::any::TypeId {
272        ::std::any::TypeId::of::<EncryptedAppTicket>()
273    }
274
275    fn as_any(&self) -> &::std::any::Any {
276        self as &::std::any::Any
277    }
278
279    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
280        ::protobuf::MessageStatic::descriptor_static(None::<Self>)
281    }
282}
283
284impl ::protobuf::MessageStatic for EncryptedAppTicket {
285    fn new() -> EncryptedAppTicket {
286        EncryptedAppTicket::new()
287    }
288
289    fn descriptor_static(_: ::std::option::Option<EncryptedAppTicket>) -> &'static ::protobuf::reflect::MessageDescriptor {
290        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
291            lock: ::protobuf::lazy::ONCE_INIT,
292            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
293        };
294        unsafe {
295            descriptor.get(|| {
296                let mut fields = ::std::vec::Vec::new();
297                fields.push(::protobuf::reflect::accessor::make_singular_u32_accessor(
298                    "ticket_version_no",
299                    EncryptedAppTicket::has_ticket_version_no,
300                    EncryptedAppTicket::get_ticket_version_no,
301                ));
302                fields.push(::protobuf::reflect::accessor::make_singular_u32_accessor(
303                    "crc_encryptedticket",
304                    EncryptedAppTicket::has_crc_encryptedticket,
305                    EncryptedAppTicket::get_crc_encryptedticket,
306                ));
307                fields.push(::protobuf::reflect::accessor::make_singular_u32_accessor(
308                    "cb_encrypteduserdata",
309                    EncryptedAppTicket::has_cb_encrypteduserdata,
310                    EncryptedAppTicket::get_cb_encrypteduserdata,
311                ));
312                fields.push(::protobuf::reflect::accessor::make_singular_u32_accessor(
313                    "cb_encrypted_appownershipticket",
314                    EncryptedAppTicket::has_cb_encrypted_appownershipticket,
315                    EncryptedAppTicket::get_cb_encrypted_appownershipticket,
316                ));
317                fields.push(::protobuf::reflect::accessor::make_singular_bytes_accessor(
318                    "encrypted_ticket",
319                    EncryptedAppTicket::has_encrypted_ticket,
320                    EncryptedAppTicket::get_encrypted_ticket,
321                ));
322                ::protobuf::reflect::MessageDescriptor::new::<EncryptedAppTicket>(
323                    "EncryptedAppTicket",
324                    fields,
325                    file_descriptor_proto()
326                )
327            })
328        }
329    }
330}
331
332impl ::protobuf::Clear for EncryptedAppTicket {
333    fn clear(&mut self) {
334        self.clear_ticket_version_no();
335        self.clear_crc_encryptedticket();
336        self.clear_cb_encrypteduserdata();
337        self.clear_cb_encrypted_appownershipticket();
338        self.clear_encrypted_ticket();
339        self.unknown_fields.clear();
340    }
341}
342
343impl ::std::cmp::PartialEq for EncryptedAppTicket {
344    fn eq(&self, other: &EncryptedAppTicket) -> bool {
345        self.ticket_version_no == other.ticket_version_no &&
346        self.crc_encryptedticket == other.crc_encryptedticket &&
347        self.cb_encrypteduserdata == other.cb_encrypteduserdata &&
348        self.cb_encrypted_appownershipticket == other.cb_encrypted_appownershipticket &&
349        self.encrypted_ticket == other.encrypted_ticket &&
350        self.unknown_fields == other.unknown_fields
351    }
352}
353
354impl ::std::fmt::Debug for EncryptedAppTicket {
355    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
356        ::protobuf::text_format::fmt(self, f)
357    }
358}
359
360static file_descriptor_proto_data: &'static [u8] = &[
361    0x0a, 0x1a, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x70, 0x70, 0x5f,
362    0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, 0x01, 0x0a,
363    0x12, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x41, 0x70, 0x70, 0x54, 0x69, 0x63,
364    0x6b, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x11, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x76, 0x65,
365    0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x12, 0x1b,
366    0x0a, 0x13, 0x63, 0x72, 0x63, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x74,
367    0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x12, 0x1c, 0x0a, 0x14, 0x63,
368    0x62, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x75, 0x73, 0x65, 0x72, 0x64,
369    0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x12, 0x27, 0x0a, 0x1f, 0x63, 0x62, 0x5f,
370    0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x70, 0x70, 0x6f, 0x77, 0x6e,
371    0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01,
372    0x28, 0x0d, 0x12, 0x18, 0x0a, 0x10, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f,
373    0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x05, 0x48, 0x01,
374    0x80, 0x01, 0x00, 0x4a, 0x9d, 0x04, 0x0a, 0x06, 0x12, 0x04, 0x00, 0x00, 0x09, 0x01, 0x0a, 0x08,
375    0x0a, 0x01, 0x08, 0x12, 0x03, 0x00, 0x00, 0x1c, 0x0a, 0x0b, 0x0a, 0x04, 0x08, 0xe7, 0x07, 0x00,
376    0x12, 0x03, 0x00, 0x00, 0x1c, 0x0a, 0x0c, 0x0a, 0x05, 0x08, 0xe7, 0x07, 0x00, 0x02, 0x12, 0x03,
377    0x00, 0x07, 0x13, 0x0a, 0x0d, 0x0a, 0x06, 0x08, 0xe7, 0x07, 0x00, 0x02, 0x00, 0x12, 0x03, 0x00,
378    0x07, 0x13, 0x0a, 0x0e, 0x0a, 0x07, 0x08, 0xe7, 0x07, 0x00, 0x02, 0x00, 0x01, 0x12, 0x03, 0x00,
379    0x07, 0x13, 0x0a, 0x0c, 0x0a, 0x05, 0x08, 0xe7, 0x07, 0x00, 0x03, 0x12, 0x03, 0x00, 0x16, 0x1b,
380    0x0a, 0x08, 0x0a, 0x01, 0x08, 0x12, 0x03, 0x01, 0x00, 0x23, 0x0a, 0x0b, 0x0a, 0x04, 0x08, 0xe7,
381    0x07, 0x01, 0x12, 0x03, 0x01, 0x00, 0x23, 0x0a, 0x0c, 0x0a, 0x05, 0x08, 0xe7, 0x07, 0x01, 0x02,
382    0x12, 0x03, 0x01, 0x07, 0x1a, 0x0a, 0x0d, 0x0a, 0x06, 0x08, 0xe7, 0x07, 0x01, 0x02, 0x00, 0x12,
383    0x03, 0x01, 0x07, 0x1a, 0x0a, 0x0e, 0x0a, 0x07, 0x08, 0xe7, 0x07, 0x01, 0x02, 0x00, 0x01, 0x12,
384    0x03, 0x01, 0x07, 0x1a, 0x0a, 0x0c, 0x0a, 0x05, 0x08, 0xe7, 0x07, 0x01, 0x03, 0x12, 0x03, 0x01,
385    0x1d, 0x22, 0x0a, 0x0a, 0x0a, 0x02, 0x04, 0x00, 0x12, 0x04, 0x03, 0x00, 0x09, 0x01, 0x0a, 0x0a,
386    0x0a, 0x03, 0x04, 0x00, 0x01, 0x12, 0x03, 0x03, 0x08, 0x1a, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x00,
387    0x02, 0x00, 0x12, 0x03, 0x04, 0x08, 0x2e, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x00, 0x04,
388    0x12, 0x03, 0x04, 0x08, 0x10, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x00, 0x05, 0x12, 0x03,
389    0x04, 0x11, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x00, 0x01, 0x12, 0x03, 0x04, 0x18,
390    0x29, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x00, 0x03, 0x12, 0x03, 0x04, 0x2c, 0x2d, 0x0a,
391    0x0b, 0x0a, 0x04, 0x04, 0x00, 0x02, 0x01, 0x12, 0x03, 0x05, 0x08, 0x30, 0x0a, 0x0c, 0x0a, 0x05,
392    0x04, 0x00, 0x02, 0x01, 0x04, 0x12, 0x03, 0x05, 0x08, 0x10, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00,
393    0x02, 0x01, 0x05, 0x12, 0x03, 0x05, 0x11, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x01,
394    0x01, 0x12, 0x03, 0x05, 0x18, 0x2b, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x01, 0x03, 0x12,
395    0x03, 0x05, 0x2e, 0x2f, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x00, 0x02, 0x02, 0x12, 0x03, 0x06, 0x08,
396    0x31, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x02, 0x04, 0x12, 0x03, 0x06, 0x08, 0x10, 0x0a,
397    0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x02, 0x05, 0x12, 0x03, 0x06, 0x11, 0x17, 0x0a, 0x0c, 0x0a,
398    0x05, 0x04, 0x00, 0x02, 0x02, 0x01, 0x12, 0x03, 0x06, 0x18, 0x2c, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
399    0x00, 0x02, 0x02, 0x03, 0x12, 0x03, 0x06, 0x2f, 0x30, 0x0a, 0x0b, 0x0a, 0x04, 0x04, 0x00, 0x02,
400    0x03, 0x12, 0x03, 0x07, 0x08, 0x3c, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x03, 0x04, 0x12,
401    0x03, 0x07, 0x08, 0x10, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x03, 0x05, 0x12, 0x03, 0x07,
402    0x11, 0x17, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x03, 0x01, 0x12, 0x03, 0x07, 0x18, 0x37,
403    0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x03, 0x03, 0x12, 0x03, 0x07, 0x3a, 0x3b, 0x0a, 0x0b,
404    0x0a, 0x04, 0x04, 0x00, 0x02, 0x04, 0x12, 0x03, 0x08, 0x08, 0x2c, 0x0a, 0x0c, 0x0a, 0x05, 0x04,
405    0x00, 0x02, 0x04, 0x04, 0x12, 0x03, 0x08, 0x08, 0x10, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02,
406    0x04, 0x05, 0x12, 0x03, 0x08, 0x11, 0x16, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x04, 0x01,
407    0x12, 0x03, 0x08, 0x17, 0x27, 0x0a, 0x0c, 0x0a, 0x05, 0x04, 0x00, 0x02, 0x04, 0x03, 0x12, 0x03,
408    0x08, 0x2a, 0x2b,
409];
410
411static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy {
412    lock: ::protobuf::lazy::ONCE_INIT,
413    ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
414};
415
416fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
417    ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()
418}
419
420pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
421    unsafe {
422        file_descriptor_proto_lazy.get(|| {
423            parse_descriptor_proto()
424        })
425    }
426}