steam_vent_proto_steam/generated/
steammessages_datapublisher_steamclient.rs

1// This file is generated by rust-protobuf 3.5.1. Do not edit
2// .proto file is parsed by pure
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(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
21//! Generated file from `steammessages_datapublisher.steamclient.proto`
22// Generated for lite runtime
23
24/// Generated files are compatible only with the same version
25/// of protobuf runtime.
26const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
27
28// @@protoc_insertion_point(message:CDataPublisher_ClientContentCorruptionReport_Notification)
29#[derive(PartialEq,Clone,Default,Debug)]
30pub struct CDataPublisher_ClientContentCorruptionReport_Notification {
31    // message fields
32    // @@protoc_insertion_point(field:CDataPublisher_ClientContentCorruptionReport_Notification.appid)
33    pub appid: ::std::option::Option<u32>,
34    // @@protoc_insertion_point(field:CDataPublisher_ClientContentCorruptionReport_Notification.depotid)
35    pub depotid: ::std::option::Option<u32>,
36    // @@protoc_insertion_point(field:CDataPublisher_ClientContentCorruptionReport_Notification.download_source)
37    pub download_source: ::std::option::Option<::std::string::String>,
38    // @@protoc_insertion_point(field:CDataPublisher_ClientContentCorruptionReport_Notification.objectid)
39    pub objectid: ::std::option::Option<::std::string::String>,
40    // @@protoc_insertion_point(field:CDataPublisher_ClientContentCorruptionReport_Notification.cellid)
41    pub cellid: ::std::option::Option<u32>,
42    // @@protoc_insertion_point(field:CDataPublisher_ClientContentCorruptionReport_Notification.is_manifest)
43    pub is_manifest: ::std::option::Option<bool>,
44    // @@protoc_insertion_point(field:CDataPublisher_ClientContentCorruptionReport_Notification.object_size)
45    pub object_size: ::std::option::Option<u64>,
46    // @@protoc_insertion_point(field:CDataPublisher_ClientContentCorruptionReport_Notification.corruption_type)
47    pub corruption_type: ::std::option::Option<u32>,
48    // @@protoc_insertion_point(field:CDataPublisher_ClientContentCorruptionReport_Notification.used_https)
49    pub used_https: ::std::option::Option<bool>,
50    // @@protoc_insertion_point(field:CDataPublisher_ClientContentCorruptionReport_Notification.oc_proxy_detected)
51    pub oc_proxy_detected: ::std::option::Option<bool>,
52    // special fields
53    // @@protoc_insertion_point(special_field:CDataPublisher_ClientContentCorruptionReport_Notification.special_fields)
54    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
55}
56
57impl<'a> ::std::default::Default for &'a CDataPublisher_ClientContentCorruptionReport_Notification {
58    fn default() -> &'a CDataPublisher_ClientContentCorruptionReport_Notification {
59        <CDataPublisher_ClientContentCorruptionReport_Notification as ::steam_vent_proto_common::protobuf::Message>::default_instance()
60    }
61}
62
63impl CDataPublisher_ClientContentCorruptionReport_Notification {
64    pub fn new() -> CDataPublisher_ClientContentCorruptionReport_Notification {
65        ::std::default::Default::default()
66    }
67
68    // optional uint32 appid = 1;
69
70    pub fn appid(&self) -> u32 {
71        self.appid.unwrap_or(0)
72    }
73
74    pub fn clear_appid(&mut self) {
75        self.appid = ::std::option::Option::None;
76    }
77
78    pub fn has_appid(&self) -> bool {
79        self.appid.is_some()
80    }
81
82    // Param is passed by value, moved
83    pub fn set_appid(&mut self, v: u32) {
84        self.appid = ::std::option::Option::Some(v);
85    }
86
87    // optional uint32 depotid = 2;
88
89    pub fn depotid(&self) -> u32 {
90        self.depotid.unwrap_or(0)
91    }
92
93    pub fn clear_depotid(&mut self) {
94        self.depotid = ::std::option::Option::None;
95    }
96
97    pub fn has_depotid(&self) -> bool {
98        self.depotid.is_some()
99    }
100
101    // Param is passed by value, moved
102    pub fn set_depotid(&mut self, v: u32) {
103        self.depotid = ::std::option::Option::Some(v);
104    }
105
106    // optional string download_source = 3;
107
108    pub fn download_source(&self) -> &str {
109        match self.download_source.as_ref() {
110            Some(v) => v,
111            None => "",
112        }
113    }
114
115    pub fn clear_download_source(&mut self) {
116        self.download_source = ::std::option::Option::None;
117    }
118
119    pub fn has_download_source(&self) -> bool {
120        self.download_source.is_some()
121    }
122
123    // Param is passed by value, moved
124    pub fn set_download_source(&mut self, v: ::std::string::String) {
125        self.download_source = ::std::option::Option::Some(v);
126    }
127
128    // Mutable pointer to the field.
129    // If field is not initialized, it is initialized with default value first.
130    pub fn mut_download_source(&mut self) -> &mut ::std::string::String {
131        if self.download_source.is_none() {
132            self.download_source = ::std::option::Option::Some(::std::string::String::new());
133        }
134        self.download_source.as_mut().unwrap()
135    }
136
137    // Take field
138    pub fn take_download_source(&mut self) -> ::std::string::String {
139        self.download_source.take().unwrap_or_else(|| ::std::string::String::new())
140    }
141
142    // optional string objectid = 4;
143
144    pub fn objectid(&self) -> &str {
145        match self.objectid.as_ref() {
146            Some(v) => v,
147            None => "",
148        }
149    }
150
151    pub fn clear_objectid(&mut self) {
152        self.objectid = ::std::option::Option::None;
153    }
154
155    pub fn has_objectid(&self) -> bool {
156        self.objectid.is_some()
157    }
158
159    // Param is passed by value, moved
160    pub fn set_objectid(&mut self, v: ::std::string::String) {
161        self.objectid = ::std::option::Option::Some(v);
162    }
163
164    // Mutable pointer to the field.
165    // If field is not initialized, it is initialized with default value first.
166    pub fn mut_objectid(&mut self) -> &mut ::std::string::String {
167        if self.objectid.is_none() {
168            self.objectid = ::std::option::Option::Some(::std::string::String::new());
169        }
170        self.objectid.as_mut().unwrap()
171    }
172
173    // Take field
174    pub fn take_objectid(&mut self) -> ::std::string::String {
175        self.objectid.take().unwrap_or_else(|| ::std::string::String::new())
176    }
177
178    // optional uint32 cellid = 5;
179
180    pub fn cellid(&self) -> u32 {
181        self.cellid.unwrap_or(0)
182    }
183
184    pub fn clear_cellid(&mut self) {
185        self.cellid = ::std::option::Option::None;
186    }
187
188    pub fn has_cellid(&self) -> bool {
189        self.cellid.is_some()
190    }
191
192    // Param is passed by value, moved
193    pub fn set_cellid(&mut self, v: u32) {
194        self.cellid = ::std::option::Option::Some(v);
195    }
196
197    // optional bool is_manifest = 6;
198
199    pub fn is_manifest(&self) -> bool {
200        self.is_manifest.unwrap_or(false)
201    }
202
203    pub fn clear_is_manifest(&mut self) {
204        self.is_manifest = ::std::option::Option::None;
205    }
206
207    pub fn has_is_manifest(&self) -> bool {
208        self.is_manifest.is_some()
209    }
210
211    // Param is passed by value, moved
212    pub fn set_is_manifest(&mut self, v: bool) {
213        self.is_manifest = ::std::option::Option::Some(v);
214    }
215
216    // optional uint64 object_size = 7;
217
218    pub fn object_size(&self) -> u64 {
219        self.object_size.unwrap_or(0)
220    }
221
222    pub fn clear_object_size(&mut self) {
223        self.object_size = ::std::option::Option::None;
224    }
225
226    pub fn has_object_size(&self) -> bool {
227        self.object_size.is_some()
228    }
229
230    // Param is passed by value, moved
231    pub fn set_object_size(&mut self, v: u64) {
232        self.object_size = ::std::option::Option::Some(v);
233    }
234
235    // optional uint32 corruption_type = 8;
236
237    pub fn corruption_type(&self) -> u32 {
238        self.corruption_type.unwrap_or(0)
239    }
240
241    pub fn clear_corruption_type(&mut self) {
242        self.corruption_type = ::std::option::Option::None;
243    }
244
245    pub fn has_corruption_type(&self) -> bool {
246        self.corruption_type.is_some()
247    }
248
249    // Param is passed by value, moved
250    pub fn set_corruption_type(&mut self, v: u32) {
251        self.corruption_type = ::std::option::Option::Some(v);
252    }
253
254    // optional bool used_https = 9;
255
256    pub fn used_https(&self) -> bool {
257        self.used_https.unwrap_or(false)
258    }
259
260    pub fn clear_used_https(&mut self) {
261        self.used_https = ::std::option::Option::None;
262    }
263
264    pub fn has_used_https(&self) -> bool {
265        self.used_https.is_some()
266    }
267
268    // Param is passed by value, moved
269    pub fn set_used_https(&mut self, v: bool) {
270        self.used_https = ::std::option::Option::Some(v);
271    }
272
273    // optional bool oc_proxy_detected = 10;
274
275    pub fn oc_proxy_detected(&self) -> bool {
276        self.oc_proxy_detected.unwrap_or(false)
277    }
278
279    pub fn clear_oc_proxy_detected(&mut self) {
280        self.oc_proxy_detected = ::std::option::Option::None;
281    }
282
283    pub fn has_oc_proxy_detected(&self) -> bool {
284        self.oc_proxy_detected.is_some()
285    }
286
287    // Param is passed by value, moved
288    pub fn set_oc_proxy_detected(&mut self, v: bool) {
289        self.oc_proxy_detected = ::std::option::Option::Some(v);
290    }
291}
292
293impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_ClientContentCorruptionReport_Notification {
294    const NAME: &'static str = "CDataPublisher_ClientContentCorruptionReport_Notification";
295
296    fn is_initialized(&self) -> bool {
297        true
298    }
299
300    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
301        while let Some(tag) = is.read_raw_tag_or_eof()? {
302            match tag {
303                8 => {
304                    self.appid = ::std::option::Option::Some(is.read_uint32()?);
305                },
306                16 => {
307                    self.depotid = ::std::option::Option::Some(is.read_uint32()?);
308                },
309                26 => {
310                    self.download_source = ::std::option::Option::Some(is.read_string()?);
311                },
312                34 => {
313                    self.objectid = ::std::option::Option::Some(is.read_string()?);
314                },
315                40 => {
316                    self.cellid = ::std::option::Option::Some(is.read_uint32()?);
317                },
318                48 => {
319                    self.is_manifest = ::std::option::Option::Some(is.read_bool()?);
320                },
321                56 => {
322                    self.object_size = ::std::option::Option::Some(is.read_uint64()?);
323                },
324                64 => {
325                    self.corruption_type = ::std::option::Option::Some(is.read_uint32()?);
326                },
327                72 => {
328                    self.used_https = ::std::option::Option::Some(is.read_bool()?);
329                },
330                80 => {
331                    self.oc_proxy_detected = ::std::option::Option::Some(is.read_bool()?);
332                },
333                tag => {
334                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
335                },
336            };
337        }
338        ::std::result::Result::Ok(())
339    }
340
341    // Compute sizes of nested messages
342    #[allow(unused_variables)]
343    fn compute_size(&self) -> u64 {
344        let mut my_size = 0;
345        if let Some(v) = self.appid {
346            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
347        }
348        if let Some(v) = self.depotid {
349            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
350        }
351        if let Some(v) = self.download_source.as_ref() {
352            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
353        }
354        if let Some(v) = self.objectid.as_ref() {
355            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
356        }
357        if let Some(v) = self.cellid {
358            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
359        }
360        if let Some(v) = self.is_manifest {
361            my_size += 1 + 1;
362        }
363        if let Some(v) = self.object_size {
364            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(7, v);
365        }
366        if let Some(v) = self.corruption_type {
367            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(8, v);
368        }
369        if let Some(v) = self.used_https {
370            my_size += 1 + 1;
371        }
372        if let Some(v) = self.oc_proxy_detected {
373            my_size += 1 + 1;
374        }
375        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
376        self.special_fields.cached_size().set(my_size as u32);
377        my_size
378    }
379
380    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
381        if let Some(v) = self.appid {
382            os.write_uint32(1, v)?;
383        }
384        if let Some(v) = self.depotid {
385            os.write_uint32(2, v)?;
386        }
387        if let Some(v) = self.download_source.as_ref() {
388            os.write_string(3, v)?;
389        }
390        if let Some(v) = self.objectid.as_ref() {
391            os.write_string(4, v)?;
392        }
393        if let Some(v) = self.cellid {
394            os.write_uint32(5, v)?;
395        }
396        if let Some(v) = self.is_manifest {
397            os.write_bool(6, v)?;
398        }
399        if let Some(v) = self.object_size {
400            os.write_uint64(7, v)?;
401        }
402        if let Some(v) = self.corruption_type {
403            os.write_uint32(8, v)?;
404        }
405        if let Some(v) = self.used_https {
406            os.write_bool(9, v)?;
407        }
408        if let Some(v) = self.oc_proxy_detected {
409            os.write_bool(10, v)?;
410        }
411        os.write_unknown_fields(self.special_fields.unknown_fields())?;
412        ::std::result::Result::Ok(())
413    }
414
415    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
416        &self.special_fields
417    }
418
419    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
420        &mut self.special_fields
421    }
422
423    fn new() -> CDataPublisher_ClientContentCorruptionReport_Notification {
424        CDataPublisher_ClientContentCorruptionReport_Notification::new()
425    }
426
427    fn clear(&mut self) {
428        self.appid = ::std::option::Option::None;
429        self.depotid = ::std::option::Option::None;
430        self.download_source = ::std::option::Option::None;
431        self.objectid = ::std::option::Option::None;
432        self.cellid = ::std::option::Option::None;
433        self.is_manifest = ::std::option::Option::None;
434        self.object_size = ::std::option::Option::None;
435        self.corruption_type = ::std::option::Option::None;
436        self.used_https = ::std::option::Option::None;
437        self.oc_proxy_detected = ::std::option::Option::None;
438        self.special_fields.clear();
439    }
440
441    fn default_instance() -> &'static CDataPublisher_ClientContentCorruptionReport_Notification {
442        static instance: CDataPublisher_ClientContentCorruptionReport_Notification = CDataPublisher_ClientContentCorruptionReport_Notification {
443            appid: ::std::option::Option::None,
444            depotid: ::std::option::Option::None,
445            download_source: ::std::option::Option::None,
446            objectid: ::std::option::Option::None,
447            cellid: ::std::option::Option::None,
448            is_manifest: ::std::option::Option::None,
449            object_size: ::std::option::Option::None,
450            corruption_type: ::std::option::Option::None,
451            used_https: ::std::option::Option::None,
452            oc_proxy_detected: ::std::option::Option::None,
453            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
454        };
455        &instance
456    }
457}
458
459// @@protoc_insertion_point(message:CDataPublisher_ClientUpdateAppJob_Notification)
460#[derive(PartialEq,Clone,Default,Debug)]
461pub struct CDataPublisher_ClientUpdateAppJob_Notification {
462    // message fields
463    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.app_id)
464    pub app_id: ::std::option::Option<u32>,
465    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.depot_ids)
466    pub depot_ids: ::std::vec::Vec<u32>,
467    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.app_state)
468    pub app_state: ::std::option::Option<u32>,
469    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.job_app_error)
470    pub job_app_error: ::std::option::Option<u32>,
471    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.error_details)
472    pub error_details: ::std::option::Option<::std::string::String>,
473    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.job_duration)
474    pub job_duration: ::std::option::Option<u32>,
475    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.files_validation_failed)
476    pub files_validation_failed: ::std::option::Option<u32>,
477    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.job_bytes_downloaded)
478    pub job_bytes_downloaded: ::std::option::Option<u64>,
479    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.job_bytes_staged)
480    pub job_bytes_staged: ::std::option::Option<u64>,
481    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.bytes_comitted)
482    pub bytes_comitted: ::std::option::Option<u64>,
483    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.start_app_state)
484    pub start_app_state: ::std::option::Option<u32>,
485    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.stats_machine_id)
486    pub stats_machine_id: ::std::option::Option<u64>,
487    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.branch_name)
488    pub branch_name: ::std::option::Option<::std::string::String>,
489    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.total_bytes_downloaded)
490    pub total_bytes_downloaded: ::std::option::Option<u64>,
491    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.total_bytes_staged)
492    pub total_bytes_staged: ::std::option::Option<u64>,
493    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.total_bytes_restored)
494    pub total_bytes_restored: ::std::option::Option<u64>,
495    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.is_borrowed)
496    pub is_borrowed: ::std::option::Option<bool>,
497    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.is_free_weekend)
498    pub is_free_weekend: ::std::option::Option<bool>,
499    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.total_bytes_patched)
500    pub total_bytes_patched: ::std::option::Option<u64>,
501    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.total_bytes_saved)
502    pub total_bytes_saved: ::std::option::Option<u64>,
503    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.cell_id)
504    pub cell_id: ::std::option::Option<u32>,
505    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.is_workshop)
506    pub is_workshop: ::std::option::Option<bool>,
507    // @@protoc_insertion_point(field:CDataPublisher_ClientUpdateAppJob_Notification.is_shader)
508    pub is_shader: ::std::option::Option<bool>,
509    // special fields
510    // @@protoc_insertion_point(special_field:CDataPublisher_ClientUpdateAppJob_Notification.special_fields)
511    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
512}
513
514impl<'a> ::std::default::Default for &'a CDataPublisher_ClientUpdateAppJob_Notification {
515    fn default() -> &'a CDataPublisher_ClientUpdateAppJob_Notification {
516        <CDataPublisher_ClientUpdateAppJob_Notification as ::steam_vent_proto_common::protobuf::Message>::default_instance()
517    }
518}
519
520impl CDataPublisher_ClientUpdateAppJob_Notification {
521    pub fn new() -> CDataPublisher_ClientUpdateAppJob_Notification {
522        ::std::default::Default::default()
523    }
524
525    // optional uint32 app_id = 1;
526
527    pub fn app_id(&self) -> u32 {
528        self.app_id.unwrap_or(0)
529    }
530
531    pub fn clear_app_id(&mut self) {
532        self.app_id = ::std::option::Option::None;
533    }
534
535    pub fn has_app_id(&self) -> bool {
536        self.app_id.is_some()
537    }
538
539    // Param is passed by value, moved
540    pub fn set_app_id(&mut self, v: u32) {
541        self.app_id = ::std::option::Option::Some(v);
542    }
543
544    // optional uint32 app_state = 3;
545
546    pub fn app_state(&self) -> u32 {
547        self.app_state.unwrap_or(0)
548    }
549
550    pub fn clear_app_state(&mut self) {
551        self.app_state = ::std::option::Option::None;
552    }
553
554    pub fn has_app_state(&self) -> bool {
555        self.app_state.is_some()
556    }
557
558    // Param is passed by value, moved
559    pub fn set_app_state(&mut self, v: u32) {
560        self.app_state = ::std::option::Option::Some(v);
561    }
562
563    // optional uint32 job_app_error = 4;
564
565    pub fn job_app_error(&self) -> u32 {
566        self.job_app_error.unwrap_or(0)
567    }
568
569    pub fn clear_job_app_error(&mut self) {
570        self.job_app_error = ::std::option::Option::None;
571    }
572
573    pub fn has_job_app_error(&self) -> bool {
574        self.job_app_error.is_some()
575    }
576
577    // Param is passed by value, moved
578    pub fn set_job_app_error(&mut self, v: u32) {
579        self.job_app_error = ::std::option::Option::Some(v);
580    }
581
582    // optional string error_details = 5;
583
584    pub fn error_details(&self) -> &str {
585        match self.error_details.as_ref() {
586            Some(v) => v,
587            None => "",
588        }
589    }
590
591    pub fn clear_error_details(&mut self) {
592        self.error_details = ::std::option::Option::None;
593    }
594
595    pub fn has_error_details(&self) -> bool {
596        self.error_details.is_some()
597    }
598
599    // Param is passed by value, moved
600    pub fn set_error_details(&mut self, v: ::std::string::String) {
601        self.error_details = ::std::option::Option::Some(v);
602    }
603
604    // Mutable pointer to the field.
605    // If field is not initialized, it is initialized with default value first.
606    pub fn mut_error_details(&mut self) -> &mut ::std::string::String {
607        if self.error_details.is_none() {
608            self.error_details = ::std::option::Option::Some(::std::string::String::new());
609        }
610        self.error_details.as_mut().unwrap()
611    }
612
613    // Take field
614    pub fn take_error_details(&mut self) -> ::std::string::String {
615        self.error_details.take().unwrap_or_else(|| ::std::string::String::new())
616    }
617
618    // optional uint32 job_duration = 6;
619
620    pub fn job_duration(&self) -> u32 {
621        self.job_duration.unwrap_or(0)
622    }
623
624    pub fn clear_job_duration(&mut self) {
625        self.job_duration = ::std::option::Option::None;
626    }
627
628    pub fn has_job_duration(&self) -> bool {
629        self.job_duration.is_some()
630    }
631
632    // Param is passed by value, moved
633    pub fn set_job_duration(&mut self, v: u32) {
634        self.job_duration = ::std::option::Option::Some(v);
635    }
636
637    // optional uint32 files_validation_failed = 7;
638
639    pub fn files_validation_failed(&self) -> u32 {
640        self.files_validation_failed.unwrap_or(0)
641    }
642
643    pub fn clear_files_validation_failed(&mut self) {
644        self.files_validation_failed = ::std::option::Option::None;
645    }
646
647    pub fn has_files_validation_failed(&self) -> bool {
648        self.files_validation_failed.is_some()
649    }
650
651    // Param is passed by value, moved
652    pub fn set_files_validation_failed(&mut self, v: u32) {
653        self.files_validation_failed = ::std::option::Option::Some(v);
654    }
655
656    // optional uint64 job_bytes_downloaded = 8;
657
658    pub fn job_bytes_downloaded(&self) -> u64 {
659        self.job_bytes_downloaded.unwrap_or(0)
660    }
661
662    pub fn clear_job_bytes_downloaded(&mut self) {
663        self.job_bytes_downloaded = ::std::option::Option::None;
664    }
665
666    pub fn has_job_bytes_downloaded(&self) -> bool {
667        self.job_bytes_downloaded.is_some()
668    }
669
670    // Param is passed by value, moved
671    pub fn set_job_bytes_downloaded(&mut self, v: u64) {
672        self.job_bytes_downloaded = ::std::option::Option::Some(v);
673    }
674
675    // optional uint64 job_bytes_staged = 9;
676
677    pub fn job_bytes_staged(&self) -> u64 {
678        self.job_bytes_staged.unwrap_or(0)
679    }
680
681    pub fn clear_job_bytes_staged(&mut self) {
682        self.job_bytes_staged = ::std::option::Option::None;
683    }
684
685    pub fn has_job_bytes_staged(&self) -> bool {
686        self.job_bytes_staged.is_some()
687    }
688
689    // Param is passed by value, moved
690    pub fn set_job_bytes_staged(&mut self, v: u64) {
691        self.job_bytes_staged = ::std::option::Option::Some(v);
692    }
693
694    // optional uint64 bytes_comitted = 10;
695
696    pub fn bytes_comitted(&self) -> u64 {
697        self.bytes_comitted.unwrap_or(0)
698    }
699
700    pub fn clear_bytes_comitted(&mut self) {
701        self.bytes_comitted = ::std::option::Option::None;
702    }
703
704    pub fn has_bytes_comitted(&self) -> bool {
705        self.bytes_comitted.is_some()
706    }
707
708    // Param is passed by value, moved
709    pub fn set_bytes_comitted(&mut self, v: u64) {
710        self.bytes_comitted = ::std::option::Option::Some(v);
711    }
712
713    // optional uint32 start_app_state = 11;
714
715    pub fn start_app_state(&self) -> u32 {
716        self.start_app_state.unwrap_or(0)
717    }
718
719    pub fn clear_start_app_state(&mut self) {
720        self.start_app_state = ::std::option::Option::None;
721    }
722
723    pub fn has_start_app_state(&self) -> bool {
724        self.start_app_state.is_some()
725    }
726
727    // Param is passed by value, moved
728    pub fn set_start_app_state(&mut self, v: u32) {
729        self.start_app_state = ::std::option::Option::Some(v);
730    }
731
732    // optional fixed64 stats_machine_id = 12;
733
734    pub fn stats_machine_id(&self) -> u64 {
735        self.stats_machine_id.unwrap_or(0)
736    }
737
738    pub fn clear_stats_machine_id(&mut self) {
739        self.stats_machine_id = ::std::option::Option::None;
740    }
741
742    pub fn has_stats_machine_id(&self) -> bool {
743        self.stats_machine_id.is_some()
744    }
745
746    // Param is passed by value, moved
747    pub fn set_stats_machine_id(&mut self, v: u64) {
748        self.stats_machine_id = ::std::option::Option::Some(v);
749    }
750
751    // optional string branch_name = 13;
752
753    pub fn branch_name(&self) -> &str {
754        match self.branch_name.as_ref() {
755            Some(v) => v,
756            None => "",
757        }
758    }
759
760    pub fn clear_branch_name(&mut self) {
761        self.branch_name = ::std::option::Option::None;
762    }
763
764    pub fn has_branch_name(&self) -> bool {
765        self.branch_name.is_some()
766    }
767
768    // Param is passed by value, moved
769    pub fn set_branch_name(&mut self, v: ::std::string::String) {
770        self.branch_name = ::std::option::Option::Some(v);
771    }
772
773    // Mutable pointer to the field.
774    // If field is not initialized, it is initialized with default value first.
775    pub fn mut_branch_name(&mut self) -> &mut ::std::string::String {
776        if self.branch_name.is_none() {
777            self.branch_name = ::std::option::Option::Some(::std::string::String::new());
778        }
779        self.branch_name.as_mut().unwrap()
780    }
781
782    // Take field
783    pub fn take_branch_name(&mut self) -> ::std::string::String {
784        self.branch_name.take().unwrap_or_else(|| ::std::string::String::new())
785    }
786
787    // optional uint64 total_bytes_downloaded = 14;
788
789    pub fn total_bytes_downloaded(&self) -> u64 {
790        self.total_bytes_downloaded.unwrap_or(0)
791    }
792
793    pub fn clear_total_bytes_downloaded(&mut self) {
794        self.total_bytes_downloaded = ::std::option::Option::None;
795    }
796
797    pub fn has_total_bytes_downloaded(&self) -> bool {
798        self.total_bytes_downloaded.is_some()
799    }
800
801    // Param is passed by value, moved
802    pub fn set_total_bytes_downloaded(&mut self, v: u64) {
803        self.total_bytes_downloaded = ::std::option::Option::Some(v);
804    }
805
806    // optional uint64 total_bytes_staged = 15;
807
808    pub fn total_bytes_staged(&self) -> u64 {
809        self.total_bytes_staged.unwrap_or(0)
810    }
811
812    pub fn clear_total_bytes_staged(&mut self) {
813        self.total_bytes_staged = ::std::option::Option::None;
814    }
815
816    pub fn has_total_bytes_staged(&self) -> bool {
817        self.total_bytes_staged.is_some()
818    }
819
820    // Param is passed by value, moved
821    pub fn set_total_bytes_staged(&mut self, v: u64) {
822        self.total_bytes_staged = ::std::option::Option::Some(v);
823    }
824
825    // optional uint64 total_bytes_restored = 16;
826
827    pub fn total_bytes_restored(&self) -> u64 {
828        self.total_bytes_restored.unwrap_or(0)
829    }
830
831    pub fn clear_total_bytes_restored(&mut self) {
832        self.total_bytes_restored = ::std::option::Option::None;
833    }
834
835    pub fn has_total_bytes_restored(&self) -> bool {
836        self.total_bytes_restored.is_some()
837    }
838
839    // Param is passed by value, moved
840    pub fn set_total_bytes_restored(&mut self, v: u64) {
841        self.total_bytes_restored = ::std::option::Option::Some(v);
842    }
843
844    // optional bool is_borrowed = 17;
845
846    pub fn is_borrowed(&self) -> bool {
847        self.is_borrowed.unwrap_or(false)
848    }
849
850    pub fn clear_is_borrowed(&mut self) {
851        self.is_borrowed = ::std::option::Option::None;
852    }
853
854    pub fn has_is_borrowed(&self) -> bool {
855        self.is_borrowed.is_some()
856    }
857
858    // Param is passed by value, moved
859    pub fn set_is_borrowed(&mut self, v: bool) {
860        self.is_borrowed = ::std::option::Option::Some(v);
861    }
862
863    // optional bool is_free_weekend = 18;
864
865    pub fn is_free_weekend(&self) -> bool {
866        self.is_free_weekend.unwrap_or(false)
867    }
868
869    pub fn clear_is_free_weekend(&mut self) {
870        self.is_free_weekend = ::std::option::Option::None;
871    }
872
873    pub fn has_is_free_weekend(&self) -> bool {
874        self.is_free_weekend.is_some()
875    }
876
877    // Param is passed by value, moved
878    pub fn set_is_free_weekend(&mut self, v: bool) {
879        self.is_free_weekend = ::std::option::Option::Some(v);
880    }
881
882    // optional uint64 total_bytes_patched = 20;
883
884    pub fn total_bytes_patched(&self) -> u64 {
885        self.total_bytes_patched.unwrap_or(0)
886    }
887
888    pub fn clear_total_bytes_patched(&mut self) {
889        self.total_bytes_patched = ::std::option::Option::None;
890    }
891
892    pub fn has_total_bytes_patched(&self) -> bool {
893        self.total_bytes_patched.is_some()
894    }
895
896    // Param is passed by value, moved
897    pub fn set_total_bytes_patched(&mut self, v: u64) {
898        self.total_bytes_patched = ::std::option::Option::Some(v);
899    }
900
901    // optional uint64 total_bytes_saved = 21;
902
903    pub fn total_bytes_saved(&self) -> u64 {
904        self.total_bytes_saved.unwrap_or(0)
905    }
906
907    pub fn clear_total_bytes_saved(&mut self) {
908        self.total_bytes_saved = ::std::option::Option::None;
909    }
910
911    pub fn has_total_bytes_saved(&self) -> bool {
912        self.total_bytes_saved.is_some()
913    }
914
915    // Param is passed by value, moved
916    pub fn set_total_bytes_saved(&mut self, v: u64) {
917        self.total_bytes_saved = ::std::option::Option::Some(v);
918    }
919
920    // optional uint32 cell_id = 22;
921
922    pub fn cell_id(&self) -> u32 {
923        self.cell_id.unwrap_or(0)
924    }
925
926    pub fn clear_cell_id(&mut self) {
927        self.cell_id = ::std::option::Option::None;
928    }
929
930    pub fn has_cell_id(&self) -> bool {
931        self.cell_id.is_some()
932    }
933
934    // Param is passed by value, moved
935    pub fn set_cell_id(&mut self, v: u32) {
936        self.cell_id = ::std::option::Option::Some(v);
937    }
938
939    // optional bool is_workshop = 23;
940
941    pub fn is_workshop(&self) -> bool {
942        self.is_workshop.unwrap_or(false)
943    }
944
945    pub fn clear_is_workshop(&mut self) {
946        self.is_workshop = ::std::option::Option::None;
947    }
948
949    pub fn has_is_workshop(&self) -> bool {
950        self.is_workshop.is_some()
951    }
952
953    // Param is passed by value, moved
954    pub fn set_is_workshop(&mut self, v: bool) {
955        self.is_workshop = ::std::option::Option::Some(v);
956    }
957
958    // optional bool is_shader = 24;
959
960    pub fn is_shader(&self) -> bool {
961        self.is_shader.unwrap_or(false)
962    }
963
964    pub fn clear_is_shader(&mut self) {
965        self.is_shader = ::std::option::Option::None;
966    }
967
968    pub fn has_is_shader(&self) -> bool {
969        self.is_shader.is_some()
970    }
971
972    // Param is passed by value, moved
973    pub fn set_is_shader(&mut self, v: bool) {
974        self.is_shader = ::std::option::Option::Some(v);
975    }
976}
977
978impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_ClientUpdateAppJob_Notification {
979    const NAME: &'static str = "CDataPublisher_ClientUpdateAppJob_Notification";
980
981    fn is_initialized(&self) -> bool {
982        true
983    }
984
985    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
986        while let Some(tag) = is.read_raw_tag_or_eof()? {
987            match tag {
988                8 => {
989                    self.app_id = ::std::option::Option::Some(is.read_uint32()?);
990                },
991                18 => {
992                    is.read_repeated_packed_uint32_into(&mut self.depot_ids)?;
993                },
994                16 => {
995                    self.depot_ids.push(is.read_uint32()?);
996                },
997                24 => {
998                    self.app_state = ::std::option::Option::Some(is.read_uint32()?);
999                },
1000                32 => {
1001                    self.job_app_error = ::std::option::Option::Some(is.read_uint32()?);
1002                },
1003                42 => {
1004                    self.error_details = ::std::option::Option::Some(is.read_string()?);
1005                },
1006                48 => {
1007                    self.job_duration = ::std::option::Option::Some(is.read_uint32()?);
1008                },
1009                56 => {
1010                    self.files_validation_failed = ::std::option::Option::Some(is.read_uint32()?);
1011                },
1012                64 => {
1013                    self.job_bytes_downloaded = ::std::option::Option::Some(is.read_uint64()?);
1014                },
1015                72 => {
1016                    self.job_bytes_staged = ::std::option::Option::Some(is.read_uint64()?);
1017                },
1018                80 => {
1019                    self.bytes_comitted = ::std::option::Option::Some(is.read_uint64()?);
1020                },
1021                88 => {
1022                    self.start_app_state = ::std::option::Option::Some(is.read_uint32()?);
1023                },
1024                97 => {
1025                    self.stats_machine_id = ::std::option::Option::Some(is.read_fixed64()?);
1026                },
1027                106 => {
1028                    self.branch_name = ::std::option::Option::Some(is.read_string()?);
1029                },
1030                112 => {
1031                    self.total_bytes_downloaded = ::std::option::Option::Some(is.read_uint64()?);
1032                },
1033                120 => {
1034                    self.total_bytes_staged = ::std::option::Option::Some(is.read_uint64()?);
1035                },
1036                128 => {
1037                    self.total_bytes_restored = ::std::option::Option::Some(is.read_uint64()?);
1038                },
1039                136 => {
1040                    self.is_borrowed = ::std::option::Option::Some(is.read_bool()?);
1041                },
1042                144 => {
1043                    self.is_free_weekend = ::std::option::Option::Some(is.read_bool()?);
1044                },
1045                160 => {
1046                    self.total_bytes_patched = ::std::option::Option::Some(is.read_uint64()?);
1047                },
1048                168 => {
1049                    self.total_bytes_saved = ::std::option::Option::Some(is.read_uint64()?);
1050                },
1051                176 => {
1052                    self.cell_id = ::std::option::Option::Some(is.read_uint32()?);
1053                },
1054                184 => {
1055                    self.is_workshop = ::std::option::Option::Some(is.read_bool()?);
1056                },
1057                192 => {
1058                    self.is_shader = ::std::option::Option::Some(is.read_bool()?);
1059                },
1060                tag => {
1061                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1062                },
1063            };
1064        }
1065        ::std::result::Result::Ok(())
1066    }
1067
1068    // Compute sizes of nested messages
1069    #[allow(unused_variables)]
1070    fn compute_size(&self) -> u64 {
1071        let mut my_size = 0;
1072        if let Some(v) = self.app_id {
1073            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
1074        }
1075        for value in &self.depot_ids {
1076            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, *value);
1077        };
1078        if let Some(v) = self.app_state {
1079            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
1080        }
1081        if let Some(v) = self.job_app_error {
1082            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
1083        }
1084        if let Some(v) = self.error_details.as_ref() {
1085            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
1086        }
1087        if let Some(v) = self.job_duration {
1088            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
1089        }
1090        if let Some(v) = self.files_validation_failed {
1091            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
1092        }
1093        if let Some(v) = self.job_bytes_downloaded {
1094            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(8, v);
1095        }
1096        if let Some(v) = self.job_bytes_staged {
1097            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(9, v);
1098        }
1099        if let Some(v) = self.bytes_comitted {
1100            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(10, v);
1101        }
1102        if let Some(v) = self.start_app_state {
1103            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(11, v);
1104        }
1105        if let Some(v) = self.stats_machine_id {
1106            my_size += 1 + 8;
1107        }
1108        if let Some(v) = self.branch_name.as_ref() {
1109            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(13, &v);
1110        }
1111        if let Some(v) = self.total_bytes_downloaded {
1112            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(14, v);
1113        }
1114        if let Some(v) = self.total_bytes_staged {
1115            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(15, v);
1116        }
1117        if let Some(v) = self.total_bytes_restored {
1118            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(16, v);
1119        }
1120        if let Some(v) = self.is_borrowed {
1121            my_size += 2 + 1;
1122        }
1123        if let Some(v) = self.is_free_weekend {
1124            my_size += 2 + 1;
1125        }
1126        if let Some(v) = self.total_bytes_patched {
1127            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(20, v);
1128        }
1129        if let Some(v) = self.total_bytes_saved {
1130            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(21, v);
1131        }
1132        if let Some(v) = self.cell_id {
1133            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(22, v);
1134        }
1135        if let Some(v) = self.is_workshop {
1136            my_size += 2 + 1;
1137        }
1138        if let Some(v) = self.is_shader {
1139            my_size += 2 + 1;
1140        }
1141        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1142        self.special_fields.cached_size().set(my_size as u32);
1143        my_size
1144    }
1145
1146    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1147        if let Some(v) = self.app_id {
1148            os.write_uint32(1, v)?;
1149        }
1150        for v in &self.depot_ids {
1151            os.write_uint32(2, *v)?;
1152        };
1153        if let Some(v) = self.app_state {
1154            os.write_uint32(3, v)?;
1155        }
1156        if let Some(v) = self.job_app_error {
1157            os.write_uint32(4, v)?;
1158        }
1159        if let Some(v) = self.error_details.as_ref() {
1160            os.write_string(5, v)?;
1161        }
1162        if let Some(v) = self.job_duration {
1163            os.write_uint32(6, v)?;
1164        }
1165        if let Some(v) = self.files_validation_failed {
1166            os.write_uint32(7, v)?;
1167        }
1168        if let Some(v) = self.job_bytes_downloaded {
1169            os.write_uint64(8, v)?;
1170        }
1171        if let Some(v) = self.job_bytes_staged {
1172            os.write_uint64(9, v)?;
1173        }
1174        if let Some(v) = self.bytes_comitted {
1175            os.write_uint64(10, v)?;
1176        }
1177        if let Some(v) = self.start_app_state {
1178            os.write_uint32(11, v)?;
1179        }
1180        if let Some(v) = self.stats_machine_id {
1181            os.write_fixed64(12, v)?;
1182        }
1183        if let Some(v) = self.branch_name.as_ref() {
1184            os.write_string(13, v)?;
1185        }
1186        if let Some(v) = self.total_bytes_downloaded {
1187            os.write_uint64(14, v)?;
1188        }
1189        if let Some(v) = self.total_bytes_staged {
1190            os.write_uint64(15, v)?;
1191        }
1192        if let Some(v) = self.total_bytes_restored {
1193            os.write_uint64(16, v)?;
1194        }
1195        if let Some(v) = self.is_borrowed {
1196            os.write_bool(17, v)?;
1197        }
1198        if let Some(v) = self.is_free_weekend {
1199            os.write_bool(18, v)?;
1200        }
1201        if let Some(v) = self.total_bytes_patched {
1202            os.write_uint64(20, v)?;
1203        }
1204        if let Some(v) = self.total_bytes_saved {
1205            os.write_uint64(21, v)?;
1206        }
1207        if let Some(v) = self.cell_id {
1208            os.write_uint32(22, v)?;
1209        }
1210        if let Some(v) = self.is_workshop {
1211            os.write_bool(23, v)?;
1212        }
1213        if let Some(v) = self.is_shader {
1214            os.write_bool(24, v)?;
1215        }
1216        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1217        ::std::result::Result::Ok(())
1218    }
1219
1220    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1221        &self.special_fields
1222    }
1223
1224    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1225        &mut self.special_fields
1226    }
1227
1228    fn new() -> CDataPublisher_ClientUpdateAppJob_Notification {
1229        CDataPublisher_ClientUpdateAppJob_Notification::new()
1230    }
1231
1232    fn clear(&mut self) {
1233        self.app_id = ::std::option::Option::None;
1234        self.depot_ids.clear();
1235        self.app_state = ::std::option::Option::None;
1236        self.job_app_error = ::std::option::Option::None;
1237        self.error_details = ::std::option::Option::None;
1238        self.job_duration = ::std::option::Option::None;
1239        self.files_validation_failed = ::std::option::Option::None;
1240        self.job_bytes_downloaded = ::std::option::Option::None;
1241        self.job_bytes_staged = ::std::option::Option::None;
1242        self.bytes_comitted = ::std::option::Option::None;
1243        self.start_app_state = ::std::option::Option::None;
1244        self.stats_machine_id = ::std::option::Option::None;
1245        self.branch_name = ::std::option::Option::None;
1246        self.total_bytes_downloaded = ::std::option::Option::None;
1247        self.total_bytes_staged = ::std::option::Option::None;
1248        self.total_bytes_restored = ::std::option::Option::None;
1249        self.is_borrowed = ::std::option::Option::None;
1250        self.is_free_weekend = ::std::option::Option::None;
1251        self.total_bytes_patched = ::std::option::Option::None;
1252        self.total_bytes_saved = ::std::option::Option::None;
1253        self.cell_id = ::std::option::Option::None;
1254        self.is_workshop = ::std::option::Option::None;
1255        self.is_shader = ::std::option::Option::None;
1256        self.special_fields.clear();
1257    }
1258
1259    fn default_instance() -> &'static CDataPublisher_ClientUpdateAppJob_Notification {
1260        static instance: CDataPublisher_ClientUpdateAppJob_Notification = CDataPublisher_ClientUpdateAppJob_Notification {
1261            app_id: ::std::option::Option::None,
1262            depot_ids: ::std::vec::Vec::new(),
1263            app_state: ::std::option::Option::None,
1264            job_app_error: ::std::option::Option::None,
1265            error_details: ::std::option::Option::None,
1266            job_duration: ::std::option::Option::None,
1267            files_validation_failed: ::std::option::Option::None,
1268            job_bytes_downloaded: ::std::option::Option::None,
1269            job_bytes_staged: ::std::option::Option::None,
1270            bytes_comitted: ::std::option::Option::None,
1271            start_app_state: ::std::option::Option::None,
1272            stats_machine_id: ::std::option::Option::None,
1273            branch_name: ::std::option::Option::None,
1274            total_bytes_downloaded: ::std::option::Option::None,
1275            total_bytes_staged: ::std::option::Option::None,
1276            total_bytes_restored: ::std::option::Option::None,
1277            is_borrowed: ::std::option::Option::None,
1278            is_free_weekend: ::std::option::Option::None,
1279            total_bytes_patched: ::std::option::Option::None,
1280            total_bytes_saved: ::std::option::Option::None,
1281            cell_id: ::std::option::Option::None,
1282            is_workshop: ::std::option::Option::None,
1283            is_shader: ::std::option::Option::None,
1284            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1285        };
1286        &instance
1287    }
1288}
1289
1290// @@protoc_insertion_point(message:CDataPublisher_GetVRDeviceInfo_Request)
1291#[derive(PartialEq,Clone,Default,Debug)]
1292pub struct CDataPublisher_GetVRDeviceInfo_Request {
1293    // message fields
1294    // @@protoc_insertion_point(field:CDataPublisher_GetVRDeviceInfo_Request.month_count)
1295    pub month_count: ::std::option::Option<u32>,
1296    // special fields
1297    // @@protoc_insertion_point(special_field:CDataPublisher_GetVRDeviceInfo_Request.special_fields)
1298    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1299}
1300
1301impl<'a> ::std::default::Default for &'a CDataPublisher_GetVRDeviceInfo_Request {
1302    fn default() -> &'a CDataPublisher_GetVRDeviceInfo_Request {
1303        <CDataPublisher_GetVRDeviceInfo_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1304    }
1305}
1306
1307impl CDataPublisher_GetVRDeviceInfo_Request {
1308    pub fn new() -> CDataPublisher_GetVRDeviceInfo_Request {
1309        ::std::default::Default::default()
1310    }
1311
1312    // optional uint32 month_count = 1;
1313
1314    pub fn month_count(&self) -> u32 {
1315        self.month_count.unwrap_or(0)
1316    }
1317
1318    pub fn clear_month_count(&mut self) {
1319        self.month_count = ::std::option::Option::None;
1320    }
1321
1322    pub fn has_month_count(&self) -> bool {
1323        self.month_count.is_some()
1324    }
1325
1326    // Param is passed by value, moved
1327    pub fn set_month_count(&mut self, v: u32) {
1328        self.month_count = ::std::option::Option::Some(v);
1329    }
1330}
1331
1332impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_GetVRDeviceInfo_Request {
1333    const NAME: &'static str = "CDataPublisher_GetVRDeviceInfo_Request";
1334
1335    fn is_initialized(&self) -> bool {
1336        true
1337    }
1338
1339    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1340        while let Some(tag) = is.read_raw_tag_or_eof()? {
1341            match tag {
1342                8 => {
1343                    self.month_count = ::std::option::Option::Some(is.read_uint32()?);
1344                },
1345                tag => {
1346                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1347                },
1348            };
1349        }
1350        ::std::result::Result::Ok(())
1351    }
1352
1353    // Compute sizes of nested messages
1354    #[allow(unused_variables)]
1355    fn compute_size(&self) -> u64 {
1356        let mut my_size = 0;
1357        if let Some(v) = self.month_count {
1358            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
1359        }
1360        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1361        self.special_fields.cached_size().set(my_size as u32);
1362        my_size
1363    }
1364
1365    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1366        if let Some(v) = self.month_count {
1367            os.write_uint32(1, v)?;
1368        }
1369        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1370        ::std::result::Result::Ok(())
1371    }
1372
1373    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1374        &self.special_fields
1375    }
1376
1377    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1378        &mut self.special_fields
1379    }
1380
1381    fn new() -> CDataPublisher_GetVRDeviceInfo_Request {
1382        CDataPublisher_GetVRDeviceInfo_Request::new()
1383    }
1384
1385    fn clear(&mut self) {
1386        self.month_count = ::std::option::Option::None;
1387        self.special_fields.clear();
1388    }
1389
1390    fn default_instance() -> &'static CDataPublisher_GetVRDeviceInfo_Request {
1391        static instance: CDataPublisher_GetVRDeviceInfo_Request = CDataPublisher_GetVRDeviceInfo_Request {
1392            month_count: ::std::option::Option::None,
1393            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1394        };
1395        &instance
1396    }
1397}
1398
1399// @@protoc_insertion_point(message:CDataPublisher_GetVRDeviceInfo_Response)
1400#[derive(PartialEq,Clone,Default,Debug)]
1401pub struct CDataPublisher_GetVRDeviceInfo_Response {
1402    // message fields
1403    // @@protoc_insertion_point(field:CDataPublisher_GetVRDeviceInfo_Response.device)
1404    pub device: ::std::vec::Vec<cdata_publisher_get_vrdevice_info_response::Device>,
1405    // special fields
1406    // @@protoc_insertion_point(special_field:CDataPublisher_GetVRDeviceInfo_Response.special_fields)
1407    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1408}
1409
1410impl<'a> ::std::default::Default for &'a CDataPublisher_GetVRDeviceInfo_Response {
1411    fn default() -> &'a CDataPublisher_GetVRDeviceInfo_Response {
1412        <CDataPublisher_GetVRDeviceInfo_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1413    }
1414}
1415
1416impl CDataPublisher_GetVRDeviceInfo_Response {
1417    pub fn new() -> CDataPublisher_GetVRDeviceInfo_Response {
1418        ::std::default::Default::default()
1419    }
1420}
1421
1422impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_GetVRDeviceInfo_Response {
1423    const NAME: &'static str = "CDataPublisher_GetVRDeviceInfo_Response";
1424
1425    fn is_initialized(&self) -> bool {
1426        true
1427    }
1428
1429    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1430        while let Some(tag) = is.read_raw_tag_or_eof()? {
1431            match tag {
1432                10 => {
1433                    self.device.push(is.read_message()?);
1434                },
1435                tag => {
1436                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1437                },
1438            };
1439        }
1440        ::std::result::Result::Ok(())
1441    }
1442
1443    // Compute sizes of nested messages
1444    #[allow(unused_variables)]
1445    fn compute_size(&self) -> u64 {
1446        let mut my_size = 0;
1447        for value in &self.device {
1448            let len = value.compute_size();
1449            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
1450        };
1451        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1452        self.special_fields.cached_size().set(my_size as u32);
1453        my_size
1454    }
1455
1456    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1457        for v in &self.device {
1458            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
1459        };
1460        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1461        ::std::result::Result::Ok(())
1462    }
1463
1464    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1465        &self.special_fields
1466    }
1467
1468    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1469        &mut self.special_fields
1470    }
1471
1472    fn new() -> CDataPublisher_GetVRDeviceInfo_Response {
1473        CDataPublisher_GetVRDeviceInfo_Response::new()
1474    }
1475
1476    fn clear(&mut self) {
1477        self.device.clear();
1478        self.special_fields.clear();
1479    }
1480
1481    fn default_instance() -> &'static CDataPublisher_GetVRDeviceInfo_Response {
1482        static instance: CDataPublisher_GetVRDeviceInfo_Response = CDataPublisher_GetVRDeviceInfo_Response {
1483            device: ::std::vec::Vec::new(),
1484            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1485        };
1486        &instance
1487    }
1488}
1489
1490/// Nested message and enums of message `CDataPublisher_GetVRDeviceInfo_Response`
1491pub mod cdata_publisher_get_vrdevice_info_response {
1492    // @@protoc_insertion_point(message:CDataPublisher_GetVRDeviceInfo_Response.Device)
1493    #[derive(PartialEq,Clone,Default,Debug)]
1494    pub struct Device {
1495        // message fields
1496        // @@protoc_insertion_point(field:CDataPublisher_GetVRDeviceInfo_Response.Device.name)
1497        pub name: ::std::option::Option<::std::string::String>,
1498        // @@protoc_insertion_point(field:CDataPublisher_GetVRDeviceInfo_Response.Device.ref)
1499        pub ref_: ::std::option::Option<u32>,
1500        // @@protoc_insertion_point(field:CDataPublisher_GetVRDeviceInfo_Response.Device.aggregation_ref)
1501        pub aggregation_ref: ::std::option::Option<u32>,
1502        // @@protoc_insertion_point(field:CDataPublisher_GetVRDeviceInfo_Response.Device.total)
1503        pub total: ::std::option::Option<u32>,
1504        // @@protoc_insertion_point(field:CDataPublisher_GetVRDeviceInfo_Response.Device.driver)
1505        pub driver: ::std::option::Option<::std::string::String>,
1506        // @@protoc_insertion_point(field:CDataPublisher_GetVRDeviceInfo_Response.Device.device_class)
1507        pub device_class: ::std::option::Option<i32>,
1508        // special fields
1509        // @@protoc_insertion_point(special_field:CDataPublisher_GetVRDeviceInfo_Response.Device.special_fields)
1510        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1511    }
1512
1513    impl<'a> ::std::default::Default for &'a Device {
1514        fn default() -> &'a Device {
1515            <Device as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1516        }
1517    }
1518
1519    impl Device {
1520        pub fn new() -> Device {
1521            ::std::default::Default::default()
1522        }
1523
1524        // optional string name = 1;
1525
1526        pub fn name(&self) -> &str {
1527            match self.name.as_ref() {
1528                Some(v) => v,
1529                None => "",
1530            }
1531        }
1532
1533        pub fn clear_name(&mut self) {
1534            self.name = ::std::option::Option::None;
1535        }
1536
1537        pub fn has_name(&self) -> bool {
1538            self.name.is_some()
1539        }
1540
1541        // Param is passed by value, moved
1542        pub fn set_name(&mut self, v: ::std::string::String) {
1543            self.name = ::std::option::Option::Some(v);
1544        }
1545
1546        // Mutable pointer to the field.
1547        // If field is not initialized, it is initialized with default value first.
1548        pub fn mut_name(&mut self) -> &mut ::std::string::String {
1549            if self.name.is_none() {
1550                self.name = ::std::option::Option::Some(::std::string::String::new());
1551            }
1552            self.name.as_mut().unwrap()
1553        }
1554
1555        // Take field
1556        pub fn take_name(&mut self) -> ::std::string::String {
1557            self.name.take().unwrap_or_else(|| ::std::string::String::new())
1558        }
1559
1560        // optional uint32 ref = 2;
1561
1562        pub fn ref_(&self) -> u32 {
1563            self.ref_.unwrap_or(0)
1564        }
1565
1566        pub fn clear_ref_(&mut self) {
1567            self.ref_ = ::std::option::Option::None;
1568        }
1569
1570        pub fn has_ref(&self) -> bool {
1571            self.ref_.is_some()
1572        }
1573
1574        // Param is passed by value, moved
1575        pub fn set_ref(&mut self, v: u32) {
1576            self.ref_ = ::std::option::Option::Some(v);
1577        }
1578
1579        // optional uint32 aggregation_ref = 3;
1580
1581        pub fn aggregation_ref(&self) -> u32 {
1582            self.aggregation_ref.unwrap_or(0)
1583        }
1584
1585        pub fn clear_aggregation_ref(&mut self) {
1586            self.aggregation_ref = ::std::option::Option::None;
1587        }
1588
1589        pub fn has_aggregation_ref(&self) -> bool {
1590            self.aggregation_ref.is_some()
1591        }
1592
1593        // Param is passed by value, moved
1594        pub fn set_aggregation_ref(&mut self, v: u32) {
1595            self.aggregation_ref = ::std::option::Option::Some(v);
1596        }
1597
1598        // optional uint32 total = 4;
1599
1600        pub fn total(&self) -> u32 {
1601            self.total.unwrap_or(0)
1602        }
1603
1604        pub fn clear_total(&mut self) {
1605            self.total = ::std::option::Option::None;
1606        }
1607
1608        pub fn has_total(&self) -> bool {
1609            self.total.is_some()
1610        }
1611
1612        // Param is passed by value, moved
1613        pub fn set_total(&mut self, v: u32) {
1614            self.total = ::std::option::Option::Some(v);
1615        }
1616
1617        // optional string driver = 5;
1618
1619        pub fn driver(&self) -> &str {
1620            match self.driver.as_ref() {
1621                Some(v) => v,
1622                None => "",
1623            }
1624        }
1625
1626        pub fn clear_driver(&mut self) {
1627            self.driver = ::std::option::Option::None;
1628        }
1629
1630        pub fn has_driver(&self) -> bool {
1631            self.driver.is_some()
1632        }
1633
1634        // Param is passed by value, moved
1635        pub fn set_driver(&mut self, v: ::std::string::String) {
1636            self.driver = ::std::option::Option::Some(v);
1637        }
1638
1639        // Mutable pointer to the field.
1640        // If field is not initialized, it is initialized with default value first.
1641        pub fn mut_driver(&mut self) -> &mut ::std::string::String {
1642            if self.driver.is_none() {
1643                self.driver = ::std::option::Option::Some(::std::string::String::new());
1644            }
1645            self.driver.as_mut().unwrap()
1646        }
1647
1648        // Take field
1649        pub fn take_driver(&mut self) -> ::std::string::String {
1650            self.driver.take().unwrap_or_else(|| ::std::string::String::new())
1651        }
1652
1653        // optional int32 device_class = 6;
1654
1655        pub fn device_class(&self) -> i32 {
1656            self.device_class.unwrap_or(0)
1657        }
1658
1659        pub fn clear_device_class(&mut self) {
1660            self.device_class = ::std::option::Option::None;
1661        }
1662
1663        pub fn has_device_class(&self) -> bool {
1664            self.device_class.is_some()
1665        }
1666
1667        // Param is passed by value, moved
1668        pub fn set_device_class(&mut self, v: i32) {
1669            self.device_class = ::std::option::Option::Some(v);
1670        }
1671    }
1672
1673    impl ::steam_vent_proto_common::protobuf::Message for Device {
1674        const NAME: &'static str = "Device";
1675
1676        fn is_initialized(&self) -> bool {
1677            true
1678        }
1679
1680        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1681            while let Some(tag) = is.read_raw_tag_or_eof()? {
1682                match tag {
1683                    10 => {
1684                        self.name = ::std::option::Option::Some(is.read_string()?);
1685                    },
1686                    16 => {
1687                        self.ref_ = ::std::option::Option::Some(is.read_uint32()?);
1688                    },
1689                    24 => {
1690                        self.aggregation_ref = ::std::option::Option::Some(is.read_uint32()?);
1691                    },
1692                    32 => {
1693                        self.total = ::std::option::Option::Some(is.read_uint32()?);
1694                    },
1695                    42 => {
1696                        self.driver = ::std::option::Option::Some(is.read_string()?);
1697                    },
1698                    48 => {
1699                        self.device_class = ::std::option::Option::Some(is.read_int32()?);
1700                    },
1701                    tag => {
1702                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1703                    },
1704                };
1705            }
1706            ::std::result::Result::Ok(())
1707        }
1708
1709        // Compute sizes of nested messages
1710        #[allow(unused_variables)]
1711        fn compute_size(&self) -> u64 {
1712            let mut my_size = 0;
1713            if let Some(v) = self.name.as_ref() {
1714                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
1715            }
1716            if let Some(v) = self.ref_ {
1717                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
1718            }
1719            if let Some(v) = self.aggregation_ref {
1720                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
1721            }
1722            if let Some(v) = self.total {
1723                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
1724            }
1725            if let Some(v) = self.driver.as_ref() {
1726                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
1727            }
1728            if let Some(v) = self.device_class {
1729                my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v);
1730            }
1731            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1732            self.special_fields.cached_size().set(my_size as u32);
1733            my_size
1734        }
1735
1736        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1737            if let Some(v) = self.name.as_ref() {
1738                os.write_string(1, v)?;
1739            }
1740            if let Some(v) = self.ref_ {
1741                os.write_uint32(2, v)?;
1742            }
1743            if let Some(v) = self.aggregation_ref {
1744                os.write_uint32(3, v)?;
1745            }
1746            if let Some(v) = self.total {
1747                os.write_uint32(4, v)?;
1748            }
1749            if let Some(v) = self.driver.as_ref() {
1750                os.write_string(5, v)?;
1751            }
1752            if let Some(v) = self.device_class {
1753                os.write_int32(6, v)?;
1754            }
1755            os.write_unknown_fields(self.special_fields.unknown_fields())?;
1756            ::std::result::Result::Ok(())
1757        }
1758
1759        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1760            &self.special_fields
1761        }
1762
1763        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1764            &mut self.special_fields
1765        }
1766
1767        fn new() -> Device {
1768            Device::new()
1769        }
1770
1771        fn clear(&mut self) {
1772            self.name = ::std::option::Option::None;
1773            self.ref_ = ::std::option::Option::None;
1774            self.aggregation_ref = ::std::option::Option::None;
1775            self.total = ::std::option::Option::None;
1776            self.driver = ::std::option::Option::None;
1777            self.device_class = ::std::option::Option::None;
1778            self.special_fields.clear();
1779        }
1780
1781        fn default_instance() -> &'static Device {
1782            static instance: Device = Device {
1783                name: ::std::option::Option::None,
1784                ref_: ::std::option::Option::None,
1785                aggregation_ref: ::std::option::Option::None,
1786                total: ::std::option::Option::None,
1787                driver: ::std::option::Option::None,
1788                device_class: ::std::option::Option::None,
1789                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1790            };
1791            &instance
1792        }
1793    }
1794}
1795
1796// @@protoc_insertion_point(message:CDataPublisher_SetVRDeviceInfoAggregationReference_Request)
1797#[derive(PartialEq,Clone,Default,Debug)]
1798pub struct CDataPublisher_SetVRDeviceInfoAggregationReference_Request {
1799    // message fields
1800    // @@protoc_insertion_point(field:CDataPublisher_SetVRDeviceInfoAggregationReference_Request.ref)
1801    pub ref_: ::std::option::Option<u32>,
1802    // @@protoc_insertion_point(field:CDataPublisher_SetVRDeviceInfoAggregationReference_Request.aggregation_ref)
1803    pub aggregation_ref: ::std::option::Option<u32>,
1804    // special fields
1805    // @@protoc_insertion_point(special_field:CDataPublisher_SetVRDeviceInfoAggregationReference_Request.special_fields)
1806    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1807}
1808
1809impl<'a> ::std::default::Default for &'a CDataPublisher_SetVRDeviceInfoAggregationReference_Request {
1810    fn default() -> &'a CDataPublisher_SetVRDeviceInfoAggregationReference_Request {
1811        <CDataPublisher_SetVRDeviceInfoAggregationReference_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1812    }
1813}
1814
1815impl CDataPublisher_SetVRDeviceInfoAggregationReference_Request {
1816    pub fn new() -> CDataPublisher_SetVRDeviceInfoAggregationReference_Request {
1817        ::std::default::Default::default()
1818    }
1819
1820    // optional uint32 ref = 1;
1821
1822    pub fn ref_(&self) -> u32 {
1823        self.ref_.unwrap_or(0)
1824    }
1825
1826    pub fn clear_ref_(&mut self) {
1827        self.ref_ = ::std::option::Option::None;
1828    }
1829
1830    pub fn has_ref(&self) -> bool {
1831        self.ref_.is_some()
1832    }
1833
1834    // Param is passed by value, moved
1835    pub fn set_ref(&mut self, v: u32) {
1836        self.ref_ = ::std::option::Option::Some(v);
1837    }
1838
1839    // optional uint32 aggregation_ref = 2;
1840
1841    pub fn aggregation_ref(&self) -> u32 {
1842        self.aggregation_ref.unwrap_or(0)
1843    }
1844
1845    pub fn clear_aggregation_ref(&mut self) {
1846        self.aggregation_ref = ::std::option::Option::None;
1847    }
1848
1849    pub fn has_aggregation_ref(&self) -> bool {
1850        self.aggregation_ref.is_some()
1851    }
1852
1853    // Param is passed by value, moved
1854    pub fn set_aggregation_ref(&mut self, v: u32) {
1855        self.aggregation_ref = ::std::option::Option::Some(v);
1856    }
1857}
1858
1859impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_SetVRDeviceInfoAggregationReference_Request {
1860    const NAME: &'static str = "CDataPublisher_SetVRDeviceInfoAggregationReference_Request";
1861
1862    fn is_initialized(&self) -> bool {
1863        true
1864    }
1865
1866    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1867        while let Some(tag) = is.read_raw_tag_or_eof()? {
1868            match tag {
1869                8 => {
1870                    self.ref_ = ::std::option::Option::Some(is.read_uint32()?);
1871                },
1872                16 => {
1873                    self.aggregation_ref = ::std::option::Option::Some(is.read_uint32()?);
1874                },
1875                tag => {
1876                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1877                },
1878            };
1879        }
1880        ::std::result::Result::Ok(())
1881    }
1882
1883    // Compute sizes of nested messages
1884    #[allow(unused_variables)]
1885    fn compute_size(&self) -> u64 {
1886        let mut my_size = 0;
1887        if let Some(v) = self.ref_ {
1888            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
1889        }
1890        if let Some(v) = self.aggregation_ref {
1891            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
1892        }
1893        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1894        self.special_fields.cached_size().set(my_size as u32);
1895        my_size
1896    }
1897
1898    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1899        if let Some(v) = self.ref_ {
1900            os.write_uint32(1, v)?;
1901        }
1902        if let Some(v) = self.aggregation_ref {
1903            os.write_uint32(2, v)?;
1904        }
1905        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1906        ::std::result::Result::Ok(())
1907    }
1908
1909    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1910        &self.special_fields
1911    }
1912
1913    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1914        &mut self.special_fields
1915    }
1916
1917    fn new() -> CDataPublisher_SetVRDeviceInfoAggregationReference_Request {
1918        CDataPublisher_SetVRDeviceInfoAggregationReference_Request::new()
1919    }
1920
1921    fn clear(&mut self) {
1922        self.ref_ = ::std::option::Option::None;
1923        self.aggregation_ref = ::std::option::Option::None;
1924        self.special_fields.clear();
1925    }
1926
1927    fn default_instance() -> &'static CDataPublisher_SetVRDeviceInfoAggregationReference_Request {
1928        static instance: CDataPublisher_SetVRDeviceInfoAggregationReference_Request = CDataPublisher_SetVRDeviceInfoAggregationReference_Request {
1929            ref_: ::std::option::Option::None,
1930            aggregation_ref: ::std::option::Option::None,
1931            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1932        };
1933        &instance
1934    }
1935}
1936
1937// @@protoc_insertion_point(message:CDataPublisher_SetVRDeviceInfoAggregationReference_Response)
1938#[derive(PartialEq,Clone,Default,Debug)]
1939pub struct CDataPublisher_SetVRDeviceInfoAggregationReference_Response {
1940    // message fields
1941    // @@protoc_insertion_point(field:CDataPublisher_SetVRDeviceInfoAggregationReference_Response.result)
1942    pub result: ::std::option::Option<u32>,
1943    // special fields
1944    // @@protoc_insertion_point(special_field:CDataPublisher_SetVRDeviceInfoAggregationReference_Response.special_fields)
1945    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1946}
1947
1948impl<'a> ::std::default::Default for &'a CDataPublisher_SetVRDeviceInfoAggregationReference_Response {
1949    fn default() -> &'a CDataPublisher_SetVRDeviceInfoAggregationReference_Response {
1950        <CDataPublisher_SetVRDeviceInfoAggregationReference_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1951    }
1952}
1953
1954impl CDataPublisher_SetVRDeviceInfoAggregationReference_Response {
1955    pub fn new() -> CDataPublisher_SetVRDeviceInfoAggregationReference_Response {
1956        ::std::default::Default::default()
1957    }
1958
1959    // optional uint32 result = 1;
1960
1961    pub fn result(&self) -> u32 {
1962        self.result.unwrap_or(0)
1963    }
1964
1965    pub fn clear_result(&mut self) {
1966        self.result = ::std::option::Option::None;
1967    }
1968
1969    pub fn has_result(&self) -> bool {
1970        self.result.is_some()
1971    }
1972
1973    // Param is passed by value, moved
1974    pub fn set_result(&mut self, v: u32) {
1975        self.result = ::std::option::Option::Some(v);
1976    }
1977}
1978
1979impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_SetVRDeviceInfoAggregationReference_Response {
1980    const NAME: &'static str = "CDataPublisher_SetVRDeviceInfoAggregationReference_Response";
1981
1982    fn is_initialized(&self) -> bool {
1983        true
1984    }
1985
1986    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1987        while let Some(tag) = is.read_raw_tag_or_eof()? {
1988            match tag {
1989                8 => {
1990                    self.result = ::std::option::Option::Some(is.read_uint32()?);
1991                },
1992                tag => {
1993                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1994                },
1995            };
1996        }
1997        ::std::result::Result::Ok(())
1998    }
1999
2000    // Compute sizes of nested messages
2001    #[allow(unused_variables)]
2002    fn compute_size(&self) -> u64 {
2003        let mut my_size = 0;
2004        if let Some(v) = self.result {
2005            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
2006        }
2007        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2008        self.special_fields.cached_size().set(my_size as u32);
2009        my_size
2010    }
2011
2012    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2013        if let Some(v) = self.result {
2014            os.write_uint32(1, v)?;
2015        }
2016        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2017        ::std::result::Result::Ok(())
2018    }
2019
2020    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2021        &self.special_fields
2022    }
2023
2024    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2025        &mut self.special_fields
2026    }
2027
2028    fn new() -> CDataPublisher_SetVRDeviceInfoAggregationReference_Response {
2029        CDataPublisher_SetVRDeviceInfoAggregationReference_Response::new()
2030    }
2031
2032    fn clear(&mut self) {
2033        self.result = ::std::option::Option::None;
2034        self.special_fields.clear();
2035    }
2036
2037    fn default_instance() -> &'static CDataPublisher_SetVRDeviceInfoAggregationReference_Response {
2038        static instance: CDataPublisher_SetVRDeviceInfoAggregationReference_Response = CDataPublisher_SetVRDeviceInfoAggregationReference_Response {
2039            result: ::std::option::Option::None,
2040            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2041        };
2042        &instance
2043    }
2044}
2045
2046// @@protoc_insertion_point(message:CDataPublisher_AddVRDeviceInfo_Request)
2047#[derive(PartialEq,Clone,Default,Debug)]
2048pub struct CDataPublisher_AddVRDeviceInfo_Request {
2049    // message fields
2050    // @@protoc_insertion_point(field:CDataPublisher_AddVRDeviceInfo_Request.manufacturer)
2051    pub manufacturer: ::std::option::Option<::std::string::String>,
2052    // @@protoc_insertion_point(field:CDataPublisher_AddVRDeviceInfo_Request.model)
2053    pub model: ::std::option::Option<::std::string::String>,
2054    // @@protoc_insertion_point(field:CDataPublisher_AddVRDeviceInfo_Request.driver)
2055    pub driver: ::std::option::Option<::std::string::String>,
2056    // @@protoc_insertion_point(field:CDataPublisher_AddVRDeviceInfo_Request.controller_type)
2057    pub controller_type: ::std::option::Option<::std::string::String>,
2058    // @@protoc_insertion_point(field:CDataPublisher_AddVRDeviceInfo_Request.device_class)
2059    pub device_class: ::std::option::Option<i32>,
2060    // special fields
2061    // @@protoc_insertion_point(special_field:CDataPublisher_AddVRDeviceInfo_Request.special_fields)
2062    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2063}
2064
2065impl<'a> ::std::default::Default for &'a CDataPublisher_AddVRDeviceInfo_Request {
2066    fn default() -> &'a CDataPublisher_AddVRDeviceInfo_Request {
2067        <CDataPublisher_AddVRDeviceInfo_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2068    }
2069}
2070
2071impl CDataPublisher_AddVRDeviceInfo_Request {
2072    pub fn new() -> CDataPublisher_AddVRDeviceInfo_Request {
2073        ::std::default::Default::default()
2074    }
2075
2076    // optional string manufacturer = 1;
2077
2078    pub fn manufacturer(&self) -> &str {
2079        match self.manufacturer.as_ref() {
2080            Some(v) => v,
2081            None => "",
2082        }
2083    }
2084
2085    pub fn clear_manufacturer(&mut self) {
2086        self.manufacturer = ::std::option::Option::None;
2087    }
2088
2089    pub fn has_manufacturer(&self) -> bool {
2090        self.manufacturer.is_some()
2091    }
2092
2093    // Param is passed by value, moved
2094    pub fn set_manufacturer(&mut self, v: ::std::string::String) {
2095        self.manufacturer = ::std::option::Option::Some(v);
2096    }
2097
2098    // Mutable pointer to the field.
2099    // If field is not initialized, it is initialized with default value first.
2100    pub fn mut_manufacturer(&mut self) -> &mut ::std::string::String {
2101        if self.manufacturer.is_none() {
2102            self.manufacturer = ::std::option::Option::Some(::std::string::String::new());
2103        }
2104        self.manufacturer.as_mut().unwrap()
2105    }
2106
2107    // Take field
2108    pub fn take_manufacturer(&mut self) -> ::std::string::String {
2109        self.manufacturer.take().unwrap_or_else(|| ::std::string::String::new())
2110    }
2111
2112    // optional string model = 2;
2113
2114    pub fn model(&self) -> &str {
2115        match self.model.as_ref() {
2116            Some(v) => v,
2117            None => "",
2118        }
2119    }
2120
2121    pub fn clear_model(&mut self) {
2122        self.model = ::std::option::Option::None;
2123    }
2124
2125    pub fn has_model(&self) -> bool {
2126        self.model.is_some()
2127    }
2128
2129    // Param is passed by value, moved
2130    pub fn set_model(&mut self, v: ::std::string::String) {
2131        self.model = ::std::option::Option::Some(v);
2132    }
2133
2134    // Mutable pointer to the field.
2135    // If field is not initialized, it is initialized with default value first.
2136    pub fn mut_model(&mut self) -> &mut ::std::string::String {
2137        if self.model.is_none() {
2138            self.model = ::std::option::Option::Some(::std::string::String::new());
2139        }
2140        self.model.as_mut().unwrap()
2141    }
2142
2143    // Take field
2144    pub fn take_model(&mut self) -> ::std::string::String {
2145        self.model.take().unwrap_or_else(|| ::std::string::String::new())
2146    }
2147
2148    // optional string driver = 3;
2149
2150    pub fn driver(&self) -> &str {
2151        match self.driver.as_ref() {
2152            Some(v) => v,
2153            None => "",
2154        }
2155    }
2156
2157    pub fn clear_driver(&mut self) {
2158        self.driver = ::std::option::Option::None;
2159    }
2160
2161    pub fn has_driver(&self) -> bool {
2162        self.driver.is_some()
2163    }
2164
2165    // Param is passed by value, moved
2166    pub fn set_driver(&mut self, v: ::std::string::String) {
2167        self.driver = ::std::option::Option::Some(v);
2168    }
2169
2170    // Mutable pointer to the field.
2171    // If field is not initialized, it is initialized with default value first.
2172    pub fn mut_driver(&mut self) -> &mut ::std::string::String {
2173        if self.driver.is_none() {
2174            self.driver = ::std::option::Option::Some(::std::string::String::new());
2175        }
2176        self.driver.as_mut().unwrap()
2177    }
2178
2179    // Take field
2180    pub fn take_driver(&mut self) -> ::std::string::String {
2181        self.driver.take().unwrap_or_else(|| ::std::string::String::new())
2182    }
2183
2184    // optional string controller_type = 4;
2185
2186    pub fn controller_type(&self) -> &str {
2187        match self.controller_type.as_ref() {
2188            Some(v) => v,
2189            None => "",
2190        }
2191    }
2192
2193    pub fn clear_controller_type(&mut self) {
2194        self.controller_type = ::std::option::Option::None;
2195    }
2196
2197    pub fn has_controller_type(&self) -> bool {
2198        self.controller_type.is_some()
2199    }
2200
2201    // Param is passed by value, moved
2202    pub fn set_controller_type(&mut self, v: ::std::string::String) {
2203        self.controller_type = ::std::option::Option::Some(v);
2204    }
2205
2206    // Mutable pointer to the field.
2207    // If field is not initialized, it is initialized with default value first.
2208    pub fn mut_controller_type(&mut self) -> &mut ::std::string::String {
2209        if self.controller_type.is_none() {
2210            self.controller_type = ::std::option::Option::Some(::std::string::String::new());
2211        }
2212        self.controller_type.as_mut().unwrap()
2213    }
2214
2215    // Take field
2216    pub fn take_controller_type(&mut self) -> ::std::string::String {
2217        self.controller_type.take().unwrap_or_else(|| ::std::string::String::new())
2218    }
2219
2220    // optional int32 device_class = 5;
2221
2222    pub fn device_class(&self) -> i32 {
2223        self.device_class.unwrap_or(0)
2224    }
2225
2226    pub fn clear_device_class(&mut self) {
2227        self.device_class = ::std::option::Option::None;
2228    }
2229
2230    pub fn has_device_class(&self) -> bool {
2231        self.device_class.is_some()
2232    }
2233
2234    // Param is passed by value, moved
2235    pub fn set_device_class(&mut self, v: i32) {
2236        self.device_class = ::std::option::Option::Some(v);
2237    }
2238}
2239
2240impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_AddVRDeviceInfo_Request {
2241    const NAME: &'static str = "CDataPublisher_AddVRDeviceInfo_Request";
2242
2243    fn is_initialized(&self) -> bool {
2244        true
2245    }
2246
2247    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2248        while let Some(tag) = is.read_raw_tag_or_eof()? {
2249            match tag {
2250                10 => {
2251                    self.manufacturer = ::std::option::Option::Some(is.read_string()?);
2252                },
2253                18 => {
2254                    self.model = ::std::option::Option::Some(is.read_string()?);
2255                },
2256                26 => {
2257                    self.driver = ::std::option::Option::Some(is.read_string()?);
2258                },
2259                34 => {
2260                    self.controller_type = ::std::option::Option::Some(is.read_string()?);
2261                },
2262                40 => {
2263                    self.device_class = ::std::option::Option::Some(is.read_int32()?);
2264                },
2265                tag => {
2266                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2267                },
2268            };
2269        }
2270        ::std::result::Result::Ok(())
2271    }
2272
2273    // Compute sizes of nested messages
2274    #[allow(unused_variables)]
2275    fn compute_size(&self) -> u64 {
2276        let mut my_size = 0;
2277        if let Some(v) = self.manufacturer.as_ref() {
2278            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
2279        }
2280        if let Some(v) = self.model.as_ref() {
2281            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
2282        }
2283        if let Some(v) = self.driver.as_ref() {
2284            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
2285        }
2286        if let Some(v) = self.controller_type.as_ref() {
2287            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
2288        }
2289        if let Some(v) = self.device_class {
2290            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v);
2291        }
2292        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2293        self.special_fields.cached_size().set(my_size as u32);
2294        my_size
2295    }
2296
2297    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2298        if let Some(v) = self.manufacturer.as_ref() {
2299            os.write_string(1, v)?;
2300        }
2301        if let Some(v) = self.model.as_ref() {
2302            os.write_string(2, v)?;
2303        }
2304        if let Some(v) = self.driver.as_ref() {
2305            os.write_string(3, v)?;
2306        }
2307        if let Some(v) = self.controller_type.as_ref() {
2308            os.write_string(4, v)?;
2309        }
2310        if let Some(v) = self.device_class {
2311            os.write_int32(5, v)?;
2312        }
2313        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2314        ::std::result::Result::Ok(())
2315    }
2316
2317    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2318        &self.special_fields
2319    }
2320
2321    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2322        &mut self.special_fields
2323    }
2324
2325    fn new() -> CDataPublisher_AddVRDeviceInfo_Request {
2326        CDataPublisher_AddVRDeviceInfo_Request::new()
2327    }
2328
2329    fn clear(&mut self) {
2330        self.manufacturer = ::std::option::Option::None;
2331        self.model = ::std::option::Option::None;
2332        self.driver = ::std::option::Option::None;
2333        self.controller_type = ::std::option::Option::None;
2334        self.device_class = ::std::option::Option::None;
2335        self.special_fields.clear();
2336    }
2337
2338    fn default_instance() -> &'static CDataPublisher_AddVRDeviceInfo_Request {
2339        static instance: CDataPublisher_AddVRDeviceInfo_Request = CDataPublisher_AddVRDeviceInfo_Request {
2340            manufacturer: ::std::option::Option::None,
2341            model: ::std::option::Option::None,
2342            driver: ::std::option::Option::None,
2343            controller_type: ::std::option::Option::None,
2344            device_class: ::std::option::Option::None,
2345            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2346        };
2347        &instance
2348    }
2349}
2350
2351// @@protoc_insertion_point(message:CDataPublisher_AddVRDeviceInfo_Response)
2352#[derive(PartialEq,Clone,Default,Debug)]
2353pub struct CDataPublisher_AddVRDeviceInfo_Response {
2354    // message fields
2355    // @@protoc_insertion_point(field:CDataPublisher_AddVRDeviceInfo_Response.result)
2356    pub result: ::std::option::Option<u32>,
2357    // @@protoc_insertion_point(field:CDataPublisher_AddVRDeviceInfo_Response.ref)
2358    pub ref_: ::std::option::Option<u32>,
2359    // special fields
2360    // @@protoc_insertion_point(special_field:CDataPublisher_AddVRDeviceInfo_Response.special_fields)
2361    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2362}
2363
2364impl<'a> ::std::default::Default for &'a CDataPublisher_AddVRDeviceInfo_Response {
2365    fn default() -> &'a CDataPublisher_AddVRDeviceInfo_Response {
2366        <CDataPublisher_AddVRDeviceInfo_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2367    }
2368}
2369
2370impl CDataPublisher_AddVRDeviceInfo_Response {
2371    pub fn new() -> CDataPublisher_AddVRDeviceInfo_Response {
2372        ::std::default::Default::default()
2373    }
2374
2375    // optional uint32 result = 1;
2376
2377    pub fn result(&self) -> u32 {
2378        self.result.unwrap_or(0)
2379    }
2380
2381    pub fn clear_result(&mut self) {
2382        self.result = ::std::option::Option::None;
2383    }
2384
2385    pub fn has_result(&self) -> bool {
2386        self.result.is_some()
2387    }
2388
2389    // Param is passed by value, moved
2390    pub fn set_result(&mut self, v: u32) {
2391        self.result = ::std::option::Option::Some(v);
2392    }
2393
2394    // optional uint32 ref = 2;
2395
2396    pub fn ref_(&self) -> u32 {
2397        self.ref_.unwrap_or(0)
2398    }
2399
2400    pub fn clear_ref_(&mut self) {
2401        self.ref_ = ::std::option::Option::None;
2402    }
2403
2404    pub fn has_ref(&self) -> bool {
2405        self.ref_.is_some()
2406    }
2407
2408    // Param is passed by value, moved
2409    pub fn set_ref(&mut self, v: u32) {
2410        self.ref_ = ::std::option::Option::Some(v);
2411    }
2412}
2413
2414impl ::steam_vent_proto_common::protobuf::Message for CDataPublisher_AddVRDeviceInfo_Response {
2415    const NAME: &'static str = "CDataPublisher_AddVRDeviceInfo_Response";
2416
2417    fn is_initialized(&self) -> bool {
2418        true
2419    }
2420
2421    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2422        while let Some(tag) = is.read_raw_tag_or_eof()? {
2423            match tag {
2424                8 => {
2425                    self.result = ::std::option::Option::Some(is.read_uint32()?);
2426                },
2427                16 => {
2428                    self.ref_ = ::std::option::Option::Some(is.read_uint32()?);
2429                },
2430                tag => {
2431                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2432                },
2433            };
2434        }
2435        ::std::result::Result::Ok(())
2436    }
2437
2438    // Compute sizes of nested messages
2439    #[allow(unused_variables)]
2440    fn compute_size(&self) -> u64 {
2441        let mut my_size = 0;
2442        if let Some(v) = self.result {
2443            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
2444        }
2445        if let Some(v) = self.ref_ {
2446            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
2447        }
2448        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2449        self.special_fields.cached_size().set(my_size as u32);
2450        my_size
2451    }
2452
2453    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2454        if let Some(v) = self.result {
2455            os.write_uint32(1, v)?;
2456        }
2457        if let Some(v) = self.ref_ {
2458            os.write_uint32(2, v)?;
2459        }
2460        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2461        ::std::result::Result::Ok(())
2462    }
2463
2464    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2465        &self.special_fields
2466    }
2467
2468    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2469        &mut self.special_fields
2470    }
2471
2472    fn new() -> CDataPublisher_AddVRDeviceInfo_Response {
2473        CDataPublisher_AddVRDeviceInfo_Response::new()
2474    }
2475
2476    fn clear(&mut self) {
2477        self.result = ::std::option::Option::None;
2478        self.ref_ = ::std::option::Option::None;
2479        self.special_fields.clear();
2480    }
2481
2482    fn default_instance() -> &'static CDataPublisher_AddVRDeviceInfo_Response {
2483        static instance: CDataPublisher_AddVRDeviceInfo_Response = CDataPublisher_AddVRDeviceInfo_Response {
2484            result: ::std::option::Option::None,
2485            ref_: ::std::option::Option::None,
2486            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2487        };
2488        &instance
2489    }
2490}
2491
2492// @@protoc_insertion_point(message:CValveHWSurvey_GetSurveySchedule_Request)
2493#[derive(PartialEq,Clone,Default,Debug)]
2494pub struct CValveHWSurvey_GetSurveySchedule_Request {
2495    // message fields
2496    // @@protoc_insertion_point(field:CValveHWSurvey_GetSurveySchedule_Request.surveydatetoken)
2497    pub surveydatetoken: ::std::option::Option<::std::string::String>,
2498    // @@protoc_insertion_point(field:CValveHWSurvey_GetSurveySchedule_Request.surveydatetokenversion)
2499    pub surveydatetokenversion: ::std::option::Option<u64>,
2500    // special fields
2501    // @@protoc_insertion_point(special_field:CValveHWSurvey_GetSurveySchedule_Request.special_fields)
2502    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2503}
2504
2505impl<'a> ::std::default::Default for &'a CValveHWSurvey_GetSurveySchedule_Request {
2506    fn default() -> &'a CValveHWSurvey_GetSurveySchedule_Request {
2507        <CValveHWSurvey_GetSurveySchedule_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2508    }
2509}
2510
2511impl CValveHWSurvey_GetSurveySchedule_Request {
2512    pub fn new() -> CValveHWSurvey_GetSurveySchedule_Request {
2513        ::std::default::Default::default()
2514    }
2515
2516    // optional string surveydatetoken = 1;
2517
2518    pub fn surveydatetoken(&self) -> &str {
2519        match self.surveydatetoken.as_ref() {
2520            Some(v) => v,
2521            None => "",
2522        }
2523    }
2524
2525    pub fn clear_surveydatetoken(&mut self) {
2526        self.surveydatetoken = ::std::option::Option::None;
2527    }
2528
2529    pub fn has_surveydatetoken(&self) -> bool {
2530        self.surveydatetoken.is_some()
2531    }
2532
2533    // Param is passed by value, moved
2534    pub fn set_surveydatetoken(&mut self, v: ::std::string::String) {
2535        self.surveydatetoken = ::std::option::Option::Some(v);
2536    }
2537
2538    // Mutable pointer to the field.
2539    // If field is not initialized, it is initialized with default value first.
2540    pub fn mut_surveydatetoken(&mut self) -> &mut ::std::string::String {
2541        if self.surveydatetoken.is_none() {
2542            self.surveydatetoken = ::std::option::Option::Some(::std::string::String::new());
2543        }
2544        self.surveydatetoken.as_mut().unwrap()
2545    }
2546
2547    // Take field
2548    pub fn take_surveydatetoken(&mut self) -> ::std::string::String {
2549        self.surveydatetoken.take().unwrap_or_else(|| ::std::string::String::new())
2550    }
2551
2552    // optional fixed64 surveydatetokenversion = 2;
2553
2554    pub fn surveydatetokenversion(&self) -> u64 {
2555        self.surveydatetokenversion.unwrap_or(0)
2556    }
2557
2558    pub fn clear_surveydatetokenversion(&mut self) {
2559        self.surveydatetokenversion = ::std::option::Option::None;
2560    }
2561
2562    pub fn has_surveydatetokenversion(&self) -> bool {
2563        self.surveydatetokenversion.is_some()
2564    }
2565
2566    // Param is passed by value, moved
2567    pub fn set_surveydatetokenversion(&mut self, v: u64) {
2568        self.surveydatetokenversion = ::std::option::Option::Some(v);
2569    }
2570}
2571
2572impl ::steam_vent_proto_common::protobuf::Message for CValveHWSurvey_GetSurveySchedule_Request {
2573    const NAME: &'static str = "CValveHWSurvey_GetSurveySchedule_Request";
2574
2575    fn is_initialized(&self) -> bool {
2576        true
2577    }
2578
2579    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2580        while let Some(tag) = is.read_raw_tag_or_eof()? {
2581            match tag {
2582                10 => {
2583                    self.surveydatetoken = ::std::option::Option::Some(is.read_string()?);
2584                },
2585                17 => {
2586                    self.surveydatetokenversion = ::std::option::Option::Some(is.read_fixed64()?);
2587                },
2588                tag => {
2589                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2590                },
2591            };
2592        }
2593        ::std::result::Result::Ok(())
2594    }
2595
2596    // Compute sizes of nested messages
2597    #[allow(unused_variables)]
2598    fn compute_size(&self) -> u64 {
2599        let mut my_size = 0;
2600        if let Some(v) = self.surveydatetoken.as_ref() {
2601            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
2602        }
2603        if let Some(v) = self.surveydatetokenversion {
2604            my_size += 1 + 8;
2605        }
2606        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2607        self.special_fields.cached_size().set(my_size as u32);
2608        my_size
2609    }
2610
2611    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2612        if let Some(v) = self.surveydatetoken.as_ref() {
2613            os.write_string(1, v)?;
2614        }
2615        if let Some(v) = self.surveydatetokenversion {
2616            os.write_fixed64(2, v)?;
2617        }
2618        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2619        ::std::result::Result::Ok(())
2620    }
2621
2622    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2623        &self.special_fields
2624    }
2625
2626    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2627        &mut self.special_fields
2628    }
2629
2630    fn new() -> CValveHWSurvey_GetSurveySchedule_Request {
2631        CValveHWSurvey_GetSurveySchedule_Request::new()
2632    }
2633
2634    fn clear(&mut self) {
2635        self.surveydatetoken = ::std::option::Option::None;
2636        self.surveydatetokenversion = ::std::option::Option::None;
2637        self.special_fields.clear();
2638    }
2639
2640    fn default_instance() -> &'static CValveHWSurvey_GetSurveySchedule_Request {
2641        static instance: CValveHWSurvey_GetSurveySchedule_Request = CValveHWSurvey_GetSurveySchedule_Request {
2642            surveydatetoken: ::std::option::Option::None,
2643            surveydatetokenversion: ::std::option::Option::None,
2644            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2645        };
2646        &instance
2647    }
2648}
2649
2650// @@protoc_insertion_point(message:CValveHWSurvey_GetSurveySchedule_Response)
2651#[derive(PartialEq,Clone,Default,Debug)]
2652pub struct CValveHWSurvey_GetSurveySchedule_Response {
2653    // message fields
2654    // @@protoc_insertion_point(field:CValveHWSurvey_GetSurveySchedule_Response.surveydatetoken)
2655    pub surveydatetoken: ::std::option::Option<u32>,
2656    // @@protoc_insertion_point(field:CValveHWSurvey_GetSurveySchedule_Response.surveydatetokenversion)
2657    pub surveydatetokenversion: ::std::option::Option<u64>,
2658    // special fields
2659    // @@protoc_insertion_point(special_field:CValveHWSurvey_GetSurveySchedule_Response.special_fields)
2660    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2661}
2662
2663impl<'a> ::std::default::Default for &'a CValveHWSurvey_GetSurveySchedule_Response {
2664    fn default() -> &'a CValveHWSurvey_GetSurveySchedule_Response {
2665        <CValveHWSurvey_GetSurveySchedule_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2666    }
2667}
2668
2669impl CValveHWSurvey_GetSurveySchedule_Response {
2670    pub fn new() -> CValveHWSurvey_GetSurveySchedule_Response {
2671        ::std::default::Default::default()
2672    }
2673
2674    // optional uint32 surveydatetoken = 1;
2675
2676    pub fn surveydatetoken(&self) -> u32 {
2677        self.surveydatetoken.unwrap_or(0)
2678    }
2679
2680    pub fn clear_surveydatetoken(&mut self) {
2681        self.surveydatetoken = ::std::option::Option::None;
2682    }
2683
2684    pub fn has_surveydatetoken(&self) -> bool {
2685        self.surveydatetoken.is_some()
2686    }
2687
2688    // Param is passed by value, moved
2689    pub fn set_surveydatetoken(&mut self, v: u32) {
2690        self.surveydatetoken = ::std::option::Option::Some(v);
2691    }
2692
2693    // optional fixed64 surveydatetokenversion = 2;
2694
2695    pub fn surveydatetokenversion(&self) -> u64 {
2696        self.surveydatetokenversion.unwrap_or(0)
2697    }
2698
2699    pub fn clear_surveydatetokenversion(&mut self) {
2700        self.surveydatetokenversion = ::std::option::Option::None;
2701    }
2702
2703    pub fn has_surveydatetokenversion(&self) -> bool {
2704        self.surveydatetokenversion.is_some()
2705    }
2706
2707    // Param is passed by value, moved
2708    pub fn set_surveydatetokenversion(&mut self, v: u64) {
2709        self.surveydatetokenversion = ::std::option::Option::Some(v);
2710    }
2711}
2712
2713impl ::steam_vent_proto_common::protobuf::Message for CValveHWSurvey_GetSurveySchedule_Response {
2714    const NAME: &'static str = "CValveHWSurvey_GetSurveySchedule_Response";
2715
2716    fn is_initialized(&self) -> bool {
2717        true
2718    }
2719
2720    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2721        while let Some(tag) = is.read_raw_tag_or_eof()? {
2722            match tag {
2723                8 => {
2724                    self.surveydatetoken = ::std::option::Option::Some(is.read_uint32()?);
2725                },
2726                17 => {
2727                    self.surveydatetokenversion = ::std::option::Option::Some(is.read_fixed64()?);
2728                },
2729                tag => {
2730                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2731                },
2732            };
2733        }
2734        ::std::result::Result::Ok(())
2735    }
2736
2737    // Compute sizes of nested messages
2738    #[allow(unused_variables)]
2739    fn compute_size(&self) -> u64 {
2740        let mut my_size = 0;
2741        if let Some(v) = self.surveydatetoken {
2742            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
2743        }
2744        if let Some(v) = self.surveydatetokenversion {
2745            my_size += 1 + 8;
2746        }
2747        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2748        self.special_fields.cached_size().set(my_size as u32);
2749        my_size
2750    }
2751
2752    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2753        if let Some(v) = self.surveydatetoken {
2754            os.write_uint32(1, v)?;
2755        }
2756        if let Some(v) = self.surveydatetokenversion {
2757            os.write_fixed64(2, v)?;
2758        }
2759        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2760        ::std::result::Result::Ok(())
2761    }
2762
2763    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2764        &self.special_fields
2765    }
2766
2767    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2768        &mut self.special_fields
2769    }
2770
2771    fn new() -> CValveHWSurvey_GetSurveySchedule_Response {
2772        CValveHWSurvey_GetSurveySchedule_Response::new()
2773    }
2774
2775    fn clear(&mut self) {
2776        self.surveydatetoken = ::std::option::Option::None;
2777        self.surveydatetokenversion = ::std::option::Option::None;
2778        self.special_fields.clear();
2779    }
2780
2781    fn default_instance() -> &'static CValveHWSurvey_GetSurveySchedule_Response {
2782        static instance: CValveHWSurvey_GetSurveySchedule_Response = CValveHWSurvey_GetSurveySchedule_Response {
2783            surveydatetoken: ::std::option::Option::None,
2784            surveydatetokenversion: ::std::option::Option::None,
2785            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2786        };
2787        &instance
2788    }
2789}
2790
2791
2792const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
2793
2794#[allow(unused_imports)]
2795use crate::steammessages_base::*;
2796#[allow(unused_imports)]
2797use crate::steammessages_unified_base_steamclient::*;
2798impl ::steam_vent_proto_common::RpcMessage
2799for CDataPublisher_ClientContentCorruptionReport_Notification {
2800    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2801        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2802    }
2803    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2804        use ::steam_vent_proto_common::protobuf::Message;
2805        self.write_to_writer(writer)
2806    }
2807    fn encode_size(&self) -> usize {
2808        use ::steam_vent_proto_common::protobuf::Message;
2809        self.compute_size() as usize
2810    }
2811}
2812impl ::steam_vent_proto_common::RpcMessage
2813for CDataPublisher_ClientUpdateAppJob_Notification {
2814    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2815        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2816    }
2817    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2818        use ::steam_vent_proto_common::protobuf::Message;
2819        self.write_to_writer(writer)
2820    }
2821    fn encode_size(&self) -> usize {
2822        use ::steam_vent_proto_common::protobuf::Message;
2823        self.compute_size() as usize
2824    }
2825}
2826impl ::steam_vent_proto_common::RpcMessage for CDataPublisher_GetVRDeviceInfo_Request {
2827    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2828        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2829    }
2830    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2831        use ::steam_vent_proto_common::protobuf::Message;
2832        self.write_to_writer(writer)
2833    }
2834    fn encode_size(&self) -> usize {
2835        use ::steam_vent_proto_common::protobuf::Message;
2836        self.compute_size() as usize
2837    }
2838}
2839impl ::steam_vent_proto_common::RpcMessage for CDataPublisher_GetVRDeviceInfo_Response {
2840    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2841        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2842    }
2843    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2844        use ::steam_vent_proto_common::protobuf::Message;
2845        self.write_to_writer(writer)
2846    }
2847    fn encode_size(&self) -> usize {
2848        use ::steam_vent_proto_common::protobuf::Message;
2849        self.compute_size() as usize
2850    }
2851}
2852impl ::steam_vent_proto_common::RpcMessage
2853for CDataPublisher_SetVRDeviceInfoAggregationReference_Request {
2854    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2855        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2856    }
2857    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2858        use ::steam_vent_proto_common::protobuf::Message;
2859        self.write_to_writer(writer)
2860    }
2861    fn encode_size(&self) -> usize {
2862        use ::steam_vent_proto_common::protobuf::Message;
2863        self.compute_size() as usize
2864    }
2865}
2866impl ::steam_vent_proto_common::RpcMessage
2867for CDataPublisher_SetVRDeviceInfoAggregationReference_Response {
2868    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2869        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2870    }
2871    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2872        use ::steam_vent_proto_common::protobuf::Message;
2873        self.write_to_writer(writer)
2874    }
2875    fn encode_size(&self) -> usize {
2876        use ::steam_vent_proto_common::protobuf::Message;
2877        self.compute_size() as usize
2878    }
2879}
2880impl ::steam_vent_proto_common::RpcMessage for CDataPublisher_AddVRDeviceInfo_Request {
2881    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2882        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2883    }
2884    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2885        use ::steam_vent_proto_common::protobuf::Message;
2886        self.write_to_writer(writer)
2887    }
2888    fn encode_size(&self) -> usize {
2889        use ::steam_vent_proto_common::protobuf::Message;
2890        self.compute_size() as usize
2891    }
2892}
2893impl ::steam_vent_proto_common::RpcMessage for CDataPublisher_AddVRDeviceInfo_Response {
2894    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2895        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2896    }
2897    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2898        use ::steam_vent_proto_common::protobuf::Message;
2899        self.write_to_writer(writer)
2900    }
2901    fn encode_size(&self) -> usize {
2902        use ::steam_vent_proto_common::protobuf::Message;
2903        self.compute_size() as usize
2904    }
2905}
2906impl ::steam_vent_proto_common::RpcMessage for CValveHWSurvey_GetSurveySchedule_Request {
2907    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2908        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2909    }
2910    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2911        use ::steam_vent_proto_common::protobuf::Message;
2912        self.write_to_writer(writer)
2913    }
2914    fn encode_size(&self) -> usize {
2915        use ::steam_vent_proto_common::protobuf::Message;
2916        self.compute_size() as usize
2917    }
2918}
2919impl ::steam_vent_proto_common::RpcMessage
2920for CValveHWSurvey_GetSurveySchedule_Response {
2921    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
2922        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
2923    }
2924    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
2925        use ::steam_vent_proto_common::protobuf::Message;
2926        self.write_to_writer(writer)
2927    }
2928    fn encode_size(&self) -> usize {
2929        use ::steam_vent_proto_common::protobuf::Message;
2930        self.compute_size() as usize
2931    }
2932}
2933///
2934struct DataPublisher {}
2935impl ::steam_vent_proto_common::RpcService for DataPublisher {
2936    const SERVICE_NAME: &'static str = "DataPublisher";
2937}
2938///
2939struct ValveHWSurvey {}
2940impl ::steam_vent_proto_common::RpcService for ValveHWSurvey {
2941    const SERVICE_NAME: &'static str = "ValveHWSurvey";
2942}
2943impl ::steam_vent_proto_common::RpcMethod for CDataPublisher_AddVRDeviceInfo_Request {
2944    const METHOD_NAME: &'static str = "DataPublisher.AddVRDeviceInfo#1";
2945    type Response = CDataPublisher_AddVRDeviceInfo_Response;
2946}
2947impl ::steam_vent_proto_common::RpcMethod
2948for CDataPublisher_ClientContentCorruptionReport_Notification {
2949    const METHOD_NAME: &'static str = "DataPublisher.ClientContentCorruptionReport#1";
2950    type Response = ();
2951}
2952impl ::steam_vent_proto_common::RpcMethod
2953for CDataPublisher_ClientUpdateAppJob_Notification {
2954    const METHOD_NAME: &'static str = "DataPublisher.ClientUpdateAppJobReport#1";
2955    type Response = ();
2956}
2957impl ::steam_vent_proto_common::RpcMethod for CDataPublisher_GetVRDeviceInfo_Request {
2958    const METHOD_NAME: &'static str = "DataPublisher.GetVRDeviceInfo#1";
2959    type Response = CDataPublisher_GetVRDeviceInfo_Response;
2960}
2961impl ::steam_vent_proto_common::RpcMethod
2962for CDataPublisher_SetVRDeviceInfoAggregationReference_Request {
2963    const METHOD_NAME: &'static str = "DataPublisher.SetVRDeviceInfoAggregationReference#1";
2964    type Response = CDataPublisher_SetVRDeviceInfoAggregationReference_Response;
2965}
2966impl ::steam_vent_proto_common::RpcMethod for CValveHWSurvey_GetSurveySchedule_Request {
2967    const METHOD_NAME: &'static str = "ValveHWSurvey.GetSurveySchedule#1";
2968    type Response = CValveHWSurvey_GetSurveySchedule_Response;
2969}