1#![allow(unknown_lints)]
7#![allow(clippy::all)]
8
9#![allow(unused_attributes)]
10#![cfg_attr(rustfmt, rustfmt::skip)]
11
12#![allow(dead_code)]
13#![allow(missing_docs)]
14#![allow(non_camel_case_types)]
15#![allow(non_snake_case)]
16#![allow(non_upper_case_globals)]
17#![allow(trivial_casts)]
18#![allow(unused_results)]
19#![allow(unused_mut)]
20
21const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_7_2;
26
27#[derive(PartialEq,Clone,Default,Debug)]
30pub struct KnowledgeProto {
31 pub modules: ::std::vec::Vec<::std::string::String>,
35 pub special_fields: ::protobuf::SpecialFields,
38}
39
40impl<'a> ::std::default::Default for &'a KnowledgeProto {
41 fn default() -> &'a KnowledgeProto {
42 <KnowledgeProto as ::protobuf::Message>::default_instance()
43 }
44}
45
46impl KnowledgeProto {
47 pub fn new() -> KnowledgeProto {
48 ::std::default::Default::default()
49 }
50
51 fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
52 let mut fields = ::std::vec::Vec::with_capacity(1);
53 let mut oneofs = ::std::vec::Vec::with_capacity(0);
54 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
55 "modules",
56 |m: &KnowledgeProto| { &m.modules },
57 |m: &mut KnowledgeProto| { &mut m.modules },
58 ));
59 ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<KnowledgeProto>(
60 "KnowledgeProto",
61 fields,
62 oneofs,
63 )
64 }
65}
66
67impl ::protobuf::Message for KnowledgeProto {
68 const NAME: &'static str = "KnowledgeProto";
69
70 fn is_initialized(&self) -> bool {
71 true
72 }
73
74 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
75 while let Some(tag) = is.read_raw_tag_or_eof()? {
76 match tag {
77 10 => {
78 self.modules.push(is.read_string()?);
79 },
80 tag => {
81 ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
82 },
83 };
84 }
85 ::std::result::Result::Ok(())
86 }
87
88 #[allow(unused_variables)]
90 fn compute_size(&self) -> u64 {
91 let mut my_size = 0;
92 for value in &self.modules {
93 my_size += ::protobuf::rt::string_size(1, &value);
94 };
95 my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
96 self.special_fields.cached_size().set(my_size as u32);
97 my_size
98 }
99
100 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
101 for v in &self.modules {
102 os.write_string(1, &v)?;
103 };
104 os.write_unknown_fields(self.special_fields.unknown_fields())?;
105 ::std::result::Result::Ok(())
106 }
107
108 fn special_fields(&self) -> &::protobuf::SpecialFields {
109 &self.special_fields
110 }
111
112 fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
113 &mut self.special_fields
114 }
115
116 fn new() -> KnowledgeProto {
117 KnowledgeProto::new()
118 }
119
120 fn clear(&mut self) {
121 self.modules.clear();
122 self.special_fields.clear();
123 }
124
125 fn default_instance() -> &'static KnowledgeProto {
126 static instance: KnowledgeProto = KnowledgeProto {
127 modules: ::std::vec::Vec::new(),
128 special_fields: ::protobuf::SpecialFields::new(),
129 };
130 &instance
131 }
132}
133
134impl ::protobuf::MessageFull for KnowledgeProto {
135 fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
136 static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
137 descriptor.get(|| file_descriptor().message_by_package_relative_name("KnowledgeProto").unwrap()).clone()
138 }
139}
140
141impl ::std::fmt::Display for KnowledgeProto {
142 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
143 ::protobuf::text_format::fmt(self, f)
144 }
145}
146
147impl ::protobuf::reflect::ProtobufValue for KnowledgeProto {
148 type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
149}
150
151#[derive(PartialEq,Clone,Default,Debug)]
157pub struct ModuleProto {
158 pub alt_ids: ::std::vec::Vec<::std::string::String>,
161 pub name: ::std::option::Option<::std::string::String>,
163 pub excerpt: ::std::option::Option<::std::string::String>,
166 pub lessons: ::std::vec::Vec<::std::string::String>,
169 pub special_fields: ::protobuf::SpecialFields,
172}
173
174impl<'a> ::std::default::Default for &'a ModuleProto {
175 fn default() -> &'a ModuleProto {
176 <ModuleProto as ::protobuf::Message>::default_instance()
177 }
178}
179
180impl ModuleProto {
181 pub fn new() -> ModuleProto {
182 ::std::default::Default::default()
183 }
184
185 pub fn name(&self) -> &str {
188 match self.name.as_ref() {
189 Some(v) => v,
190 None => "",
191 }
192 }
193
194 pub fn clear_name(&mut self) {
195 self.name = ::std::option::Option::None;
196 }
197
198 pub fn has_name(&self) -> bool {
199 self.name.is_some()
200 }
201
202 pub fn set_name(&mut self, v: ::std::string::String) {
204 self.name = ::std::option::Option::Some(v);
205 }
206
207 pub fn mut_name(&mut self) -> &mut ::std::string::String {
210 if self.name.is_none() {
211 self.name = ::std::option::Option::Some(::std::string::String::new());
212 }
213 self.name.as_mut().unwrap()
214 }
215
216 pub fn take_name(&mut self) -> ::std::string::String {
218 self.name.take().unwrap_or_else(|| ::std::string::String::new())
219 }
220
221 pub fn excerpt(&self) -> &str {
224 match self.excerpt.as_ref() {
225 Some(v) => v,
226 None => "",
227 }
228 }
229
230 pub fn clear_excerpt(&mut self) {
231 self.excerpt = ::std::option::Option::None;
232 }
233
234 pub fn has_excerpt(&self) -> bool {
235 self.excerpt.is_some()
236 }
237
238 pub fn set_excerpt(&mut self, v: ::std::string::String) {
240 self.excerpt = ::std::option::Option::Some(v);
241 }
242
243 pub fn mut_excerpt(&mut self) -> &mut ::std::string::String {
246 if self.excerpt.is_none() {
247 self.excerpt = ::std::option::Option::Some(::std::string::String::new());
248 }
249 self.excerpt.as_mut().unwrap()
250 }
251
252 pub fn take_excerpt(&mut self) -> ::std::string::String {
254 self.excerpt.take().unwrap_or_else(|| ::std::string::String::new())
255 }
256
257 fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
258 let mut fields = ::std::vec::Vec::with_capacity(4);
259 let mut oneofs = ::std::vec::Vec::with_capacity(0);
260 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
261 "alt_ids",
262 |m: &ModuleProto| { &m.alt_ids },
263 |m: &mut ModuleProto| { &mut m.alt_ids },
264 ));
265 fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
266 "name",
267 |m: &ModuleProto| { &m.name },
268 |m: &mut ModuleProto| { &mut m.name },
269 ));
270 fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
271 "excerpt",
272 |m: &ModuleProto| { &m.excerpt },
273 |m: &mut ModuleProto| { &mut m.excerpt },
274 ));
275 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
276 "lessons",
277 |m: &ModuleProto| { &m.lessons },
278 |m: &mut ModuleProto| { &mut m.lessons },
279 ));
280 ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<ModuleProto>(
281 "ModuleProto",
282 fields,
283 oneofs,
284 )
285 }
286}
287
288impl ::protobuf::Message for ModuleProto {
289 const NAME: &'static str = "ModuleProto";
290
291 fn is_initialized(&self) -> bool {
292 true
293 }
294
295 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
296 while let Some(tag) = is.read_raw_tag_or_eof()? {
297 match tag {
298 10 => {
299 self.alt_ids.push(is.read_string()?);
300 },
301 18 => {
302 self.name = ::std::option::Option::Some(is.read_string()?);
303 },
304 26 => {
305 self.excerpt = ::std::option::Option::Some(is.read_string()?);
306 },
307 34 => {
308 self.lessons.push(is.read_string()?);
309 },
310 tag => {
311 ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
312 },
313 };
314 }
315 ::std::result::Result::Ok(())
316 }
317
318 #[allow(unused_variables)]
320 fn compute_size(&self) -> u64 {
321 let mut my_size = 0;
322 for value in &self.alt_ids {
323 my_size += ::protobuf::rt::string_size(1, &value);
324 };
325 if let Some(v) = self.name.as_ref() {
326 my_size += ::protobuf::rt::string_size(2, &v);
327 }
328 if let Some(v) = self.excerpt.as_ref() {
329 my_size += ::protobuf::rt::string_size(3, &v);
330 }
331 for value in &self.lessons {
332 my_size += ::protobuf::rt::string_size(4, &value);
333 };
334 my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
335 self.special_fields.cached_size().set(my_size as u32);
336 my_size
337 }
338
339 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
340 for v in &self.alt_ids {
341 os.write_string(1, &v)?;
342 };
343 if let Some(v) = self.name.as_ref() {
344 os.write_string(2, v)?;
345 }
346 if let Some(v) = self.excerpt.as_ref() {
347 os.write_string(3, v)?;
348 }
349 for v in &self.lessons {
350 os.write_string(4, &v)?;
351 };
352 os.write_unknown_fields(self.special_fields.unknown_fields())?;
353 ::std::result::Result::Ok(())
354 }
355
356 fn special_fields(&self) -> &::protobuf::SpecialFields {
357 &self.special_fields
358 }
359
360 fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
361 &mut self.special_fields
362 }
363
364 fn new() -> ModuleProto {
365 ModuleProto::new()
366 }
367
368 fn clear(&mut self) {
369 self.alt_ids.clear();
370 self.name = ::std::option::Option::None;
371 self.excerpt = ::std::option::Option::None;
372 self.lessons.clear();
373 self.special_fields.clear();
374 }
375
376 fn default_instance() -> &'static ModuleProto {
377 static instance: ModuleProto = ModuleProto {
378 alt_ids: ::std::vec::Vec::new(),
379 name: ::std::option::Option::None,
380 excerpt: ::std::option::Option::None,
381 lessons: ::std::vec::Vec::new(),
382 special_fields: ::protobuf::SpecialFields::new(),
383 };
384 &instance
385 }
386}
387
388impl ::protobuf::MessageFull for ModuleProto {
389 fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
390 static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
391 descriptor.get(|| file_descriptor().message_by_package_relative_name("ModuleProto").unwrap()).clone()
392 }
393}
394
395impl ::std::fmt::Display for ModuleProto {
396 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
397 ::protobuf::text_format::fmt(self, f)
398 }
399}
400
401impl ::protobuf::reflect::ProtobufValue for ModuleProto {
402 type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
403}
404
405#[derive(PartialEq,Clone,Default,Debug)]
411pub struct TopicProto {
412 pub alt_ids: ::std::vec::Vec<::std::string::String>,
415 pub name: ::std::option::Option<::std::string::String>,
417 pub special_fields: ::protobuf::SpecialFields,
420}
421
422impl<'a> ::std::default::Default for &'a TopicProto {
423 fn default() -> &'a TopicProto {
424 <TopicProto as ::protobuf::Message>::default_instance()
425 }
426}
427
428impl TopicProto {
429 pub fn new() -> TopicProto {
430 ::std::default::Default::default()
431 }
432
433 pub fn name(&self) -> &str {
436 match self.name.as_ref() {
437 Some(v) => v,
438 None => "",
439 }
440 }
441
442 pub fn clear_name(&mut self) {
443 self.name = ::std::option::Option::None;
444 }
445
446 pub fn has_name(&self) -> bool {
447 self.name.is_some()
448 }
449
450 pub fn set_name(&mut self, v: ::std::string::String) {
452 self.name = ::std::option::Option::Some(v);
453 }
454
455 pub fn mut_name(&mut self) -> &mut ::std::string::String {
458 if self.name.is_none() {
459 self.name = ::std::option::Option::Some(::std::string::String::new());
460 }
461 self.name.as_mut().unwrap()
462 }
463
464 pub fn take_name(&mut self) -> ::std::string::String {
466 self.name.take().unwrap_or_else(|| ::std::string::String::new())
467 }
468
469 fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
470 let mut fields = ::std::vec::Vec::with_capacity(2);
471 let mut oneofs = ::std::vec::Vec::with_capacity(0);
472 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
473 "alt_ids",
474 |m: &TopicProto| { &m.alt_ids },
475 |m: &mut TopicProto| { &mut m.alt_ids },
476 ));
477 fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
478 "name",
479 |m: &TopicProto| { &m.name },
480 |m: &mut TopicProto| { &mut m.name },
481 ));
482 ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<TopicProto>(
483 "TopicProto",
484 fields,
485 oneofs,
486 )
487 }
488}
489
490impl ::protobuf::Message for TopicProto {
491 const NAME: &'static str = "TopicProto";
492
493 fn is_initialized(&self) -> bool {
494 true
495 }
496
497 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
498 while let Some(tag) = is.read_raw_tag_or_eof()? {
499 match tag {
500 10 => {
501 self.alt_ids.push(is.read_string()?);
502 },
503 18 => {
504 self.name = ::std::option::Option::Some(is.read_string()?);
505 },
506 tag => {
507 ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
508 },
509 };
510 }
511 ::std::result::Result::Ok(())
512 }
513
514 #[allow(unused_variables)]
516 fn compute_size(&self) -> u64 {
517 let mut my_size = 0;
518 for value in &self.alt_ids {
519 my_size += ::protobuf::rt::string_size(1, &value);
520 };
521 if let Some(v) = self.name.as_ref() {
522 my_size += ::protobuf::rt::string_size(2, &v);
523 }
524 my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
525 self.special_fields.cached_size().set(my_size as u32);
526 my_size
527 }
528
529 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
530 for v in &self.alt_ids {
531 os.write_string(1, &v)?;
532 };
533 if let Some(v) = self.name.as_ref() {
534 os.write_string(2, v)?;
535 }
536 os.write_unknown_fields(self.special_fields.unknown_fields())?;
537 ::std::result::Result::Ok(())
538 }
539
540 fn special_fields(&self) -> &::protobuf::SpecialFields {
541 &self.special_fields
542 }
543
544 fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
545 &mut self.special_fields
546 }
547
548 fn new() -> TopicProto {
549 TopicProto::new()
550 }
551
552 fn clear(&mut self) {
553 self.alt_ids.clear();
554 self.name = ::std::option::Option::None;
555 self.special_fields.clear();
556 }
557
558 fn default_instance() -> &'static TopicProto {
559 static instance: TopicProto = TopicProto {
560 alt_ids: ::std::vec::Vec::new(),
561 name: ::std::option::Option::None,
562 special_fields: ::protobuf::SpecialFields::new(),
563 };
564 &instance
565 }
566}
567
568impl ::protobuf::MessageFull for TopicProto {
569 fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
570 static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
571 descriptor.get(|| file_descriptor().message_by_package_relative_name("TopicProto").unwrap()).clone()
572 }
573}
574
575impl ::std::fmt::Display for TopicProto {
576 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
577 ::protobuf::text_format::fmt(self, f)
578 }
579}
580
581impl ::protobuf::reflect::ProtobufValue for TopicProto {
582 type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
583}
584
585#[derive(PartialEq,Clone,Default,Debug)]
592pub struct LessonProto {
593 pub alt_ids: ::std::vec::Vec<::std::string::String>,
596 pub name: ::std::option::Option<::std::string::String>,
598 pub authors: ::std::vec::Vec<::std::string::String>,
600 pub reviewers: ::std::vec::Vec<::std::string::String>,
602 pub topics: ::std::vec::Vec<::std::string::String>,
605 pub prev_lessons: ::std::vec::Vec<::std::string::String>,
608 pub next_lessons: ::std::vec::Vec<::std::string::String>,
611 pub related_terms: ::std::vec::Vec<::std::string::String>,
614 pub excerpt: ::std::option::Option<::std::string::String>,
617 pub related_content_urls: ::std::vec::Vec<::std::string::String>,
620 pub special_fields: ::protobuf::SpecialFields,
623}
624
625impl<'a> ::std::default::Default for &'a LessonProto {
626 fn default() -> &'a LessonProto {
627 <LessonProto as ::protobuf::Message>::default_instance()
628 }
629}
630
631impl LessonProto {
632 pub fn new() -> LessonProto {
633 ::std::default::Default::default()
634 }
635
636 pub fn name(&self) -> &str {
639 match self.name.as_ref() {
640 Some(v) => v,
641 None => "",
642 }
643 }
644
645 pub fn clear_name(&mut self) {
646 self.name = ::std::option::Option::None;
647 }
648
649 pub fn has_name(&self) -> bool {
650 self.name.is_some()
651 }
652
653 pub fn set_name(&mut self, v: ::std::string::String) {
655 self.name = ::std::option::Option::Some(v);
656 }
657
658 pub fn mut_name(&mut self) -> &mut ::std::string::String {
661 if self.name.is_none() {
662 self.name = ::std::option::Option::Some(::std::string::String::new());
663 }
664 self.name.as_mut().unwrap()
665 }
666
667 pub fn take_name(&mut self) -> ::std::string::String {
669 self.name.take().unwrap_or_else(|| ::std::string::String::new())
670 }
671
672 pub fn excerpt(&self) -> &str {
675 match self.excerpt.as_ref() {
676 Some(v) => v,
677 None => "",
678 }
679 }
680
681 pub fn clear_excerpt(&mut self) {
682 self.excerpt = ::std::option::Option::None;
683 }
684
685 pub fn has_excerpt(&self) -> bool {
686 self.excerpt.is_some()
687 }
688
689 pub fn set_excerpt(&mut self, v: ::std::string::String) {
691 self.excerpt = ::std::option::Option::Some(v);
692 }
693
694 pub fn mut_excerpt(&mut self) -> &mut ::std::string::String {
697 if self.excerpt.is_none() {
698 self.excerpt = ::std::option::Option::Some(::std::string::String::new());
699 }
700 self.excerpt.as_mut().unwrap()
701 }
702
703 pub fn take_excerpt(&mut self) -> ::std::string::String {
705 self.excerpt.take().unwrap_or_else(|| ::std::string::String::new())
706 }
707
708 fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
709 let mut fields = ::std::vec::Vec::with_capacity(10);
710 let mut oneofs = ::std::vec::Vec::with_capacity(0);
711 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
712 "alt_ids",
713 |m: &LessonProto| { &m.alt_ids },
714 |m: &mut LessonProto| { &mut m.alt_ids },
715 ));
716 fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
717 "name",
718 |m: &LessonProto| { &m.name },
719 |m: &mut LessonProto| { &mut m.name },
720 ));
721 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
722 "authors",
723 |m: &LessonProto| { &m.authors },
724 |m: &mut LessonProto| { &mut m.authors },
725 ));
726 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
727 "reviewers",
728 |m: &LessonProto| { &m.reviewers },
729 |m: &mut LessonProto| { &mut m.reviewers },
730 ));
731 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
732 "topics",
733 |m: &LessonProto| { &m.topics },
734 |m: &mut LessonProto| { &mut m.topics },
735 ));
736 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
737 "prev_lessons",
738 |m: &LessonProto| { &m.prev_lessons },
739 |m: &mut LessonProto| { &mut m.prev_lessons },
740 ));
741 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
742 "next_lessons",
743 |m: &LessonProto| { &m.next_lessons },
744 |m: &mut LessonProto| { &mut m.next_lessons },
745 ));
746 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
747 "related_terms",
748 |m: &LessonProto| { &m.related_terms },
749 |m: &mut LessonProto| { &mut m.related_terms },
750 ));
751 fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
752 "excerpt",
753 |m: &LessonProto| { &m.excerpt },
754 |m: &mut LessonProto| { &mut m.excerpt },
755 ));
756 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
757 "related_content_urls",
758 |m: &LessonProto| { &m.related_content_urls },
759 |m: &mut LessonProto| { &mut m.related_content_urls },
760 ));
761 ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<LessonProto>(
762 "LessonProto",
763 fields,
764 oneofs,
765 )
766 }
767}
768
769impl ::protobuf::Message for LessonProto {
770 const NAME: &'static str = "LessonProto";
771
772 fn is_initialized(&self) -> bool {
773 true
774 }
775
776 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
777 while let Some(tag) = is.read_raw_tag_or_eof()? {
778 match tag {
779 10 => {
780 self.alt_ids.push(is.read_string()?);
781 },
782 18 => {
783 self.name = ::std::option::Option::Some(is.read_string()?);
784 },
785 26 => {
786 self.authors.push(is.read_string()?);
787 },
788 34 => {
789 self.reviewers.push(is.read_string()?);
790 },
791 42 => {
792 self.topics.push(is.read_string()?);
793 },
794 50 => {
795 self.prev_lessons.push(is.read_string()?);
796 },
797 58 => {
798 self.next_lessons.push(is.read_string()?);
799 },
800 66 => {
801 self.related_terms.push(is.read_string()?);
802 },
803 74 => {
804 self.excerpt = ::std::option::Option::Some(is.read_string()?);
805 },
806 82 => {
807 self.related_content_urls.push(is.read_string()?);
808 },
809 tag => {
810 ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
811 },
812 };
813 }
814 ::std::result::Result::Ok(())
815 }
816
817 #[allow(unused_variables)]
819 fn compute_size(&self) -> u64 {
820 let mut my_size = 0;
821 for value in &self.alt_ids {
822 my_size += ::protobuf::rt::string_size(1, &value);
823 };
824 if let Some(v) = self.name.as_ref() {
825 my_size += ::protobuf::rt::string_size(2, &v);
826 }
827 for value in &self.authors {
828 my_size += ::protobuf::rt::string_size(3, &value);
829 };
830 for value in &self.reviewers {
831 my_size += ::protobuf::rt::string_size(4, &value);
832 };
833 for value in &self.topics {
834 my_size += ::protobuf::rt::string_size(5, &value);
835 };
836 for value in &self.prev_lessons {
837 my_size += ::protobuf::rt::string_size(6, &value);
838 };
839 for value in &self.next_lessons {
840 my_size += ::protobuf::rt::string_size(7, &value);
841 };
842 for value in &self.related_terms {
843 my_size += ::protobuf::rt::string_size(8, &value);
844 };
845 if let Some(v) = self.excerpt.as_ref() {
846 my_size += ::protobuf::rt::string_size(9, &v);
847 }
848 for value in &self.related_content_urls {
849 my_size += ::protobuf::rt::string_size(10, &value);
850 };
851 my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
852 self.special_fields.cached_size().set(my_size as u32);
853 my_size
854 }
855
856 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
857 for v in &self.alt_ids {
858 os.write_string(1, &v)?;
859 };
860 if let Some(v) = self.name.as_ref() {
861 os.write_string(2, v)?;
862 }
863 for v in &self.authors {
864 os.write_string(3, &v)?;
865 };
866 for v in &self.reviewers {
867 os.write_string(4, &v)?;
868 };
869 for v in &self.topics {
870 os.write_string(5, &v)?;
871 };
872 for v in &self.prev_lessons {
873 os.write_string(6, &v)?;
874 };
875 for v in &self.next_lessons {
876 os.write_string(7, &v)?;
877 };
878 for v in &self.related_terms {
879 os.write_string(8, &v)?;
880 };
881 if let Some(v) = self.excerpt.as_ref() {
882 os.write_string(9, v)?;
883 }
884 for v in &self.related_content_urls {
885 os.write_string(10, &v)?;
886 };
887 os.write_unknown_fields(self.special_fields.unknown_fields())?;
888 ::std::result::Result::Ok(())
889 }
890
891 fn special_fields(&self) -> &::protobuf::SpecialFields {
892 &self.special_fields
893 }
894
895 fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
896 &mut self.special_fields
897 }
898
899 fn new() -> LessonProto {
900 LessonProto::new()
901 }
902
903 fn clear(&mut self) {
904 self.alt_ids.clear();
905 self.name = ::std::option::Option::None;
906 self.authors.clear();
907 self.reviewers.clear();
908 self.topics.clear();
909 self.prev_lessons.clear();
910 self.next_lessons.clear();
911 self.related_terms.clear();
912 self.excerpt = ::std::option::Option::None;
913 self.related_content_urls.clear();
914 self.special_fields.clear();
915 }
916
917 fn default_instance() -> &'static LessonProto {
918 static instance: LessonProto = LessonProto {
919 alt_ids: ::std::vec::Vec::new(),
920 name: ::std::option::Option::None,
921 authors: ::std::vec::Vec::new(),
922 reviewers: ::std::vec::Vec::new(),
923 topics: ::std::vec::Vec::new(),
924 prev_lessons: ::std::vec::Vec::new(),
925 next_lessons: ::std::vec::Vec::new(),
926 related_terms: ::std::vec::Vec::new(),
927 excerpt: ::std::option::Option::None,
928 related_content_urls: ::std::vec::Vec::new(),
929 special_fields: ::protobuf::SpecialFields::new(),
930 };
931 &instance
932 }
933}
934
935impl ::protobuf::MessageFull for LessonProto {
936 fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
937 static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
938 descriptor.get(|| file_descriptor().message_by_package_relative_name("LessonProto").unwrap()).clone()
939 }
940}
941
942impl ::std::fmt::Display for LessonProto {
943 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
944 ::protobuf::text_format::fmt(self, f)
945 }
946}
947
948impl ::protobuf::reflect::ProtobufValue for LessonProto {
949 type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
950}
951
952#[derive(PartialEq,Clone,Default,Debug)]
958pub struct TermProto {
959 pub alt_ids: ::std::vec::Vec<::std::string::String>,
962 pub name: ::std::option::Option<::std::string::String>,
964 pub excerpt: ::std::option::Option<::std::string::String>,
967 pub related_lessons: ::std::vec::Vec<::std::string::String>,
970 pub related_content_urls: ::std::vec::Vec<::std::string::String>,
973 pub special_fields: ::protobuf::SpecialFields,
976}
977
978impl<'a> ::std::default::Default for &'a TermProto {
979 fn default() -> &'a TermProto {
980 <TermProto as ::protobuf::Message>::default_instance()
981 }
982}
983
984impl TermProto {
985 pub fn new() -> TermProto {
986 ::std::default::Default::default()
987 }
988
989 pub fn name(&self) -> &str {
992 match self.name.as_ref() {
993 Some(v) => v,
994 None => "",
995 }
996 }
997
998 pub fn clear_name(&mut self) {
999 self.name = ::std::option::Option::None;
1000 }
1001
1002 pub fn has_name(&self) -> bool {
1003 self.name.is_some()
1004 }
1005
1006 pub fn set_name(&mut self, v: ::std::string::String) {
1008 self.name = ::std::option::Option::Some(v);
1009 }
1010
1011 pub fn mut_name(&mut self) -> &mut ::std::string::String {
1014 if self.name.is_none() {
1015 self.name = ::std::option::Option::Some(::std::string::String::new());
1016 }
1017 self.name.as_mut().unwrap()
1018 }
1019
1020 pub fn take_name(&mut self) -> ::std::string::String {
1022 self.name.take().unwrap_or_else(|| ::std::string::String::new())
1023 }
1024
1025 pub fn excerpt(&self) -> &str {
1028 match self.excerpt.as_ref() {
1029 Some(v) => v,
1030 None => "",
1031 }
1032 }
1033
1034 pub fn clear_excerpt(&mut self) {
1035 self.excerpt = ::std::option::Option::None;
1036 }
1037
1038 pub fn has_excerpt(&self) -> bool {
1039 self.excerpt.is_some()
1040 }
1041
1042 pub fn set_excerpt(&mut self, v: ::std::string::String) {
1044 self.excerpt = ::std::option::Option::Some(v);
1045 }
1046
1047 pub fn mut_excerpt(&mut self) -> &mut ::std::string::String {
1050 if self.excerpt.is_none() {
1051 self.excerpt = ::std::option::Option::Some(::std::string::String::new());
1052 }
1053 self.excerpt.as_mut().unwrap()
1054 }
1055
1056 pub fn take_excerpt(&mut self) -> ::std::string::String {
1058 self.excerpt.take().unwrap_or_else(|| ::std::string::String::new())
1059 }
1060
1061 fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
1062 let mut fields = ::std::vec::Vec::with_capacity(5);
1063 let mut oneofs = ::std::vec::Vec::with_capacity(0);
1064 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
1065 "alt_ids",
1066 |m: &TermProto| { &m.alt_ids },
1067 |m: &mut TermProto| { &mut m.alt_ids },
1068 ));
1069 fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
1070 "name",
1071 |m: &TermProto| { &m.name },
1072 |m: &mut TermProto| { &mut m.name },
1073 ));
1074 fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
1075 "excerpt",
1076 |m: &TermProto| { &m.excerpt },
1077 |m: &mut TermProto| { &mut m.excerpt },
1078 ));
1079 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
1080 "related_lessons",
1081 |m: &TermProto| { &m.related_lessons },
1082 |m: &mut TermProto| { &mut m.related_lessons },
1083 ));
1084 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
1085 "related_content_urls",
1086 |m: &TermProto| { &m.related_content_urls },
1087 |m: &mut TermProto| { &mut m.related_content_urls },
1088 ));
1089 ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<TermProto>(
1090 "TermProto",
1091 fields,
1092 oneofs,
1093 )
1094 }
1095}
1096
1097impl ::protobuf::Message for TermProto {
1098 const NAME: &'static str = "TermProto";
1099
1100 fn is_initialized(&self) -> bool {
1101 true
1102 }
1103
1104 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
1105 while let Some(tag) = is.read_raw_tag_or_eof()? {
1106 match tag {
1107 10 => {
1108 self.alt_ids.push(is.read_string()?);
1109 },
1110 18 => {
1111 self.name = ::std::option::Option::Some(is.read_string()?);
1112 },
1113 26 => {
1114 self.excerpt = ::std::option::Option::Some(is.read_string()?);
1115 },
1116 34 => {
1117 self.related_lessons.push(is.read_string()?);
1118 },
1119 42 => {
1120 self.related_content_urls.push(is.read_string()?);
1121 },
1122 tag => {
1123 ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1124 },
1125 };
1126 }
1127 ::std::result::Result::Ok(())
1128 }
1129
1130 #[allow(unused_variables)]
1132 fn compute_size(&self) -> u64 {
1133 let mut my_size = 0;
1134 for value in &self.alt_ids {
1135 my_size += ::protobuf::rt::string_size(1, &value);
1136 };
1137 if let Some(v) = self.name.as_ref() {
1138 my_size += ::protobuf::rt::string_size(2, &v);
1139 }
1140 if let Some(v) = self.excerpt.as_ref() {
1141 my_size += ::protobuf::rt::string_size(3, &v);
1142 }
1143 for value in &self.related_lessons {
1144 my_size += ::protobuf::rt::string_size(4, &value);
1145 };
1146 for value in &self.related_content_urls {
1147 my_size += ::protobuf::rt::string_size(5, &value);
1148 };
1149 my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1150 self.special_fields.cached_size().set(my_size as u32);
1151 my_size
1152 }
1153
1154 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
1155 for v in &self.alt_ids {
1156 os.write_string(1, &v)?;
1157 };
1158 if let Some(v) = self.name.as_ref() {
1159 os.write_string(2, v)?;
1160 }
1161 if let Some(v) = self.excerpt.as_ref() {
1162 os.write_string(3, v)?;
1163 }
1164 for v in &self.related_lessons {
1165 os.write_string(4, &v)?;
1166 };
1167 for v in &self.related_content_urls {
1168 os.write_string(5, &v)?;
1169 };
1170 os.write_unknown_fields(self.special_fields.unknown_fields())?;
1171 ::std::result::Result::Ok(())
1172 }
1173
1174 fn special_fields(&self) -> &::protobuf::SpecialFields {
1175 &self.special_fields
1176 }
1177
1178 fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
1179 &mut self.special_fields
1180 }
1181
1182 fn new() -> TermProto {
1183 TermProto::new()
1184 }
1185
1186 fn clear(&mut self) {
1187 self.alt_ids.clear();
1188 self.name = ::std::option::Option::None;
1189 self.excerpt = ::std::option::Option::None;
1190 self.related_lessons.clear();
1191 self.related_content_urls.clear();
1192 self.special_fields.clear();
1193 }
1194
1195 fn default_instance() -> &'static TermProto {
1196 static instance: TermProto = TermProto {
1197 alt_ids: ::std::vec::Vec::new(),
1198 name: ::std::option::Option::None,
1199 excerpt: ::std::option::Option::None,
1200 related_lessons: ::std::vec::Vec::new(),
1201 related_content_urls: ::std::vec::Vec::new(),
1202 special_fields: ::protobuf::SpecialFields::new(),
1203 };
1204 &instance
1205 }
1206}
1207
1208impl ::protobuf::MessageFull for TermProto {
1209 fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
1210 static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
1211 descriptor.get(|| file_descriptor().message_by_package_relative_name("TermProto").unwrap()).clone()
1212 }
1213}
1214
1215impl ::std::fmt::Display for TermProto {
1216 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1217 ::protobuf::text_format::fmt(self, f)
1218 }
1219}
1220
1221impl ::protobuf::reflect::ProtobufValue for TermProto {
1222 type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
1223}
1224
1225#[derive(PartialEq,Clone,Default,Debug)]
1232pub struct ContributorsProto {
1233 pub contributors: ::std::vec::Vec<contributors_proto::ContributorProto>,
1236 pub special_fields: ::protobuf::SpecialFields,
1239}
1240
1241impl<'a> ::std::default::Default for &'a ContributorsProto {
1242 fn default() -> &'a ContributorsProto {
1243 <ContributorsProto as ::protobuf::Message>::default_instance()
1244 }
1245}
1246
1247impl ContributorsProto {
1248 pub fn new() -> ContributorsProto {
1249 ::std::default::Default::default()
1250 }
1251
1252 fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
1253 let mut fields = ::std::vec::Vec::with_capacity(1);
1254 let mut oneofs = ::std::vec::Vec::with_capacity(0);
1255 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
1256 "contributors",
1257 |m: &ContributorsProto| { &m.contributors },
1258 |m: &mut ContributorsProto| { &mut m.contributors },
1259 ));
1260 ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<ContributorsProto>(
1261 "ContributorsProto",
1262 fields,
1263 oneofs,
1264 )
1265 }
1266}
1267
1268impl ::protobuf::Message for ContributorsProto {
1269 const NAME: &'static str = "ContributorsProto";
1270
1271 fn is_initialized(&self) -> bool {
1272 true
1273 }
1274
1275 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
1276 while let Some(tag) = is.read_raw_tag_or_eof()? {
1277 match tag {
1278 10 => {
1279 self.contributors.push(is.read_message()?);
1280 },
1281 tag => {
1282 ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1283 },
1284 };
1285 }
1286 ::std::result::Result::Ok(())
1287 }
1288
1289 #[allow(unused_variables)]
1291 fn compute_size(&self) -> u64 {
1292 let mut my_size = 0;
1293 for value in &self.contributors {
1294 let len = value.compute_size();
1295 my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
1296 };
1297 my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1298 self.special_fields.cached_size().set(my_size as u32);
1299 my_size
1300 }
1301
1302 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
1303 for v in &self.contributors {
1304 ::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
1305 };
1306 os.write_unknown_fields(self.special_fields.unknown_fields())?;
1307 ::std::result::Result::Ok(())
1308 }
1309
1310 fn special_fields(&self) -> &::protobuf::SpecialFields {
1311 &self.special_fields
1312 }
1313
1314 fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
1315 &mut self.special_fields
1316 }
1317
1318 fn new() -> ContributorsProto {
1319 ContributorsProto::new()
1320 }
1321
1322 fn clear(&mut self) {
1323 self.contributors.clear();
1324 self.special_fields.clear();
1325 }
1326
1327 fn default_instance() -> &'static ContributorsProto {
1328 static instance: ContributorsProto = ContributorsProto {
1329 contributors: ::std::vec::Vec::new(),
1330 special_fields: ::protobuf::SpecialFields::new(),
1331 };
1332 &instance
1333 }
1334}
1335
1336impl ::protobuf::MessageFull for ContributorsProto {
1337 fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
1338 static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
1339 descriptor.get(|| file_descriptor().message_by_package_relative_name("ContributorsProto").unwrap()).clone()
1340 }
1341}
1342
1343impl ::std::fmt::Display for ContributorsProto {
1344 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1345 ::protobuf::text_format::fmt(self, f)
1346 }
1347}
1348
1349impl ::protobuf::reflect::ProtobufValue for ContributorsProto {
1350 type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
1351}
1352
1353pub mod contributors_proto {
1355 #[derive(PartialEq,Clone,Default,Debug)]
1357 pub struct ContributorProto {
1358 pub name: ::std::option::Option<::std::string::String>,
1361 pub personal_site: ::std::option::Option<::std::string::String>,
1364 pub special_fields: ::protobuf::SpecialFields,
1367 }
1368
1369 impl<'a> ::std::default::Default for &'a ContributorProto {
1370 fn default() -> &'a ContributorProto {
1371 <ContributorProto as ::protobuf::Message>::default_instance()
1372 }
1373 }
1374
1375 impl ContributorProto {
1376 pub fn new() -> ContributorProto {
1377 ::std::default::Default::default()
1378 }
1379
1380 pub fn name(&self) -> &str {
1383 match self.name.as_ref() {
1384 Some(v) => v,
1385 None => "",
1386 }
1387 }
1388
1389 pub fn clear_name(&mut self) {
1390 self.name = ::std::option::Option::None;
1391 }
1392
1393 pub fn has_name(&self) -> bool {
1394 self.name.is_some()
1395 }
1396
1397 pub fn set_name(&mut self, v: ::std::string::String) {
1399 self.name = ::std::option::Option::Some(v);
1400 }
1401
1402 pub fn mut_name(&mut self) -> &mut ::std::string::String {
1405 if self.name.is_none() {
1406 self.name = ::std::option::Option::Some(::std::string::String::new());
1407 }
1408 self.name.as_mut().unwrap()
1409 }
1410
1411 pub fn take_name(&mut self) -> ::std::string::String {
1413 self.name.take().unwrap_or_else(|| ::std::string::String::new())
1414 }
1415
1416 pub fn personal_site(&self) -> &str {
1419 match self.personal_site.as_ref() {
1420 Some(v) => v,
1421 None => "",
1422 }
1423 }
1424
1425 pub fn clear_personal_site(&mut self) {
1426 self.personal_site = ::std::option::Option::None;
1427 }
1428
1429 pub fn has_personal_site(&self) -> bool {
1430 self.personal_site.is_some()
1431 }
1432
1433 pub fn set_personal_site(&mut self, v: ::std::string::String) {
1435 self.personal_site = ::std::option::Option::Some(v);
1436 }
1437
1438 pub fn mut_personal_site(&mut self) -> &mut ::std::string::String {
1441 if self.personal_site.is_none() {
1442 self.personal_site = ::std::option::Option::Some(::std::string::String::new());
1443 }
1444 self.personal_site.as_mut().unwrap()
1445 }
1446
1447 pub fn take_personal_site(&mut self) -> ::std::string::String {
1449 self.personal_site.take().unwrap_or_else(|| ::std::string::String::new())
1450 }
1451
1452 pub(in super) fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
1453 let mut fields = ::std::vec::Vec::with_capacity(2);
1454 let mut oneofs = ::std::vec::Vec::with_capacity(0);
1455 fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
1456 "name",
1457 |m: &ContributorProto| { &m.name },
1458 |m: &mut ContributorProto| { &mut m.name },
1459 ));
1460 fields.push(::protobuf::reflect::rt::v2::make_option_accessor::<_, _>(
1461 "personal_site",
1462 |m: &ContributorProto| { &m.personal_site },
1463 |m: &mut ContributorProto| { &mut m.personal_site },
1464 ));
1465 ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<ContributorProto>(
1466 "ContributorsProto.ContributorProto",
1467 fields,
1468 oneofs,
1469 )
1470 }
1471 }
1472
1473 impl ::protobuf::Message for ContributorProto {
1474 const NAME: &'static str = "ContributorProto";
1475
1476 fn is_initialized(&self) -> bool {
1477 true
1478 }
1479
1480 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
1481 while let Some(tag) = is.read_raw_tag_or_eof()? {
1482 match tag {
1483 10 => {
1484 self.name = ::std::option::Option::Some(is.read_string()?);
1485 },
1486 18 => {
1487 self.personal_site = ::std::option::Option::Some(is.read_string()?);
1488 },
1489 tag => {
1490 ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1491 },
1492 };
1493 }
1494 ::std::result::Result::Ok(())
1495 }
1496
1497 #[allow(unused_variables)]
1499 fn compute_size(&self) -> u64 {
1500 let mut my_size = 0;
1501 if let Some(v) = self.name.as_ref() {
1502 my_size += ::protobuf::rt::string_size(1, &v);
1503 }
1504 if let Some(v) = self.personal_site.as_ref() {
1505 my_size += ::protobuf::rt::string_size(2, &v);
1506 }
1507 my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1508 self.special_fields.cached_size().set(my_size as u32);
1509 my_size
1510 }
1511
1512 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
1513 if let Some(v) = self.name.as_ref() {
1514 os.write_string(1, v)?;
1515 }
1516 if let Some(v) = self.personal_site.as_ref() {
1517 os.write_string(2, v)?;
1518 }
1519 os.write_unknown_fields(self.special_fields.unknown_fields())?;
1520 ::std::result::Result::Ok(())
1521 }
1522
1523 fn special_fields(&self) -> &::protobuf::SpecialFields {
1524 &self.special_fields
1525 }
1526
1527 fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
1528 &mut self.special_fields
1529 }
1530
1531 fn new() -> ContributorProto {
1532 ContributorProto::new()
1533 }
1534
1535 fn clear(&mut self) {
1536 self.name = ::std::option::Option::None;
1537 self.personal_site = ::std::option::Option::None;
1538 self.special_fields.clear();
1539 }
1540
1541 fn default_instance() -> &'static ContributorProto {
1542 static instance: ContributorProto = ContributorProto {
1543 name: ::std::option::Option::None,
1544 personal_site: ::std::option::Option::None,
1545 special_fields: ::protobuf::SpecialFields::new(),
1546 };
1547 &instance
1548 }
1549 }
1550
1551 impl ::protobuf::MessageFull for ContributorProto {
1552 fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
1553 static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
1554 descriptor.get(|| super::file_descriptor().message_by_package_relative_name("ContributorsProto.ContributorProto").unwrap()).clone()
1555 }
1556 }
1557
1558 impl ::std::fmt::Display for ContributorProto {
1559 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1560 ::protobuf::text_format::fmt(self, f)
1561 }
1562 }
1563
1564 impl ::protobuf::reflect::ProtobufValue for ContributorProto {
1565 type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
1566 }
1567}
1568
1569static file_descriptor_proto_data: &'static [u8] = b"\
1570 \n\x0fknowledge.proto\x12\x05fonts\"*\n\x0eKnowledgeProto\x12\x18\n\x07m\
1571 odules\x18\x01\x20\x03(\tR\x07modules\"n\n\x0bModuleProto\x12\x17\n\x07a\
1572 lt_ids\x18\x01\x20\x03(\tR\x06altIds\x12\x12\n\x04name\x18\x02\x20\x01(\
1573 \tR\x04name\x12\x18\n\x07excerpt\x18\x03\x20\x01(\tR\x07excerpt\x12\x18\
1574 \n\x07lessons\x18\x04\x20\x03(\tR\x07lessons\"9\n\nTopicProto\x12\x17\n\
1575 \x07alt_ids\x18\x01\x20\x03(\tR\x06altIds\x12\x12\n\x04name\x18\x02\x20\
1576 \x01(\tR\x04name\"\xc1\x02\n\x0bLessonProto\x12\x17\n\x07alt_ids\x18\x01\
1577 \x20\x03(\tR\x06altIds\x12\x12\n\x04name\x18\x02\x20\x01(\tR\x04name\x12\
1578 \x18\n\x07authors\x18\x03\x20\x03(\tR\x07authors\x12\x1c\n\treviewers\
1579 \x18\x04\x20\x03(\tR\treviewers\x12\x16\n\x06topics\x18\x05\x20\x03(\tR\
1580 \x06topics\x12!\n\x0cprev_lessons\x18\x06\x20\x03(\tR\x0bprevLessons\x12\
1581 !\n\x0cnext_lessons\x18\x07\x20\x03(\tR\x0bnextLessons\x12#\n\rrelated_t\
1582 erms\x18\x08\x20\x03(\tR\x0crelatedTerms\x12\x18\n\x07excerpt\x18\t\x20\
1583 \x01(\tR\x07excerpt\x120\n\x14related_content_urls\x18\n\x20\x03(\tR\x12\
1584 relatedContentUrls\"\xad\x01\n\tTermProto\x12\x17\n\x07alt_ids\x18\x01\
1585 \x20\x03(\tR\x06altIds\x12\x12\n\x04name\x18\x02\x20\x01(\tR\x04name\x12\
1586 \x18\n\x07excerpt\x18\x03\x20\x01(\tR\x07excerpt\x12'\n\x0frelated_lesso\
1587 ns\x18\x04\x20\x03(\tR\x0erelatedLessons\x120\n\x14related_content_urls\
1588 \x18\x05\x20\x03(\tR\x12relatedContentUrls\"\xaf\x01\n\x11ContributorsPr\
1589 oto\x12M\n\x0ccontributors\x18\x01\x20\x03(\x0b2).fonts.ContributorsProt\
1590 o.ContributorProtoR\x0ccontributors\x1aK\n\x10ContributorProto\x12\x12\n\
1591 \x04name\x18\x01\x20\x01(\tR\x04name\x12#\n\rpersonal_site\x18\x02\x20\
1592 \x01(\tR\x0cpersonalSiteB#\n\x16com.google.fonts.protoB\tKnowledgeJ\xaa\
1593 \x19\n\x06\x12\x04\0\0f\x01\n\x08\n\x01\x0c\x12\x03\0\0\x12\nO\n\x01\x02\
1594 \x12\x03\x05\0\x0e\x1aE*\n\x20Proto\x20definitions\x20for\x20Fonts\x20Kn\
1595 owledge\x20metadata\x20in\x20the\x20filesystem.\n\n\x08\n\x01\x08\x12\
1596 \x03\x07\0/\n\t\n\x02\x08\x01\x12\x03\x07\0/\n\x08\n\x01\x08\x12\x03\x08\
1597 \0*\n\t\n\x02\x08\x08\x12\x03\x08\0*\n\"\n\x02\x04\0\x12\x04\x0b\0\x0f\
1598 \x01\x1a\x16*\x20Knowledge\x20metadata.\x20\n\n\n\x03\x04\0\x01\x12\x03\
1599 \x0b\x08\x16\n0\n\x04\x04\0\x02\0\x12\x03\r\x02\x1e\x1a\x17*\x20Module\
1600 \x20ids\x20in\x20order.\x20\"\n\x20Next\x20=\x202\n\n\x0c\n\x05\x04\0\
1601 \x02\0\x04\x12\x03\r\x02\n\n\x0c\n\x05\x04\0\x02\0\x05\x12\x03\r\x0b\x11\
1602 \n\x0c\n\x05\x04\0\x02\0\x01\x12\x03\r\x12\x19\n\x0c\n\x05\x04\0\x02\0\
1603 \x03\x12\x03\r\x1c\x1d\nl\n\x02\x04\x01\x12\x04\x16\0\x1e\x01\x1a`*\n\
1604 \x20Knowledge\x20module\x20metadata.\n\n\x20<p>Module\x20id\x20is\x20inf\
1605 erred\x20from\x20directory\x20name\x20in\x20the\x20filesystem.\n\n\n\n\
1606 \x03\x04\x01\x01\x12\x03\x16\x08\x13\n\x0b\n\x04\x04\x01\x02\0\x12\x03\
1607 \x17\x02\x1e\n\x0c\n\x05\x04\x01\x02\0\x04\x12\x03\x17\x02\n\n\x0c\n\x05\
1608 \x04\x01\x02\0\x05\x12\x03\x17\x0b\x11\n\x0c\n\x05\x04\x01\x02\0\x01\x12\
1609 \x03\x17\x12\x19\n\x0c\n\x05\x04\x01\x02\0\x03\x12\x03\x17\x1c\x1d\n\x0b\
1610 \n\x04\x04\x01\x02\x01\x12\x03\x18\x02\x1b\n\x0c\n\x05\x04\x01\x02\x01\
1611 \x04\x12\x03\x18\x02\n\n\x0c\n\x05\x04\x01\x02\x01\x05\x12\x03\x18\x0b\
1612 \x11\n\x0c\n\x05\x04\x01\x02\x01\x01\x12\x03\x18\x12\x16\n\x0c\n\x05\x04\
1613 \x01\x02\x01\x03\x12\x03\x18\x19\x1a\n0\n\x04\x04\x01\x02\x02\x12\x03\
1614 \x1a\x02\x1e\x1a#*\x20Brief\x20description\x20of\x20the\x20module.\x20\n\
1615 \x0c\n\x05\x04\x01\x02\x02\x04\x12\x03\x1a\x02\n\n\x0c\n\x05\x04\x01\x02\
1616 \x02\x05\x12\x03\x1a\x0b\x11\n\x0c\n\x05\x04\x01\x02\x02\x01\x12\x03\x1a\
1617 \x12\x19\n\x0c\n\x05\x04\x01\x02\x02\x03\x12\x03\x1a\x1c\x1d\n@\n\x04\
1618 \x04\x01\x02\x03\x12\x03\x1c\x02\x1e\x1a'*\x20Ids\x20of\x20constituent\
1619 \x20lessons\x20in\x20order.\x20\"\n\x20Next\x20=\x205\n\n\x0c\n\x05\x04\
1620 \x01\x02\x03\x04\x12\x03\x1c\x02\n\n\x0c\n\x05\x04\x01\x02\x03\x05\x12\
1621 \x03\x1c\x0b\x11\n\x0c\n\x05\x04\x01\x02\x03\x01\x12\x03\x1c\x12\x19\n\
1622 \x0c\n\x05\x04\x01\x02\x03\x03\x12\x03\x1c\x1c\x1d\nj\n\x02\x04\x02\x12\
1623 \x04%\0)\x01\x1a^*\n\x20Knowledge\x20topic\x20metadata.\n\n\x20<p>Topic\
1624 \x20id\x20is\x20inferred\x20from\x20directory\x20name\x20in\x20the\x20fi\
1625 lesystem.\n\n\n\n\x03\x04\x02\x01\x12\x03%\x08\x12\n\x0b\n\x04\x04\x02\
1626 \x02\0\x12\x03&\x02\x1e\n\x0c\n\x05\x04\x02\x02\0\x04\x12\x03&\x02\n\n\
1627 \x0c\n\x05\x04\x02\x02\0\x05\x12\x03&\x0b\x11\n\x0c\n\x05\x04\x02\x02\0\
1628 \x01\x12\x03&\x12\x19\n\x0c\n\x05\x04\x02\x02\0\x03\x12\x03&\x1c\x1d\n\
1629 \x17\n\x04\x04\x02\x02\x01\x12\x03'\x02\x1b\"\n\x20Next\x20=\x203\n\n\
1630 \x0c\n\x05\x04\x02\x02\x01\x04\x12\x03'\x02\n\n\x0c\n\x05\x04\x02\x02\
1631 \x01\x05\x12\x03'\x0b\x11\n\x0c\n\x05\x04\x02\x02\x01\x01\x12\x03'\x12\
1632 \x16\n\x0c\n\x05\x04\x02\x02\x01\x03\x12\x03'\x19\x1a\n\x89\x01\n\x02\
1633 \x04\x03\x12\x041\0C\x01\x1a}*\n\x20Knowledge\x20lesson\x20metadata.\n\n\
1634 \x20<p>Lesson\x20id,\x20as\x20well\x20as\x20id\x20of\x20the\x20parent\
1635 \x20module,\x20are\x20inferred\x20from\x20path\x20in\n\x20the\x20filesys\
1636 tem.\n\n\n\n\x03\x04\x03\x01\x12\x031\x08\x13\n\x0b\n\x04\x04\x03\x02\0\
1637 \x12\x032\x02\x1e\n\x0c\n\x05\x04\x03\x02\0\x04\x12\x032\x02\n\n\x0c\n\
1638 \x05\x04\x03\x02\0\x05\x12\x032\x0b\x11\n\x0c\n\x05\x04\x03\x02\0\x01\
1639 \x12\x032\x12\x19\n\x0c\n\x05\x04\x03\x02\0\x03\x12\x032\x1c\x1d\n\x0b\n\
1640 \x04\x04\x03\x02\x01\x12\x033\x02\x1b\n\x0c\n\x05\x04\x03\x02\x01\x04\
1641 \x12\x033\x02\n\n\x0c\n\x05\x04\x03\x02\x01\x05\x12\x033\x0b\x11\n\x0c\n\
1642 \x05\x04\x03\x02\x01\x01\x12\x033\x12\x16\n\x0c\n\x05\x04\x03\x02\x01\
1643 \x03\x12\x033\x19\x1a\n\x0b\n\x04\x04\x03\x02\x02\x12\x034\x02\x1e\n\x0c\
1644 \n\x05\x04\x03\x02\x02\x04\x12\x034\x02\n\n\x0c\n\x05\x04\x03\x02\x02\
1645 \x05\x12\x034\x0b\x11\n\x0c\n\x05\x04\x03\x02\x02\x01\x12\x034\x12\x19\n\
1646 \x0c\n\x05\x04\x03\x02\x02\x03\x12\x034\x1c\x1d\n\x0b\n\x04\x04\x03\x02\
1647 \x03\x12\x035\x02\x20\n\x0c\n\x05\x04\x03\x02\x03\x04\x12\x035\x02\n\n\
1648 \x0c\n\x05\x04\x03\x02\x03\x05\x12\x035\x0b\x11\n\x0c\n\x05\x04\x03\x02\
1649 \x03\x01\x12\x035\x12\x1b\n\x0c\n\x05\x04\x03\x02\x03\x03\x12\x035\x1e\
1650 \x1f\n%\n\x04\x04\x03\x02\x04\x12\x037\x02\x1d\x1a\x18*\x20Ids\x20of\x20\
1651 tagged\x20topics.\x20\n\x0c\n\x05\x04\x03\x02\x04\x04\x12\x037\x02\n\n\
1652 \x0c\n\x05\x04\x03\x02\x04\x05\x12\x037\x0b\x11\n\x0c\n\x05\x04\x03\x02\
1653 \x04\x01\x12\x037\x12\x18\n\x0c\n\x05\x04\x03\x02\x04\x03\x12\x037\x1b\
1654 \x1c\n7\n\x04\x04\x03\x02\x05\x12\x039\x02#\x1a**\x20Ids\x20of\x20lesson\
1655 s\x20to\x20read\x20before\x20this\x20one.\x20\n\x0c\n\x05\x04\x03\x02\
1656 \x05\x04\x12\x039\x02\n\n\x0c\n\x05\x04\x03\x02\x05\x05\x12\x039\x0b\x11\
1657 \n\x0c\n\x05\x04\x03\x02\x05\x01\x12\x039\x12\x1e\n\x0c\n\x05\x04\x03\
1658 \x02\x05\x03\x12\x039!\"\n6\n\x04\x04\x03\x02\x06\x12\x03;\x02#\x1a)*\
1659 \x20Ids\x20of\x20lessons\x20to\x20read\x20after\x20this\x20one.\x20\n\
1660 \x0c\n\x05\x04\x03\x02\x06\x04\x12\x03;\x02\n\n\x0c\n\x05\x04\x03\x02\
1661 \x06\x05\x12\x03;\x0b\x11\n\x0c\n\x05\x04\x03\x02\x06\x01\x12\x03;\x12\
1662 \x1e\n\x0c\n\x05\x04\x03\x02\x06\x03\x12\x03;!\"\n.\n\x04\x04\x03\x02\
1663 \x07\x12\x03=\x02$\x1a!*\x20Ids\x20of\x20related\x20glossary\x20terms.\
1664 \x20\n\x0c\n\x05\x04\x03\x02\x07\x04\x12\x03=\x02\n\n\x0c\n\x05\x04\x03\
1665 \x02\x07\x05\x12\x03=\x0b\x11\n\x0c\n\x05\x04\x03\x02\x07\x01\x12\x03=\
1666 \x12\x1f\n\x0c\n\x05\x04\x03\x02\x07\x03\x12\x03=\"#\n0\n\x04\x04\x03\
1667 \x02\x08\x12\x03?\x02\x1e\x1a#*\x20Brief\x20description\x20of\x20the\x20\
1668 lesson.\x20\n\x0c\n\x05\x04\x03\x02\x08\x04\x12\x03?\x02\n\n\x0c\n\x05\
1669 \x04\x03\x02\x08\x05\x12\x03?\x0b\x11\n\x0c\n\x05\x04\x03\x02\x08\x01\
1670 \x12\x03?\x12\x19\n\x0c\n\x05\x04\x03\x02\x08\x03\x12\x03?\x1c\x1d\nW\n\
1671 \x04\x04\x03\x02\t\x12\x03A\x02,\x1a=*\x20URLs\x20of\x20related\x20conte\
1672 nt,\x20for\x20example\x20for\x20use\x20in\x20an\x20iframe.\x20\"\x0b\x20\
1673 Next\x20=\x2011\n\n\x0c\n\x05\x04\x03\x02\t\x04\x12\x03A\x02\n\n\x0c\n\
1674 \x05\x04\x03\x02\t\x05\x12\x03A\x0b\x11\n\x0c\n\x05\x04\x03\x02\t\x01\
1675 \x12\x03A\x12&\n\x0c\n\x05\x04\x03\x02\t\x03\x12\x03A)+\nq\n\x02\x04\x04\
1676 \x12\x04J\0T\x01\x1ae*\n\x20Knowledge\x20glossary\x20term\x20metadata.\n\
1677 \n\x20<p>Term\x20id\x20is\x20inferred\x20from\x20directory\x20name\x20in\
1678 \x20the\x20filesystem.\n\n\n\n\x03\x04\x04\x01\x12\x03J\x08\x11\n\x0b\n\
1679 \x04\x04\x04\x02\0\x12\x03K\x02\x1e\n\x0c\n\x05\x04\x04\x02\0\x04\x12\
1680 \x03K\x02\n\n\x0c\n\x05\x04\x04\x02\0\x05\x12\x03K\x0b\x11\n\x0c\n\x05\
1681 \x04\x04\x02\0\x01\x12\x03K\x12\x19\n\x0c\n\x05\x04\x04\x02\0\x03\x12\
1682 \x03K\x1c\x1d\n\x0b\n\x04\x04\x04\x02\x01\x12\x03L\x02\x1b\n\x0c\n\x05\
1683 \x04\x04\x02\x01\x04\x12\x03L\x02\n\n\x0c\n\x05\x04\x04\x02\x01\x05\x12\
1684 \x03L\x0b\x11\n\x0c\n\x05\x04\x04\x02\x01\x01\x12\x03L\x12\x16\n\x0c\n\
1685 \x05\x04\x04\x02\x01\x03\x12\x03L\x19\x1a\n7\n\x04\x04\x04\x02\x02\x12\
1686 \x03N\x02\x1e\x1a**\x20Brief\x20description\x20of\x20the\x20glossary\x20\
1687 term.\x20\n\x0c\n\x05\x04\x04\x02\x02\x04\x12\x03N\x02\n\n\x0c\n\x05\x04\
1688 \x04\x02\x02\x05\x12\x03N\x0b\x11\n\x0c\n\x05\x04\x04\x02\x02\x01\x12\
1689 \x03N\x12\x19\n\x0c\n\x05\x04\x04\x02\x02\x03\x12\x03N\x1c\x1d\n'\n\x04\
1690 \x04\x04\x02\x03\x12\x03P\x02&\x1a\x1a*\x20Ids\x20of\x20related\x20lesso\
1691 ns.\x20\n\x0c\n\x05\x04\x04\x02\x03\x04\x12\x03P\x02\n\n\x0c\n\x05\x04\
1692 \x04\x02\x03\x05\x12\x03P\x0b\x11\n\x0c\n\x05\x04\x04\x02\x03\x01\x12\
1693 \x03P\x12!\n\x0c\n\x05\x04\x04\x02\x03\x03\x12\x03P$%\nV\n\x04\x04\x04\
1694 \x02\x04\x12\x03R\x02+\x1a=*\x20URLs\x20of\x20related\x20content,\x20for\
1695 \x20example\x20for\x20use\x20in\x20an\x20iframe.\x20\"\n\x20Next\x20=\
1696 \x206\n\n\x0c\n\x05\x04\x04\x02\x04\x04\x12\x03R\x02\n\n\x0c\n\x05\x04\
1697 \x04\x02\x04\x05\x12\x03R\x0b\x11\n\x0c\n\x05\x04\x04\x02\x04\x01\x12\
1698 \x03R\x12&\n\x0c\n\x05\x04\x04\x02\x04\x03\x12\x03R)*\n\x86\x01\n\x02\
1699 \x04\x05\x12\x04\\\0f\x01\x1az*\n\x20Knowledge\x20contributor\x20metadat\
1700 a.\n\n\x20<p>Contributors\x20appear\x20in\x20other\x20Knowledge\x20metad\
1701 ata\x20as\x20authors/reviewers\x20of\n\x20lessons.\n\n\n\n\x03\x04\x05\
1702 \x01\x12\x03\\\x08\x19\n\x17\n\x04\x04\x05\x02\0\x12\x03]\x02-\"\n\x20Ne\
1703 xt\x20=\x202\n\n\x0c\n\x05\x04\x05\x02\0\x04\x12\x03]\x02\n\n\x0c\n\x05\
1704 \x04\x05\x02\0\x06\x12\x03]\x0b\x1b\n\x0c\n\x05\x04\x05\x02\0\x01\x12\
1705 \x03]\x1c(\n\x0c\n\x05\x04\x05\x02\0\x03\x12\x03]+,\n\x0c\n\x04\x04\x05\
1706 \x03\0\x12\x04`\x02e\x03\n\x0c\n\x05\x04\x05\x03\0\x01\x12\x03`\n\x1a\n\
1707 \r\n\x06\x04\x05\x03\0\x02\0\x12\x03a\x04\x1d\n\x0e\n\x07\x04\x05\x03\0\
1708 \x02\0\x04\x12\x03a\x04\x0c\n\x0e\n\x07\x04\x05\x03\0\x02\0\x05\x12\x03a\
1709 \r\x13\n\x0e\n\x07\x04\x05\x03\0\x02\0\x01\x12\x03a\x14\x18\n\x0e\n\x07\
1710 \x04\x05\x03\0\x02\0\x03\x12\x03a\x1b\x1c\n@\n\x06\x04\x05\x03\0\x02\x01\
1711 \x12\x03c\x04&\x1a%*\x20URL\x20to\x20the\x20person's\x20personal\x20site\
1712 .\x20\"\n\x20Next\x20=\x203\n\n\x0e\n\x07\x04\x05\x03\0\x02\x01\x04\x12\
1713 \x03c\x04\x0c\n\x0e\n\x07\x04\x05\x03\0\x02\x01\x05\x12\x03c\r\x13\n\x0e\
1714 \n\x07\x04\x05\x03\0\x02\x01\x01\x12\x03c\x14!\n\x0e\n\x07\x04\x05\x03\0\
1715 \x02\x01\x03\x12\x03c$%\
1716";
1717
1718fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
1720 static file_descriptor_proto_lazy: ::protobuf::rt::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::Lazy::new();
1721 file_descriptor_proto_lazy.get(|| {
1722 ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
1723 })
1724}
1725
1726pub fn file_descriptor() -> &'static ::protobuf::reflect::FileDescriptor {
1728 static generated_file_descriptor_lazy: ::protobuf::rt::Lazy<::protobuf::reflect::GeneratedFileDescriptor> = ::protobuf::rt::Lazy::new();
1729 static file_descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::FileDescriptor> = ::protobuf::rt::Lazy::new();
1730 file_descriptor.get(|| {
1731 let generated_file_descriptor = generated_file_descriptor_lazy.get(|| {
1732 let mut deps = ::std::vec::Vec::with_capacity(0);
1733 let mut messages = ::std::vec::Vec::with_capacity(7);
1734 messages.push(KnowledgeProto::generated_message_descriptor_data());
1735 messages.push(ModuleProto::generated_message_descriptor_data());
1736 messages.push(TopicProto::generated_message_descriptor_data());
1737 messages.push(LessonProto::generated_message_descriptor_data());
1738 messages.push(TermProto::generated_message_descriptor_data());
1739 messages.push(ContributorsProto::generated_message_descriptor_data());
1740 messages.push(contributors_proto::ContributorProto::generated_message_descriptor_data());
1741 let mut enums = ::std::vec::Vec::with_capacity(0);
1742 ::protobuf::reflect::GeneratedFileDescriptor::new_generated(
1743 file_descriptor_proto(),
1744 deps,
1745 messages,
1746 enums,
1747 )
1748 });
1749 ::protobuf::reflect::FileDescriptor::new_generated_2(generated_file_descriptor)
1750 })
1751}