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: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
27
28#[derive(PartialEq,Clone,Default,Debug)]
30pub struct CClientMetrics_ClientBootstrap_RequestInfo {
31 pub original_hostname: ::std::option::Option<::std::string::String>,
34 pub actual_hostname: ::std::option::Option<::std::string::String>,
36 pub path: ::std::option::Option<::std::string::String>,
38 pub base_name: ::std::option::Option<::std::string::String>,
40 pub success: ::std::option::Option<bool>,
42 pub status_code: ::std::option::Option<u32>,
44 pub address_of_request_url: ::std::option::Option<::std::string::String>,
46 pub response_time_ms: ::std::option::Option<u32>,
48 pub bytes_received: ::std::option::Option<u64>,
50 pub num_retries: ::std::option::Option<u32>,
52 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
55}
56
57impl<'a> ::std::default::Default for &'a CClientMetrics_ClientBootstrap_RequestInfo {
58 fn default() -> &'a CClientMetrics_ClientBootstrap_RequestInfo {
59 <CClientMetrics_ClientBootstrap_RequestInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
60 }
61}
62
63impl CClientMetrics_ClientBootstrap_RequestInfo {
64 pub fn new() -> CClientMetrics_ClientBootstrap_RequestInfo {
65 ::std::default::Default::default()
66 }
67
68 pub fn original_hostname(&self) -> &str {
71 match self.original_hostname.as_ref() {
72 Some(v) => v,
73 None => "",
74 }
75 }
76
77 pub fn clear_original_hostname(&mut self) {
78 self.original_hostname = ::std::option::Option::None;
79 }
80
81 pub fn has_original_hostname(&self) -> bool {
82 self.original_hostname.is_some()
83 }
84
85 pub fn set_original_hostname(&mut self, v: ::std::string::String) {
87 self.original_hostname = ::std::option::Option::Some(v);
88 }
89
90 pub fn mut_original_hostname(&mut self) -> &mut ::std::string::String {
93 if self.original_hostname.is_none() {
94 self.original_hostname = ::std::option::Option::Some(::std::string::String::new());
95 }
96 self.original_hostname.as_mut().unwrap()
97 }
98
99 pub fn take_original_hostname(&mut self) -> ::std::string::String {
101 self.original_hostname.take().unwrap_or_else(|| ::std::string::String::new())
102 }
103
104 pub fn actual_hostname(&self) -> &str {
107 match self.actual_hostname.as_ref() {
108 Some(v) => v,
109 None => "",
110 }
111 }
112
113 pub fn clear_actual_hostname(&mut self) {
114 self.actual_hostname = ::std::option::Option::None;
115 }
116
117 pub fn has_actual_hostname(&self) -> bool {
118 self.actual_hostname.is_some()
119 }
120
121 pub fn set_actual_hostname(&mut self, v: ::std::string::String) {
123 self.actual_hostname = ::std::option::Option::Some(v);
124 }
125
126 pub fn mut_actual_hostname(&mut self) -> &mut ::std::string::String {
129 if self.actual_hostname.is_none() {
130 self.actual_hostname = ::std::option::Option::Some(::std::string::String::new());
131 }
132 self.actual_hostname.as_mut().unwrap()
133 }
134
135 pub fn take_actual_hostname(&mut self) -> ::std::string::String {
137 self.actual_hostname.take().unwrap_or_else(|| ::std::string::String::new())
138 }
139
140 pub fn path(&self) -> &str {
143 match self.path.as_ref() {
144 Some(v) => v,
145 None => "",
146 }
147 }
148
149 pub fn clear_path(&mut self) {
150 self.path = ::std::option::Option::None;
151 }
152
153 pub fn has_path(&self) -> bool {
154 self.path.is_some()
155 }
156
157 pub fn set_path(&mut self, v: ::std::string::String) {
159 self.path = ::std::option::Option::Some(v);
160 }
161
162 pub fn mut_path(&mut self) -> &mut ::std::string::String {
165 if self.path.is_none() {
166 self.path = ::std::option::Option::Some(::std::string::String::new());
167 }
168 self.path.as_mut().unwrap()
169 }
170
171 pub fn take_path(&mut self) -> ::std::string::String {
173 self.path.take().unwrap_or_else(|| ::std::string::String::new())
174 }
175
176 pub fn base_name(&self) -> &str {
179 match self.base_name.as_ref() {
180 Some(v) => v,
181 None => "",
182 }
183 }
184
185 pub fn clear_base_name(&mut self) {
186 self.base_name = ::std::option::Option::None;
187 }
188
189 pub fn has_base_name(&self) -> bool {
190 self.base_name.is_some()
191 }
192
193 pub fn set_base_name(&mut self, v: ::std::string::String) {
195 self.base_name = ::std::option::Option::Some(v);
196 }
197
198 pub fn mut_base_name(&mut self) -> &mut ::std::string::String {
201 if self.base_name.is_none() {
202 self.base_name = ::std::option::Option::Some(::std::string::String::new());
203 }
204 self.base_name.as_mut().unwrap()
205 }
206
207 pub fn take_base_name(&mut self) -> ::std::string::String {
209 self.base_name.take().unwrap_or_else(|| ::std::string::String::new())
210 }
211
212 pub fn success(&self) -> bool {
215 self.success.unwrap_or(false)
216 }
217
218 pub fn clear_success(&mut self) {
219 self.success = ::std::option::Option::None;
220 }
221
222 pub fn has_success(&self) -> bool {
223 self.success.is_some()
224 }
225
226 pub fn set_success(&mut self, v: bool) {
228 self.success = ::std::option::Option::Some(v);
229 }
230
231 pub fn status_code(&self) -> u32 {
234 self.status_code.unwrap_or(0)
235 }
236
237 pub fn clear_status_code(&mut self) {
238 self.status_code = ::std::option::Option::None;
239 }
240
241 pub fn has_status_code(&self) -> bool {
242 self.status_code.is_some()
243 }
244
245 pub fn set_status_code(&mut self, v: u32) {
247 self.status_code = ::std::option::Option::Some(v);
248 }
249
250 pub fn address_of_request_url(&self) -> &str {
253 match self.address_of_request_url.as_ref() {
254 Some(v) => v,
255 None => "",
256 }
257 }
258
259 pub fn clear_address_of_request_url(&mut self) {
260 self.address_of_request_url = ::std::option::Option::None;
261 }
262
263 pub fn has_address_of_request_url(&self) -> bool {
264 self.address_of_request_url.is_some()
265 }
266
267 pub fn set_address_of_request_url(&mut self, v: ::std::string::String) {
269 self.address_of_request_url = ::std::option::Option::Some(v);
270 }
271
272 pub fn mut_address_of_request_url(&mut self) -> &mut ::std::string::String {
275 if self.address_of_request_url.is_none() {
276 self.address_of_request_url = ::std::option::Option::Some(::std::string::String::new());
277 }
278 self.address_of_request_url.as_mut().unwrap()
279 }
280
281 pub fn take_address_of_request_url(&mut self) -> ::std::string::String {
283 self.address_of_request_url.take().unwrap_or_else(|| ::std::string::String::new())
284 }
285
286 pub fn response_time_ms(&self) -> u32 {
289 self.response_time_ms.unwrap_or(0)
290 }
291
292 pub fn clear_response_time_ms(&mut self) {
293 self.response_time_ms = ::std::option::Option::None;
294 }
295
296 pub fn has_response_time_ms(&self) -> bool {
297 self.response_time_ms.is_some()
298 }
299
300 pub fn set_response_time_ms(&mut self, v: u32) {
302 self.response_time_ms = ::std::option::Option::Some(v);
303 }
304
305 pub fn bytes_received(&self) -> u64 {
308 self.bytes_received.unwrap_or(0)
309 }
310
311 pub fn clear_bytes_received(&mut self) {
312 self.bytes_received = ::std::option::Option::None;
313 }
314
315 pub fn has_bytes_received(&self) -> bool {
316 self.bytes_received.is_some()
317 }
318
319 pub fn set_bytes_received(&mut self, v: u64) {
321 self.bytes_received = ::std::option::Option::Some(v);
322 }
323
324 pub fn num_retries(&self) -> u32 {
327 self.num_retries.unwrap_or(0)
328 }
329
330 pub fn clear_num_retries(&mut self) {
331 self.num_retries = ::std::option::Option::None;
332 }
333
334 pub fn has_num_retries(&self) -> bool {
335 self.num_retries.is_some()
336 }
337
338 pub fn set_num_retries(&mut self, v: u32) {
340 self.num_retries = ::std::option::Option::Some(v);
341 }
342}
343
344impl ::steam_vent_proto_common::protobuf::Message for CClientMetrics_ClientBootstrap_RequestInfo {
345 const NAME: &'static str = "CClientMetrics_ClientBootstrap_RequestInfo";
346
347 fn is_initialized(&self) -> bool {
348 true
349 }
350
351 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
352 while let Some(tag) = is.read_raw_tag_or_eof()? {
353 match tag {
354 10 => {
355 self.original_hostname = ::std::option::Option::Some(is.read_string()?);
356 },
357 18 => {
358 self.actual_hostname = ::std::option::Option::Some(is.read_string()?);
359 },
360 26 => {
361 self.path = ::std::option::Option::Some(is.read_string()?);
362 },
363 34 => {
364 self.base_name = ::std::option::Option::Some(is.read_string()?);
365 },
366 40 => {
367 self.success = ::std::option::Option::Some(is.read_bool()?);
368 },
369 48 => {
370 self.status_code = ::std::option::Option::Some(is.read_uint32()?);
371 },
372 58 => {
373 self.address_of_request_url = ::std::option::Option::Some(is.read_string()?);
374 },
375 64 => {
376 self.response_time_ms = ::std::option::Option::Some(is.read_uint32()?);
377 },
378 72 => {
379 self.bytes_received = ::std::option::Option::Some(is.read_uint64()?);
380 },
381 80 => {
382 self.num_retries = ::std::option::Option::Some(is.read_uint32()?);
383 },
384 tag => {
385 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
386 },
387 };
388 }
389 ::std::result::Result::Ok(())
390 }
391
392 #[allow(unused_variables)]
394 fn compute_size(&self) -> u64 {
395 let mut my_size = 0;
396 if let Some(v) = self.original_hostname.as_ref() {
397 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
398 }
399 if let Some(v) = self.actual_hostname.as_ref() {
400 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
401 }
402 if let Some(v) = self.path.as_ref() {
403 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
404 }
405 if let Some(v) = self.base_name.as_ref() {
406 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
407 }
408 if let Some(v) = self.success {
409 my_size += 1 + 1;
410 }
411 if let Some(v) = self.status_code {
412 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
413 }
414 if let Some(v) = self.address_of_request_url.as_ref() {
415 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
416 }
417 if let Some(v) = self.response_time_ms {
418 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(8, v);
419 }
420 if let Some(v) = self.bytes_received {
421 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(9, v);
422 }
423 if let Some(v) = self.num_retries {
424 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(10, v);
425 }
426 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
427 self.special_fields.cached_size().set(my_size as u32);
428 my_size
429 }
430
431 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
432 if let Some(v) = self.original_hostname.as_ref() {
433 os.write_string(1, v)?;
434 }
435 if let Some(v) = self.actual_hostname.as_ref() {
436 os.write_string(2, v)?;
437 }
438 if let Some(v) = self.path.as_ref() {
439 os.write_string(3, v)?;
440 }
441 if let Some(v) = self.base_name.as_ref() {
442 os.write_string(4, v)?;
443 }
444 if let Some(v) = self.success {
445 os.write_bool(5, v)?;
446 }
447 if let Some(v) = self.status_code {
448 os.write_uint32(6, v)?;
449 }
450 if let Some(v) = self.address_of_request_url.as_ref() {
451 os.write_string(7, v)?;
452 }
453 if let Some(v) = self.response_time_ms {
454 os.write_uint32(8, v)?;
455 }
456 if let Some(v) = self.bytes_received {
457 os.write_uint64(9, v)?;
458 }
459 if let Some(v) = self.num_retries {
460 os.write_uint32(10, v)?;
461 }
462 os.write_unknown_fields(self.special_fields.unknown_fields())?;
463 ::std::result::Result::Ok(())
464 }
465
466 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
467 &self.special_fields
468 }
469
470 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
471 &mut self.special_fields
472 }
473
474 fn new() -> CClientMetrics_ClientBootstrap_RequestInfo {
475 CClientMetrics_ClientBootstrap_RequestInfo::new()
476 }
477
478 fn clear(&mut self) {
479 self.original_hostname = ::std::option::Option::None;
480 self.actual_hostname = ::std::option::Option::None;
481 self.path = ::std::option::Option::None;
482 self.base_name = ::std::option::Option::None;
483 self.success = ::std::option::Option::None;
484 self.status_code = ::std::option::Option::None;
485 self.address_of_request_url = ::std::option::Option::None;
486 self.response_time_ms = ::std::option::Option::None;
487 self.bytes_received = ::std::option::Option::None;
488 self.num_retries = ::std::option::Option::None;
489 self.special_fields.clear();
490 }
491
492 fn default_instance() -> &'static CClientMetrics_ClientBootstrap_RequestInfo {
493 static instance: CClientMetrics_ClientBootstrap_RequestInfo = CClientMetrics_ClientBootstrap_RequestInfo {
494 original_hostname: ::std::option::Option::None,
495 actual_hostname: ::std::option::Option::None,
496 path: ::std::option::Option::None,
497 base_name: ::std::option::Option::None,
498 success: ::std::option::Option::None,
499 status_code: ::std::option::Option::None,
500 address_of_request_url: ::std::option::Option::None,
501 response_time_ms: ::std::option::Option::None,
502 bytes_received: ::std::option::Option::None,
503 num_retries: ::std::option::Option::None,
504 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
505 };
506 &instance
507 }
508}
509
510#[derive(PartialEq,Clone,Default,Debug)]
512pub struct CClientMetrics_ClientBootstrap_Summary {
513 pub launcher_type: ::std::option::Option<u32>,
516 pub steam_realm: ::std::option::Option<u32>,
518 pub beta_name: ::std::option::Option<::std::string::String>,
520 pub download_completed: ::std::option::Option<bool>,
522 pub total_time_ms: ::std::option::Option<u32>,
524 pub manifest_requests: ::std::vec::Vec<CClientMetrics_ClientBootstrap_RequestInfo>,
526 pub package_requests: ::std::vec::Vec<CClientMetrics_ClientBootstrap_RequestInfo>,
528 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
531}
532
533impl<'a> ::std::default::Default for &'a CClientMetrics_ClientBootstrap_Summary {
534 fn default() -> &'a CClientMetrics_ClientBootstrap_Summary {
535 <CClientMetrics_ClientBootstrap_Summary as ::steam_vent_proto_common::protobuf::Message>::default_instance()
536 }
537}
538
539impl CClientMetrics_ClientBootstrap_Summary {
540 pub fn new() -> CClientMetrics_ClientBootstrap_Summary {
541 ::std::default::Default::default()
542 }
543
544 pub fn launcher_type(&self) -> u32 {
547 self.launcher_type.unwrap_or(0)
548 }
549
550 pub fn clear_launcher_type(&mut self) {
551 self.launcher_type = ::std::option::Option::None;
552 }
553
554 pub fn has_launcher_type(&self) -> bool {
555 self.launcher_type.is_some()
556 }
557
558 pub fn set_launcher_type(&mut self, v: u32) {
560 self.launcher_type = ::std::option::Option::Some(v);
561 }
562
563 pub fn steam_realm(&self) -> u32 {
566 self.steam_realm.unwrap_or(0)
567 }
568
569 pub fn clear_steam_realm(&mut self) {
570 self.steam_realm = ::std::option::Option::None;
571 }
572
573 pub fn has_steam_realm(&self) -> bool {
574 self.steam_realm.is_some()
575 }
576
577 pub fn set_steam_realm(&mut self, v: u32) {
579 self.steam_realm = ::std::option::Option::Some(v);
580 }
581
582 pub fn beta_name(&self) -> &str {
585 match self.beta_name.as_ref() {
586 Some(v) => v,
587 None => "",
588 }
589 }
590
591 pub fn clear_beta_name(&mut self) {
592 self.beta_name = ::std::option::Option::None;
593 }
594
595 pub fn has_beta_name(&self) -> bool {
596 self.beta_name.is_some()
597 }
598
599 pub fn set_beta_name(&mut self, v: ::std::string::String) {
601 self.beta_name = ::std::option::Option::Some(v);
602 }
603
604 pub fn mut_beta_name(&mut self) -> &mut ::std::string::String {
607 if self.beta_name.is_none() {
608 self.beta_name = ::std::option::Option::Some(::std::string::String::new());
609 }
610 self.beta_name.as_mut().unwrap()
611 }
612
613 pub fn take_beta_name(&mut self) -> ::std::string::String {
615 self.beta_name.take().unwrap_or_else(|| ::std::string::String::new())
616 }
617
618 pub fn download_completed(&self) -> bool {
621 self.download_completed.unwrap_or(false)
622 }
623
624 pub fn clear_download_completed(&mut self) {
625 self.download_completed = ::std::option::Option::None;
626 }
627
628 pub fn has_download_completed(&self) -> bool {
629 self.download_completed.is_some()
630 }
631
632 pub fn set_download_completed(&mut self, v: bool) {
634 self.download_completed = ::std::option::Option::Some(v);
635 }
636
637 pub fn total_time_ms(&self) -> u32 {
640 self.total_time_ms.unwrap_or(0)
641 }
642
643 pub fn clear_total_time_ms(&mut self) {
644 self.total_time_ms = ::std::option::Option::None;
645 }
646
647 pub fn has_total_time_ms(&self) -> bool {
648 self.total_time_ms.is_some()
649 }
650
651 pub fn set_total_time_ms(&mut self, v: u32) {
653 self.total_time_ms = ::std::option::Option::Some(v);
654 }
655}
656
657impl ::steam_vent_proto_common::protobuf::Message for CClientMetrics_ClientBootstrap_Summary {
658 const NAME: &'static str = "CClientMetrics_ClientBootstrap_Summary";
659
660 fn is_initialized(&self) -> bool {
661 true
662 }
663
664 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
665 while let Some(tag) = is.read_raw_tag_or_eof()? {
666 match tag {
667 8 => {
668 self.launcher_type = ::std::option::Option::Some(is.read_uint32()?);
669 },
670 16 => {
671 self.steam_realm = ::std::option::Option::Some(is.read_uint32()?);
672 },
673 26 => {
674 self.beta_name = ::std::option::Option::Some(is.read_string()?);
675 },
676 32 => {
677 self.download_completed = ::std::option::Option::Some(is.read_bool()?);
678 },
679 48 => {
680 self.total_time_ms = ::std::option::Option::Some(is.read_uint32()?);
681 },
682 58 => {
683 self.manifest_requests.push(is.read_message()?);
684 },
685 66 => {
686 self.package_requests.push(is.read_message()?);
687 },
688 tag => {
689 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
690 },
691 };
692 }
693 ::std::result::Result::Ok(())
694 }
695
696 #[allow(unused_variables)]
698 fn compute_size(&self) -> u64 {
699 let mut my_size = 0;
700 if let Some(v) = self.launcher_type {
701 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
702 }
703 if let Some(v) = self.steam_realm {
704 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
705 }
706 if let Some(v) = self.beta_name.as_ref() {
707 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
708 }
709 if let Some(v) = self.download_completed {
710 my_size += 1 + 1;
711 }
712 if let Some(v) = self.total_time_ms {
713 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
714 }
715 for value in &self.manifest_requests {
716 let len = value.compute_size();
717 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
718 };
719 for value in &self.package_requests {
720 let len = value.compute_size();
721 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
722 };
723 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
724 self.special_fields.cached_size().set(my_size as u32);
725 my_size
726 }
727
728 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
729 if let Some(v) = self.launcher_type {
730 os.write_uint32(1, v)?;
731 }
732 if let Some(v) = self.steam_realm {
733 os.write_uint32(2, v)?;
734 }
735 if let Some(v) = self.beta_name.as_ref() {
736 os.write_string(3, v)?;
737 }
738 if let Some(v) = self.download_completed {
739 os.write_bool(4, v)?;
740 }
741 if let Some(v) = self.total_time_ms {
742 os.write_uint32(6, v)?;
743 }
744 for v in &self.manifest_requests {
745 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(7, v, os)?;
746 };
747 for v in &self.package_requests {
748 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(8, v, os)?;
749 };
750 os.write_unknown_fields(self.special_fields.unknown_fields())?;
751 ::std::result::Result::Ok(())
752 }
753
754 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
755 &self.special_fields
756 }
757
758 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
759 &mut self.special_fields
760 }
761
762 fn new() -> CClientMetrics_ClientBootstrap_Summary {
763 CClientMetrics_ClientBootstrap_Summary::new()
764 }
765
766 fn clear(&mut self) {
767 self.launcher_type = ::std::option::Option::None;
768 self.steam_realm = ::std::option::Option::None;
769 self.beta_name = ::std::option::Option::None;
770 self.download_completed = ::std::option::Option::None;
771 self.total_time_ms = ::std::option::Option::None;
772 self.manifest_requests.clear();
773 self.package_requests.clear();
774 self.special_fields.clear();
775 }
776
777 fn default_instance() -> &'static CClientMetrics_ClientBootstrap_Summary {
778 static instance: CClientMetrics_ClientBootstrap_Summary = CClientMetrics_ClientBootstrap_Summary {
779 launcher_type: ::std::option::Option::None,
780 steam_realm: ::std::option::Option::None,
781 beta_name: ::std::option::Option::None,
782 download_completed: ::std::option::Option::None,
783 total_time_ms: ::std::option::Option::None,
784 manifest_requests: ::std::vec::Vec::new(),
785 package_requests: ::std::vec::Vec::new(),
786 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
787 };
788 &instance
789 }
790}
791
792#[derive(PartialEq,Clone,Default,Debug)]
794pub struct CClientMetrics_ContentDownloadResponse_Counts {
795 pub class_100: ::std::option::Option<u32>,
798 pub class_200: ::std::option::Option<u32>,
800 pub class_300: ::std::option::Option<u32>,
802 pub class_400: ::std::option::Option<u32>,
804 pub class_500: ::std::option::Option<u32>,
806 pub no_response: ::std::option::Option<u32>,
808 pub class_unknown: ::std::option::Option<u32>,
810 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
813}
814
815impl<'a> ::std::default::Default for &'a CClientMetrics_ContentDownloadResponse_Counts {
816 fn default() -> &'a CClientMetrics_ContentDownloadResponse_Counts {
817 <CClientMetrics_ContentDownloadResponse_Counts as ::steam_vent_proto_common::protobuf::Message>::default_instance()
818 }
819}
820
821impl CClientMetrics_ContentDownloadResponse_Counts {
822 pub fn new() -> CClientMetrics_ContentDownloadResponse_Counts {
823 ::std::default::Default::default()
824 }
825
826 pub fn class_100(&self) -> u32 {
829 self.class_100.unwrap_or(0)
830 }
831
832 pub fn clear_class_100(&mut self) {
833 self.class_100 = ::std::option::Option::None;
834 }
835
836 pub fn has_class_100(&self) -> bool {
837 self.class_100.is_some()
838 }
839
840 pub fn set_class_100(&mut self, v: u32) {
842 self.class_100 = ::std::option::Option::Some(v);
843 }
844
845 pub fn class_200(&self) -> u32 {
848 self.class_200.unwrap_or(0)
849 }
850
851 pub fn clear_class_200(&mut self) {
852 self.class_200 = ::std::option::Option::None;
853 }
854
855 pub fn has_class_200(&self) -> bool {
856 self.class_200.is_some()
857 }
858
859 pub fn set_class_200(&mut self, v: u32) {
861 self.class_200 = ::std::option::Option::Some(v);
862 }
863
864 pub fn class_300(&self) -> u32 {
867 self.class_300.unwrap_or(0)
868 }
869
870 pub fn clear_class_300(&mut self) {
871 self.class_300 = ::std::option::Option::None;
872 }
873
874 pub fn has_class_300(&self) -> bool {
875 self.class_300.is_some()
876 }
877
878 pub fn set_class_300(&mut self, v: u32) {
880 self.class_300 = ::std::option::Option::Some(v);
881 }
882
883 pub fn class_400(&self) -> u32 {
886 self.class_400.unwrap_or(0)
887 }
888
889 pub fn clear_class_400(&mut self) {
890 self.class_400 = ::std::option::Option::None;
891 }
892
893 pub fn has_class_400(&self) -> bool {
894 self.class_400.is_some()
895 }
896
897 pub fn set_class_400(&mut self, v: u32) {
899 self.class_400 = ::std::option::Option::Some(v);
900 }
901
902 pub fn class_500(&self) -> u32 {
905 self.class_500.unwrap_or(0)
906 }
907
908 pub fn clear_class_500(&mut self) {
909 self.class_500 = ::std::option::Option::None;
910 }
911
912 pub fn has_class_500(&self) -> bool {
913 self.class_500.is_some()
914 }
915
916 pub fn set_class_500(&mut self, v: u32) {
918 self.class_500 = ::std::option::Option::Some(v);
919 }
920
921 pub fn no_response(&self) -> u32 {
924 self.no_response.unwrap_or(0)
925 }
926
927 pub fn clear_no_response(&mut self) {
928 self.no_response = ::std::option::Option::None;
929 }
930
931 pub fn has_no_response(&self) -> bool {
932 self.no_response.is_some()
933 }
934
935 pub fn set_no_response(&mut self, v: u32) {
937 self.no_response = ::std::option::Option::Some(v);
938 }
939
940 pub fn class_unknown(&self) -> u32 {
943 self.class_unknown.unwrap_or(0)
944 }
945
946 pub fn clear_class_unknown(&mut self) {
947 self.class_unknown = ::std::option::Option::None;
948 }
949
950 pub fn has_class_unknown(&self) -> bool {
951 self.class_unknown.is_some()
952 }
953
954 pub fn set_class_unknown(&mut self, v: u32) {
956 self.class_unknown = ::std::option::Option::Some(v);
957 }
958}
959
960impl ::steam_vent_proto_common::protobuf::Message for CClientMetrics_ContentDownloadResponse_Counts {
961 const NAME: &'static str = "CClientMetrics_ContentDownloadResponse_Counts";
962
963 fn is_initialized(&self) -> bool {
964 true
965 }
966
967 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
968 while let Some(tag) = is.read_raw_tag_or_eof()? {
969 match tag {
970 8 => {
971 self.class_100 = ::std::option::Option::Some(is.read_uint32()?);
972 },
973 16 => {
974 self.class_200 = ::std::option::Option::Some(is.read_uint32()?);
975 },
976 24 => {
977 self.class_300 = ::std::option::Option::Some(is.read_uint32()?);
978 },
979 32 => {
980 self.class_400 = ::std::option::Option::Some(is.read_uint32()?);
981 },
982 40 => {
983 self.class_500 = ::std::option::Option::Some(is.read_uint32()?);
984 },
985 48 => {
986 self.no_response = ::std::option::Option::Some(is.read_uint32()?);
987 },
988 56 => {
989 self.class_unknown = ::std::option::Option::Some(is.read_uint32()?);
990 },
991 tag => {
992 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
993 },
994 };
995 }
996 ::std::result::Result::Ok(())
997 }
998
999 #[allow(unused_variables)]
1001 fn compute_size(&self) -> u64 {
1002 let mut my_size = 0;
1003 if let Some(v) = self.class_100 {
1004 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
1005 }
1006 if let Some(v) = self.class_200 {
1007 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
1008 }
1009 if let Some(v) = self.class_300 {
1010 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
1011 }
1012 if let Some(v) = self.class_400 {
1013 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
1014 }
1015 if let Some(v) = self.class_500 {
1016 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
1017 }
1018 if let Some(v) = self.no_response {
1019 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
1020 }
1021 if let Some(v) = self.class_unknown {
1022 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
1023 }
1024 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1025 self.special_fields.cached_size().set(my_size as u32);
1026 my_size
1027 }
1028
1029 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1030 if let Some(v) = self.class_100 {
1031 os.write_uint32(1, v)?;
1032 }
1033 if let Some(v) = self.class_200 {
1034 os.write_uint32(2, v)?;
1035 }
1036 if let Some(v) = self.class_300 {
1037 os.write_uint32(3, v)?;
1038 }
1039 if let Some(v) = self.class_400 {
1040 os.write_uint32(4, v)?;
1041 }
1042 if let Some(v) = self.class_500 {
1043 os.write_uint32(5, v)?;
1044 }
1045 if let Some(v) = self.no_response {
1046 os.write_uint32(6, v)?;
1047 }
1048 if let Some(v) = self.class_unknown {
1049 os.write_uint32(7, v)?;
1050 }
1051 os.write_unknown_fields(self.special_fields.unknown_fields())?;
1052 ::std::result::Result::Ok(())
1053 }
1054
1055 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1056 &self.special_fields
1057 }
1058
1059 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1060 &mut self.special_fields
1061 }
1062
1063 fn new() -> CClientMetrics_ContentDownloadResponse_Counts {
1064 CClientMetrics_ContentDownloadResponse_Counts::new()
1065 }
1066
1067 fn clear(&mut self) {
1068 self.class_100 = ::std::option::Option::None;
1069 self.class_200 = ::std::option::Option::None;
1070 self.class_300 = ::std::option::Option::None;
1071 self.class_400 = ::std::option::Option::None;
1072 self.class_500 = ::std::option::Option::None;
1073 self.no_response = ::std::option::Option::None;
1074 self.class_unknown = ::std::option::Option::None;
1075 self.special_fields.clear();
1076 }
1077
1078 fn default_instance() -> &'static CClientMetrics_ContentDownloadResponse_Counts {
1079 static instance: CClientMetrics_ContentDownloadResponse_Counts = CClientMetrics_ContentDownloadResponse_Counts {
1080 class_100: ::std::option::Option::None,
1081 class_200: ::std::option::Option::None,
1082 class_300: ::std::option::Option::None,
1083 class_400: ::std::option::Option::None,
1084 class_500: ::std::option::Option::None,
1085 no_response: ::std::option::Option::None,
1086 class_unknown: ::std::option::Option::None,
1087 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1088 };
1089 &instance
1090 }
1091}
1092
1093#[derive(PartialEq,Clone,Default,Debug)]
1095pub struct CClientMetrics_ContentDownloadResponse_HostCounts {
1096 pub hostname: ::std::option::Option<::std::string::String>,
1099 pub source_type: ::std::option::Option<u32>,
1101 pub counts: ::steam_vent_proto_common::protobuf::MessageField<CClientMetrics_ContentDownloadResponse_Counts>,
1103 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1106}
1107
1108impl<'a> ::std::default::Default for &'a CClientMetrics_ContentDownloadResponse_HostCounts {
1109 fn default() -> &'a CClientMetrics_ContentDownloadResponse_HostCounts {
1110 <CClientMetrics_ContentDownloadResponse_HostCounts as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1111 }
1112}
1113
1114impl CClientMetrics_ContentDownloadResponse_HostCounts {
1115 pub fn new() -> CClientMetrics_ContentDownloadResponse_HostCounts {
1116 ::std::default::Default::default()
1117 }
1118
1119 pub fn hostname(&self) -> &str {
1122 match self.hostname.as_ref() {
1123 Some(v) => v,
1124 None => "",
1125 }
1126 }
1127
1128 pub fn clear_hostname(&mut self) {
1129 self.hostname = ::std::option::Option::None;
1130 }
1131
1132 pub fn has_hostname(&self) -> bool {
1133 self.hostname.is_some()
1134 }
1135
1136 pub fn set_hostname(&mut self, v: ::std::string::String) {
1138 self.hostname = ::std::option::Option::Some(v);
1139 }
1140
1141 pub fn mut_hostname(&mut self) -> &mut ::std::string::String {
1144 if self.hostname.is_none() {
1145 self.hostname = ::std::option::Option::Some(::std::string::String::new());
1146 }
1147 self.hostname.as_mut().unwrap()
1148 }
1149
1150 pub fn take_hostname(&mut self) -> ::std::string::String {
1152 self.hostname.take().unwrap_or_else(|| ::std::string::String::new())
1153 }
1154
1155 pub fn source_type(&self) -> u32 {
1158 self.source_type.unwrap_or(0)
1159 }
1160
1161 pub fn clear_source_type(&mut self) {
1162 self.source_type = ::std::option::Option::None;
1163 }
1164
1165 pub fn has_source_type(&self) -> bool {
1166 self.source_type.is_some()
1167 }
1168
1169 pub fn set_source_type(&mut self, v: u32) {
1171 self.source_type = ::std::option::Option::Some(v);
1172 }
1173}
1174
1175impl ::steam_vent_proto_common::protobuf::Message for CClientMetrics_ContentDownloadResponse_HostCounts {
1176 const NAME: &'static str = "CClientMetrics_ContentDownloadResponse_HostCounts";
1177
1178 fn is_initialized(&self) -> bool {
1179 true
1180 }
1181
1182 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1183 while let Some(tag) = is.read_raw_tag_or_eof()? {
1184 match tag {
1185 10 => {
1186 self.hostname = ::std::option::Option::Some(is.read_string()?);
1187 },
1188 16 => {
1189 self.source_type = ::std::option::Option::Some(is.read_uint32()?);
1190 },
1191 26 => {
1192 ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.counts)?;
1193 },
1194 tag => {
1195 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1196 },
1197 };
1198 }
1199 ::std::result::Result::Ok(())
1200 }
1201
1202 #[allow(unused_variables)]
1204 fn compute_size(&self) -> u64 {
1205 let mut my_size = 0;
1206 if let Some(v) = self.hostname.as_ref() {
1207 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
1208 }
1209 if let Some(v) = self.source_type {
1210 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
1211 }
1212 if let Some(v) = self.counts.as_ref() {
1213 let len = v.compute_size();
1214 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
1215 }
1216 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1217 self.special_fields.cached_size().set(my_size as u32);
1218 my_size
1219 }
1220
1221 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1222 if let Some(v) = self.hostname.as_ref() {
1223 os.write_string(1, v)?;
1224 }
1225 if let Some(v) = self.source_type {
1226 os.write_uint32(2, v)?;
1227 }
1228 if let Some(v) = self.counts.as_ref() {
1229 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
1230 }
1231 os.write_unknown_fields(self.special_fields.unknown_fields())?;
1232 ::std::result::Result::Ok(())
1233 }
1234
1235 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1236 &self.special_fields
1237 }
1238
1239 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1240 &mut self.special_fields
1241 }
1242
1243 fn new() -> CClientMetrics_ContentDownloadResponse_HostCounts {
1244 CClientMetrics_ContentDownloadResponse_HostCounts::new()
1245 }
1246
1247 fn clear(&mut self) {
1248 self.hostname = ::std::option::Option::None;
1249 self.source_type = ::std::option::Option::None;
1250 self.counts.clear();
1251 self.special_fields.clear();
1252 }
1253
1254 fn default_instance() -> &'static CClientMetrics_ContentDownloadResponse_HostCounts {
1255 static instance: CClientMetrics_ContentDownloadResponse_HostCounts = CClientMetrics_ContentDownloadResponse_HostCounts {
1256 hostname: ::std::option::Option::None,
1257 source_type: ::std::option::Option::None,
1258 counts: ::steam_vent_proto_common::protobuf::MessageField::none(),
1259 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1260 };
1261 &instance
1262 }
1263}
1264
1265#[derive(PartialEq,Clone,Default,Debug)]
1267pub struct CClientMetrics_ContentDownloadResponse_Hosts {
1268 pub hosts: ::std::vec::Vec<CClientMetrics_ContentDownloadResponse_HostCounts>,
1271 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1274}
1275
1276impl<'a> ::std::default::Default for &'a CClientMetrics_ContentDownloadResponse_Hosts {
1277 fn default() -> &'a CClientMetrics_ContentDownloadResponse_Hosts {
1278 <CClientMetrics_ContentDownloadResponse_Hosts as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1279 }
1280}
1281
1282impl CClientMetrics_ContentDownloadResponse_Hosts {
1283 pub fn new() -> CClientMetrics_ContentDownloadResponse_Hosts {
1284 ::std::default::Default::default()
1285 }
1286}
1287
1288impl ::steam_vent_proto_common::protobuf::Message for CClientMetrics_ContentDownloadResponse_Hosts {
1289 const NAME: &'static str = "CClientMetrics_ContentDownloadResponse_Hosts";
1290
1291 fn is_initialized(&self) -> bool {
1292 true
1293 }
1294
1295 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1296 while let Some(tag) = is.read_raw_tag_or_eof()? {
1297 match tag {
1298 10 => {
1299 self.hosts.push(is.read_message()?);
1300 },
1301 tag => {
1302 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1303 },
1304 };
1305 }
1306 ::std::result::Result::Ok(())
1307 }
1308
1309 #[allow(unused_variables)]
1311 fn compute_size(&self) -> u64 {
1312 let mut my_size = 0;
1313 for value in &self.hosts {
1314 let len = value.compute_size();
1315 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
1316 };
1317 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1318 self.special_fields.cached_size().set(my_size as u32);
1319 my_size
1320 }
1321
1322 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1323 for v in &self.hosts {
1324 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
1325 };
1326 os.write_unknown_fields(self.special_fields.unknown_fields())?;
1327 ::std::result::Result::Ok(())
1328 }
1329
1330 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1331 &self.special_fields
1332 }
1333
1334 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1335 &mut self.special_fields
1336 }
1337
1338 fn new() -> CClientMetrics_ContentDownloadResponse_Hosts {
1339 CClientMetrics_ContentDownloadResponse_Hosts::new()
1340 }
1341
1342 fn clear(&mut self) {
1343 self.hosts.clear();
1344 self.special_fields.clear();
1345 }
1346
1347 fn default_instance() -> &'static CClientMetrics_ContentDownloadResponse_Hosts {
1348 static instance: CClientMetrics_ContentDownloadResponse_Hosts = CClientMetrics_ContentDownloadResponse_Hosts {
1349 hosts: ::std::vec::Vec::new(),
1350 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1351 };
1352 &instance
1353 }
1354}
1355
1356
1357const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
1358
1359impl ::steam_vent_proto_common::RpcMessage
1360for CClientMetrics_ClientBootstrap_RequestInfo {
1361 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
1362 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
1363 }
1364 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
1365 use ::steam_vent_proto_common::protobuf::Message;
1366 self.write_to_writer(writer)
1367 }
1368 fn encode_size(&self) -> usize {
1369 use ::steam_vent_proto_common::protobuf::Message;
1370 self.compute_size() as usize
1371 }
1372}
1373impl ::steam_vent_proto_common::RpcMessage for CClientMetrics_ClientBootstrap_Summary {
1374 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
1375 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
1376 }
1377 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
1378 use ::steam_vent_proto_common::protobuf::Message;
1379 self.write_to_writer(writer)
1380 }
1381 fn encode_size(&self) -> usize {
1382 use ::steam_vent_proto_common::protobuf::Message;
1383 self.compute_size() as usize
1384 }
1385}
1386impl ::steam_vent_proto_common::RpcMessage
1387for CClientMetrics_ContentDownloadResponse_Counts {
1388 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
1389 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
1390 }
1391 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
1392 use ::steam_vent_proto_common::protobuf::Message;
1393 self.write_to_writer(writer)
1394 }
1395 fn encode_size(&self) -> usize {
1396 use ::steam_vent_proto_common::protobuf::Message;
1397 self.compute_size() as usize
1398 }
1399}
1400impl ::steam_vent_proto_common::RpcMessage
1401for CClientMetrics_ContentDownloadResponse_HostCounts {
1402 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
1403 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
1404 }
1405 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
1406 use ::steam_vent_proto_common::protobuf::Message;
1407 self.write_to_writer(writer)
1408 }
1409 fn encode_size(&self) -> usize {
1410 use ::steam_vent_proto_common::protobuf::Message;
1411 self.compute_size() as usize
1412 }
1413}
1414impl ::steam_vent_proto_common::RpcMessage
1415for CClientMetrics_ContentDownloadResponse_Hosts {
1416 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
1417 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
1418 }
1419 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
1420 use ::steam_vent_proto_common::protobuf::Message;
1421 self.write_to_writer(writer)
1422 }
1423 fn encode_size(&self) -> usize {
1424 use ::steam_vent_proto_common::protobuf::Message;
1425 self.compute_size() as usize
1426 }
1427}