1 // This file is generated by rust-protobuf 3.2.0. Do not edit
2 // .proto file is parsed by protoc --rust-out=...
3 // @generated
4
5 // https://github.com/rust-lang/rust-clippy/issues/702
6 #![allow(unknown_lints)]
7 #![allow(clippy::all)]
8
9 #![allow(unused_attributes)]
10 #![cfg_attr(rustfmt, rustfmt::skip)]
11
12 #![allow(box_pointers)]
13 #![allow(dead_code)]
14 #![allow(missing_docs)]
15 #![allow(non_camel_case_types)]
16 #![allow(non_snake_case)]
17 #![allow(non_upper_case_globals)]
18 #![allow(trivial_casts)]
19 #![allow(unused_results)]
20 #![allow(unused_mut)]
21
22 //! Generated file from `src/registered_events.proto`
23
24 /// Generated files are compatible only with the same version
25 /// of protobuf runtime.
26 const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_2_0;
27
28 #[derive(PartialEq,Clone,Default,Debug)]
29 // @@protoc_insertion_point(message:VirtioBalloonResize)
30 pub struct VirtioBalloonResize {
31 // special fields
32 // @@protoc_insertion_point(special_field:VirtioBalloonResize.special_fields)
33 pub special_fields: ::protobuf::SpecialFields,
34 }
35
36 impl<'a> ::std::default::Default for &'a VirtioBalloonResize {
default() -> &'a VirtioBalloonResize37 fn default() -> &'a VirtioBalloonResize {
38 <VirtioBalloonResize as ::protobuf::Message>::default_instance()
39 }
40 }
41
42 impl VirtioBalloonResize {
new() -> VirtioBalloonResize43 pub fn new() -> VirtioBalloonResize {
44 ::std::default::Default::default()
45 }
46
generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData47 fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
48 let mut fields = ::std::vec::Vec::with_capacity(0);
49 let mut oneofs = ::std::vec::Vec::with_capacity(0);
50 ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<VirtioBalloonResize>(
51 "VirtioBalloonResize",
52 fields,
53 oneofs,
54 )
55 }
56 }
57
58 impl ::protobuf::Message for VirtioBalloonResize {
59 const NAME: &'static str = "VirtioBalloonResize";
60
is_initialized(&self) -> bool61 fn is_initialized(&self) -> bool {
62 true
63 }
64
merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()>65 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
66 while let Some(tag) = is.read_raw_tag_or_eof()? {
67 match tag {
68 tag => {
69 ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
70 },
71 };
72 }
73 ::std::result::Result::Ok(())
74 }
75
76 // Compute sizes of nested messages
77 #[allow(unused_variables)]
compute_size(&self) -> u6478 fn compute_size(&self) -> u64 {
79 let mut my_size = 0;
80 my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
81 self.special_fields.cached_size().set(my_size as u32);
82 my_size
83 }
84
write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()>85 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
86 os.write_unknown_fields(self.special_fields.unknown_fields())?;
87 ::std::result::Result::Ok(())
88 }
89
special_fields(&self) -> &::protobuf::SpecialFields90 fn special_fields(&self) -> &::protobuf::SpecialFields {
91 &self.special_fields
92 }
93
mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields94 fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
95 &mut self.special_fields
96 }
97
new() -> VirtioBalloonResize98 fn new() -> VirtioBalloonResize {
99 VirtioBalloonResize::new()
100 }
101
clear(&mut self)102 fn clear(&mut self) {
103 self.special_fields.clear();
104 }
105
default_instance() -> &'static VirtioBalloonResize106 fn default_instance() -> &'static VirtioBalloonResize {
107 static instance: VirtioBalloonResize = VirtioBalloonResize {
108 special_fields: ::protobuf::SpecialFields::new(),
109 };
110 &instance
111 }
112 }
113
114 impl ::protobuf::MessageFull for VirtioBalloonResize {
descriptor() -> ::protobuf::reflect::MessageDescriptor115 fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
116 static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
117 descriptor.get(|| file_descriptor().message_by_package_relative_name("VirtioBalloonResize").unwrap()).clone()
118 }
119 }
120
121 impl ::std::fmt::Display for VirtioBalloonResize {
fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result122 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
123 ::protobuf::text_format::fmt(self, f)
124 }
125 }
126
127 impl ::protobuf::reflect::ProtobufValue for VirtioBalloonResize {
128 type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
129 }
130
131 #[derive(PartialEq,Clone,Default,Debug)]
132 // @@protoc_insertion_point(message:VirtioBalloonOOMDeflation)
133 pub struct VirtioBalloonOOMDeflation {
134 // special fields
135 // @@protoc_insertion_point(special_field:VirtioBalloonOOMDeflation.special_fields)
136 pub special_fields: ::protobuf::SpecialFields,
137 }
138
139 impl<'a> ::std::default::Default for &'a VirtioBalloonOOMDeflation {
default() -> &'a VirtioBalloonOOMDeflation140 fn default() -> &'a VirtioBalloonOOMDeflation {
141 <VirtioBalloonOOMDeflation as ::protobuf::Message>::default_instance()
142 }
143 }
144
145 impl VirtioBalloonOOMDeflation {
new() -> VirtioBalloonOOMDeflation146 pub fn new() -> VirtioBalloonOOMDeflation {
147 ::std::default::Default::default()
148 }
149
generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData150 fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
151 let mut fields = ::std::vec::Vec::with_capacity(0);
152 let mut oneofs = ::std::vec::Vec::with_capacity(0);
153 ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<VirtioBalloonOOMDeflation>(
154 "VirtioBalloonOOMDeflation",
155 fields,
156 oneofs,
157 )
158 }
159 }
160
161 impl ::protobuf::Message for VirtioBalloonOOMDeflation {
162 const NAME: &'static str = "VirtioBalloonOOMDeflation";
163
is_initialized(&self) -> bool164 fn is_initialized(&self) -> bool {
165 true
166 }
167
merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()>168 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
169 while let Some(tag) = is.read_raw_tag_or_eof()? {
170 match tag {
171 tag => {
172 ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
173 },
174 };
175 }
176 ::std::result::Result::Ok(())
177 }
178
179 // Compute sizes of nested messages
180 #[allow(unused_variables)]
compute_size(&self) -> u64181 fn compute_size(&self) -> u64 {
182 let mut my_size = 0;
183 my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
184 self.special_fields.cached_size().set(my_size as u32);
185 my_size
186 }
187
write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()>188 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
189 os.write_unknown_fields(self.special_fields.unknown_fields())?;
190 ::std::result::Result::Ok(())
191 }
192
special_fields(&self) -> &::protobuf::SpecialFields193 fn special_fields(&self) -> &::protobuf::SpecialFields {
194 &self.special_fields
195 }
196
mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields197 fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
198 &mut self.special_fields
199 }
200
new() -> VirtioBalloonOOMDeflation201 fn new() -> VirtioBalloonOOMDeflation {
202 VirtioBalloonOOMDeflation::new()
203 }
204
clear(&mut self)205 fn clear(&mut self) {
206 self.special_fields.clear();
207 }
208
default_instance() -> &'static VirtioBalloonOOMDeflation209 fn default_instance() -> &'static VirtioBalloonOOMDeflation {
210 static instance: VirtioBalloonOOMDeflation = VirtioBalloonOOMDeflation {
211 special_fields: ::protobuf::SpecialFields::new(),
212 };
213 &instance
214 }
215 }
216
217 impl ::protobuf::MessageFull for VirtioBalloonOOMDeflation {
descriptor() -> ::protobuf::reflect::MessageDescriptor218 fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
219 static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
220 descriptor.get(|| file_descriptor().message_by_package_relative_name("VirtioBalloonOOMDeflation").unwrap()).clone()
221 }
222 }
223
224 impl ::std::fmt::Display for VirtioBalloonOOMDeflation {
fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result225 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
226 ::protobuf::text_format::fmt(self, f)
227 }
228 }
229
230 impl ::protobuf::reflect::ProtobufValue for VirtioBalloonOOMDeflation {
231 type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
232 }
233
234 #[derive(PartialEq,Clone,Default,Debug)]
235 // @@protoc_insertion_point(message:VirtioWsBucket)
236 pub struct VirtioWsBucket {
237 // message fields
238 /// age of bucket in milliseconds.
239 // @@protoc_insertion_point(field:VirtioWsBucket.age)
240 pub age: u64,
241 /// file-back memory, in bytes.
242 // @@protoc_insertion_point(field:VirtioWsBucket.file_bytes)
243 pub file_bytes: u64,
244 /// anonymous memory, in bytes.
245 // @@protoc_insertion_point(field:VirtioWsBucket.anon_bytes)
246 pub anon_bytes: u64,
247 // special fields
248 // @@protoc_insertion_point(special_field:VirtioWsBucket.special_fields)
249 pub special_fields: ::protobuf::SpecialFields,
250 }
251
252 impl<'a> ::std::default::Default for &'a VirtioWsBucket {
default() -> &'a VirtioWsBucket253 fn default() -> &'a VirtioWsBucket {
254 <VirtioWsBucket as ::protobuf::Message>::default_instance()
255 }
256 }
257
258 impl VirtioWsBucket {
new() -> VirtioWsBucket259 pub fn new() -> VirtioWsBucket {
260 ::std::default::Default::default()
261 }
262
generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData263 fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
264 let mut fields = ::std::vec::Vec::with_capacity(3);
265 let mut oneofs = ::std::vec::Vec::with_capacity(0);
266 fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
267 "age",
268 |m: &VirtioWsBucket| { &m.age },
269 |m: &mut VirtioWsBucket| { &mut m.age },
270 ));
271 fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
272 "file_bytes",
273 |m: &VirtioWsBucket| { &m.file_bytes },
274 |m: &mut VirtioWsBucket| { &mut m.file_bytes },
275 ));
276 fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
277 "anon_bytes",
278 |m: &VirtioWsBucket| { &m.anon_bytes },
279 |m: &mut VirtioWsBucket| { &mut m.anon_bytes },
280 ));
281 ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<VirtioWsBucket>(
282 "VirtioWsBucket",
283 fields,
284 oneofs,
285 )
286 }
287 }
288
289 impl ::protobuf::Message for VirtioWsBucket {
290 const NAME: &'static str = "VirtioWsBucket";
291
is_initialized(&self) -> bool292 fn is_initialized(&self) -> bool {
293 true
294 }
295
merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()>296 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
297 while let Some(tag) = is.read_raw_tag_or_eof()? {
298 match tag {
299 8 => {
300 self.age = is.read_uint64()?;
301 },
302 16 => {
303 self.file_bytes = is.read_uint64()?;
304 },
305 24 => {
306 self.anon_bytes = is.read_uint64()?;
307 },
308 tag => {
309 ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
310 },
311 };
312 }
313 ::std::result::Result::Ok(())
314 }
315
316 // Compute sizes of nested messages
317 #[allow(unused_variables)]
compute_size(&self) -> u64318 fn compute_size(&self) -> u64 {
319 let mut my_size = 0;
320 if self.age != 0 {
321 my_size += ::protobuf::rt::uint64_size(1, self.age);
322 }
323 if self.file_bytes != 0 {
324 my_size += ::protobuf::rt::uint64_size(2, self.file_bytes);
325 }
326 if self.anon_bytes != 0 {
327 my_size += ::protobuf::rt::uint64_size(3, self.anon_bytes);
328 }
329 my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
330 self.special_fields.cached_size().set(my_size as u32);
331 my_size
332 }
333
write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()>334 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
335 if self.age != 0 {
336 os.write_uint64(1, self.age)?;
337 }
338 if self.file_bytes != 0 {
339 os.write_uint64(2, self.file_bytes)?;
340 }
341 if self.anon_bytes != 0 {
342 os.write_uint64(3, self.anon_bytes)?;
343 }
344 os.write_unknown_fields(self.special_fields.unknown_fields())?;
345 ::std::result::Result::Ok(())
346 }
347
special_fields(&self) -> &::protobuf::SpecialFields348 fn special_fields(&self) -> &::protobuf::SpecialFields {
349 &self.special_fields
350 }
351
mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields352 fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
353 &mut self.special_fields
354 }
355
new() -> VirtioWsBucket356 fn new() -> VirtioWsBucket {
357 VirtioWsBucket::new()
358 }
359
clear(&mut self)360 fn clear(&mut self) {
361 self.age = 0;
362 self.file_bytes = 0;
363 self.anon_bytes = 0;
364 self.special_fields.clear();
365 }
366
default_instance() -> &'static VirtioWsBucket367 fn default_instance() -> &'static VirtioWsBucket {
368 static instance: VirtioWsBucket = VirtioWsBucket {
369 age: 0,
370 file_bytes: 0,
371 anon_bytes: 0,
372 special_fields: ::protobuf::SpecialFields::new(),
373 };
374 &instance
375 }
376 }
377
378 impl ::protobuf::MessageFull for VirtioWsBucket {
descriptor() -> ::protobuf::reflect::MessageDescriptor379 fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
380 static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
381 descriptor.get(|| file_descriptor().message_by_package_relative_name("VirtioWsBucket").unwrap()).clone()
382 }
383 }
384
385 impl ::std::fmt::Display for VirtioWsBucket {
fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result386 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
387 ::protobuf::text_format::fmt(self, f)
388 }
389 }
390
391 impl ::protobuf::reflect::ProtobufValue for VirtioWsBucket {
392 type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
393 }
394
395 #[derive(PartialEq,Clone,Default,Debug)]
396 // @@protoc_insertion_point(message:VirtioBalloonWsReport)
397 pub struct VirtioBalloonWsReport {
398 // message fields
399 /// 2-16 buckets of memory working set.
400 // @@protoc_insertion_point(field:VirtioBalloonWsReport.ws_buckets)
401 pub ws_buckets: ::std::vec::Vec<VirtioWsBucket>,
402 /// actual size of balloon in bytes.
403 // @@protoc_insertion_point(field:VirtioBalloonWsReport.balloon_actual)
404 pub balloon_actual: u64,
405 // special fields
406 // @@protoc_insertion_point(special_field:VirtioBalloonWsReport.special_fields)
407 pub special_fields: ::protobuf::SpecialFields,
408 }
409
410 impl<'a> ::std::default::Default for &'a VirtioBalloonWsReport {
default() -> &'a VirtioBalloonWsReport411 fn default() -> &'a VirtioBalloonWsReport {
412 <VirtioBalloonWsReport as ::protobuf::Message>::default_instance()
413 }
414 }
415
416 impl VirtioBalloonWsReport {
new() -> VirtioBalloonWsReport417 pub fn new() -> VirtioBalloonWsReport {
418 ::std::default::Default::default()
419 }
420
generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData421 fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
422 let mut fields = ::std::vec::Vec::with_capacity(2);
423 let mut oneofs = ::std::vec::Vec::with_capacity(0);
424 fields.push(::protobuf::reflect::rt::v2::make_vec_simpler_accessor::<_, _>(
425 "ws_buckets",
426 |m: &VirtioBalloonWsReport| { &m.ws_buckets },
427 |m: &mut VirtioBalloonWsReport| { &mut m.ws_buckets },
428 ));
429 fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
430 "balloon_actual",
431 |m: &VirtioBalloonWsReport| { &m.balloon_actual },
432 |m: &mut VirtioBalloonWsReport| { &mut m.balloon_actual },
433 ));
434 ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<VirtioBalloonWsReport>(
435 "VirtioBalloonWsReport",
436 fields,
437 oneofs,
438 )
439 }
440 }
441
442 impl ::protobuf::Message for VirtioBalloonWsReport {
443 const NAME: &'static str = "VirtioBalloonWsReport";
444
is_initialized(&self) -> bool445 fn is_initialized(&self) -> bool {
446 true
447 }
448
merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()>449 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
450 while let Some(tag) = is.read_raw_tag_or_eof()? {
451 match tag {
452 10 => {
453 self.ws_buckets.push(is.read_message()?);
454 },
455 16 => {
456 self.balloon_actual = is.read_uint64()?;
457 },
458 tag => {
459 ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
460 },
461 };
462 }
463 ::std::result::Result::Ok(())
464 }
465
466 // Compute sizes of nested messages
467 #[allow(unused_variables)]
compute_size(&self) -> u64468 fn compute_size(&self) -> u64 {
469 let mut my_size = 0;
470 for value in &self.ws_buckets {
471 let len = value.compute_size();
472 my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
473 };
474 if self.balloon_actual != 0 {
475 my_size += ::protobuf::rt::uint64_size(2, self.balloon_actual);
476 }
477 my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
478 self.special_fields.cached_size().set(my_size as u32);
479 my_size
480 }
481
write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()>482 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
483 for v in &self.ws_buckets {
484 ::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
485 };
486 if self.balloon_actual != 0 {
487 os.write_uint64(2, self.balloon_actual)?;
488 }
489 os.write_unknown_fields(self.special_fields.unknown_fields())?;
490 ::std::result::Result::Ok(())
491 }
492
special_fields(&self) -> &::protobuf::SpecialFields493 fn special_fields(&self) -> &::protobuf::SpecialFields {
494 &self.special_fields
495 }
496
mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields497 fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
498 &mut self.special_fields
499 }
500
new() -> VirtioBalloonWsReport501 fn new() -> VirtioBalloonWsReport {
502 VirtioBalloonWsReport::new()
503 }
504
clear(&mut self)505 fn clear(&mut self) {
506 self.ws_buckets.clear();
507 self.balloon_actual = 0;
508 self.special_fields.clear();
509 }
510
default_instance() -> &'static VirtioBalloonWsReport511 fn default_instance() -> &'static VirtioBalloonWsReport {
512 static instance: VirtioBalloonWsReport = VirtioBalloonWsReport {
513 ws_buckets: ::std::vec::Vec::new(),
514 balloon_actual: 0,
515 special_fields: ::protobuf::SpecialFields::new(),
516 };
517 &instance
518 }
519 }
520
521 impl ::protobuf::MessageFull for VirtioBalloonWsReport {
descriptor() -> ::protobuf::reflect::MessageDescriptor522 fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
523 static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
524 descriptor.get(|| file_descriptor().message_by_package_relative_name("VirtioBalloonWsReport").unwrap()).clone()
525 }
526 }
527
528 impl ::std::fmt::Display for VirtioBalloonWsReport {
fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result529 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
530 ::protobuf::text_format::fmt(self, f)
531 }
532 }
533
534 impl ::protobuf::reflect::ProtobufValue for VirtioBalloonWsReport {
535 type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
536 }
537
538 #[derive(PartialEq,Clone,Default,Debug)]
539 // @@protoc_insertion_point(message:RegisteredEvent)
540 pub struct RegisteredEvent {
541 // message oneof groups
542 pub Event: ::std::option::Option<registered_event::Event>,
543 // special fields
544 // @@protoc_insertion_point(special_field:RegisteredEvent.special_fields)
545 pub special_fields: ::protobuf::SpecialFields,
546 }
547
548 impl<'a> ::std::default::Default for &'a RegisteredEvent {
default() -> &'a RegisteredEvent549 fn default() -> &'a RegisteredEvent {
550 <RegisteredEvent as ::protobuf::Message>::default_instance()
551 }
552 }
553
554 impl RegisteredEvent {
new() -> RegisteredEvent555 pub fn new() -> RegisteredEvent {
556 ::std::default::Default::default()
557 }
558
559 // .VirtioBalloonResize resize = 1;
560
resize(&self) -> &VirtioBalloonResize561 pub fn resize(&self) -> &VirtioBalloonResize {
562 match self.Event {
563 ::std::option::Option::Some(registered_event::Event::Resize(ref v)) => v,
564 _ => <VirtioBalloonResize as ::protobuf::Message>::default_instance(),
565 }
566 }
567
clear_resize(&mut self)568 pub fn clear_resize(&mut self) {
569 self.Event = ::std::option::Option::None;
570 }
571
has_resize(&self) -> bool572 pub fn has_resize(&self) -> bool {
573 match self.Event {
574 ::std::option::Option::Some(registered_event::Event::Resize(..)) => true,
575 _ => false,
576 }
577 }
578
579 // Param is passed by value, moved
set_resize(&mut self, v: VirtioBalloonResize)580 pub fn set_resize(&mut self, v: VirtioBalloonResize) {
581 self.Event = ::std::option::Option::Some(registered_event::Event::Resize(v))
582 }
583
584 // Mutable pointer to the field.
mut_resize(&mut self) -> &mut VirtioBalloonResize585 pub fn mut_resize(&mut self) -> &mut VirtioBalloonResize {
586 if let ::std::option::Option::Some(registered_event::Event::Resize(_)) = self.Event {
587 } else {
588 self.Event = ::std::option::Option::Some(registered_event::Event::Resize(VirtioBalloonResize::new()));
589 }
590 match self.Event {
591 ::std::option::Option::Some(registered_event::Event::Resize(ref mut v)) => v,
592 _ => panic!(),
593 }
594 }
595
596 // Take field
take_resize(&mut self) -> VirtioBalloonResize597 pub fn take_resize(&mut self) -> VirtioBalloonResize {
598 if self.has_resize() {
599 match self.Event.take() {
600 ::std::option::Option::Some(registered_event::Event::Resize(v)) => v,
601 _ => panic!(),
602 }
603 } else {
604 VirtioBalloonResize::new()
605 }
606 }
607
608 // .VirtioBalloonOOMDeflation oom_deflation = 2;
609
oom_deflation(&self) -> &VirtioBalloonOOMDeflation610 pub fn oom_deflation(&self) -> &VirtioBalloonOOMDeflation {
611 match self.Event {
612 ::std::option::Option::Some(registered_event::Event::OomDeflation(ref v)) => v,
613 _ => <VirtioBalloonOOMDeflation as ::protobuf::Message>::default_instance(),
614 }
615 }
616
clear_oom_deflation(&mut self)617 pub fn clear_oom_deflation(&mut self) {
618 self.Event = ::std::option::Option::None;
619 }
620
has_oom_deflation(&self) -> bool621 pub fn has_oom_deflation(&self) -> bool {
622 match self.Event {
623 ::std::option::Option::Some(registered_event::Event::OomDeflation(..)) => true,
624 _ => false,
625 }
626 }
627
628 // Param is passed by value, moved
set_oom_deflation(&mut self, v: VirtioBalloonOOMDeflation)629 pub fn set_oom_deflation(&mut self, v: VirtioBalloonOOMDeflation) {
630 self.Event = ::std::option::Option::Some(registered_event::Event::OomDeflation(v))
631 }
632
633 // Mutable pointer to the field.
mut_oom_deflation(&mut self) -> &mut VirtioBalloonOOMDeflation634 pub fn mut_oom_deflation(&mut self) -> &mut VirtioBalloonOOMDeflation {
635 if let ::std::option::Option::Some(registered_event::Event::OomDeflation(_)) = self.Event {
636 } else {
637 self.Event = ::std::option::Option::Some(registered_event::Event::OomDeflation(VirtioBalloonOOMDeflation::new()));
638 }
639 match self.Event {
640 ::std::option::Option::Some(registered_event::Event::OomDeflation(ref mut v)) => v,
641 _ => panic!(),
642 }
643 }
644
645 // Take field
take_oom_deflation(&mut self) -> VirtioBalloonOOMDeflation646 pub fn take_oom_deflation(&mut self) -> VirtioBalloonOOMDeflation {
647 if self.has_oom_deflation() {
648 match self.Event.take() {
649 ::std::option::Option::Some(registered_event::Event::OomDeflation(v)) => v,
650 _ => panic!(),
651 }
652 } else {
653 VirtioBalloonOOMDeflation::new()
654 }
655 }
656
657 // .VirtioBalloonWsReport ws_report = 3;
658
ws_report(&self) -> &VirtioBalloonWsReport659 pub fn ws_report(&self) -> &VirtioBalloonWsReport {
660 match self.Event {
661 ::std::option::Option::Some(registered_event::Event::WsReport(ref v)) => v,
662 _ => <VirtioBalloonWsReport as ::protobuf::Message>::default_instance(),
663 }
664 }
665
clear_ws_report(&mut self)666 pub fn clear_ws_report(&mut self) {
667 self.Event = ::std::option::Option::None;
668 }
669
has_ws_report(&self) -> bool670 pub fn has_ws_report(&self) -> bool {
671 match self.Event {
672 ::std::option::Option::Some(registered_event::Event::WsReport(..)) => true,
673 _ => false,
674 }
675 }
676
677 // Param is passed by value, moved
set_ws_report(&mut self, v: VirtioBalloonWsReport)678 pub fn set_ws_report(&mut self, v: VirtioBalloonWsReport) {
679 self.Event = ::std::option::Option::Some(registered_event::Event::WsReport(v))
680 }
681
682 // Mutable pointer to the field.
mut_ws_report(&mut self) -> &mut VirtioBalloonWsReport683 pub fn mut_ws_report(&mut self) -> &mut VirtioBalloonWsReport {
684 if let ::std::option::Option::Some(registered_event::Event::WsReport(_)) = self.Event {
685 } else {
686 self.Event = ::std::option::Option::Some(registered_event::Event::WsReport(VirtioBalloonWsReport::new()));
687 }
688 match self.Event {
689 ::std::option::Option::Some(registered_event::Event::WsReport(ref mut v)) => v,
690 _ => panic!(),
691 }
692 }
693
694 // Take field
take_ws_report(&mut self) -> VirtioBalloonWsReport695 pub fn take_ws_report(&mut self) -> VirtioBalloonWsReport {
696 if self.has_ws_report() {
697 match self.Event.take() {
698 ::std::option::Option::Some(registered_event::Event::WsReport(v)) => v,
699 _ => panic!(),
700 }
701 } else {
702 VirtioBalloonWsReport::new()
703 }
704 }
705
generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData706 fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
707 let mut fields = ::std::vec::Vec::with_capacity(3);
708 let mut oneofs = ::std::vec::Vec::with_capacity(1);
709 fields.push(::protobuf::reflect::rt::v2::make_oneof_message_has_get_mut_set_accessor::<_, VirtioBalloonResize>(
710 "resize",
711 RegisteredEvent::has_resize,
712 RegisteredEvent::resize,
713 RegisteredEvent::mut_resize,
714 RegisteredEvent::set_resize,
715 ));
716 fields.push(::protobuf::reflect::rt::v2::make_oneof_message_has_get_mut_set_accessor::<_, VirtioBalloonOOMDeflation>(
717 "oom_deflation",
718 RegisteredEvent::has_oom_deflation,
719 RegisteredEvent::oom_deflation,
720 RegisteredEvent::mut_oom_deflation,
721 RegisteredEvent::set_oom_deflation,
722 ));
723 fields.push(::protobuf::reflect::rt::v2::make_oneof_message_has_get_mut_set_accessor::<_, VirtioBalloonWsReport>(
724 "ws_report",
725 RegisteredEvent::has_ws_report,
726 RegisteredEvent::ws_report,
727 RegisteredEvent::mut_ws_report,
728 RegisteredEvent::set_ws_report,
729 ));
730 oneofs.push(registered_event::Event::generated_oneof_descriptor_data());
731 ::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<RegisteredEvent>(
732 "RegisteredEvent",
733 fields,
734 oneofs,
735 )
736 }
737 }
738
739 impl ::protobuf::Message for RegisteredEvent {
740 const NAME: &'static str = "RegisteredEvent";
741
is_initialized(&self) -> bool742 fn is_initialized(&self) -> bool {
743 true
744 }
745
merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()>746 fn merge_from(&mut self, is: &mut ::protobuf::CodedInputStream<'_>) -> ::protobuf::Result<()> {
747 while let Some(tag) = is.read_raw_tag_or_eof()? {
748 match tag {
749 10 => {
750 self.Event = ::std::option::Option::Some(registered_event::Event::Resize(is.read_message()?));
751 },
752 18 => {
753 self.Event = ::std::option::Option::Some(registered_event::Event::OomDeflation(is.read_message()?));
754 },
755 26 => {
756 self.Event = ::std::option::Option::Some(registered_event::Event::WsReport(is.read_message()?));
757 },
758 tag => {
759 ::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
760 },
761 };
762 }
763 ::std::result::Result::Ok(())
764 }
765
766 // Compute sizes of nested messages
767 #[allow(unused_variables)]
compute_size(&self) -> u64768 fn compute_size(&self) -> u64 {
769 let mut my_size = 0;
770 if let ::std::option::Option::Some(ref v) = self.Event {
771 match v {
772 ®istered_event::Event::Resize(ref v) => {
773 let len = v.compute_size();
774 my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
775 },
776 ®istered_event::Event::OomDeflation(ref v) => {
777 let len = v.compute_size();
778 my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
779 },
780 ®istered_event::Event::WsReport(ref v) => {
781 let len = v.compute_size();
782 my_size += 1 + ::protobuf::rt::compute_raw_varint64_size(len) + len;
783 },
784 };
785 }
786 my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
787 self.special_fields.cached_size().set(my_size as u32);
788 my_size
789 }
790
write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()>791 fn write_to_with_cached_sizes(&self, os: &mut ::protobuf::CodedOutputStream<'_>) -> ::protobuf::Result<()> {
792 if let ::std::option::Option::Some(ref v) = self.Event {
793 match v {
794 ®istered_event::Event::Resize(ref v) => {
795 ::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
796 },
797 ®istered_event::Event::OomDeflation(ref v) => {
798 ::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
799 },
800 ®istered_event::Event::WsReport(ref v) => {
801 ::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
802 },
803 };
804 }
805 os.write_unknown_fields(self.special_fields.unknown_fields())?;
806 ::std::result::Result::Ok(())
807 }
808
special_fields(&self) -> &::protobuf::SpecialFields809 fn special_fields(&self) -> &::protobuf::SpecialFields {
810 &self.special_fields
811 }
812
mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields813 fn mut_special_fields(&mut self) -> &mut ::protobuf::SpecialFields {
814 &mut self.special_fields
815 }
816
new() -> RegisteredEvent817 fn new() -> RegisteredEvent {
818 RegisteredEvent::new()
819 }
820
clear(&mut self)821 fn clear(&mut self) {
822 self.Event = ::std::option::Option::None;
823 self.Event = ::std::option::Option::None;
824 self.Event = ::std::option::Option::None;
825 self.special_fields.clear();
826 }
827
default_instance() -> &'static RegisteredEvent828 fn default_instance() -> &'static RegisteredEvent {
829 static instance: RegisteredEvent = RegisteredEvent {
830 Event: ::std::option::Option::None,
831 special_fields: ::protobuf::SpecialFields::new(),
832 };
833 &instance
834 }
835 }
836
837 impl ::protobuf::MessageFull for RegisteredEvent {
descriptor() -> ::protobuf::reflect::MessageDescriptor838 fn descriptor() -> ::protobuf::reflect::MessageDescriptor {
839 static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::MessageDescriptor> = ::protobuf::rt::Lazy::new();
840 descriptor.get(|| file_descriptor().message_by_package_relative_name("RegisteredEvent").unwrap()).clone()
841 }
842 }
843
844 impl ::std::fmt::Display for RegisteredEvent {
fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result845 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
846 ::protobuf::text_format::fmt(self, f)
847 }
848 }
849
850 impl ::protobuf::reflect::ProtobufValue for RegisteredEvent {
851 type RuntimeType = ::protobuf::reflect::rt::RuntimeTypeMessage<Self>;
852 }
853
854 /// Nested message and enums of message `RegisteredEvent`
855 pub mod registered_event {
856
857 #[derive(Clone,PartialEq,Debug)]
858 #[non_exhaustive]
859 // @@protoc_insertion_point(oneof:RegisteredEvent.Event)
860 pub enum Event {
861 // @@protoc_insertion_point(oneof_field:RegisteredEvent.resize)
862 Resize(super::VirtioBalloonResize),
863 // @@protoc_insertion_point(oneof_field:RegisteredEvent.oom_deflation)
864 OomDeflation(super::VirtioBalloonOOMDeflation),
865 // @@protoc_insertion_point(oneof_field:RegisteredEvent.ws_report)
866 WsReport(super::VirtioBalloonWsReport),
867 }
868
869 impl ::protobuf::Oneof for Event {
870 }
871
872 impl ::protobuf::OneofFull for Event {
descriptor() -> ::protobuf::reflect::OneofDescriptor873 fn descriptor() -> ::protobuf::reflect::OneofDescriptor {
874 static descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::OneofDescriptor> = ::protobuf::rt::Lazy::new();
875 descriptor.get(|| <super::RegisteredEvent as ::protobuf::MessageFull>::descriptor().oneof_by_name("Event").unwrap()).clone()
876 }
877 }
878
879 impl Event {
generated_oneof_descriptor_data() -> ::protobuf::reflect::GeneratedOneofDescriptorData880 pub(in super) fn generated_oneof_descriptor_data() -> ::protobuf::reflect::GeneratedOneofDescriptorData {
881 ::protobuf::reflect::GeneratedOneofDescriptorData::new::<Event>("Event")
882 }
883 }
884 }
885
886 static file_descriptor_proto_data: &'static [u8] = b"\
887 \n\x1bsrc/registered_events.proto\"\x15\n\x13VirtioBalloonResize\"\x1b\n\
888 \x19VirtioBalloonOOMDeflation\"`\n\x0eVirtioWsBucket\x12\x10\n\x03age\
889 \x18\x01\x20\x01(\x04R\x03age\x12\x1d\n\nfile_bytes\x18\x02\x20\x01(\x04\
890 R\tfileBytes\x12\x1d\n\nanon_bytes\x18\x03\x20\x01(\x04R\tanonBytes\"n\n\
891 \x15VirtioBalloonWsReport\x12.\n\nws_buckets\x18\x01\x20\x03(\x0b2\x0f.V\
892 irtioWsBucketR\twsBuckets\x12%\n\x0eballoon_actual\x18\x02\x20\x01(\x04R\
893 \rballoonActual\"\xc4\x01\n\x0fRegisteredEvent\x12.\n\x06resize\x18\x01\
894 \x20\x01(\x0b2\x14.VirtioBalloonResizeH\0R\x06resize\x12A\n\room_deflati\
895 on\x18\x02\x20\x01(\x0b2\x1a.VirtioBalloonOOMDeflationH\0R\x0coomDeflati\
896 on\x125\n\tws_report\x18\x03\x20\x01(\x0b2\x16.VirtioBalloonWsReportH\0R\
897 \x08wsReportB\x07\n\x05EventJ\xa4\x07\n\x06\x12\x04\x04\0\x20\x01\n\x96\
898 \x01\n\x01\x0c\x12\x03\x04\0\x122\x8b\x01\x20Copyright\x202020\x20The\
899 \x20ChromiumOS\x20Authors\n\x20Use\x20of\x20this\x20source\x20code\x20is\
900 \x20governed\x20by\x20a\x20BSD-style\x20license\x20that\x20can\x20be\n\
901 \x20found\x20in\x20the\x20LICENSE\x20file.\n\n\t\n\x02\x04\0\x12\x03\x06\
902 \0\x1e\n\n\n\x03\x04\0\x01\x12\x03\x06\x08\x1b\n\t\n\x02\x04\x01\x12\x03\
903 \x08\0$\n\n\n\x03\x04\x01\x01\x12\x03\x08\x08!\n\n\n\x02\x04\x02\x12\x04\
904 \n\0\x11\x01\n\n\n\x03\x04\x02\x01\x12\x03\n\x08\x16\n-\n\x04\x04\x02\
905 \x02\0\x12\x03\x0c\x04\x13\x1a\x20\x20age\x20of\x20bucket\x20in\x20milli\
906 seconds.\n\n\x0c\n\x05\x04\x02\x02\0\x05\x12\x03\x0c\x04\n\n\x0c\n\x05\
907 \x04\x02\x02\0\x01\x12\x03\x0c\x0b\x0e\n\x0c\n\x05\x04\x02\x02\0\x03\x12\
908 \x03\x0c\x11\x12\n*\n\x04\x04\x02\x02\x01\x12\x03\x0e\x04\x1a\x1a\x1d\
909 \x20file-back\x20memory,\x20in\x20bytes.\n\n\x0c\n\x05\x04\x02\x02\x01\
910 \x05\x12\x03\x0e\x04\n\n\x0c\n\x05\x04\x02\x02\x01\x01\x12\x03\x0e\x0b\
911 \x15\n\x0c\n\x05\x04\x02\x02\x01\x03\x12\x03\x0e\x18\x19\n*\n\x04\x04\
912 \x02\x02\x02\x12\x03\x10\x04\x1a\x1a\x1d\x20anonymous\x20memory,\x20in\
913 \x20bytes.\n\n\x0c\n\x05\x04\x02\x02\x02\x05\x12\x03\x10\x04\n\n\x0c\n\
914 \x05\x04\x02\x02\x02\x01\x12\x03\x10\x0b\x15\n\x0c\n\x05\x04\x02\x02\x02\
915 \x03\x12\x03\x10\x18\x19\n\n\n\x02\x04\x03\x12\x04\x13\0\x18\x01\n\n\n\
916 \x03\x04\x03\x01\x12\x03\x13\x08\x1d\n2\n\x04\x04\x03\x02\0\x12\x03\x15\
917 \x04+\x1a%\x202-16\x20buckets\x20of\x20memory\x20working\x20set.\n\n\x0c\
918 \n\x05\x04\x03\x02\0\x04\x12\x03\x15\x04\x0c\n\x0c\n\x05\x04\x03\x02\0\
919 \x06\x12\x03\x15\r\x1b\n\x0c\n\x05\x04\x03\x02\0\x01\x12\x03\x15\x1c&\n\
920 \x0c\n\x05\x04\x03\x02\0\x03\x12\x03\x15)*\n/\n\x04\x04\x03\x02\x01\x12\
921 \x03\x17\x04\x1e\x1a\"\x20actual\x20size\x20of\x20balloon\x20in\x20bytes\
922 .\n\n\x0c\n\x05\x04\x03\x02\x01\x05\x12\x03\x17\x04\n\n\x0c\n\x05\x04\
923 \x03\x02\x01\x01\x12\x03\x17\x0b\x19\n\x0c\n\x05\x04\x03\x02\x01\x03\x12\
924 \x03\x17\x1c\x1d\n\n\n\x02\x04\x04\x12\x04\x1a\0\x20\x01\n\n\n\x03\x04\
925 \x04\x01\x12\x03\x1a\x08\x17\n\x0c\n\x04\x04\x04\x08\0\x12\x04\x1b\x04\
926 \x1f\x05\n\x0c\n\x05\x04\x04\x08\0\x01\x12\x03\x1b\n\x0f\n\x0b\n\x04\x04\
927 \x04\x02\0\x12\x03\x1c\x08'\n\x0c\n\x05\x04\x04\x02\0\x06\x12\x03\x1c\
928 \x08\x1b\n\x0c\n\x05\x04\x04\x02\0\x01\x12\x03\x1c\x1c\"\n\x0c\n\x05\x04\
929 \x04\x02\0\x03\x12\x03\x1c%&\n\x0b\n\x04\x04\x04\x02\x01\x12\x03\x1d\x08\
930 4\n\x0c\n\x05\x04\x04\x02\x01\x06\x12\x03\x1d\x08!\n\x0c\n\x05\x04\x04\
931 \x02\x01\x01\x12\x03\x1d\"/\n\x0c\n\x05\x04\x04\x02\x01\x03\x12\x03\x1d2\
932 3\n\x0b\n\x04\x04\x04\x02\x02\x12\x03\x1e\x08,\n\x0c\n\x05\x04\x04\x02\
933 \x02\x06\x12\x03\x1e\x08\x1d\n\x0c\n\x05\x04\x04\x02\x02\x01\x12\x03\x1e\
934 \x1e'\n\x0c\n\x05\x04\x04\x02\x02\x03\x12\x03\x1e*+b\x06proto3\
935 ";
936
937 /// `FileDescriptorProto` object which was a source for this generated file
file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto938 fn file_descriptor_proto() -> &'static ::protobuf::descriptor::FileDescriptorProto {
939 static file_descriptor_proto_lazy: ::protobuf::rt::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::Lazy::new();
940 file_descriptor_proto_lazy.get(|| {
941 ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()
942 })
943 }
944
945 /// `FileDescriptor` object which allows dynamic access to files
file_descriptor() -> &'static ::protobuf::reflect::FileDescriptor946 pub fn file_descriptor() -> &'static ::protobuf::reflect::FileDescriptor {
947 static generated_file_descriptor_lazy: ::protobuf::rt::Lazy<::protobuf::reflect::GeneratedFileDescriptor> = ::protobuf::rt::Lazy::new();
948 static file_descriptor: ::protobuf::rt::Lazy<::protobuf::reflect::FileDescriptor> = ::protobuf::rt::Lazy::new();
949 file_descriptor.get(|| {
950 let generated_file_descriptor = generated_file_descriptor_lazy.get(|| {
951 let mut deps = ::std::vec::Vec::with_capacity(0);
952 let mut messages = ::std::vec::Vec::with_capacity(5);
953 messages.push(VirtioBalloonResize::generated_message_descriptor_data());
954 messages.push(VirtioBalloonOOMDeflation::generated_message_descriptor_data());
955 messages.push(VirtioWsBucket::generated_message_descriptor_data());
956 messages.push(VirtioBalloonWsReport::generated_message_descriptor_data());
957 messages.push(RegisteredEvent::generated_message_descriptor_data());
958 let mut enums = ::std::vec::Vec::with_capacity(0);
959 ::protobuf::reflect::GeneratedFileDescriptor::new_generated(
960 file_descriptor_proto(),
961 deps,
962 messages,
963 enums,
964 )
965 });
966 ::protobuf::reflect::FileDescriptor::new_generated_2(generated_file_descriptor)
967 })
968 }
969