Skip to main content

nrc_protobuf/
plugin.rs

1// This file is generated by rust-protobuf 2.8.0-pre. Do not edit
2// @generated
3
4// https://github.com/Manishearth/rust-clippy/issues/702
5#![allow(unknown_lints)]
6#![allow(clippy::all)]
7
8#![cfg_attr(rustfmt, rustfmt_skip)]
9
10#![allow(box_pointers)]
11#![allow(dead_code)]
12#![allow(missing_docs)]
13#![allow(non_camel_case_types)]
14#![allow(non_snake_case)]
15#![allow(non_upper_case_globals)]
16#![allow(trivial_casts)]
17#![allow(unsafe_code)]
18#![allow(unused_imports)]
19#![allow(unused_results)]
20//! Generated file from `google/protobuf/compiler/plugin.proto`
21
22use protobuf::Message as Message_imported_for_functions;
23use protobuf::ProtobufEnum as ProtobufEnum_imported_for_functions;
24
25#[derive(PartialEq,Clone,Default)]
26#[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))]
27pub struct CodeGeneratorRequest {
28    // message fields
29    file_to_generate: ::protobuf::RepeatedField<::std::string::String>,
30    parameter: ::protobuf::SingularField<::std::string::String>,
31    proto_file: ::protobuf::RepeatedField<::protobuf::descriptor::FileDescriptorProto>,
32    // special fields
33    #[cfg_attr(feature = "with-serde", serde(skip))]
34    pub unknown_fields: ::protobuf::UnknownFields,
35    #[cfg_attr(feature = "with-serde", serde(skip))]
36    pub cached_size: ::protobuf::CachedSize,
37}
38
39impl<'a> ::std::default::Default for &'a CodeGeneratorRequest {
40    fn default() -> &'a CodeGeneratorRequest {
41        <CodeGeneratorRequest as ::protobuf::Message>::default_instance()
42    }
43}
44
45impl CodeGeneratorRequest {
46    pub fn new() -> CodeGeneratorRequest {
47        ::std::default::Default::default()
48    }
49
50    // repeated string file_to_generate = 1;
51
52
53    pub fn get_file_to_generate(&self) -> &[::std::string::String] {
54        &self.file_to_generate
55    }
56    pub fn clear_file_to_generate(&mut self) {
57        self.file_to_generate.clear();
58    }
59
60    // Param is passed by value, moved
61    pub fn set_file_to_generate(&mut self, v: ::protobuf::RepeatedField<::std::string::String>) {
62        self.file_to_generate = v;
63    }
64
65    // Mutable pointer to the field.
66    pub fn mut_file_to_generate(&mut self) -> &mut ::protobuf::RepeatedField<::std::string::String> {
67        &mut self.file_to_generate
68    }
69
70    // Take field
71    pub fn take_file_to_generate(&mut self) -> ::protobuf::RepeatedField<::std::string::String> {
72        ::std::mem::replace(&mut self.file_to_generate, ::protobuf::RepeatedField::new())
73    }
74
75    // optional string parameter = 2;
76
77
78    pub fn get_parameter(&self) -> &str {
79        match self.parameter.as_ref() {
80            Some(v) => &v,
81            None => "",
82        }
83    }
84    pub fn clear_parameter(&mut self) {
85        self.parameter.clear();
86    }
87
88    pub fn has_parameter(&self) -> bool {
89        self.parameter.is_some()
90    }
91
92    // Param is passed by value, moved
93    pub fn set_parameter(&mut self, v: ::std::string::String) {
94        self.parameter = ::protobuf::SingularField::some(v);
95    }
96
97    // Mutable pointer to the field.
98    // If field is not initialized, it is initialized with default value first.
99    pub fn mut_parameter(&mut self) -> &mut ::std::string::String {
100        if self.parameter.is_none() {
101            self.parameter.set_default();
102        }
103        self.parameter.as_mut().unwrap()
104    }
105
106    // Take field
107    pub fn take_parameter(&mut self) -> ::std::string::String {
108        self.parameter.take().unwrap_or_else(|| ::std::string::String::new())
109    }
110
111    // repeated .google.protobuf.FileDescriptorProto proto_file = 15;
112
113
114    pub fn get_proto_file(&self) -> &[::protobuf::descriptor::FileDescriptorProto] {
115        &self.proto_file
116    }
117    pub fn clear_proto_file(&mut self) {
118        self.proto_file.clear();
119    }
120
121    // Param is passed by value, moved
122    pub fn set_proto_file(&mut self, v: ::protobuf::RepeatedField<::protobuf::descriptor::FileDescriptorProto>) {
123        self.proto_file = v;
124    }
125
126    // Mutable pointer to the field.
127    pub fn mut_proto_file(&mut self) -> &mut ::protobuf::RepeatedField<::protobuf::descriptor::FileDescriptorProto> {
128        &mut self.proto_file
129    }
130
131    // Take field
132    pub fn take_proto_file(&mut self) -> ::protobuf::RepeatedField<::protobuf::descriptor::FileDescriptorProto> {
133        ::std::mem::replace(&mut self.proto_file, ::protobuf::RepeatedField::new())
134    }
135}
136
137impl ::protobuf::Message for CodeGeneratorRequest {
138    fn is_initialized(&self) -> bool {
139        for v in &self.proto_file {
140            if !v.is_initialized() {
141                return false;
142            }
143        };
144        true
145    }
146
147    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
148        while !is.eof()? {
149            let (field_number, wire_type) = is.read_tag_unpack()?;
150            match field_number {
151                1 => {
152                    ::protobuf::rt::read_repeated_string_into(wire_type, is, &mut self.file_to_generate)?;
153                },
154                2 => {
155                    ::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.parameter)?;
156                },
157                15 => {
158                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.proto_file)?;
159                },
160                _ => {
161                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
162                },
163            };
164        }
165        ::std::result::Result::Ok(())
166    }
167
168    // Compute sizes of nested messages
169    #[allow(unused_variables)]
170    fn compute_size(&self) -> u32 {
171        let mut my_size = 0;
172        for value in &self.file_to_generate {
173            my_size += ::protobuf::rt::string_size(1, &value);
174        };
175        if let Some(ref v) = self.parameter.as_ref() {
176            my_size += ::protobuf::rt::string_size(2, &v);
177        }
178        for value in &self.proto_file {
179            let len = value.compute_size();
180            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
181        };
182        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
183        self.cached_size.set(my_size);
184        my_size
185    }
186
187    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
188        for v in &self.file_to_generate {
189            os.write_string(1, &v)?;
190        };
191        if let Some(ref v) = self.parameter.as_ref() {
192            os.write_string(2, &v)?;
193        }
194        for v in &self.proto_file {
195            os.write_tag(15, ::protobuf::wire_format::WireTypeLengthDelimited)?;
196            os.write_raw_varint32(v.get_cached_size())?;
197            v.write_to_with_cached_sizes(os)?;
198        };
199        os.write_unknown_fields(self.get_unknown_fields())?;
200        ::std::result::Result::Ok(())
201    }
202
203    fn get_cached_size(&self) -> u32 {
204        self.cached_size.get()
205    }
206
207    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
208        &self.unknown_fields
209    }
210
211    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
212        &mut self.unknown_fields
213    }
214
215    fn as_any(&self) -> &dyn (::std::any::Any) {
216        self as &dyn (::std::any::Any)
217    }
218    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
219        self as &mut dyn (::std::any::Any)
220    }
221    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
222        self
223    }
224
225    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
226        Self::descriptor_static()
227    }
228
229    fn new() -> CodeGeneratorRequest {
230        CodeGeneratorRequest::new()
231    }
232
233    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
234        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
235            lock: ::protobuf::lazy::ONCE_INIT,
236            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
237        };
238        unsafe {
239            descriptor.get(|| {
240                let mut fields = ::std::vec::Vec::new();
241                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
242                    "file_to_generate",
243                    |m: &CodeGeneratorRequest| { &m.file_to_generate },
244                    |m: &mut CodeGeneratorRequest| { &mut m.file_to_generate },
245                ));
246                fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
247                    "parameter",
248                    |m: &CodeGeneratorRequest| { &m.parameter },
249                    |m: &mut CodeGeneratorRequest| { &mut m.parameter },
250                ));
251                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<::protobuf::descriptor::FileDescriptorProto>>(
252                    "proto_file",
253                    |m: &CodeGeneratorRequest| { &m.proto_file },
254                    |m: &mut CodeGeneratorRequest| { &mut m.proto_file },
255                ));
256                ::protobuf::reflect::MessageDescriptor::new::<CodeGeneratorRequest>(
257                    "CodeGeneratorRequest",
258                    fields,
259                    file_descriptor_proto()
260                )
261            })
262        }
263    }
264
265    fn default_instance() -> &'static CodeGeneratorRequest {
266        static mut instance: ::protobuf::lazy::Lazy<CodeGeneratorRequest> = ::protobuf::lazy::Lazy {
267            lock: ::protobuf::lazy::ONCE_INIT,
268            ptr: 0 as *const CodeGeneratorRequest,
269        };
270        unsafe {
271            instance.get(CodeGeneratorRequest::new)
272        }
273    }
274}
275
276impl ::protobuf::Clear for CodeGeneratorRequest {
277    fn clear(&mut self) {
278        self.file_to_generate.clear();
279        self.parameter.clear();
280        self.proto_file.clear();
281        self.unknown_fields.clear();
282    }
283}
284
285impl ::std::fmt::Debug for CodeGeneratorRequest {
286    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
287        ::protobuf::text_format::fmt(self, f)
288    }
289}
290
291impl ::protobuf::reflect::ProtobufValue for CodeGeneratorRequest {
292    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
293        ::protobuf::reflect::ProtobufValueRef::Message(self)
294    }
295}
296
297#[derive(PartialEq,Clone,Default)]
298#[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))]
299pub struct CodeGeneratorResponse {
300    // message fields
301    error: ::protobuf::SingularField<::std::string::String>,
302    file: ::protobuf::RepeatedField<CodeGeneratorResponse_File>,
303    // special fields
304    #[cfg_attr(feature = "with-serde", serde(skip))]
305    pub unknown_fields: ::protobuf::UnknownFields,
306    #[cfg_attr(feature = "with-serde", serde(skip))]
307    pub cached_size: ::protobuf::CachedSize,
308}
309
310impl<'a> ::std::default::Default for &'a CodeGeneratorResponse {
311    fn default() -> &'a CodeGeneratorResponse {
312        <CodeGeneratorResponse as ::protobuf::Message>::default_instance()
313    }
314}
315
316impl CodeGeneratorResponse {
317    pub fn new() -> CodeGeneratorResponse {
318        ::std::default::Default::default()
319    }
320
321    // optional string error = 1;
322
323
324    pub fn get_error(&self) -> &str {
325        match self.error.as_ref() {
326            Some(v) => &v,
327            None => "",
328        }
329    }
330    pub fn clear_error(&mut self) {
331        self.error.clear();
332    }
333
334    pub fn has_error(&self) -> bool {
335        self.error.is_some()
336    }
337
338    // Param is passed by value, moved
339    pub fn set_error(&mut self, v: ::std::string::String) {
340        self.error = ::protobuf::SingularField::some(v);
341    }
342
343    // Mutable pointer to the field.
344    // If field is not initialized, it is initialized with default value first.
345    pub fn mut_error(&mut self) -> &mut ::std::string::String {
346        if self.error.is_none() {
347            self.error.set_default();
348        }
349        self.error.as_mut().unwrap()
350    }
351
352    // Take field
353    pub fn take_error(&mut self) -> ::std::string::String {
354        self.error.take().unwrap_or_else(|| ::std::string::String::new())
355    }
356
357    // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15;
358
359
360    pub fn get_file(&self) -> &[CodeGeneratorResponse_File] {
361        &self.file
362    }
363    pub fn clear_file(&mut self) {
364        self.file.clear();
365    }
366
367    // Param is passed by value, moved
368    pub fn set_file(&mut self, v: ::protobuf::RepeatedField<CodeGeneratorResponse_File>) {
369        self.file = v;
370    }
371
372    // Mutable pointer to the field.
373    pub fn mut_file(&mut self) -> &mut ::protobuf::RepeatedField<CodeGeneratorResponse_File> {
374        &mut self.file
375    }
376
377    // Take field
378    pub fn take_file(&mut self) -> ::protobuf::RepeatedField<CodeGeneratorResponse_File> {
379        ::std::mem::replace(&mut self.file, ::protobuf::RepeatedField::new())
380    }
381}
382
383impl ::protobuf::Message for CodeGeneratorResponse {
384    fn is_initialized(&self) -> bool {
385        for v in &self.file {
386            if !v.is_initialized() {
387                return false;
388            }
389        };
390        true
391    }
392
393    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
394        while !is.eof()? {
395            let (field_number, wire_type) = is.read_tag_unpack()?;
396            match field_number {
397                1 => {
398                    ::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.error)?;
399                },
400                15 => {
401                    ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.file)?;
402                },
403                _ => {
404                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
405                },
406            };
407        }
408        ::std::result::Result::Ok(())
409    }
410
411    // Compute sizes of nested messages
412    #[allow(unused_variables)]
413    fn compute_size(&self) -> u32 {
414        let mut my_size = 0;
415        if let Some(ref v) = self.error.as_ref() {
416            my_size += ::protobuf::rt::string_size(1, &v);
417        }
418        for value in &self.file {
419            let len = value.compute_size();
420            my_size += 1 + ::protobuf::rt::compute_raw_varint32_size(len) + len;
421        };
422        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
423        self.cached_size.set(my_size);
424        my_size
425    }
426
427    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
428        if let Some(ref v) = self.error.as_ref() {
429            os.write_string(1, &v)?;
430        }
431        for v in &self.file {
432            os.write_tag(15, ::protobuf::wire_format::WireTypeLengthDelimited)?;
433            os.write_raw_varint32(v.get_cached_size())?;
434            v.write_to_with_cached_sizes(os)?;
435        };
436        os.write_unknown_fields(self.get_unknown_fields())?;
437        ::std::result::Result::Ok(())
438    }
439
440    fn get_cached_size(&self) -> u32 {
441        self.cached_size.get()
442    }
443
444    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
445        &self.unknown_fields
446    }
447
448    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
449        &mut self.unknown_fields
450    }
451
452    fn as_any(&self) -> &dyn (::std::any::Any) {
453        self as &dyn (::std::any::Any)
454    }
455    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
456        self as &mut dyn (::std::any::Any)
457    }
458    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
459        self
460    }
461
462    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
463        Self::descriptor_static()
464    }
465
466    fn new() -> CodeGeneratorResponse {
467        CodeGeneratorResponse::new()
468    }
469
470    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
471        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
472            lock: ::protobuf::lazy::ONCE_INIT,
473            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
474        };
475        unsafe {
476            descriptor.get(|| {
477                let mut fields = ::std::vec::Vec::new();
478                fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
479                    "error",
480                    |m: &CodeGeneratorResponse| { &m.error },
481                    |m: &mut CodeGeneratorResponse| { &mut m.error },
482                ));
483                fields.push(::protobuf::reflect::accessor::make_repeated_field_accessor::<_, ::protobuf::types::ProtobufTypeMessage<CodeGeneratorResponse_File>>(
484                    "file",
485                    |m: &CodeGeneratorResponse| { &m.file },
486                    |m: &mut CodeGeneratorResponse| { &mut m.file },
487                ));
488                ::protobuf::reflect::MessageDescriptor::new::<CodeGeneratorResponse>(
489                    "CodeGeneratorResponse",
490                    fields,
491                    file_descriptor_proto()
492                )
493            })
494        }
495    }
496
497    fn default_instance() -> &'static CodeGeneratorResponse {
498        static mut instance: ::protobuf::lazy::Lazy<CodeGeneratorResponse> = ::protobuf::lazy::Lazy {
499            lock: ::protobuf::lazy::ONCE_INIT,
500            ptr: 0 as *const CodeGeneratorResponse,
501        };
502        unsafe {
503            instance.get(CodeGeneratorResponse::new)
504        }
505    }
506}
507
508impl ::protobuf::Clear for CodeGeneratorResponse {
509    fn clear(&mut self) {
510        self.error.clear();
511        self.file.clear();
512        self.unknown_fields.clear();
513    }
514}
515
516impl ::std::fmt::Debug for CodeGeneratorResponse {
517    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
518        ::protobuf::text_format::fmt(self, f)
519    }
520}
521
522impl ::protobuf::reflect::ProtobufValue for CodeGeneratorResponse {
523    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
524        ::protobuf::reflect::ProtobufValueRef::Message(self)
525    }
526}
527
528#[derive(PartialEq,Clone,Default)]
529#[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))]
530pub struct CodeGeneratorResponse_File {
531    // message fields
532    name: ::protobuf::SingularField<::std::string::String>,
533    insertion_point: ::protobuf::SingularField<::std::string::String>,
534    content: ::protobuf::SingularField<::std::string::String>,
535    // special fields
536    #[cfg_attr(feature = "with-serde", serde(skip))]
537    pub unknown_fields: ::protobuf::UnknownFields,
538    #[cfg_attr(feature = "with-serde", serde(skip))]
539    pub cached_size: ::protobuf::CachedSize,
540}
541
542impl<'a> ::std::default::Default for &'a CodeGeneratorResponse_File {
543    fn default() -> &'a CodeGeneratorResponse_File {
544        <CodeGeneratorResponse_File as ::protobuf::Message>::default_instance()
545    }
546}
547
548impl CodeGeneratorResponse_File {
549    pub fn new() -> CodeGeneratorResponse_File {
550        ::std::default::Default::default()
551    }
552
553    // optional string name = 1;
554
555
556    pub fn get_name(&self) -> &str {
557        match self.name.as_ref() {
558            Some(v) => &v,
559            None => "",
560        }
561    }
562    pub fn clear_name(&mut self) {
563        self.name.clear();
564    }
565
566    pub fn has_name(&self) -> bool {
567        self.name.is_some()
568    }
569
570    // Param is passed by value, moved
571    pub fn set_name(&mut self, v: ::std::string::String) {
572        self.name = ::protobuf::SingularField::some(v);
573    }
574
575    // Mutable pointer to the field.
576    // If field is not initialized, it is initialized with default value first.
577    pub fn mut_name(&mut self) -> &mut ::std::string::String {
578        if self.name.is_none() {
579            self.name.set_default();
580        }
581        self.name.as_mut().unwrap()
582    }
583
584    // Take field
585    pub fn take_name(&mut self) -> ::std::string::String {
586        self.name.take().unwrap_or_else(|| ::std::string::String::new())
587    }
588
589    // optional string insertion_point = 2;
590
591
592    pub fn get_insertion_point(&self) -> &str {
593        match self.insertion_point.as_ref() {
594            Some(v) => &v,
595            None => "",
596        }
597    }
598    pub fn clear_insertion_point(&mut self) {
599        self.insertion_point.clear();
600    }
601
602    pub fn has_insertion_point(&self) -> bool {
603        self.insertion_point.is_some()
604    }
605
606    // Param is passed by value, moved
607    pub fn set_insertion_point(&mut self, v: ::std::string::String) {
608        self.insertion_point = ::protobuf::SingularField::some(v);
609    }
610
611    // Mutable pointer to the field.
612    // If field is not initialized, it is initialized with default value first.
613    pub fn mut_insertion_point(&mut self) -> &mut ::std::string::String {
614        if self.insertion_point.is_none() {
615            self.insertion_point.set_default();
616        }
617        self.insertion_point.as_mut().unwrap()
618    }
619
620    // Take field
621    pub fn take_insertion_point(&mut self) -> ::std::string::String {
622        self.insertion_point.take().unwrap_or_else(|| ::std::string::String::new())
623    }
624
625    // optional string content = 15;
626
627
628    pub fn get_content(&self) -> &str {
629        match self.content.as_ref() {
630            Some(v) => &v,
631            None => "",
632        }
633    }
634    pub fn clear_content(&mut self) {
635        self.content.clear();
636    }
637
638    pub fn has_content(&self) -> bool {
639        self.content.is_some()
640    }
641
642    // Param is passed by value, moved
643    pub fn set_content(&mut self, v: ::std::string::String) {
644        self.content = ::protobuf::SingularField::some(v);
645    }
646
647    // Mutable pointer to the field.
648    // If field is not initialized, it is initialized with default value first.
649    pub fn mut_content(&mut self) -> &mut ::std::string::String {
650        if self.content.is_none() {
651            self.content.set_default();
652        }
653        self.content.as_mut().unwrap()
654    }
655
656    // Take field
657    pub fn take_content(&mut self) -> ::std::string::String {
658        self.content.take().unwrap_or_else(|| ::std::string::String::new())
659    }
660}
661
662impl ::protobuf::Message for CodeGeneratorResponse_File {
663    fn is_initialized(&self) -> bool {
664        true
665    }
666
667    fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream) -> ::protobuf::ProtobufResult<()> {
668        while !is.eof()? {
669            let (field_number, wire_type) = is.read_tag_unpack()?;
670            match field_number {
671                1 => {
672                    ::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.name)?;
673                },
674                2 => {
675                    ::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.insertion_point)?;
676                },
677                15 => {
678                    ::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.content)?;
679                },
680                _ => {
681                    ::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())?;
682                },
683            };
684        }
685        ::std::result::Result::Ok(())
686    }
687
688    // Compute sizes of nested messages
689    #[allow(unused_variables)]
690    fn compute_size(&self) -> u32 {
691        let mut my_size = 0;
692        if let Some(ref v) = self.name.as_ref() {
693            my_size += ::protobuf::rt::string_size(1, &v);
694        }
695        if let Some(ref v) = self.insertion_point.as_ref() {
696            my_size += ::protobuf::rt::string_size(2, &v);
697        }
698        if let Some(ref v) = self.content.as_ref() {
699            my_size += ::protobuf::rt::string_size(15, &v);
700        }
701        my_size += ::protobuf::rt::unknown_fields_size(self.get_unknown_fields());
702        self.cached_size.set(my_size);
703        my_size
704    }
705
706    fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
707        if let Some(ref v) = self.name.as_ref() {
708            os.write_string(1, &v)?;
709        }
710        if let Some(ref v) = self.insertion_point.as_ref() {
711            os.write_string(2, &v)?;
712        }
713        if let Some(ref v) = self.content.as_ref() {
714            os.write_string(15, &v)?;
715        }
716        os.write_unknown_fields(self.get_unknown_fields())?;
717        ::std::result::Result::Ok(())
718    }
719
720    fn get_cached_size(&self) -> u32 {
721        self.cached_size.get()
722    }
723
724    fn get_unknown_fields(&self) -> &::protobuf::UnknownFields {
725        &self.unknown_fields
726    }
727
728    fn mut_unknown_fields(&mut self) -> &mut ::protobuf::UnknownFields {
729        &mut self.unknown_fields
730    }
731
732    fn as_any(&self) -> &dyn (::std::any::Any) {
733        self as &dyn (::std::any::Any)
734    }
735    fn as_any_mut(&mut self) -> &mut dyn (::std::any::Any) {
736        self as &mut dyn (::std::any::Any)
737    }
738    fn into_any(self: Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> {
739        self
740    }
741
742    fn descriptor(&self) -> &'static ::protobuf::reflect::MessageDescriptor {
743        Self::descriptor_static()
744    }
745
746    fn new() -> CodeGeneratorResponse_File {
747        CodeGeneratorResponse_File::new()
748    }
749
750    fn descriptor_static() -> &'static ::protobuf::reflect::MessageDescriptor {
751        static mut descriptor: ::protobuf::lazy::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::lazy::Lazy {
752            lock: ::protobuf::lazy::ONCE_INIT,
753            ptr: 0 as *const ::protobuf::reflect::MessageDescriptor,
754        };
755        unsafe {
756            descriptor.get(|| {
757                let mut fields = ::std::vec::Vec::new();
758                fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
759                    "name",
760                    |m: &CodeGeneratorResponse_File| { &m.name },
761                    |m: &mut CodeGeneratorResponse_File| { &mut m.name },
762                ));
763                fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
764                    "insertion_point",
765                    |m: &CodeGeneratorResponse_File| { &m.insertion_point },
766                    |m: &mut CodeGeneratorResponse_File| { &mut m.insertion_point },
767                ));
768                fields.push(::protobuf::reflect::accessor::make_singular_field_accessor::<_, ::protobuf::types::ProtobufTypeString>(
769                    "content",
770                    |m: &CodeGeneratorResponse_File| { &m.content },
771                    |m: &mut CodeGeneratorResponse_File| { &mut m.content },
772                ));
773                ::protobuf::reflect::MessageDescriptor::new::<CodeGeneratorResponse_File>(
774                    "CodeGeneratorResponse_File",
775                    fields,
776                    file_descriptor_proto()
777                )
778            })
779        }
780    }
781
782    fn default_instance() -> &'static CodeGeneratorResponse_File {
783        static mut instance: ::protobuf::lazy::Lazy<CodeGeneratorResponse_File> = ::protobuf::lazy::Lazy {
784            lock: ::protobuf::lazy::ONCE_INIT,
785            ptr: 0 as *const CodeGeneratorResponse_File,
786        };
787        unsafe {
788            instance.get(CodeGeneratorResponse_File::new)
789        }
790    }
791}
792
793impl ::protobuf::Clear for CodeGeneratorResponse_File {
794    fn clear(&mut self) {
795        self.name.clear();
796        self.insertion_point.clear();
797        self.content.clear();
798        self.unknown_fields.clear();
799    }
800}
801
802impl ::std::fmt::Debug for CodeGeneratorResponse_File {
803    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
804        ::protobuf::text_format::fmt(self, f)
805    }
806}
807
808impl ::protobuf::reflect::ProtobufValue for CodeGeneratorResponse_File {
809    fn as_ref(&self) -> ::protobuf::reflect::ProtobufValueRef {
810        ::protobuf::reflect::ProtobufValueRef::Message(self)
811    }
812}
813
814static file_descriptor_proto_data: &'static [u8] = b"\
815    \n%google/protobuf/compiler/plugin.proto\x12\x18google.protobuf.compiler\
816    \x1a\x20google/protobuf/descriptor.proto\"\xa3\x01\n\x14CodeGeneratorReq\
817    uest\x12(\n\x10file_to_generate\x18\x01\x20\x03(\tR\x0efileToGenerate\
818    \x12\x1c\n\tparameter\x18\x02\x20\x01(\tR\tparameter\x12C\n\nproto_file\
819    \x18\x0f\x20\x03(\x0b2$.google.protobuf.FileDescriptorProtoR\tprotoFile\
820    \"\xd6\x01\n\x15CodeGeneratorResponse\x12\x14\n\x05error\x18\x01\x20\x01\
821    (\tR\x05error\x12H\n\x04file\x18\x0f\x20\x03(\x0b24.google.protobuf.comp\
822    iler.CodeGeneratorResponse.FileR\x04file\x1a]\n\x04File\x12\x12\n\x04nam\
823    e\x18\x01\x20\x01(\tR\x04name\x12'\n\x0finsertion_point\x18\x02\x20\x01(\
824    \tR\x0einsertionPoint\x12\x18\n\x07content\x18\x0f\x20\x01(\tR\x07conten\
825    tB7\n\x1ccom.google.protobuf.compilerB\x0cPluginProtosZ\tplugin_goJ\xd29\
826    \n\x07\x12\x05.\0\x95\x01\x01\n\xca\x11\n\x01\x0c\x12\x03.\0\x122\xc1\
827    \x0c\x20Protocol\x20Buffers\x20-\x20Google's\x20data\x20interchange\x20f\
828    ormat\n\x20Copyright\x202008\x20Google\x20Inc.\x20\x20All\x20rights\x20r\
829    eserved.\n\x20https://developers.google.com/protocol-buffers/\n\n\x20Red\
830    istribution\x20and\x20use\x20in\x20source\x20and\x20binary\x20forms,\x20\
831    with\x20or\x20without\n\x20modification,\x20are\x20permitted\x20provided\
832    \x20that\x20the\x20following\x20conditions\x20are\n\x20met:\n\n\x20\x20\
833    \x20\x20\x20*\x20Redistributions\x20of\x20source\x20code\x20must\x20reta\
834    in\x20the\x20above\x20copyright\n\x20notice,\x20this\x20list\x20of\x20co\
835    nditions\x20and\x20the\x20following\x20disclaimer.\n\x20\x20\x20\x20\x20\
836    *\x20Redistributions\x20in\x20binary\x20form\x20must\x20reproduce\x20the\
837    \x20above\n\x20copyright\x20notice,\x20this\x20list\x20of\x20conditions\
838    \x20and\x20the\x20following\x20disclaimer\n\x20in\x20the\x20documentatio\
839    n\x20and/or\x20other\x20materials\x20provided\x20with\x20the\n\x20distri\
840    bution.\n\x20\x20\x20\x20\x20*\x20Neither\x20the\x20name\x20of\x20Google\
841    \x20Inc.\x20nor\x20the\x20names\x20of\x20its\n\x20contributors\x20may\
842    \x20be\x20used\x20to\x20endorse\x20or\x20promote\x20products\x20derived\
843    \x20from\n\x20this\x20software\x20without\x20specific\x20prior\x20writte\
844    n\x20permission.\n\n\x20THIS\x20SOFTWARE\x20IS\x20PROVIDED\x20BY\x20THE\
845    \x20COPYRIGHT\x20HOLDERS\x20AND\x20CONTRIBUTORS\n\x20\"AS\x20IS\"\x20AND\
846    \x20ANY\x20EXPRESS\x20OR\x20IMPLIED\x20WARRANTIES,\x20INCLUDING,\x20BUT\
847    \x20NOT\n\x20LIMITED\x20TO,\x20THE\x20IMPLIED\x20WARRANTIES\x20OF\x20MER\
848    CHANTABILITY\x20AND\x20FITNESS\x20FOR\n\x20A\x20PARTICULAR\x20PURPOSE\
849    \x20ARE\x20DISCLAIMED.\x20IN\x20NO\x20EVENT\x20SHALL\x20THE\x20COPYRIGHT\
850    \n\x20OWNER\x20OR\x20CONTRIBUTORS\x20BE\x20LIABLE\x20FOR\x20ANY\x20DIREC\
851    T,\x20INDIRECT,\x20INCIDENTAL,\n\x20SPECIAL,\x20EXEMPLARY,\x20OR\x20CONS\
852    EQUENTIAL\x20DAMAGES\x20(INCLUDING,\x20BUT\x20NOT\n\x20LIMITED\x20TO,\
853    \x20PROCUREMENT\x20OF\x20SUBSTITUTE\x20GOODS\x20OR\x20SERVICES;\x20LOSS\
854    \x20OF\x20USE,\n\x20DATA,\x20OR\x20PROFITS;\x20OR\x20BUSINESS\x20INTERRU\
855    PTION)\x20HOWEVER\x20CAUSED\x20AND\x20ON\x20ANY\n\x20THEORY\x20OF\x20LIA\
856    BILITY,\x20WHETHER\x20IN\x20CONTRACT,\x20STRICT\x20LIABILITY,\x20OR\x20T\
857    ORT\n\x20(INCLUDING\x20NEGLIGENCE\x20OR\x20OTHERWISE)\x20ARISING\x20IN\
858    \x20ANY\x20WAY\x20OUT\x20OF\x20THE\x20USE\n\x20OF\x20THIS\x20SOFTWARE,\
859    \x20EVEN\x20IF\x20ADVISED\x20OF\x20THE\x20POSSIBILITY\x20OF\x20SUCH\x20D\
860    AMAGE.\n2\xfb\x04\x20Author:\x20kenton@google.com\x20(Kenton\x20Varda)\n\
861    \n\x20WARNING:\x20\x20The\x20plugin\x20interface\x20is\x20currently\x20E\
862    XPERIMENTAL\x20and\x20is\x20subject\x20to\n\x20\x20\x20change.\n\n\x20pr\
863    otoc\x20(aka\x20the\x20Protocol\x20Compiler)\x20can\x20be\x20extended\
864    \x20via\x20plugins.\x20\x20A\x20plugin\x20is\n\x20just\x20a\x20program\
865    \x20that\x20reads\x20a\x20CodeGeneratorRequest\x20from\x20stdin\x20and\
866    \x20writes\x20a\n\x20CodeGeneratorResponse\x20to\x20stdout.\n\n\x20Plugi\
867    ns\x20written\x20using\x20C++\x20can\x20use\x20google/protobuf/compiler/\
868    plugin.h\x20instead\n\x20of\x20dealing\x20with\x20the\x20raw\x20protocol\
869    \x20defined\x20here.\n\n\x20A\x20plugin\x20executable\x20needs\x20only\
870    \x20to\x20be\x20placed\x20somewhere\x20in\x20the\x20path.\x20\x20The\n\
871    \x20plugin\x20should\x20be\x20named\x20\"protoc-gen-$NAME\",\x20and\x20w\
872    ill\x20then\x20be\x20used\x20when\x20the\n\x20flag\x20\"--${NAME}_out\"\
873    \x20is\x20passed\x20to\x20protoc.\n\n\x08\n\x01\x02\x12\x03/\x08\x20\n\
874    \x08\n\x01\x08\x12\x030\05\n\t\n\x02\x08\x01\x12\x030\05\n\x08\n\x01\x08\
875    \x12\x031\0-\n\t\n\x02\x08\x08\x12\x031\0-\n\x08\n\x01\x08\x12\x033\0\
876    \x20\n\t\n\x02\x08\x0b\x12\x033\0\x20\n\t\n\x02\x03\0\x12\x035\x07)\nO\n\
877    \x02\x04\0\x12\x048\0M\x01\x1aC\x20An\x20encoded\x20CodeGeneratorRequest\
878    \x20is\x20written\x20to\x20the\x20plugin's\x20stdin.\n\n\n\n\x03\x04\0\
879    \x01\x12\x038\x08\x1c\n\xd1\x01\n\x04\x04\0\x02\0\x12\x03<\x02'\x1a\xc3\
880    \x01\x20The\x20.proto\x20files\x20that\x20were\x20explicitly\x20listed\
881    \x20on\x20the\x20command-line.\x20\x20The\n\x20code\x20generator\x20shou\
882    ld\x20generate\x20code\x20only\x20for\x20these\x20files.\x20\x20Each\x20\
883    file's\n\x20descriptor\x20will\x20be\x20included\x20in\x20proto_file,\
884    \x20below.\n\n\x0c\n\x05\x04\0\x02\0\x04\x12\x03<\x02\n\n\x0c\n\x05\x04\
885    \0\x02\0\x05\x12\x03<\x0b\x11\n\x0c\n\x05\x04\0\x02\0\x01\x12\x03<\x12\"\
886    \n\x0c\n\x05\x04\0\x02\0\x03\x12\x03<%&\nB\n\x04\x04\0\x02\x01\x12\x03?\
887    \x02\x20\x1a5\x20The\x20generator\x20parameter\x20passed\x20on\x20the\
888    \x20command-line.\n\n\x0c\n\x05\x04\0\x02\x01\x04\x12\x03?\x02\n\n\x0c\n\
889    \x05\x04\0\x02\x01\x05\x12\x03?\x0b\x11\n\x0c\n\x05\x04\0\x02\x01\x01\
890    \x12\x03?\x12\x1b\n\x0c\n\x05\x04\0\x02\x01\x03\x12\x03?\x1e\x1f\n\xa9\
891    \x05\n\x04\x04\0\x02\x02\x12\x03L\x02/\x1a\x9b\x05\x20FileDescriptorProt\
892    os\x20for\x20all\x20files\x20in\x20files_to_generate\x20and\x20everythin\
893    g\n\x20they\x20import.\x20\x20The\x20files\x20will\x20appear\x20in\x20to\
894    pological\x20order,\x20so\x20each\x20file\n\x20appears\x20before\x20any\
895    \x20file\x20that\x20imports\x20it.\n\n\x20protoc\x20guarantees\x20that\
896    \x20all\x20proto_files\x20will\x20be\x20written\x20after\n\x20the\x20fie\
897    lds\x20above,\x20even\x20though\x20this\x20is\x20not\x20technically\x20g\
898    uaranteed\x20by\x20the\n\x20protobuf\x20wire\x20format.\x20\x20This\x20t\
899    heoretically\x20could\x20allow\x20a\x20plugin\x20to\x20stream\n\x20in\
900    \x20the\x20FileDescriptorProtos\x20and\x20handle\x20them\x20one\x20by\
901    \x20one\x20rather\x20than\x20read\n\x20the\x20entire\x20set\x20into\x20m\
902    emory\x20at\x20once.\x20\x20However,\x20as\x20of\x20this\x20writing,\x20\
903    this\n\x20is\x20not\x20similarly\x20optimized\x20on\x20protoc's\x20end\
904    \x20--\x20it\x20will\x20store\x20all\x20fields\x20in\n\x20memory\x20at\
905    \x20once\x20before\x20sending\x20them\x20to\x20the\x20plugin.\n\n\x0c\n\
906    \x05\x04\0\x02\x02\x04\x12\x03L\x02\n\n\x0c\n\x05\x04\0\x02\x02\x06\x12\
907    \x03L\x0b\x1e\n\x0c\n\x05\x04\0\x02\x02\x01\x12\x03L\x1f)\n\x0c\n\x05\
908    \x04\0\x02\x02\x03\x12\x03L,.\nL\n\x02\x04\x01\x12\x05P\0\x95\x01\x01\
909    \x1a?\x20The\x20plugin\x20writes\x20an\x20encoded\x20CodeGeneratorRespon\
910    se\x20to\x20stdout.\n\n\n\n\x03\x04\x01\x01\x12\x03P\x08\x1d\n\xed\x03\n\
911    \x04\x04\x01\x02\0\x12\x03Y\x02\x1c\x1a\xdf\x03\x20Error\x20message.\x20\
912    \x20If\x20non-empty,\x20code\x20generation\x20failed.\x20\x20The\x20plug\
913    in\x20process\n\x20should\x20exit\x20with\x20status\x20code\x20zero\x20e\
914    ven\x20if\x20it\x20reports\x20an\x20error\x20in\x20this\x20way.\n\n\x20T\
915    his\x20should\x20be\x20used\x20to\x20indicate\x20errors\x20in\x20.proto\
916    \x20files\x20which\x20prevent\x20the\n\x20code\x20generator\x20from\x20g\
917    enerating\x20correct\x20code.\x20\x20Errors\x20which\x20indicate\x20a\n\
918    \x20problem\x20in\x20protoc\x20itself\x20--\x20such\x20as\x20the\x20inpu\
919    t\x20CodeGeneratorRequest\x20being\n\x20unparseable\x20--\x20should\x20b\
920    e\x20reported\x20by\x20writing\x20a\x20message\x20to\x20stderr\x20and\n\
921    \x20exiting\x20with\x20a\x20non-zero\x20status\x20code.\n\n\x0c\n\x05\
922    \x04\x01\x02\0\x04\x12\x03Y\x02\n\n\x0c\n\x05\x04\x01\x02\0\x05\x12\x03Y\
923    \x0b\x11\n\x0c\n\x05\x04\x01\x02\0\x01\x12\x03Y\x12\x17\n\x0c\n\x05\x04\
924    \x01\x02\0\x03\x12\x03Y\x1a\x1b\n4\n\x04\x04\x01\x03\0\x12\x05\\\x02\x93\
925    \x01\x03\x1a%\x20Represents\x20a\x20single\x20generated\x20file.\n\n\x0c\
926    \n\x05\x04\x01\x03\0\x01\x12\x03\\\n\x0e\n\xad\x05\n\x06\x04\x01\x03\0\
927    \x02\0\x12\x03h\x04\x1d\x1a\x9d\x05\x20The\x20file\x20name,\x20relative\
928    \x20to\x20the\x20output\x20directory.\x20\x20The\x20name\x20must\x20not\
929    \n\x20contain\x20\".\"\x20or\x20\"..\"\x20components\x20and\x20must\x20b\
930    e\x20relative,\x20not\x20be\x20absolute\x20(so,\n\x20the\x20file\x20cann\
931    ot\x20lie\x20outside\x20the\x20output\x20directory).\x20\x20\"/\"\x20mus\
932    t\x20be\x20used\x20as\n\x20the\x20path\x20separator,\x20not\x20\"\\\".\n\
933    \n\x20If\x20the\x20name\x20is\x20omitted,\x20the\x20content\x20will\x20b\
934    e\x20appended\x20to\x20the\x20previous\n\x20file.\x20\x20This\x20allows\
935    \x20the\x20generator\x20to\x20break\x20large\x20files\x20into\x20small\
936    \x20chunks,\n\x20and\x20allows\x20the\x20generated\x20text\x20to\x20be\
937    \x20streamed\x20back\x20to\x20protoc\x20so\x20that\x20large\n\x20files\
938    \x20need\x20not\x20reside\x20completely\x20in\x20memory\x20at\x20one\x20\
939    time.\x20\x20Note\x20that\x20as\x20of\n\x20this\x20writing\x20protoc\x20\
940    does\x20not\x20optimize\x20for\x20this\x20--\x20it\x20will\x20read\x20th\
941    e\x20entire\n\x20CodeGeneratorResponse\x20before\x20writing\x20files\x20\
942    to\x20disk.\n\n\x0e\n\x07\x04\x01\x03\0\x02\0\x04\x12\x03h\x04\x0c\n\x0e\
943    \n\x07\x04\x01\x03\0\x02\0\x05\x12\x03h\r\x13\n\x0e\n\x07\x04\x01\x03\0\
944    \x02\0\x01\x12\x03h\x14\x18\n\x0e\n\x07\x04\x01\x03\0\x02\0\x03\x12\x03h\
945    \x1b\x1c\n\xae\x10\n\x06\x04\x01\x03\0\x02\x01\x12\x04\x8f\x01\x04(\x1a\
946    \x9d\x10\x20If\x20non-empty,\x20indicates\x20that\x20the\x20named\x20fil\
947    e\x20should\x20already\x20exist,\x20and\x20the\n\x20content\x20here\x20i\
948    s\x20to\x20be\x20inserted\x20into\x20that\x20file\x20at\x20a\x20defined\
949    \x20insertion\n\x20point.\x20\x20This\x20feature\x20allows\x20a\x20code\
950    \x20generator\x20to\x20extend\x20the\x20output\n\x20produced\x20by\x20an\
951    other\x20code\x20generator.\x20\x20The\x20original\x20generator\x20may\
952    \x20provide\n\x20insertion\x20points\x20by\x20placing\x20special\x20anno\
953    tations\x20in\x20the\x20file\x20that\x20look\n\x20like:\n\x20\x20\x20@@p\
954    rotoc_insertion_point(NAME)\n\x20The\x20annotation\x20can\x20have\x20arb\
955    itrary\x20text\x20before\x20and\x20after\x20it\x20on\x20the\x20line,\n\
956    \x20which\x20allows\x20it\x20to\x20be\x20placed\x20in\x20a\x20comment.\
957    \x20\x20NAME\x20should\x20be\x20replaced\x20with\n\x20an\x20identifier\
958    \x20naming\x20the\x20point\x20--\x20this\x20is\x20what\x20other\x20gener\
959    ators\x20will\x20use\n\x20as\x20the\x20insertion_point.\x20\x20Code\x20i\
960    nserted\x20at\x20this\x20point\x20will\x20be\x20placed\n\x20immediately\
961    \x20above\x20the\x20line\x20containing\x20the\x20insertion\x20point\x20(\
962    thus\x20multiple\n\x20insertions\x20to\x20the\x20same\x20point\x20will\
963    \x20come\x20out\x20in\x20the\x20order\x20they\x20were\x20added).\n\x20Th\
964    e\x20double-@\x20is\x20intended\x20to\x20make\x20it\x20unlikely\x20that\
965    \x20the\x20generated\x20code\n\x20could\x20contain\x20things\x20that\x20\
966    look\x20like\x20insertion\x20points\x20by\x20accident.\n\n\x20For\x20exa\
967    mple,\x20the\x20C++\x20code\x20generator\x20places\x20the\x20following\
968    \x20line\x20in\x20the\n\x20.pb.h\x20files\x20that\x20it\x20generates:\n\
969    \x20\x20\x20//\x20@@protoc_insertion_point(namespace_scope)\n\x20This\
970    \x20line\x20appears\x20within\x20the\x20scope\x20of\x20the\x20file's\x20\
971    package\x20namespace,\x20but\n\x20outside\x20of\x20any\x20particular\x20\
972    class.\x20\x20Another\x20plugin\x20can\x20then\x20specify\x20the\n\x20in\
973    sertion_point\x20\"namespace_scope\"\x20to\x20generate\x20additional\x20\
974    classes\x20or\n\x20other\x20declarations\x20that\x20should\x20be\x20plac\
975    ed\x20in\x20this\x20scope.\n\n\x20Note\x20that\x20if\x20the\x20line\x20c\
976    ontaining\x20the\x20insertion\x20point\x20begins\x20with\n\x20whitespace\
977    ,\x20the\x20same\x20whitespace\x20will\x20be\x20added\x20to\x20every\x20\
978    line\x20of\x20the\n\x20inserted\x20text.\x20\x20This\x20is\x20useful\x20\
979    for\x20languages\x20like\x20Python,\x20where\n\x20indentation\x20matters\
980    .\x20\x20In\x20these\x20languages,\x20the\x20insertion\x20point\x20comme\
981    nt\n\x20should\x20be\x20indented\x20the\x20same\x20amount\x20as\x20any\
982    \x20inserted\x20code\x20will\x20need\x20to\x20be\n\x20in\x20order\x20to\
983    \x20work\x20correctly\x20in\x20that\x20context.\n\n\x20The\x20code\x20ge\
984    nerator\x20that\x20generates\x20the\x20initial\x20file\x20and\x20the\x20\
985    one\x20which\n\x20inserts\x20into\x20it\x20must\x20both\x20run\x20as\x20\
986    part\x20of\x20a\x20single\x20invocation\x20of\x20protoc.\n\x20Code\x20ge\
987    nerators\x20are\x20executed\x20in\x20the\x20order\x20in\x20which\x20they\
988    \x20appear\x20on\x20the\n\x20command\x20line.\n\n\x20If\x20|insertion_po\
989    int|\x20is\x20present,\x20|name|\x20must\x20also\x20be\x20present.\n\n\
990    \x0f\n\x07\x04\x01\x03\0\x02\x01\x04\x12\x04\x8f\x01\x04\x0c\n\x0f\n\x07\
991    \x04\x01\x03\0\x02\x01\x05\x12\x04\x8f\x01\r\x13\n\x0f\n\x07\x04\x01\x03\
992    \0\x02\x01\x01\x12\x04\x8f\x01\x14#\n\x0f\n\x07\x04\x01\x03\0\x02\x01\
993    \x03\x12\x04\x8f\x01&'\n$\n\x06\x04\x01\x03\0\x02\x02\x12\x04\x92\x01\
994    \x04!\x1a\x14\x20The\x20file\x20contents.\n\n\x0f\n\x07\x04\x01\x03\0\
995    \x02\x02\x04\x12\x04\x92\x01\x04\x0c\n\x0f\n\x07\x04\x01\x03\0\x02\x02\
996    \x05\x12\x04\x92\x01\r\x13\n\x0f\n\x07\x04\x01\x03\0\x02\x02\x01\x12\x04\
997    \x92\x01\x14\x1b\n\x0f\n\x07\x04\x01\x03\0\x02\x02\x03\x12\x04\x92\x01\
998    \x1e\x20\n\x0c\n\x04\x04\x01\x02\x01\x12\x04\x94\x01\x02\x1a\n\r\n\x05\
999    \x04\x01\x02\x01\x04\x12\x04\x94\x01\x02\n\n\r\n\x05\x04\x01\x02\x01\x06\
1000    \x12\x04\x94\x01\x0b\x0f\n\r\n\x05\x04\x01\x02\x01\x01\x12\x04\x94\x01\
1001    \x10\x14\n\r\n\x05\x04\x01\x02\x01\x03\x12\x04\x94\x01\x17\x19\
1002";
1003
1004static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy {
1005    lock: ::protobuf::lazy::ONCE_INIT,
1006    ptr: 0 as *const ::protobuf::descriptor::FileDescriptorProto,
1007};
1008
1009fn parse_descriptor_proto() -> ::protobuf::descriptor::FileDescriptorProto {
1010    ::protobuf::parse_from_bytes(file_descriptor_proto_data).unwrap()
1011}
1012
1013pub fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
1014    unsafe {
1015        file_descriptor_proto_lazy.get(|| {
1016            parse_descriptor_proto()
1017        })
1018    }
1019}