steam_vent_proto_steam/generated/
htmlmessages.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 `htmlmessages.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:CMsgKeyUp)
29#[derive(PartialEq,Clone,Default,Debug)]
30pub struct CMsgKeyUp {
31    // message fields
32    // @@protoc_insertion_point(field:CMsgKeyUp.browser_handle)
33    pub browser_handle: ::std::option::Option<u32>,
34    // @@protoc_insertion_point(field:CMsgKeyUp.keyCode)
35    pub keyCode: ::std::option::Option<u32>,
36    // @@protoc_insertion_point(field:CMsgKeyUp.modifiers)
37    pub modifiers: ::std::option::Option<u32>,
38    // @@protoc_insertion_point(field:CMsgKeyUp.nativeKeyCode)
39    pub nativeKeyCode: ::std::option::Option<u32>,
40    // special fields
41    // @@protoc_insertion_point(special_field:CMsgKeyUp.special_fields)
42    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
43}
44
45impl<'a> ::std::default::Default for &'a CMsgKeyUp {
46    fn default() -> &'a CMsgKeyUp {
47        <CMsgKeyUp as ::steam_vent_proto_common::protobuf::Message>::default_instance()
48    }
49}
50
51impl CMsgKeyUp {
52    pub fn new() -> CMsgKeyUp {
53        ::std::default::Default::default()
54    }
55
56    // optional uint32 browser_handle = 1;
57
58    pub fn browser_handle(&self) -> u32 {
59        self.browser_handle.unwrap_or(0)
60    }
61
62    pub fn clear_browser_handle(&mut self) {
63        self.browser_handle = ::std::option::Option::None;
64    }
65
66    pub fn has_browser_handle(&self) -> bool {
67        self.browser_handle.is_some()
68    }
69
70    // Param is passed by value, moved
71    pub fn set_browser_handle(&mut self, v: u32) {
72        self.browser_handle = ::std::option::Option::Some(v);
73    }
74
75    // optional uint32 keyCode = 2;
76
77    pub fn keyCode(&self) -> u32 {
78        self.keyCode.unwrap_or(0)
79    }
80
81    pub fn clear_keyCode(&mut self) {
82        self.keyCode = ::std::option::Option::None;
83    }
84
85    pub fn has_keyCode(&self) -> bool {
86        self.keyCode.is_some()
87    }
88
89    // Param is passed by value, moved
90    pub fn set_keyCode(&mut self, v: u32) {
91        self.keyCode = ::std::option::Option::Some(v);
92    }
93
94    // optional uint32 modifiers = 3;
95
96    pub fn modifiers(&self) -> u32 {
97        self.modifiers.unwrap_or(0)
98    }
99
100    pub fn clear_modifiers(&mut self) {
101        self.modifiers = ::std::option::Option::None;
102    }
103
104    pub fn has_modifiers(&self) -> bool {
105        self.modifiers.is_some()
106    }
107
108    // Param is passed by value, moved
109    pub fn set_modifiers(&mut self, v: u32) {
110        self.modifiers = ::std::option::Option::Some(v);
111    }
112
113    // optional uint32 nativeKeyCode = 4;
114
115    pub fn nativeKeyCode(&self) -> u32 {
116        self.nativeKeyCode.unwrap_or(0)
117    }
118
119    pub fn clear_nativeKeyCode(&mut self) {
120        self.nativeKeyCode = ::std::option::Option::None;
121    }
122
123    pub fn has_nativeKeyCode(&self) -> bool {
124        self.nativeKeyCode.is_some()
125    }
126
127    // Param is passed by value, moved
128    pub fn set_nativeKeyCode(&mut self, v: u32) {
129        self.nativeKeyCode = ::std::option::Option::Some(v);
130    }
131}
132
133impl ::steam_vent_proto_common::protobuf::Message for CMsgKeyUp {
134    const NAME: &'static str = "CMsgKeyUp";
135
136    fn is_initialized(&self) -> bool {
137        true
138    }
139
140    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
141        while let Some(tag) = is.read_raw_tag_or_eof()? {
142            match tag {
143                8 => {
144                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
145                },
146                16 => {
147                    self.keyCode = ::std::option::Option::Some(is.read_uint32()?);
148                },
149                24 => {
150                    self.modifiers = ::std::option::Option::Some(is.read_uint32()?);
151                },
152                32 => {
153                    self.nativeKeyCode = ::std::option::Option::Some(is.read_uint32()?);
154                },
155                tag => {
156                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
157                },
158            };
159        }
160        ::std::result::Result::Ok(())
161    }
162
163    // Compute sizes of nested messages
164    #[allow(unused_variables)]
165    fn compute_size(&self) -> u64 {
166        let mut my_size = 0;
167        if let Some(v) = self.browser_handle {
168            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
169        }
170        if let Some(v) = self.keyCode {
171            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
172        }
173        if let Some(v) = self.modifiers {
174            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
175        }
176        if let Some(v) = self.nativeKeyCode {
177            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
178        }
179        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
180        self.special_fields.cached_size().set(my_size as u32);
181        my_size
182    }
183
184    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
185        if let Some(v) = self.browser_handle {
186            os.write_uint32(1, v)?;
187        }
188        if let Some(v) = self.keyCode {
189            os.write_uint32(2, v)?;
190        }
191        if let Some(v) = self.modifiers {
192            os.write_uint32(3, v)?;
193        }
194        if let Some(v) = self.nativeKeyCode {
195            os.write_uint32(4, v)?;
196        }
197        os.write_unknown_fields(self.special_fields.unknown_fields())?;
198        ::std::result::Result::Ok(())
199    }
200
201    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
202        &self.special_fields
203    }
204
205    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
206        &mut self.special_fields
207    }
208
209    fn new() -> CMsgKeyUp {
210        CMsgKeyUp::new()
211    }
212
213    fn clear(&mut self) {
214        self.browser_handle = ::std::option::Option::None;
215        self.keyCode = ::std::option::Option::None;
216        self.modifiers = ::std::option::Option::None;
217        self.nativeKeyCode = ::std::option::Option::None;
218        self.special_fields.clear();
219    }
220
221    fn default_instance() -> &'static CMsgKeyUp {
222        static instance: CMsgKeyUp = CMsgKeyUp {
223            browser_handle: ::std::option::Option::None,
224            keyCode: ::std::option::Option::None,
225            modifiers: ::std::option::Option::None,
226            nativeKeyCode: ::std::option::Option::None,
227            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
228        };
229        &instance
230    }
231}
232
233// @@protoc_insertion_point(message:CMsgKeyDown)
234#[derive(PartialEq,Clone,Default,Debug)]
235pub struct CMsgKeyDown {
236    // message fields
237    // @@protoc_insertion_point(field:CMsgKeyDown.browser_handle)
238    pub browser_handle: ::std::option::Option<u32>,
239    // @@protoc_insertion_point(field:CMsgKeyDown.keyCode)
240    pub keyCode: ::std::option::Option<u32>,
241    // @@protoc_insertion_point(field:CMsgKeyDown.modifiers)
242    pub modifiers: ::std::option::Option<u32>,
243    // @@protoc_insertion_point(field:CMsgKeyDown.is_system_key)
244    pub is_system_key: ::std::option::Option<bool>,
245    // @@protoc_insertion_point(field:CMsgKeyDown.nativeKeyCode)
246    pub nativeKeyCode: ::std::option::Option<u32>,
247    // special fields
248    // @@protoc_insertion_point(special_field:CMsgKeyDown.special_fields)
249    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
250}
251
252impl<'a> ::std::default::Default for &'a CMsgKeyDown {
253    fn default() -> &'a CMsgKeyDown {
254        <CMsgKeyDown as ::steam_vent_proto_common::protobuf::Message>::default_instance()
255    }
256}
257
258impl CMsgKeyDown {
259    pub fn new() -> CMsgKeyDown {
260        ::std::default::Default::default()
261    }
262
263    // optional uint32 browser_handle = 1;
264
265    pub fn browser_handle(&self) -> u32 {
266        self.browser_handle.unwrap_or(0)
267    }
268
269    pub fn clear_browser_handle(&mut self) {
270        self.browser_handle = ::std::option::Option::None;
271    }
272
273    pub fn has_browser_handle(&self) -> bool {
274        self.browser_handle.is_some()
275    }
276
277    // Param is passed by value, moved
278    pub fn set_browser_handle(&mut self, v: u32) {
279        self.browser_handle = ::std::option::Option::Some(v);
280    }
281
282    // optional uint32 keyCode = 2;
283
284    pub fn keyCode(&self) -> u32 {
285        self.keyCode.unwrap_or(0)
286    }
287
288    pub fn clear_keyCode(&mut self) {
289        self.keyCode = ::std::option::Option::None;
290    }
291
292    pub fn has_keyCode(&self) -> bool {
293        self.keyCode.is_some()
294    }
295
296    // Param is passed by value, moved
297    pub fn set_keyCode(&mut self, v: u32) {
298        self.keyCode = ::std::option::Option::Some(v);
299    }
300
301    // optional uint32 modifiers = 3;
302
303    pub fn modifiers(&self) -> u32 {
304        self.modifiers.unwrap_or(0)
305    }
306
307    pub fn clear_modifiers(&mut self) {
308        self.modifiers = ::std::option::Option::None;
309    }
310
311    pub fn has_modifiers(&self) -> bool {
312        self.modifiers.is_some()
313    }
314
315    // Param is passed by value, moved
316    pub fn set_modifiers(&mut self, v: u32) {
317        self.modifiers = ::std::option::Option::Some(v);
318    }
319
320    // optional bool is_system_key = 4;
321
322    pub fn is_system_key(&self) -> bool {
323        self.is_system_key.unwrap_or(false)
324    }
325
326    pub fn clear_is_system_key(&mut self) {
327        self.is_system_key = ::std::option::Option::None;
328    }
329
330    pub fn has_is_system_key(&self) -> bool {
331        self.is_system_key.is_some()
332    }
333
334    // Param is passed by value, moved
335    pub fn set_is_system_key(&mut self, v: bool) {
336        self.is_system_key = ::std::option::Option::Some(v);
337    }
338
339    // optional uint32 nativeKeyCode = 5;
340
341    pub fn nativeKeyCode(&self) -> u32 {
342        self.nativeKeyCode.unwrap_or(0)
343    }
344
345    pub fn clear_nativeKeyCode(&mut self) {
346        self.nativeKeyCode = ::std::option::Option::None;
347    }
348
349    pub fn has_nativeKeyCode(&self) -> bool {
350        self.nativeKeyCode.is_some()
351    }
352
353    // Param is passed by value, moved
354    pub fn set_nativeKeyCode(&mut self, v: u32) {
355        self.nativeKeyCode = ::std::option::Option::Some(v);
356    }
357}
358
359impl ::steam_vent_proto_common::protobuf::Message for CMsgKeyDown {
360    const NAME: &'static str = "CMsgKeyDown";
361
362    fn is_initialized(&self) -> bool {
363        true
364    }
365
366    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
367        while let Some(tag) = is.read_raw_tag_or_eof()? {
368            match tag {
369                8 => {
370                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
371                },
372                16 => {
373                    self.keyCode = ::std::option::Option::Some(is.read_uint32()?);
374                },
375                24 => {
376                    self.modifiers = ::std::option::Option::Some(is.read_uint32()?);
377                },
378                32 => {
379                    self.is_system_key = ::std::option::Option::Some(is.read_bool()?);
380                },
381                40 => {
382                    self.nativeKeyCode = ::std::option::Option::Some(is.read_uint32()?);
383                },
384                tag => {
385                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
386                },
387            };
388        }
389        ::std::result::Result::Ok(())
390    }
391
392    // Compute sizes of nested messages
393    #[allow(unused_variables)]
394    fn compute_size(&self) -> u64 {
395        let mut my_size = 0;
396        if let Some(v) = self.browser_handle {
397            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
398        }
399        if let Some(v) = self.keyCode {
400            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
401        }
402        if let Some(v) = self.modifiers {
403            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
404        }
405        if let Some(v) = self.is_system_key {
406            my_size += 1 + 1;
407        }
408        if let Some(v) = self.nativeKeyCode {
409            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
410        }
411        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
412        self.special_fields.cached_size().set(my_size as u32);
413        my_size
414    }
415
416    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
417        if let Some(v) = self.browser_handle {
418            os.write_uint32(1, v)?;
419        }
420        if let Some(v) = self.keyCode {
421            os.write_uint32(2, v)?;
422        }
423        if let Some(v) = self.modifiers {
424            os.write_uint32(3, v)?;
425        }
426        if let Some(v) = self.is_system_key {
427            os.write_bool(4, v)?;
428        }
429        if let Some(v) = self.nativeKeyCode {
430            os.write_uint32(5, v)?;
431        }
432        os.write_unknown_fields(self.special_fields.unknown_fields())?;
433        ::std::result::Result::Ok(())
434    }
435
436    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
437        &self.special_fields
438    }
439
440    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
441        &mut self.special_fields
442    }
443
444    fn new() -> CMsgKeyDown {
445        CMsgKeyDown::new()
446    }
447
448    fn clear(&mut self) {
449        self.browser_handle = ::std::option::Option::None;
450        self.keyCode = ::std::option::Option::None;
451        self.modifiers = ::std::option::Option::None;
452        self.is_system_key = ::std::option::Option::None;
453        self.nativeKeyCode = ::std::option::Option::None;
454        self.special_fields.clear();
455    }
456
457    fn default_instance() -> &'static CMsgKeyDown {
458        static instance: CMsgKeyDown = CMsgKeyDown {
459            browser_handle: ::std::option::Option::None,
460            keyCode: ::std::option::Option::None,
461            modifiers: ::std::option::Option::None,
462            is_system_key: ::std::option::Option::None,
463            nativeKeyCode: ::std::option::Option::None,
464            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
465        };
466        &instance
467    }
468}
469
470// @@protoc_insertion_point(message:CMsgKeyChar)
471#[derive(PartialEq,Clone,Default,Debug)]
472pub struct CMsgKeyChar {
473    // message fields
474    // @@protoc_insertion_point(field:CMsgKeyChar.browser_handle)
475    pub browser_handle: ::std::option::Option<u32>,
476    // @@protoc_insertion_point(field:CMsgKeyChar.unichar)
477    pub unichar: ::std::option::Option<u32>,
478    // @@protoc_insertion_point(field:CMsgKeyChar.modifiers)
479    pub modifiers: ::std::option::Option<u32>,
480    // @@protoc_insertion_point(field:CMsgKeyChar.keyCode)
481    pub keyCode: ::std::option::Option<u32>,
482    // @@protoc_insertion_point(field:CMsgKeyChar.nativeKeyCode)
483    pub nativeKeyCode: ::std::option::Option<u32>,
484    // special fields
485    // @@protoc_insertion_point(special_field:CMsgKeyChar.special_fields)
486    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
487}
488
489impl<'a> ::std::default::Default for &'a CMsgKeyChar {
490    fn default() -> &'a CMsgKeyChar {
491        <CMsgKeyChar as ::steam_vent_proto_common::protobuf::Message>::default_instance()
492    }
493}
494
495impl CMsgKeyChar {
496    pub fn new() -> CMsgKeyChar {
497        ::std::default::Default::default()
498    }
499
500    // optional uint32 browser_handle = 1;
501
502    pub fn browser_handle(&self) -> u32 {
503        self.browser_handle.unwrap_or(0)
504    }
505
506    pub fn clear_browser_handle(&mut self) {
507        self.browser_handle = ::std::option::Option::None;
508    }
509
510    pub fn has_browser_handle(&self) -> bool {
511        self.browser_handle.is_some()
512    }
513
514    // Param is passed by value, moved
515    pub fn set_browser_handle(&mut self, v: u32) {
516        self.browser_handle = ::std::option::Option::Some(v);
517    }
518
519    // optional uint32 unichar = 2;
520
521    pub fn unichar(&self) -> u32 {
522        self.unichar.unwrap_or(0)
523    }
524
525    pub fn clear_unichar(&mut self) {
526        self.unichar = ::std::option::Option::None;
527    }
528
529    pub fn has_unichar(&self) -> bool {
530        self.unichar.is_some()
531    }
532
533    // Param is passed by value, moved
534    pub fn set_unichar(&mut self, v: u32) {
535        self.unichar = ::std::option::Option::Some(v);
536    }
537
538    // optional uint32 modifiers = 3;
539
540    pub fn modifiers(&self) -> u32 {
541        self.modifiers.unwrap_or(0)
542    }
543
544    pub fn clear_modifiers(&mut self) {
545        self.modifiers = ::std::option::Option::None;
546    }
547
548    pub fn has_modifiers(&self) -> bool {
549        self.modifiers.is_some()
550    }
551
552    // Param is passed by value, moved
553    pub fn set_modifiers(&mut self, v: u32) {
554        self.modifiers = ::std::option::Option::Some(v);
555    }
556
557    // optional uint32 keyCode = 4;
558
559    pub fn keyCode(&self) -> u32 {
560        self.keyCode.unwrap_or(0)
561    }
562
563    pub fn clear_keyCode(&mut self) {
564        self.keyCode = ::std::option::Option::None;
565    }
566
567    pub fn has_keyCode(&self) -> bool {
568        self.keyCode.is_some()
569    }
570
571    // Param is passed by value, moved
572    pub fn set_keyCode(&mut self, v: u32) {
573        self.keyCode = ::std::option::Option::Some(v);
574    }
575
576    // optional uint32 nativeKeyCode = 5;
577
578    pub fn nativeKeyCode(&self) -> u32 {
579        self.nativeKeyCode.unwrap_or(0)
580    }
581
582    pub fn clear_nativeKeyCode(&mut self) {
583        self.nativeKeyCode = ::std::option::Option::None;
584    }
585
586    pub fn has_nativeKeyCode(&self) -> bool {
587        self.nativeKeyCode.is_some()
588    }
589
590    // Param is passed by value, moved
591    pub fn set_nativeKeyCode(&mut self, v: u32) {
592        self.nativeKeyCode = ::std::option::Option::Some(v);
593    }
594}
595
596impl ::steam_vent_proto_common::protobuf::Message for CMsgKeyChar {
597    const NAME: &'static str = "CMsgKeyChar";
598
599    fn is_initialized(&self) -> bool {
600        true
601    }
602
603    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
604        while let Some(tag) = is.read_raw_tag_or_eof()? {
605            match tag {
606                8 => {
607                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
608                },
609                16 => {
610                    self.unichar = ::std::option::Option::Some(is.read_uint32()?);
611                },
612                24 => {
613                    self.modifiers = ::std::option::Option::Some(is.read_uint32()?);
614                },
615                32 => {
616                    self.keyCode = ::std::option::Option::Some(is.read_uint32()?);
617                },
618                40 => {
619                    self.nativeKeyCode = ::std::option::Option::Some(is.read_uint32()?);
620                },
621                tag => {
622                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
623                },
624            };
625        }
626        ::std::result::Result::Ok(())
627    }
628
629    // Compute sizes of nested messages
630    #[allow(unused_variables)]
631    fn compute_size(&self) -> u64 {
632        let mut my_size = 0;
633        if let Some(v) = self.browser_handle {
634            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
635        }
636        if let Some(v) = self.unichar {
637            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
638        }
639        if let Some(v) = self.modifiers {
640            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
641        }
642        if let Some(v) = self.keyCode {
643            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
644        }
645        if let Some(v) = self.nativeKeyCode {
646            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
647        }
648        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
649        self.special_fields.cached_size().set(my_size as u32);
650        my_size
651    }
652
653    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
654        if let Some(v) = self.browser_handle {
655            os.write_uint32(1, v)?;
656        }
657        if let Some(v) = self.unichar {
658            os.write_uint32(2, v)?;
659        }
660        if let Some(v) = self.modifiers {
661            os.write_uint32(3, v)?;
662        }
663        if let Some(v) = self.keyCode {
664            os.write_uint32(4, v)?;
665        }
666        if let Some(v) = self.nativeKeyCode {
667            os.write_uint32(5, v)?;
668        }
669        os.write_unknown_fields(self.special_fields.unknown_fields())?;
670        ::std::result::Result::Ok(())
671    }
672
673    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
674        &self.special_fields
675    }
676
677    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
678        &mut self.special_fields
679    }
680
681    fn new() -> CMsgKeyChar {
682        CMsgKeyChar::new()
683    }
684
685    fn clear(&mut self) {
686        self.browser_handle = ::std::option::Option::None;
687        self.unichar = ::std::option::Option::None;
688        self.modifiers = ::std::option::Option::None;
689        self.keyCode = ::std::option::Option::None;
690        self.nativeKeyCode = ::std::option::Option::None;
691        self.special_fields.clear();
692    }
693
694    fn default_instance() -> &'static CMsgKeyChar {
695        static instance: CMsgKeyChar = CMsgKeyChar {
696            browser_handle: ::std::option::Option::None,
697            unichar: ::std::option::Option::None,
698            modifiers: ::std::option::Option::None,
699            keyCode: ::std::option::Option::None,
700            nativeKeyCode: ::std::option::Option::None,
701            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
702        };
703        &instance
704    }
705}
706
707// @@protoc_insertion_point(message:CMsgMouseDown)
708#[derive(PartialEq,Clone,Default,Debug)]
709pub struct CMsgMouseDown {
710    // message fields
711    // @@protoc_insertion_point(field:CMsgMouseDown.browser_handle)
712    pub browser_handle: ::std::option::Option<u32>,
713    // @@protoc_insertion_point(field:CMsgMouseDown.mouse_button)
714    pub mouse_button: ::std::option::Option<u32>,
715    // @@protoc_insertion_point(field:CMsgMouseDown.modifiers)
716    pub modifiers: ::std::option::Option<u32>,
717    // special fields
718    // @@protoc_insertion_point(special_field:CMsgMouseDown.special_fields)
719    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
720}
721
722impl<'a> ::std::default::Default for &'a CMsgMouseDown {
723    fn default() -> &'a CMsgMouseDown {
724        <CMsgMouseDown as ::steam_vent_proto_common::protobuf::Message>::default_instance()
725    }
726}
727
728impl CMsgMouseDown {
729    pub fn new() -> CMsgMouseDown {
730        ::std::default::Default::default()
731    }
732
733    // optional uint32 browser_handle = 1;
734
735    pub fn browser_handle(&self) -> u32 {
736        self.browser_handle.unwrap_or(0)
737    }
738
739    pub fn clear_browser_handle(&mut self) {
740        self.browser_handle = ::std::option::Option::None;
741    }
742
743    pub fn has_browser_handle(&self) -> bool {
744        self.browser_handle.is_some()
745    }
746
747    // Param is passed by value, moved
748    pub fn set_browser_handle(&mut self, v: u32) {
749        self.browser_handle = ::std::option::Option::Some(v);
750    }
751
752    // optional uint32 mouse_button = 2;
753
754    pub fn mouse_button(&self) -> u32 {
755        self.mouse_button.unwrap_or(0)
756    }
757
758    pub fn clear_mouse_button(&mut self) {
759        self.mouse_button = ::std::option::Option::None;
760    }
761
762    pub fn has_mouse_button(&self) -> bool {
763        self.mouse_button.is_some()
764    }
765
766    // Param is passed by value, moved
767    pub fn set_mouse_button(&mut self, v: u32) {
768        self.mouse_button = ::std::option::Option::Some(v);
769    }
770
771    // optional uint32 modifiers = 3;
772
773    pub fn modifiers(&self) -> u32 {
774        self.modifiers.unwrap_or(0)
775    }
776
777    pub fn clear_modifiers(&mut self) {
778        self.modifiers = ::std::option::Option::None;
779    }
780
781    pub fn has_modifiers(&self) -> bool {
782        self.modifiers.is_some()
783    }
784
785    // Param is passed by value, moved
786    pub fn set_modifiers(&mut self, v: u32) {
787        self.modifiers = ::std::option::Option::Some(v);
788    }
789}
790
791impl ::steam_vent_proto_common::protobuf::Message for CMsgMouseDown {
792    const NAME: &'static str = "CMsgMouseDown";
793
794    fn is_initialized(&self) -> bool {
795        true
796    }
797
798    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
799        while let Some(tag) = is.read_raw_tag_or_eof()? {
800            match tag {
801                8 => {
802                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
803                },
804                16 => {
805                    self.mouse_button = ::std::option::Option::Some(is.read_uint32()?);
806                },
807                24 => {
808                    self.modifiers = ::std::option::Option::Some(is.read_uint32()?);
809                },
810                tag => {
811                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
812                },
813            };
814        }
815        ::std::result::Result::Ok(())
816    }
817
818    // Compute sizes of nested messages
819    #[allow(unused_variables)]
820    fn compute_size(&self) -> u64 {
821        let mut my_size = 0;
822        if let Some(v) = self.browser_handle {
823            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
824        }
825        if let Some(v) = self.mouse_button {
826            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
827        }
828        if let Some(v) = self.modifiers {
829            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
830        }
831        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
832        self.special_fields.cached_size().set(my_size as u32);
833        my_size
834    }
835
836    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
837        if let Some(v) = self.browser_handle {
838            os.write_uint32(1, v)?;
839        }
840        if let Some(v) = self.mouse_button {
841            os.write_uint32(2, v)?;
842        }
843        if let Some(v) = self.modifiers {
844            os.write_uint32(3, v)?;
845        }
846        os.write_unknown_fields(self.special_fields.unknown_fields())?;
847        ::std::result::Result::Ok(())
848    }
849
850    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
851        &self.special_fields
852    }
853
854    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
855        &mut self.special_fields
856    }
857
858    fn new() -> CMsgMouseDown {
859        CMsgMouseDown::new()
860    }
861
862    fn clear(&mut self) {
863        self.browser_handle = ::std::option::Option::None;
864        self.mouse_button = ::std::option::Option::None;
865        self.modifiers = ::std::option::Option::None;
866        self.special_fields.clear();
867    }
868
869    fn default_instance() -> &'static CMsgMouseDown {
870        static instance: CMsgMouseDown = CMsgMouseDown {
871            browser_handle: ::std::option::Option::None,
872            mouse_button: ::std::option::Option::None,
873            modifiers: ::std::option::Option::None,
874            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
875        };
876        &instance
877    }
878}
879
880// @@protoc_insertion_point(message:CMsgMouseUp)
881#[derive(PartialEq,Clone,Default,Debug)]
882pub struct CMsgMouseUp {
883    // message fields
884    // @@protoc_insertion_point(field:CMsgMouseUp.browser_handle)
885    pub browser_handle: ::std::option::Option<u32>,
886    // @@protoc_insertion_point(field:CMsgMouseUp.mouse_button)
887    pub mouse_button: ::std::option::Option<u32>,
888    // @@protoc_insertion_point(field:CMsgMouseUp.modifiers)
889    pub modifiers: ::std::option::Option<u32>,
890    // @@protoc_insertion_point(field:CMsgMouseUp.is_off_panel)
891    pub is_off_panel: ::std::option::Option<bool>,
892    // @@protoc_insertion_point(field:CMsgMouseUp.x)
893    pub x: ::std::option::Option<i32>,
894    // @@protoc_insertion_point(field:CMsgMouseUp.y)
895    pub y: ::std::option::Option<i32>,
896    // special fields
897    // @@protoc_insertion_point(special_field:CMsgMouseUp.special_fields)
898    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
899}
900
901impl<'a> ::std::default::Default for &'a CMsgMouseUp {
902    fn default() -> &'a CMsgMouseUp {
903        <CMsgMouseUp as ::steam_vent_proto_common::protobuf::Message>::default_instance()
904    }
905}
906
907impl CMsgMouseUp {
908    pub fn new() -> CMsgMouseUp {
909        ::std::default::Default::default()
910    }
911
912    // optional uint32 browser_handle = 1;
913
914    pub fn browser_handle(&self) -> u32 {
915        self.browser_handle.unwrap_or(0)
916    }
917
918    pub fn clear_browser_handle(&mut self) {
919        self.browser_handle = ::std::option::Option::None;
920    }
921
922    pub fn has_browser_handle(&self) -> bool {
923        self.browser_handle.is_some()
924    }
925
926    // Param is passed by value, moved
927    pub fn set_browser_handle(&mut self, v: u32) {
928        self.browser_handle = ::std::option::Option::Some(v);
929    }
930
931    // optional uint32 mouse_button = 2;
932
933    pub fn mouse_button(&self) -> u32 {
934        self.mouse_button.unwrap_or(0)
935    }
936
937    pub fn clear_mouse_button(&mut self) {
938        self.mouse_button = ::std::option::Option::None;
939    }
940
941    pub fn has_mouse_button(&self) -> bool {
942        self.mouse_button.is_some()
943    }
944
945    // Param is passed by value, moved
946    pub fn set_mouse_button(&mut self, v: u32) {
947        self.mouse_button = ::std::option::Option::Some(v);
948    }
949
950    // optional uint32 modifiers = 3;
951
952    pub fn modifiers(&self) -> u32 {
953        self.modifiers.unwrap_or(0)
954    }
955
956    pub fn clear_modifiers(&mut self) {
957        self.modifiers = ::std::option::Option::None;
958    }
959
960    pub fn has_modifiers(&self) -> bool {
961        self.modifiers.is_some()
962    }
963
964    // Param is passed by value, moved
965    pub fn set_modifiers(&mut self, v: u32) {
966        self.modifiers = ::std::option::Option::Some(v);
967    }
968
969    // optional bool is_off_panel = 4;
970
971    pub fn is_off_panel(&self) -> bool {
972        self.is_off_panel.unwrap_or(false)
973    }
974
975    pub fn clear_is_off_panel(&mut self) {
976        self.is_off_panel = ::std::option::Option::None;
977    }
978
979    pub fn has_is_off_panel(&self) -> bool {
980        self.is_off_panel.is_some()
981    }
982
983    // Param is passed by value, moved
984    pub fn set_is_off_panel(&mut self, v: bool) {
985        self.is_off_panel = ::std::option::Option::Some(v);
986    }
987
988    // optional int32 x = 5;
989
990    pub fn x(&self) -> i32 {
991        self.x.unwrap_or(0)
992    }
993
994    pub fn clear_x(&mut self) {
995        self.x = ::std::option::Option::None;
996    }
997
998    pub fn has_x(&self) -> bool {
999        self.x.is_some()
1000    }
1001
1002    // Param is passed by value, moved
1003    pub fn set_x(&mut self, v: i32) {
1004        self.x = ::std::option::Option::Some(v);
1005    }
1006
1007    // optional int32 y = 6;
1008
1009    pub fn y(&self) -> i32 {
1010        self.y.unwrap_or(0)
1011    }
1012
1013    pub fn clear_y(&mut self) {
1014        self.y = ::std::option::Option::None;
1015    }
1016
1017    pub fn has_y(&self) -> bool {
1018        self.y.is_some()
1019    }
1020
1021    // Param is passed by value, moved
1022    pub fn set_y(&mut self, v: i32) {
1023        self.y = ::std::option::Option::Some(v);
1024    }
1025}
1026
1027impl ::steam_vent_proto_common::protobuf::Message for CMsgMouseUp {
1028    const NAME: &'static str = "CMsgMouseUp";
1029
1030    fn is_initialized(&self) -> bool {
1031        true
1032    }
1033
1034    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1035        while let Some(tag) = is.read_raw_tag_or_eof()? {
1036            match tag {
1037                8 => {
1038                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
1039                },
1040                16 => {
1041                    self.mouse_button = ::std::option::Option::Some(is.read_uint32()?);
1042                },
1043                24 => {
1044                    self.modifiers = ::std::option::Option::Some(is.read_uint32()?);
1045                },
1046                32 => {
1047                    self.is_off_panel = ::std::option::Option::Some(is.read_bool()?);
1048                },
1049                40 => {
1050                    self.x = ::std::option::Option::Some(is.read_int32()?);
1051                },
1052                48 => {
1053                    self.y = ::std::option::Option::Some(is.read_int32()?);
1054                },
1055                tag => {
1056                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1057                },
1058            };
1059        }
1060        ::std::result::Result::Ok(())
1061    }
1062
1063    // Compute sizes of nested messages
1064    #[allow(unused_variables)]
1065    fn compute_size(&self) -> u64 {
1066        let mut my_size = 0;
1067        if let Some(v) = self.browser_handle {
1068            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
1069        }
1070        if let Some(v) = self.mouse_button {
1071            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
1072        }
1073        if let Some(v) = self.modifiers {
1074            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
1075        }
1076        if let Some(v) = self.is_off_panel {
1077            my_size += 1 + 1;
1078        }
1079        if let Some(v) = self.x {
1080            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v);
1081        }
1082        if let Some(v) = self.y {
1083            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v);
1084        }
1085        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1086        self.special_fields.cached_size().set(my_size as u32);
1087        my_size
1088    }
1089
1090    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1091        if let Some(v) = self.browser_handle {
1092            os.write_uint32(1, v)?;
1093        }
1094        if let Some(v) = self.mouse_button {
1095            os.write_uint32(2, v)?;
1096        }
1097        if let Some(v) = self.modifiers {
1098            os.write_uint32(3, v)?;
1099        }
1100        if let Some(v) = self.is_off_panel {
1101            os.write_bool(4, v)?;
1102        }
1103        if let Some(v) = self.x {
1104            os.write_int32(5, v)?;
1105        }
1106        if let Some(v) = self.y {
1107            os.write_int32(6, v)?;
1108        }
1109        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1110        ::std::result::Result::Ok(())
1111    }
1112
1113    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1114        &self.special_fields
1115    }
1116
1117    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1118        &mut self.special_fields
1119    }
1120
1121    fn new() -> CMsgMouseUp {
1122        CMsgMouseUp::new()
1123    }
1124
1125    fn clear(&mut self) {
1126        self.browser_handle = ::std::option::Option::None;
1127        self.mouse_button = ::std::option::Option::None;
1128        self.modifiers = ::std::option::Option::None;
1129        self.is_off_panel = ::std::option::Option::None;
1130        self.x = ::std::option::Option::None;
1131        self.y = ::std::option::Option::None;
1132        self.special_fields.clear();
1133    }
1134
1135    fn default_instance() -> &'static CMsgMouseUp {
1136        static instance: CMsgMouseUp = CMsgMouseUp {
1137            browser_handle: ::std::option::Option::None,
1138            mouse_button: ::std::option::Option::None,
1139            modifiers: ::std::option::Option::None,
1140            is_off_panel: ::std::option::Option::None,
1141            x: ::std::option::Option::None,
1142            y: ::std::option::Option::None,
1143            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1144        };
1145        &instance
1146    }
1147}
1148
1149// @@protoc_insertion_point(message:CMsgMouseDblClick)
1150#[derive(PartialEq,Clone,Default,Debug)]
1151pub struct CMsgMouseDblClick {
1152    // message fields
1153    // @@protoc_insertion_point(field:CMsgMouseDblClick.browser_handle)
1154    pub browser_handle: ::std::option::Option<u32>,
1155    // @@protoc_insertion_point(field:CMsgMouseDblClick.mouse_button)
1156    pub mouse_button: ::std::option::Option<u32>,
1157    // @@protoc_insertion_point(field:CMsgMouseDblClick.modifiers)
1158    pub modifiers: ::std::option::Option<u32>,
1159    // special fields
1160    // @@protoc_insertion_point(special_field:CMsgMouseDblClick.special_fields)
1161    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1162}
1163
1164impl<'a> ::std::default::Default for &'a CMsgMouseDblClick {
1165    fn default() -> &'a CMsgMouseDblClick {
1166        <CMsgMouseDblClick as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1167    }
1168}
1169
1170impl CMsgMouseDblClick {
1171    pub fn new() -> CMsgMouseDblClick {
1172        ::std::default::Default::default()
1173    }
1174
1175    // optional uint32 browser_handle = 1;
1176
1177    pub fn browser_handle(&self) -> u32 {
1178        self.browser_handle.unwrap_or(0)
1179    }
1180
1181    pub fn clear_browser_handle(&mut self) {
1182        self.browser_handle = ::std::option::Option::None;
1183    }
1184
1185    pub fn has_browser_handle(&self) -> bool {
1186        self.browser_handle.is_some()
1187    }
1188
1189    // Param is passed by value, moved
1190    pub fn set_browser_handle(&mut self, v: u32) {
1191        self.browser_handle = ::std::option::Option::Some(v);
1192    }
1193
1194    // optional uint32 mouse_button = 2;
1195
1196    pub fn mouse_button(&self) -> u32 {
1197        self.mouse_button.unwrap_or(0)
1198    }
1199
1200    pub fn clear_mouse_button(&mut self) {
1201        self.mouse_button = ::std::option::Option::None;
1202    }
1203
1204    pub fn has_mouse_button(&self) -> bool {
1205        self.mouse_button.is_some()
1206    }
1207
1208    // Param is passed by value, moved
1209    pub fn set_mouse_button(&mut self, v: u32) {
1210        self.mouse_button = ::std::option::Option::Some(v);
1211    }
1212
1213    // optional uint32 modifiers = 3;
1214
1215    pub fn modifiers(&self) -> u32 {
1216        self.modifiers.unwrap_or(0)
1217    }
1218
1219    pub fn clear_modifiers(&mut self) {
1220        self.modifiers = ::std::option::Option::None;
1221    }
1222
1223    pub fn has_modifiers(&self) -> bool {
1224        self.modifiers.is_some()
1225    }
1226
1227    // Param is passed by value, moved
1228    pub fn set_modifiers(&mut self, v: u32) {
1229        self.modifiers = ::std::option::Option::Some(v);
1230    }
1231}
1232
1233impl ::steam_vent_proto_common::protobuf::Message for CMsgMouseDblClick {
1234    const NAME: &'static str = "CMsgMouseDblClick";
1235
1236    fn is_initialized(&self) -> bool {
1237        true
1238    }
1239
1240    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1241        while let Some(tag) = is.read_raw_tag_or_eof()? {
1242            match tag {
1243                8 => {
1244                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
1245                },
1246                16 => {
1247                    self.mouse_button = ::std::option::Option::Some(is.read_uint32()?);
1248                },
1249                24 => {
1250                    self.modifiers = ::std::option::Option::Some(is.read_uint32()?);
1251                },
1252                tag => {
1253                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1254                },
1255            };
1256        }
1257        ::std::result::Result::Ok(())
1258    }
1259
1260    // Compute sizes of nested messages
1261    #[allow(unused_variables)]
1262    fn compute_size(&self) -> u64 {
1263        let mut my_size = 0;
1264        if let Some(v) = self.browser_handle {
1265            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
1266        }
1267        if let Some(v) = self.mouse_button {
1268            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
1269        }
1270        if let Some(v) = self.modifiers {
1271            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
1272        }
1273        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1274        self.special_fields.cached_size().set(my_size as u32);
1275        my_size
1276    }
1277
1278    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1279        if let Some(v) = self.browser_handle {
1280            os.write_uint32(1, v)?;
1281        }
1282        if let Some(v) = self.mouse_button {
1283            os.write_uint32(2, v)?;
1284        }
1285        if let Some(v) = self.modifiers {
1286            os.write_uint32(3, v)?;
1287        }
1288        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1289        ::std::result::Result::Ok(())
1290    }
1291
1292    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1293        &self.special_fields
1294    }
1295
1296    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1297        &mut self.special_fields
1298    }
1299
1300    fn new() -> CMsgMouseDblClick {
1301        CMsgMouseDblClick::new()
1302    }
1303
1304    fn clear(&mut self) {
1305        self.browser_handle = ::std::option::Option::None;
1306        self.mouse_button = ::std::option::Option::None;
1307        self.modifiers = ::std::option::Option::None;
1308        self.special_fields.clear();
1309    }
1310
1311    fn default_instance() -> &'static CMsgMouseDblClick {
1312        static instance: CMsgMouseDblClick = CMsgMouseDblClick {
1313            browser_handle: ::std::option::Option::None,
1314            mouse_button: ::std::option::Option::None,
1315            modifiers: ::std::option::Option::None,
1316            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1317        };
1318        &instance
1319    }
1320}
1321
1322// @@protoc_insertion_point(message:CMsgMouseWheel)
1323#[derive(PartialEq,Clone,Default,Debug)]
1324pub struct CMsgMouseWheel {
1325    // message fields
1326    // @@protoc_insertion_point(field:CMsgMouseWheel.browser_handle)
1327    pub browser_handle: ::std::option::Option<u32>,
1328    // @@protoc_insertion_point(field:CMsgMouseWheel.deltax)
1329    pub deltax: ::std::option::Option<i32>,
1330    // @@protoc_insertion_point(field:CMsgMouseWheel.deltay)
1331    pub deltay: ::std::option::Option<i32>,
1332    // @@protoc_insertion_point(field:CMsgMouseWheel.modifiers)
1333    pub modifiers: ::std::option::Option<u32>,
1334    // special fields
1335    // @@protoc_insertion_point(special_field:CMsgMouseWheel.special_fields)
1336    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1337}
1338
1339impl<'a> ::std::default::Default for &'a CMsgMouseWheel {
1340    fn default() -> &'a CMsgMouseWheel {
1341        <CMsgMouseWheel as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1342    }
1343}
1344
1345impl CMsgMouseWheel {
1346    pub fn new() -> CMsgMouseWheel {
1347        ::std::default::Default::default()
1348    }
1349
1350    // optional uint32 browser_handle = 1;
1351
1352    pub fn browser_handle(&self) -> u32 {
1353        self.browser_handle.unwrap_or(0)
1354    }
1355
1356    pub fn clear_browser_handle(&mut self) {
1357        self.browser_handle = ::std::option::Option::None;
1358    }
1359
1360    pub fn has_browser_handle(&self) -> bool {
1361        self.browser_handle.is_some()
1362    }
1363
1364    // Param is passed by value, moved
1365    pub fn set_browser_handle(&mut self, v: u32) {
1366        self.browser_handle = ::std::option::Option::Some(v);
1367    }
1368
1369    // optional int32 deltax = 2;
1370
1371    pub fn deltax(&self) -> i32 {
1372        self.deltax.unwrap_or(0)
1373    }
1374
1375    pub fn clear_deltax(&mut self) {
1376        self.deltax = ::std::option::Option::None;
1377    }
1378
1379    pub fn has_deltax(&self) -> bool {
1380        self.deltax.is_some()
1381    }
1382
1383    // Param is passed by value, moved
1384    pub fn set_deltax(&mut self, v: i32) {
1385        self.deltax = ::std::option::Option::Some(v);
1386    }
1387
1388    // optional int32 deltay = 3;
1389
1390    pub fn deltay(&self) -> i32 {
1391        self.deltay.unwrap_or(0)
1392    }
1393
1394    pub fn clear_deltay(&mut self) {
1395        self.deltay = ::std::option::Option::None;
1396    }
1397
1398    pub fn has_deltay(&self) -> bool {
1399        self.deltay.is_some()
1400    }
1401
1402    // Param is passed by value, moved
1403    pub fn set_deltay(&mut self, v: i32) {
1404        self.deltay = ::std::option::Option::Some(v);
1405    }
1406
1407    // optional uint32 modifiers = 4;
1408
1409    pub fn modifiers(&self) -> u32 {
1410        self.modifiers.unwrap_or(0)
1411    }
1412
1413    pub fn clear_modifiers(&mut self) {
1414        self.modifiers = ::std::option::Option::None;
1415    }
1416
1417    pub fn has_modifiers(&self) -> bool {
1418        self.modifiers.is_some()
1419    }
1420
1421    // Param is passed by value, moved
1422    pub fn set_modifiers(&mut self, v: u32) {
1423        self.modifiers = ::std::option::Option::Some(v);
1424    }
1425}
1426
1427impl ::steam_vent_proto_common::protobuf::Message for CMsgMouseWheel {
1428    const NAME: &'static str = "CMsgMouseWheel";
1429
1430    fn is_initialized(&self) -> bool {
1431        true
1432    }
1433
1434    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1435        while let Some(tag) = is.read_raw_tag_or_eof()? {
1436            match tag {
1437                8 => {
1438                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
1439                },
1440                16 => {
1441                    self.deltax = ::std::option::Option::Some(is.read_int32()?);
1442                },
1443                24 => {
1444                    self.deltay = ::std::option::Option::Some(is.read_int32()?);
1445                },
1446                32 => {
1447                    self.modifiers = ::std::option::Option::Some(is.read_uint32()?);
1448                },
1449                tag => {
1450                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1451                },
1452            };
1453        }
1454        ::std::result::Result::Ok(())
1455    }
1456
1457    // Compute sizes of nested messages
1458    #[allow(unused_variables)]
1459    fn compute_size(&self) -> u64 {
1460        let mut my_size = 0;
1461        if let Some(v) = self.browser_handle {
1462            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
1463        }
1464        if let Some(v) = self.deltax {
1465            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
1466        }
1467        if let Some(v) = self.deltay {
1468            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
1469        }
1470        if let Some(v) = self.modifiers {
1471            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
1472        }
1473        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1474        self.special_fields.cached_size().set(my_size as u32);
1475        my_size
1476    }
1477
1478    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1479        if let Some(v) = self.browser_handle {
1480            os.write_uint32(1, v)?;
1481        }
1482        if let Some(v) = self.deltax {
1483            os.write_int32(2, v)?;
1484        }
1485        if let Some(v) = self.deltay {
1486            os.write_int32(3, v)?;
1487        }
1488        if let Some(v) = self.modifiers {
1489            os.write_uint32(4, v)?;
1490        }
1491        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1492        ::std::result::Result::Ok(())
1493    }
1494
1495    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1496        &self.special_fields
1497    }
1498
1499    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1500        &mut self.special_fields
1501    }
1502
1503    fn new() -> CMsgMouseWheel {
1504        CMsgMouseWheel::new()
1505    }
1506
1507    fn clear(&mut self) {
1508        self.browser_handle = ::std::option::Option::None;
1509        self.deltax = ::std::option::Option::None;
1510        self.deltay = ::std::option::Option::None;
1511        self.modifiers = ::std::option::Option::None;
1512        self.special_fields.clear();
1513    }
1514
1515    fn default_instance() -> &'static CMsgMouseWheel {
1516        static instance: CMsgMouseWheel = CMsgMouseWheel {
1517            browser_handle: ::std::option::Option::None,
1518            deltax: ::std::option::Option::None,
1519            deltay: ::std::option::Option::None,
1520            modifiers: ::std::option::Option::None,
1521            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1522        };
1523        &instance
1524    }
1525}
1526
1527// @@protoc_insertion_point(message:CMsgMouseMove)
1528#[derive(PartialEq,Clone,Default,Debug)]
1529pub struct CMsgMouseMove {
1530    // message fields
1531    // @@protoc_insertion_point(field:CMsgMouseMove.browser_handle)
1532    pub browser_handle: ::std::option::Option<u32>,
1533    // @@protoc_insertion_point(field:CMsgMouseMove.x)
1534    pub x: ::std::option::Option<i32>,
1535    // @@protoc_insertion_point(field:CMsgMouseMove.y)
1536    pub y: ::std::option::Option<i32>,
1537    // @@protoc_insertion_point(field:CMsgMouseMove.modifiers)
1538    pub modifiers: ::std::option::Option<u32>,
1539    // special fields
1540    // @@protoc_insertion_point(special_field:CMsgMouseMove.special_fields)
1541    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1542}
1543
1544impl<'a> ::std::default::Default for &'a CMsgMouseMove {
1545    fn default() -> &'a CMsgMouseMove {
1546        <CMsgMouseMove as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1547    }
1548}
1549
1550impl CMsgMouseMove {
1551    pub fn new() -> CMsgMouseMove {
1552        ::std::default::Default::default()
1553    }
1554
1555    // optional uint32 browser_handle = 1;
1556
1557    pub fn browser_handle(&self) -> u32 {
1558        self.browser_handle.unwrap_or(0)
1559    }
1560
1561    pub fn clear_browser_handle(&mut self) {
1562        self.browser_handle = ::std::option::Option::None;
1563    }
1564
1565    pub fn has_browser_handle(&self) -> bool {
1566        self.browser_handle.is_some()
1567    }
1568
1569    // Param is passed by value, moved
1570    pub fn set_browser_handle(&mut self, v: u32) {
1571        self.browser_handle = ::std::option::Option::Some(v);
1572    }
1573
1574    // optional int32 x = 2;
1575
1576    pub fn x(&self) -> i32 {
1577        self.x.unwrap_or(0)
1578    }
1579
1580    pub fn clear_x(&mut self) {
1581        self.x = ::std::option::Option::None;
1582    }
1583
1584    pub fn has_x(&self) -> bool {
1585        self.x.is_some()
1586    }
1587
1588    // Param is passed by value, moved
1589    pub fn set_x(&mut self, v: i32) {
1590        self.x = ::std::option::Option::Some(v);
1591    }
1592
1593    // optional int32 y = 3;
1594
1595    pub fn y(&self) -> i32 {
1596        self.y.unwrap_or(0)
1597    }
1598
1599    pub fn clear_y(&mut self) {
1600        self.y = ::std::option::Option::None;
1601    }
1602
1603    pub fn has_y(&self) -> bool {
1604        self.y.is_some()
1605    }
1606
1607    // Param is passed by value, moved
1608    pub fn set_y(&mut self, v: i32) {
1609        self.y = ::std::option::Option::Some(v);
1610    }
1611
1612    // optional uint32 modifiers = 4;
1613
1614    pub fn modifiers(&self) -> u32 {
1615        self.modifiers.unwrap_or(0)
1616    }
1617
1618    pub fn clear_modifiers(&mut self) {
1619        self.modifiers = ::std::option::Option::None;
1620    }
1621
1622    pub fn has_modifiers(&self) -> bool {
1623        self.modifiers.is_some()
1624    }
1625
1626    // Param is passed by value, moved
1627    pub fn set_modifiers(&mut self, v: u32) {
1628        self.modifiers = ::std::option::Option::Some(v);
1629    }
1630}
1631
1632impl ::steam_vent_proto_common::protobuf::Message for CMsgMouseMove {
1633    const NAME: &'static str = "CMsgMouseMove";
1634
1635    fn is_initialized(&self) -> bool {
1636        true
1637    }
1638
1639    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1640        while let Some(tag) = is.read_raw_tag_or_eof()? {
1641            match tag {
1642                8 => {
1643                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
1644                },
1645                16 => {
1646                    self.x = ::std::option::Option::Some(is.read_int32()?);
1647                },
1648                24 => {
1649                    self.y = ::std::option::Option::Some(is.read_int32()?);
1650                },
1651                32 => {
1652                    self.modifiers = ::std::option::Option::Some(is.read_uint32()?);
1653                },
1654                tag => {
1655                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1656                },
1657            };
1658        }
1659        ::std::result::Result::Ok(())
1660    }
1661
1662    // Compute sizes of nested messages
1663    #[allow(unused_variables)]
1664    fn compute_size(&self) -> u64 {
1665        let mut my_size = 0;
1666        if let Some(v) = self.browser_handle {
1667            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
1668        }
1669        if let Some(v) = self.x {
1670            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
1671        }
1672        if let Some(v) = self.y {
1673            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
1674        }
1675        if let Some(v) = self.modifiers {
1676            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
1677        }
1678        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1679        self.special_fields.cached_size().set(my_size as u32);
1680        my_size
1681    }
1682
1683    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1684        if let Some(v) = self.browser_handle {
1685            os.write_uint32(1, v)?;
1686        }
1687        if let Some(v) = self.x {
1688            os.write_int32(2, v)?;
1689        }
1690        if let Some(v) = self.y {
1691            os.write_int32(3, v)?;
1692        }
1693        if let Some(v) = self.modifiers {
1694            os.write_uint32(4, v)?;
1695        }
1696        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1697        ::std::result::Result::Ok(())
1698    }
1699
1700    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1701        &self.special_fields
1702    }
1703
1704    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1705        &mut self.special_fields
1706    }
1707
1708    fn new() -> CMsgMouseMove {
1709        CMsgMouseMove::new()
1710    }
1711
1712    fn clear(&mut self) {
1713        self.browser_handle = ::std::option::Option::None;
1714        self.x = ::std::option::Option::None;
1715        self.y = ::std::option::Option::None;
1716        self.modifiers = ::std::option::Option::None;
1717        self.special_fields.clear();
1718    }
1719
1720    fn default_instance() -> &'static CMsgMouseMove {
1721        static instance: CMsgMouseMove = CMsgMouseMove {
1722            browser_handle: ::std::option::Option::None,
1723            x: ::std::option::Option::None,
1724            y: ::std::option::Option::None,
1725            modifiers: ::std::option::Option::None,
1726            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1727        };
1728        &instance
1729    }
1730}
1731
1732// @@protoc_insertion_point(message:CMsgMouseLeave)
1733#[derive(PartialEq,Clone,Default,Debug)]
1734pub struct CMsgMouseLeave {
1735    // message fields
1736    // @@protoc_insertion_point(field:CMsgMouseLeave.browser_handle)
1737    pub browser_handle: ::std::option::Option<u32>,
1738    // special fields
1739    // @@protoc_insertion_point(special_field:CMsgMouseLeave.special_fields)
1740    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1741}
1742
1743impl<'a> ::std::default::Default for &'a CMsgMouseLeave {
1744    fn default() -> &'a CMsgMouseLeave {
1745        <CMsgMouseLeave as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1746    }
1747}
1748
1749impl CMsgMouseLeave {
1750    pub fn new() -> CMsgMouseLeave {
1751        ::std::default::Default::default()
1752    }
1753
1754    // optional uint32 browser_handle = 1;
1755
1756    pub fn browser_handle(&self) -> u32 {
1757        self.browser_handle.unwrap_or(0)
1758    }
1759
1760    pub fn clear_browser_handle(&mut self) {
1761        self.browser_handle = ::std::option::Option::None;
1762    }
1763
1764    pub fn has_browser_handle(&self) -> bool {
1765        self.browser_handle.is_some()
1766    }
1767
1768    // Param is passed by value, moved
1769    pub fn set_browser_handle(&mut self, v: u32) {
1770        self.browser_handle = ::std::option::Option::Some(v);
1771    }
1772}
1773
1774impl ::steam_vent_proto_common::protobuf::Message for CMsgMouseLeave {
1775    const NAME: &'static str = "CMsgMouseLeave";
1776
1777    fn is_initialized(&self) -> bool {
1778        true
1779    }
1780
1781    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1782        while let Some(tag) = is.read_raw_tag_or_eof()? {
1783            match tag {
1784                8 => {
1785                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
1786                },
1787                tag => {
1788                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1789                },
1790            };
1791        }
1792        ::std::result::Result::Ok(())
1793    }
1794
1795    // Compute sizes of nested messages
1796    #[allow(unused_variables)]
1797    fn compute_size(&self) -> u64 {
1798        let mut my_size = 0;
1799        if let Some(v) = self.browser_handle {
1800            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
1801        }
1802        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1803        self.special_fields.cached_size().set(my_size as u32);
1804        my_size
1805    }
1806
1807    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1808        if let Some(v) = self.browser_handle {
1809            os.write_uint32(1, v)?;
1810        }
1811        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1812        ::std::result::Result::Ok(())
1813    }
1814
1815    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1816        &self.special_fields
1817    }
1818
1819    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1820        &mut self.special_fields
1821    }
1822
1823    fn new() -> CMsgMouseLeave {
1824        CMsgMouseLeave::new()
1825    }
1826
1827    fn clear(&mut self) {
1828        self.browser_handle = ::std::option::Option::None;
1829        self.special_fields.clear();
1830    }
1831
1832    fn default_instance() -> &'static CMsgMouseLeave {
1833        static instance: CMsgMouseLeave = CMsgMouseLeave {
1834            browser_handle: ::std::option::Option::None,
1835            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1836        };
1837        &instance
1838    }
1839}
1840
1841// @@protoc_insertion_point(message:CMsgBrowserCreate)
1842#[derive(PartialEq,Clone,Default,Debug)]
1843pub struct CMsgBrowserCreate {
1844    // message fields
1845    // @@protoc_insertion_point(field:CMsgBrowserCreate.request_id)
1846    pub request_id: ::std::option::Option<u32>,
1847    // @@protoc_insertion_point(field:CMsgBrowserCreate.useragent)
1848    pub useragent: ::std::option::Option<::std::string::String>,
1849    // @@protoc_insertion_point(field:CMsgBrowserCreate.user_css)
1850    pub user_css: ::std::option::Option<::std::string::String>,
1851    // @@protoc_insertion_point(field:CMsgBrowserCreate.native_dropdowns)
1852    pub native_dropdowns: ::std::option::Option<bool>,
1853    // @@protoc_insertion_point(field:CMsgBrowserCreate.dpi_scaling)
1854    pub dpi_scaling: ::std::option::Option<f32>,
1855    // @@protoc_insertion_point(field:CMsgBrowserCreate.offscreen)
1856    pub offscreen: ::std::option::Option<bool>,
1857    // @@protoc_insertion_point(field:CMsgBrowserCreate.initial_width)
1858    pub initial_width: ::std::option::Option<u32>,
1859    // @@protoc_insertion_point(field:CMsgBrowserCreate.initial_height)
1860    pub initial_height: ::std::option::Option<u32>,
1861    // @@protoc_insertion_point(field:CMsgBrowserCreate.window_icon)
1862    pub window_icon: ::std::option::Option<::std::string::String>,
1863    // @@protoc_insertion_point(field:CMsgBrowserCreate.borderless)
1864    pub borderless: ::std::option::Option<bool>,
1865    // @@protoc_insertion_point(field:CMsgBrowserCreate.vroverlay_key)
1866    pub vroverlay_key: ::std::option::Option<::std::string::String>,
1867    // @@protoc_insertion_point(field:CMsgBrowserCreate.browser_type)
1868    pub browser_type: ::std::option::Option<u32>,
1869    // @@protoc_insertion_point(field:CMsgBrowserCreate.initial_top)
1870    pub initial_top: ::std::option::Option<i32>,
1871    // @@protoc_insertion_point(field:CMsgBrowserCreate.initial_left)
1872    pub initial_left: ::std::option::Option<i32>,
1873    // @@protoc_insertion_point(field:CMsgBrowserCreate.only_allow_trusted_popups)
1874    pub only_allow_trusted_popups: ::std::option::Option<bool>,
1875    // @@protoc_insertion_point(field:CMsgBrowserCreate.initial_url)
1876    pub initial_url: ::std::option::Option<::std::string::String>,
1877    // @@protoc_insertion_point(field:CMsgBrowserCreate.hwnd_parent)
1878    pub hwnd_parent: ::std::option::Option<u64>,
1879    // @@protoc_insertion_point(field:CMsgBrowserCreate.creation_flags)
1880    pub creation_flags: ::std::option::Option<u32>,
1881    // special fields
1882    // @@protoc_insertion_point(special_field:CMsgBrowserCreate.special_fields)
1883    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1884}
1885
1886impl<'a> ::std::default::Default for &'a CMsgBrowserCreate {
1887    fn default() -> &'a CMsgBrowserCreate {
1888        <CMsgBrowserCreate as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1889    }
1890}
1891
1892impl CMsgBrowserCreate {
1893    pub fn new() -> CMsgBrowserCreate {
1894        ::std::default::Default::default()
1895    }
1896
1897    // optional uint32 request_id = 1;
1898
1899    pub fn request_id(&self) -> u32 {
1900        self.request_id.unwrap_or(0)
1901    }
1902
1903    pub fn clear_request_id(&mut self) {
1904        self.request_id = ::std::option::Option::None;
1905    }
1906
1907    pub fn has_request_id(&self) -> bool {
1908        self.request_id.is_some()
1909    }
1910
1911    // Param is passed by value, moved
1912    pub fn set_request_id(&mut self, v: u32) {
1913        self.request_id = ::std::option::Option::Some(v);
1914    }
1915
1916    // optional string useragent = 3;
1917
1918    pub fn useragent(&self) -> &str {
1919        match self.useragent.as_ref() {
1920            Some(v) => v,
1921            None => "",
1922        }
1923    }
1924
1925    pub fn clear_useragent(&mut self) {
1926        self.useragent = ::std::option::Option::None;
1927    }
1928
1929    pub fn has_useragent(&self) -> bool {
1930        self.useragent.is_some()
1931    }
1932
1933    // Param is passed by value, moved
1934    pub fn set_useragent(&mut self, v: ::std::string::String) {
1935        self.useragent = ::std::option::Option::Some(v);
1936    }
1937
1938    // Mutable pointer to the field.
1939    // If field is not initialized, it is initialized with default value first.
1940    pub fn mut_useragent(&mut self) -> &mut ::std::string::String {
1941        if self.useragent.is_none() {
1942            self.useragent = ::std::option::Option::Some(::std::string::String::new());
1943        }
1944        self.useragent.as_mut().unwrap()
1945    }
1946
1947    // Take field
1948    pub fn take_useragent(&mut self) -> ::std::string::String {
1949        self.useragent.take().unwrap_or_else(|| ::std::string::String::new())
1950    }
1951
1952    // optional string user_css = 5;
1953
1954    pub fn user_css(&self) -> &str {
1955        match self.user_css.as_ref() {
1956            Some(v) => v,
1957            None => "",
1958        }
1959    }
1960
1961    pub fn clear_user_css(&mut self) {
1962        self.user_css = ::std::option::Option::None;
1963    }
1964
1965    pub fn has_user_css(&self) -> bool {
1966        self.user_css.is_some()
1967    }
1968
1969    // Param is passed by value, moved
1970    pub fn set_user_css(&mut self, v: ::std::string::String) {
1971        self.user_css = ::std::option::Option::Some(v);
1972    }
1973
1974    // Mutable pointer to the field.
1975    // If field is not initialized, it is initialized with default value first.
1976    pub fn mut_user_css(&mut self) -> &mut ::std::string::String {
1977        if self.user_css.is_none() {
1978            self.user_css = ::std::option::Option::Some(::std::string::String::new());
1979        }
1980        self.user_css.as_mut().unwrap()
1981    }
1982
1983    // Take field
1984    pub fn take_user_css(&mut self) -> ::std::string::String {
1985        self.user_css.take().unwrap_or_else(|| ::std::string::String::new())
1986    }
1987
1988    // optional bool native_dropdowns = 6;
1989
1990    pub fn native_dropdowns(&self) -> bool {
1991        self.native_dropdowns.unwrap_or(false)
1992    }
1993
1994    pub fn clear_native_dropdowns(&mut self) {
1995        self.native_dropdowns = ::std::option::Option::None;
1996    }
1997
1998    pub fn has_native_dropdowns(&self) -> bool {
1999        self.native_dropdowns.is_some()
2000    }
2001
2002    // Param is passed by value, moved
2003    pub fn set_native_dropdowns(&mut self, v: bool) {
2004        self.native_dropdowns = ::std::option::Option::Some(v);
2005    }
2006
2007    // optional float dpi_scaling = 7;
2008
2009    pub fn dpi_scaling(&self) -> f32 {
2010        self.dpi_scaling.unwrap_or(0.)
2011    }
2012
2013    pub fn clear_dpi_scaling(&mut self) {
2014        self.dpi_scaling = ::std::option::Option::None;
2015    }
2016
2017    pub fn has_dpi_scaling(&self) -> bool {
2018        self.dpi_scaling.is_some()
2019    }
2020
2021    // Param is passed by value, moved
2022    pub fn set_dpi_scaling(&mut self, v: f32) {
2023        self.dpi_scaling = ::std::option::Option::Some(v);
2024    }
2025
2026    // optional bool offscreen = 8;
2027
2028    pub fn offscreen(&self) -> bool {
2029        self.offscreen.unwrap_or(true)
2030    }
2031
2032    pub fn clear_offscreen(&mut self) {
2033        self.offscreen = ::std::option::Option::None;
2034    }
2035
2036    pub fn has_offscreen(&self) -> bool {
2037        self.offscreen.is_some()
2038    }
2039
2040    // Param is passed by value, moved
2041    pub fn set_offscreen(&mut self, v: bool) {
2042        self.offscreen = ::std::option::Option::Some(v);
2043    }
2044
2045    // optional uint32 initial_width = 9;
2046
2047    pub fn initial_width(&self) -> u32 {
2048        self.initial_width.unwrap_or(0u32)
2049    }
2050
2051    pub fn clear_initial_width(&mut self) {
2052        self.initial_width = ::std::option::Option::None;
2053    }
2054
2055    pub fn has_initial_width(&self) -> bool {
2056        self.initial_width.is_some()
2057    }
2058
2059    // Param is passed by value, moved
2060    pub fn set_initial_width(&mut self, v: u32) {
2061        self.initial_width = ::std::option::Option::Some(v);
2062    }
2063
2064    // optional uint32 initial_height = 10;
2065
2066    pub fn initial_height(&self) -> u32 {
2067        self.initial_height.unwrap_or(0u32)
2068    }
2069
2070    pub fn clear_initial_height(&mut self) {
2071        self.initial_height = ::std::option::Option::None;
2072    }
2073
2074    pub fn has_initial_height(&self) -> bool {
2075        self.initial_height.is_some()
2076    }
2077
2078    // Param is passed by value, moved
2079    pub fn set_initial_height(&mut self, v: u32) {
2080        self.initial_height = ::std::option::Option::Some(v);
2081    }
2082
2083    // optional string window_icon = 11;
2084
2085    pub fn window_icon(&self) -> &str {
2086        match self.window_icon.as_ref() {
2087            Some(v) => v,
2088            None => "",
2089        }
2090    }
2091
2092    pub fn clear_window_icon(&mut self) {
2093        self.window_icon = ::std::option::Option::None;
2094    }
2095
2096    pub fn has_window_icon(&self) -> bool {
2097        self.window_icon.is_some()
2098    }
2099
2100    // Param is passed by value, moved
2101    pub fn set_window_icon(&mut self, v: ::std::string::String) {
2102        self.window_icon = ::std::option::Option::Some(v);
2103    }
2104
2105    // Mutable pointer to the field.
2106    // If field is not initialized, it is initialized with default value first.
2107    pub fn mut_window_icon(&mut self) -> &mut ::std::string::String {
2108        if self.window_icon.is_none() {
2109            self.window_icon = ::std::option::Option::Some(::std::string::String::new());
2110        }
2111        self.window_icon.as_mut().unwrap()
2112    }
2113
2114    // Take field
2115    pub fn take_window_icon(&mut self) -> ::std::string::String {
2116        self.window_icon.take().unwrap_or_else(|| ::std::string::String::new())
2117    }
2118
2119    // optional bool borderless = 12;
2120
2121    pub fn borderless(&self) -> bool {
2122        self.borderless.unwrap_or(false)
2123    }
2124
2125    pub fn clear_borderless(&mut self) {
2126        self.borderless = ::std::option::Option::None;
2127    }
2128
2129    pub fn has_borderless(&self) -> bool {
2130        self.borderless.is_some()
2131    }
2132
2133    // Param is passed by value, moved
2134    pub fn set_borderless(&mut self, v: bool) {
2135        self.borderless = ::std::option::Option::Some(v);
2136    }
2137
2138    // optional string vroverlay_key = 13;
2139
2140    pub fn vroverlay_key(&self) -> &str {
2141        match self.vroverlay_key.as_ref() {
2142            Some(v) => v,
2143            None => "",
2144        }
2145    }
2146
2147    pub fn clear_vroverlay_key(&mut self) {
2148        self.vroverlay_key = ::std::option::Option::None;
2149    }
2150
2151    pub fn has_vroverlay_key(&self) -> bool {
2152        self.vroverlay_key.is_some()
2153    }
2154
2155    // Param is passed by value, moved
2156    pub fn set_vroverlay_key(&mut self, v: ::std::string::String) {
2157        self.vroverlay_key = ::std::option::Option::Some(v);
2158    }
2159
2160    // Mutable pointer to the field.
2161    // If field is not initialized, it is initialized with default value first.
2162    pub fn mut_vroverlay_key(&mut self) -> &mut ::std::string::String {
2163        if self.vroverlay_key.is_none() {
2164            self.vroverlay_key = ::std::option::Option::Some(::std::string::String::new());
2165        }
2166        self.vroverlay_key.as_mut().unwrap()
2167    }
2168
2169    // Take field
2170    pub fn take_vroverlay_key(&mut self) -> ::std::string::String {
2171        self.vroverlay_key.take().unwrap_or_else(|| ::std::string::String::new())
2172    }
2173
2174    // optional uint32 browser_type = 14;
2175
2176    pub fn browser_type(&self) -> u32 {
2177        self.browser_type.unwrap_or(0u32)
2178    }
2179
2180    pub fn clear_browser_type(&mut self) {
2181        self.browser_type = ::std::option::Option::None;
2182    }
2183
2184    pub fn has_browser_type(&self) -> bool {
2185        self.browser_type.is_some()
2186    }
2187
2188    // Param is passed by value, moved
2189    pub fn set_browser_type(&mut self, v: u32) {
2190        self.browser_type = ::std::option::Option::Some(v);
2191    }
2192
2193    // optional int32 initial_top = 15;
2194
2195    pub fn initial_top(&self) -> i32 {
2196        self.initial_top.unwrap_or(-2147483648i32)
2197    }
2198
2199    pub fn clear_initial_top(&mut self) {
2200        self.initial_top = ::std::option::Option::None;
2201    }
2202
2203    pub fn has_initial_top(&self) -> bool {
2204        self.initial_top.is_some()
2205    }
2206
2207    // Param is passed by value, moved
2208    pub fn set_initial_top(&mut self, v: i32) {
2209        self.initial_top = ::std::option::Option::Some(v);
2210    }
2211
2212    // optional int32 initial_left = 16;
2213
2214    pub fn initial_left(&self) -> i32 {
2215        self.initial_left.unwrap_or(-2147483648i32)
2216    }
2217
2218    pub fn clear_initial_left(&mut self) {
2219        self.initial_left = ::std::option::Option::None;
2220    }
2221
2222    pub fn has_initial_left(&self) -> bool {
2223        self.initial_left.is_some()
2224    }
2225
2226    // Param is passed by value, moved
2227    pub fn set_initial_left(&mut self, v: i32) {
2228        self.initial_left = ::std::option::Option::Some(v);
2229    }
2230
2231    // optional bool only_allow_trusted_popups = 17;
2232
2233    pub fn only_allow_trusted_popups(&self) -> bool {
2234        self.only_allow_trusted_popups.unwrap_or(false)
2235    }
2236
2237    pub fn clear_only_allow_trusted_popups(&mut self) {
2238        self.only_allow_trusted_popups = ::std::option::Option::None;
2239    }
2240
2241    pub fn has_only_allow_trusted_popups(&self) -> bool {
2242        self.only_allow_trusted_popups.is_some()
2243    }
2244
2245    // Param is passed by value, moved
2246    pub fn set_only_allow_trusted_popups(&mut self, v: bool) {
2247        self.only_allow_trusted_popups = ::std::option::Option::Some(v);
2248    }
2249
2250    // optional string initial_url = 18;
2251
2252    pub fn initial_url(&self) -> &str {
2253        match self.initial_url.as_ref() {
2254            Some(v) => v,
2255            None => "",
2256        }
2257    }
2258
2259    pub fn clear_initial_url(&mut self) {
2260        self.initial_url = ::std::option::Option::None;
2261    }
2262
2263    pub fn has_initial_url(&self) -> bool {
2264        self.initial_url.is_some()
2265    }
2266
2267    // Param is passed by value, moved
2268    pub fn set_initial_url(&mut self, v: ::std::string::String) {
2269        self.initial_url = ::std::option::Option::Some(v);
2270    }
2271
2272    // Mutable pointer to the field.
2273    // If field is not initialized, it is initialized with default value first.
2274    pub fn mut_initial_url(&mut self) -> &mut ::std::string::String {
2275        if self.initial_url.is_none() {
2276            self.initial_url = ::std::option::Option::Some(::std::string::String::new());
2277        }
2278        self.initial_url.as_mut().unwrap()
2279    }
2280
2281    // Take field
2282    pub fn take_initial_url(&mut self) -> ::std::string::String {
2283        self.initial_url.take().unwrap_or_else(|| ::std::string::String::new())
2284    }
2285
2286    // optional fixed64 hwnd_parent = 19;
2287
2288    pub fn hwnd_parent(&self) -> u64 {
2289        self.hwnd_parent.unwrap_or(0)
2290    }
2291
2292    pub fn clear_hwnd_parent(&mut self) {
2293        self.hwnd_parent = ::std::option::Option::None;
2294    }
2295
2296    pub fn has_hwnd_parent(&self) -> bool {
2297        self.hwnd_parent.is_some()
2298    }
2299
2300    // Param is passed by value, moved
2301    pub fn set_hwnd_parent(&mut self, v: u64) {
2302        self.hwnd_parent = ::std::option::Option::Some(v);
2303    }
2304
2305    // optional uint32 creation_flags = 20;
2306
2307    pub fn creation_flags(&self) -> u32 {
2308        self.creation_flags.unwrap_or(0u32)
2309    }
2310
2311    pub fn clear_creation_flags(&mut self) {
2312        self.creation_flags = ::std::option::Option::None;
2313    }
2314
2315    pub fn has_creation_flags(&self) -> bool {
2316        self.creation_flags.is_some()
2317    }
2318
2319    // Param is passed by value, moved
2320    pub fn set_creation_flags(&mut self, v: u32) {
2321        self.creation_flags = ::std::option::Option::Some(v);
2322    }
2323}
2324
2325impl ::steam_vent_proto_common::protobuf::Message for CMsgBrowserCreate {
2326    const NAME: &'static str = "CMsgBrowserCreate";
2327
2328    fn is_initialized(&self) -> bool {
2329        true
2330    }
2331
2332    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2333        while let Some(tag) = is.read_raw_tag_or_eof()? {
2334            match tag {
2335                8 => {
2336                    self.request_id = ::std::option::Option::Some(is.read_uint32()?);
2337                },
2338                26 => {
2339                    self.useragent = ::std::option::Option::Some(is.read_string()?);
2340                },
2341                42 => {
2342                    self.user_css = ::std::option::Option::Some(is.read_string()?);
2343                },
2344                48 => {
2345                    self.native_dropdowns = ::std::option::Option::Some(is.read_bool()?);
2346                },
2347                61 => {
2348                    self.dpi_scaling = ::std::option::Option::Some(is.read_float()?);
2349                },
2350                64 => {
2351                    self.offscreen = ::std::option::Option::Some(is.read_bool()?);
2352                },
2353                72 => {
2354                    self.initial_width = ::std::option::Option::Some(is.read_uint32()?);
2355                },
2356                80 => {
2357                    self.initial_height = ::std::option::Option::Some(is.read_uint32()?);
2358                },
2359                90 => {
2360                    self.window_icon = ::std::option::Option::Some(is.read_string()?);
2361                },
2362                96 => {
2363                    self.borderless = ::std::option::Option::Some(is.read_bool()?);
2364                },
2365                106 => {
2366                    self.vroverlay_key = ::std::option::Option::Some(is.read_string()?);
2367                },
2368                112 => {
2369                    self.browser_type = ::std::option::Option::Some(is.read_uint32()?);
2370                },
2371                120 => {
2372                    self.initial_top = ::std::option::Option::Some(is.read_int32()?);
2373                },
2374                128 => {
2375                    self.initial_left = ::std::option::Option::Some(is.read_int32()?);
2376                },
2377                136 => {
2378                    self.only_allow_trusted_popups = ::std::option::Option::Some(is.read_bool()?);
2379                },
2380                146 => {
2381                    self.initial_url = ::std::option::Option::Some(is.read_string()?);
2382                },
2383                153 => {
2384                    self.hwnd_parent = ::std::option::Option::Some(is.read_fixed64()?);
2385                },
2386                160 => {
2387                    self.creation_flags = ::std::option::Option::Some(is.read_uint32()?);
2388                },
2389                tag => {
2390                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2391                },
2392            };
2393        }
2394        ::std::result::Result::Ok(())
2395    }
2396
2397    // Compute sizes of nested messages
2398    #[allow(unused_variables)]
2399    fn compute_size(&self) -> u64 {
2400        let mut my_size = 0;
2401        if let Some(v) = self.request_id {
2402            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
2403        }
2404        if let Some(v) = self.useragent.as_ref() {
2405            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
2406        }
2407        if let Some(v) = self.user_css.as_ref() {
2408            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
2409        }
2410        if let Some(v) = self.native_dropdowns {
2411            my_size += 1 + 1;
2412        }
2413        if let Some(v) = self.dpi_scaling {
2414            my_size += 1 + 4;
2415        }
2416        if let Some(v) = self.offscreen {
2417            my_size += 1 + 1;
2418        }
2419        if let Some(v) = self.initial_width {
2420            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(9, v);
2421        }
2422        if let Some(v) = self.initial_height {
2423            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(10, v);
2424        }
2425        if let Some(v) = self.window_icon.as_ref() {
2426            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(11, &v);
2427        }
2428        if let Some(v) = self.borderless {
2429            my_size += 1 + 1;
2430        }
2431        if let Some(v) = self.vroverlay_key.as_ref() {
2432            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(13, &v);
2433        }
2434        if let Some(v) = self.browser_type {
2435            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(14, v);
2436        }
2437        if let Some(v) = self.initial_top {
2438            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(15, v);
2439        }
2440        if let Some(v) = self.initial_left {
2441            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(16, v);
2442        }
2443        if let Some(v) = self.only_allow_trusted_popups {
2444            my_size += 2 + 1;
2445        }
2446        if let Some(v) = self.initial_url.as_ref() {
2447            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(18, &v);
2448        }
2449        if let Some(v) = self.hwnd_parent {
2450            my_size += 2 + 8;
2451        }
2452        if let Some(v) = self.creation_flags {
2453            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(20, v);
2454        }
2455        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2456        self.special_fields.cached_size().set(my_size as u32);
2457        my_size
2458    }
2459
2460    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2461        if let Some(v) = self.request_id {
2462            os.write_uint32(1, v)?;
2463        }
2464        if let Some(v) = self.useragent.as_ref() {
2465            os.write_string(3, v)?;
2466        }
2467        if let Some(v) = self.user_css.as_ref() {
2468            os.write_string(5, v)?;
2469        }
2470        if let Some(v) = self.native_dropdowns {
2471            os.write_bool(6, v)?;
2472        }
2473        if let Some(v) = self.dpi_scaling {
2474            os.write_float(7, v)?;
2475        }
2476        if let Some(v) = self.offscreen {
2477            os.write_bool(8, v)?;
2478        }
2479        if let Some(v) = self.initial_width {
2480            os.write_uint32(9, v)?;
2481        }
2482        if let Some(v) = self.initial_height {
2483            os.write_uint32(10, v)?;
2484        }
2485        if let Some(v) = self.window_icon.as_ref() {
2486            os.write_string(11, v)?;
2487        }
2488        if let Some(v) = self.borderless {
2489            os.write_bool(12, v)?;
2490        }
2491        if let Some(v) = self.vroverlay_key.as_ref() {
2492            os.write_string(13, v)?;
2493        }
2494        if let Some(v) = self.browser_type {
2495            os.write_uint32(14, v)?;
2496        }
2497        if let Some(v) = self.initial_top {
2498            os.write_int32(15, v)?;
2499        }
2500        if let Some(v) = self.initial_left {
2501            os.write_int32(16, v)?;
2502        }
2503        if let Some(v) = self.only_allow_trusted_popups {
2504            os.write_bool(17, v)?;
2505        }
2506        if let Some(v) = self.initial_url.as_ref() {
2507            os.write_string(18, v)?;
2508        }
2509        if let Some(v) = self.hwnd_parent {
2510            os.write_fixed64(19, v)?;
2511        }
2512        if let Some(v) = self.creation_flags {
2513            os.write_uint32(20, v)?;
2514        }
2515        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2516        ::std::result::Result::Ok(())
2517    }
2518
2519    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2520        &self.special_fields
2521    }
2522
2523    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2524        &mut self.special_fields
2525    }
2526
2527    fn new() -> CMsgBrowserCreate {
2528        CMsgBrowserCreate::new()
2529    }
2530
2531    fn clear(&mut self) {
2532        self.request_id = ::std::option::Option::None;
2533        self.useragent = ::std::option::Option::None;
2534        self.user_css = ::std::option::Option::None;
2535        self.native_dropdowns = ::std::option::Option::None;
2536        self.dpi_scaling = ::std::option::Option::None;
2537        self.offscreen = ::std::option::Option::None;
2538        self.initial_width = ::std::option::Option::None;
2539        self.initial_height = ::std::option::Option::None;
2540        self.window_icon = ::std::option::Option::None;
2541        self.borderless = ::std::option::Option::None;
2542        self.vroverlay_key = ::std::option::Option::None;
2543        self.browser_type = ::std::option::Option::None;
2544        self.initial_top = ::std::option::Option::None;
2545        self.initial_left = ::std::option::Option::None;
2546        self.only_allow_trusted_popups = ::std::option::Option::None;
2547        self.initial_url = ::std::option::Option::None;
2548        self.hwnd_parent = ::std::option::Option::None;
2549        self.creation_flags = ::std::option::Option::None;
2550        self.special_fields.clear();
2551    }
2552
2553    fn default_instance() -> &'static CMsgBrowserCreate {
2554        static instance: CMsgBrowserCreate = CMsgBrowserCreate {
2555            request_id: ::std::option::Option::None,
2556            useragent: ::std::option::Option::None,
2557            user_css: ::std::option::Option::None,
2558            native_dropdowns: ::std::option::Option::None,
2559            dpi_scaling: ::std::option::Option::None,
2560            offscreen: ::std::option::Option::None,
2561            initial_width: ::std::option::Option::None,
2562            initial_height: ::std::option::Option::None,
2563            window_icon: ::std::option::Option::None,
2564            borderless: ::std::option::Option::None,
2565            vroverlay_key: ::std::option::Option::None,
2566            browser_type: ::std::option::Option::None,
2567            initial_top: ::std::option::Option::None,
2568            initial_left: ::std::option::Option::None,
2569            only_allow_trusted_popups: ::std::option::Option::None,
2570            initial_url: ::std::option::Option::None,
2571            hwnd_parent: ::std::option::Option::None,
2572            creation_flags: ::std::option::Option::None,
2573            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2574        };
2575        &instance
2576    }
2577}
2578
2579// @@protoc_insertion_point(message:CMsgBrowserCreateResponse)
2580#[derive(PartialEq,Clone,Default,Debug)]
2581pub struct CMsgBrowserCreateResponse {
2582    // message fields
2583    // @@protoc_insertion_point(field:CMsgBrowserCreateResponse.browser_handle)
2584    pub browser_handle: ::std::option::Option<u32>,
2585    // @@protoc_insertion_point(field:CMsgBrowserCreateResponse.request_id)
2586    pub request_id: ::std::option::Option<u32>,
2587    // special fields
2588    // @@protoc_insertion_point(special_field:CMsgBrowserCreateResponse.special_fields)
2589    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2590}
2591
2592impl<'a> ::std::default::Default for &'a CMsgBrowserCreateResponse {
2593    fn default() -> &'a CMsgBrowserCreateResponse {
2594        <CMsgBrowserCreateResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2595    }
2596}
2597
2598impl CMsgBrowserCreateResponse {
2599    pub fn new() -> CMsgBrowserCreateResponse {
2600        ::std::default::Default::default()
2601    }
2602
2603    // optional uint32 browser_handle = 1;
2604
2605    pub fn browser_handle(&self) -> u32 {
2606        self.browser_handle.unwrap_or(0)
2607    }
2608
2609    pub fn clear_browser_handle(&mut self) {
2610        self.browser_handle = ::std::option::Option::None;
2611    }
2612
2613    pub fn has_browser_handle(&self) -> bool {
2614        self.browser_handle.is_some()
2615    }
2616
2617    // Param is passed by value, moved
2618    pub fn set_browser_handle(&mut self, v: u32) {
2619        self.browser_handle = ::std::option::Option::Some(v);
2620    }
2621
2622    // optional uint32 request_id = 2;
2623
2624    pub fn request_id(&self) -> u32 {
2625        self.request_id.unwrap_or(0)
2626    }
2627
2628    pub fn clear_request_id(&mut self) {
2629        self.request_id = ::std::option::Option::None;
2630    }
2631
2632    pub fn has_request_id(&self) -> bool {
2633        self.request_id.is_some()
2634    }
2635
2636    // Param is passed by value, moved
2637    pub fn set_request_id(&mut self, v: u32) {
2638        self.request_id = ::std::option::Option::Some(v);
2639    }
2640}
2641
2642impl ::steam_vent_proto_common::protobuf::Message for CMsgBrowserCreateResponse {
2643    const NAME: &'static str = "CMsgBrowserCreateResponse";
2644
2645    fn is_initialized(&self) -> bool {
2646        true
2647    }
2648
2649    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2650        while let Some(tag) = is.read_raw_tag_or_eof()? {
2651            match tag {
2652                8 => {
2653                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
2654                },
2655                16 => {
2656                    self.request_id = ::std::option::Option::Some(is.read_uint32()?);
2657                },
2658                tag => {
2659                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2660                },
2661            };
2662        }
2663        ::std::result::Result::Ok(())
2664    }
2665
2666    // Compute sizes of nested messages
2667    #[allow(unused_variables)]
2668    fn compute_size(&self) -> u64 {
2669        let mut my_size = 0;
2670        if let Some(v) = self.browser_handle {
2671            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
2672        }
2673        if let Some(v) = self.request_id {
2674            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
2675        }
2676        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2677        self.special_fields.cached_size().set(my_size as u32);
2678        my_size
2679    }
2680
2681    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2682        if let Some(v) = self.browser_handle {
2683            os.write_uint32(1, v)?;
2684        }
2685        if let Some(v) = self.request_id {
2686            os.write_uint32(2, v)?;
2687        }
2688        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2689        ::std::result::Result::Ok(())
2690    }
2691
2692    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2693        &self.special_fields
2694    }
2695
2696    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2697        &mut self.special_fields
2698    }
2699
2700    fn new() -> CMsgBrowserCreateResponse {
2701        CMsgBrowserCreateResponse::new()
2702    }
2703
2704    fn clear(&mut self) {
2705        self.browser_handle = ::std::option::Option::None;
2706        self.request_id = ::std::option::Option::None;
2707        self.special_fields.clear();
2708    }
2709
2710    fn default_instance() -> &'static CMsgBrowserCreateResponse {
2711        static instance: CMsgBrowserCreateResponse = CMsgBrowserCreateResponse {
2712            browser_handle: ::std::option::Option::None,
2713            request_id: ::std::option::Option::None,
2714            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2715        };
2716        &instance
2717    }
2718}
2719
2720// @@protoc_insertion_point(message:CMsgBrowserRemove)
2721#[derive(PartialEq,Clone,Default,Debug)]
2722pub struct CMsgBrowserRemove {
2723    // message fields
2724    // @@protoc_insertion_point(field:CMsgBrowserRemove.browser_handle)
2725    pub browser_handle: ::std::option::Option<u32>,
2726    // special fields
2727    // @@protoc_insertion_point(special_field:CMsgBrowserRemove.special_fields)
2728    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2729}
2730
2731impl<'a> ::std::default::Default for &'a CMsgBrowserRemove {
2732    fn default() -> &'a CMsgBrowserRemove {
2733        <CMsgBrowserRemove as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2734    }
2735}
2736
2737impl CMsgBrowserRemove {
2738    pub fn new() -> CMsgBrowserRemove {
2739        ::std::default::Default::default()
2740    }
2741
2742    // optional uint32 browser_handle = 1;
2743
2744    pub fn browser_handle(&self) -> u32 {
2745        self.browser_handle.unwrap_or(0)
2746    }
2747
2748    pub fn clear_browser_handle(&mut self) {
2749        self.browser_handle = ::std::option::Option::None;
2750    }
2751
2752    pub fn has_browser_handle(&self) -> bool {
2753        self.browser_handle.is_some()
2754    }
2755
2756    // Param is passed by value, moved
2757    pub fn set_browser_handle(&mut self, v: u32) {
2758        self.browser_handle = ::std::option::Option::Some(v);
2759    }
2760}
2761
2762impl ::steam_vent_proto_common::protobuf::Message for CMsgBrowserRemove {
2763    const NAME: &'static str = "CMsgBrowserRemove";
2764
2765    fn is_initialized(&self) -> bool {
2766        true
2767    }
2768
2769    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2770        while let Some(tag) = is.read_raw_tag_or_eof()? {
2771            match tag {
2772                8 => {
2773                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
2774                },
2775                tag => {
2776                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2777                },
2778            };
2779        }
2780        ::std::result::Result::Ok(())
2781    }
2782
2783    // Compute sizes of nested messages
2784    #[allow(unused_variables)]
2785    fn compute_size(&self) -> u64 {
2786        let mut my_size = 0;
2787        if let Some(v) = self.browser_handle {
2788            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
2789        }
2790        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2791        self.special_fields.cached_size().set(my_size as u32);
2792        my_size
2793    }
2794
2795    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2796        if let Some(v) = self.browser_handle {
2797            os.write_uint32(1, v)?;
2798        }
2799        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2800        ::std::result::Result::Ok(())
2801    }
2802
2803    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2804        &self.special_fields
2805    }
2806
2807    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2808        &mut self.special_fields
2809    }
2810
2811    fn new() -> CMsgBrowserRemove {
2812        CMsgBrowserRemove::new()
2813    }
2814
2815    fn clear(&mut self) {
2816        self.browser_handle = ::std::option::Option::None;
2817        self.special_fields.clear();
2818    }
2819
2820    fn default_instance() -> &'static CMsgBrowserRemove {
2821        static instance: CMsgBrowserRemove = CMsgBrowserRemove {
2822            browser_handle: ::std::option::Option::None,
2823            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2824        };
2825        &instance
2826    }
2827}
2828
2829// @@protoc_insertion_point(message:CMsgSetLocalFileRequestMapping)
2830#[derive(PartialEq,Clone,Default,Debug)]
2831pub struct CMsgSetLocalFileRequestMapping {
2832    // message fields
2833    // @@protoc_insertion_point(field:CMsgSetLocalFileRequestMapping.browser_handle)
2834    pub browser_handle: ::std::option::Option<u32>,
2835    // @@protoc_insertion_point(field:CMsgSetLocalFileRequestMapping.request_url)
2836    pub request_url: ::std::option::Option<::std::string::String>,
2837    // @@protoc_insertion_point(field:CMsgSetLocalFileRequestMapping.default_local_path)
2838    pub default_local_path: ::std::option::Option<::std::string::String>,
2839    // @@protoc_insertion_point(field:CMsgSetLocalFileRequestMapping.routes)
2840    pub routes: ::std::vec::Vec<cmsg_set_local_file_request_mapping::AdditionalRoute>,
2841    // special fields
2842    // @@protoc_insertion_point(special_field:CMsgSetLocalFileRequestMapping.special_fields)
2843    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2844}
2845
2846impl<'a> ::std::default::Default for &'a CMsgSetLocalFileRequestMapping {
2847    fn default() -> &'a CMsgSetLocalFileRequestMapping {
2848        <CMsgSetLocalFileRequestMapping as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2849    }
2850}
2851
2852impl CMsgSetLocalFileRequestMapping {
2853    pub fn new() -> CMsgSetLocalFileRequestMapping {
2854        ::std::default::Default::default()
2855    }
2856
2857    // optional uint32 browser_handle = 1;
2858
2859    pub fn browser_handle(&self) -> u32 {
2860        self.browser_handle.unwrap_or(0)
2861    }
2862
2863    pub fn clear_browser_handle(&mut self) {
2864        self.browser_handle = ::std::option::Option::None;
2865    }
2866
2867    pub fn has_browser_handle(&self) -> bool {
2868        self.browser_handle.is_some()
2869    }
2870
2871    // Param is passed by value, moved
2872    pub fn set_browser_handle(&mut self, v: u32) {
2873        self.browser_handle = ::std::option::Option::Some(v);
2874    }
2875
2876    // optional string request_url = 2;
2877
2878    pub fn request_url(&self) -> &str {
2879        match self.request_url.as_ref() {
2880            Some(v) => v,
2881            None => "",
2882        }
2883    }
2884
2885    pub fn clear_request_url(&mut self) {
2886        self.request_url = ::std::option::Option::None;
2887    }
2888
2889    pub fn has_request_url(&self) -> bool {
2890        self.request_url.is_some()
2891    }
2892
2893    // Param is passed by value, moved
2894    pub fn set_request_url(&mut self, v: ::std::string::String) {
2895        self.request_url = ::std::option::Option::Some(v);
2896    }
2897
2898    // Mutable pointer to the field.
2899    // If field is not initialized, it is initialized with default value first.
2900    pub fn mut_request_url(&mut self) -> &mut ::std::string::String {
2901        if self.request_url.is_none() {
2902            self.request_url = ::std::option::Option::Some(::std::string::String::new());
2903        }
2904        self.request_url.as_mut().unwrap()
2905    }
2906
2907    // Take field
2908    pub fn take_request_url(&mut self) -> ::std::string::String {
2909        self.request_url.take().unwrap_or_else(|| ::std::string::String::new())
2910    }
2911
2912    // optional string default_local_path = 3;
2913
2914    pub fn default_local_path(&self) -> &str {
2915        match self.default_local_path.as_ref() {
2916            Some(v) => v,
2917            None => "",
2918        }
2919    }
2920
2921    pub fn clear_default_local_path(&mut self) {
2922        self.default_local_path = ::std::option::Option::None;
2923    }
2924
2925    pub fn has_default_local_path(&self) -> bool {
2926        self.default_local_path.is_some()
2927    }
2928
2929    // Param is passed by value, moved
2930    pub fn set_default_local_path(&mut self, v: ::std::string::String) {
2931        self.default_local_path = ::std::option::Option::Some(v);
2932    }
2933
2934    // Mutable pointer to the field.
2935    // If field is not initialized, it is initialized with default value first.
2936    pub fn mut_default_local_path(&mut self) -> &mut ::std::string::String {
2937        if self.default_local_path.is_none() {
2938            self.default_local_path = ::std::option::Option::Some(::std::string::String::new());
2939        }
2940        self.default_local_path.as_mut().unwrap()
2941    }
2942
2943    // Take field
2944    pub fn take_default_local_path(&mut self) -> ::std::string::String {
2945        self.default_local_path.take().unwrap_or_else(|| ::std::string::String::new())
2946    }
2947}
2948
2949impl ::steam_vent_proto_common::protobuf::Message for CMsgSetLocalFileRequestMapping {
2950    const NAME: &'static str = "CMsgSetLocalFileRequestMapping";
2951
2952    fn is_initialized(&self) -> bool {
2953        true
2954    }
2955
2956    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2957        while let Some(tag) = is.read_raw_tag_or_eof()? {
2958            match tag {
2959                8 => {
2960                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
2961                },
2962                18 => {
2963                    self.request_url = ::std::option::Option::Some(is.read_string()?);
2964                },
2965                26 => {
2966                    self.default_local_path = ::std::option::Option::Some(is.read_string()?);
2967                },
2968                34 => {
2969                    self.routes.push(is.read_message()?);
2970                },
2971                tag => {
2972                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2973                },
2974            };
2975        }
2976        ::std::result::Result::Ok(())
2977    }
2978
2979    // Compute sizes of nested messages
2980    #[allow(unused_variables)]
2981    fn compute_size(&self) -> u64 {
2982        let mut my_size = 0;
2983        if let Some(v) = self.browser_handle {
2984            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
2985        }
2986        if let Some(v) = self.request_url.as_ref() {
2987            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
2988        }
2989        if let Some(v) = self.default_local_path.as_ref() {
2990            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
2991        }
2992        for value in &self.routes {
2993            let len = value.compute_size();
2994            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
2995        };
2996        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2997        self.special_fields.cached_size().set(my_size as u32);
2998        my_size
2999    }
3000
3001    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3002        if let Some(v) = self.browser_handle {
3003            os.write_uint32(1, v)?;
3004        }
3005        if let Some(v) = self.request_url.as_ref() {
3006            os.write_string(2, v)?;
3007        }
3008        if let Some(v) = self.default_local_path.as_ref() {
3009            os.write_string(3, v)?;
3010        }
3011        for v in &self.routes {
3012            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(4, v, os)?;
3013        };
3014        os.write_unknown_fields(self.special_fields.unknown_fields())?;
3015        ::std::result::Result::Ok(())
3016    }
3017
3018    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
3019        &self.special_fields
3020    }
3021
3022    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
3023        &mut self.special_fields
3024    }
3025
3026    fn new() -> CMsgSetLocalFileRequestMapping {
3027        CMsgSetLocalFileRequestMapping::new()
3028    }
3029
3030    fn clear(&mut self) {
3031        self.browser_handle = ::std::option::Option::None;
3032        self.request_url = ::std::option::Option::None;
3033        self.default_local_path = ::std::option::Option::None;
3034        self.routes.clear();
3035        self.special_fields.clear();
3036    }
3037
3038    fn default_instance() -> &'static CMsgSetLocalFileRequestMapping {
3039        static instance: CMsgSetLocalFileRequestMapping = CMsgSetLocalFileRequestMapping {
3040            browser_handle: ::std::option::Option::None,
3041            request_url: ::std::option::Option::None,
3042            default_local_path: ::std::option::Option::None,
3043            routes: ::std::vec::Vec::new(),
3044            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
3045        };
3046        &instance
3047    }
3048}
3049
3050/// Nested message and enums of message `CMsgSetLocalFileRequestMapping`
3051pub mod cmsg_set_local_file_request_mapping {
3052    // @@protoc_insertion_point(message:CMsgSetLocalFileRequestMapping.AdditionalRoute)
3053    #[derive(PartialEq,Clone,Default,Debug)]
3054    pub struct AdditionalRoute {
3055        // message fields
3056        // @@protoc_insertion_point(field:CMsgSetLocalFileRequestMapping.AdditionalRoute.relative_url)
3057        pub relative_url: ::std::option::Option<::std::string::String>,
3058        // @@protoc_insertion_point(field:CMsgSetLocalFileRequestMapping.AdditionalRoute.local_path)
3059        pub local_path: ::std::option::Option<::std::string::String>,
3060        // @@protoc_insertion_point(field:CMsgSetLocalFileRequestMapping.AdditionalRoute.allowed_extensions)
3061        pub allowed_extensions: ::std::option::Option<::std::string::String>,
3062        // @@protoc_insertion_point(field:CMsgSetLocalFileRequestMapping.AdditionalRoute.url_rewrite)
3063        pub url_rewrite: ::std::option::Option<bool>,
3064        // special fields
3065        // @@protoc_insertion_point(special_field:CMsgSetLocalFileRequestMapping.AdditionalRoute.special_fields)
3066        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
3067    }
3068
3069    impl<'a> ::std::default::Default for &'a AdditionalRoute {
3070        fn default() -> &'a AdditionalRoute {
3071            <AdditionalRoute as ::steam_vent_proto_common::protobuf::Message>::default_instance()
3072        }
3073    }
3074
3075    impl AdditionalRoute {
3076        pub fn new() -> AdditionalRoute {
3077            ::std::default::Default::default()
3078        }
3079
3080        // optional string relative_url = 1;
3081
3082        pub fn relative_url(&self) -> &str {
3083            match self.relative_url.as_ref() {
3084                Some(v) => v,
3085                None => "",
3086            }
3087        }
3088
3089        pub fn clear_relative_url(&mut self) {
3090            self.relative_url = ::std::option::Option::None;
3091        }
3092
3093        pub fn has_relative_url(&self) -> bool {
3094            self.relative_url.is_some()
3095        }
3096
3097        // Param is passed by value, moved
3098        pub fn set_relative_url(&mut self, v: ::std::string::String) {
3099            self.relative_url = ::std::option::Option::Some(v);
3100        }
3101
3102        // Mutable pointer to the field.
3103        // If field is not initialized, it is initialized with default value first.
3104        pub fn mut_relative_url(&mut self) -> &mut ::std::string::String {
3105            if self.relative_url.is_none() {
3106                self.relative_url = ::std::option::Option::Some(::std::string::String::new());
3107            }
3108            self.relative_url.as_mut().unwrap()
3109        }
3110
3111        // Take field
3112        pub fn take_relative_url(&mut self) -> ::std::string::String {
3113            self.relative_url.take().unwrap_or_else(|| ::std::string::String::new())
3114        }
3115
3116        // optional string local_path = 2;
3117
3118        pub fn local_path(&self) -> &str {
3119            match self.local_path.as_ref() {
3120                Some(v) => v,
3121                None => "",
3122            }
3123        }
3124
3125        pub fn clear_local_path(&mut self) {
3126            self.local_path = ::std::option::Option::None;
3127        }
3128
3129        pub fn has_local_path(&self) -> bool {
3130            self.local_path.is_some()
3131        }
3132
3133        // Param is passed by value, moved
3134        pub fn set_local_path(&mut self, v: ::std::string::String) {
3135            self.local_path = ::std::option::Option::Some(v);
3136        }
3137
3138        // Mutable pointer to the field.
3139        // If field is not initialized, it is initialized with default value first.
3140        pub fn mut_local_path(&mut self) -> &mut ::std::string::String {
3141            if self.local_path.is_none() {
3142                self.local_path = ::std::option::Option::Some(::std::string::String::new());
3143            }
3144            self.local_path.as_mut().unwrap()
3145        }
3146
3147        // Take field
3148        pub fn take_local_path(&mut self) -> ::std::string::String {
3149            self.local_path.take().unwrap_or_else(|| ::std::string::String::new())
3150        }
3151
3152        // optional string allowed_extensions = 3;
3153
3154        pub fn allowed_extensions(&self) -> &str {
3155            match self.allowed_extensions.as_ref() {
3156                Some(v) => v,
3157                None => "",
3158            }
3159        }
3160
3161        pub fn clear_allowed_extensions(&mut self) {
3162            self.allowed_extensions = ::std::option::Option::None;
3163        }
3164
3165        pub fn has_allowed_extensions(&self) -> bool {
3166            self.allowed_extensions.is_some()
3167        }
3168
3169        // Param is passed by value, moved
3170        pub fn set_allowed_extensions(&mut self, v: ::std::string::String) {
3171            self.allowed_extensions = ::std::option::Option::Some(v);
3172        }
3173
3174        // Mutable pointer to the field.
3175        // If field is not initialized, it is initialized with default value first.
3176        pub fn mut_allowed_extensions(&mut self) -> &mut ::std::string::String {
3177            if self.allowed_extensions.is_none() {
3178                self.allowed_extensions = ::std::option::Option::Some(::std::string::String::new());
3179            }
3180            self.allowed_extensions.as_mut().unwrap()
3181        }
3182
3183        // Take field
3184        pub fn take_allowed_extensions(&mut self) -> ::std::string::String {
3185            self.allowed_extensions.take().unwrap_or_else(|| ::std::string::String::new())
3186        }
3187
3188        // optional bool url_rewrite = 4;
3189
3190        pub fn url_rewrite(&self) -> bool {
3191            self.url_rewrite.unwrap_or(false)
3192        }
3193
3194        pub fn clear_url_rewrite(&mut self) {
3195            self.url_rewrite = ::std::option::Option::None;
3196        }
3197
3198        pub fn has_url_rewrite(&self) -> bool {
3199            self.url_rewrite.is_some()
3200        }
3201
3202        // Param is passed by value, moved
3203        pub fn set_url_rewrite(&mut self, v: bool) {
3204            self.url_rewrite = ::std::option::Option::Some(v);
3205        }
3206    }
3207
3208    impl ::steam_vent_proto_common::protobuf::Message for AdditionalRoute {
3209        const NAME: &'static str = "AdditionalRoute";
3210
3211        fn is_initialized(&self) -> bool {
3212            true
3213        }
3214
3215        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3216            while let Some(tag) = is.read_raw_tag_or_eof()? {
3217                match tag {
3218                    10 => {
3219                        self.relative_url = ::std::option::Option::Some(is.read_string()?);
3220                    },
3221                    18 => {
3222                        self.local_path = ::std::option::Option::Some(is.read_string()?);
3223                    },
3224                    26 => {
3225                        self.allowed_extensions = ::std::option::Option::Some(is.read_string()?);
3226                    },
3227                    32 => {
3228                        self.url_rewrite = ::std::option::Option::Some(is.read_bool()?);
3229                    },
3230                    tag => {
3231                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
3232                    },
3233                };
3234            }
3235            ::std::result::Result::Ok(())
3236        }
3237
3238        // Compute sizes of nested messages
3239        #[allow(unused_variables)]
3240        fn compute_size(&self) -> u64 {
3241            let mut my_size = 0;
3242            if let Some(v) = self.relative_url.as_ref() {
3243                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
3244            }
3245            if let Some(v) = self.local_path.as_ref() {
3246                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
3247            }
3248            if let Some(v) = self.allowed_extensions.as_ref() {
3249                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
3250            }
3251            if let Some(v) = self.url_rewrite {
3252                my_size += 1 + 1;
3253            }
3254            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
3255            self.special_fields.cached_size().set(my_size as u32);
3256            my_size
3257        }
3258
3259        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3260            if let Some(v) = self.relative_url.as_ref() {
3261                os.write_string(1, v)?;
3262            }
3263            if let Some(v) = self.local_path.as_ref() {
3264                os.write_string(2, v)?;
3265            }
3266            if let Some(v) = self.allowed_extensions.as_ref() {
3267                os.write_string(3, v)?;
3268            }
3269            if let Some(v) = self.url_rewrite {
3270                os.write_bool(4, v)?;
3271            }
3272            os.write_unknown_fields(self.special_fields.unknown_fields())?;
3273            ::std::result::Result::Ok(())
3274        }
3275
3276        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
3277            &self.special_fields
3278        }
3279
3280        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
3281            &mut self.special_fields
3282        }
3283
3284        fn new() -> AdditionalRoute {
3285            AdditionalRoute::new()
3286        }
3287
3288        fn clear(&mut self) {
3289            self.relative_url = ::std::option::Option::None;
3290            self.local_path = ::std::option::Option::None;
3291            self.allowed_extensions = ::std::option::Option::None;
3292            self.url_rewrite = ::std::option::Option::None;
3293            self.special_fields.clear();
3294        }
3295
3296        fn default_instance() -> &'static AdditionalRoute {
3297            static instance: AdditionalRoute = AdditionalRoute {
3298                relative_url: ::std::option::Option::None,
3299                local_path: ::std::option::Option::None,
3300                allowed_extensions: ::std::option::Option::None,
3301                url_rewrite: ::std::option::Option::None,
3302                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
3303            };
3304            &instance
3305        }
3306    }
3307}
3308
3309// @@protoc_insertion_point(message:CMsgBrowserErrorStrings)
3310#[derive(PartialEq,Clone,Default,Debug)]
3311pub struct CMsgBrowserErrorStrings {
3312    // message fields
3313    // @@protoc_insertion_point(field:CMsgBrowserErrorStrings.browser_handle)
3314    pub browser_handle: ::std::option::Option<u32>,
3315    // @@protoc_insertion_point(field:CMsgBrowserErrorStrings.title)
3316    pub title: ::std::option::Option<::std::string::String>,
3317    // @@protoc_insertion_point(field:CMsgBrowserErrorStrings.header)
3318    pub header: ::std::option::Option<::std::string::String>,
3319    // @@protoc_insertion_point(field:CMsgBrowserErrorStrings.cache_miss)
3320    pub cache_miss: ::std::option::Option<::std::string::String>,
3321    // @@protoc_insertion_point(field:CMsgBrowserErrorStrings.bad_url)
3322    pub bad_url: ::std::option::Option<::std::string::String>,
3323    // @@protoc_insertion_point(field:CMsgBrowserErrorStrings.connection_problem)
3324    pub connection_problem: ::std::option::Option<::std::string::String>,
3325    // @@protoc_insertion_point(field:CMsgBrowserErrorStrings.proxy_problem)
3326    pub proxy_problem: ::std::option::Option<::std::string::String>,
3327    // @@protoc_insertion_point(field:CMsgBrowserErrorStrings.unknown)
3328    pub unknown: ::std::option::Option<::std::string::String>,
3329    // special fields
3330    // @@protoc_insertion_point(special_field:CMsgBrowserErrorStrings.special_fields)
3331    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
3332}
3333
3334impl<'a> ::std::default::Default for &'a CMsgBrowserErrorStrings {
3335    fn default() -> &'a CMsgBrowserErrorStrings {
3336        <CMsgBrowserErrorStrings as ::steam_vent_proto_common::protobuf::Message>::default_instance()
3337    }
3338}
3339
3340impl CMsgBrowserErrorStrings {
3341    pub fn new() -> CMsgBrowserErrorStrings {
3342        ::std::default::Default::default()
3343    }
3344
3345    // optional uint32 browser_handle = 1;
3346
3347    pub fn browser_handle(&self) -> u32 {
3348        self.browser_handle.unwrap_or(0)
3349    }
3350
3351    pub fn clear_browser_handle(&mut self) {
3352        self.browser_handle = ::std::option::Option::None;
3353    }
3354
3355    pub fn has_browser_handle(&self) -> bool {
3356        self.browser_handle.is_some()
3357    }
3358
3359    // Param is passed by value, moved
3360    pub fn set_browser_handle(&mut self, v: u32) {
3361        self.browser_handle = ::std::option::Option::Some(v);
3362    }
3363
3364    // optional string title = 2;
3365
3366    pub fn title(&self) -> &str {
3367        match self.title.as_ref() {
3368            Some(v) => v,
3369            None => "",
3370        }
3371    }
3372
3373    pub fn clear_title(&mut self) {
3374        self.title = ::std::option::Option::None;
3375    }
3376
3377    pub fn has_title(&self) -> bool {
3378        self.title.is_some()
3379    }
3380
3381    // Param is passed by value, moved
3382    pub fn set_title(&mut self, v: ::std::string::String) {
3383        self.title = ::std::option::Option::Some(v);
3384    }
3385
3386    // Mutable pointer to the field.
3387    // If field is not initialized, it is initialized with default value first.
3388    pub fn mut_title(&mut self) -> &mut ::std::string::String {
3389        if self.title.is_none() {
3390            self.title = ::std::option::Option::Some(::std::string::String::new());
3391        }
3392        self.title.as_mut().unwrap()
3393    }
3394
3395    // Take field
3396    pub fn take_title(&mut self) -> ::std::string::String {
3397        self.title.take().unwrap_or_else(|| ::std::string::String::new())
3398    }
3399
3400    // optional string header = 3;
3401
3402    pub fn header(&self) -> &str {
3403        match self.header.as_ref() {
3404            Some(v) => v,
3405            None => "",
3406        }
3407    }
3408
3409    pub fn clear_header(&mut self) {
3410        self.header = ::std::option::Option::None;
3411    }
3412
3413    pub fn has_header(&self) -> bool {
3414        self.header.is_some()
3415    }
3416
3417    // Param is passed by value, moved
3418    pub fn set_header(&mut self, v: ::std::string::String) {
3419        self.header = ::std::option::Option::Some(v);
3420    }
3421
3422    // Mutable pointer to the field.
3423    // If field is not initialized, it is initialized with default value first.
3424    pub fn mut_header(&mut self) -> &mut ::std::string::String {
3425        if self.header.is_none() {
3426            self.header = ::std::option::Option::Some(::std::string::String::new());
3427        }
3428        self.header.as_mut().unwrap()
3429    }
3430
3431    // Take field
3432    pub fn take_header(&mut self) -> ::std::string::String {
3433        self.header.take().unwrap_or_else(|| ::std::string::String::new())
3434    }
3435
3436    // optional string cache_miss = 4;
3437
3438    pub fn cache_miss(&self) -> &str {
3439        match self.cache_miss.as_ref() {
3440            Some(v) => v,
3441            None => "",
3442        }
3443    }
3444
3445    pub fn clear_cache_miss(&mut self) {
3446        self.cache_miss = ::std::option::Option::None;
3447    }
3448
3449    pub fn has_cache_miss(&self) -> bool {
3450        self.cache_miss.is_some()
3451    }
3452
3453    // Param is passed by value, moved
3454    pub fn set_cache_miss(&mut self, v: ::std::string::String) {
3455        self.cache_miss = ::std::option::Option::Some(v);
3456    }
3457
3458    // Mutable pointer to the field.
3459    // If field is not initialized, it is initialized with default value first.
3460    pub fn mut_cache_miss(&mut self) -> &mut ::std::string::String {
3461        if self.cache_miss.is_none() {
3462            self.cache_miss = ::std::option::Option::Some(::std::string::String::new());
3463        }
3464        self.cache_miss.as_mut().unwrap()
3465    }
3466
3467    // Take field
3468    pub fn take_cache_miss(&mut self) -> ::std::string::String {
3469        self.cache_miss.take().unwrap_or_else(|| ::std::string::String::new())
3470    }
3471
3472    // optional string bad_url = 5;
3473
3474    pub fn bad_url(&self) -> &str {
3475        match self.bad_url.as_ref() {
3476            Some(v) => v,
3477            None => "",
3478        }
3479    }
3480
3481    pub fn clear_bad_url(&mut self) {
3482        self.bad_url = ::std::option::Option::None;
3483    }
3484
3485    pub fn has_bad_url(&self) -> bool {
3486        self.bad_url.is_some()
3487    }
3488
3489    // Param is passed by value, moved
3490    pub fn set_bad_url(&mut self, v: ::std::string::String) {
3491        self.bad_url = ::std::option::Option::Some(v);
3492    }
3493
3494    // Mutable pointer to the field.
3495    // If field is not initialized, it is initialized with default value first.
3496    pub fn mut_bad_url(&mut self) -> &mut ::std::string::String {
3497        if self.bad_url.is_none() {
3498            self.bad_url = ::std::option::Option::Some(::std::string::String::new());
3499        }
3500        self.bad_url.as_mut().unwrap()
3501    }
3502
3503    // Take field
3504    pub fn take_bad_url(&mut self) -> ::std::string::String {
3505        self.bad_url.take().unwrap_or_else(|| ::std::string::String::new())
3506    }
3507
3508    // optional string connection_problem = 6;
3509
3510    pub fn connection_problem(&self) -> &str {
3511        match self.connection_problem.as_ref() {
3512            Some(v) => v,
3513            None => "",
3514        }
3515    }
3516
3517    pub fn clear_connection_problem(&mut self) {
3518        self.connection_problem = ::std::option::Option::None;
3519    }
3520
3521    pub fn has_connection_problem(&self) -> bool {
3522        self.connection_problem.is_some()
3523    }
3524
3525    // Param is passed by value, moved
3526    pub fn set_connection_problem(&mut self, v: ::std::string::String) {
3527        self.connection_problem = ::std::option::Option::Some(v);
3528    }
3529
3530    // Mutable pointer to the field.
3531    // If field is not initialized, it is initialized with default value first.
3532    pub fn mut_connection_problem(&mut self) -> &mut ::std::string::String {
3533        if self.connection_problem.is_none() {
3534            self.connection_problem = ::std::option::Option::Some(::std::string::String::new());
3535        }
3536        self.connection_problem.as_mut().unwrap()
3537    }
3538
3539    // Take field
3540    pub fn take_connection_problem(&mut self) -> ::std::string::String {
3541        self.connection_problem.take().unwrap_or_else(|| ::std::string::String::new())
3542    }
3543
3544    // optional string proxy_problem = 7;
3545
3546    pub fn proxy_problem(&self) -> &str {
3547        match self.proxy_problem.as_ref() {
3548            Some(v) => v,
3549            None => "",
3550        }
3551    }
3552
3553    pub fn clear_proxy_problem(&mut self) {
3554        self.proxy_problem = ::std::option::Option::None;
3555    }
3556
3557    pub fn has_proxy_problem(&self) -> bool {
3558        self.proxy_problem.is_some()
3559    }
3560
3561    // Param is passed by value, moved
3562    pub fn set_proxy_problem(&mut self, v: ::std::string::String) {
3563        self.proxy_problem = ::std::option::Option::Some(v);
3564    }
3565
3566    // Mutable pointer to the field.
3567    // If field is not initialized, it is initialized with default value first.
3568    pub fn mut_proxy_problem(&mut self) -> &mut ::std::string::String {
3569        if self.proxy_problem.is_none() {
3570            self.proxy_problem = ::std::option::Option::Some(::std::string::String::new());
3571        }
3572        self.proxy_problem.as_mut().unwrap()
3573    }
3574
3575    // Take field
3576    pub fn take_proxy_problem(&mut self) -> ::std::string::String {
3577        self.proxy_problem.take().unwrap_or_else(|| ::std::string::String::new())
3578    }
3579
3580    // optional string unknown = 8;
3581
3582    pub fn unknown(&self) -> &str {
3583        match self.unknown.as_ref() {
3584            Some(v) => v,
3585            None => "",
3586        }
3587    }
3588
3589    pub fn clear_unknown(&mut self) {
3590        self.unknown = ::std::option::Option::None;
3591    }
3592
3593    pub fn has_unknown(&self) -> bool {
3594        self.unknown.is_some()
3595    }
3596
3597    // Param is passed by value, moved
3598    pub fn set_unknown(&mut self, v: ::std::string::String) {
3599        self.unknown = ::std::option::Option::Some(v);
3600    }
3601
3602    // Mutable pointer to the field.
3603    // If field is not initialized, it is initialized with default value first.
3604    pub fn mut_unknown(&mut self) -> &mut ::std::string::String {
3605        if self.unknown.is_none() {
3606            self.unknown = ::std::option::Option::Some(::std::string::String::new());
3607        }
3608        self.unknown.as_mut().unwrap()
3609    }
3610
3611    // Take field
3612    pub fn take_unknown(&mut self) -> ::std::string::String {
3613        self.unknown.take().unwrap_or_else(|| ::std::string::String::new())
3614    }
3615}
3616
3617impl ::steam_vent_proto_common::protobuf::Message for CMsgBrowserErrorStrings {
3618    const NAME: &'static str = "CMsgBrowserErrorStrings";
3619
3620    fn is_initialized(&self) -> bool {
3621        true
3622    }
3623
3624    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3625        while let Some(tag) = is.read_raw_tag_or_eof()? {
3626            match tag {
3627                8 => {
3628                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
3629                },
3630                18 => {
3631                    self.title = ::std::option::Option::Some(is.read_string()?);
3632                },
3633                26 => {
3634                    self.header = ::std::option::Option::Some(is.read_string()?);
3635                },
3636                34 => {
3637                    self.cache_miss = ::std::option::Option::Some(is.read_string()?);
3638                },
3639                42 => {
3640                    self.bad_url = ::std::option::Option::Some(is.read_string()?);
3641                },
3642                50 => {
3643                    self.connection_problem = ::std::option::Option::Some(is.read_string()?);
3644                },
3645                58 => {
3646                    self.proxy_problem = ::std::option::Option::Some(is.read_string()?);
3647                },
3648                66 => {
3649                    self.unknown = ::std::option::Option::Some(is.read_string()?);
3650                },
3651                tag => {
3652                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
3653                },
3654            };
3655        }
3656        ::std::result::Result::Ok(())
3657    }
3658
3659    // Compute sizes of nested messages
3660    #[allow(unused_variables)]
3661    fn compute_size(&self) -> u64 {
3662        let mut my_size = 0;
3663        if let Some(v) = self.browser_handle {
3664            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
3665        }
3666        if let Some(v) = self.title.as_ref() {
3667            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
3668        }
3669        if let Some(v) = self.header.as_ref() {
3670            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
3671        }
3672        if let Some(v) = self.cache_miss.as_ref() {
3673            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
3674        }
3675        if let Some(v) = self.bad_url.as_ref() {
3676            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
3677        }
3678        if let Some(v) = self.connection_problem.as_ref() {
3679            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
3680        }
3681        if let Some(v) = self.proxy_problem.as_ref() {
3682            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
3683        }
3684        if let Some(v) = self.unknown.as_ref() {
3685            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
3686        }
3687        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
3688        self.special_fields.cached_size().set(my_size as u32);
3689        my_size
3690    }
3691
3692    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3693        if let Some(v) = self.browser_handle {
3694            os.write_uint32(1, v)?;
3695        }
3696        if let Some(v) = self.title.as_ref() {
3697            os.write_string(2, v)?;
3698        }
3699        if let Some(v) = self.header.as_ref() {
3700            os.write_string(3, v)?;
3701        }
3702        if let Some(v) = self.cache_miss.as_ref() {
3703            os.write_string(4, v)?;
3704        }
3705        if let Some(v) = self.bad_url.as_ref() {
3706            os.write_string(5, v)?;
3707        }
3708        if let Some(v) = self.connection_problem.as_ref() {
3709            os.write_string(6, v)?;
3710        }
3711        if let Some(v) = self.proxy_problem.as_ref() {
3712            os.write_string(7, v)?;
3713        }
3714        if let Some(v) = self.unknown.as_ref() {
3715            os.write_string(8, v)?;
3716        }
3717        os.write_unknown_fields(self.special_fields.unknown_fields())?;
3718        ::std::result::Result::Ok(())
3719    }
3720
3721    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
3722        &self.special_fields
3723    }
3724
3725    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
3726        &mut self.special_fields
3727    }
3728
3729    fn new() -> CMsgBrowserErrorStrings {
3730        CMsgBrowserErrorStrings::new()
3731    }
3732
3733    fn clear(&mut self) {
3734        self.browser_handle = ::std::option::Option::None;
3735        self.title = ::std::option::Option::None;
3736        self.header = ::std::option::Option::None;
3737        self.cache_miss = ::std::option::Option::None;
3738        self.bad_url = ::std::option::Option::None;
3739        self.connection_problem = ::std::option::Option::None;
3740        self.proxy_problem = ::std::option::Option::None;
3741        self.unknown = ::std::option::Option::None;
3742        self.special_fields.clear();
3743    }
3744
3745    fn default_instance() -> &'static CMsgBrowserErrorStrings {
3746        static instance: CMsgBrowserErrorStrings = CMsgBrowserErrorStrings {
3747            browser_handle: ::std::option::Option::None,
3748            title: ::std::option::Option::None,
3749            header: ::std::option::Option::None,
3750            cache_miss: ::std::option::Option::None,
3751            bad_url: ::std::option::Option::None,
3752            connection_problem: ::std::option::Option::None,
3753            proxy_problem: ::std::option::Option::None,
3754            unknown: ::std::option::Option::None,
3755            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
3756        };
3757        &instance
3758    }
3759}
3760
3761// @@protoc_insertion_point(message:CMsgBrowserSetName)
3762#[derive(PartialEq,Clone,Default,Debug)]
3763pub struct CMsgBrowserSetName {
3764    // message fields
3765    // @@protoc_insertion_point(field:CMsgBrowserSetName.browser_handle)
3766    pub browser_handle: ::std::option::Option<u32>,
3767    // @@protoc_insertion_point(field:CMsgBrowserSetName.name)
3768    pub name: ::std::option::Option<::std::string::String>,
3769    // special fields
3770    // @@protoc_insertion_point(special_field:CMsgBrowserSetName.special_fields)
3771    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
3772}
3773
3774impl<'a> ::std::default::Default for &'a CMsgBrowserSetName {
3775    fn default() -> &'a CMsgBrowserSetName {
3776        <CMsgBrowserSetName as ::steam_vent_proto_common::protobuf::Message>::default_instance()
3777    }
3778}
3779
3780impl CMsgBrowserSetName {
3781    pub fn new() -> CMsgBrowserSetName {
3782        ::std::default::Default::default()
3783    }
3784
3785    // optional uint32 browser_handle = 1;
3786
3787    pub fn browser_handle(&self) -> u32 {
3788        self.browser_handle.unwrap_or(0)
3789    }
3790
3791    pub fn clear_browser_handle(&mut self) {
3792        self.browser_handle = ::std::option::Option::None;
3793    }
3794
3795    pub fn has_browser_handle(&self) -> bool {
3796        self.browser_handle.is_some()
3797    }
3798
3799    // Param is passed by value, moved
3800    pub fn set_browser_handle(&mut self, v: u32) {
3801        self.browser_handle = ::std::option::Option::Some(v);
3802    }
3803
3804    // optional string name = 2;
3805
3806    pub fn name(&self) -> &str {
3807        match self.name.as_ref() {
3808            Some(v) => v,
3809            None => "",
3810        }
3811    }
3812
3813    pub fn clear_name(&mut self) {
3814        self.name = ::std::option::Option::None;
3815    }
3816
3817    pub fn has_name(&self) -> bool {
3818        self.name.is_some()
3819    }
3820
3821    // Param is passed by value, moved
3822    pub fn set_name(&mut self, v: ::std::string::String) {
3823        self.name = ::std::option::Option::Some(v);
3824    }
3825
3826    // Mutable pointer to the field.
3827    // If field is not initialized, it is initialized with default value first.
3828    pub fn mut_name(&mut self) -> &mut ::std::string::String {
3829        if self.name.is_none() {
3830            self.name = ::std::option::Option::Some(::std::string::String::new());
3831        }
3832        self.name.as_mut().unwrap()
3833    }
3834
3835    // Take field
3836    pub fn take_name(&mut self) -> ::std::string::String {
3837        self.name.take().unwrap_or_else(|| ::std::string::String::new())
3838    }
3839}
3840
3841impl ::steam_vent_proto_common::protobuf::Message for CMsgBrowserSetName {
3842    const NAME: &'static str = "CMsgBrowserSetName";
3843
3844    fn is_initialized(&self) -> bool {
3845        true
3846    }
3847
3848    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3849        while let Some(tag) = is.read_raw_tag_or_eof()? {
3850            match tag {
3851                8 => {
3852                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
3853                },
3854                18 => {
3855                    self.name = ::std::option::Option::Some(is.read_string()?);
3856                },
3857                tag => {
3858                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
3859                },
3860            };
3861        }
3862        ::std::result::Result::Ok(())
3863    }
3864
3865    // Compute sizes of nested messages
3866    #[allow(unused_variables)]
3867    fn compute_size(&self) -> u64 {
3868        let mut my_size = 0;
3869        if let Some(v) = self.browser_handle {
3870            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
3871        }
3872        if let Some(v) = self.name.as_ref() {
3873            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
3874        }
3875        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
3876        self.special_fields.cached_size().set(my_size as u32);
3877        my_size
3878    }
3879
3880    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3881        if let Some(v) = self.browser_handle {
3882            os.write_uint32(1, v)?;
3883        }
3884        if let Some(v) = self.name.as_ref() {
3885            os.write_string(2, v)?;
3886        }
3887        os.write_unknown_fields(self.special_fields.unknown_fields())?;
3888        ::std::result::Result::Ok(())
3889    }
3890
3891    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
3892        &self.special_fields
3893    }
3894
3895    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
3896        &mut self.special_fields
3897    }
3898
3899    fn new() -> CMsgBrowserSetName {
3900        CMsgBrowserSetName::new()
3901    }
3902
3903    fn clear(&mut self) {
3904        self.browser_handle = ::std::option::Option::None;
3905        self.name = ::std::option::Option::None;
3906        self.special_fields.clear();
3907    }
3908
3909    fn default_instance() -> &'static CMsgBrowserSetName {
3910        static instance: CMsgBrowserSetName = CMsgBrowserSetName {
3911            browser_handle: ::std::option::Option::None,
3912            name: ::std::option::Option::None,
3913            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
3914        };
3915        &instance
3916    }
3917}
3918
3919// @@protoc_insertion_point(message:CMsgBrowserSize)
3920#[derive(PartialEq,Clone,Default,Debug)]
3921pub struct CMsgBrowserSize {
3922    // message fields
3923    // @@protoc_insertion_point(field:CMsgBrowserSize.browser_handle)
3924    pub browser_handle: ::std::option::Option<u32>,
3925    // @@protoc_insertion_point(field:CMsgBrowserSize.width)
3926    pub width: ::std::option::Option<f64>,
3927    // @@protoc_insertion_point(field:CMsgBrowserSize.height)
3928    pub height: ::std::option::Option<f64>,
3929    // special fields
3930    // @@protoc_insertion_point(special_field:CMsgBrowserSize.special_fields)
3931    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
3932}
3933
3934impl<'a> ::std::default::Default for &'a CMsgBrowserSize {
3935    fn default() -> &'a CMsgBrowserSize {
3936        <CMsgBrowserSize as ::steam_vent_proto_common::protobuf::Message>::default_instance()
3937    }
3938}
3939
3940impl CMsgBrowserSize {
3941    pub fn new() -> CMsgBrowserSize {
3942        ::std::default::Default::default()
3943    }
3944
3945    // optional uint32 browser_handle = 1;
3946
3947    pub fn browser_handle(&self) -> u32 {
3948        self.browser_handle.unwrap_or(0)
3949    }
3950
3951    pub fn clear_browser_handle(&mut self) {
3952        self.browser_handle = ::std::option::Option::None;
3953    }
3954
3955    pub fn has_browser_handle(&self) -> bool {
3956        self.browser_handle.is_some()
3957    }
3958
3959    // Param is passed by value, moved
3960    pub fn set_browser_handle(&mut self, v: u32) {
3961        self.browser_handle = ::std::option::Option::Some(v);
3962    }
3963
3964    // optional double width = 2;
3965
3966    pub fn width(&self) -> f64 {
3967        self.width.unwrap_or(0.)
3968    }
3969
3970    pub fn clear_width(&mut self) {
3971        self.width = ::std::option::Option::None;
3972    }
3973
3974    pub fn has_width(&self) -> bool {
3975        self.width.is_some()
3976    }
3977
3978    // Param is passed by value, moved
3979    pub fn set_width(&mut self, v: f64) {
3980        self.width = ::std::option::Option::Some(v);
3981    }
3982
3983    // optional double height = 3;
3984
3985    pub fn height(&self) -> f64 {
3986        self.height.unwrap_or(0.)
3987    }
3988
3989    pub fn clear_height(&mut self) {
3990        self.height = ::std::option::Option::None;
3991    }
3992
3993    pub fn has_height(&self) -> bool {
3994        self.height.is_some()
3995    }
3996
3997    // Param is passed by value, moved
3998    pub fn set_height(&mut self, v: f64) {
3999        self.height = ::std::option::Option::Some(v);
4000    }
4001}
4002
4003impl ::steam_vent_proto_common::protobuf::Message for CMsgBrowserSize {
4004    const NAME: &'static str = "CMsgBrowserSize";
4005
4006    fn is_initialized(&self) -> bool {
4007        true
4008    }
4009
4010    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4011        while let Some(tag) = is.read_raw_tag_or_eof()? {
4012            match tag {
4013                8 => {
4014                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
4015                },
4016                17 => {
4017                    self.width = ::std::option::Option::Some(is.read_double()?);
4018                },
4019                25 => {
4020                    self.height = ::std::option::Option::Some(is.read_double()?);
4021                },
4022                tag => {
4023                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4024                },
4025            };
4026        }
4027        ::std::result::Result::Ok(())
4028    }
4029
4030    // Compute sizes of nested messages
4031    #[allow(unused_variables)]
4032    fn compute_size(&self) -> u64 {
4033        let mut my_size = 0;
4034        if let Some(v) = self.browser_handle {
4035            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
4036        }
4037        if let Some(v) = self.width {
4038            my_size += 1 + 8;
4039        }
4040        if let Some(v) = self.height {
4041            my_size += 1 + 8;
4042        }
4043        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4044        self.special_fields.cached_size().set(my_size as u32);
4045        my_size
4046    }
4047
4048    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4049        if let Some(v) = self.browser_handle {
4050            os.write_uint32(1, v)?;
4051        }
4052        if let Some(v) = self.width {
4053            os.write_double(2, v)?;
4054        }
4055        if let Some(v) = self.height {
4056            os.write_double(3, v)?;
4057        }
4058        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4059        ::std::result::Result::Ok(())
4060    }
4061
4062    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4063        &self.special_fields
4064    }
4065
4066    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4067        &mut self.special_fields
4068    }
4069
4070    fn new() -> CMsgBrowserSize {
4071        CMsgBrowserSize::new()
4072    }
4073
4074    fn clear(&mut self) {
4075        self.browser_handle = ::std::option::Option::None;
4076        self.width = ::std::option::Option::None;
4077        self.height = ::std::option::Option::None;
4078        self.special_fields.clear();
4079    }
4080
4081    fn default_instance() -> &'static CMsgBrowserSize {
4082        static instance: CMsgBrowserSize = CMsgBrowserSize {
4083            browser_handle: ::std::option::Option::None,
4084            width: ::std::option::Option::None,
4085            height: ::std::option::Option::None,
4086            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4087        };
4088        &instance
4089    }
4090}
4091
4092// @@protoc_insertion_point(message:CMsgBrowserSetMinSize)
4093#[derive(PartialEq,Clone,Default,Debug)]
4094pub struct CMsgBrowserSetMinSize {
4095    // message fields
4096    // @@protoc_insertion_point(field:CMsgBrowserSetMinSize.browser_handle)
4097    pub browser_handle: ::std::option::Option<u32>,
4098    // @@protoc_insertion_point(field:CMsgBrowserSetMinSize.width)
4099    pub width: ::std::option::Option<f64>,
4100    // @@protoc_insertion_point(field:CMsgBrowserSetMinSize.height)
4101    pub height: ::std::option::Option<f64>,
4102    // special fields
4103    // @@protoc_insertion_point(special_field:CMsgBrowserSetMinSize.special_fields)
4104    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4105}
4106
4107impl<'a> ::std::default::Default for &'a CMsgBrowserSetMinSize {
4108    fn default() -> &'a CMsgBrowserSetMinSize {
4109        <CMsgBrowserSetMinSize as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4110    }
4111}
4112
4113impl CMsgBrowserSetMinSize {
4114    pub fn new() -> CMsgBrowserSetMinSize {
4115        ::std::default::Default::default()
4116    }
4117
4118    // optional uint32 browser_handle = 1;
4119
4120    pub fn browser_handle(&self) -> u32 {
4121        self.browser_handle.unwrap_or(0)
4122    }
4123
4124    pub fn clear_browser_handle(&mut self) {
4125        self.browser_handle = ::std::option::Option::None;
4126    }
4127
4128    pub fn has_browser_handle(&self) -> bool {
4129        self.browser_handle.is_some()
4130    }
4131
4132    // Param is passed by value, moved
4133    pub fn set_browser_handle(&mut self, v: u32) {
4134        self.browser_handle = ::std::option::Option::Some(v);
4135    }
4136
4137    // optional double width = 2;
4138
4139    pub fn width(&self) -> f64 {
4140        self.width.unwrap_or(0.)
4141    }
4142
4143    pub fn clear_width(&mut self) {
4144        self.width = ::std::option::Option::None;
4145    }
4146
4147    pub fn has_width(&self) -> bool {
4148        self.width.is_some()
4149    }
4150
4151    // Param is passed by value, moved
4152    pub fn set_width(&mut self, v: f64) {
4153        self.width = ::std::option::Option::Some(v);
4154    }
4155
4156    // optional double height = 3;
4157
4158    pub fn height(&self) -> f64 {
4159        self.height.unwrap_or(0.)
4160    }
4161
4162    pub fn clear_height(&mut self) {
4163        self.height = ::std::option::Option::None;
4164    }
4165
4166    pub fn has_height(&self) -> bool {
4167        self.height.is_some()
4168    }
4169
4170    // Param is passed by value, moved
4171    pub fn set_height(&mut self, v: f64) {
4172        self.height = ::std::option::Option::Some(v);
4173    }
4174}
4175
4176impl ::steam_vent_proto_common::protobuf::Message for CMsgBrowserSetMinSize {
4177    const NAME: &'static str = "CMsgBrowserSetMinSize";
4178
4179    fn is_initialized(&self) -> bool {
4180        true
4181    }
4182
4183    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4184        while let Some(tag) = is.read_raw_tag_or_eof()? {
4185            match tag {
4186                8 => {
4187                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
4188                },
4189                17 => {
4190                    self.width = ::std::option::Option::Some(is.read_double()?);
4191                },
4192                25 => {
4193                    self.height = ::std::option::Option::Some(is.read_double()?);
4194                },
4195                tag => {
4196                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4197                },
4198            };
4199        }
4200        ::std::result::Result::Ok(())
4201    }
4202
4203    // Compute sizes of nested messages
4204    #[allow(unused_variables)]
4205    fn compute_size(&self) -> u64 {
4206        let mut my_size = 0;
4207        if let Some(v) = self.browser_handle {
4208            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
4209        }
4210        if let Some(v) = self.width {
4211            my_size += 1 + 8;
4212        }
4213        if let Some(v) = self.height {
4214            my_size += 1 + 8;
4215        }
4216        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4217        self.special_fields.cached_size().set(my_size as u32);
4218        my_size
4219    }
4220
4221    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4222        if let Some(v) = self.browser_handle {
4223            os.write_uint32(1, v)?;
4224        }
4225        if let Some(v) = self.width {
4226            os.write_double(2, v)?;
4227        }
4228        if let Some(v) = self.height {
4229            os.write_double(3, v)?;
4230        }
4231        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4232        ::std::result::Result::Ok(())
4233    }
4234
4235    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4236        &self.special_fields
4237    }
4238
4239    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4240        &mut self.special_fields
4241    }
4242
4243    fn new() -> CMsgBrowserSetMinSize {
4244        CMsgBrowserSetMinSize::new()
4245    }
4246
4247    fn clear(&mut self) {
4248        self.browser_handle = ::std::option::Option::None;
4249        self.width = ::std::option::Option::None;
4250        self.height = ::std::option::Option::None;
4251        self.special_fields.clear();
4252    }
4253
4254    fn default_instance() -> &'static CMsgBrowserSetMinSize {
4255        static instance: CMsgBrowserSetMinSize = CMsgBrowserSetMinSize {
4256            browser_handle: ::std::option::Option::None,
4257            width: ::std::option::Option::None,
4258            height: ::std::option::Option::None,
4259            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4260        };
4261        &instance
4262    }
4263}
4264
4265// @@protoc_insertion_point(message:CMsgBrowserPosition)
4266#[derive(PartialEq,Clone,Default,Debug)]
4267pub struct CMsgBrowserPosition {
4268    // message fields
4269    // @@protoc_insertion_point(field:CMsgBrowserPosition.browser_handle)
4270    pub browser_handle: ::std::option::Option<u32>,
4271    // @@protoc_insertion_point(field:CMsgBrowserPosition.x)
4272    pub x: ::std::option::Option<f64>,
4273    // @@protoc_insertion_point(field:CMsgBrowserPosition.y)
4274    pub y: ::std::option::Option<f64>,
4275    // @@protoc_insertion_point(field:CMsgBrowserPosition.x_local)
4276    pub x_local: ::std::option::Option<f64>,
4277    // @@protoc_insertion_point(field:CMsgBrowserPosition.y_local)
4278    pub y_local: ::std::option::Option<f64>,
4279    // special fields
4280    // @@protoc_insertion_point(special_field:CMsgBrowserPosition.special_fields)
4281    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4282}
4283
4284impl<'a> ::std::default::Default for &'a CMsgBrowserPosition {
4285    fn default() -> &'a CMsgBrowserPosition {
4286        <CMsgBrowserPosition as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4287    }
4288}
4289
4290impl CMsgBrowserPosition {
4291    pub fn new() -> CMsgBrowserPosition {
4292        ::std::default::Default::default()
4293    }
4294
4295    // optional uint32 browser_handle = 1;
4296
4297    pub fn browser_handle(&self) -> u32 {
4298        self.browser_handle.unwrap_or(0)
4299    }
4300
4301    pub fn clear_browser_handle(&mut self) {
4302        self.browser_handle = ::std::option::Option::None;
4303    }
4304
4305    pub fn has_browser_handle(&self) -> bool {
4306        self.browser_handle.is_some()
4307    }
4308
4309    // Param is passed by value, moved
4310    pub fn set_browser_handle(&mut self, v: u32) {
4311        self.browser_handle = ::std::option::Option::Some(v);
4312    }
4313
4314    // optional double x = 2;
4315
4316    pub fn x(&self) -> f64 {
4317        self.x.unwrap_or(0.)
4318    }
4319
4320    pub fn clear_x(&mut self) {
4321        self.x = ::std::option::Option::None;
4322    }
4323
4324    pub fn has_x(&self) -> bool {
4325        self.x.is_some()
4326    }
4327
4328    // Param is passed by value, moved
4329    pub fn set_x(&mut self, v: f64) {
4330        self.x = ::std::option::Option::Some(v);
4331    }
4332
4333    // optional double y = 3;
4334
4335    pub fn y(&self) -> f64 {
4336        self.y.unwrap_or(0.)
4337    }
4338
4339    pub fn clear_y(&mut self) {
4340        self.y = ::std::option::Option::None;
4341    }
4342
4343    pub fn has_y(&self) -> bool {
4344        self.y.is_some()
4345    }
4346
4347    // Param is passed by value, moved
4348    pub fn set_y(&mut self, v: f64) {
4349        self.y = ::std::option::Option::Some(v);
4350    }
4351
4352    // optional double x_local = 4;
4353
4354    pub fn x_local(&self) -> f64 {
4355        self.x_local.unwrap_or(0.)
4356    }
4357
4358    pub fn clear_x_local(&mut self) {
4359        self.x_local = ::std::option::Option::None;
4360    }
4361
4362    pub fn has_x_local(&self) -> bool {
4363        self.x_local.is_some()
4364    }
4365
4366    // Param is passed by value, moved
4367    pub fn set_x_local(&mut self, v: f64) {
4368        self.x_local = ::std::option::Option::Some(v);
4369    }
4370
4371    // optional double y_local = 5;
4372
4373    pub fn y_local(&self) -> f64 {
4374        self.y_local.unwrap_or(0.)
4375    }
4376
4377    pub fn clear_y_local(&mut self) {
4378        self.y_local = ::std::option::Option::None;
4379    }
4380
4381    pub fn has_y_local(&self) -> bool {
4382        self.y_local.is_some()
4383    }
4384
4385    // Param is passed by value, moved
4386    pub fn set_y_local(&mut self, v: f64) {
4387        self.y_local = ::std::option::Option::Some(v);
4388    }
4389}
4390
4391impl ::steam_vent_proto_common::protobuf::Message for CMsgBrowserPosition {
4392    const NAME: &'static str = "CMsgBrowserPosition";
4393
4394    fn is_initialized(&self) -> bool {
4395        true
4396    }
4397
4398    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4399        while let Some(tag) = is.read_raw_tag_or_eof()? {
4400            match tag {
4401                8 => {
4402                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
4403                },
4404                17 => {
4405                    self.x = ::std::option::Option::Some(is.read_double()?);
4406                },
4407                25 => {
4408                    self.y = ::std::option::Option::Some(is.read_double()?);
4409                },
4410                33 => {
4411                    self.x_local = ::std::option::Option::Some(is.read_double()?);
4412                },
4413                41 => {
4414                    self.y_local = ::std::option::Option::Some(is.read_double()?);
4415                },
4416                tag => {
4417                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4418                },
4419            };
4420        }
4421        ::std::result::Result::Ok(())
4422    }
4423
4424    // Compute sizes of nested messages
4425    #[allow(unused_variables)]
4426    fn compute_size(&self) -> u64 {
4427        let mut my_size = 0;
4428        if let Some(v) = self.browser_handle {
4429            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
4430        }
4431        if let Some(v) = self.x {
4432            my_size += 1 + 8;
4433        }
4434        if let Some(v) = self.y {
4435            my_size += 1 + 8;
4436        }
4437        if let Some(v) = self.x_local {
4438            my_size += 1 + 8;
4439        }
4440        if let Some(v) = self.y_local {
4441            my_size += 1 + 8;
4442        }
4443        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4444        self.special_fields.cached_size().set(my_size as u32);
4445        my_size
4446    }
4447
4448    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4449        if let Some(v) = self.browser_handle {
4450            os.write_uint32(1, v)?;
4451        }
4452        if let Some(v) = self.x {
4453            os.write_double(2, v)?;
4454        }
4455        if let Some(v) = self.y {
4456            os.write_double(3, v)?;
4457        }
4458        if let Some(v) = self.x_local {
4459            os.write_double(4, v)?;
4460        }
4461        if let Some(v) = self.y_local {
4462            os.write_double(5, v)?;
4463        }
4464        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4465        ::std::result::Result::Ok(())
4466    }
4467
4468    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4469        &self.special_fields
4470    }
4471
4472    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4473        &mut self.special_fields
4474    }
4475
4476    fn new() -> CMsgBrowserPosition {
4477        CMsgBrowserPosition::new()
4478    }
4479
4480    fn clear(&mut self) {
4481        self.browser_handle = ::std::option::Option::None;
4482        self.x = ::std::option::Option::None;
4483        self.y = ::std::option::Option::None;
4484        self.x_local = ::std::option::Option::None;
4485        self.y_local = ::std::option::Option::None;
4486        self.special_fields.clear();
4487    }
4488
4489    fn default_instance() -> &'static CMsgBrowserPosition {
4490        static instance: CMsgBrowserPosition = CMsgBrowserPosition {
4491            browser_handle: ::std::option::Option::None,
4492            x: ::std::option::Option::None,
4493            y: ::std::option::Option::None,
4494            x_local: ::std::option::Option::None,
4495            y_local: ::std::option::Option::None,
4496            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4497        };
4498        &instance
4499    }
4500}
4501
4502// @@protoc_insertion_point(message:CMsgBrowserResized)
4503#[derive(PartialEq,Clone,Default,Debug)]
4504pub struct CMsgBrowserResized {
4505    // message fields
4506    // @@protoc_insertion_point(field:CMsgBrowserResized.browser_handle)
4507    pub browser_handle: ::std::option::Option<u32>,
4508    // @@protoc_insertion_point(field:CMsgBrowserResized.x)
4509    pub x: ::std::option::Option<f64>,
4510    // @@protoc_insertion_point(field:CMsgBrowserResized.y)
4511    pub y: ::std::option::Option<f64>,
4512    // @@protoc_insertion_point(field:CMsgBrowserResized.width)
4513    pub width: ::std::option::Option<f64>,
4514    // @@protoc_insertion_point(field:CMsgBrowserResized.height)
4515    pub height: ::std::option::Option<f64>,
4516    // @@protoc_insertion_point(field:CMsgBrowserResized.dpi_horizontal)
4517    pub dpi_horizontal: ::std::option::Option<f64>,
4518    // @@protoc_insertion_point(field:CMsgBrowserResized.dpi_vertical)
4519    pub dpi_vertical: ::std::option::Option<f64>,
4520    // @@protoc_insertion_point(field:CMsgBrowserResized.display_name)
4521    pub display_name: ::std::option::Option<::std::string::String>,
4522    // special fields
4523    // @@protoc_insertion_point(special_field:CMsgBrowserResized.special_fields)
4524    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4525}
4526
4527impl<'a> ::std::default::Default for &'a CMsgBrowserResized {
4528    fn default() -> &'a CMsgBrowserResized {
4529        <CMsgBrowserResized as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4530    }
4531}
4532
4533impl CMsgBrowserResized {
4534    pub fn new() -> CMsgBrowserResized {
4535        ::std::default::Default::default()
4536    }
4537
4538    // optional uint32 browser_handle = 1;
4539
4540    pub fn browser_handle(&self) -> u32 {
4541        self.browser_handle.unwrap_or(0)
4542    }
4543
4544    pub fn clear_browser_handle(&mut self) {
4545        self.browser_handle = ::std::option::Option::None;
4546    }
4547
4548    pub fn has_browser_handle(&self) -> bool {
4549        self.browser_handle.is_some()
4550    }
4551
4552    // Param is passed by value, moved
4553    pub fn set_browser_handle(&mut self, v: u32) {
4554        self.browser_handle = ::std::option::Option::Some(v);
4555    }
4556
4557    // optional double x = 2;
4558
4559    pub fn x(&self) -> f64 {
4560        self.x.unwrap_or(0.)
4561    }
4562
4563    pub fn clear_x(&mut self) {
4564        self.x = ::std::option::Option::None;
4565    }
4566
4567    pub fn has_x(&self) -> bool {
4568        self.x.is_some()
4569    }
4570
4571    // Param is passed by value, moved
4572    pub fn set_x(&mut self, v: f64) {
4573        self.x = ::std::option::Option::Some(v);
4574    }
4575
4576    // optional double y = 3;
4577
4578    pub fn y(&self) -> f64 {
4579        self.y.unwrap_or(0.)
4580    }
4581
4582    pub fn clear_y(&mut self) {
4583        self.y = ::std::option::Option::None;
4584    }
4585
4586    pub fn has_y(&self) -> bool {
4587        self.y.is_some()
4588    }
4589
4590    // Param is passed by value, moved
4591    pub fn set_y(&mut self, v: f64) {
4592        self.y = ::std::option::Option::Some(v);
4593    }
4594
4595    // optional double width = 4;
4596
4597    pub fn width(&self) -> f64 {
4598        self.width.unwrap_or(0.)
4599    }
4600
4601    pub fn clear_width(&mut self) {
4602        self.width = ::std::option::Option::None;
4603    }
4604
4605    pub fn has_width(&self) -> bool {
4606        self.width.is_some()
4607    }
4608
4609    // Param is passed by value, moved
4610    pub fn set_width(&mut self, v: f64) {
4611        self.width = ::std::option::Option::Some(v);
4612    }
4613
4614    // optional double height = 5;
4615
4616    pub fn height(&self) -> f64 {
4617        self.height.unwrap_or(0.)
4618    }
4619
4620    pub fn clear_height(&mut self) {
4621        self.height = ::std::option::Option::None;
4622    }
4623
4624    pub fn has_height(&self) -> bool {
4625        self.height.is_some()
4626    }
4627
4628    // Param is passed by value, moved
4629    pub fn set_height(&mut self, v: f64) {
4630        self.height = ::std::option::Option::Some(v);
4631    }
4632
4633    // optional double dpi_horizontal = 6;
4634
4635    pub fn dpi_horizontal(&self) -> f64 {
4636        self.dpi_horizontal.unwrap_or(0.)
4637    }
4638
4639    pub fn clear_dpi_horizontal(&mut self) {
4640        self.dpi_horizontal = ::std::option::Option::None;
4641    }
4642
4643    pub fn has_dpi_horizontal(&self) -> bool {
4644        self.dpi_horizontal.is_some()
4645    }
4646
4647    // Param is passed by value, moved
4648    pub fn set_dpi_horizontal(&mut self, v: f64) {
4649        self.dpi_horizontal = ::std::option::Option::Some(v);
4650    }
4651
4652    // optional double dpi_vertical = 7;
4653
4654    pub fn dpi_vertical(&self) -> f64 {
4655        self.dpi_vertical.unwrap_or(0.)
4656    }
4657
4658    pub fn clear_dpi_vertical(&mut self) {
4659        self.dpi_vertical = ::std::option::Option::None;
4660    }
4661
4662    pub fn has_dpi_vertical(&self) -> bool {
4663        self.dpi_vertical.is_some()
4664    }
4665
4666    // Param is passed by value, moved
4667    pub fn set_dpi_vertical(&mut self, v: f64) {
4668        self.dpi_vertical = ::std::option::Option::Some(v);
4669    }
4670
4671    // optional string display_name = 8;
4672
4673    pub fn display_name(&self) -> &str {
4674        match self.display_name.as_ref() {
4675            Some(v) => v,
4676            None => "",
4677        }
4678    }
4679
4680    pub fn clear_display_name(&mut self) {
4681        self.display_name = ::std::option::Option::None;
4682    }
4683
4684    pub fn has_display_name(&self) -> bool {
4685        self.display_name.is_some()
4686    }
4687
4688    // Param is passed by value, moved
4689    pub fn set_display_name(&mut self, v: ::std::string::String) {
4690        self.display_name = ::std::option::Option::Some(v);
4691    }
4692
4693    // Mutable pointer to the field.
4694    // If field is not initialized, it is initialized with default value first.
4695    pub fn mut_display_name(&mut self) -> &mut ::std::string::String {
4696        if self.display_name.is_none() {
4697            self.display_name = ::std::option::Option::Some(::std::string::String::new());
4698        }
4699        self.display_name.as_mut().unwrap()
4700    }
4701
4702    // Take field
4703    pub fn take_display_name(&mut self) -> ::std::string::String {
4704        self.display_name.take().unwrap_or_else(|| ::std::string::String::new())
4705    }
4706}
4707
4708impl ::steam_vent_proto_common::protobuf::Message for CMsgBrowserResized {
4709    const NAME: &'static str = "CMsgBrowserResized";
4710
4711    fn is_initialized(&self) -> bool {
4712        true
4713    }
4714
4715    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4716        while let Some(tag) = is.read_raw_tag_or_eof()? {
4717            match tag {
4718                8 => {
4719                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
4720                },
4721                17 => {
4722                    self.x = ::std::option::Option::Some(is.read_double()?);
4723                },
4724                25 => {
4725                    self.y = ::std::option::Option::Some(is.read_double()?);
4726                },
4727                33 => {
4728                    self.width = ::std::option::Option::Some(is.read_double()?);
4729                },
4730                41 => {
4731                    self.height = ::std::option::Option::Some(is.read_double()?);
4732                },
4733                49 => {
4734                    self.dpi_horizontal = ::std::option::Option::Some(is.read_double()?);
4735                },
4736                57 => {
4737                    self.dpi_vertical = ::std::option::Option::Some(is.read_double()?);
4738                },
4739                66 => {
4740                    self.display_name = ::std::option::Option::Some(is.read_string()?);
4741                },
4742                tag => {
4743                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4744                },
4745            };
4746        }
4747        ::std::result::Result::Ok(())
4748    }
4749
4750    // Compute sizes of nested messages
4751    #[allow(unused_variables)]
4752    fn compute_size(&self) -> u64 {
4753        let mut my_size = 0;
4754        if let Some(v) = self.browser_handle {
4755            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
4756        }
4757        if let Some(v) = self.x {
4758            my_size += 1 + 8;
4759        }
4760        if let Some(v) = self.y {
4761            my_size += 1 + 8;
4762        }
4763        if let Some(v) = self.width {
4764            my_size += 1 + 8;
4765        }
4766        if let Some(v) = self.height {
4767            my_size += 1 + 8;
4768        }
4769        if let Some(v) = self.dpi_horizontal {
4770            my_size += 1 + 8;
4771        }
4772        if let Some(v) = self.dpi_vertical {
4773            my_size += 1 + 8;
4774        }
4775        if let Some(v) = self.display_name.as_ref() {
4776            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
4777        }
4778        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4779        self.special_fields.cached_size().set(my_size as u32);
4780        my_size
4781    }
4782
4783    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4784        if let Some(v) = self.browser_handle {
4785            os.write_uint32(1, v)?;
4786        }
4787        if let Some(v) = self.x {
4788            os.write_double(2, v)?;
4789        }
4790        if let Some(v) = self.y {
4791            os.write_double(3, v)?;
4792        }
4793        if let Some(v) = self.width {
4794            os.write_double(4, v)?;
4795        }
4796        if let Some(v) = self.height {
4797            os.write_double(5, v)?;
4798        }
4799        if let Some(v) = self.dpi_horizontal {
4800            os.write_double(6, v)?;
4801        }
4802        if let Some(v) = self.dpi_vertical {
4803            os.write_double(7, v)?;
4804        }
4805        if let Some(v) = self.display_name.as_ref() {
4806            os.write_string(8, v)?;
4807        }
4808        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4809        ::std::result::Result::Ok(())
4810    }
4811
4812    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4813        &self.special_fields
4814    }
4815
4816    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4817        &mut self.special_fields
4818    }
4819
4820    fn new() -> CMsgBrowserResized {
4821        CMsgBrowserResized::new()
4822    }
4823
4824    fn clear(&mut self) {
4825        self.browser_handle = ::std::option::Option::None;
4826        self.x = ::std::option::Option::None;
4827        self.y = ::std::option::Option::None;
4828        self.width = ::std::option::Option::None;
4829        self.height = ::std::option::Option::None;
4830        self.dpi_horizontal = ::std::option::Option::None;
4831        self.dpi_vertical = ::std::option::Option::None;
4832        self.display_name = ::std::option::Option::None;
4833        self.special_fields.clear();
4834    }
4835
4836    fn default_instance() -> &'static CMsgBrowserResized {
4837        static instance: CMsgBrowserResized = CMsgBrowserResized {
4838            browser_handle: ::std::option::Option::None,
4839            x: ::std::option::Option::None,
4840            y: ::std::option::Option::None,
4841            width: ::std::option::Option::None,
4842            height: ::std::option::Option::None,
4843            dpi_horizontal: ::std::option::Option::None,
4844            dpi_vertical: ::std::option::Option::None,
4845            display_name: ::std::option::Option::None,
4846            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4847        };
4848        &instance
4849    }
4850}
4851
4852// @@protoc_insertion_point(message:CMsgPostURL)
4853#[derive(PartialEq,Clone,Default,Debug)]
4854pub struct CMsgPostURL {
4855    // message fields
4856    // @@protoc_insertion_point(field:CMsgPostURL.browser_handle)
4857    pub browser_handle: ::std::option::Option<u32>,
4858    // @@protoc_insertion_point(field:CMsgPostURL.url)
4859    pub url: ::std::option::Option<::std::string::String>,
4860    // @@protoc_insertion_point(field:CMsgPostURL.post)
4861    pub post: ::std::option::Option<::std::string::String>,
4862    // @@protoc_insertion_point(field:CMsgPostURL.pageserial)
4863    pub pageserial: ::std::option::Option<u32>,
4864    // @@protoc_insertion_point(field:CMsgPostURL.replace_entry)
4865    pub replace_entry: ::std::option::Option<bool>,
4866    // special fields
4867    // @@protoc_insertion_point(special_field:CMsgPostURL.special_fields)
4868    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4869}
4870
4871impl<'a> ::std::default::Default for &'a CMsgPostURL {
4872    fn default() -> &'a CMsgPostURL {
4873        <CMsgPostURL as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4874    }
4875}
4876
4877impl CMsgPostURL {
4878    pub fn new() -> CMsgPostURL {
4879        ::std::default::Default::default()
4880    }
4881
4882    // optional uint32 browser_handle = 1;
4883
4884    pub fn browser_handle(&self) -> u32 {
4885        self.browser_handle.unwrap_or(0)
4886    }
4887
4888    pub fn clear_browser_handle(&mut self) {
4889        self.browser_handle = ::std::option::Option::None;
4890    }
4891
4892    pub fn has_browser_handle(&self) -> bool {
4893        self.browser_handle.is_some()
4894    }
4895
4896    // Param is passed by value, moved
4897    pub fn set_browser_handle(&mut self, v: u32) {
4898        self.browser_handle = ::std::option::Option::Some(v);
4899    }
4900
4901    // optional string url = 2;
4902
4903    pub fn url(&self) -> &str {
4904        match self.url.as_ref() {
4905            Some(v) => v,
4906            None => "",
4907        }
4908    }
4909
4910    pub fn clear_url(&mut self) {
4911        self.url = ::std::option::Option::None;
4912    }
4913
4914    pub fn has_url(&self) -> bool {
4915        self.url.is_some()
4916    }
4917
4918    // Param is passed by value, moved
4919    pub fn set_url(&mut self, v: ::std::string::String) {
4920        self.url = ::std::option::Option::Some(v);
4921    }
4922
4923    // Mutable pointer to the field.
4924    // If field is not initialized, it is initialized with default value first.
4925    pub fn mut_url(&mut self) -> &mut ::std::string::String {
4926        if self.url.is_none() {
4927            self.url = ::std::option::Option::Some(::std::string::String::new());
4928        }
4929        self.url.as_mut().unwrap()
4930    }
4931
4932    // Take field
4933    pub fn take_url(&mut self) -> ::std::string::String {
4934        self.url.take().unwrap_or_else(|| ::std::string::String::new())
4935    }
4936
4937    // optional string post = 3;
4938
4939    pub fn post(&self) -> &str {
4940        match self.post.as_ref() {
4941            Some(v) => v,
4942            None => "",
4943        }
4944    }
4945
4946    pub fn clear_post(&mut self) {
4947        self.post = ::std::option::Option::None;
4948    }
4949
4950    pub fn has_post(&self) -> bool {
4951        self.post.is_some()
4952    }
4953
4954    // Param is passed by value, moved
4955    pub fn set_post(&mut self, v: ::std::string::String) {
4956        self.post = ::std::option::Option::Some(v);
4957    }
4958
4959    // Mutable pointer to the field.
4960    // If field is not initialized, it is initialized with default value first.
4961    pub fn mut_post(&mut self) -> &mut ::std::string::String {
4962        if self.post.is_none() {
4963            self.post = ::std::option::Option::Some(::std::string::String::new());
4964        }
4965        self.post.as_mut().unwrap()
4966    }
4967
4968    // Take field
4969    pub fn take_post(&mut self) -> ::std::string::String {
4970        self.post.take().unwrap_or_else(|| ::std::string::String::new())
4971    }
4972
4973    // optional uint32 pageserial = 4;
4974
4975    pub fn pageserial(&self) -> u32 {
4976        self.pageserial.unwrap_or(0)
4977    }
4978
4979    pub fn clear_pageserial(&mut self) {
4980        self.pageserial = ::std::option::Option::None;
4981    }
4982
4983    pub fn has_pageserial(&self) -> bool {
4984        self.pageserial.is_some()
4985    }
4986
4987    // Param is passed by value, moved
4988    pub fn set_pageserial(&mut self, v: u32) {
4989        self.pageserial = ::std::option::Option::Some(v);
4990    }
4991
4992    // optional bool replace_entry = 5;
4993
4994    pub fn replace_entry(&self) -> bool {
4995        self.replace_entry.unwrap_or(false)
4996    }
4997
4998    pub fn clear_replace_entry(&mut self) {
4999        self.replace_entry = ::std::option::Option::None;
5000    }
5001
5002    pub fn has_replace_entry(&self) -> bool {
5003        self.replace_entry.is_some()
5004    }
5005
5006    // Param is passed by value, moved
5007    pub fn set_replace_entry(&mut self, v: bool) {
5008        self.replace_entry = ::std::option::Option::Some(v);
5009    }
5010}
5011
5012impl ::steam_vent_proto_common::protobuf::Message for CMsgPostURL {
5013    const NAME: &'static str = "CMsgPostURL";
5014
5015    fn is_initialized(&self) -> bool {
5016        true
5017    }
5018
5019    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5020        while let Some(tag) = is.read_raw_tag_or_eof()? {
5021            match tag {
5022                8 => {
5023                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
5024                },
5025                18 => {
5026                    self.url = ::std::option::Option::Some(is.read_string()?);
5027                },
5028                26 => {
5029                    self.post = ::std::option::Option::Some(is.read_string()?);
5030                },
5031                32 => {
5032                    self.pageserial = ::std::option::Option::Some(is.read_uint32()?);
5033                },
5034                40 => {
5035                    self.replace_entry = ::std::option::Option::Some(is.read_bool()?);
5036                },
5037                tag => {
5038                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5039                },
5040            };
5041        }
5042        ::std::result::Result::Ok(())
5043    }
5044
5045    // Compute sizes of nested messages
5046    #[allow(unused_variables)]
5047    fn compute_size(&self) -> u64 {
5048        let mut my_size = 0;
5049        if let Some(v) = self.browser_handle {
5050            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
5051        }
5052        if let Some(v) = self.url.as_ref() {
5053            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
5054        }
5055        if let Some(v) = self.post.as_ref() {
5056            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
5057        }
5058        if let Some(v) = self.pageserial {
5059            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
5060        }
5061        if let Some(v) = self.replace_entry {
5062            my_size += 1 + 1;
5063        }
5064        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5065        self.special_fields.cached_size().set(my_size as u32);
5066        my_size
5067    }
5068
5069    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5070        if let Some(v) = self.browser_handle {
5071            os.write_uint32(1, v)?;
5072        }
5073        if let Some(v) = self.url.as_ref() {
5074            os.write_string(2, v)?;
5075        }
5076        if let Some(v) = self.post.as_ref() {
5077            os.write_string(3, v)?;
5078        }
5079        if let Some(v) = self.pageserial {
5080            os.write_uint32(4, v)?;
5081        }
5082        if let Some(v) = self.replace_entry {
5083            os.write_bool(5, v)?;
5084        }
5085        os.write_unknown_fields(self.special_fields.unknown_fields())?;
5086        ::std::result::Result::Ok(())
5087    }
5088
5089    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5090        &self.special_fields
5091    }
5092
5093    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5094        &mut self.special_fields
5095    }
5096
5097    fn new() -> CMsgPostURL {
5098        CMsgPostURL::new()
5099    }
5100
5101    fn clear(&mut self) {
5102        self.browser_handle = ::std::option::Option::None;
5103        self.url = ::std::option::Option::None;
5104        self.post = ::std::option::Option::None;
5105        self.pageserial = ::std::option::Option::None;
5106        self.replace_entry = ::std::option::Option::None;
5107        self.special_fields.clear();
5108    }
5109
5110    fn default_instance() -> &'static CMsgPostURL {
5111        static instance: CMsgPostURL = CMsgPostURL {
5112            browser_handle: ::std::option::Option::None,
5113            url: ::std::option::Option::None,
5114            post: ::std::option::Option::None,
5115            pageserial: ::std::option::Option::None,
5116            replace_entry: ::std::option::Option::None,
5117            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5118        };
5119        &instance
5120    }
5121}
5122
5123// @@protoc_insertion_point(message:CMsgAddHeader)
5124#[derive(PartialEq,Clone,Default,Debug)]
5125pub struct CMsgAddHeader {
5126    // message fields
5127    // @@protoc_insertion_point(field:CMsgAddHeader.browser_handle)
5128    pub browser_handle: ::std::option::Option<u32>,
5129    // @@protoc_insertion_point(field:CMsgAddHeader.key)
5130    pub key: ::std::option::Option<::std::string::String>,
5131    // @@protoc_insertion_point(field:CMsgAddHeader.value)
5132    pub value: ::std::option::Option<::std::string::String>,
5133    // special fields
5134    // @@protoc_insertion_point(special_field:CMsgAddHeader.special_fields)
5135    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5136}
5137
5138impl<'a> ::std::default::Default for &'a CMsgAddHeader {
5139    fn default() -> &'a CMsgAddHeader {
5140        <CMsgAddHeader as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5141    }
5142}
5143
5144impl CMsgAddHeader {
5145    pub fn new() -> CMsgAddHeader {
5146        ::std::default::Default::default()
5147    }
5148
5149    // optional uint32 browser_handle = 1;
5150
5151    pub fn browser_handle(&self) -> u32 {
5152        self.browser_handle.unwrap_or(0)
5153    }
5154
5155    pub fn clear_browser_handle(&mut self) {
5156        self.browser_handle = ::std::option::Option::None;
5157    }
5158
5159    pub fn has_browser_handle(&self) -> bool {
5160        self.browser_handle.is_some()
5161    }
5162
5163    // Param is passed by value, moved
5164    pub fn set_browser_handle(&mut self, v: u32) {
5165        self.browser_handle = ::std::option::Option::Some(v);
5166    }
5167
5168    // optional string key = 2;
5169
5170    pub fn key(&self) -> &str {
5171        match self.key.as_ref() {
5172            Some(v) => v,
5173            None => "",
5174        }
5175    }
5176
5177    pub fn clear_key(&mut self) {
5178        self.key = ::std::option::Option::None;
5179    }
5180
5181    pub fn has_key(&self) -> bool {
5182        self.key.is_some()
5183    }
5184
5185    // Param is passed by value, moved
5186    pub fn set_key(&mut self, v: ::std::string::String) {
5187        self.key = ::std::option::Option::Some(v);
5188    }
5189
5190    // Mutable pointer to the field.
5191    // If field is not initialized, it is initialized with default value first.
5192    pub fn mut_key(&mut self) -> &mut ::std::string::String {
5193        if self.key.is_none() {
5194            self.key = ::std::option::Option::Some(::std::string::String::new());
5195        }
5196        self.key.as_mut().unwrap()
5197    }
5198
5199    // Take field
5200    pub fn take_key(&mut self) -> ::std::string::String {
5201        self.key.take().unwrap_or_else(|| ::std::string::String::new())
5202    }
5203
5204    // optional string value = 3;
5205
5206    pub fn value(&self) -> &str {
5207        match self.value.as_ref() {
5208            Some(v) => v,
5209            None => "",
5210        }
5211    }
5212
5213    pub fn clear_value(&mut self) {
5214        self.value = ::std::option::Option::None;
5215    }
5216
5217    pub fn has_value(&self) -> bool {
5218        self.value.is_some()
5219    }
5220
5221    // Param is passed by value, moved
5222    pub fn set_value(&mut self, v: ::std::string::String) {
5223        self.value = ::std::option::Option::Some(v);
5224    }
5225
5226    // Mutable pointer to the field.
5227    // If field is not initialized, it is initialized with default value first.
5228    pub fn mut_value(&mut self) -> &mut ::std::string::String {
5229        if self.value.is_none() {
5230            self.value = ::std::option::Option::Some(::std::string::String::new());
5231        }
5232        self.value.as_mut().unwrap()
5233    }
5234
5235    // Take field
5236    pub fn take_value(&mut self) -> ::std::string::String {
5237        self.value.take().unwrap_or_else(|| ::std::string::String::new())
5238    }
5239}
5240
5241impl ::steam_vent_proto_common::protobuf::Message for CMsgAddHeader {
5242    const NAME: &'static str = "CMsgAddHeader";
5243
5244    fn is_initialized(&self) -> bool {
5245        true
5246    }
5247
5248    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5249        while let Some(tag) = is.read_raw_tag_or_eof()? {
5250            match tag {
5251                8 => {
5252                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
5253                },
5254                18 => {
5255                    self.key = ::std::option::Option::Some(is.read_string()?);
5256                },
5257                26 => {
5258                    self.value = ::std::option::Option::Some(is.read_string()?);
5259                },
5260                tag => {
5261                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5262                },
5263            };
5264        }
5265        ::std::result::Result::Ok(())
5266    }
5267
5268    // Compute sizes of nested messages
5269    #[allow(unused_variables)]
5270    fn compute_size(&self) -> u64 {
5271        let mut my_size = 0;
5272        if let Some(v) = self.browser_handle {
5273            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
5274        }
5275        if let Some(v) = self.key.as_ref() {
5276            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
5277        }
5278        if let Some(v) = self.value.as_ref() {
5279            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
5280        }
5281        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5282        self.special_fields.cached_size().set(my_size as u32);
5283        my_size
5284    }
5285
5286    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5287        if let Some(v) = self.browser_handle {
5288            os.write_uint32(1, v)?;
5289        }
5290        if let Some(v) = self.key.as_ref() {
5291            os.write_string(2, v)?;
5292        }
5293        if let Some(v) = self.value.as_ref() {
5294            os.write_string(3, v)?;
5295        }
5296        os.write_unknown_fields(self.special_fields.unknown_fields())?;
5297        ::std::result::Result::Ok(())
5298    }
5299
5300    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5301        &self.special_fields
5302    }
5303
5304    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5305        &mut self.special_fields
5306    }
5307
5308    fn new() -> CMsgAddHeader {
5309        CMsgAddHeader::new()
5310    }
5311
5312    fn clear(&mut self) {
5313        self.browser_handle = ::std::option::Option::None;
5314        self.key = ::std::option::Option::None;
5315        self.value = ::std::option::Option::None;
5316        self.special_fields.clear();
5317    }
5318
5319    fn default_instance() -> &'static CMsgAddHeader {
5320        static instance: CMsgAddHeader = CMsgAddHeader {
5321            browser_handle: ::std::option::Option::None,
5322            key: ::std::option::Option::None,
5323            value: ::std::option::Option::None,
5324            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5325        };
5326        &instance
5327    }
5328}
5329
5330// @@protoc_insertion_point(message:CMsgStopLoad)
5331#[derive(PartialEq,Clone,Default,Debug)]
5332pub struct CMsgStopLoad {
5333    // message fields
5334    // @@protoc_insertion_point(field:CMsgStopLoad.browser_handle)
5335    pub browser_handle: ::std::option::Option<u32>,
5336    // special fields
5337    // @@protoc_insertion_point(special_field:CMsgStopLoad.special_fields)
5338    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5339}
5340
5341impl<'a> ::std::default::Default for &'a CMsgStopLoad {
5342    fn default() -> &'a CMsgStopLoad {
5343        <CMsgStopLoad as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5344    }
5345}
5346
5347impl CMsgStopLoad {
5348    pub fn new() -> CMsgStopLoad {
5349        ::std::default::Default::default()
5350    }
5351
5352    // optional uint32 browser_handle = 1;
5353
5354    pub fn browser_handle(&self) -> u32 {
5355        self.browser_handle.unwrap_or(0)
5356    }
5357
5358    pub fn clear_browser_handle(&mut self) {
5359        self.browser_handle = ::std::option::Option::None;
5360    }
5361
5362    pub fn has_browser_handle(&self) -> bool {
5363        self.browser_handle.is_some()
5364    }
5365
5366    // Param is passed by value, moved
5367    pub fn set_browser_handle(&mut self, v: u32) {
5368        self.browser_handle = ::std::option::Option::Some(v);
5369    }
5370}
5371
5372impl ::steam_vent_proto_common::protobuf::Message for CMsgStopLoad {
5373    const NAME: &'static str = "CMsgStopLoad";
5374
5375    fn is_initialized(&self) -> bool {
5376        true
5377    }
5378
5379    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5380        while let Some(tag) = is.read_raw_tag_or_eof()? {
5381            match tag {
5382                8 => {
5383                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
5384                },
5385                tag => {
5386                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5387                },
5388            };
5389        }
5390        ::std::result::Result::Ok(())
5391    }
5392
5393    // Compute sizes of nested messages
5394    #[allow(unused_variables)]
5395    fn compute_size(&self) -> u64 {
5396        let mut my_size = 0;
5397        if let Some(v) = self.browser_handle {
5398            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
5399        }
5400        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5401        self.special_fields.cached_size().set(my_size as u32);
5402        my_size
5403    }
5404
5405    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5406        if let Some(v) = self.browser_handle {
5407            os.write_uint32(1, v)?;
5408        }
5409        os.write_unknown_fields(self.special_fields.unknown_fields())?;
5410        ::std::result::Result::Ok(())
5411    }
5412
5413    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5414        &self.special_fields
5415    }
5416
5417    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5418        &mut self.special_fields
5419    }
5420
5421    fn new() -> CMsgStopLoad {
5422        CMsgStopLoad::new()
5423    }
5424
5425    fn clear(&mut self) {
5426        self.browser_handle = ::std::option::Option::None;
5427        self.special_fields.clear();
5428    }
5429
5430    fn default_instance() -> &'static CMsgStopLoad {
5431        static instance: CMsgStopLoad = CMsgStopLoad {
5432            browser_handle: ::std::option::Option::None,
5433            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5434        };
5435        &instance
5436    }
5437}
5438
5439// @@protoc_insertion_point(message:CMsgReload)
5440#[derive(PartialEq,Clone,Default,Debug)]
5441pub struct CMsgReload {
5442    // message fields
5443    // @@protoc_insertion_point(field:CMsgReload.browser_handle)
5444    pub browser_handle: ::std::option::Option<u32>,
5445    // special fields
5446    // @@protoc_insertion_point(special_field:CMsgReload.special_fields)
5447    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5448}
5449
5450impl<'a> ::std::default::Default for &'a CMsgReload {
5451    fn default() -> &'a CMsgReload {
5452        <CMsgReload as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5453    }
5454}
5455
5456impl CMsgReload {
5457    pub fn new() -> CMsgReload {
5458        ::std::default::Default::default()
5459    }
5460
5461    // optional uint32 browser_handle = 1;
5462
5463    pub fn browser_handle(&self) -> u32 {
5464        self.browser_handle.unwrap_or(0)
5465    }
5466
5467    pub fn clear_browser_handle(&mut self) {
5468        self.browser_handle = ::std::option::Option::None;
5469    }
5470
5471    pub fn has_browser_handle(&self) -> bool {
5472        self.browser_handle.is_some()
5473    }
5474
5475    // Param is passed by value, moved
5476    pub fn set_browser_handle(&mut self, v: u32) {
5477        self.browser_handle = ::std::option::Option::Some(v);
5478    }
5479}
5480
5481impl ::steam_vent_proto_common::protobuf::Message for CMsgReload {
5482    const NAME: &'static str = "CMsgReload";
5483
5484    fn is_initialized(&self) -> bool {
5485        true
5486    }
5487
5488    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5489        while let Some(tag) = is.read_raw_tag_or_eof()? {
5490            match tag {
5491                8 => {
5492                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
5493                },
5494                tag => {
5495                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5496                },
5497            };
5498        }
5499        ::std::result::Result::Ok(())
5500    }
5501
5502    // Compute sizes of nested messages
5503    #[allow(unused_variables)]
5504    fn compute_size(&self) -> u64 {
5505        let mut my_size = 0;
5506        if let Some(v) = self.browser_handle {
5507            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
5508        }
5509        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5510        self.special_fields.cached_size().set(my_size as u32);
5511        my_size
5512    }
5513
5514    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5515        if let Some(v) = self.browser_handle {
5516            os.write_uint32(1, v)?;
5517        }
5518        os.write_unknown_fields(self.special_fields.unknown_fields())?;
5519        ::std::result::Result::Ok(())
5520    }
5521
5522    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5523        &self.special_fields
5524    }
5525
5526    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5527        &mut self.special_fields
5528    }
5529
5530    fn new() -> CMsgReload {
5531        CMsgReload::new()
5532    }
5533
5534    fn clear(&mut self) {
5535        self.browser_handle = ::std::option::Option::None;
5536        self.special_fields.clear();
5537    }
5538
5539    fn default_instance() -> &'static CMsgReload {
5540        static instance: CMsgReload = CMsgReload {
5541            browser_handle: ::std::option::Option::None,
5542            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5543        };
5544        &instance
5545    }
5546}
5547
5548// @@protoc_insertion_point(message:CMsgGoForward)
5549#[derive(PartialEq,Clone,Default,Debug)]
5550pub struct CMsgGoForward {
5551    // message fields
5552    // @@protoc_insertion_point(field:CMsgGoForward.browser_handle)
5553    pub browser_handle: ::std::option::Option<u32>,
5554    // special fields
5555    // @@protoc_insertion_point(special_field:CMsgGoForward.special_fields)
5556    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5557}
5558
5559impl<'a> ::std::default::Default for &'a CMsgGoForward {
5560    fn default() -> &'a CMsgGoForward {
5561        <CMsgGoForward as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5562    }
5563}
5564
5565impl CMsgGoForward {
5566    pub fn new() -> CMsgGoForward {
5567        ::std::default::Default::default()
5568    }
5569
5570    // optional uint32 browser_handle = 1;
5571
5572    pub fn browser_handle(&self) -> u32 {
5573        self.browser_handle.unwrap_or(0)
5574    }
5575
5576    pub fn clear_browser_handle(&mut self) {
5577        self.browser_handle = ::std::option::Option::None;
5578    }
5579
5580    pub fn has_browser_handle(&self) -> bool {
5581        self.browser_handle.is_some()
5582    }
5583
5584    // Param is passed by value, moved
5585    pub fn set_browser_handle(&mut self, v: u32) {
5586        self.browser_handle = ::std::option::Option::Some(v);
5587    }
5588}
5589
5590impl ::steam_vent_proto_common::protobuf::Message for CMsgGoForward {
5591    const NAME: &'static str = "CMsgGoForward";
5592
5593    fn is_initialized(&self) -> bool {
5594        true
5595    }
5596
5597    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5598        while let Some(tag) = is.read_raw_tag_or_eof()? {
5599            match tag {
5600                8 => {
5601                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
5602                },
5603                tag => {
5604                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5605                },
5606            };
5607        }
5608        ::std::result::Result::Ok(())
5609    }
5610
5611    // Compute sizes of nested messages
5612    #[allow(unused_variables)]
5613    fn compute_size(&self) -> u64 {
5614        let mut my_size = 0;
5615        if let Some(v) = self.browser_handle {
5616            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
5617        }
5618        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5619        self.special_fields.cached_size().set(my_size as u32);
5620        my_size
5621    }
5622
5623    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5624        if let Some(v) = self.browser_handle {
5625            os.write_uint32(1, v)?;
5626        }
5627        os.write_unknown_fields(self.special_fields.unknown_fields())?;
5628        ::std::result::Result::Ok(())
5629    }
5630
5631    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5632        &self.special_fields
5633    }
5634
5635    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5636        &mut self.special_fields
5637    }
5638
5639    fn new() -> CMsgGoForward {
5640        CMsgGoForward::new()
5641    }
5642
5643    fn clear(&mut self) {
5644        self.browser_handle = ::std::option::Option::None;
5645        self.special_fields.clear();
5646    }
5647
5648    fn default_instance() -> &'static CMsgGoForward {
5649        static instance: CMsgGoForward = CMsgGoForward {
5650            browser_handle: ::std::option::Option::None,
5651            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5652        };
5653        &instance
5654    }
5655}
5656
5657// @@protoc_insertion_point(message:CMsgGoBack)
5658#[derive(PartialEq,Clone,Default,Debug)]
5659pub struct CMsgGoBack {
5660    // message fields
5661    // @@protoc_insertion_point(field:CMsgGoBack.browser_handle)
5662    pub browser_handle: ::std::option::Option<u32>,
5663    // special fields
5664    // @@protoc_insertion_point(special_field:CMsgGoBack.special_fields)
5665    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5666}
5667
5668impl<'a> ::std::default::Default for &'a CMsgGoBack {
5669    fn default() -> &'a CMsgGoBack {
5670        <CMsgGoBack as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5671    }
5672}
5673
5674impl CMsgGoBack {
5675    pub fn new() -> CMsgGoBack {
5676        ::std::default::Default::default()
5677    }
5678
5679    // optional uint32 browser_handle = 1;
5680
5681    pub fn browser_handle(&self) -> u32 {
5682        self.browser_handle.unwrap_or(0)
5683    }
5684
5685    pub fn clear_browser_handle(&mut self) {
5686        self.browser_handle = ::std::option::Option::None;
5687    }
5688
5689    pub fn has_browser_handle(&self) -> bool {
5690        self.browser_handle.is_some()
5691    }
5692
5693    // Param is passed by value, moved
5694    pub fn set_browser_handle(&mut self, v: u32) {
5695        self.browser_handle = ::std::option::Option::Some(v);
5696    }
5697}
5698
5699impl ::steam_vent_proto_common::protobuf::Message for CMsgGoBack {
5700    const NAME: &'static str = "CMsgGoBack";
5701
5702    fn is_initialized(&self) -> bool {
5703        true
5704    }
5705
5706    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5707        while let Some(tag) = is.read_raw_tag_or_eof()? {
5708            match tag {
5709                8 => {
5710                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
5711                },
5712                tag => {
5713                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5714                },
5715            };
5716        }
5717        ::std::result::Result::Ok(())
5718    }
5719
5720    // Compute sizes of nested messages
5721    #[allow(unused_variables)]
5722    fn compute_size(&self) -> u64 {
5723        let mut my_size = 0;
5724        if let Some(v) = self.browser_handle {
5725            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
5726        }
5727        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5728        self.special_fields.cached_size().set(my_size as u32);
5729        my_size
5730    }
5731
5732    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5733        if let Some(v) = self.browser_handle {
5734            os.write_uint32(1, v)?;
5735        }
5736        os.write_unknown_fields(self.special_fields.unknown_fields())?;
5737        ::std::result::Result::Ok(())
5738    }
5739
5740    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5741        &self.special_fields
5742    }
5743
5744    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5745        &mut self.special_fields
5746    }
5747
5748    fn new() -> CMsgGoBack {
5749        CMsgGoBack::new()
5750    }
5751
5752    fn clear(&mut self) {
5753        self.browser_handle = ::std::option::Option::None;
5754        self.special_fields.clear();
5755    }
5756
5757    fn default_instance() -> &'static CMsgGoBack {
5758        static instance: CMsgGoBack = CMsgGoBack {
5759            browser_handle: ::std::option::Option::None,
5760            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5761        };
5762        &instance
5763    }
5764}
5765
5766// @@protoc_insertion_point(message:CMsgWasHidden)
5767#[derive(PartialEq,Clone,Default,Debug)]
5768pub struct CMsgWasHidden {
5769    // message fields
5770    // @@protoc_insertion_point(field:CMsgWasHidden.browser_handle)
5771    pub browser_handle: ::std::option::Option<u32>,
5772    // @@protoc_insertion_point(field:CMsgWasHidden.hidden)
5773    pub hidden: ::std::option::Option<bool>,
5774    // special fields
5775    // @@protoc_insertion_point(special_field:CMsgWasHidden.special_fields)
5776    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5777}
5778
5779impl<'a> ::std::default::Default for &'a CMsgWasHidden {
5780    fn default() -> &'a CMsgWasHidden {
5781        <CMsgWasHidden as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5782    }
5783}
5784
5785impl CMsgWasHidden {
5786    pub fn new() -> CMsgWasHidden {
5787        ::std::default::Default::default()
5788    }
5789
5790    // optional uint32 browser_handle = 1;
5791
5792    pub fn browser_handle(&self) -> u32 {
5793        self.browser_handle.unwrap_or(0)
5794    }
5795
5796    pub fn clear_browser_handle(&mut self) {
5797        self.browser_handle = ::std::option::Option::None;
5798    }
5799
5800    pub fn has_browser_handle(&self) -> bool {
5801        self.browser_handle.is_some()
5802    }
5803
5804    // Param is passed by value, moved
5805    pub fn set_browser_handle(&mut self, v: u32) {
5806        self.browser_handle = ::std::option::Option::Some(v);
5807    }
5808
5809    // optional bool hidden = 2;
5810
5811    pub fn hidden(&self) -> bool {
5812        self.hidden.unwrap_or(false)
5813    }
5814
5815    pub fn clear_hidden(&mut self) {
5816        self.hidden = ::std::option::Option::None;
5817    }
5818
5819    pub fn has_hidden(&self) -> bool {
5820        self.hidden.is_some()
5821    }
5822
5823    // Param is passed by value, moved
5824    pub fn set_hidden(&mut self, v: bool) {
5825        self.hidden = ::std::option::Option::Some(v);
5826    }
5827}
5828
5829impl ::steam_vent_proto_common::protobuf::Message for CMsgWasHidden {
5830    const NAME: &'static str = "CMsgWasHidden";
5831
5832    fn is_initialized(&self) -> bool {
5833        true
5834    }
5835
5836    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5837        while let Some(tag) = is.read_raw_tag_or_eof()? {
5838            match tag {
5839                8 => {
5840                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
5841                },
5842                16 => {
5843                    self.hidden = ::std::option::Option::Some(is.read_bool()?);
5844                },
5845                tag => {
5846                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5847                },
5848            };
5849        }
5850        ::std::result::Result::Ok(())
5851    }
5852
5853    // Compute sizes of nested messages
5854    #[allow(unused_variables)]
5855    fn compute_size(&self) -> u64 {
5856        let mut my_size = 0;
5857        if let Some(v) = self.browser_handle {
5858            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
5859        }
5860        if let Some(v) = self.hidden {
5861            my_size += 1 + 1;
5862        }
5863        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5864        self.special_fields.cached_size().set(my_size as u32);
5865        my_size
5866    }
5867
5868    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5869        if let Some(v) = self.browser_handle {
5870            os.write_uint32(1, v)?;
5871        }
5872        if let Some(v) = self.hidden {
5873            os.write_bool(2, v)?;
5874        }
5875        os.write_unknown_fields(self.special_fields.unknown_fields())?;
5876        ::std::result::Result::Ok(())
5877    }
5878
5879    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5880        &self.special_fields
5881    }
5882
5883    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5884        &mut self.special_fields
5885    }
5886
5887    fn new() -> CMsgWasHidden {
5888        CMsgWasHidden::new()
5889    }
5890
5891    fn clear(&mut self) {
5892        self.browser_handle = ::std::option::Option::None;
5893        self.hidden = ::std::option::Option::None;
5894        self.special_fields.clear();
5895    }
5896
5897    fn default_instance() -> &'static CMsgWasHidden {
5898        static instance: CMsgWasHidden = CMsgWasHidden {
5899            browser_handle: ::std::option::Option::None,
5900            hidden: ::std::option::Option::None,
5901            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5902        };
5903        &instance
5904    }
5905}
5906
5907// @@protoc_insertion_point(message:CMsgSetWindowVisibility)
5908#[derive(PartialEq,Clone,Default,Debug)]
5909pub struct CMsgSetWindowVisibility {
5910    // message fields
5911    // @@protoc_insertion_point(field:CMsgSetWindowVisibility.browser_handle)
5912    pub browser_handle: ::std::option::Option<u32>,
5913    // @@protoc_insertion_point(field:CMsgSetWindowVisibility.visible)
5914    pub visible: ::std::option::Option<bool>,
5915    // special fields
5916    // @@protoc_insertion_point(special_field:CMsgSetWindowVisibility.special_fields)
5917    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5918}
5919
5920impl<'a> ::std::default::Default for &'a CMsgSetWindowVisibility {
5921    fn default() -> &'a CMsgSetWindowVisibility {
5922        <CMsgSetWindowVisibility as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5923    }
5924}
5925
5926impl CMsgSetWindowVisibility {
5927    pub fn new() -> CMsgSetWindowVisibility {
5928        ::std::default::Default::default()
5929    }
5930
5931    // optional uint32 browser_handle = 1;
5932
5933    pub fn browser_handle(&self) -> u32 {
5934        self.browser_handle.unwrap_or(0)
5935    }
5936
5937    pub fn clear_browser_handle(&mut self) {
5938        self.browser_handle = ::std::option::Option::None;
5939    }
5940
5941    pub fn has_browser_handle(&self) -> bool {
5942        self.browser_handle.is_some()
5943    }
5944
5945    // Param is passed by value, moved
5946    pub fn set_browser_handle(&mut self, v: u32) {
5947        self.browser_handle = ::std::option::Option::Some(v);
5948    }
5949
5950    // optional bool visible = 2;
5951
5952    pub fn visible(&self) -> bool {
5953        self.visible.unwrap_or(false)
5954    }
5955
5956    pub fn clear_visible(&mut self) {
5957        self.visible = ::std::option::Option::None;
5958    }
5959
5960    pub fn has_visible(&self) -> bool {
5961        self.visible.is_some()
5962    }
5963
5964    // Param is passed by value, moved
5965    pub fn set_visible(&mut self, v: bool) {
5966        self.visible = ::std::option::Option::Some(v);
5967    }
5968}
5969
5970impl ::steam_vent_proto_common::protobuf::Message for CMsgSetWindowVisibility {
5971    const NAME: &'static str = "CMsgSetWindowVisibility";
5972
5973    fn is_initialized(&self) -> bool {
5974        true
5975    }
5976
5977    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5978        while let Some(tag) = is.read_raw_tag_or_eof()? {
5979            match tag {
5980                8 => {
5981                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
5982                },
5983                16 => {
5984                    self.visible = ::std::option::Option::Some(is.read_bool()?);
5985                },
5986                tag => {
5987                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5988                },
5989            };
5990        }
5991        ::std::result::Result::Ok(())
5992    }
5993
5994    // Compute sizes of nested messages
5995    #[allow(unused_variables)]
5996    fn compute_size(&self) -> u64 {
5997        let mut my_size = 0;
5998        if let Some(v) = self.browser_handle {
5999            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
6000        }
6001        if let Some(v) = self.visible {
6002            my_size += 1 + 1;
6003        }
6004        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6005        self.special_fields.cached_size().set(my_size as u32);
6006        my_size
6007    }
6008
6009    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6010        if let Some(v) = self.browser_handle {
6011            os.write_uint32(1, v)?;
6012        }
6013        if let Some(v) = self.visible {
6014            os.write_bool(2, v)?;
6015        }
6016        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6017        ::std::result::Result::Ok(())
6018    }
6019
6020    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6021        &self.special_fields
6022    }
6023
6024    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6025        &mut self.special_fields
6026    }
6027
6028    fn new() -> CMsgSetWindowVisibility {
6029        CMsgSetWindowVisibility::new()
6030    }
6031
6032    fn clear(&mut self) {
6033        self.browser_handle = ::std::option::Option::None;
6034        self.visible = ::std::option::Option::None;
6035        self.special_fields.clear();
6036    }
6037
6038    fn default_instance() -> &'static CMsgSetWindowVisibility {
6039        static instance: CMsgSetWindowVisibility = CMsgSetWindowVisibility {
6040            browser_handle: ::std::option::Option::None,
6041            visible: ::std::option::Option::None,
6042            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6043        };
6044        &instance
6045    }
6046}
6047
6048// @@protoc_insertion_point(message:CMsgClearHistory)
6049#[derive(PartialEq,Clone,Default,Debug)]
6050pub struct CMsgClearHistory {
6051    // message fields
6052    // @@protoc_insertion_point(field:CMsgClearHistory.browser_handle)
6053    pub browser_handle: ::std::option::Option<u32>,
6054    // special fields
6055    // @@protoc_insertion_point(special_field:CMsgClearHistory.special_fields)
6056    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6057}
6058
6059impl<'a> ::std::default::Default for &'a CMsgClearHistory {
6060    fn default() -> &'a CMsgClearHistory {
6061        <CMsgClearHistory as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6062    }
6063}
6064
6065impl CMsgClearHistory {
6066    pub fn new() -> CMsgClearHistory {
6067        ::std::default::Default::default()
6068    }
6069
6070    // optional uint32 browser_handle = 1;
6071
6072    pub fn browser_handle(&self) -> u32 {
6073        self.browser_handle.unwrap_or(0)
6074    }
6075
6076    pub fn clear_browser_handle(&mut self) {
6077        self.browser_handle = ::std::option::Option::None;
6078    }
6079
6080    pub fn has_browser_handle(&self) -> bool {
6081        self.browser_handle.is_some()
6082    }
6083
6084    // Param is passed by value, moved
6085    pub fn set_browser_handle(&mut self, v: u32) {
6086        self.browser_handle = ::std::option::Option::Some(v);
6087    }
6088}
6089
6090impl ::steam_vent_proto_common::protobuf::Message for CMsgClearHistory {
6091    const NAME: &'static str = "CMsgClearHistory";
6092
6093    fn is_initialized(&self) -> bool {
6094        true
6095    }
6096
6097    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6098        while let Some(tag) = is.read_raw_tag_or_eof()? {
6099            match tag {
6100                8 => {
6101                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
6102                },
6103                tag => {
6104                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6105                },
6106            };
6107        }
6108        ::std::result::Result::Ok(())
6109    }
6110
6111    // Compute sizes of nested messages
6112    #[allow(unused_variables)]
6113    fn compute_size(&self) -> u64 {
6114        let mut my_size = 0;
6115        if let Some(v) = self.browser_handle {
6116            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
6117        }
6118        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6119        self.special_fields.cached_size().set(my_size as u32);
6120        my_size
6121    }
6122
6123    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6124        if let Some(v) = self.browser_handle {
6125            os.write_uint32(1, v)?;
6126        }
6127        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6128        ::std::result::Result::Ok(())
6129    }
6130
6131    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6132        &self.special_fields
6133    }
6134
6135    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6136        &mut self.special_fields
6137    }
6138
6139    fn new() -> CMsgClearHistory {
6140        CMsgClearHistory::new()
6141    }
6142
6143    fn clear(&mut self) {
6144        self.browser_handle = ::std::option::Option::None;
6145        self.special_fields.clear();
6146    }
6147
6148    fn default_instance() -> &'static CMsgClearHistory {
6149        static instance: CMsgClearHistory = CMsgClearHistory {
6150            browser_handle: ::std::option::Option::None,
6151            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6152        };
6153        &instance
6154    }
6155}
6156
6157// @@protoc_insertion_point(message:CMsgClearAllBrowsingData)
6158#[derive(PartialEq,Clone,Default,Debug)]
6159pub struct CMsgClearAllBrowsingData {
6160    // message fields
6161    // @@protoc_insertion_point(field:CMsgClearAllBrowsingData.browser_handle)
6162    pub browser_handle: ::std::option::Option<u32>,
6163    // special fields
6164    // @@protoc_insertion_point(special_field:CMsgClearAllBrowsingData.special_fields)
6165    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6166}
6167
6168impl<'a> ::std::default::Default for &'a CMsgClearAllBrowsingData {
6169    fn default() -> &'a CMsgClearAllBrowsingData {
6170        <CMsgClearAllBrowsingData as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6171    }
6172}
6173
6174impl CMsgClearAllBrowsingData {
6175    pub fn new() -> CMsgClearAllBrowsingData {
6176        ::std::default::Default::default()
6177    }
6178
6179    // optional uint32 browser_handle = 1;
6180
6181    pub fn browser_handle(&self) -> u32 {
6182        self.browser_handle.unwrap_or(0)
6183    }
6184
6185    pub fn clear_browser_handle(&mut self) {
6186        self.browser_handle = ::std::option::Option::None;
6187    }
6188
6189    pub fn has_browser_handle(&self) -> bool {
6190        self.browser_handle.is_some()
6191    }
6192
6193    // Param is passed by value, moved
6194    pub fn set_browser_handle(&mut self, v: u32) {
6195        self.browser_handle = ::std::option::Option::Some(v);
6196    }
6197}
6198
6199impl ::steam_vent_proto_common::protobuf::Message for CMsgClearAllBrowsingData {
6200    const NAME: &'static str = "CMsgClearAllBrowsingData";
6201
6202    fn is_initialized(&self) -> bool {
6203        true
6204    }
6205
6206    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6207        while let Some(tag) = is.read_raw_tag_or_eof()? {
6208            match tag {
6209                8 => {
6210                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
6211                },
6212                tag => {
6213                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6214                },
6215            };
6216        }
6217        ::std::result::Result::Ok(())
6218    }
6219
6220    // Compute sizes of nested messages
6221    #[allow(unused_variables)]
6222    fn compute_size(&self) -> u64 {
6223        let mut my_size = 0;
6224        if let Some(v) = self.browser_handle {
6225            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
6226        }
6227        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6228        self.special_fields.cached_size().set(my_size as u32);
6229        my_size
6230    }
6231
6232    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6233        if let Some(v) = self.browser_handle {
6234            os.write_uint32(1, v)?;
6235        }
6236        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6237        ::std::result::Result::Ok(())
6238    }
6239
6240    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6241        &self.special_fields
6242    }
6243
6244    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6245        &mut self.special_fields
6246    }
6247
6248    fn new() -> CMsgClearAllBrowsingData {
6249        CMsgClearAllBrowsingData::new()
6250    }
6251
6252    fn clear(&mut self) {
6253        self.browser_handle = ::std::option::Option::None;
6254        self.special_fields.clear();
6255    }
6256
6257    fn default_instance() -> &'static CMsgClearAllBrowsingData {
6258        static instance: CMsgClearAllBrowsingData = CMsgClearAllBrowsingData {
6259            browser_handle: ::std::option::Option::None,
6260            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6261        };
6262        &instance
6263    }
6264}
6265
6266// @@protoc_insertion_point(message:CMsgCopy)
6267#[derive(PartialEq,Clone,Default,Debug)]
6268pub struct CMsgCopy {
6269    // message fields
6270    // @@protoc_insertion_point(field:CMsgCopy.browser_handle)
6271    pub browser_handle: ::std::option::Option<u32>,
6272    // special fields
6273    // @@protoc_insertion_point(special_field:CMsgCopy.special_fields)
6274    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6275}
6276
6277impl<'a> ::std::default::Default for &'a CMsgCopy {
6278    fn default() -> &'a CMsgCopy {
6279        <CMsgCopy as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6280    }
6281}
6282
6283impl CMsgCopy {
6284    pub fn new() -> CMsgCopy {
6285        ::std::default::Default::default()
6286    }
6287
6288    // optional uint32 browser_handle = 1;
6289
6290    pub fn browser_handle(&self) -> u32 {
6291        self.browser_handle.unwrap_or(0)
6292    }
6293
6294    pub fn clear_browser_handle(&mut self) {
6295        self.browser_handle = ::std::option::Option::None;
6296    }
6297
6298    pub fn has_browser_handle(&self) -> bool {
6299        self.browser_handle.is_some()
6300    }
6301
6302    // Param is passed by value, moved
6303    pub fn set_browser_handle(&mut self, v: u32) {
6304        self.browser_handle = ::std::option::Option::Some(v);
6305    }
6306}
6307
6308impl ::steam_vent_proto_common::protobuf::Message for CMsgCopy {
6309    const NAME: &'static str = "CMsgCopy";
6310
6311    fn is_initialized(&self) -> bool {
6312        true
6313    }
6314
6315    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6316        while let Some(tag) = is.read_raw_tag_or_eof()? {
6317            match tag {
6318                8 => {
6319                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
6320                },
6321                tag => {
6322                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6323                },
6324            };
6325        }
6326        ::std::result::Result::Ok(())
6327    }
6328
6329    // Compute sizes of nested messages
6330    #[allow(unused_variables)]
6331    fn compute_size(&self) -> u64 {
6332        let mut my_size = 0;
6333        if let Some(v) = self.browser_handle {
6334            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
6335        }
6336        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6337        self.special_fields.cached_size().set(my_size as u32);
6338        my_size
6339    }
6340
6341    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6342        if let Some(v) = self.browser_handle {
6343            os.write_uint32(1, v)?;
6344        }
6345        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6346        ::std::result::Result::Ok(())
6347    }
6348
6349    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6350        &self.special_fields
6351    }
6352
6353    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6354        &mut self.special_fields
6355    }
6356
6357    fn new() -> CMsgCopy {
6358        CMsgCopy::new()
6359    }
6360
6361    fn clear(&mut self) {
6362        self.browser_handle = ::std::option::Option::None;
6363        self.special_fields.clear();
6364    }
6365
6366    fn default_instance() -> &'static CMsgCopy {
6367        static instance: CMsgCopy = CMsgCopy {
6368            browser_handle: ::std::option::Option::None,
6369            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6370        };
6371        &instance
6372    }
6373}
6374
6375// @@protoc_insertion_point(message:CMsgPaste)
6376#[derive(PartialEq,Clone,Default,Debug)]
6377pub struct CMsgPaste {
6378    // message fields
6379    // @@protoc_insertion_point(field:CMsgPaste.browser_handle)
6380    pub browser_handle: ::std::option::Option<u32>,
6381    // special fields
6382    // @@protoc_insertion_point(special_field:CMsgPaste.special_fields)
6383    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6384}
6385
6386impl<'a> ::std::default::Default for &'a CMsgPaste {
6387    fn default() -> &'a CMsgPaste {
6388        <CMsgPaste as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6389    }
6390}
6391
6392impl CMsgPaste {
6393    pub fn new() -> CMsgPaste {
6394        ::std::default::Default::default()
6395    }
6396
6397    // optional uint32 browser_handle = 1;
6398
6399    pub fn browser_handle(&self) -> u32 {
6400        self.browser_handle.unwrap_or(0)
6401    }
6402
6403    pub fn clear_browser_handle(&mut self) {
6404        self.browser_handle = ::std::option::Option::None;
6405    }
6406
6407    pub fn has_browser_handle(&self) -> bool {
6408        self.browser_handle.is_some()
6409    }
6410
6411    // Param is passed by value, moved
6412    pub fn set_browser_handle(&mut self, v: u32) {
6413        self.browser_handle = ::std::option::Option::Some(v);
6414    }
6415}
6416
6417impl ::steam_vent_proto_common::protobuf::Message for CMsgPaste {
6418    const NAME: &'static str = "CMsgPaste";
6419
6420    fn is_initialized(&self) -> bool {
6421        true
6422    }
6423
6424    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6425        while let Some(tag) = is.read_raw_tag_or_eof()? {
6426            match tag {
6427                8 => {
6428                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
6429                },
6430                tag => {
6431                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6432                },
6433            };
6434        }
6435        ::std::result::Result::Ok(())
6436    }
6437
6438    // Compute sizes of nested messages
6439    #[allow(unused_variables)]
6440    fn compute_size(&self) -> u64 {
6441        let mut my_size = 0;
6442        if let Some(v) = self.browser_handle {
6443            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
6444        }
6445        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6446        self.special_fields.cached_size().set(my_size as u32);
6447        my_size
6448    }
6449
6450    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6451        if let Some(v) = self.browser_handle {
6452            os.write_uint32(1, v)?;
6453        }
6454        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6455        ::std::result::Result::Ok(())
6456    }
6457
6458    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6459        &self.special_fields
6460    }
6461
6462    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6463        &mut self.special_fields
6464    }
6465
6466    fn new() -> CMsgPaste {
6467        CMsgPaste::new()
6468    }
6469
6470    fn clear(&mut self) {
6471        self.browser_handle = ::std::option::Option::None;
6472        self.special_fields.clear();
6473    }
6474
6475    fn default_instance() -> &'static CMsgPaste {
6476        static instance: CMsgPaste = CMsgPaste {
6477            browser_handle: ::std::option::Option::None,
6478            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6479        };
6480        &instance
6481    }
6482}
6483
6484// @@protoc_insertion_point(message:CMsgExecuteJavaScript)
6485#[derive(PartialEq,Clone,Default,Debug)]
6486pub struct CMsgExecuteJavaScript {
6487    // message fields
6488    // @@protoc_insertion_point(field:CMsgExecuteJavaScript.browser_handle)
6489    pub browser_handle: ::std::option::Option<u32>,
6490    // @@protoc_insertion_point(field:CMsgExecuteJavaScript.script)
6491    pub script: ::std::option::Option<::std::string::String>,
6492    // special fields
6493    // @@protoc_insertion_point(special_field:CMsgExecuteJavaScript.special_fields)
6494    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6495}
6496
6497impl<'a> ::std::default::Default for &'a CMsgExecuteJavaScript {
6498    fn default() -> &'a CMsgExecuteJavaScript {
6499        <CMsgExecuteJavaScript as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6500    }
6501}
6502
6503impl CMsgExecuteJavaScript {
6504    pub fn new() -> CMsgExecuteJavaScript {
6505        ::std::default::Default::default()
6506    }
6507
6508    // optional uint32 browser_handle = 1;
6509
6510    pub fn browser_handle(&self) -> u32 {
6511        self.browser_handle.unwrap_or(0)
6512    }
6513
6514    pub fn clear_browser_handle(&mut self) {
6515        self.browser_handle = ::std::option::Option::None;
6516    }
6517
6518    pub fn has_browser_handle(&self) -> bool {
6519        self.browser_handle.is_some()
6520    }
6521
6522    // Param is passed by value, moved
6523    pub fn set_browser_handle(&mut self, v: u32) {
6524        self.browser_handle = ::std::option::Option::Some(v);
6525    }
6526
6527    // optional string script = 2;
6528
6529    pub fn script(&self) -> &str {
6530        match self.script.as_ref() {
6531            Some(v) => v,
6532            None => "",
6533        }
6534    }
6535
6536    pub fn clear_script(&mut self) {
6537        self.script = ::std::option::Option::None;
6538    }
6539
6540    pub fn has_script(&self) -> bool {
6541        self.script.is_some()
6542    }
6543
6544    // Param is passed by value, moved
6545    pub fn set_script(&mut self, v: ::std::string::String) {
6546        self.script = ::std::option::Option::Some(v);
6547    }
6548
6549    // Mutable pointer to the field.
6550    // If field is not initialized, it is initialized with default value first.
6551    pub fn mut_script(&mut self) -> &mut ::std::string::String {
6552        if self.script.is_none() {
6553            self.script = ::std::option::Option::Some(::std::string::String::new());
6554        }
6555        self.script.as_mut().unwrap()
6556    }
6557
6558    // Take field
6559    pub fn take_script(&mut self) -> ::std::string::String {
6560        self.script.take().unwrap_or_else(|| ::std::string::String::new())
6561    }
6562}
6563
6564impl ::steam_vent_proto_common::protobuf::Message for CMsgExecuteJavaScript {
6565    const NAME: &'static str = "CMsgExecuteJavaScript";
6566
6567    fn is_initialized(&self) -> bool {
6568        true
6569    }
6570
6571    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6572        while let Some(tag) = is.read_raw_tag_or_eof()? {
6573            match tag {
6574                8 => {
6575                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
6576                },
6577                18 => {
6578                    self.script = ::std::option::Option::Some(is.read_string()?);
6579                },
6580                tag => {
6581                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6582                },
6583            };
6584        }
6585        ::std::result::Result::Ok(())
6586    }
6587
6588    // Compute sizes of nested messages
6589    #[allow(unused_variables)]
6590    fn compute_size(&self) -> u64 {
6591        let mut my_size = 0;
6592        if let Some(v) = self.browser_handle {
6593            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
6594        }
6595        if let Some(v) = self.script.as_ref() {
6596            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
6597        }
6598        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6599        self.special_fields.cached_size().set(my_size as u32);
6600        my_size
6601    }
6602
6603    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6604        if let Some(v) = self.browser_handle {
6605            os.write_uint32(1, v)?;
6606        }
6607        if let Some(v) = self.script.as_ref() {
6608            os.write_string(2, v)?;
6609        }
6610        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6611        ::std::result::Result::Ok(())
6612    }
6613
6614    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6615        &self.special_fields
6616    }
6617
6618    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6619        &mut self.special_fields
6620    }
6621
6622    fn new() -> CMsgExecuteJavaScript {
6623        CMsgExecuteJavaScript::new()
6624    }
6625
6626    fn clear(&mut self) {
6627        self.browser_handle = ::std::option::Option::None;
6628        self.script = ::std::option::Option::None;
6629        self.special_fields.clear();
6630    }
6631
6632    fn default_instance() -> &'static CMsgExecuteJavaScript {
6633        static instance: CMsgExecuteJavaScript = CMsgExecuteJavaScript {
6634            browser_handle: ::std::option::Option::None,
6635            script: ::std::option::Option::None,
6636            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6637        };
6638        &instance
6639    }
6640}
6641
6642// @@protoc_insertion_point(message:CMsgSetFocus)
6643#[derive(PartialEq,Clone,Default,Debug)]
6644pub struct CMsgSetFocus {
6645    // message fields
6646    // @@protoc_insertion_point(field:CMsgSetFocus.browser_handle)
6647    pub browser_handle: ::std::option::Option<u32>,
6648    // @@protoc_insertion_point(field:CMsgSetFocus.focus)
6649    pub focus: ::std::option::Option<bool>,
6650    // special fields
6651    // @@protoc_insertion_point(special_field:CMsgSetFocus.special_fields)
6652    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6653}
6654
6655impl<'a> ::std::default::Default for &'a CMsgSetFocus {
6656    fn default() -> &'a CMsgSetFocus {
6657        <CMsgSetFocus as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6658    }
6659}
6660
6661impl CMsgSetFocus {
6662    pub fn new() -> CMsgSetFocus {
6663        ::std::default::Default::default()
6664    }
6665
6666    // optional uint32 browser_handle = 1;
6667
6668    pub fn browser_handle(&self) -> u32 {
6669        self.browser_handle.unwrap_or(0)
6670    }
6671
6672    pub fn clear_browser_handle(&mut self) {
6673        self.browser_handle = ::std::option::Option::None;
6674    }
6675
6676    pub fn has_browser_handle(&self) -> bool {
6677        self.browser_handle.is_some()
6678    }
6679
6680    // Param is passed by value, moved
6681    pub fn set_browser_handle(&mut self, v: u32) {
6682        self.browser_handle = ::std::option::Option::Some(v);
6683    }
6684
6685    // optional bool focus = 2;
6686
6687    pub fn focus(&self) -> bool {
6688        self.focus.unwrap_or(false)
6689    }
6690
6691    pub fn clear_focus(&mut self) {
6692        self.focus = ::std::option::Option::None;
6693    }
6694
6695    pub fn has_focus(&self) -> bool {
6696        self.focus.is_some()
6697    }
6698
6699    // Param is passed by value, moved
6700    pub fn set_focus(&mut self, v: bool) {
6701        self.focus = ::std::option::Option::Some(v);
6702    }
6703}
6704
6705impl ::steam_vent_proto_common::protobuf::Message for CMsgSetFocus {
6706    const NAME: &'static str = "CMsgSetFocus";
6707
6708    fn is_initialized(&self) -> bool {
6709        true
6710    }
6711
6712    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6713        while let Some(tag) = is.read_raw_tag_or_eof()? {
6714            match tag {
6715                8 => {
6716                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
6717                },
6718                16 => {
6719                    self.focus = ::std::option::Option::Some(is.read_bool()?);
6720                },
6721                tag => {
6722                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6723                },
6724            };
6725        }
6726        ::std::result::Result::Ok(())
6727    }
6728
6729    // Compute sizes of nested messages
6730    #[allow(unused_variables)]
6731    fn compute_size(&self) -> u64 {
6732        let mut my_size = 0;
6733        if let Some(v) = self.browser_handle {
6734            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
6735        }
6736        if let Some(v) = self.focus {
6737            my_size += 1 + 1;
6738        }
6739        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6740        self.special_fields.cached_size().set(my_size as u32);
6741        my_size
6742    }
6743
6744    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6745        if let Some(v) = self.browser_handle {
6746            os.write_uint32(1, v)?;
6747        }
6748        if let Some(v) = self.focus {
6749            os.write_bool(2, v)?;
6750        }
6751        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6752        ::std::result::Result::Ok(())
6753    }
6754
6755    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6756        &self.special_fields
6757    }
6758
6759    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6760        &mut self.special_fields
6761    }
6762
6763    fn new() -> CMsgSetFocus {
6764        CMsgSetFocus::new()
6765    }
6766
6767    fn clear(&mut self) {
6768        self.browser_handle = ::std::option::Option::None;
6769        self.focus = ::std::option::Option::None;
6770        self.special_fields.clear();
6771    }
6772
6773    fn default_instance() -> &'static CMsgSetFocus {
6774        static instance: CMsgSetFocus = CMsgSetFocus {
6775            browser_handle: ::std::option::Option::None,
6776            focus: ::std::option::Option::None,
6777            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6778        };
6779        &instance
6780    }
6781}
6782
6783// @@protoc_insertion_point(message:CMsgHorizontalScrollBarSize)
6784#[derive(PartialEq,Clone,Default,Debug)]
6785pub struct CMsgHorizontalScrollBarSize {
6786    // message fields
6787    // @@protoc_insertion_point(field:CMsgHorizontalScrollBarSize.browser_handle)
6788    pub browser_handle: ::std::option::Option<u32>,
6789    // special fields
6790    // @@protoc_insertion_point(special_field:CMsgHorizontalScrollBarSize.special_fields)
6791    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6792}
6793
6794impl<'a> ::std::default::Default for &'a CMsgHorizontalScrollBarSize {
6795    fn default() -> &'a CMsgHorizontalScrollBarSize {
6796        <CMsgHorizontalScrollBarSize as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6797    }
6798}
6799
6800impl CMsgHorizontalScrollBarSize {
6801    pub fn new() -> CMsgHorizontalScrollBarSize {
6802        ::std::default::Default::default()
6803    }
6804
6805    // optional uint32 browser_handle = 1;
6806
6807    pub fn browser_handle(&self) -> u32 {
6808        self.browser_handle.unwrap_or(0)
6809    }
6810
6811    pub fn clear_browser_handle(&mut self) {
6812        self.browser_handle = ::std::option::Option::None;
6813    }
6814
6815    pub fn has_browser_handle(&self) -> bool {
6816        self.browser_handle.is_some()
6817    }
6818
6819    // Param is passed by value, moved
6820    pub fn set_browser_handle(&mut self, v: u32) {
6821        self.browser_handle = ::std::option::Option::Some(v);
6822    }
6823}
6824
6825impl ::steam_vent_proto_common::protobuf::Message for CMsgHorizontalScrollBarSize {
6826    const NAME: &'static str = "CMsgHorizontalScrollBarSize";
6827
6828    fn is_initialized(&self) -> bool {
6829        true
6830    }
6831
6832    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6833        while let Some(tag) = is.read_raw_tag_or_eof()? {
6834            match tag {
6835                8 => {
6836                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
6837                },
6838                tag => {
6839                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6840                },
6841            };
6842        }
6843        ::std::result::Result::Ok(())
6844    }
6845
6846    // Compute sizes of nested messages
6847    #[allow(unused_variables)]
6848    fn compute_size(&self) -> u64 {
6849        let mut my_size = 0;
6850        if let Some(v) = self.browser_handle {
6851            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
6852        }
6853        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6854        self.special_fields.cached_size().set(my_size as u32);
6855        my_size
6856    }
6857
6858    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6859        if let Some(v) = self.browser_handle {
6860            os.write_uint32(1, v)?;
6861        }
6862        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6863        ::std::result::Result::Ok(())
6864    }
6865
6866    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6867        &self.special_fields
6868    }
6869
6870    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6871        &mut self.special_fields
6872    }
6873
6874    fn new() -> CMsgHorizontalScrollBarSize {
6875        CMsgHorizontalScrollBarSize::new()
6876    }
6877
6878    fn clear(&mut self) {
6879        self.browser_handle = ::std::option::Option::None;
6880        self.special_fields.clear();
6881    }
6882
6883    fn default_instance() -> &'static CMsgHorizontalScrollBarSize {
6884        static instance: CMsgHorizontalScrollBarSize = CMsgHorizontalScrollBarSize {
6885            browser_handle: ::std::option::Option::None,
6886            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6887        };
6888        &instance
6889    }
6890}
6891
6892// @@protoc_insertion_point(message:CMsgHorizontalScrollBarSizeResponse)
6893#[derive(PartialEq,Clone,Default,Debug)]
6894pub struct CMsgHorizontalScrollBarSizeResponse {
6895    // message fields
6896    // @@protoc_insertion_point(field:CMsgHorizontalScrollBarSizeResponse.browser_handle)
6897    pub browser_handle: ::std::option::Option<u32>,
6898    // @@protoc_insertion_point(field:CMsgHorizontalScrollBarSizeResponse.scroll_max)
6899    pub scroll_max: ::std::option::Option<u32>,
6900    // @@protoc_insertion_point(field:CMsgHorizontalScrollBarSizeResponse.scroll)
6901    pub scroll: ::std::option::Option<u32>,
6902    // @@protoc_insertion_point(field:CMsgHorizontalScrollBarSizeResponse.zoom)
6903    pub zoom: ::std::option::Option<f32>,
6904    // @@protoc_insertion_point(field:CMsgHorizontalScrollBarSizeResponse.visible)
6905    pub visible: ::std::option::Option<bool>,
6906    // @@protoc_insertion_point(field:CMsgHorizontalScrollBarSizeResponse.page_size)
6907    pub page_size: ::std::option::Option<u32>,
6908    // special fields
6909    // @@protoc_insertion_point(special_field:CMsgHorizontalScrollBarSizeResponse.special_fields)
6910    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6911}
6912
6913impl<'a> ::std::default::Default for &'a CMsgHorizontalScrollBarSizeResponse {
6914    fn default() -> &'a CMsgHorizontalScrollBarSizeResponse {
6915        <CMsgHorizontalScrollBarSizeResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6916    }
6917}
6918
6919impl CMsgHorizontalScrollBarSizeResponse {
6920    pub fn new() -> CMsgHorizontalScrollBarSizeResponse {
6921        ::std::default::Default::default()
6922    }
6923
6924    // optional uint32 browser_handle = 1;
6925
6926    pub fn browser_handle(&self) -> u32 {
6927        self.browser_handle.unwrap_or(0)
6928    }
6929
6930    pub fn clear_browser_handle(&mut self) {
6931        self.browser_handle = ::std::option::Option::None;
6932    }
6933
6934    pub fn has_browser_handle(&self) -> bool {
6935        self.browser_handle.is_some()
6936    }
6937
6938    // Param is passed by value, moved
6939    pub fn set_browser_handle(&mut self, v: u32) {
6940        self.browser_handle = ::std::option::Option::Some(v);
6941    }
6942
6943    // optional uint32 scroll_max = 6;
6944
6945    pub fn scroll_max(&self) -> u32 {
6946        self.scroll_max.unwrap_or(0)
6947    }
6948
6949    pub fn clear_scroll_max(&mut self) {
6950        self.scroll_max = ::std::option::Option::None;
6951    }
6952
6953    pub fn has_scroll_max(&self) -> bool {
6954        self.scroll_max.is_some()
6955    }
6956
6957    // Param is passed by value, moved
6958    pub fn set_scroll_max(&mut self, v: u32) {
6959        self.scroll_max = ::std::option::Option::Some(v);
6960    }
6961
6962    // optional uint32 scroll = 7;
6963
6964    pub fn scroll(&self) -> u32 {
6965        self.scroll.unwrap_or(0)
6966    }
6967
6968    pub fn clear_scroll(&mut self) {
6969        self.scroll = ::std::option::Option::None;
6970    }
6971
6972    pub fn has_scroll(&self) -> bool {
6973        self.scroll.is_some()
6974    }
6975
6976    // Param is passed by value, moved
6977    pub fn set_scroll(&mut self, v: u32) {
6978        self.scroll = ::std::option::Option::Some(v);
6979    }
6980
6981    // optional float zoom = 8;
6982
6983    pub fn zoom(&self) -> f32 {
6984        self.zoom.unwrap_or(0.)
6985    }
6986
6987    pub fn clear_zoom(&mut self) {
6988        self.zoom = ::std::option::Option::None;
6989    }
6990
6991    pub fn has_zoom(&self) -> bool {
6992        self.zoom.is_some()
6993    }
6994
6995    // Param is passed by value, moved
6996    pub fn set_zoom(&mut self, v: f32) {
6997        self.zoom = ::std::option::Option::Some(v);
6998    }
6999
7000    // optional bool visible = 9;
7001
7002    pub fn visible(&self) -> bool {
7003        self.visible.unwrap_or(false)
7004    }
7005
7006    pub fn clear_visible(&mut self) {
7007        self.visible = ::std::option::Option::None;
7008    }
7009
7010    pub fn has_visible(&self) -> bool {
7011        self.visible.is_some()
7012    }
7013
7014    // Param is passed by value, moved
7015    pub fn set_visible(&mut self, v: bool) {
7016        self.visible = ::std::option::Option::Some(v);
7017    }
7018
7019    // optional uint32 page_size = 10;
7020
7021    pub fn page_size(&self) -> u32 {
7022        self.page_size.unwrap_or(0)
7023    }
7024
7025    pub fn clear_page_size(&mut self) {
7026        self.page_size = ::std::option::Option::None;
7027    }
7028
7029    pub fn has_page_size(&self) -> bool {
7030        self.page_size.is_some()
7031    }
7032
7033    // Param is passed by value, moved
7034    pub fn set_page_size(&mut self, v: u32) {
7035        self.page_size = ::std::option::Option::Some(v);
7036    }
7037}
7038
7039impl ::steam_vent_proto_common::protobuf::Message for CMsgHorizontalScrollBarSizeResponse {
7040    const NAME: &'static str = "CMsgHorizontalScrollBarSizeResponse";
7041
7042    fn is_initialized(&self) -> bool {
7043        true
7044    }
7045
7046    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7047        while let Some(tag) = is.read_raw_tag_or_eof()? {
7048            match tag {
7049                8 => {
7050                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
7051                },
7052                48 => {
7053                    self.scroll_max = ::std::option::Option::Some(is.read_uint32()?);
7054                },
7055                56 => {
7056                    self.scroll = ::std::option::Option::Some(is.read_uint32()?);
7057                },
7058                69 => {
7059                    self.zoom = ::std::option::Option::Some(is.read_float()?);
7060                },
7061                72 => {
7062                    self.visible = ::std::option::Option::Some(is.read_bool()?);
7063                },
7064                80 => {
7065                    self.page_size = ::std::option::Option::Some(is.read_uint32()?);
7066                },
7067                tag => {
7068                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7069                },
7070            };
7071        }
7072        ::std::result::Result::Ok(())
7073    }
7074
7075    // Compute sizes of nested messages
7076    #[allow(unused_variables)]
7077    fn compute_size(&self) -> u64 {
7078        let mut my_size = 0;
7079        if let Some(v) = self.browser_handle {
7080            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
7081        }
7082        if let Some(v) = self.scroll_max {
7083            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
7084        }
7085        if let Some(v) = self.scroll {
7086            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
7087        }
7088        if let Some(v) = self.zoom {
7089            my_size += 1 + 4;
7090        }
7091        if let Some(v) = self.visible {
7092            my_size += 1 + 1;
7093        }
7094        if let Some(v) = self.page_size {
7095            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(10, v);
7096        }
7097        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7098        self.special_fields.cached_size().set(my_size as u32);
7099        my_size
7100    }
7101
7102    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7103        if let Some(v) = self.browser_handle {
7104            os.write_uint32(1, v)?;
7105        }
7106        if let Some(v) = self.scroll_max {
7107            os.write_uint32(6, v)?;
7108        }
7109        if let Some(v) = self.scroll {
7110            os.write_uint32(7, v)?;
7111        }
7112        if let Some(v) = self.zoom {
7113            os.write_float(8, v)?;
7114        }
7115        if let Some(v) = self.visible {
7116            os.write_bool(9, v)?;
7117        }
7118        if let Some(v) = self.page_size {
7119            os.write_uint32(10, v)?;
7120        }
7121        os.write_unknown_fields(self.special_fields.unknown_fields())?;
7122        ::std::result::Result::Ok(())
7123    }
7124
7125    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7126        &self.special_fields
7127    }
7128
7129    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7130        &mut self.special_fields
7131    }
7132
7133    fn new() -> CMsgHorizontalScrollBarSizeResponse {
7134        CMsgHorizontalScrollBarSizeResponse::new()
7135    }
7136
7137    fn clear(&mut self) {
7138        self.browser_handle = ::std::option::Option::None;
7139        self.scroll_max = ::std::option::Option::None;
7140        self.scroll = ::std::option::Option::None;
7141        self.zoom = ::std::option::Option::None;
7142        self.visible = ::std::option::Option::None;
7143        self.page_size = ::std::option::Option::None;
7144        self.special_fields.clear();
7145    }
7146
7147    fn default_instance() -> &'static CMsgHorizontalScrollBarSizeResponse {
7148        static instance: CMsgHorizontalScrollBarSizeResponse = CMsgHorizontalScrollBarSizeResponse {
7149            browser_handle: ::std::option::Option::None,
7150            scroll_max: ::std::option::Option::None,
7151            scroll: ::std::option::Option::None,
7152            zoom: ::std::option::Option::None,
7153            visible: ::std::option::Option::None,
7154            page_size: ::std::option::Option::None,
7155            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7156        };
7157        &instance
7158    }
7159}
7160
7161// @@protoc_insertion_point(message:CMsgVerticalScrollBarSize)
7162#[derive(PartialEq,Clone,Default,Debug)]
7163pub struct CMsgVerticalScrollBarSize {
7164    // message fields
7165    // @@protoc_insertion_point(field:CMsgVerticalScrollBarSize.browser_handle)
7166    pub browser_handle: ::std::option::Option<u32>,
7167    // special fields
7168    // @@protoc_insertion_point(special_field:CMsgVerticalScrollBarSize.special_fields)
7169    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7170}
7171
7172impl<'a> ::std::default::Default for &'a CMsgVerticalScrollBarSize {
7173    fn default() -> &'a CMsgVerticalScrollBarSize {
7174        <CMsgVerticalScrollBarSize as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7175    }
7176}
7177
7178impl CMsgVerticalScrollBarSize {
7179    pub fn new() -> CMsgVerticalScrollBarSize {
7180        ::std::default::Default::default()
7181    }
7182
7183    // optional uint32 browser_handle = 1;
7184
7185    pub fn browser_handle(&self) -> u32 {
7186        self.browser_handle.unwrap_or(0)
7187    }
7188
7189    pub fn clear_browser_handle(&mut self) {
7190        self.browser_handle = ::std::option::Option::None;
7191    }
7192
7193    pub fn has_browser_handle(&self) -> bool {
7194        self.browser_handle.is_some()
7195    }
7196
7197    // Param is passed by value, moved
7198    pub fn set_browser_handle(&mut self, v: u32) {
7199        self.browser_handle = ::std::option::Option::Some(v);
7200    }
7201}
7202
7203impl ::steam_vent_proto_common::protobuf::Message for CMsgVerticalScrollBarSize {
7204    const NAME: &'static str = "CMsgVerticalScrollBarSize";
7205
7206    fn is_initialized(&self) -> bool {
7207        true
7208    }
7209
7210    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7211        while let Some(tag) = is.read_raw_tag_or_eof()? {
7212            match tag {
7213                8 => {
7214                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
7215                },
7216                tag => {
7217                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7218                },
7219            };
7220        }
7221        ::std::result::Result::Ok(())
7222    }
7223
7224    // Compute sizes of nested messages
7225    #[allow(unused_variables)]
7226    fn compute_size(&self) -> u64 {
7227        let mut my_size = 0;
7228        if let Some(v) = self.browser_handle {
7229            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
7230        }
7231        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7232        self.special_fields.cached_size().set(my_size as u32);
7233        my_size
7234    }
7235
7236    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7237        if let Some(v) = self.browser_handle {
7238            os.write_uint32(1, v)?;
7239        }
7240        os.write_unknown_fields(self.special_fields.unknown_fields())?;
7241        ::std::result::Result::Ok(())
7242    }
7243
7244    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7245        &self.special_fields
7246    }
7247
7248    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7249        &mut self.special_fields
7250    }
7251
7252    fn new() -> CMsgVerticalScrollBarSize {
7253        CMsgVerticalScrollBarSize::new()
7254    }
7255
7256    fn clear(&mut self) {
7257        self.browser_handle = ::std::option::Option::None;
7258        self.special_fields.clear();
7259    }
7260
7261    fn default_instance() -> &'static CMsgVerticalScrollBarSize {
7262        static instance: CMsgVerticalScrollBarSize = CMsgVerticalScrollBarSize {
7263            browser_handle: ::std::option::Option::None,
7264            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7265        };
7266        &instance
7267    }
7268}
7269
7270// @@protoc_insertion_point(message:CMsgVerticalScrollBarSizeResponse)
7271#[derive(PartialEq,Clone,Default,Debug)]
7272pub struct CMsgVerticalScrollBarSizeResponse {
7273    // message fields
7274    // @@protoc_insertion_point(field:CMsgVerticalScrollBarSizeResponse.browser_handle)
7275    pub browser_handle: ::std::option::Option<u32>,
7276    // @@protoc_insertion_point(field:CMsgVerticalScrollBarSizeResponse.scroll_max)
7277    pub scroll_max: ::std::option::Option<u32>,
7278    // @@protoc_insertion_point(field:CMsgVerticalScrollBarSizeResponse.scroll)
7279    pub scroll: ::std::option::Option<u32>,
7280    // @@protoc_insertion_point(field:CMsgVerticalScrollBarSizeResponse.zoom)
7281    pub zoom: ::std::option::Option<f32>,
7282    // @@protoc_insertion_point(field:CMsgVerticalScrollBarSizeResponse.visible)
7283    pub visible: ::std::option::Option<bool>,
7284    // @@protoc_insertion_point(field:CMsgVerticalScrollBarSizeResponse.page_size)
7285    pub page_size: ::std::option::Option<u32>,
7286    // special fields
7287    // @@protoc_insertion_point(special_field:CMsgVerticalScrollBarSizeResponse.special_fields)
7288    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7289}
7290
7291impl<'a> ::std::default::Default for &'a CMsgVerticalScrollBarSizeResponse {
7292    fn default() -> &'a CMsgVerticalScrollBarSizeResponse {
7293        <CMsgVerticalScrollBarSizeResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7294    }
7295}
7296
7297impl CMsgVerticalScrollBarSizeResponse {
7298    pub fn new() -> CMsgVerticalScrollBarSizeResponse {
7299        ::std::default::Default::default()
7300    }
7301
7302    // optional uint32 browser_handle = 1;
7303
7304    pub fn browser_handle(&self) -> u32 {
7305        self.browser_handle.unwrap_or(0)
7306    }
7307
7308    pub fn clear_browser_handle(&mut self) {
7309        self.browser_handle = ::std::option::Option::None;
7310    }
7311
7312    pub fn has_browser_handle(&self) -> bool {
7313        self.browser_handle.is_some()
7314    }
7315
7316    // Param is passed by value, moved
7317    pub fn set_browser_handle(&mut self, v: u32) {
7318        self.browser_handle = ::std::option::Option::Some(v);
7319    }
7320
7321    // optional uint32 scroll_max = 6;
7322
7323    pub fn scroll_max(&self) -> u32 {
7324        self.scroll_max.unwrap_or(0)
7325    }
7326
7327    pub fn clear_scroll_max(&mut self) {
7328        self.scroll_max = ::std::option::Option::None;
7329    }
7330
7331    pub fn has_scroll_max(&self) -> bool {
7332        self.scroll_max.is_some()
7333    }
7334
7335    // Param is passed by value, moved
7336    pub fn set_scroll_max(&mut self, v: u32) {
7337        self.scroll_max = ::std::option::Option::Some(v);
7338    }
7339
7340    // optional uint32 scroll = 7;
7341
7342    pub fn scroll(&self) -> u32 {
7343        self.scroll.unwrap_or(0)
7344    }
7345
7346    pub fn clear_scroll(&mut self) {
7347        self.scroll = ::std::option::Option::None;
7348    }
7349
7350    pub fn has_scroll(&self) -> bool {
7351        self.scroll.is_some()
7352    }
7353
7354    // Param is passed by value, moved
7355    pub fn set_scroll(&mut self, v: u32) {
7356        self.scroll = ::std::option::Option::Some(v);
7357    }
7358
7359    // optional float zoom = 8;
7360
7361    pub fn zoom(&self) -> f32 {
7362        self.zoom.unwrap_or(0.)
7363    }
7364
7365    pub fn clear_zoom(&mut self) {
7366        self.zoom = ::std::option::Option::None;
7367    }
7368
7369    pub fn has_zoom(&self) -> bool {
7370        self.zoom.is_some()
7371    }
7372
7373    // Param is passed by value, moved
7374    pub fn set_zoom(&mut self, v: f32) {
7375        self.zoom = ::std::option::Option::Some(v);
7376    }
7377
7378    // optional bool visible = 9;
7379
7380    pub fn visible(&self) -> bool {
7381        self.visible.unwrap_or(false)
7382    }
7383
7384    pub fn clear_visible(&mut self) {
7385        self.visible = ::std::option::Option::None;
7386    }
7387
7388    pub fn has_visible(&self) -> bool {
7389        self.visible.is_some()
7390    }
7391
7392    // Param is passed by value, moved
7393    pub fn set_visible(&mut self, v: bool) {
7394        self.visible = ::std::option::Option::Some(v);
7395    }
7396
7397    // optional uint32 page_size = 10;
7398
7399    pub fn page_size(&self) -> u32 {
7400        self.page_size.unwrap_or(0)
7401    }
7402
7403    pub fn clear_page_size(&mut self) {
7404        self.page_size = ::std::option::Option::None;
7405    }
7406
7407    pub fn has_page_size(&self) -> bool {
7408        self.page_size.is_some()
7409    }
7410
7411    // Param is passed by value, moved
7412    pub fn set_page_size(&mut self, v: u32) {
7413        self.page_size = ::std::option::Option::Some(v);
7414    }
7415}
7416
7417impl ::steam_vent_proto_common::protobuf::Message for CMsgVerticalScrollBarSizeResponse {
7418    const NAME: &'static str = "CMsgVerticalScrollBarSizeResponse";
7419
7420    fn is_initialized(&self) -> bool {
7421        true
7422    }
7423
7424    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7425        while let Some(tag) = is.read_raw_tag_or_eof()? {
7426            match tag {
7427                8 => {
7428                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
7429                },
7430                48 => {
7431                    self.scroll_max = ::std::option::Option::Some(is.read_uint32()?);
7432                },
7433                56 => {
7434                    self.scroll = ::std::option::Option::Some(is.read_uint32()?);
7435                },
7436                69 => {
7437                    self.zoom = ::std::option::Option::Some(is.read_float()?);
7438                },
7439                72 => {
7440                    self.visible = ::std::option::Option::Some(is.read_bool()?);
7441                },
7442                80 => {
7443                    self.page_size = ::std::option::Option::Some(is.read_uint32()?);
7444                },
7445                tag => {
7446                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7447                },
7448            };
7449        }
7450        ::std::result::Result::Ok(())
7451    }
7452
7453    // Compute sizes of nested messages
7454    #[allow(unused_variables)]
7455    fn compute_size(&self) -> u64 {
7456        let mut my_size = 0;
7457        if let Some(v) = self.browser_handle {
7458            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
7459        }
7460        if let Some(v) = self.scroll_max {
7461            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
7462        }
7463        if let Some(v) = self.scroll {
7464            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
7465        }
7466        if let Some(v) = self.zoom {
7467            my_size += 1 + 4;
7468        }
7469        if let Some(v) = self.visible {
7470            my_size += 1 + 1;
7471        }
7472        if let Some(v) = self.page_size {
7473            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(10, v);
7474        }
7475        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7476        self.special_fields.cached_size().set(my_size as u32);
7477        my_size
7478    }
7479
7480    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7481        if let Some(v) = self.browser_handle {
7482            os.write_uint32(1, v)?;
7483        }
7484        if let Some(v) = self.scroll_max {
7485            os.write_uint32(6, v)?;
7486        }
7487        if let Some(v) = self.scroll {
7488            os.write_uint32(7, v)?;
7489        }
7490        if let Some(v) = self.zoom {
7491            os.write_float(8, v)?;
7492        }
7493        if let Some(v) = self.visible {
7494            os.write_bool(9, v)?;
7495        }
7496        if let Some(v) = self.page_size {
7497            os.write_uint32(10, v)?;
7498        }
7499        os.write_unknown_fields(self.special_fields.unknown_fields())?;
7500        ::std::result::Result::Ok(())
7501    }
7502
7503    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7504        &self.special_fields
7505    }
7506
7507    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7508        &mut self.special_fields
7509    }
7510
7511    fn new() -> CMsgVerticalScrollBarSizeResponse {
7512        CMsgVerticalScrollBarSizeResponse::new()
7513    }
7514
7515    fn clear(&mut self) {
7516        self.browser_handle = ::std::option::Option::None;
7517        self.scroll_max = ::std::option::Option::None;
7518        self.scroll = ::std::option::Option::None;
7519        self.zoom = ::std::option::Option::None;
7520        self.visible = ::std::option::Option::None;
7521        self.page_size = ::std::option::Option::None;
7522        self.special_fields.clear();
7523    }
7524
7525    fn default_instance() -> &'static CMsgVerticalScrollBarSizeResponse {
7526        static instance: CMsgVerticalScrollBarSizeResponse = CMsgVerticalScrollBarSizeResponse {
7527            browser_handle: ::std::option::Option::None,
7528            scroll_max: ::std::option::Option::None,
7529            scroll: ::std::option::Option::None,
7530            zoom: ::std::option::Option::None,
7531            visible: ::std::option::Option::None,
7532            page_size: ::std::option::Option::None,
7533            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7534        };
7535        &instance
7536    }
7537}
7538
7539// @@protoc_insertion_point(message:CMsgFind)
7540#[derive(PartialEq,Clone,Default,Debug)]
7541pub struct CMsgFind {
7542    // message fields
7543    // @@protoc_insertion_point(field:CMsgFind.browser_handle)
7544    pub browser_handle: ::std::option::Option<u32>,
7545    // @@protoc_insertion_point(field:CMsgFind.find)
7546    pub find: ::std::option::Option<::std::string::String>,
7547    // @@protoc_insertion_point(field:CMsgFind.infind)
7548    pub infind: ::std::option::Option<bool>,
7549    // @@protoc_insertion_point(field:CMsgFind.reverse)
7550    pub reverse: ::std::option::Option<bool>,
7551    // special fields
7552    // @@protoc_insertion_point(special_field:CMsgFind.special_fields)
7553    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7554}
7555
7556impl<'a> ::std::default::Default for &'a CMsgFind {
7557    fn default() -> &'a CMsgFind {
7558        <CMsgFind as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7559    }
7560}
7561
7562impl CMsgFind {
7563    pub fn new() -> CMsgFind {
7564        ::std::default::Default::default()
7565    }
7566
7567    // optional uint32 browser_handle = 1;
7568
7569    pub fn browser_handle(&self) -> u32 {
7570        self.browser_handle.unwrap_or(0)
7571    }
7572
7573    pub fn clear_browser_handle(&mut self) {
7574        self.browser_handle = ::std::option::Option::None;
7575    }
7576
7577    pub fn has_browser_handle(&self) -> bool {
7578        self.browser_handle.is_some()
7579    }
7580
7581    // Param is passed by value, moved
7582    pub fn set_browser_handle(&mut self, v: u32) {
7583        self.browser_handle = ::std::option::Option::Some(v);
7584    }
7585
7586    // optional string find = 2;
7587
7588    pub fn find(&self) -> &str {
7589        match self.find.as_ref() {
7590            Some(v) => v,
7591            None => "",
7592        }
7593    }
7594
7595    pub fn clear_find(&mut self) {
7596        self.find = ::std::option::Option::None;
7597    }
7598
7599    pub fn has_find(&self) -> bool {
7600        self.find.is_some()
7601    }
7602
7603    // Param is passed by value, moved
7604    pub fn set_find(&mut self, v: ::std::string::String) {
7605        self.find = ::std::option::Option::Some(v);
7606    }
7607
7608    // Mutable pointer to the field.
7609    // If field is not initialized, it is initialized with default value first.
7610    pub fn mut_find(&mut self) -> &mut ::std::string::String {
7611        if self.find.is_none() {
7612            self.find = ::std::option::Option::Some(::std::string::String::new());
7613        }
7614        self.find.as_mut().unwrap()
7615    }
7616
7617    // Take field
7618    pub fn take_find(&mut self) -> ::std::string::String {
7619        self.find.take().unwrap_or_else(|| ::std::string::String::new())
7620    }
7621
7622    // optional bool infind = 3;
7623
7624    pub fn infind(&self) -> bool {
7625        self.infind.unwrap_or(false)
7626    }
7627
7628    pub fn clear_infind(&mut self) {
7629        self.infind = ::std::option::Option::None;
7630    }
7631
7632    pub fn has_infind(&self) -> bool {
7633        self.infind.is_some()
7634    }
7635
7636    // Param is passed by value, moved
7637    pub fn set_infind(&mut self, v: bool) {
7638        self.infind = ::std::option::Option::Some(v);
7639    }
7640
7641    // optional bool reverse = 4;
7642
7643    pub fn reverse(&self) -> bool {
7644        self.reverse.unwrap_or(false)
7645    }
7646
7647    pub fn clear_reverse(&mut self) {
7648        self.reverse = ::std::option::Option::None;
7649    }
7650
7651    pub fn has_reverse(&self) -> bool {
7652        self.reverse.is_some()
7653    }
7654
7655    // Param is passed by value, moved
7656    pub fn set_reverse(&mut self, v: bool) {
7657        self.reverse = ::std::option::Option::Some(v);
7658    }
7659}
7660
7661impl ::steam_vent_proto_common::protobuf::Message for CMsgFind {
7662    const NAME: &'static str = "CMsgFind";
7663
7664    fn is_initialized(&self) -> bool {
7665        true
7666    }
7667
7668    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7669        while let Some(tag) = is.read_raw_tag_or_eof()? {
7670            match tag {
7671                8 => {
7672                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
7673                },
7674                18 => {
7675                    self.find = ::std::option::Option::Some(is.read_string()?);
7676                },
7677                24 => {
7678                    self.infind = ::std::option::Option::Some(is.read_bool()?);
7679                },
7680                32 => {
7681                    self.reverse = ::std::option::Option::Some(is.read_bool()?);
7682                },
7683                tag => {
7684                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7685                },
7686            };
7687        }
7688        ::std::result::Result::Ok(())
7689    }
7690
7691    // Compute sizes of nested messages
7692    #[allow(unused_variables)]
7693    fn compute_size(&self) -> u64 {
7694        let mut my_size = 0;
7695        if let Some(v) = self.browser_handle {
7696            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
7697        }
7698        if let Some(v) = self.find.as_ref() {
7699            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
7700        }
7701        if let Some(v) = self.infind {
7702            my_size += 1 + 1;
7703        }
7704        if let Some(v) = self.reverse {
7705            my_size += 1 + 1;
7706        }
7707        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7708        self.special_fields.cached_size().set(my_size as u32);
7709        my_size
7710    }
7711
7712    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7713        if let Some(v) = self.browser_handle {
7714            os.write_uint32(1, v)?;
7715        }
7716        if let Some(v) = self.find.as_ref() {
7717            os.write_string(2, v)?;
7718        }
7719        if let Some(v) = self.infind {
7720            os.write_bool(3, v)?;
7721        }
7722        if let Some(v) = self.reverse {
7723            os.write_bool(4, v)?;
7724        }
7725        os.write_unknown_fields(self.special_fields.unknown_fields())?;
7726        ::std::result::Result::Ok(())
7727    }
7728
7729    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7730        &self.special_fields
7731    }
7732
7733    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7734        &mut self.special_fields
7735    }
7736
7737    fn new() -> CMsgFind {
7738        CMsgFind::new()
7739    }
7740
7741    fn clear(&mut self) {
7742        self.browser_handle = ::std::option::Option::None;
7743        self.find = ::std::option::Option::None;
7744        self.infind = ::std::option::Option::None;
7745        self.reverse = ::std::option::Option::None;
7746        self.special_fields.clear();
7747    }
7748
7749    fn default_instance() -> &'static CMsgFind {
7750        static instance: CMsgFind = CMsgFind {
7751            browser_handle: ::std::option::Option::None,
7752            find: ::std::option::Option::None,
7753            infind: ::std::option::Option::None,
7754            reverse: ::std::option::Option::None,
7755            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7756        };
7757        &instance
7758    }
7759}
7760
7761// @@protoc_insertion_point(message:CMsgStopFind)
7762#[derive(PartialEq,Clone,Default,Debug)]
7763pub struct CMsgStopFind {
7764    // message fields
7765    // @@protoc_insertion_point(field:CMsgStopFind.browser_handle)
7766    pub browser_handle: ::std::option::Option<u32>,
7767    // special fields
7768    // @@protoc_insertion_point(special_field:CMsgStopFind.special_fields)
7769    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7770}
7771
7772impl<'a> ::std::default::Default for &'a CMsgStopFind {
7773    fn default() -> &'a CMsgStopFind {
7774        <CMsgStopFind as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7775    }
7776}
7777
7778impl CMsgStopFind {
7779    pub fn new() -> CMsgStopFind {
7780        ::std::default::Default::default()
7781    }
7782
7783    // optional uint32 browser_handle = 1;
7784
7785    pub fn browser_handle(&self) -> u32 {
7786        self.browser_handle.unwrap_or(0)
7787    }
7788
7789    pub fn clear_browser_handle(&mut self) {
7790        self.browser_handle = ::std::option::Option::None;
7791    }
7792
7793    pub fn has_browser_handle(&self) -> bool {
7794        self.browser_handle.is_some()
7795    }
7796
7797    // Param is passed by value, moved
7798    pub fn set_browser_handle(&mut self, v: u32) {
7799        self.browser_handle = ::std::option::Option::Some(v);
7800    }
7801}
7802
7803impl ::steam_vent_proto_common::protobuf::Message for CMsgStopFind {
7804    const NAME: &'static str = "CMsgStopFind";
7805
7806    fn is_initialized(&self) -> bool {
7807        true
7808    }
7809
7810    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7811        while let Some(tag) = is.read_raw_tag_or_eof()? {
7812            match tag {
7813                8 => {
7814                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
7815                },
7816                tag => {
7817                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7818                },
7819            };
7820        }
7821        ::std::result::Result::Ok(())
7822    }
7823
7824    // Compute sizes of nested messages
7825    #[allow(unused_variables)]
7826    fn compute_size(&self) -> u64 {
7827        let mut my_size = 0;
7828        if let Some(v) = self.browser_handle {
7829            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
7830        }
7831        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7832        self.special_fields.cached_size().set(my_size as u32);
7833        my_size
7834    }
7835
7836    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7837        if let Some(v) = self.browser_handle {
7838            os.write_uint32(1, v)?;
7839        }
7840        os.write_unknown_fields(self.special_fields.unknown_fields())?;
7841        ::std::result::Result::Ok(())
7842    }
7843
7844    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7845        &self.special_fields
7846    }
7847
7848    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7849        &mut self.special_fields
7850    }
7851
7852    fn new() -> CMsgStopFind {
7853        CMsgStopFind::new()
7854    }
7855
7856    fn clear(&mut self) {
7857        self.browser_handle = ::std::option::Option::None;
7858        self.special_fields.clear();
7859    }
7860
7861    fn default_instance() -> &'static CMsgStopFind {
7862        static instance: CMsgStopFind = CMsgStopFind {
7863            browser_handle: ::std::option::Option::None,
7864            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7865        };
7866        &instance
7867    }
7868}
7869
7870// @@protoc_insertion_point(message:CMsgSetHorizontalScroll)
7871#[derive(PartialEq,Clone,Default,Debug)]
7872pub struct CMsgSetHorizontalScroll {
7873    // message fields
7874    // @@protoc_insertion_point(field:CMsgSetHorizontalScroll.browser_handle)
7875    pub browser_handle: ::std::option::Option<u32>,
7876    // @@protoc_insertion_point(field:CMsgSetHorizontalScroll.scroll)
7877    pub scroll: ::std::option::Option<u32>,
7878    // special fields
7879    // @@protoc_insertion_point(special_field:CMsgSetHorizontalScroll.special_fields)
7880    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7881}
7882
7883impl<'a> ::std::default::Default for &'a CMsgSetHorizontalScroll {
7884    fn default() -> &'a CMsgSetHorizontalScroll {
7885        <CMsgSetHorizontalScroll as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7886    }
7887}
7888
7889impl CMsgSetHorizontalScroll {
7890    pub fn new() -> CMsgSetHorizontalScroll {
7891        ::std::default::Default::default()
7892    }
7893
7894    // optional uint32 browser_handle = 1;
7895
7896    pub fn browser_handle(&self) -> u32 {
7897        self.browser_handle.unwrap_or(0)
7898    }
7899
7900    pub fn clear_browser_handle(&mut self) {
7901        self.browser_handle = ::std::option::Option::None;
7902    }
7903
7904    pub fn has_browser_handle(&self) -> bool {
7905        self.browser_handle.is_some()
7906    }
7907
7908    // Param is passed by value, moved
7909    pub fn set_browser_handle(&mut self, v: u32) {
7910        self.browser_handle = ::std::option::Option::Some(v);
7911    }
7912
7913    // optional uint32 scroll = 2;
7914
7915    pub fn scroll(&self) -> u32 {
7916        self.scroll.unwrap_or(0)
7917    }
7918
7919    pub fn clear_scroll(&mut self) {
7920        self.scroll = ::std::option::Option::None;
7921    }
7922
7923    pub fn has_scroll(&self) -> bool {
7924        self.scroll.is_some()
7925    }
7926
7927    // Param is passed by value, moved
7928    pub fn set_scroll(&mut self, v: u32) {
7929        self.scroll = ::std::option::Option::Some(v);
7930    }
7931}
7932
7933impl ::steam_vent_proto_common::protobuf::Message for CMsgSetHorizontalScroll {
7934    const NAME: &'static str = "CMsgSetHorizontalScroll";
7935
7936    fn is_initialized(&self) -> bool {
7937        true
7938    }
7939
7940    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7941        while let Some(tag) = is.read_raw_tag_or_eof()? {
7942            match tag {
7943                8 => {
7944                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
7945                },
7946                16 => {
7947                    self.scroll = ::std::option::Option::Some(is.read_uint32()?);
7948                },
7949                tag => {
7950                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7951                },
7952            };
7953        }
7954        ::std::result::Result::Ok(())
7955    }
7956
7957    // Compute sizes of nested messages
7958    #[allow(unused_variables)]
7959    fn compute_size(&self) -> u64 {
7960        let mut my_size = 0;
7961        if let Some(v) = self.browser_handle {
7962            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
7963        }
7964        if let Some(v) = self.scroll {
7965            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
7966        }
7967        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7968        self.special_fields.cached_size().set(my_size as u32);
7969        my_size
7970    }
7971
7972    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7973        if let Some(v) = self.browser_handle {
7974            os.write_uint32(1, v)?;
7975        }
7976        if let Some(v) = self.scroll {
7977            os.write_uint32(2, v)?;
7978        }
7979        os.write_unknown_fields(self.special_fields.unknown_fields())?;
7980        ::std::result::Result::Ok(())
7981    }
7982
7983    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7984        &self.special_fields
7985    }
7986
7987    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7988        &mut self.special_fields
7989    }
7990
7991    fn new() -> CMsgSetHorizontalScroll {
7992        CMsgSetHorizontalScroll::new()
7993    }
7994
7995    fn clear(&mut self) {
7996        self.browser_handle = ::std::option::Option::None;
7997        self.scroll = ::std::option::Option::None;
7998        self.special_fields.clear();
7999    }
8000
8001    fn default_instance() -> &'static CMsgSetHorizontalScroll {
8002        static instance: CMsgSetHorizontalScroll = CMsgSetHorizontalScroll {
8003            browser_handle: ::std::option::Option::None,
8004            scroll: ::std::option::Option::None,
8005            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8006        };
8007        &instance
8008    }
8009}
8010
8011// @@protoc_insertion_point(message:CMsgSetVerticalScroll)
8012#[derive(PartialEq,Clone,Default,Debug)]
8013pub struct CMsgSetVerticalScroll {
8014    // message fields
8015    // @@protoc_insertion_point(field:CMsgSetVerticalScroll.browser_handle)
8016    pub browser_handle: ::std::option::Option<u32>,
8017    // @@protoc_insertion_point(field:CMsgSetVerticalScroll.scroll)
8018    pub scroll: ::std::option::Option<u32>,
8019    // special fields
8020    // @@protoc_insertion_point(special_field:CMsgSetVerticalScroll.special_fields)
8021    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8022}
8023
8024impl<'a> ::std::default::Default for &'a CMsgSetVerticalScroll {
8025    fn default() -> &'a CMsgSetVerticalScroll {
8026        <CMsgSetVerticalScroll as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8027    }
8028}
8029
8030impl CMsgSetVerticalScroll {
8031    pub fn new() -> CMsgSetVerticalScroll {
8032        ::std::default::Default::default()
8033    }
8034
8035    // optional uint32 browser_handle = 1;
8036
8037    pub fn browser_handle(&self) -> u32 {
8038        self.browser_handle.unwrap_or(0)
8039    }
8040
8041    pub fn clear_browser_handle(&mut self) {
8042        self.browser_handle = ::std::option::Option::None;
8043    }
8044
8045    pub fn has_browser_handle(&self) -> bool {
8046        self.browser_handle.is_some()
8047    }
8048
8049    // Param is passed by value, moved
8050    pub fn set_browser_handle(&mut self, v: u32) {
8051        self.browser_handle = ::std::option::Option::Some(v);
8052    }
8053
8054    // optional uint32 scroll = 2;
8055
8056    pub fn scroll(&self) -> u32 {
8057        self.scroll.unwrap_or(0)
8058    }
8059
8060    pub fn clear_scroll(&mut self) {
8061        self.scroll = ::std::option::Option::None;
8062    }
8063
8064    pub fn has_scroll(&self) -> bool {
8065        self.scroll.is_some()
8066    }
8067
8068    // Param is passed by value, moved
8069    pub fn set_scroll(&mut self, v: u32) {
8070        self.scroll = ::std::option::Option::Some(v);
8071    }
8072}
8073
8074impl ::steam_vent_proto_common::protobuf::Message for CMsgSetVerticalScroll {
8075    const NAME: &'static str = "CMsgSetVerticalScroll";
8076
8077    fn is_initialized(&self) -> bool {
8078        true
8079    }
8080
8081    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8082        while let Some(tag) = is.read_raw_tag_or_eof()? {
8083            match tag {
8084                8 => {
8085                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
8086                },
8087                16 => {
8088                    self.scroll = ::std::option::Option::Some(is.read_uint32()?);
8089                },
8090                tag => {
8091                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8092                },
8093            };
8094        }
8095        ::std::result::Result::Ok(())
8096    }
8097
8098    // Compute sizes of nested messages
8099    #[allow(unused_variables)]
8100    fn compute_size(&self) -> u64 {
8101        let mut my_size = 0;
8102        if let Some(v) = self.browser_handle {
8103            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
8104        }
8105        if let Some(v) = self.scroll {
8106            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
8107        }
8108        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
8109        self.special_fields.cached_size().set(my_size as u32);
8110        my_size
8111    }
8112
8113    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8114        if let Some(v) = self.browser_handle {
8115            os.write_uint32(1, v)?;
8116        }
8117        if let Some(v) = self.scroll {
8118            os.write_uint32(2, v)?;
8119        }
8120        os.write_unknown_fields(self.special_fields.unknown_fields())?;
8121        ::std::result::Result::Ok(())
8122    }
8123
8124    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8125        &self.special_fields
8126    }
8127
8128    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8129        &mut self.special_fields
8130    }
8131
8132    fn new() -> CMsgSetVerticalScroll {
8133        CMsgSetVerticalScroll::new()
8134    }
8135
8136    fn clear(&mut self) {
8137        self.browser_handle = ::std::option::Option::None;
8138        self.scroll = ::std::option::Option::None;
8139        self.special_fields.clear();
8140    }
8141
8142    fn default_instance() -> &'static CMsgSetVerticalScroll {
8143        static instance: CMsgSetVerticalScroll = CMsgSetVerticalScroll {
8144            browser_handle: ::std::option::Option::None,
8145            scroll: ::std::option::Option::None,
8146            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8147        };
8148        &instance
8149    }
8150}
8151
8152// @@protoc_insertion_point(message:CMsgSetZoomLevel)
8153#[derive(PartialEq,Clone,Default,Debug)]
8154pub struct CMsgSetZoomLevel {
8155    // message fields
8156    // @@protoc_insertion_point(field:CMsgSetZoomLevel.browser_handle)
8157    pub browser_handle: ::std::option::Option<u32>,
8158    // @@protoc_insertion_point(field:CMsgSetZoomLevel.zoom)
8159    pub zoom: ::std::option::Option<f64>,
8160    // special fields
8161    // @@protoc_insertion_point(special_field:CMsgSetZoomLevel.special_fields)
8162    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8163}
8164
8165impl<'a> ::std::default::Default for &'a CMsgSetZoomLevel {
8166    fn default() -> &'a CMsgSetZoomLevel {
8167        <CMsgSetZoomLevel as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8168    }
8169}
8170
8171impl CMsgSetZoomLevel {
8172    pub fn new() -> CMsgSetZoomLevel {
8173        ::std::default::Default::default()
8174    }
8175
8176    // optional uint32 browser_handle = 1;
8177
8178    pub fn browser_handle(&self) -> u32 {
8179        self.browser_handle.unwrap_or(0)
8180    }
8181
8182    pub fn clear_browser_handle(&mut self) {
8183        self.browser_handle = ::std::option::Option::None;
8184    }
8185
8186    pub fn has_browser_handle(&self) -> bool {
8187        self.browser_handle.is_some()
8188    }
8189
8190    // Param is passed by value, moved
8191    pub fn set_browser_handle(&mut self, v: u32) {
8192        self.browser_handle = ::std::option::Option::Some(v);
8193    }
8194
8195    // optional double zoom = 2;
8196
8197    pub fn zoom(&self) -> f64 {
8198        self.zoom.unwrap_or(0.)
8199    }
8200
8201    pub fn clear_zoom(&mut self) {
8202        self.zoom = ::std::option::Option::None;
8203    }
8204
8205    pub fn has_zoom(&self) -> bool {
8206        self.zoom.is_some()
8207    }
8208
8209    // Param is passed by value, moved
8210    pub fn set_zoom(&mut self, v: f64) {
8211        self.zoom = ::std::option::Option::Some(v);
8212    }
8213}
8214
8215impl ::steam_vent_proto_common::protobuf::Message for CMsgSetZoomLevel {
8216    const NAME: &'static str = "CMsgSetZoomLevel";
8217
8218    fn is_initialized(&self) -> bool {
8219        true
8220    }
8221
8222    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8223        while let Some(tag) = is.read_raw_tag_or_eof()? {
8224            match tag {
8225                8 => {
8226                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
8227                },
8228                17 => {
8229                    self.zoom = ::std::option::Option::Some(is.read_double()?);
8230                },
8231                tag => {
8232                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8233                },
8234            };
8235        }
8236        ::std::result::Result::Ok(())
8237    }
8238
8239    // Compute sizes of nested messages
8240    #[allow(unused_variables)]
8241    fn compute_size(&self) -> u64 {
8242        let mut my_size = 0;
8243        if let Some(v) = self.browser_handle {
8244            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
8245        }
8246        if let Some(v) = self.zoom {
8247            my_size += 1 + 8;
8248        }
8249        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
8250        self.special_fields.cached_size().set(my_size as u32);
8251        my_size
8252    }
8253
8254    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8255        if let Some(v) = self.browser_handle {
8256            os.write_uint32(1, v)?;
8257        }
8258        if let Some(v) = self.zoom {
8259            os.write_double(2, v)?;
8260        }
8261        os.write_unknown_fields(self.special_fields.unknown_fields())?;
8262        ::std::result::Result::Ok(())
8263    }
8264
8265    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8266        &self.special_fields
8267    }
8268
8269    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8270        &mut self.special_fields
8271    }
8272
8273    fn new() -> CMsgSetZoomLevel {
8274        CMsgSetZoomLevel::new()
8275    }
8276
8277    fn clear(&mut self) {
8278        self.browser_handle = ::std::option::Option::None;
8279        self.zoom = ::std::option::Option::None;
8280        self.special_fields.clear();
8281    }
8282
8283    fn default_instance() -> &'static CMsgSetZoomLevel {
8284        static instance: CMsgSetZoomLevel = CMsgSetZoomLevel {
8285            browser_handle: ::std::option::Option::None,
8286            zoom: ::std::option::Option::None,
8287            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8288        };
8289        &instance
8290    }
8291}
8292
8293// @@protoc_insertion_point(message:CMsgViewSource)
8294#[derive(PartialEq,Clone,Default,Debug)]
8295pub struct CMsgViewSource {
8296    // message fields
8297    // @@protoc_insertion_point(field:CMsgViewSource.browser_handle)
8298    pub browser_handle: ::std::option::Option<u32>,
8299    // special fields
8300    // @@protoc_insertion_point(special_field:CMsgViewSource.special_fields)
8301    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8302}
8303
8304impl<'a> ::std::default::Default for &'a CMsgViewSource {
8305    fn default() -> &'a CMsgViewSource {
8306        <CMsgViewSource as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8307    }
8308}
8309
8310impl CMsgViewSource {
8311    pub fn new() -> CMsgViewSource {
8312        ::std::default::Default::default()
8313    }
8314
8315    // optional uint32 browser_handle = 1;
8316
8317    pub fn browser_handle(&self) -> u32 {
8318        self.browser_handle.unwrap_or(0)
8319    }
8320
8321    pub fn clear_browser_handle(&mut self) {
8322        self.browser_handle = ::std::option::Option::None;
8323    }
8324
8325    pub fn has_browser_handle(&self) -> bool {
8326        self.browser_handle.is_some()
8327    }
8328
8329    // Param is passed by value, moved
8330    pub fn set_browser_handle(&mut self, v: u32) {
8331        self.browser_handle = ::std::option::Option::Some(v);
8332    }
8333}
8334
8335impl ::steam_vent_proto_common::protobuf::Message for CMsgViewSource {
8336    const NAME: &'static str = "CMsgViewSource";
8337
8338    fn is_initialized(&self) -> bool {
8339        true
8340    }
8341
8342    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8343        while let Some(tag) = is.read_raw_tag_or_eof()? {
8344            match tag {
8345                8 => {
8346                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
8347                },
8348                tag => {
8349                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8350                },
8351            };
8352        }
8353        ::std::result::Result::Ok(())
8354    }
8355
8356    // Compute sizes of nested messages
8357    #[allow(unused_variables)]
8358    fn compute_size(&self) -> u64 {
8359        let mut my_size = 0;
8360        if let Some(v) = self.browser_handle {
8361            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
8362        }
8363        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
8364        self.special_fields.cached_size().set(my_size as u32);
8365        my_size
8366    }
8367
8368    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8369        if let Some(v) = self.browser_handle {
8370            os.write_uint32(1, v)?;
8371        }
8372        os.write_unknown_fields(self.special_fields.unknown_fields())?;
8373        ::std::result::Result::Ok(())
8374    }
8375
8376    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8377        &self.special_fields
8378    }
8379
8380    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8381        &mut self.special_fields
8382    }
8383
8384    fn new() -> CMsgViewSource {
8385        CMsgViewSource::new()
8386    }
8387
8388    fn clear(&mut self) {
8389        self.browser_handle = ::std::option::Option::None;
8390        self.special_fields.clear();
8391    }
8392
8393    fn default_instance() -> &'static CMsgViewSource {
8394        static instance: CMsgViewSource = CMsgViewSource {
8395            browser_handle: ::std::option::Option::None,
8396            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8397        };
8398        &instance
8399    }
8400}
8401
8402// @@protoc_insertion_point(message:CMsgBrowserReady)
8403#[derive(PartialEq,Clone,Default,Debug)]
8404pub struct CMsgBrowserReady {
8405    // message fields
8406    // @@protoc_insertion_point(field:CMsgBrowserReady.browser_handle)
8407    pub browser_handle: ::std::option::Option<u32>,
8408    // @@protoc_insertion_point(field:CMsgBrowserReady.vr_overlay_key)
8409    pub vr_overlay_key: ::std::option::Option<::std::string::String>,
8410    // @@protoc_insertion_point(field:CMsgBrowserReady.hwnd_browser)
8411    pub hwnd_browser: ::std::option::Option<u64>,
8412    // special fields
8413    // @@protoc_insertion_point(special_field:CMsgBrowserReady.special_fields)
8414    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8415}
8416
8417impl<'a> ::std::default::Default for &'a CMsgBrowserReady {
8418    fn default() -> &'a CMsgBrowserReady {
8419        <CMsgBrowserReady as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8420    }
8421}
8422
8423impl CMsgBrowserReady {
8424    pub fn new() -> CMsgBrowserReady {
8425        ::std::default::Default::default()
8426    }
8427
8428    // optional uint32 browser_handle = 1;
8429
8430    pub fn browser_handle(&self) -> u32 {
8431        self.browser_handle.unwrap_or(0)
8432    }
8433
8434    pub fn clear_browser_handle(&mut self) {
8435        self.browser_handle = ::std::option::Option::None;
8436    }
8437
8438    pub fn has_browser_handle(&self) -> bool {
8439        self.browser_handle.is_some()
8440    }
8441
8442    // Param is passed by value, moved
8443    pub fn set_browser_handle(&mut self, v: u32) {
8444        self.browser_handle = ::std::option::Option::Some(v);
8445    }
8446
8447    // optional string vr_overlay_key = 2;
8448
8449    pub fn vr_overlay_key(&self) -> &str {
8450        match self.vr_overlay_key.as_ref() {
8451            Some(v) => v,
8452            None => "",
8453        }
8454    }
8455
8456    pub fn clear_vr_overlay_key(&mut self) {
8457        self.vr_overlay_key = ::std::option::Option::None;
8458    }
8459
8460    pub fn has_vr_overlay_key(&self) -> bool {
8461        self.vr_overlay_key.is_some()
8462    }
8463
8464    // Param is passed by value, moved
8465    pub fn set_vr_overlay_key(&mut self, v: ::std::string::String) {
8466        self.vr_overlay_key = ::std::option::Option::Some(v);
8467    }
8468
8469    // Mutable pointer to the field.
8470    // If field is not initialized, it is initialized with default value first.
8471    pub fn mut_vr_overlay_key(&mut self) -> &mut ::std::string::String {
8472        if self.vr_overlay_key.is_none() {
8473            self.vr_overlay_key = ::std::option::Option::Some(::std::string::String::new());
8474        }
8475        self.vr_overlay_key.as_mut().unwrap()
8476    }
8477
8478    // Take field
8479    pub fn take_vr_overlay_key(&mut self) -> ::std::string::String {
8480        self.vr_overlay_key.take().unwrap_or_else(|| ::std::string::String::new())
8481    }
8482
8483    // optional fixed64 hwnd_browser = 3;
8484
8485    pub fn hwnd_browser(&self) -> u64 {
8486        self.hwnd_browser.unwrap_or(0)
8487    }
8488
8489    pub fn clear_hwnd_browser(&mut self) {
8490        self.hwnd_browser = ::std::option::Option::None;
8491    }
8492
8493    pub fn has_hwnd_browser(&self) -> bool {
8494        self.hwnd_browser.is_some()
8495    }
8496
8497    // Param is passed by value, moved
8498    pub fn set_hwnd_browser(&mut self, v: u64) {
8499        self.hwnd_browser = ::std::option::Option::Some(v);
8500    }
8501}
8502
8503impl ::steam_vent_proto_common::protobuf::Message for CMsgBrowserReady {
8504    const NAME: &'static str = "CMsgBrowserReady";
8505
8506    fn is_initialized(&self) -> bool {
8507        true
8508    }
8509
8510    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8511        while let Some(tag) = is.read_raw_tag_or_eof()? {
8512            match tag {
8513                8 => {
8514                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
8515                },
8516                18 => {
8517                    self.vr_overlay_key = ::std::option::Option::Some(is.read_string()?);
8518                },
8519                25 => {
8520                    self.hwnd_browser = ::std::option::Option::Some(is.read_fixed64()?);
8521                },
8522                tag => {
8523                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8524                },
8525            };
8526        }
8527        ::std::result::Result::Ok(())
8528    }
8529
8530    // Compute sizes of nested messages
8531    #[allow(unused_variables)]
8532    fn compute_size(&self) -> u64 {
8533        let mut my_size = 0;
8534        if let Some(v) = self.browser_handle {
8535            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
8536        }
8537        if let Some(v) = self.vr_overlay_key.as_ref() {
8538            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
8539        }
8540        if let Some(v) = self.hwnd_browser {
8541            my_size += 1 + 8;
8542        }
8543        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
8544        self.special_fields.cached_size().set(my_size as u32);
8545        my_size
8546    }
8547
8548    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8549        if let Some(v) = self.browser_handle {
8550            os.write_uint32(1, v)?;
8551        }
8552        if let Some(v) = self.vr_overlay_key.as_ref() {
8553            os.write_string(2, v)?;
8554        }
8555        if let Some(v) = self.hwnd_browser {
8556            os.write_fixed64(3, v)?;
8557        }
8558        os.write_unknown_fields(self.special_fields.unknown_fields())?;
8559        ::std::result::Result::Ok(())
8560    }
8561
8562    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8563        &self.special_fields
8564    }
8565
8566    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8567        &mut self.special_fields
8568    }
8569
8570    fn new() -> CMsgBrowserReady {
8571        CMsgBrowserReady::new()
8572    }
8573
8574    fn clear(&mut self) {
8575        self.browser_handle = ::std::option::Option::None;
8576        self.vr_overlay_key = ::std::option::Option::None;
8577        self.hwnd_browser = ::std::option::Option::None;
8578        self.special_fields.clear();
8579    }
8580
8581    fn default_instance() -> &'static CMsgBrowserReady {
8582        static instance: CMsgBrowserReady = CMsgBrowserReady {
8583            browser_handle: ::std::option::Option::None,
8584            vr_overlay_key: ::std::option::Option::None,
8585            hwnd_browser: ::std::option::Option::None,
8586            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8587        };
8588        &instance
8589    }
8590}
8591
8592// @@protoc_insertion_point(message:CMsgURLChanged)
8593#[derive(PartialEq,Clone,Default,Debug)]
8594pub struct CMsgURLChanged {
8595    // message fields
8596    // @@protoc_insertion_point(field:CMsgURLChanged.browser_handle)
8597    pub browser_handle: ::std::option::Option<u32>,
8598    // @@protoc_insertion_point(field:CMsgURLChanged.url)
8599    pub url: ::std::option::Option<::std::string::String>,
8600    // @@protoc_insertion_point(field:CMsgURLChanged.postData)
8601    pub postData: ::std::option::Option<::std::string::String>,
8602    // @@protoc_insertion_point(field:CMsgURLChanged.bIsRedirect)
8603    pub bIsRedirect: ::std::option::Option<bool>,
8604    // @@protoc_insertion_point(field:CMsgURLChanged.pagetitle)
8605    pub pagetitle: ::std::option::Option<::std::string::String>,
8606    // @@protoc_insertion_point(field:CMsgURLChanged.bNewNavigation)
8607    pub bNewNavigation: ::std::option::Option<bool>,
8608    // special fields
8609    // @@protoc_insertion_point(special_field:CMsgURLChanged.special_fields)
8610    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8611}
8612
8613impl<'a> ::std::default::Default for &'a CMsgURLChanged {
8614    fn default() -> &'a CMsgURLChanged {
8615        <CMsgURLChanged as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8616    }
8617}
8618
8619impl CMsgURLChanged {
8620    pub fn new() -> CMsgURLChanged {
8621        ::std::default::Default::default()
8622    }
8623
8624    // optional uint32 browser_handle = 1;
8625
8626    pub fn browser_handle(&self) -> u32 {
8627        self.browser_handle.unwrap_or(0)
8628    }
8629
8630    pub fn clear_browser_handle(&mut self) {
8631        self.browser_handle = ::std::option::Option::None;
8632    }
8633
8634    pub fn has_browser_handle(&self) -> bool {
8635        self.browser_handle.is_some()
8636    }
8637
8638    // Param is passed by value, moved
8639    pub fn set_browser_handle(&mut self, v: u32) {
8640        self.browser_handle = ::std::option::Option::Some(v);
8641    }
8642
8643    // optional string url = 2;
8644
8645    pub fn url(&self) -> &str {
8646        match self.url.as_ref() {
8647            Some(v) => v,
8648            None => "",
8649        }
8650    }
8651
8652    pub fn clear_url(&mut self) {
8653        self.url = ::std::option::Option::None;
8654    }
8655
8656    pub fn has_url(&self) -> bool {
8657        self.url.is_some()
8658    }
8659
8660    // Param is passed by value, moved
8661    pub fn set_url(&mut self, v: ::std::string::String) {
8662        self.url = ::std::option::Option::Some(v);
8663    }
8664
8665    // Mutable pointer to the field.
8666    // If field is not initialized, it is initialized with default value first.
8667    pub fn mut_url(&mut self) -> &mut ::std::string::String {
8668        if self.url.is_none() {
8669            self.url = ::std::option::Option::Some(::std::string::String::new());
8670        }
8671        self.url.as_mut().unwrap()
8672    }
8673
8674    // Take field
8675    pub fn take_url(&mut self) -> ::std::string::String {
8676        self.url.take().unwrap_or_else(|| ::std::string::String::new())
8677    }
8678
8679    // optional string postData = 3;
8680
8681    pub fn postData(&self) -> &str {
8682        match self.postData.as_ref() {
8683            Some(v) => v,
8684            None => "",
8685        }
8686    }
8687
8688    pub fn clear_postData(&mut self) {
8689        self.postData = ::std::option::Option::None;
8690    }
8691
8692    pub fn has_postData(&self) -> bool {
8693        self.postData.is_some()
8694    }
8695
8696    // Param is passed by value, moved
8697    pub fn set_postData(&mut self, v: ::std::string::String) {
8698        self.postData = ::std::option::Option::Some(v);
8699    }
8700
8701    // Mutable pointer to the field.
8702    // If field is not initialized, it is initialized with default value first.
8703    pub fn mut_postData(&mut self) -> &mut ::std::string::String {
8704        if self.postData.is_none() {
8705            self.postData = ::std::option::Option::Some(::std::string::String::new());
8706        }
8707        self.postData.as_mut().unwrap()
8708    }
8709
8710    // Take field
8711    pub fn take_postData(&mut self) -> ::std::string::String {
8712        self.postData.take().unwrap_or_else(|| ::std::string::String::new())
8713    }
8714
8715    // optional bool bIsRedirect = 4;
8716
8717    pub fn bIsRedirect(&self) -> bool {
8718        self.bIsRedirect.unwrap_or(false)
8719    }
8720
8721    pub fn clear_bIsRedirect(&mut self) {
8722        self.bIsRedirect = ::std::option::Option::None;
8723    }
8724
8725    pub fn has_bIsRedirect(&self) -> bool {
8726        self.bIsRedirect.is_some()
8727    }
8728
8729    // Param is passed by value, moved
8730    pub fn set_bIsRedirect(&mut self, v: bool) {
8731        self.bIsRedirect = ::std::option::Option::Some(v);
8732    }
8733
8734    // optional string pagetitle = 5;
8735
8736    pub fn pagetitle(&self) -> &str {
8737        match self.pagetitle.as_ref() {
8738            Some(v) => v,
8739            None => "",
8740        }
8741    }
8742
8743    pub fn clear_pagetitle(&mut self) {
8744        self.pagetitle = ::std::option::Option::None;
8745    }
8746
8747    pub fn has_pagetitle(&self) -> bool {
8748        self.pagetitle.is_some()
8749    }
8750
8751    // Param is passed by value, moved
8752    pub fn set_pagetitle(&mut self, v: ::std::string::String) {
8753        self.pagetitle = ::std::option::Option::Some(v);
8754    }
8755
8756    // Mutable pointer to the field.
8757    // If field is not initialized, it is initialized with default value first.
8758    pub fn mut_pagetitle(&mut self) -> &mut ::std::string::String {
8759        if self.pagetitle.is_none() {
8760            self.pagetitle = ::std::option::Option::Some(::std::string::String::new());
8761        }
8762        self.pagetitle.as_mut().unwrap()
8763    }
8764
8765    // Take field
8766    pub fn take_pagetitle(&mut self) -> ::std::string::String {
8767        self.pagetitle.take().unwrap_or_else(|| ::std::string::String::new())
8768    }
8769
8770    // optional bool bNewNavigation = 6;
8771
8772    pub fn bNewNavigation(&self) -> bool {
8773        self.bNewNavigation.unwrap_or(false)
8774    }
8775
8776    pub fn clear_bNewNavigation(&mut self) {
8777        self.bNewNavigation = ::std::option::Option::None;
8778    }
8779
8780    pub fn has_bNewNavigation(&self) -> bool {
8781        self.bNewNavigation.is_some()
8782    }
8783
8784    // Param is passed by value, moved
8785    pub fn set_bNewNavigation(&mut self, v: bool) {
8786        self.bNewNavigation = ::std::option::Option::Some(v);
8787    }
8788}
8789
8790impl ::steam_vent_proto_common::protobuf::Message for CMsgURLChanged {
8791    const NAME: &'static str = "CMsgURLChanged";
8792
8793    fn is_initialized(&self) -> bool {
8794        true
8795    }
8796
8797    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8798        while let Some(tag) = is.read_raw_tag_or_eof()? {
8799            match tag {
8800                8 => {
8801                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
8802                },
8803                18 => {
8804                    self.url = ::std::option::Option::Some(is.read_string()?);
8805                },
8806                26 => {
8807                    self.postData = ::std::option::Option::Some(is.read_string()?);
8808                },
8809                32 => {
8810                    self.bIsRedirect = ::std::option::Option::Some(is.read_bool()?);
8811                },
8812                42 => {
8813                    self.pagetitle = ::std::option::Option::Some(is.read_string()?);
8814                },
8815                48 => {
8816                    self.bNewNavigation = ::std::option::Option::Some(is.read_bool()?);
8817                },
8818                tag => {
8819                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8820                },
8821            };
8822        }
8823        ::std::result::Result::Ok(())
8824    }
8825
8826    // Compute sizes of nested messages
8827    #[allow(unused_variables)]
8828    fn compute_size(&self) -> u64 {
8829        let mut my_size = 0;
8830        if let Some(v) = self.browser_handle {
8831            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
8832        }
8833        if let Some(v) = self.url.as_ref() {
8834            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
8835        }
8836        if let Some(v) = self.postData.as_ref() {
8837            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
8838        }
8839        if let Some(v) = self.bIsRedirect {
8840            my_size += 1 + 1;
8841        }
8842        if let Some(v) = self.pagetitle.as_ref() {
8843            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
8844        }
8845        if let Some(v) = self.bNewNavigation {
8846            my_size += 1 + 1;
8847        }
8848        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
8849        self.special_fields.cached_size().set(my_size as u32);
8850        my_size
8851    }
8852
8853    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8854        if let Some(v) = self.browser_handle {
8855            os.write_uint32(1, v)?;
8856        }
8857        if let Some(v) = self.url.as_ref() {
8858            os.write_string(2, v)?;
8859        }
8860        if let Some(v) = self.postData.as_ref() {
8861            os.write_string(3, v)?;
8862        }
8863        if let Some(v) = self.bIsRedirect {
8864            os.write_bool(4, v)?;
8865        }
8866        if let Some(v) = self.pagetitle.as_ref() {
8867            os.write_string(5, v)?;
8868        }
8869        if let Some(v) = self.bNewNavigation {
8870            os.write_bool(6, v)?;
8871        }
8872        os.write_unknown_fields(self.special_fields.unknown_fields())?;
8873        ::std::result::Result::Ok(())
8874    }
8875
8876    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8877        &self.special_fields
8878    }
8879
8880    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8881        &mut self.special_fields
8882    }
8883
8884    fn new() -> CMsgURLChanged {
8885        CMsgURLChanged::new()
8886    }
8887
8888    fn clear(&mut self) {
8889        self.browser_handle = ::std::option::Option::None;
8890        self.url = ::std::option::Option::None;
8891        self.postData = ::std::option::Option::None;
8892        self.bIsRedirect = ::std::option::Option::None;
8893        self.pagetitle = ::std::option::Option::None;
8894        self.bNewNavigation = ::std::option::Option::None;
8895        self.special_fields.clear();
8896    }
8897
8898    fn default_instance() -> &'static CMsgURLChanged {
8899        static instance: CMsgURLChanged = CMsgURLChanged {
8900            browser_handle: ::std::option::Option::None,
8901            url: ::std::option::Option::None,
8902            postData: ::std::option::Option::None,
8903            bIsRedirect: ::std::option::Option::None,
8904            pagetitle: ::std::option::Option::None,
8905            bNewNavigation: ::std::option::Option::None,
8906            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8907        };
8908        &instance
8909    }
8910}
8911
8912// @@protoc_insertion_point(message:CHistoryEntry)
8913#[derive(PartialEq,Clone,Default,Debug)]
8914pub struct CHistoryEntry {
8915    // message fields
8916    // @@protoc_insertion_point(field:CHistoryEntry.url)
8917    pub url: ::std::option::Option<::std::string::String>,
8918    // special fields
8919    // @@protoc_insertion_point(special_field:CHistoryEntry.special_fields)
8920    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8921}
8922
8923impl<'a> ::std::default::Default for &'a CHistoryEntry {
8924    fn default() -> &'a CHistoryEntry {
8925        <CHistoryEntry as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8926    }
8927}
8928
8929impl CHistoryEntry {
8930    pub fn new() -> CHistoryEntry {
8931        ::std::default::Default::default()
8932    }
8933
8934    // optional string url = 1;
8935
8936    pub fn url(&self) -> &str {
8937        match self.url.as_ref() {
8938            Some(v) => v,
8939            None => "",
8940        }
8941    }
8942
8943    pub fn clear_url(&mut self) {
8944        self.url = ::std::option::Option::None;
8945    }
8946
8947    pub fn has_url(&self) -> bool {
8948        self.url.is_some()
8949    }
8950
8951    // Param is passed by value, moved
8952    pub fn set_url(&mut self, v: ::std::string::String) {
8953        self.url = ::std::option::Option::Some(v);
8954    }
8955
8956    // Mutable pointer to the field.
8957    // If field is not initialized, it is initialized with default value first.
8958    pub fn mut_url(&mut self) -> &mut ::std::string::String {
8959        if self.url.is_none() {
8960            self.url = ::std::option::Option::Some(::std::string::String::new());
8961        }
8962        self.url.as_mut().unwrap()
8963    }
8964
8965    // Take field
8966    pub fn take_url(&mut self) -> ::std::string::String {
8967        self.url.take().unwrap_or_else(|| ::std::string::String::new())
8968    }
8969}
8970
8971impl ::steam_vent_proto_common::protobuf::Message for CHistoryEntry {
8972    const NAME: &'static str = "CHistoryEntry";
8973
8974    fn is_initialized(&self) -> bool {
8975        true
8976    }
8977
8978    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8979        while let Some(tag) = is.read_raw_tag_or_eof()? {
8980            match tag {
8981                10 => {
8982                    self.url = ::std::option::Option::Some(is.read_string()?);
8983                },
8984                tag => {
8985                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8986                },
8987            };
8988        }
8989        ::std::result::Result::Ok(())
8990    }
8991
8992    // Compute sizes of nested messages
8993    #[allow(unused_variables)]
8994    fn compute_size(&self) -> u64 {
8995        let mut my_size = 0;
8996        if let Some(v) = self.url.as_ref() {
8997            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
8998        }
8999        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
9000        self.special_fields.cached_size().set(my_size as u32);
9001        my_size
9002    }
9003
9004    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9005        if let Some(v) = self.url.as_ref() {
9006            os.write_string(1, v)?;
9007        }
9008        os.write_unknown_fields(self.special_fields.unknown_fields())?;
9009        ::std::result::Result::Ok(())
9010    }
9011
9012    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
9013        &self.special_fields
9014    }
9015
9016    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
9017        &mut self.special_fields
9018    }
9019
9020    fn new() -> CHistoryEntry {
9021        CHistoryEntry::new()
9022    }
9023
9024    fn clear(&mut self) {
9025        self.url = ::std::option::Option::None;
9026        self.special_fields.clear();
9027    }
9028
9029    fn default_instance() -> &'static CHistoryEntry {
9030        static instance: CHistoryEntry = CHistoryEntry {
9031            url: ::std::option::Option::None,
9032            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
9033        };
9034        &instance
9035    }
9036}
9037
9038// @@protoc_insertion_point(message:CMsgHistoryChanged)
9039#[derive(PartialEq,Clone,Default,Debug)]
9040pub struct CMsgHistoryChanged {
9041    // message fields
9042    // @@protoc_insertion_point(field:CMsgHistoryChanged.browser_handle)
9043    pub browser_handle: ::std::option::Option<u32>,
9044    // @@protoc_insertion_point(field:CMsgHistoryChanged.index)
9045    pub index: ::std::option::Option<u32>,
9046    // @@protoc_insertion_point(field:CMsgHistoryChanged.entries)
9047    pub entries: ::std::vec::Vec<CHistoryEntry>,
9048    // special fields
9049    // @@protoc_insertion_point(special_field:CMsgHistoryChanged.special_fields)
9050    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
9051}
9052
9053impl<'a> ::std::default::Default for &'a CMsgHistoryChanged {
9054    fn default() -> &'a CMsgHistoryChanged {
9055        <CMsgHistoryChanged as ::steam_vent_proto_common::protobuf::Message>::default_instance()
9056    }
9057}
9058
9059impl CMsgHistoryChanged {
9060    pub fn new() -> CMsgHistoryChanged {
9061        ::std::default::Default::default()
9062    }
9063
9064    // optional uint32 browser_handle = 1;
9065
9066    pub fn browser_handle(&self) -> u32 {
9067        self.browser_handle.unwrap_or(0)
9068    }
9069
9070    pub fn clear_browser_handle(&mut self) {
9071        self.browser_handle = ::std::option::Option::None;
9072    }
9073
9074    pub fn has_browser_handle(&self) -> bool {
9075        self.browser_handle.is_some()
9076    }
9077
9078    // Param is passed by value, moved
9079    pub fn set_browser_handle(&mut self, v: u32) {
9080        self.browser_handle = ::std::option::Option::Some(v);
9081    }
9082
9083    // optional uint32 index = 2;
9084
9085    pub fn index(&self) -> u32 {
9086        self.index.unwrap_or(0)
9087    }
9088
9089    pub fn clear_index(&mut self) {
9090        self.index = ::std::option::Option::None;
9091    }
9092
9093    pub fn has_index(&self) -> bool {
9094        self.index.is_some()
9095    }
9096
9097    // Param is passed by value, moved
9098    pub fn set_index(&mut self, v: u32) {
9099        self.index = ::std::option::Option::Some(v);
9100    }
9101}
9102
9103impl ::steam_vent_proto_common::protobuf::Message for CMsgHistoryChanged {
9104    const NAME: &'static str = "CMsgHistoryChanged";
9105
9106    fn is_initialized(&self) -> bool {
9107        true
9108    }
9109
9110    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9111        while let Some(tag) = is.read_raw_tag_or_eof()? {
9112            match tag {
9113                8 => {
9114                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
9115                },
9116                16 => {
9117                    self.index = ::std::option::Option::Some(is.read_uint32()?);
9118                },
9119                26 => {
9120                    self.entries.push(is.read_message()?);
9121                },
9122                tag => {
9123                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
9124                },
9125            };
9126        }
9127        ::std::result::Result::Ok(())
9128    }
9129
9130    // Compute sizes of nested messages
9131    #[allow(unused_variables)]
9132    fn compute_size(&self) -> u64 {
9133        let mut my_size = 0;
9134        if let Some(v) = self.browser_handle {
9135            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
9136        }
9137        if let Some(v) = self.index {
9138            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
9139        }
9140        for value in &self.entries {
9141            let len = value.compute_size();
9142            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
9143        };
9144        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
9145        self.special_fields.cached_size().set(my_size as u32);
9146        my_size
9147    }
9148
9149    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9150        if let Some(v) = self.browser_handle {
9151            os.write_uint32(1, v)?;
9152        }
9153        if let Some(v) = self.index {
9154            os.write_uint32(2, v)?;
9155        }
9156        for v in &self.entries {
9157            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
9158        };
9159        os.write_unknown_fields(self.special_fields.unknown_fields())?;
9160        ::std::result::Result::Ok(())
9161    }
9162
9163    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
9164        &self.special_fields
9165    }
9166
9167    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
9168        &mut self.special_fields
9169    }
9170
9171    fn new() -> CMsgHistoryChanged {
9172        CMsgHistoryChanged::new()
9173    }
9174
9175    fn clear(&mut self) {
9176        self.browser_handle = ::std::option::Option::None;
9177        self.index = ::std::option::Option::None;
9178        self.entries.clear();
9179        self.special_fields.clear();
9180    }
9181
9182    fn default_instance() -> &'static CMsgHistoryChanged {
9183        static instance: CMsgHistoryChanged = CMsgHistoryChanged {
9184            browser_handle: ::std::option::Option::None,
9185            index: ::std::option::Option::None,
9186            entries: ::std::vec::Vec::new(),
9187            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
9188        };
9189        &instance
9190    }
9191}
9192
9193// @@protoc_insertion_point(message:CMsgLoadError)
9194#[derive(PartialEq,Clone,Default,Debug)]
9195pub struct CMsgLoadError {
9196    // message fields
9197    // @@protoc_insertion_point(field:CMsgLoadError.browser_handle)
9198    pub browser_handle: ::std::option::Option<u32>,
9199    // @@protoc_insertion_point(field:CMsgLoadError.error_code)
9200    pub error_code: ::std::option::Option<i32>,
9201    // @@protoc_insertion_point(field:CMsgLoadError.url)
9202    pub url: ::std::option::Option<::std::string::String>,
9203    // @@protoc_insertion_point(field:CMsgLoadError.error_description)
9204    pub error_description: ::std::option::Option<::std::string::String>,
9205    // special fields
9206    // @@protoc_insertion_point(special_field:CMsgLoadError.special_fields)
9207    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
9208}
9209
9210impl<'a> ::std::default::Default for &'a CMsgLoadError {
9211    fn default() -> &'a CMsgLoadError {
9212        <CMsgLoadError as ::steam_vent_proto_common::protobuf::Message>::default_instance()
9213    }
9214}
9215
9216impl CMsgLoadError {
9217    pub fn new() -> CMsgLoadError {
9218        ::std::default::Default::default()
9219    }
9220
9221    // optional uint32 browser_handle = 1;
9222
9223    pub fn browser_handle(&self) -> u32 {
9224        self.browser_handle.unwrap_or(0)
9225    }
9226
9227    pub fn clear_browser_handle(&mut self) {
9228        self.browser_handle = ::std::option::Option::None;
9229    }
9230
9231    pub fn has_browser_handle(&self) -> bool {
9232        self.browser_handle.is_some()
9233    }
9234
9235    // Param is passed by value, moved
9236    pub fn set_browser_handle(&mut self, v: u32) {
9237        self.browser_handle = ::std::option::Option::Some(v);
9238    }
9239
9240    // optional int32 error_code = 2;
9241
9242    pub fn error_code(&self) -> i32 {
9243        self.error_code.unwrap_or(0)
9244    }
9245
9246    pub fn clear_error_code(&mut self) {
9247        self.error_code = ::std::option::Option::None;
9248    }
9249
9250    pub fn has_error_code(&self) -> bool {
9251        self.error_code.is_some()
9252    }
9253
9254    // Param is passed by value, moved
9255    pub fn set_error_code(&mut self, v: i32) {
9256        self.error_code = ::std::option::Option::Some(v);
9257    }
9258
9259    // optional string url = 3;
9260
9261    pub fn url(&self) -> &str {
9262        match self.url.as_ref() {
9263            Some(v) => v,
9264            None => "",
9265        }
9266    }
9267
9268    pub fn clear_url(&mut self) {
9269        self.url = ::std::option::Option::None;
9270    }
9271
9272    pub fn has_url(&self) -> bool {
9273        self.url.is_some()
9274    }
9275
9276    // Param is passed by value, moved
9277    pub fn set_url(&mut self, v: ::std::string::String) {
9278        self.url = ::std::option::Option::Some(v);
9279    }
9280
9281    // Mutable pointer to the field.
9282    // If field is not initialized, it is initialized with default value first.
9283    pub fn mut_url(&mut self) -> &mut ::std::string::String {
9284        if self.url.is_none() {
9285            self.url = ::std::option::Option::Some(::std::string::String::new());
9286        }
9287        self.url.as_mut().unwrap()
9288    }
9289
9290    // Take field
9291    pub fn take_url(&mut self) -> ::std::string::String {
9292        self.url.take().unwrap_or_else(|| ::std::string::String::new())
9293    }
9294
9295    // optional string error_description = 4;
9296
9297    pub fn error_description(&self) -> &str {
9298        match self.error_description.as_ref() {
9299            Some(v) => v,
9300            None => "",
9301        }
9302    }
9303
9304    pub fn clear_error_description(&mut self) {
9305        self.error_description = ::std::option::Option::None;
9306    }
9307
9308    pub fn has_error_description(&self) -> bool {
9309        self.error_description.is_some()
9310    }
9311
9312    // Param is passed by value, moved
9313    pub fn set_error_description(&mut self, v: ::std::string::String) {
9314        self.error_description = ::std::option::Option::Some(v);
9315    }
9316
9317    // Mutable pointer to the field.
9318    // If field is not initialized, it is initialized with default value first.
9319    pub fn mut_error_description(&mut self) -> &mut ::std::string::String {
9320        if self.error_description.is_none() {
9321            self.error_description = ::std::option::Option::Some(::std::string::String::new());
9322        }
9323        self.error_description.as_mut().unwrap()
9324    }
9325
9326    // Take field
9327    pub fn take_error_description(&mut self) -> ::std::string::String {
9328        self.error_description.take().unwrap_or_else(|| ::std::string::String::new())
9329    }
9330}
9331
9332impl ::steam_vent_proto_common::protobuf::Message for CMsgLoadError {
9333    const NAME: &'static str = "CMsgLoadError";
9334
9335    fn is_initialized(&self) -> bool {
9336        true
9337    }
9338
9339    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9340        while let Some(tag) = is.read_raw_tag_or_eof()? {
9341            match tag {
9342                8 => {
9343                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
9344                },
9345                16 => {
9346                    self.error_code = ::std::option::Option::Some(is.read_int32()?);
9347                },
9348                26 => {
9349                    self.url = ::std::option::Option::Some(is.read_string()?);
9350                },
9351                34 => {
9352                    self.error_description = ::std::option::Option::Some(is.read_string()?);
9353                },
9354                tag => {
9355                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
9356                },
9357            };
9358        }
9359        ::std::result::Result::Ok(())
9360    }
9361
9362    // Compute sizes of nested messages
9363    #[allow(unused_variables)]
9364    fn compute_size(&self) -> u64 {
9365        let mut my_size = 0;
9366        if let Some(v) = self.browser_handle {
9367            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
9368        }
9369        if let Some(v) = self.error_code {
9370            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
9371        }
9372        if let Some(v) = self.url.as_ref() {
9373            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
9374        }
9375        if let Some(v) = self.error_description.as_ref() {
9376            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
9377        }
9378        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
9379        self.special_fields.cached_size().set(my_size as u32);
9380        my_size
9381    }
9382
9383    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9384        if let Some(v) = self.browser_handle {
9385            os.write_uint32(1, v)?;
9386        }
9387        if let Some(v) = self.error_code {
9388            os.write_int32(2, v)?;
9389        }
9390        if let Some(v) = self.url.as_ref() {
9391            os.write_string(3, v)?;
9392        }
9393        if let Some(v) = self.error_description.as_ref() {
9394            os.write_string(4, v)?;
9395        }
9396        os.write_unknown_fields(self.special_fields.unknown_fields())?;
9397        ::std::result::Result::Ok(())
9398    }
9399
9400    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
9401        &self.special_fields
9402    }
9403
9404    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
9405        &mut self.special_fields
9406    }
9407
9408    fn new() -> CMsgLoadError {
9409        CMsgLoadError::new()
9410    }
9411
9412    fn clear(&mut self) {
9413        self.browser_handle = ::std::option::Option::None;
9414        self.error_code = ::std::option::Option::None;
9415        self.url = ::std::option::Option::None;
9416        self.error_description = ::std::option::Option::None;
9417        self.special_fields.clear();
9418    }
9419
9420    fn default_instance() -> &'static CMsgLoadError {
9421        static instance: CMsgLoadError = CMsgLoadError {
9422            browser_handle: ::std::option::Option::None,
9423            error_code: ::std::option::Option::None,
9424            url: ::std::option::Option::None,
9425            error_description: ::std::option::Option::None,
9426            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
9427        };
9428        &instance
9429    }
9430}
9431
9432// @@protoc_insertion_point(message:CHTMLHeader)
9433#[derive(PartialEq,Clone,Default,Debug)]
9434pub struct CHTMLHeader {
9435    // message fields
9436    // @@protoc_insertion_point(field:CHTMLHeader.key)
9437    pub key: ::std::option::Option<::std::string::String>,
9438    // @@protoc_insertion_point(field:CHTMLHeader.value)
9439    pub value: ::std::option::Option<::std::string::String>,
9440    // special fields
9441    // @@protoc_insertion_point(special_field:CHTMLHeader.special_fields)
9442    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
9443}
9444
9445impl<'a> ::std::default::Default for &'a CHTMLHeader {
9446    fn default() -> &'a CHTMLHeader {
9447        <CHTMLHeader as ::steam_vent_proto_common::protobuf::Message>::default_instance()
9448    }
9449}
9450
9451impl CHTMLHeader {
9452    pub fn new() -> CHTMLHeader {
9453        ::std::default::Default::default()
9454    }
9455
9456    // optional string key = 1;
9457
9458    pub fn key(&self) -> &str {
9459        match self.key.as_ref() {
9460            Some(v) => v,
9461            None => "",
9462        }
9463    }
9464
9465    pub fn clear_key(&mut self) {
9466        self.key = ::std::option::Option::None;
9467    }
9468
9469    pub fn has_key(&self) -> bool {
9470        self.key.is_some()
9471    }
9472
9473    // Param is passed by value, moved
9474    pub fn set_key(&mut self, v: ::std::string::String) {
9475        self.key = ::std::option::Option::Some(v);
9476    }
9477
9478    // Mutable pointer to the field.
9479    // If field is not initialized, it is initialized with default value first.
9480    pub fn mut_key(&mut self) -> &mut ::std::string::String {
9481        if self.key.is_none() {
9482            self.key = ::std::option::Option::Some(::std::string::String::new());
9483        }
9484        self.key.as_mut().unwrap()
9485    }
9486
9487    // Take field
9488    pub fn take_key(&mut self) -> ::std::string::String {
9489        self.key.take().unwrap_or_else(|| ::std::string::String::new())
9490    }
9491
9492    // optional string value = 2;
9493
9494    pub fn value(&self) -> &str {
9495        match self.value.as_ref() {
9496            Some(v) => v,
9497            None => "",
9498        }
9499    }
9500
9501    pub fn clear_value(&mut self) {
9502        self.value = ::std::option::Option::None;
9503    }
9504
9505    pub fn has_value(&self) -> bool {
9506        self.value.is_some()
9507    }
9508
9509    // Param is passed by value, moved
9510    pub fn set_value(&mut self, v: ::std::string::String) {
9511        self.value = ::std::option::Option::Some(v);
9512    }
9513
9514    // Mutable pointer to the field.
9515    // If field is not initialized, it is initialized with default value first.
9516    pub fn mut_value(&mut self) -> &mut ::std::string::String {
9517        if self.value.is_none() {
9518            self.value = ::std::option::Option::Some(::std::string::String::new());
9519        }
9520        self.value.as_mut().unwrap()
9521    }
9522
9523    // Take field
9524    pub fn take_value(&mut self) -> ::std::string::String {
9525        self.value.take().unwrap_or_else(|| ::std::string::String::new())
9526    }
9527}
9528
9529impl ::steam_vent_proto_common::protobuf::Message for CHTMLHeader {
9530    const NAME: &'static str = "CHTMLHeader";
9531
9532    fn is_initialized(&self) -> bool {
9533        true
9534    }
9535
9536    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9537        while let Some(tag) = is.read_raw_tag_or_eof()? {
9538            match tag {
9539                10 => {
9540                    self.key = ::std::option::Option::Some(is.read_string()?);
9541                },
9542                18 => {
9543                    self.value = ::std::option::Option::Some(is.read_string()?);
9544                },
9545                tag => {
9546                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
9547                },
9548            };
9549        }
9550        ::std::result::Result::Ok(())
9551    }
9552
9553    // Compute sizes of nested messages
9554    #[allow(unused_variables)]
9555    fn compute_size(&self) -> u64 {
9556        let mut my_size = 0;
9557        if let Some(v) = self.key.as_ref() {
9558            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
9559        }
9560        if let Some(v) = self.value.as_ref() {
9561            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
9562        }
9563        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
9564        self.special_fields.cached_size().set(my_size as u32);
9565        my_size
9566    }
9567
9568    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9569        if let Some(v) = self.key.as_ref() {
9570            os.write_string(1, v)?;
9571        }
9572        if let Some(v) = self.value.as_ref() {
9573            os.write_string(2, v)?;
9574        }
9575        os.write_unknown_fields(self.special_fields.unknown_fields())?;
9576        ::std::result::Result::Ok(())
9577    }
9578
9579    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
9580        &self.special_fields
9581    }
9582
9583    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
9584        &mut self.special_fields
9585    }
9586
9587    fn new() -> CHTMLHeader {
9588        CHTMLHeader::new()
9589    }
9590
9591    fn clear(&mut self) {
9592        self.key = ::std::option::Option::None;
9593        self.value = ::std::option::Option::None;
9594        self.special_fields.clear();
9595    }
9596
9597    fn default_instance() -> &'static CHTMLHeader {
9598        static instance: CHTMLHeader = CHTMLHeader {
9599            key: ::std::option::Option::None,
9600            value: ::std::option::Option::None,
9601            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
9602        };
9603        &instance
9604    }
9605}
9606
9607// @@protoc_insertion_point(message:CHTMLPageSecurityInfo)
9608#[derive(PartialEq,Clone,Default,Debug)]
9609pub struct CHTMLPageSecurityInfo {
9610    // message fields
9611    // @@protoc_insertion_point(field:CHTMLPageSecurityInfo.bIsSecure)
9612    pub bIsSecure: ::std::option::Option<bool>,
9613    // @@protoc_insertion_point(field:CHTMLPageSecurityInfo.bHasCertError)
9614    pub bHasCertError: ::std::option::Option<bool>,
9615    // @@protoc_insertion_point(field:CHTMLPageSecurityInfo.issuerName)
9616    pub issuerName: ::std::option::Option<::std::string::String>,
9617    // @@protoc_insertion_point(field:CHTMLPageSecurityInfo.certName)
9618    pub certName: ::std::option::Option<::std::string::String>,
9619    // @@protoc_insertion_point(field:CHTMLPageSecurityInfo.certExpiry)
9620    pub certExpiry: ::std::option::Option<i32>,
9621    // @@protoc_insertion_point(field:CHTMLPageSecurityInfo.nCertBits)
9622    pub nCertBits: ::std::option::Option<i32>,
9623    // @@protoc_insertion_point(field:CHTMLPageSecurityInfo.bIsEVCert)
9624    pub bIsEVCert: ::std::option::Option<bool>,
9625    // special fields
9626    // @@protoc_insertion_point(special_field:CHTMLPageSecurityInfo.special_fields)
9627    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
9628}
9629
9630impl<'a> ::std::default::Default for &'a CHTMLPageSecurityInfo {
9631    fn default() -> &'a CHTMLPageSecurityInfo {
9632        <CHTMLPageSecurityInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
9633    }
9634}
9635
9636impl CHTMLPageSecurityInfo {
9637    pub fn new() -> CHTMLPageSecurityInfo {
9638        ::std::default::Default::default()
9639    }
9640
9641    // optional bool bIsSecure = 1;
9642
9643    pub fn bIsSecure(&self) -> bool {
9644        self.bIsSecure.unwrap_or(false)
9645    }
9646
9647    pub fn clear_bIsSecure(&mut self) {
9648        self.bIsSecure = ::std::option::Option::None;
9649    }
9650
9651    pub fn has_bIsSecure(&self) -> bool {
9652        self.bIsSecure.is_some()
9653    }
9654
9655    // Param is passed by value, moved
9656    pub fn set_bIsSecure(&mut self, v: bool) {
9657        self.bIsSecure = ::std::option::Option::Some(v);
9658    }
9659
9660    // optional bool bHasCertError = 2;
9661
9662    pub fn bHasCertError(&self) -> bool {
9663        self.bHasCertError.unwrap_or(false)
9664    }
9665
9666    pub fn clear_bHasCertError(&mut self) {
9667        self.bHasCertError = ::std::option::Option::None;
9668    }
9669
9670    pub fn has_bHasCertError(&self) -> bool {
9671        self.bHasCertError.is_some()
9672    }
9673
9674    // Param is passed by value, moved
9675    pub fn set_bHasCertError(&mut self, v: bool) {
9676        self.bHasCertError = ::std::option::Option::Some(v);
9677    }
9678
9679    // optional string issuerName = 3;
9680
9681    pub fn issuerName(&self) -> &str {
9682        match self.issuerName.as_ref() {
9683            Some(v) => v,
9684            None => "",
9685        }
9686    }
9687
9688    pub fn clear_issuerName(&mut self) {
9689        self.issuerName = ::std::option::Option::None;
9690    }
9691
9692    pub fn has_issuerName(&self) -> bool {
9693        self.issuerName.is_some()
9694    }
9695
9696    // Param is passed by value, moved
9697    pub fn set_issuerName(&mut self, v: ::std::string::String) {
9698        self.issuerName = ::std::option::Option::Some(v);
9699    }
9700
9701    // Mutable pointer to the field.
9702    // If field is not initialized, it is initialized with default value first.
9703    pub fn mut_issuerName(&mut self) -> &mut ::std::string::String {
9704        if self.issuerName.is_none() {
9705            self.issuerName = ::std::option::Option::Some(::std::string::String::new());
9706        }
9707        self.issuerName.as_mut().unwrap()
9708    }
9709
9710    // Take field
9711    pub fn take_issuerName(&mut self) -> ::std::string::String {
9712        self.issuerName.take().unwrap_or_else(|| ::std::string::String::new())
9713    }
9714
9715    // optional string certName = 4;
9716
9717    pub fn certName(&self) -> &str {
9718        match self.certName.as_ref() {
9719            Some(v) => v,
9720            None => "",
9721        }
9722    }
9723
9724    pub fn clear_certName(&mut self) {
9725        self.certName = ::std::option::Option::None;
9726    }
9727
9728    pub fn has_certName(&self) -> bool {
9729        self.certName.is_some()
9730    }
9731
9732    // Param is passed by value, moved
9733    pub fn set_certName(&mut self, v: ::std::string::String) {
9734        self.certName = ::std::option::Option::Some(v);
9735    }
9736
9737    // Mutable pointer to the field.
9738    // If field is not initialized, it is initialized with default value first.
9739    pub fn mut_certName(&mut self) -> &mut ::std::string::String {
9740        if self.certName.is_none() {
9741            self.certName = ::std::option::Option::Some(::std::string::String::new());
9742        }
9743        self.certName.as_mut().unwrap()
9744    }
9745
9746    // Take field
9747    pub fn take_certName(&mut self) -> ::std::string::String {
9748        self.certName.take().unwrap_or_else(|| ::std::string::String::new())
9749    }
9750
9751    // optional int32 certExpiry = 5;
9752
9753    pub fn certExpiry(&self) -> i32 {
9754        self.certExpiry.unwrap_or(0i32)
9755    }
9756
9757    pub fn clear_certExpiry(&mut self) {
9758        self.certExpiry = ::std::option::Option::None;
9759    }
9760
9761    pub fn has_certExpiry(&self) -> bool {
9762        self.certExpiry.is_some()
9763    }
9764
9765    // Param is passed by value, moved
9766    pub fn set_certExpiry(&mut self, v: i32) {
9767        self.certExpiry = ::std::option::Option::Some(v);
9768    }
9769
9770    // optional int32 nCertBits = 6;
9771
9772    pub fn nCertBits(&self) -> i32 {
9773        self.nCertBits.unwrap_or(0i32)
9774    }
9775
9776    pub fn clear_nCertBits(&mut self) {
9777        self.nCertBits = ::std::option::Option::None;
9778    }
9779
9780    pub fn has_nCertBits(&self) -> bool {
9781        self.nCertBits.is_some()
9782    }
9783
9784    // Param is passed by value, moved
9785    pub fn set_nCertBits(&mut self, v: i32) {
9786        self.nCertBits = ::std::option::Option::Some(v);
9787    }
9788
9789    // optional bool bIsEVCert = 7;
9790
9791    pub fn bIsEVCert(&self) -> bool {
9792        self.bIsEVCert.unwrap_or(false)
9793    }
9794
9795    pub fn clear_bIsEVCert(&mut self) {
9796        self.bIsEVCert = ::std::option::Option::None;
9797    }
9798
9799    pub fn has_bIsEVCert(&self) -> bool {
9800        self.bIsEVCert.is_some()
9801    }
9802
9803    // Param is passed by value, moved
9804    pub fn set_bIsEVCert(&mut self, v: bool) {
9805        self.bIsEVCert = ::std::option::Option::Some(v);
9806    }
9807}
9808
9809impl ::steam_vent_proto_common::protobuf::Message for CHTMLPageSecurityInfo {
9810    const NAME: &'static str = "CHTMLPageSecurityInfo";
9811
9812    fn is_initialized(&self) -> bool {
9813        true
9814    }
9815
9816    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9817        while let Some(tag) = is.read_raw_tag_or_eof()? {
9818            match tag {
9819                8 => {
9820                    self.bIsSecure = ::std::option::Option::Some(is.read_bool()?);
9821                },
9822                16 => {
9823                    self.bHasCertError = ::std::option::Option::Some(is.read_bool()?);
9824                },
9825                26 => {
9826                    self.issuerName = ::std::option::Option::Some(is.read_string()?);
9827                },
9828                34 => {
9829                    self.certName = ::std::option::Option::Some(is.read_string()?);
9830                },
9831                40 => {
9832                    self.certExpiry = ::std::option::Option::Some(is.read_int32()?);
9833                },
9834                48 => {
9835                    self.nCertBits = ::std::option::Option::Some(is.read_int32()?);
9836                },
9837                56 => {
9838                    self.bIsEVCert = ::std::option::Option::Some(is.read_bool()?);
9839                },
9840                tag => {
9841                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
9842                },
9843            };
9844        }
9845        ::std::result::Result::Ok(())
9846    }
9847
9848    // Compute sizes of nested messages
9849    #[allow(unused_variables)]
9850    fn compute_size(&self) -> u64 {
9851        let mut my_size = 0;
9852        if let Some(v) = self.bIsSecure {
9853            my_size += 1 + 1;
9854        }
9855        if let Some(v) = self.bHasCertError {
9856            my_size += 1 + 1;
9857        }
9858        if let Some(v) = self.issuerName.as_ref() {
9859            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
9860        }
9861        if let Some(v) = self.certName.as_ref() {
9862            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
9863        }
9864        if let Some(v) = self.certExpiry {
9865            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v);
9866        }
9867        if let Some(v) = self.nCertBits {
9868            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v);
9869        }
9870        if let Some(v) = self.bIsEVCert {
9871            my_size += 1 + 1;
9872        }
9873        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
9874        self.special_fields.cached_size().set(my_size as u32);
9875        my_size
9876    }
9877
9878    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9879        if let Some(v) = self.bIsSecure {
9880            os.write_bool(1, v)?;
9881        }
9882        if let Some(v) = self.bHasCertError {
9883            os.write_bool(2, v)?;
9884        }
9885        if let Some(v) = self.issuerName.as_ref() {
9886            os.write_string(3, v)?;
9887        }
9888        if let Some(v) = self.certName.as_ref() {
9889            os.write_string(4, v)?;
9890        }
9891        if let Some(v) = self.certExpiry {
9892            os.write_int32(5, v)?;
9893        }
9894        if let Some(v) = self.nCertBits {
9895            os.write_int32(6, v)?;
9896        }
9897        if let Some(v) = self.bIsEVCert {
9898            os.write_bool(7, v)?;
9899        }
9900        os.write_unknown_fields(self.special_fields.unknown_fields())?;
9901        ::std::result::Result::Ok(())
9902    }
9903
9904    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
9905        &self.special_fields
9906    }
9907
9908    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
9909        &mut self.special_fields
9910    }
9911
9912    fn new() -> CHTMLPageSecurityInfo {
9913        CHTMLPageSecurityInfo::new()
9914    }
9915
9916    fn clear(&mut self) {
9917        self.bIsSecure = ::std::option::Option::None;
9918        self.bHasCertError = ::std::option::Option::None;
9919        self.issuerName = ::std::option::Option::None;
9920        self.certName = ::std::option::Option::None;
9921        self.certExpiry = ::std::option::Option::None;
9922        self.nCertBits = ::std::option::Option::None;
9923        self.bIsEVCert = ::std::option::Option::None;
9924        self.special_fields.clear();
9925    }
9926
9927    fn default_instance() -> &'static CHTMLPageSecurityInfo {
9928        static instance: CHTMLPageSecurityInfo = CHTMLPageSecurityInfo {
9929            bIsSecure: ::std::option::Option::None,
9930            bHasCertError: ::std::option::Option::None,
9931            issuerName: ::std::option::Option::None,
9932            certName: ::std::option::Option::None,
9933            certExpiry: ::std::option::Option::None,
9934            nCertBits: ::std::option::Option::None,
9935            bIsEVCert: ::std::option::Option::None,
9936            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
9937        };
9938        &instance
9939    }
9940}
9941
9942// @@protoc_insertion_point(message:CMsgFinishedRequest)
9943#[derive(PartialEq,Clone,Default,Debug)]
9944pub struct CMsgFinishedRequest {
9945    // message fields
9946    // @@protoc_insertion_point(field:CMsgFinishedRequest.browser_handle)
9947    pub browser_handle: ::std::option::Option<u32>,
9948    // @@protoc_insertion_point(field:CMsgFinishedRequest.url)
9949    pub url: ::std::option::Option<::std::string::String>,
9950    // @@protoc_insertion_point(field:CMsgFinishedRequest.pageTitle)
9951    pub pageTitle: ::std::option::Option<::std::string::String>,
9952    // special fields
9953    // @@protoc_insertion_point(special_field:CMsgFinishedRequest.special_fields)
9954    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
9955}
9956
9957impl<'a> ::std::default::Default for &'a CMsgFinishedRequest {
9958    fn default() -> &'a CMsgFinishedRequest {
9959        <CMsgFinishedRequest as ::steam_vent_proto_common::protobuf::Message>::default_instance()
9960    }
9961}
9962
9963impl CMsgFinishedRequest {
9964    pub fn new() -> CMsgFinishedRequest {
9965        ::std::default::Default::default()
9966    }
9967
9968    // optional uint32 browser_handle = 1;
9969
9970    pub fn browser_handle(&self) -> u32 {
9971        self.browser_handle.unwrap_or(0)
9972    }
9973
9974    pub fn clear_browser_handle(&mut self) {
9975        self.browser_handle = ::std::option::Option::None;
9976    }
9977
9978    pub fn has_browser_handle(&self) -> bool {
9979        self.browser_handle.is_some()
9980    }
9981
9982    // Param is passed by value, moved
9983    pub fn set_browser_handle(&mut self, v: u32) {
9984        self.browser_handle = ::std::option::Option::Some(v);
9985    }
9986
9987    // optional string url = 2;
9988
9989    pub fn url(&self) -> &str {
9990        match self.url.as_ref() {
9991            Some(v) => v,
9992            None => "",
9993        }
9994    }
9995
9996    pub fn clear_url(&mut self) {
9997        self.url = ::std::option::Option::None;
9998    }
9999
10000    pub fn has_url(&self) -> bool {
10001        self.url.is_some()
10002    }
10003
10004    // Param is passed by value, moved
10005    pub fn set_url(&mut self, v: ::std::string::String) {
10006        self.url = ::std::option::Option::Some(v);
10007    }
10008
10009    // Mutable pointer to the field.
10010    // If field is not initialized, it is initialized with default value first.
10011    pub fn mut_url(&mut self) -> &mut ::std::string::String {
10012        if self.url.is_none() {
10013            self.url = ::std::option::Option::Some(::std::string::String::new());
10014        }
10015        self.url.as_mut().unwrap()
10016    }
10017
10018    // Take field
10019    pub fn take_url(&mut self) -> ::std::string::String {
10020        self.url.take().unwrap_or_else(|| ::std::string::String::new())
10021    }
10022
10023    // optional string pageTitle = 3;
10024
10025    pub fn pageTitle(&self) -> &str {
10026        match self.pageTitle.as_ref() {
10027            Some(v) => v,
10028            None => "",
10029        }
10030    }
10031
10032    pub fn clear_pageTitle(&mut self) {
10033        self.pageTitle = ::std::option::Option::None;
10034    }
10035
10036    pub fn has_pageTitle(&self) -> bool {
10037        self.pageTitle.is_some()
10038    }
10039
10040    // Param is passed by value, moved
10041    pub fn set_pageTitle(&mut self, v: ::std::string::String) {
10042        self.pageTitle = ::std::option::Option::Some(v);
10043    }
10044
10045    // Mutable pointer to the field.
10046    // If field is not initialized, it is initialized with default value first.
10047    pub fn mut_pageTitle(&mut self) -> &mut ::std::string::String {
10048        if self.pageTitle.is_none() {
10049            self.pageTitle = ::std::option::Option::Some(::std::string::String::new());
10050        }
10051        self.pageTitle.as_mut().unwrap()
10052    }
10053
10054    // Take field
10055    pub fn take_pageTitle(&mut self) -> ::std::string::String {
10056        self.pageTitle.take().unwrap_or_else(|| ::std::string::String::new())
10057    }
10058}
10059
10060impl ::steam_vent_proto_common::protobuf::Message for CMsgFinishedRequest {
10061    const NAME: &'static str = "CMsgFinishedRequest";
10062
10063    fn is_initialized(&self) -> bool {
10064        true
10065    }
10066
10067    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10068        while let Some(tag) = is.read_raw_tag_or_eof()? {
10069            match tag {
10070                8 => {
10071                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
10072                },
10073                18 => {
10074                    self.url = ::std::option::Option::Some(is.read_string()?);
10075                },
10076                26 => {
10077                    self.pageTitle = ::std::option::Option::Some(is.read_string()?);
10078                },
10079                tag => {
10080                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
10081                },
10082            };
10083        }
10084        ::std::result::Result::Ok(())
10085    }
10086
10087    // Compute sizes of nested messages
10088    #[allow(unused_variables)]
10089    fn compute_size(&self) -> u64 {
10090        let mut my_size = 0;
10091        if let Some(v) = self.browser_handle {
10092            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
10093        }
10094        if let Some(v) = self.url.as_ref() {
10095            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
10096        }
10097        if let Some(v) = self.pageTitle.as_ref() {
10098            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
10099        }
10100        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
10101        self.special_fields.cached_size().set(my_size as u32);
10102        my_size
10103    }
10104
10105    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10106        if let Some(v) = self.browser_handle {
10107            os.write_uint32(1, v)?;
10108        }
10109        if let Some(v) = self.url.as_ref() {
10110            os.write_string(2, v)?;
10111        }
10112        if let Some(v) = self.pageTitle.as_ref() {
10113            os.write_string(3, v)?;
10114        }
10115        os.write_unknown_fields(self.special_fields.unknown_fields())?;
10116        ::std::result::Result::Ok(())
10117    }
10118
10119    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
10120        &self.special_fields
10121    }
10122
10123    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
10124        &mut self.special_fields
10125    }
10126
10127    fn new() -> CMsgFinishedRequest {
10128        CMsgFinishedRequest::new()
10129    }
10130
10131    fn clear(&mut self) {
10132        self.browser_handle = ::std::option::Option::None;
10133        self.url = ::std::option::Option::None;
10134        self.pageTitle = ::std::option::Option::None;
10135        self.special_fields.clear();
10136    }
10137
10138    fn default_instance() -> &'static CMsgFinishedRequest {
10139        static instance: CMsgFinishedRequest = CMsgFinishedRequest {
10140            browser_handle: ::std::option::Option::None,
10141            url: ::std::option::Option::None,
10142            pageTitle: ::std::option::Option::None,
10143            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
10144        };
10145        &instance
10146    }
10147}
10148
10149// @@protoc_insertion_point(message:CMsgLoadedRequest)
10150#[derive(PartialEq,Clone,Default,Debug)]
10151pub struct CMsgLoadedRequest {
10152    // message fields
10153    // @@protoc_insertion_point(field:CMsgLoadedRequest.browser_handle)
10154    pub browser_handle: ::std::option::Option<u32>,
10155    // @@protoc_insertion_point(field:CMsgLoadedRequest.url)
10156    pub url: ::std::option::Option<::std::string::String>,
10157    // @@protoc_insertion_point(field:CMsgLoadedRequest.pageTitle)
10158    pub pageTitle: ::std::option::Option<::std::string::String>,
10159    // @@protoc_insertion_point(field:CMsgLoadedRequest.headers)
10160    pub headers: ::std::vec::Vec<CHTMLHeader>,
10161    // special fields
10162    // @@protoc_insertion_point(special_field:CMsgLoadedRequest.special_fields)
10163    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
10164}
10165
10166impl<'a> ::std::default::Default for &'a CMsgLoadedRequest {
10167    fn default() -> &'a CMsgLoadedRequest {
10168        <CMsgLoadedRequest as ::steam_vent_proto_common::protobuf::Message>::default_instance()
10169    }
10170}
10171
10172impl CMsgLoadedRequest {
10173    pub fn new() -> CMsgLoadedRequest {
10174        ::std::default::Default::default()
10175    }
10176
10177    // optional uint32 browser_handle = 1;
10178
10179    pub fn browser_handle(&self) -> u32 {
10180        self.browser_handle.unwrap_or(0)
10181    }
10182
10183    pub fn clear_browser_handle(&mut self) {
10184        self.browser_handle = ::std::option::Option::None;
10185    }
10186
10187    pub fn has_browser_handle(&self) -> bool {
10188        self.browser_handle.is_some()
10189    }
10190
10191    // Param is passed by value, moved
10192    pub fn set_browser_handle(&mut self, v: u32) {
10193        self.browser_handle = ::std::option::Option::Some(v);
10194    }
10195
10196    // optional string url = 2;
10197
10198    pub fn url(&self) -> &str {
10199        match self.url.as_ref() {
10200            Some(v) => v,
10201            None => "",
10202        }
10203    }
10204
10205    pub fn clear_url(&mut self) {
10206        self.url = ::std::option::Option::None;
10207    }
10208
10209    pub fn has_url(&self) -> bool {
10210        self.url.is_some()
10211    }
10212
10213    // Param is passed by value, moved
10214    pub fn set_url(&mut self, v: ::std::string::String) {
10215        self.url = ::std::option::Option::Some(v);
10216    }
10217
10218    // Mutable pointer to the field.
10219    // If field is not initialized, it is initialized with default value first.
10220    pub fn mut_url(&mut self) -> &mut ::std::string::String {
10221        if self.url.is_none() {
10222            self.url = ::std::option::Option::Some(::std::string::String::new());
10223        }
10224        self.url.as_mut().unwrap()
10225    }
10226
10227    // Take field
10228    pub fn take_url(&mut self) -> ::std::string::String {
10229        self.url.take().unwrap_or_else(|| ::std::string::String::new())
10230    }
10231
10232    // optional string pageTitle = 3;
10233
10234    pub fn pageTitle(&self) -> &str {
10235        match self.pageTitle.as_ref() {
10236            Some(v) => v,
10237            None => "",
10238        }
10239    }
10240
10241    pub fn clear_pageTitle(&mut self) {
10242        self.pageTitle = ::std::option::Option::None;
10243    }
10244
10245    pub fn has_pageTitle(&self) -> bool {
10246        self.pageTitle.is_some()
10247    }
10248
10249    // Param is passed by value, moved
10250    pub fn set_pageTitle(&mut self, v: ::std::string::String) {
10251        self.pageTitle = ::std::option::Option::Some(v);
10252    }
10253
10254    // Mutable pointer to the field.
10255    // If field is not initialized, it is initialized with default value first.
10256    pub fn mut_pageTitle(&mut self) -> &mut ::std::string::String {
10257        if self.pageTitle.is_none() {
10258            self.pageTitle = ::std::option::Option::Some(::std::string::String::new());
10259        }
10260        self.pageTitle.as_mut().unwrap()
10261    }
10262
10263    // Take field
10264    pub fn take_pageTitle(&mut self) -> ::std::string::String {
10265        self.pageTitle.take().unwrap_or_else(|| ::std::string::String::new())
10266    }
10267}
10268
10269impl ::steam_vent_proto_common::protobuf::Message for CMsgLoadedRequest {
10270    const NAME: &'static str = "CMsgLoadedRequest";
10271
10272    fn is_initialized(&self) -> bool {
10273        true
10274    }
10275
10276    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10277        while let Some(tag) = is.read_raw_tag_or_eof()? {
10278            match tag {
10279                8 => {
10280                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
10281                },
10282                18 => {
10283                    self.url = ::std::option::Option::Some(is.read_string()?);
10284                },
10285                26 => {
10286                    self.pageTitle = ::std::option::Option::Some(is.read_string()?);
10287                },
10288                42 => {
10289                    self.headers.push(is.read_message()?);
10290                },
10291                tag => {
10292                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
10293                },
10294            };
10295        }
10296        ::std::result::Result::Ok(())
10297    }
10298
10299    // Compute sizes of nested messages
10300    #[allow(unused_variables)]
10301    fn compute_size(&self) -> u64 {
10302        let mut my_size = 0;
10303        if let Some(v) = self.browser_handle {
10304            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
10305        }
10306        if let Some(v) = self.url.as_ref() {
10307            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
10308        }
10309        if let Some(v) = self.pageTitle.as_ref() {
10310            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
10311        }
10312        for value in &self.headers {
10313            let len = value.compute_size();
10314            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
10315        };
10316        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
10317        self.special_fields.cached_size().set(my_size as u32);
10318        my_size
10319    }
10320
10321    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10322        if let Some(v) = self.browser_handle {
10323            os.write_uint32(1, v)?;
10324        }
10325        if let Some(v) = self.url.as_ref() {
10326            os.write_string(2, v)?;
10327        }
10328        if let Some(v) = self.pageTitle.as_ref() {
10329            os.write_string(3, v)?;
10330        }
10331        for v in &self.headers {
10332            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(5, v, os)?;
10333        };
10334        os.write_unknown_fields(self.special_fields.unknown_fields())?;
10335        ::std::result::Result::Ok(())
10336    }
10337
10338    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
10339        &self.special_fields
10340    }
10341
10342    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
10343        &mut self.special_fields
10344    }
10345
10346    fn new() -> CMsgLoadedRequest {
10347        CMsgLoadedRequest::new()
10348    }
10349
10350    fn clear(&mut self) {
10351        self.browser_handle = ::std::option::Option::None;
10352        self.url = ::std::option::Option::None;
10353        self.pageTitle = ::std::option::Option::None;
10354        self.headers.clear();
10355        self.special_fields.clear();
10356    }
10357
10358    fn default_instance() -> &'static CMsgLoadedRequest {
10359        static instance: CMsgLoadedRequest = CMsgLoadedRequest {
10360            browser_handle: ::std::option::Option::None,
10361            url: ::std::option::Option::None,
10362            pageTitle: ::std::option::Option::None,
10363            headers: ::std::vec::Vec::new(),
10364            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
10365        };
10366        &instance
10367    }
10368}
10369
10370// @@protoc_insertion_point(message:CMsgFavIconURLChanged)
10371#[derive(PartialEq,Clone,Default,Debug)]
10372pub struct CMsgFavIconURLChanged {
10373    // message fields
10374    // @@protoc_insertion_point(field:CMsgFavIconURLChanged.browser_handle)
10375    pub browser_handle: ::std::option::Option<u32>,
10376    // @@protoc_insertion_point(field:CMsgFavIconURLChanged.urls)
10377    pub urls: ::std::vec::Vec<::std::string::String>,
10378    // special fields
10379    // @@protoc_insertion_point(special_field:CMsgFavIconURLChanged.special_fields)
10380    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
10381}
10382
10383impl<'a> ::std::default::Default for &'a CMsgFavIconURLChanged {
10384    fn default() -> &'a CMsgFavIconURLChanged {
10385        <CMsgFavIconURLChanged as ::steam_vent_proto_common::protobuf::Message>::default_instance()
10386    }
10387}
10388
10389impl CMsgFavIconURLChanged {
10390    pub fn new() -> CMsgFavIconURLChanged {
10391        ::std::default::Default::default()
10392    }
10393
10394    // optional uint32 browser_handle = 1;
10395
10396    pub fn browser_handle(&self) -> u32 {
10397        self.browser_handle.unwrap_or(0)
10398    }
10399
10400    pub fn clear_browser_handle(&mut self) {
10401        self.browser_handle = ::std::option::Option::None;
10402    }
10403
10404    pub fn has_browser_handle(&self) -> bool {
10405        self.browser_handle.is_some()
10406    }
10407
10408    // Param is passed by value, moved
10409    pub fn set_browser_handle(&mut self, v: u32) {
10410        self.browser_handle = ::std::option::Option::Some(v);
10411    }
10412}
10413
10414impl ::steam_vent_proto_common::protobuf::Message for CMsgFavIconURLChanged {
10415    const NAME: &'static str = "CMsgFavIconURLChanged";
10416
10417    fn is_initialized(&self) -> bool {
10418        true
10419    }
10420
10421    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10422        while let Some(tag) = is.read_raw_tag_or_eof()? {
10423            match tag {
10424                8 => {
10425                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
10426                },
10427                18 => {
10428                    self.urls.push(is.read_string()?);
10429                },
10430                tag => {
10431                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
10432                },
10433            };
10434        }
10435        ::std::result::Result::Ok(())
10436    }
10437
10438    // Compute sizes of nested messages
10439    #[allow(unused_variables)]
10440    fn compute_size(&self) -> u64 {
10441        let mut my_size = 0;
10442        if let Some(v) = self.browser_handle {
10443            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
10444        }
10445        for value in &self.urls {
10446            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &value);
10447        };
10448        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
10449        self.special_fields.cached_size().set(my_size as u32);
10450        my_size
10451    }
10452
10453    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10454        if let Some(v) = self.browser_handle {
10455            os.write_uint32(1, v)?;
10456        }
10457        for v in &self.urls {
10458            os.write_string(2, &v)?;
10459        };
10460        os.write_unknown_fields(self.special_fields.unknown_fields())?;
10461        ::std::result::Result::Ok(())
10462    }
10463
10464    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
10465        &self.special_fields
10466    }
10467
10468    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
10469        &mut self.special_fields
10470    }
10471
10472    fn new() -> CMsgFavIconURLChanged {
10473        CMsgFavIconURLChanged::new()
10474    }
10475
10476    fn clear(&mut self) {
10477        self.browser_handle = ::std::option::Option::None;
10478        self.urls.clear();
10479        self.special_fields.clear();
10480    }
10481
10482    fn default_instance() -> &'static CMsgFavIconURLChanged {
10483        static instance: CMsgFavIconURLChanged = CMsgFavIconURLChanged {
10484            browser_handle: ::std::option::Option::None,
10485            urls: ::std::vec::Vec::new(),
10486            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
10487        };
10488        &instance
10489    }
10490}
10491
10492// @@protoc_insertion_point(message:CMsgPageSecurity)
10493#[derive(PartialEq,Clone,Default,Debug)]
10494pub struct CMsgPageSecurity {
10495    // message fields
10496    // @@protoc_insertion_point(field:CMsgPageSecurity.browser_handle)
10497    pub browser_handle: ::std::option::Option<u32>,
10498    // @@protoc_insertion_point(field:CMsgPageSecurity.url)
10499    pub url: ::std::option::Option<::std::string::String>,
10500    // @@protoc_insertion_point(field:CMsgPageSecurity.security_info)
10501    pub security_info: ::steam_vent_proto_common::protobuf::MessageField<CHTMLPageSecurityInfo>,
10502    // special fields
10503    // @@protoc_insertion_point(special_field:CMsgPageSecurity.special_fields)
10504    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
10505}
10506
10507impl<'a> ::std::default::Default for &'a CMsgPageSecurity {
10508    fn default() -> &'a CMsgPageSecurity {
10509        <CMsgPageSecurity as ::steam_vent_proto_common::protobuf::Message>::default_instance()
10510    }
10511}
10512
10513impl CMsgPageSecurity {
10514    pub fn new() -> CMsgPageSecurity {
10515        ::std::default::Default::default()
10516    }
10517
10518    // optional uint32 browser_handle = 1;
10519
10520    pub fn browser_handle(&self) -> u32 {
10521        self.browser_handle.unwrap_or(0)
10522    }
10523
10524    pub fn clear_browser_handle(&mut self) {
10525        self.browser_handle = ::std::option::Option::None;
10526    }
10527
10528    pub fn has_browser_handle(&self) -> bool {
10529        self.browser_handle.is_some()
10530    }
10531
10532    // Param is passed by value, moved
10533    pub fn set_browser_handle(&mut self, v: u32) {
10534        self.browser_handle = ::std::option::Option::Some(v);
10535    }
10536
10537    // optional string url = 2;
10538
10539    pub fn url(&self) -> &str {
10540        match self.url.as_ref() {
10541            Some(v) => v,
10542            None => "",
10543        }
10544    }
10545
10546    pub fn clear_url(&mut self) {
10547        self.url = ::std::option::Option::None;
10548    }
10549
10550    pub fn has_url(&self) -> bool {
10551        self.url.is_some()
10552    }
10553
10554    // Param is passed by value, moved
10555    pub fn set_url(&mut self, v: ::std::string::String) {
10556        self.url = ::std::option::Option::Some(v);
10557    }
10558
10559    // Mutable pointer to the field.
10560    // If field is not initialized, it is initialized with default value first.
10561    pub fn mut_url(&mut self) -> &mut ::std::string::String {
10562        if self.url.is_none() {
10563            self.url = ::std::option::Option::Some(::std::string::String::new());
10564        }
10565        self.url.as_mut().unwrap()
10566    }
10567
10568    // Take field
10569    pub fn take_url(&mut self) -> ::std::string::String {
10570        self.url.take().unwrap_or_else(|| ::std::string::String::new())
10571    }
10572}
10573
10574impl ::steam_vent_proto_common::protobuf::Message for CMsgPageSecurity {
10575    const NAME: &'static str = "CMsgPageSecurity";
10576
10577    fn is_initialized(&self) -> bool {
10578        true
10579    }
10580
10581    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10582        while let Some(tag) = is.read_raw_tag_or_eof()? {
10583            match tag {
10584                8 => {
10585                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
10586                },
10587                18 => {
10588                    self.url = ::std::option::Option::Some(is.read_string()?);
10589                },
10590                26 => {
10591                    ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.security_info)?;
10592                },
10593                tag => {
10594                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
10595                },
10596            };
10597        }
10598        ::std::result::Result::Ok(())
10599    }
10600
10601    // Compute sizes of nested messages
10602    #[allow(unused_variables)]
10603    fn compute_size(&self) -> u64 {
10604        let mut my_size = 0;
10605        if let Some(v) = self.browser_handle {
10606            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
10607        }
10608        if let Some(v) = self.url.as_ref() {
10609            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
10610        }
10611        if let Some(v) = self.security_info.as_ref() {
10612            let len = v.compute_size();
10613            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
10614        }
10615        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
10616        self.special_fields.cached_size().set(my_size as u32);
10617        my_size
10618    }
10619
10620    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10621        if let Some(v) = self.browser_handle {
10622            os.write_uint32(1, v)?;
10623        }
10624        if let Some(v) = self.url.as_ref() {
10625            os.write_string(2, v)?;
10626        }
10627        if let Some(v) = self.security_info.as_ref() {
10628            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
10629        }
10630        os.write_unknown_fields(self.special_fields.unknown_fields())?;
10631        ::std::result::Result::Ok(())
10632    }
10633
10634    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
10635        &self.special_fields
10636    }
10637
10638    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
10639        &mut self.special_fields
10640    }
10641
10642    fn new() -> CMsgPageSecurity {
10643        CMsgPageSecurity::new()
10644    }
10645
10646    fn clear(&mut self) {
10647        self.browser_handle = ::std::option::Option::None;
10648        self.url = ::std::option::Option::None;
10649        self.security_info.clear();
10650        self.special_fields.clear();
10651    }
10652
10653    fn default_instance() -> &'static CMsgPageSecurity {
10654        static instance: CMsgPageSecurity = CMsgPageSecurity {
10655            browser_handle: ::std::option::Option::None,
10656            url: ::std::option::Option::None,
10657            security_info: ::steam_vent_proto_common::protobuf::MessageField::none(),
10658            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
10659        };
10660        &instance
10661    }
10662}
10663
10664// @@protoc_insertion_point(message:CMsgStartRequest)
10665#[derive(PartialEq,Clone,Default,Debug)]
10666pub struct CMsgStartRequest {
10667    // message fields
10668    // @@protoc_insertion_point(field:CMsgStartRequest.browser_handle)
10669    pub browser_handle: ::std::option::Option<u32>,
10670    // @@protoc_insertion_point(field:CMsgStartRequest.url)
10671    pub url: ::std::option::Option<::std::string::String>,
10672    // @@protoc_insertion_point(field:CMsgStartRequest.target)
10673    pub target: ::std::option::Option<::std::string::String>,
10674    // @@protoc_insertion_point(field:CMsgStartRequest.postData)
10675    pub postData: ::std::option::Option<::std::string::String>,
10676    // @@protoc_insertion_point(field:CMsgStartRequest.bIsRedirect)
10677    pub bIsRedirect: ::std::option::Option<bool>,
10678    // special fields
10679    // @@protoc_insertion_point(special_field:CMsgStartRequest.special_fields)
10680    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
10681}
10682
10683impl<'a> ::std::default::Default for &'a CMsgStartRequest {
10684    fn default() -> &'a CMsgStartRequest {
10685        <CMsgStartRequest as ::steam_vent_proto_common::protobuf::Message>::default_instance()
10686    }
10687}
10688
10689impl CMsgStartRequest {
10690    pub fn new() -> CMsgStartRequest {
10691        ::std::default::Default::default()
10692    }
10693
10694    // optional uint32 browser_handle = 1;
10695
10696    pub fn browser_handle(&self) -> u32 {
10697        self.browser_handle.unwrap_or(0)
10698    }
10699
10700    pub fn clear_browser_handle(&mut self) {
10701        self.browser_handle = ::std::option::Option::None;
10702    }
10703
10704    pub fn has_browser_handle(&self) -> bool {
10705        self.browser_handle.is_some()
10706    }
10707
10708    // Param is passed by value, moved
10709    pub fn set_browser_handle(&mut self, v: u32) {
10710        self.browser_handle = ::std::option::Option::Some(v);
10711    }
10712
10713    // optional string url = 2;
10714
10715    pub fn url(&self) -> &str {
10716        match self.url.as_ref() {
10717            Some(v) => v,
10718            None => "",
10719        }
10720    }
10721
10722    pub fn clear_url(&mut self) {
10723        self.url = ::std::option::Option::None;
10724    }
10725
10726    pub fn has_url(&self) -> bool {
10727        self.url.is_some()
10728    }
10729
10730    // Param is passed by value, moved
10731    pub fn set_url(&mut self, v: ::std::string::String) {
10732        self.url = ::std::option::Option::Some(v);
10733    }
10734
10735    // Mutable pointer to the field.
10736    // If field is not initialized, it is initialized with default value first.
10737    pub fn mut_url(&mut self) -> &mut ::std::string::String {
10738        if self.url.is_none() {
10739            self.url = ::std::option::Option::Some(::std::string::String::new());
10740        }
10741        self.url.as_mut().unwrap()
10742    }
10743
10744    // Take field
10745    pub fn take_url(&mut self) -> ::std::string::String {
10746        self.url.take().unwrap_or_else(|| ::std::string::String::new())
10747    }
10748
10749    // optional string target = 3;
10750
10751    pub fn target(&self) -> &str {
10752        match self.target.as_ref() {
10753            Some(v) => v,
10754            None => "",
10755        }
10756    }
10757
10758    pub fn clear_target(&mut self) {
10759        self.target = ::std::option::Option::None;
10760    }
10761
10762    pub fn has_target(&self) -> bool {
10763        self.target.is_some()
10764    }
10765
10766    // Param is passed by value, moved
10767    pub fn set_target(&mut self, v: ::std::string::String) {
10768        self.target = ::std::option::Option::Some(v);
10769    }
10770
10771    // Mutable pointer to the field.
10772    // If field is not initialized, it is initialized with default value first.
10773    pub fn mut_target(&mut self) -> &mut ::std::string::String {
10774        if self.target.is_none() {
10775            self.target = ::std::option::Option::Some(::std::string::String::new());
10776        }
10777        self.target.as_mut().unwrap()
10778    }
10779
10780    // Take field
10781    pub fn take_target(&mut self) -> ::std::string::String {
10782        self.target.take().unwrap_or_else(|| ::std::string::String::new())
10783    }
10784
10785    // optional string postData = 4;
10786
10787    pub fn postData(&self) -> &str {
10788        match self.postData.as_ref() {
10789            Some(v) => v,
10790            None => "",
10791        }
10792    }
10793
10794    pub fn clear_postData(&mut self) {
10795        self.postData = ::std::option::Option::None;
10796    }
10797
10798    pub fn has_postData(&self) -> bool {
10799        self.postData.is_some()
10800    }
10801
10802    // Param is passed by value, moved
10803    pub fn set_postData(&mut self, v: ::std::string::String) {
10804        self.postData = ::std::option::Option::Some(v);
10805    }
10806
10807    // Mutable pointer to the field.
10808    // If field is not initialized, it is initialized with default value first.
10809    pub fn mut_postData(&mut self) -> &mut ::std::string::String {
10810        if self.postData.is_none() {
10811            self.postData = ::std::option::Option::Some(::std::string::String::new());
10812        }
10813        self.postData.as_mut().unwrap()
10814    }
10815
10816    // Take field
10817    pub fn take_postData(&mut self) -> ::std::string::String {
10818        self.postData.take().unwrap_or_else(|| ::std::string::String::new())
10819    }
10820
10821    // optional bool bIsRedirect = 5;
10822
10823    pub fn bIsRedirect(&self) -> bool {
10824        self.bIsRedirect.unwrap_or(false)
10825    }
10826
10827    pub fn clear_bIsRedirect(&mut self) {
10828        self.bIsRedirect = ::std::option::Option::None;
10829    }
10830
10831    pub fn has_bIsRedirect(&self) -> bool {
10832        self.bIsRedirect.is_some()
10833    }
10834
10835    // Param is passed by value, moved
10836    pub fn set_bIsRedirect(&mut self, v: bool) {
10837        self.bIsRedirect = ::std::option::Option::Some(v);
10838    }
10839}
10840
10841impl ::steam_vent_proto_common::protobuf::Message for CMsgStartRequest {
10842    const NAME: &'static str = "CMsgStartRequest";
10843
10844    fn is_initialized(&self) -> bool {
10845        true
10846    }
10847
10848    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10849        while let Some(tag) = is.read_raw_tag_or_eof()? {
10850            match tag {
10851                8 => {
10852                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
10853                },
10854                18 => {
10855                    self.url = ::std::option::Option::Some(is.read_string()?);
10856                },
10857                26 => {
10858                    self.target = ::std::option::Option::Some(is.read_string()?);
10859                },
10860                34 => {
10861                    self.postData = ::std::option::Option::Some(is.read_string()?);
10862                },
10863                40 => {
10864                    self.bIsRedirect = ::std::option::Option::Some(is.read_bool()?);
10865                },
10866                tag => {
10867                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
10868                },
10869            };
10870        }
10871        ::std::result::Result::Ok(())
10872    }
10873
10874    // Compute sizes of nested messages
10875    #[allow(unused_variables)]
10876    fn compute_size(&self) -> u64 {
10877        let mut my_size = 0;
10878        if let Some(v) = self.browser_handle {
10879            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
10880        }
10881        if let Some(v) = self.url.as_ref() {
10882            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
10883        }
10884        if let Some(v) = self.target.as_ref() {
10885            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
10886        }
10887        if let Some(v) = self.postData.as_ref() {
10888            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
10889        }
10890        if let Some(v) = self.bIsRedirect {
10891            my_size += 1 + 1;
10892        }
10893        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
10894        self.special_fields.cached_size().set(my_size as u32);
10895        my_size
10896    }
10897
10898    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10899        if let Some(v) = self.browser_handle {
10900            os.write_uint32(1, v)?;
10901        }
10902        if let Some(v) = self.url.as_ref() {
10903            os.write_string(2, v)?;
10904        }
10905        if let Some(v) = self.target.as_ref() {
10906            os.write_string(3, v)?;
10907        }
10908        if let Some(v) = self.postData.as_ref() {
10909            os.write_string(4, v)?;
10910        }
10911        if let Some(v) = self.bIsRedirect {
10912            os.write_bool(5, v)?;
10913        }
10914        os.write_unknown_fields(self.special_fields.unknown_fields())?;
10915        ::std::result::Result::Ok(())
10916    }
10917
10918    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
10919        &self.special_fields
10920    }
10921
10922    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
10923        &mut self.special_fields
10924    }
10925
10926    fn new() -> CMsgStartRequest {
10927        CMsgStartRequest::new()
10928    }
10929
10930    fn clear(&mut self) {
10931        self.browser_handle = ::std::option::Option::None;
10932        self.url = ::std::option::Option::None;
10933        self.target = ::std::option::Option::None;
10934        self.postData = ::std::option::Option::None;
10935        self.bIsRedirect = ::std::option::Option::None;
10936        self.special_fields.clear();
10937    }
10938
10939    fn default_instance() -> &'static CMsgStartRequest {
10940        static instance: CMsgStartRequest = CMsgStartRequest {
10941            browser_handle: ::std::option::Option::None,
10942            url: ::std::option::Option::None,
10943            target: ::std::option::Option::None,
10944            postData: ::std::option::Option::None,
10945            bIsRedirect: ::std::option::Option::None,
10946            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
10947        };
10948        &instance
10949    }
10950}
10951
10952// @@protoc_insertion_point(message:CMsgStartRequestResponse)
10953#[derive(PartialEq,Clone,Default,Debug)]
10954pub struct CMsgStartRequestResponse {
10955    // message fields
10956    // @@protoc_insertion_point(field:CMsgStartRequestResponse.browser_handle)
10957    pub browser_handle: ::std::option::Option<u32>,
10958    // @@protoc_insertion_point(field:CMsgStartRequestResponse.bAllow)
10959    pub bAllow: ::std::option::Option<bool>,
10960    // special fields
10961    // @@protoc_insertion_point(special_field:CMsgStartRequestResponse.special_fields)
10962    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
10963}
10964
10965impl<'a> ::std::default::Default for &'a CMsgStartRequestResponse {
10966    fn default() -> &'a CMsgStartRequestResponse {
10967        <CMsgStartRequestResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
10968    }
10969}
10970
10971impl CMsgStartRequestResponse {
10972    pub fn new() -> CMsgStartRequestResponse {
10973        ::std::default::Default::default()
10974    }
10975
10976    // optional uint32 browser_handle = 1;
10977
10978    pub fn browser_handle(&self) -> u32 {
10979        self.browser_handle.unwrap_or(0)
10980    }
10981
10982    pub fn clear_browser_handle(&mut self) {
10983        self.browser_handle = ::std::option::Option::None;
10984    }
10985
10986    pub fn has_browser_handle(&self) -> bool {
10987        self.browser_handle.is_some()
10988    }
10989
10990    // Param is passed by value, moved
10991    pub fn set_browser_handle(&mut self, v: u32) {
10992        self.browser_handle = ::std::option::Option::Some(v);
10993    }
10994
10995    // optional bool bAllow = 2;
10996
10997    pub fn bAllow(&self) -> bool {
10998        self.bAllow.unwrap_or(false)
10999    }
11000
11001    pub fn clear_bAllow(&mut self) {
11002        self.bAllow = ::std::option::Option::None;
11003    }
11004
11005    pub fn has_bAllow(&self) -> bool {
11006        self.bAllow.is_some()
11007    }
11008
11009    // Param is passed by value, moved
11010    pub fn set_bAllow(&mut self, v: bool) {
11011        self.bAllow = ::std::option::Option::Some(v);
11012    }
11013}
11014
11015impl ::steam_vent_proto_common::protobuf::Message for CMsgStartRequestResponse {
11016    const NAME: &'static str = "CMsgStartRequestResponse";
11017
11018    fn is_initialized(&self) -> bool {
11019        true
11020    }
11021
11022    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11023        while let Some(tag) = is.read_raw_tag_or_eof()? {
11024            match tag {
11025                8 => {
11026                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
11027                },
11028                16 => {
11029                    self.bAllow = ::std::option::Option::Some(is.read_bool()?);
11030                },
11031                tag => {
11032                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
11033                },
11034            };
11035        }
11036        ::std::result::Result::Ok(())
11037    }
11038
11039    // Compute sizes of nested messages
11040    #[allow(unused_variables)]
11041    fn compute_size(&self) -> u64 {
11042        let mut my_size = 0;
11043        if let Some(v) = self.browser_handle {
11044            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
11045        }
11046        if let Some(v) = self.bAllow {
11047            my_size += 1 + 1;
11048        }
11049        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
11050        self.special_fields.cached_size().set(my_size as u32);
11051        my_size
11052    }
11053
11054    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11055        if let Some(v) = self.browser_handle {
11056            os.write_uint32(1, v)?;
11057        }
11058        if let Some(v) = self.bAllow {
11059            os.write_bool(2, v)?;
11060        }
11061        os.write_unknown_fields(self.special_fields.unknown_fields())?;
11062        ::std::result::Result::Ok(())
11063    }
11064
11065    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
11066        &self.special_fields
11067    }
11068
11069    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
11070        &mut self.special_fields
11071    }
11072
11073    fn new() -> CMsgStartRequestResponse {
11074        CMsgStartRequestResponse::new()
11075    }
11076
11077    fn clear(&mut self) {
11078        self.browser_handle = ::std::option::Option::None;
11079        self.bAllow = ::std::option::Option::None;
11080        self.special_fields.clear();
11081    }
11082
11083    fn default_instance() -> &'static CMsgStartRequestResponse {
11084        static instance: CMsgStartRequestResponse = CMsgStartRequestResponse {
11085            browser_handle: ::std::option::Option::None,
11086            bAllow: ::std::option::Option::None,
11087            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
11088        };
11089        &instance
11090    }
11091}
11092
11093// @@protoc_insertion_point(message:CMsgShowPopup)
11094#[derive(PartialEq,Clone,Default,Debug)]
11095pub struct CMsgShowPopup {
11096    // message fields
11097    // @@protoc_insertion_point(field:CMsgShowPopup.browser_handle)
11098    pub browser_handle: ::std::option::Option<u32>,
11099    // special fields
11100    // @@protoc_insertion_point(special_field:CMsgShowPopup.special_fields)
11101    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
11102}
11103
11104impl<'a> ::std::default::Default for &'a CMsgShowPopup {
11105    fn default() -> &'a CMsgShowPopup {
11106        <CMsgShowPopup as ::steam_vent_proto_common::protobuf::Message>::default_instance()
11107    }
11108}
11109
11110impl CMsgShowPopup {
11111    pub fn new() -> CMsgShowPopup {
11112        ::std::default::Default::default()
11113    }
11114
11115    // optional uint32 browser_handle = 1;
11116
11117    pub fn browser_handle(&self) -> u32 {
11118        self.browser_handle.unwrap_or(0)
11119    }
11120
11121    pub fn clear_browser_handle(&mut self) {
11122        self.browser_handle = ::std::option::Option::None;
11123    }
11124
11125    pub fn has_browser_handle(&self) -> bool {
11126        self.browser_handle.is_some()
11127    }
11128
11129    // Param is passed by value, moved
11130    pub fn set_browser_handle(&mut self, v: u32) {
11131        self.browser_handle = ::std::option::Option::Some(v);
11132    }
11133}
11134
11135impl ::steam_vent_proto_common::protobuf::Message for CMsgShowPopup {
11136    const NAME: &'static str = "CMsgShowPopup";
11137
11138    fn is_initialized(&self) -> bool {
11139        true
11140    }
11141
11142    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11143        while let Some(tag) = is.read_raw_tag_or_eof()? {
11144            match tag {
11145                8 => {
11146                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
11147                },
11148                tag => {
11149                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
11150                },
11151            };
11152        }
11153        ::std::result::Result::Ok(())
11154    }
11155
11156    // Compute sizes of nested messages
11157    #[allow(unused_variables)]
11158    fn compute_size(&self) -> u64 {
11159        let mut my_size = 0;
11160        if let Some(v) = self.browser_handle {
11161            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
11162        }
11163        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
11164        self.special_fields.cached_size().set(my_size as u32);
11165        my_size
11166    }
11167
11168    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11169        if let Some(v) = self.browser_handle {
11170            os.write_uint32(1, v)?;
11171        }
11172        os.write_unknown_fields(self.special_fields.unknown_fields())?;
11173        ::std::result::Result::Ok(())
11174    }
11175
11176    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
11177        &self.special_fields
11178    }
11179
11180    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
11181        &mut self.special_fields
11182    }
11183
11184    fn new() -> CMsgShowPopup {
11185        CMsgShowPopup::new()
11186    }
11187
11188    fn clear(&mut self) {
11189        self.browser_handle = ::std::option::Option::None;
11190        self.special_fields.clear();
11191    }
11192
11193    fn default_instance() -> &'static CMsgShowPopup {
11194        static instance: CMsgShowPopup = CMsgShowPopup {
11195            browser_handle: ::std::option::Option::None,
11196            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
11197        };
11198        &instance
11199    }
11200}
11201
11202// @@protoc_insertion_point(message:CMsgHidePopup)
11203#[derive(PartialEq,Clone,Default,Debug)]
11204pub struct CMsgHidePopup {
11205    // message fields
11206    // @@protoc_insertion_point(field:CMsgHidePopup.browser_handle)
11207    pub browser_handle: ::std::option::Option<u32>,
11208    // special fields
11209    // @@protoc_insertion_point(special_field:CMsgHidePopup.special_fields)
11210    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
11211}
11212
11213impl<'a> ::std::default::Default for &'a CMsgHidePopup {
11214    fn default() -> &'a CMsgHidePopup {
11215        <CMsgHidePopup as ::steam_vent_proto_common::protobuf::Message>::default_instance()
11216    }
11217}
11218
11219impl CMsgHidePopup {
11220    pub fn new() -> CMsgHidePopup {
11221        ::std::default::Default::default()
11222    }
11223
11224    // optional uint32 browser_handle = 1;
11225
11226    pub fn browser_handle(&self) -> u32 {
11227        self.browser_handle.unwrap_or(0)
11228    }
11229
11230    pub fn clear_browser_handle(&mut self) {
11231        self.browser_handle = ::std::option::Option::None;
11232    }
11233
11234    pub fn has_browser_handle(&self) -> bool {
11235        self.browser_handle.is_some()
11236    }
11237
11238    // Param is passed by value, moved
11239    pub fn set_browser_handle(&mut self, v: u32) {
11240        self.browser_handle = ::std::option::Option::Some(v);
11241    }
11242}
11243
11244impl ::steam_vent_proto_common::protobuf::Message for CMsgHidePopup {
11245    const NAME: &'static str = "CMsgHidePopup";
11246
11247    fn is_initialized(&self) -> bool {
11248        true
11249    }
11250
11251    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11252        while let Some(tag) = is.read_raw_tag_or_eof()? {
11253            match tag {
11254                8 => {
11255                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
11256                },
11257                tag => {
11258                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
11259                },
11260            };
11261        }
11262        ::std::result::Result::Ok(())
11263    }
11264
11265    // Compute sizes of nested messages
11266    #[allow(unused_variables)]
11267    fn compute_size(&self) -> u64 {
11268        let mut my_size = 0;
11269        if let Some(v) = self.browser_handle {
11270            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
11271        }
11272        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
11273        self.special_fields.cached_size().set(my_size as u32);
11274        my_size
11275    }
11276
11277    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11278        if let Some(v) = self.browser_handle {
11279            os.write_uint32(1, v)?;
11280        }
11281        os.write_unknown_fields(self.special_fields.unknown_fields())?;
11282        ::std::result::Result::Ok(())
11283    }
11284
11285    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
11286        &self.special_fields
11287    }
11288
11289    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
11290        &mut self.special_fields
11291    }
11292
11293    fn new() -> CMsgHidePopup {
11294        CMsgHidePopup::new()
11295    }
11296
11297    fn clear(&mut self) {
11298        self.browser_handle = ::std::option::Option::None;
11299        self.special_fields.clear();
11300    }
11301
11302    fn default_instance() -> &'static CMsgHidePopup {
11303        static instance: CMsgHidePopup = CMsgHidePopup {
11304            browser_handle: ::std::option::Option::None,
11305            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
11306        };
11307        &instance
11308    }
11309}
11310
11311// @@protoc_insertion_point(message:CMsgSizePopup)
11312#[derive(PartialEq,Clone,Default,Debug)]
11313pub struct CMsgSizePopup {
11314    // message fields
11315    // @@protoc_insertion_point(field:CMsgSizePopup.browser_handle)
11316    pub browser_handle: ::std::option::Option<u32>,
11317    // @@protoc_insertion_point(field:CMsgSizePopup.x)
11318    pub x: ::std::option::Option<i32>,
11319    // @@protoc_insertion_point(field:CMsgSizePopup.y)
11320    pub y: ::std::option::Option<i32>,
11321    // @@protoc_insertion_point(field:CMsgSizePopup.wide)
11322    pub wide: ::std::option::Option<u32>,
11323    // @@protoc_insertion_point(field:CMsgSizePopup.tall)
11324    pub tall: ::std::option::Option<u32>,
11325    // special fields
11326    // @@protoc_insertion_point(special_field:CMsgSizePopup.special_fields)
11327    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
11328}
11329
11330impl<'a> ::std::default::Default for &'a CMsgSizePopup {
11331    fn default() -> &'a CMsgSizePopup {
11332        <CMsgSizePopup as ::steam_vent_proto_common::protobuf::Message>::default_instance()
11333    }
11334}
11335
11336impl CMsgSizePopup {
11337    pub fn new() -> CMsgSizePopup {
11338        ::std::default::Default::default()
11339    }
11340
11341    // optional uint32 browser_handle = 1;
11342
11343    pub fn browser_handle(&self) -> u32 {
11344        self.browser_handle.unwrap_or(0)
11345    }
11346
11347    pub fn clear_browser_handle(&mut self) {
11348        self.browser_handle = ::std::option::Option::None;
11349    }
11350
11351    pub fn has_browser_handle(&self) -> bool {
11352        self.browser_handle.is_some()
11353    }
11354
11355    // Param is passed by value, moved
11356    pub fn set_browser_handle(&mut self, v: u32) {
11357        self.browser_handle = ::std::option::Option::Some(v);
11358    }
11359
11360    // optional int32 x = 2;
11361
11362    pub fn x(&self) -> i32 {
11363        self.x.unwrap_or(0)
11364    }
11365
11366    pub fn clear_x(&mut self) {
11367        self.x = ::std::option::Option::None;
11368    }
11369
11370    pub fn has_x(&self) -> bool {
11371        self.x.is_some()
11372    }
11373
11374    // Param is passed by value, moved
11375    pub fn set_x(&mut self, v: i32) {
11376        self.x = ::std::option::Option::Some(v);
11377    }
11378
11379    // optional int32 y = 3;
11380
11381    pub fn y(&self) -> i32 {
11382        self.y.unwrap_or(0)
11383    }
11384
11385    pub fn clear_y(&mut self) {
11386        self.y = ::std::option::Option::None;
11387    }
11388
11389    pub fn has_y(&self) -> bool {
11390        self.y.is_some()
11391    }
11392
11393    // Param is passed by value, moved
11394    pub fn set_y(&mut self, v: i32) {
11395        self.y = ::std::option::Option::Some(v);
11396    }
11397
11398    // optional uint32 wide = 4;
11399
11400    pub fn wide(&self) -> u32 {
11401        self.wide.unwrap_or(0)
11402    }
11403
11404    pub fn clear_wide(&mut self) {
11405        self.wide = ::std::option::Option::None;
11406    }
11407
11408    pub fn has_wide(&self) -> bool {
11409        self.wide.is_some()
11410    }
11411
11412    // Param is passed by value, moved
11413    pub fn set_wide(&mut self, v: u32) {
11414        self.wide = ::std::option::Option::Some(v);
11415    }
11416
11417    // optional uint32 tall = 5;
11418
11419    pub fn tall(&self) -> u32 {
11420        self.tall.unwrap_or(0)
11421    }
11422
11423    pub fn clear_tall(&mut self) {
11424        self.tall = ::std::option::Option::None;
11425    }
11426
11427    pub fn has_tall(&self) -> bool {
11428        self.tall.is_some()
11429    }
11430
11431    // Param is passed by value, moved
11432    pub fn set_tall(&mut self, v: u32) {
11433        self.tall = ::std::option::Option::Some(v);
11434    }
11435}
11436
11437impl ::steam_vent_proto_common::protobuf::Message for CMsgSizePopup {
11438    const NAME: &'static str = "CMsgSizePopup";
11439
11440    fn is_initialized(&self) -> bool {
11441        true
11442    }
11443
11444    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11445        while let Some(tag) = is.read_raw_tag_or_eof()? {
11446            match tag {
11447                8 => {
11448                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
11449                },
11450                16 => {
11451                    self.x = ::std::option::Option::Some(is.read_int32()?);
11452                },
11453                24 => {
11454                    self.y = ::std::option::Option::Some(is.read_int32()?);
11455                },
11456                32 => {
11457                    self.wide = ::std::option::Option::Some(is.read_uint32()?);
11458                },
11459                40 => {
11460                    self.tall = ::std::option::Option::Some(is.read_uint32()?);
11461                },
11462                tag => {
11463                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
11464                },
11465            };
11466        }
11467        ::std::result::Result::Ok(())
11468    }
11469
11470    // Compute sizes of nested messages
11471    #[allow(unused_variables)]
11472    fn compute_size(&self) -> u64 {
11473        let mut my_size = 0;
11474        if let Some(v) = self.browser_handle {
11475            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
11476        }
11477        if let Some(v) = self.x {
11478            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
11479        }
11480        if let Some(v) = self.y {
11481            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
11482        }
11483        if let Some(v) = self.wide {
11484            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
11485        }
11486        if let Some(v) = self.tall {
11487            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
11488        }
11489        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
11490        self.special_fields.cached_size().set(my_size as u32);
11491        my_size
11492    }
11493
11494    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11495        if let Some(v) = self.browser_handle {
11496            os.write_uint32(1, v)?;
11497        }
11498        if let Some(v) = self.x {
11499            os.write_int32(2, v)?;
11500        }
11501        if let Some(v) = self.y {
11502            os.write_int32(3, v)?;
11503        }
11504        if let Some(v) = self.wide {
11505            os.write_uint32(4, v)?;
11506        }
11507        if let Some(v) = self.tall {
11508            os.write_uint32(5, v)?;
11509        }
11510        os.write_unknown_fields(self.special_fields.unknown_fields())?;
11511        ::std::result::Result::Ok(())
11512    }
11513
11514    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
11515        &self.special_fields
11516    }
11517
11518    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
11519        &mut self.special_fields
11520    }
11521
11522    fn new() -> CMsgSizePopup {
11523        CMsgSizePopup::new()
11524    }
11525
11526    fn clear(&mut self) {
11527        self.browser_handle = ::std::option::Option::None;
11528        self.x = ::std::option::Option::None;
11529        self.y = ::std::option::Option::None;
11530        self.wide = ::std::option::Option::None;
11531        self.tall = ::std::option::Option::None;
11532        self.special_fields.clear();
11533    }
11534
11535    fn default_instance() -> &'static CMsgSizePopup {
11536        static instance: CMsgSizePopup = CMsgSizePopup {
11537            browser_handle: ::std::option::Option::None,
11538            x: ::std::option::Option::None,
11539            y: ::std::option::Option::None,
11540            wide: ::std::option::Option::None,
11541            tall: ::std::option::Option::None,
11542            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
11543        };
11544        &instance
11545    }
11546}
11547
11548// @@protoc_insertion_point(message:CMsgOpenNewTab)
11549#[derive(PartialEq,Clone,Default,Debug)]
11550pub struct CMsgOpenNewTab {
11551    // message fields
11552    // @@protoc_insertion_point(field:CMsgOpenNewTab.browser_handle)
11553    pub browser_handle: ::std::option::Option<u32>,
11554    // @@protoc_insertion_point(field:CMsgOpenNewTab.url)
11555    pub url: ::std::option::Option<::std::string::String>,
11556    // @@protoc_insertion_point(field:CMsgOpenNewTab.bForeground)
11557    pub bForeground: ::std::option::Option<bool>,
11558    // special fields
11559    // @@protoc_insertion_point(special_field:CMsgOpenNewTab.special_fields)
11560    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
11561}
11562
11563impl<'a> ::std::default::Default for &'a CMsgOpenNewTab {
11564    fn default() -> &'a CMsgOpenNewTab {
11565        <CMsgOpenNewTab as ::steam_vent_proto_common::protobuf::Message>::default_instance()
11566    }
11567}
11568
11569impl CMsgOpenNewTab {
11570    pub fn new() -> CMsgOpenNewTab {
11571        ::std::default::Default::default()
11572    }
11573
11574    // optional uint32 browser_handle = 1;
11575
11576    pub fn browser_handle(&self) -> u32 {
11577        self.browser_handle.unwrap_or(0)
11578    }
11579
11580    pub fn clear_browser_handle(&mut self) {
11581        self.browser_handle = ::std::option::Option::None;
11582    }
11583
11584    pub fn has_browser_handle(&self) -> bool {
11585        self.browser_handle.is_some()
11586    }
11587
11588    // Param is passed by value, moved
11589    pub fn set_browser_handle(&mut self, v: u32) {
11590        self.browser_handle = ::std::option::Option::Some(v);
11591    }
11592
11593    // optional string url = 2;
11594
11595    pub fn url(&self) -> &str {
11596        match self.url.as_ref() {
11597            Some(v) => v,
11598            None => "",
11599        }
11600    }
11601
11602    pub fn clear_url(&mut self) {
11603        self.url = ::std::option::Option::None;
11604    }
11605
11606    pub fn has_url(&self) -> bool {
11607        self.url.is_some()
11608    }
11609
11610    // Param is passed by value, moved
11611    pub fn set_url(&mut self, v: ::std::string::String) {
11612        self.url = ::std::option::Option::Some(v);
11613    }
11614
11615    // Mutable pointer to the field.
11616    // If field is not initialized, it is initialized with default value first.
11617    pub fn mut_url(&mut self) -> &mut ::std::string::String {
11618        if self.url.is_none() {
11619            self.url = ::std::option::Option::Some(::std::string::String::new());
11620        }
11621        self.url.as_mut().unwrap()
11622    }
11623
11624    // Take field
11625    pub fn take_url(&mut self) -> ::std::string::String {
11626        self.url.take().unwrap_or_else(|| ::std::string::String::new())
11627    }
11628
11629    // optional bool bForeground = 3;
11630
11631    pub fn bForeground(&self) -> bool {
11632        self.bForeground.unwrap_or(false)
11633    }
11634
11635    pub fn clear_bForeground(&mut self) {
11636        self.bForeground = ::std::option::Option::None;
11637    }
11638
11639    pub fn has_bForeground(&self) -> bool {
11640        self.bForeground.is_some()
11641    }
11642
11643    // Param is passed by value, moved
11644    pub fn set_bForeground(&mut self, v: bool) {
11645        self.bForeground = ::std::option::Option::Some(v);
11646    }
11647}
11648
11649impl ::steam_vent_proto_common::protobuf::Message for CMsgOpenNewTab {
11650    const NAME: &'static str = "CMsgOpenNewTab";
11651
11652    fn is_initialized(&self) -> bool {
11653        true
11654    }
11655
11656    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11657        while let Some(tag) = is.read_raw_tag_or_eof()? {
11658            match tag {
11659                8 => {
11660                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
11661                },
11662                18 => {
11663                    self.url = ::std::option::Option::Some(is.read_string()?);
11664                },
11665                24 => {
11666                    self.bForeground = ::std::option::Option::Some(is.read_bool()?);
11667                },
11668                tag => {
11669                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
11670                },
11671            };
11672        }
11673        ::std::result::Result::Ok(())
11674    }
11675
11676    // Compute sizes of nested messages
11677    #[allow(unused_variables)]
11678    fn compute_size(&self) -> u64 {
11679        let mut my_size = 0;
11680        if let Some(v) = self.browser_handle {
11681            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
11682        }
11683        if let Some(v) = self.url.as_ref() {
11684            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
11685        }
11686        if let Some(v) = self.bForeground {
11687            my_size += 1 + 1;
11688        }
11689        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
11690        self.special_fields.cached_size().set(my_size as u32);
11691        my_size
11692    }
11693
11694    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11695        if let Some(v) = self.browser_handle {
11696            os.write_uint32(1, v)?;
11697        }
11698        if let Some(v) = self.url.as_ref() {
11699            os.write_string(2, v)?;
11700        }
11701        if let Some(v) = self.bForeground {
11702            os.write_bool(3, v)?;
11703        }
11704        os.write_unknown_fields(self.special_fields.unknown_fields())?;
11705        ::std::result::Result::Ok(())
11706    }
11707
11708    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
11709        &self.special_fields
11710    }
11711
11712    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
11713        &mut self.special_fields
11714    }
11715
11716    fn new() -> CMsgOpenNewTab {
11717        CMsgOpenNewTab::new()
11718    }
11719
11720    fn clear(&mut self) {
11721        self.browser_handle = ::std::option::Option::None;
11722        self.url = ::std::option::Option::None;
11723        self.bForeground = ::std::option::Option::None;
11724        self.special_fields.clear();
11725    }
11726
11727    fn default_instance() -> &'static CMsgOpenNewTab {
11728        static instance: CMsgOpenNewTab = CMsgOpenNewTab {
11729            browser_handle: ::std::option::Option::None,
11730            url: ::std::option::Option::None,
11731            bForeground: ::std::option::Option::None,
11732            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
11733        };
11734        &instance
11735    }
11736}
11737
11738// @@protoc_insertion_point(message:CMsgPopupHTMLWindow)
11739#[derive(PartialEq,Clone,Default,Debug)]
11740pub struct CMsgPopupHTMLWindow {
11741    // message fields
11742    // @@protoc_insertion_point(field:CMsgPopupHTMLWindow.browser_handle)
11743    pub browser_handle: ::std::option::Option<u32>,
11744    // @@protoc_insertion_point(field:CMsgPopupHTMLWindow.url)
11745    pub url: ::std::option::Option<::std::string::String>,
11746    // @@protoc_insertion_point(field:CMsgPopupHTMLWindow.x)
11747    pub x: ::std::option::Option<i32>,
11748    // @@protoc_insertion_point(field:CMsgPopupHTMLWindow.y)
11749    pub y: ::std::option::Option<i32>,
11750    // @@protoc_insertion_point(field:CMsgPopupHTMLWindow.wide)
11751    pub wide: ::std::option::Option<u32>,
11752    // @@protoc_insertion_point(field:CMsgPopupHTMLWindow.tall)
11753    pub tall: ::std::option::Option<u32>,
11754    // @@protoc_insertion_point(field:CMsgPopupHTMLWindow.popup_index)
11755    pub popup_index: ::std::option::Option<u32>,
11756    // @@protoc_insertion_point(field:CMsgPopupHTMLWindow.trusted_creator)
11757    pub trusted_creator: ::std::option::Option<bool>,
11758    // @@protoc_insertion_point(field:CMsgPopupHTMLWindow.name)
11759    pub name: ::std::option::Option<::std::string::String>,
11760    // @@protoc_insertion_point(field:CMsgPopupHTMLWindow.hwnd)
11761    pub hwnd: ::std::option::Option<u64>,
11762    // @@protoc_insertion_point(field:CMsgPopupHTMLWindow.parent_popup_index)
11763    pub parent_popup_index: ::std::option::Option<u32>,
11764    // special fields
11765    // @@protoc_insertion_point(special_field:CMsgPopupHTMLWindow.special_fields)
11766    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
11767}
11768
11769impl<'a> ::std::default::Default for &'a CMsgPopupHTMLWindow {
11770    fn default() -> &'a CMsgPopupHTMLWindow {
11771        <CMsgPopupHTMLWindow as ::steam_vent_proto_common::protobuf::Message>::default_instance()
11772    }
11773}
11774
11775impl CMsgPopupHTMLWindow {
11776    pub fn new() -> CMsgPopupHTMLWindow {
11777        ::std::default::Default::default()
11778    }
11779
11780    // optional uint32 browser_handle = 1;
11781
11782    pub fn browser_handle(&self) -> u32 {
11783        self.browser_handle.unwrap_or(0)
11784    }
11785
11786    pub fn clear_browser_handle(&mut self) {
11787        self.browser_handle = ::std::option::Option::None;
11788    }
11789
11790    pub fn has_browser_handle(&self) -> bool {
11791        self.browser_handle.is_some()
11792    }
11793
11794    // Param is passed by value, moved
11795    pub fn set_browser_handle(&mut self, v: u32) {
11796        self.browser_handle = ::std::option::Option::Some(v);
11797    }
11798
11799    // optional string url = 2;
11800
11801    pub fn url(&self) -> &str {
11802        match self.url.as_ref() {
11803            Some(v) => v,
11804            None => "",
11805        }
11806    }
11807
11808    pub fn clear_url(&mut self) {
11809        self.url = ::std::option::Option::None;
11810    }
11811
11812    pub fn has_url(&self) -> bool {
11813        self.url.is_some()
11814    }
11815
11816    // Param is passed by value, moved
11817    pub fn set_url(&mut self, v: ::std::string::String) {
11818        self.url = ::std::option::Option::Some(v);
11819    }
11820
11821    // Mutable pointer to the field.
11822    // If field is not initialized, it is initialized with default value first.
11823    pub fn mut_url(&mut self) -> &mut ::std::string::String {
11824        if self.url.is_none() {
11825            self.url = ::std::option::Option::Some(::std::string::String::new());
11826        }
11827        self.url.as_mut().unwrap()
11828    }
11829
11830    // Take field
11831    pub fn take_url(&mut self) -> ::std::string::String {
11832        self.url.take().unwrap_or_else(|| ::std::string::String::new())
11833    }
11834
11835    // optional int32 x = 3;
11836
11837    pub fn x(&self) -> i32 {
11838        self.x.unwrap_or(-2147483648i32)
11839    }
11840
11841    pub fn clear_x(&mut self) {
11842        self.x = ::std::option::Option::None;
11843    }
11844
11845    pub fn has_x(&self) -> bool {
11846        self.x.is_some()
11847    }
11848
11849    // Param is passed by value, moved
11850    pub fn set_x(&mut self, v: i32) {
11851        self.x = ::std::option::Option::Some(v);
11852    }
11853
11854    // optional int32 y = 4;
11855
11856    pub fn y(&self) -> i32 {
11857        self.y.unwrap_or(-2147483648i32)
11858    }
11859
11860    pub fn clear_y(&mut self) {
11861        self.y = ::std::option::Option::None;
11862    }
11863
11864    pub fn has_y(&self) -> bool {
11865        self.y.is_some()
11866    }
11867
11868    // Param is passed by value, moved
11869    pub fn set_y(&mut self, v: i32) {
11870        self.y = ::std::option::Option::Some(v);
11871    }
11872
11873    // optional uint32 wide = 5;
11874
11875    pub fn wide(&self) -> u32 {
11876        self.wide.unwrap_or(0)
11877    }
11878
11879    pub fn clear_wide(&mut self) {
11880        self.wide = ::std::option::Option::None;
11881    }
11882
11883    pub fn has_wide(&self) -> bool {
11884        self.wide.is_some()
11885    }
11886
11887    // Param is passed by value, moved
11888    pub fn set_wide(&mut self, v: u32) {
11889        self.wide = ::std::option::Option::Some(v);
11890    }
11891
11892    // optional uint32 tall = 6;
11893
11894    pub fn tall(&self) -> u32 {
11895        self.tall.unwrap_or(0)
11896    }
11897
11898    pub fn clear_tall(&mut self) {
11899        self.tall = ::std::option::Option::None;
11900    }
11901
11902    pub fn has_tall(&self) -> bool {
11903        self.tall.is_some()
11904    }
11905
11906    // Param is passed by value, moved
11907    pub fn set_tall(&mut self, v: u32) {
11908        self.tall = ::std::option::Option::Some(v);
11909    }
11910
11911    // optional uint32 popup_index = 7;
11912
11913    pub fn popup_index(&self) -> u32 {
11914        self.popup_index.unwrap_or(0)
11915    }
11916
11917    pub fn clear_popup_index(&mut self) {
11918        self.popup_index = ::std::option::Option::None;
11919    }
11920
11921    pub fn has_popup_index(&self) -> bool {
11922        self.popup_index.is_some()
11923    }
11924
11925    // Param is passed by value, moved
11926    pub fn set_popup_index(&mut self, v: u32) {
11927        self.popup_index = ::std::option::Option::Some(v);
11928    }
11929
11930    // optional bool trusted_creator = 8;
11931
11932    pub fn trusted_creator(&self) -> bool {
11933        self.trusted_creator.unwrap_or(false)
11934    }
11935
11936    pub fn clear_trusted_creator(&mut self) {
11937        self.trusted_creator = ::std::option::Option::None;
11938    }
11939
11940    pub fn has_trusted_creator(&self) -> bool {
11941        self.trusted_creator.is_some()
11942    }
11943
11944    // Param is passed by value, moved
11945    pub fn set_trusted_creator(&mut self, v: bool) {
11946        self.trusted_creator = ::std::option::Option::Some(v);
11947    }
11948
11949    // optional string name = 9;
11950
11951    pub fn name(&self) -> &str {
11952        match self.name.as_ref() {
11953            Some(v) => v,
11954            None => "",
11955        }
11956    }
11957
11958    pub fn clear_name(&mut self) {
11959        self.name = ::std::option::Option::None;
11960    }
11961
11962    pub fn has_name(&self) -> bool {
11963        self.name.is_some()
11964    }
11965
11966    // Param is passed by value, moved
11967    pub fn set_name(&mut self, v: ::std::string::String) {
11968        self.name = ::std::option::Option::Some(v);
11969    }
11970
11971    // Mutable pointer to the field.
11972    // If field is not initialized, it is initialized with default value first.
11973    pub fn mut_name(&mut self) -> &mut ::std::string::String {
11974        if self.name.is_none() {
11975            self.name = ::std::option::Option::Some(::std::string::String::new());
11976        }
11977        self.name.as_mut().unwrap()
11978    }
11979
11980    // Take field
11981    pub fn take_name(&mut self) -> ::std::string::String {
11982        self.name.take().unwrap_or_else(|| ::std::string::String::new())
11983    }
11984
11985    // optional uint64 hwnd = 10;
11986
11987    pub fn hwnd(&self) -> u64 {
11988        self.hwnd.unwrap_or(0)
11989    }
11990
11991    pub fn clear_hwnd(&mut self) {
11992        self.hwnd = ::std::option::Option::None;
11993    }
11994
11995    pub fn has_hwnd(&self) -> bool {
11996        self.hwnd.is_some()
11997    }
11998
11999    // Param is passed by value, moved
12000    pub fn set_hwnd(&mut self, v: u64) {
12001        self.hwnd = ::std::option::Option::Some(v);
12002    }
12003
12004    // optional uint32 parent_popup_index = 11;
12005
12006    pub fn parent_popup_index(&self) -> u32 {
12007        self.parent_popup_index.unwrap_or(0)
12008    }
12009
12010    pub fn clear_parent_popup_index(&mut self) {
12011        self.parent_popup_index = ::std::option::Option::None;
12012    }
12013
12014    pub fn has_parent_popup_index(&self) -> bool {
12015        self.parent_popup_index.is_some()
12016    }
12017
12018    // Param is passed by value, moved
12019    pub fn set_parent_popup_index(&mut self, v: u32) {
12020        self.parent_popup_index = ::std::option::Option::Some(v);
12021    }
12022}
12023
12024impl ::steam_vent_proto_common::protobuf::Message for CMsgPopupHTMLWindow {
12025    const NAME: &'static str = "CMsgPopupHTMLWindow";
12026
12027    fn is_initialized(&self) -> bool {
12028        true
12029    }
12030
12031    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12032        while let Some(tag) = is.read_raw_tag_or_eof()? {
12033            match tag {
12034                8 => {
12035                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
12036                },
12037                18 => {
12038                    self.url = ::std::option::Option::Some(is.read_string()?);
12039                },
12040                24 => {
12041                    self.x = ::std::option::Option::Some(is.read_int32()?);
12042                },
12043                32 => {
12044                    self.y = ::std::option::Option::Some(is.read_int32()?);
12045                },
12046                40 => {
12047                    self.wide = ::std::option::Option::Some(is.read_uint32()?);
12048                },
12049                48 => {
12050                    self.tall = ::std::option::Option::Some(is.read_uint32()?);
12051                },
12052                56 => {
12053                    self.popup_index = ::std::option::Option::Some(is.read_uint32()?);
12054                },
12055                64 => {
12056                    self.trusted_creator = ::std::option::Option::Some(is.read_bool()?);
12057                },
12058                74 => {
12059                    self.name = ::std::option::Option::Some(is.read_string()?);
12060                },
12061                80 => {
12062                    self.hwnd = ::std::option::Option::Some(is.read_uint64()?);
12063                },
12064                88 => {
12065                    self.parent_popup_index = ::std::option::Option::Some(is.read_uint32()?);
12066                },
12067                tag => {
12068                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
12069                },
12070            };
12071        }
12072        ::std::result::Result::Ok(())
12073    }
12074
12075    // Compute sizes of nested messages
12076    #[allow(unused_variables)]
12077    fn compute_size(&self) -> u64 {
12078        let mut my_size = 0;
12079        if let Some(v) = self.browser_handle {
12080            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
12081        }
12082        if let Some(v) = self.url.as_ref() {
12083            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
12084        }
12085        if let Some(v) = self.x {
12086            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
12087        }
12088        if let Some(v) = self.y {
12089            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v);
12090        }
12091        if let Some(v) = self.wide {
12092            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
12093        }
12094        if let Some(v) = self.tall {
12095            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
12096        }
12097        if let Some(v) = self.popup_index {
12098            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
12099        }
12100        if let Some(v) = self.trusted_creator {
12101            my_size += 1 + 1;
12102        }
12103        if let Some(v) = self.name.as_ref() {
12104            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(9, &v);
12105        }
12106        if let Some(v) = self.hwnd {
12107            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(10, v);
12108        }
12109        if let Some(v) = self.parent_popup_index {
12110            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(11, v);
12111        }
12112        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
12113        self.special_fields.cached_size().set(my_size as u32);
12114        my_size
12115    }
12116
12117    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12118        if let Some(v) = self.browser_handle {
12119            os.write_uint32(1, v)?;
12120        }
12121        if let Some(v) = self.url.as_ref() {
12122            os.write_string(2, v)?;
12123        }
12124        if let Some(v) = self.x {
12125            os.write_int32(3, v)?;
12126        }
12127        if let Some(v) = self.y {
12128            os.write_int32(4, v)?;
12129        }
12130        if let Some(v) = self.wide {
12131            os.write_uint32(5, v)?;
12132        }
12133        if let Some(v) = self.tall {
12134            os.write_uint32(6, v)?;
12135        }
12136        if let Some(v) = self.popup_index {
12137            os.write_uint32(7, v)?;
12138        }
12139        if let Some(v) = self.trusted_creator {
12140            os.write_bool(8, v)?;
12141        }
12142        if let Some(v) = self.name.as_ref() {
12143            os.write_string(9, v)?;
12144        }
12145        if let Some(v) = self.hwnd {
12146            os.write_uint64(10, v)?;
12147        }
12148        if let Some(v) = self.parent_popup_index {
12149            os.write_uint32(11, v)?;
12150        }
12151        os.write_unknown_fields(self.special_fields.unknown_fields())?;
12152        ::std::result::Result::Ok(())
12153    }
12154
12155    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
12156        &self.special_fields
12157    }
12158
12159    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
12160        &mut self.special_fields
12161    }
12162
12163    fn new() -> CMsgPopupHTMLWindow {
12164        CMsgPopupHTMLWindow::new()
12165    }
12166
12167    fn clear(&mut self) {
12168        self.browser_handle = ::std::option::Option::None;
12169        self.url = ::std::option::Option::None;
12170        self.x = ::std::option::Option::None;
12171        self.y = ::std::option::Option::None;
12172        self.wide = ::std::option::Option::None;
12173        self.tall = ::std::option::Option::None;
12174        self.popup_index = ::std::option::Option::None;
12175        self.trusted_creator = ::std::option::Option::None;
12176        self.name = ::std::option::Option::None;
12177        self.hwnd = ::std::option::Option::None;
12178        self.parent_popup_index = ::std::option::Option::None;
12179        self.special_fields.clear();
12180    }
12181
12182    fn default_instance() -> &'static CMsgPopupHTMLWindow {
12183        static instance: CMsgPopupHTMLWindow = CMsgPopupHTMLWindow {
12184            browser_handle: ::std::option::Option::None,
12185            url: ::std::option::Option::None,
12186            x: ::std::option::Option::None,
12187            y: ::std::option::Option::None,
12188            wide: ::std::option::Option::None,
12189            tall: ::std::option::Option::None,
12190            popup_index: ::std::option::Option::None,
12191            trusted_creator: ::std::option::Option::None,
12192            name: ::std::option::Option::None,
12193            hwnd: ::std::option::Option::None,
12194            parent_popup_index: ::std::option::Option::None,
12195            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
12196        };
12197        &instance
12198    }
12199}
12200
12201// @@protoc_insertion_point(message:CMsgPopupHTMLWindowResponse)
12202#[derive(PartialEq,Clone,Default,Debug)]
12203pub struct CMsgPopupHTMLWindowResponse {
12204    // message fields
12205    // @@protoc_insertion_point(field:CMsgPopupHTMLWindowResponse.browser_handle)
12206    pub browser_handle: ::std::option::Option<u32>,
12207    // @@protoc_insertion_point(field:CMsgPopupHTMLWindowResponse.bAllow)
12208    pub bAllow: ::std::option::Option<bool>,
12209    // special fields
12210    // @@protoc_insertion_point(special_field:CMsgPopupHTMLWindowResponse.special_fields)
12211    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
12212}
12213
12214impl<'a> ::std::default::Default for &'a CMsgPopupHTMLWindowResponse {
12215    fn default() -> &'a CMsgPopupHTMLWindowResponse {
12216        <CMsgPopupHTMLWindowResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
12217    }
12218}
12219
12220impl CMsgPopupHTMLWindowResponse {
12221    pub fn new() -> CMsgPopupHTMLWindowResponse {
12222        ::std::default::Default::default()
12223    }
12224
12225    // optional uint32 browser_handle = 1;
12226
12227    pub fn browser_handle(&self) -> u32 {
12228        self.browser_handle.unwrap_or(0)
12229    }
12230
12231    pub fn clear_browser_handle(&mut self) {
12232        self.browser_handle = ::std::option::Option::None;
12233    }
12234
12235    pub fn has_browser_handle(&self) -> bool {
12236        self.browser_handle.is_some()
12237    }
12238
12239    // Param is passed by value, moved
12240    pub fn set_browser_handle(&mut self, v: u32) {
12241        self.browser_handle = ::std::option::Option::Some(v);
12242    }
12243
12244    // optional bool bAllow = 2;
12245
12246    pub fn bAllow(&self) -> bool {
12247        self.bAllow.unwrap_or(false)
12248    }
12249
12250    pub fn clear_bAllow(&mut self) {
12251        self.bAllow = ::std::option::Option::None;
12252    }
12253
12254    pub fn has_bAllow(&self) -> bool {
12255        self.bAllow.is_some()
12256    }
12257
12258    // Param is passed by value, moved
12259    pub fn set_bAllow(&mut self, v: bool) {
12260        self.bAllow = ::std::option::Option::Some(v);
12261    }
12262}
12263
12264impl ::steam_vent_proto_common::protobuf::Message for CMsgPopupHTMLWindowResponse {
12265    const NAME: &'static str = "CMsgPopupHTMLWindowResponse";
12266
12267    fn is_initialized(&self) -> bool {
12268        true
12269    }
12270
12271    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12272        while let Some(tag) = is.read_raw_tag_or_eof()? {
12273            match tag {
12274                8 => {
12275                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
12276                },
12277                16 => {
12278                    self.bAllow = ::std::option::Option::Some(is.read_bool()?);
12279                },
12280                tag => {
12281                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
12282                },
12283            };
12284        }
12285        ::std::result::Result::Ok(())
12286    }
12287
12288    // Compute sizes of nested messages
12289    #[allow(unused_variables)]
12290    fn compute_size(&self) -> u64 {
12291        let mut my_size = 0;
12292        if let Some(v) = self.browser_handle {
12293            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
12294        }
12295        if let Some(v) = self.bAllow {
12296            my_size += 1 + 1;
12297        }
12298        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
12299        self.special_fields.cached_size().set(my_size as u32);
12300        my_size
12301    }
12302
12303    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12304        if let Some(v) = self.browser_handle {
12305            os.write_uint32(1, v)?;
12306        }
12307        if let Some(v) = self.bAllow {
12308            os.write_bool(2, v)?;
12309        }
12310        os.write_unknown_fields(self.special_fields.unknown_fields())?;
12311        ::std::result::Result::Ok(())
12312    }
12313
12314    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
12315        &self.special_fields
12316    }
12317
12318    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
12319        &mut self.special_fields
12320    }
12321
12322    fn new() -> CMsgPopupHTMLWindowResponse {
12323        CMsgPopupHTMLWindowResponse::new()
12324    }
12325
12326    fn clear(&mut self) {
12327        self.browser_handle = ::std::option::Option::None;
12328        self.bAllow = ::std::option::Option::None;
12329        self.special_fields.clear();
12330    }
12331
12332    fn default_instance() -> &'static CMsgPopupHTMLWindowResponse {
12333        static instance: CMsgPopupHTMLWindowResponse = CMsgPopupHTMLWindowResponse {
12334            browser_handle: ::std::option::Option::None,
12335            bAllow: ::std::option::Option::None,
12336            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
12337        };
12338        &instance
12339    }
12340}
12341
12342// @@protoc_insertion_point(message:CMsgSetHTMLTitle)
12343#[derive(PartialEq,Clone,Default,Debug)]
12344pub struct CMsgSetHTMLTitle {
12345    // message fields
12346    // @@protoc_insertion_point(field:CMsgSetHTMLTitle.browser_handle)
12347    pub browser_handle: ::std::option::Option<u32>,
12348    // @@protoc_insertion_point(field:CMsgSetHTMLTitle.title)
12349    pub title: ::std::option::Option<::std::string::String>,
12350    // special fields
12351    // @@protoc_insertion_point(special_field:CMsgSetHTMLTitle.special_fields)
12352    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
12353}
12354
12355impl<'a> ::std::default::Default for &'a CMsgSetHTMLTitle {
12356    fn default() -> &'a CMsgSetHTMLTitle {
12357        <CMsgSetHTMLTitle as ::steam_vent_proto_common::protobuf::Message>::default_instance()
12358    }
12359}
12360
12361impl CMsgSetHTMLTitle {
12362    pub fn new() -> CMsgSetHTMLTitle {
12363        ::std::default::Default::default()
12364    }
12365
12366    // optional uint32 browser_handle = 1;
12367
12368    pub fn browser_handle(&self) -> u32 {
12369        self.browser_handle.unwrap_or(0)
12370    }
12371
12372    pub fn clear_browser_handle(&mut self) {
12373        self.browser_handle = ::std::option::Option::None;
12374    }
12375
12376    pub fn has_browser_handle(&self) -> bool {
12377        self.browser_handle.is_some()
12378    }
12379
12380    // Param is passed by value, moved
12381    pub fn set_browser_handle(&mut self, v: u32) {
12382        self.browser_handle = ::std::option::Option::Some(v);
12383    }
12384
12385    // optional string title = 2;
12386
12387    pub fn title(&self) -> &str {
12388        match self.title.as_ref() {
12389            Some(v) => v,
12390            None => "",
12391        }
12392    }
12393
12394    pub fn clear_title(&mut self) {
12395        self.title = ::std::option::Option::None;
12396    }
12397
12398    pub fn has_title(&self) -> bool {
12399        self.title.is_some()
12400    }
12401
12402    // Param is passed by value, moved
12403    pub fn set_title(&mut self, v: ::std::string::String) {
12404        self.title = ::std::option::Option::Some(v);
12405    }
12406
12407    // Mutable pointer to the field.
12408    // If field is not initialized, it is initialized with default value first.
12409    pub fn mut_title(&mut self) -> &mut ::std::string::String {
12410        if self.title.is_none() {
12411            self.title = ::std::option::Option::Some(::std::string::String::new());
12412        }
12413        self.title.as_mut().unwrap()
12414    }
12415
12416    // Take field
12417    pub fn take_title(&mut self) -> ::std::string::String {
12418        self.title.take().unwrap_or_else(|| ::std::string::String::new())
12419    }
12420}
12421
12422impl ::steam_vent_proto_common::protobuf::Message for CMsgSetHTMLTitle {
12423    const NAME: &'static str = "CMsgSetHTMLTitle";
12424
12425    fn is_initialized(&self) -> bool {
12426        true
12427    }
12428
12429    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12430        while let Some(tag) = is.read_raw_tag_or_eof()? {
12431            match tag {
12432                8 => {
12433                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
12434                },
12435                18 => {
12436                    self.title = ::std::option::Option::Some(is.read_string()?);
12437                },
12438                tag => {
12439                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
12440                },
12441            };
12442        }
12443        ::std::result::Result::Ok(())
12444    }
12445
12446    // Compute sizes of nested messages
12447    #[allow(unused_variables)]
12448    fn compute_size(&self) -> u64 {
12449        let mut my_size = 0;
12450        if let Some(v) = self.browser_handle {
12451            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
12452        }
12453        if let Some(v) = self.title.as_ref() {
12454            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
12455        }
12456        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
12457        self.special_fields.cached_size().set(my_size as u32);
12458        my_size
12459    }
12460
12461    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12462        if let Some(v) = self.browser_handle {
12463            os.write_uint32(1, v)?;
12464        }
12465        if let Some(v) = self.title.as_ref() {
12466            os.write_string(2, v)?;
12467        }
12468        os.write_unknown_fields(self.special_fields.unknown_fields())?;
12469        ::std::result::Result::Ok(())
12470    }
12471
12472    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
12473        &self.special_fields
12474    }
12475
12476    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
12477        &mut self.special_fields
12478    }
12479
12480    fn new() -> CMsgSetHTMLTitle {
12481        CMsgSetHTMLTitle::new()
12482    }
12483
12484    fn clear(&mut self) {
12485        self.browser_handle = ::std::option::Option::None;
12486        self.title = ::std::option::Option::None;
12487        self.special_fields.clear();
12488    }
12489
12490    fn default_instance() -> &'static CMsgSetHTMLTitle {
12491        static instance: CMsgSetHTMLTitle = CMsgSetHTMLTitle {
12492            browser_handle: ::std::option::Option::None,
12493            title: ::std::option::Option::None,
12494            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
12495        };
12496        &instance
12497    }
12498}
12499
12500// @@protoc_insertion_point(message:CMsgLoadingResource)
12501#[derive(PartialEq,Clone,Default,Debug)]
12502pub struct CMsgLoadingResource {
12503    // message fields
12504    // @@protoc_insertion_point(field:CMsgLoadingResource.browser_handle)
12505    pub browser_handle: ::std::option::Option<u32>,
12506    // @@protoc_insertion_point(field:CMsgLoadingResource.url)
12507    pub url: ::std::option::Option<::std::string::String>,
12508    // special fields
12509    // @@protoc_insertion_point(special_field:CMsgLoadingResource.special_fields)
12510    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
12511}
12512
12513impl<'a> ::std::default::Default for &'a CMsgLoadingResource {
12514    fn default() -> &'a CMsgLoadingResource {
12515        <CMsgLoadingResource as ::steam_vent_proto_common::protobuf::Message>::default_instance()
12516    }
12517}
12518
12519impl CMsgLoadingResource {
12520    pub fn new() -> CMsgLoadingResource {
12521        ::std::default::Default::default()
12522    }
12523
12524    // optional uint32 browser_handle = 1;
12525
12526    pub fn browser_handle(&self) -> u32 {
12527        self.browser_handle.unwrap_or(0)
12528    }
12529
12530    pub fn clear_browser_handle(&mut self) {
12531        self.browser_handle = ::std::option::Option::None;
12532    }
12533
12534    pub fn has_browser_handle(&self) -> bool {
12535        self.browser_handle.is_some()
12536    }
12537
12538    // Param is passed by value, moved
12539    pub fn set_browser_handle(&mut self, v: u32) {
12540        self.browser_handle = ::std::option::Option::Some(v);
12541    }
12542
12543    // optional string url = 2;
12544
12545    pub fn url(&self) -> &str {
12546        match self.url.as_ref() {
12547            Some(v) => v,
12548            None => "",
12549        }
12550    }
12551
12552    pub fn clear_url(&mut self) {
12553        self.url = ::std::option::Option::None;
12554    }
12555
12556    pub fn has_url(&self) -> bool {
12557        self.url.is_some()
12558    }
12559
12560    // Param is passed by value, moved
12561    pub fn set_url(&mut self, v: ::std::string::String) {
12562        self.url = ::std::option::Option::Some(v);
12563    }
12564
12565    // Mutable pointer to the field.
12566    // If field is not initialized, it is initialized with default value first.
12567    pub fn mut_url(&mut self) -> &mut ::std::string::String {
12568        if self.url.is_none() {
12569            self.url = ::std::option::Option::Some(::std::string::String::new());
12570        }
12571        self.url.as_mut().unwrap()
12572    }
12573
12574    // Take field
12575    pub fn take_url(&mut self) -> ::std::string::String {
12576        self.url.take().unwrap_or_else(|| ::std::string::String::new())
12577    }
12578}
12579
12580impl ::steam_vent_proto_common::protobuf::Message for CMsgLoadingResource {
12581    const NAME: &'static str = "CMsgLoadingResource";
12582
12583    fn is_initialized(&self) -> bool {
12584        true
12585    }
12586
12587    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12588        while let Some(tag) = is.read_raw_tag_or_eof()? {
12589            match tag {
12590                8 => {
12591                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
12592                },
12593                18 => {
12594                    self.url = ::std::option::Option::Some(is.read_string()?);
12595                },
12596                tag => {
12597                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
12598                },
12599            };
12600        }
12601        ::std::result::Result::Ok(())
12602    }
12603
12604    // Compute sizes of nested messages
12605    #[allow(unused_variables)]
12606    fn compute_size(&self) -> u64 {
12607        let mut my_size = 0;
12608        if let Some(v) = self.browser_handle {
12609            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
12610        }
12611        if let Some(v) = self.url.as_ref() {
12612            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
12613        }
12614        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
12615        self.special_fields.cached_size().set(my_size as u32);
12616        my_size
12617    }
12618
12619    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12620        if let Some(v) = self.browser_handle {
12621            os.write_uint32(1, v)?;
12622        }
12623        if let Some(v) = self.url.as_ref() {
12624            os.write_string(2, v)?;
12625        }
12626        os.write_unknown_fields(self.special_fields.unknown_fields())?;
12627        ::std::result::Result::Ok(())
12628    }
12629
12630    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
12631        &self.special_fields
12632    }
12633
12634    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
12635        &mut self.special_fields
12636    }
12637
12638    fn new() -> CMsgLoadingResource {
12639        CMsgLoadingResource::new()
12640    }
12641
12642    fn clear(&mut self) {
12643        self.browser_handle = ::std::option::Option::None;
12644        self.url = ::std::option::Option::None;
12645        self.special_fields.clear();
12646    }
12647
12648    fn default_instance() -> &'static CMsgLoadingResource {
12649        static instance: CMsgLoadingResource = CMsgLoadingResource {
12650            browser_handle: ::std::option::Option::None,
12651            url: ::std::option::Option::None,
12652            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
12653        };
12654        &instance
12655    }
12656}
12657
12658// @@protoc_insertion_point(message:CMsgStatusText)
12659#[derive(PartialEq,Clone,Default,Debug)]
12660pub struct CMsgStatusText {
12661    // message fields
12662    // @@protoc_insertion_point(field:CMsgStatusText.browser_handle)
12663    pub browser_handle: ::std::option::Option<u32>,
12664    // @@protoc_insertion_point(field:CMsgStatusText.text)
12665    pub text: ::std::option::Option<::std::string::String>,
12666    // special fields
12667    // @@protoc_insertion_point(special_field:CMsgStatusText.special_fields)
12668    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
12669}
12670
12671impl<'a> ::std::default::Default for &'a CMsgStatusText {
12672    fn default() -> &'a CMsgStatusText {
12673        <CMsgStatusText as ::steam_vent_proto_common::protobuf::Message>::default_instance()
12674    }
12675}
12676
12677impl CMsgStatusText {
12678    pub fn new() -> CMsgStatusText {
12679        ::std::default::Default::default()
12680    }
12681
12682    // optional uint32 browser_handle = 1;
12683
12684    pub fn browser_handle(&self) -> u32 {
12685        self.browser_handle.unwrap_or(0)
12686    }
12687
12688    pub fn clear_browser_handle(&mut self) {
12689        self.browser_handle = ::std::option::Option::None;
12690    }
12691
12692    pub fn has_browser_handle(&self) -> bool {
12693        self.browser_handle.is_some()
12694    }
12695
12696    // Param is passed by value, moved
12697    pub fn set_browser_handle(&mut self, v: u32) {
12698        self.browser_handle = ::std::option::Option::Some(v);
12699    }
12700
12701    // optional string text = 2;
12702
12703    pub fn text(&self) -> &str {
12704        match self.text.as_ref() {
12705            Some(v) => v,
12706            None => "",
12707        }
12708    }
12709
12710    pub fn clear_text(&mut self) {
12711        self.text = ::std::option::Option::None;
12712    }
12713
12714    pub fn has_text(&self) -> bool {
12715        self.text.is_some()
12716    }
12717
12718    // Param is passed by value, moved
12719    pub fn set_text(&mut self, v: ::std::string::String) {
12720        self.text = ::std::option::Option::Some(v);
12721    }
12722
12723    // Mutable pointer to the field.
12724    // If field is not initialized, it is initialized with default value first.
12725    pub fn mut_text(&mut self) -> &mut ::std::string::String {
12726        if self.text.is_none() {
12727            self.text = ::std::option::Option::Some(::std::string::String::new());
12728        }
12729        self.text.as_mut().unwrap()
12730    }
12731
12732    // Take field
12733    pub fn take_text(&mut self) -> ::std::string::String {
12734        self.text.take().unwrap_or_else(|| ::std::string::String::new())
12735    }
12736}
12737
12738impl ::steam_vent_proto_common::protobuf::Message for CMsgStatusText {
12739    const NAME: &'static str = "CMsgStatusText";
12740
12741    fn is_initialized(&self) -> bool {
12742        true
12743    }
12744
12745    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12746        while let Some(tag) = is.read_raw_tag_or_eof()? {
12747            match tag {
12748                8 => {
12749                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
12750                },
12751                18 => {
12752                    self.text = ::std::option::Option::Some(is.read_string()?);
12753                },
12754                tag => {
12755                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
12756                },
12757            };
12758        }
12759        ::std::result::Result::Ok(())
12760    }
12761
12762    // Compute sizes of nested messages
12763    #[allow(unused_variables)]
12764    fn compute_size(&self) -> u64 {
12765        let mut my_size = 0;
12766        if let Some(v) = self.browser_handle {
12767            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
12768        }
12769        if let Some(v) = self.text.as_ref() {
12770            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
12771        }
12772        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
12773        self.special_fields.cached_size().set(my_size as u32);
12774        my_size
12775    }
12776
12777    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12778        if let Some(v) = self.browser_handle {
12779            os.write_uint32(1, v)?;
12780        }
12781        if let Some(v) = self.text.as_ref() {
12782            os.write_string(2, v)?;
12783        }
12784        os.write_unknown_fields(self.special_fields.unknown_fields())?;
12785        ::std::result::Result::Ok(())
12786    }
12787
12788    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
12789        &self.special_fields
12790    }
12791
12792    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
12793        &mut self.special_fields
12794    }
12795
12796    fn new() -> CMsgStatusText {
12797        CMsgStatusText::new()
12798    }
12799
12800    fn clear(&mut self) {
12801        self.browser_handle = ::std::option::Option::None;
12802        self.text = ::std::option::Option::None;
12803        self.special_fields.clear();
12804    }
12805
12806    fn default_instance() -> &'static CMsgStatusText {
12807        static instance: CMsgStatusText = CMsgStatusText {
12808            browser_handle: ::std::option::Option::None,
12809            text: ::std::option::Option::None,
12810            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
12811        };
12812        &instance
12813    }
12814}
12815
12816// @@protoc_insertion_point(message:CMsgSetCursor)
12817#[derive(PartialEq,Clone,Default,Debug)]
12818pub struct CMsgSetCursor {
12819    // message fields
12820    // @@protoc_insertion_point(field:CMsgSetCursor.browser_handle)
12821    pub browser_handle: ::std::option::Option<u32>,
12822    // @@protoc_insertion_point(field:CMsgSetCursor.cursor)
12823    pub cursor: ::std::option::Option<u32>,
12824    // @@protoc_insertion_point(field:CMsgSetCursor.custom_data)
12825    pub custom_data: ::std::option::Option<::std::vec::Vec<u8>>,
12826    // @@protoc_insertion_point(field:CMsgSetCursor.wide)
12827    pub wide: ::std::option::Option<u32>,
12828    // @@protoc_insertion_point(field:CMsgSetCursor.tall)
12829    pub tall: ::std::option::Option<u32>,
12830    // @@protoc_insertion_point(field:CMsgSetCursor.xhotspot)
12831    pub xhotspot: ::std::option::Option<u32>,
12832    // @@protoc_insertion_point(field:CMsgSetCursor.yhotspot)
12833    pub yhotspot: ::std::option::Option<u32>,
12834    // special fields
12835    // @@protoc_insertion_point(special_field:CMsgSetCursor.special_fields)
12836    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
12837}
12838
12839impl<'a> ::std::default::Default for &'a CMsgSetCursor {
12840    fn default() -> &'a CMsgSetCursor {
12841        <CMsgSetCursor as ::steam_vent_proto_common::protobuf::Message>::default_instance()
12842    }
12843}
12844
12845impl CMsgSetCursor {
12846    pub fn new() -> CMsgSetCursor {
12847        ::std::default::Default::default()
12848    }
12849
12850    // optional uint32 browser_handle = 1;
12851
12852    pub fn browser_handle(&self) -> u32 {
12853        self.browser_handle.unwrap_or(0)
12854    }
12855
12856    pub fn clear_browser_handle(&mut self) {
12857        self.browser_handle = ::std::option::Option::None;
12858    }
12859
12860    pub fn has_browser_handle(&self) -> bool {
12861        self.browser_handle.is_some()
12862    }
12863
12864    // Param is passed by value, moved
12865    pub fn set_browser_handle(&mut self, v: u32) {
12866        self.browser_handle = ::std::option::Option::Some(v);
12867    }
12868
12869    // optional uint32 cursor = 2;
12870
12871    pub fn cursor(&self) -> u32 {
12872        self.cursor.unwrap_or(0)
12873    }
12874
12875    pub fn clear_cursor(&mut self) {
12876        self.cursor = ::std::option::Option::None;
12877    }
12878
12879    pub fn has_cursor(&self) -> bool {
12880        self.cursor.is_some()
12881    }
12882
12883    // Param is passed by value, moved
12884    pub fn set_cursor(&mut self, v: u32) {
12885        self.cursor = ::std::option::Option::Some(v);
12886    }
12887
12888    // optional bytes custom_data = 3;
12889
12890    pub fn custom_data(&self) -> &[u8] {
12891        match self.custom_data.as_ref() {
12892            Some(v) => v,
12893            None => &[],
12894        }
12895    }
12896
12897    pub fn clear_custom_data(&mut self) {
12898        self.custom_data = ::std::option::Option::None;
12899    }
12900
12901    pub fn has_custom_data(&self) -> bool {
12902        self.custom_data.is_some()
12903    }
12904
12905    // Param is passed by value, moved
12906    pub fn set_custom_data(&mut self, v: ::std::vec::Vec<u8>) {
12907        self.custom_data = ::std::option::Option::Some(v);
12908    }
12909
12910    // Mutable pointer to the field.
12911    // If field is not initialized, it is initialized with default value first.
12912    pub fn mut_custom_data(&mut self) -> &mut ::std::vec::Vec<u8> {
12913        if self.custom_data.is_none() {
12914            self.custom_data = ::std::option::Option::Some(::std::vec::Vec::new());
12915        }
12916        self.custom_data.as_mut().unwrap()
12917    }
12918
12919    // Take field
12920    pub fn take_custom_data(&mut self) -> ::std::vec::Vec<u8> {
12921        self.custom_data.take().unwrap_or_else(|| ::std::vec::Vec::new())
12922    }
12923
12924    // optional uint32 wide = 4;
12925
12926    pub fn wide(&self) -> u32 {
12927        self.wide.unwrap_or(0)
12928    }
12929
12930    pub fn clear_wide(&mut self) {
12931        self.wide = ::std::option::Option::None;
12932    }
12933
12934    pub fn has_wide(&self) -> bool {
12935        self.wide.is_some()
12936    }
12937
12938    // Param is passed by value, moved
12939    pub fn set_wide(&mut self, v: u32) {
12940        self.wide = ::std::option::Option::Some(v);
12941    }
12942
12943    // optional uint32 tall = 5;
12944
12945    pub fn tall(&self) -> u32 {
12946        self.tall.unwrap_or(0)
12947    }
12948
12949    pub fn clear_tall(&mut self) {
12950        self.tall = ::std::option::Option::None;
12951    }
12952
12953    pub fn has_tall(&self) -> bool {
12954        self.tall.is_some()
12955    }
12956
12957    // Param is passed by value, moved
12958    pub fn set_tall(&mut self, v: u32) {
12959        self.tall = ::std::option::Option::Some(v);
12960    }
12961
12962    // optional uint32 xhotspot = 6;
12963
12964    pub fn xhotspot(&self) -> u32 {
12965        self.xhotspot.unwrap_or(0)
12966    }
12967
12968    pub fn clear_xhotspot(&mut self) {
12969        self.xhotspot = ::std::option::Option::None;
12970    }
12971
12972    pub fn has_xhotspot(&self) -> bool {
12973        self.xhotspot.is_some()
12974    }
12975
12976    // Param is passed by value, moved
12977    pub fn set_xhotspot(&mut self, v: u32) {
12978        self.xhotspot = ::std::option::Option::Some(v);
12979    }
12980
12981    // optional uint32 yhotspot = 7;
12982
12983    pub fn yhotspot(&self) -> u32 {
12984        self.yhotspot.unwrap_or(0)
12985    }
12986
12987    pub fn clear_yhotspot(&mut self) {
12988        self.yhotspot = ::std::option::Option::None;
12989    }
12990
12991    pub fn has_yhotspot(&self) -> bool {
12992        self.yhotspot.is_some()
12993    }
12994
12995    // Param is passed by value, moved
12996    pub fn set_yhotspot(&mut self, v: u32) {
12997        self.yhotspot = ::std::option::Option::Some(v);
12998    }
12999}
13000
13001impl ::steam_vent_proto_common::protobuf::Message for CMsgSetCursor {
13002    const NAME: &'static str = "CMsgSetCursor";
13003
13004    fn is_initialized(&self) -> bool {
13005        true
13006    }
13007
13008    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
13009        while let Some(tag) = is.read_raw_tag_or_eof()? {
13010            match tag {
13011                8 => {
13012                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
13013                },
13014                16 => {
13015                    self.cursor = ::std::option::Option::Some(is.read_uint32()?);
13016                },
13017                26 => {
13018                    self.custom_data = ::std::option::Option::Some(is.read_bytes()?);
13019                },
13020                32 => {
13021                    self.wide = ::std::option::Option::Some(is.read_uint32()?);
13022                },
13023                40 => {
13024                    self.tall = ::std::option::Option::Some(is.read_uint32()?);
13025                },
13026                48 => {
13027                    self.xhotspot = ::std::option::Option::Some(is.read_uint32()?);
13028                },
13029                56 => {
13030                    self.yhotspot = ::std::option::Option::Some(is.read_uint32()?);
13031                },
13032                tag => {
13033                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
13034                },
13035            };
13036        }
13037        ::std::result::Result::Ok(())
13038    }
13039
13040    // Compute sizes of nested messages
13041    #[allow(unused_variables)]
13042    fn compute_size(&self) -> u64 {
13043        let mut my_size = 0;
13044        if let Some(v) = self.browser_handle {
13045            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
13046        }
13047        if let Some(v) = self.cursor {
13048            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
13049        }
13050        if let Some(v) = self.custom_data.as_ref() {
13051            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(3, &v);
13052        }
13053        if let Some(v) = self.wide {
13054            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
13055        }
13056        if let Some(v) = self.tall {
13057            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
13058        }
13059        if let Some(v) = self.xhotspot {
13060            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
13061        }
13062        if let Some(v) = self.yhotspot {
13063            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
13064        }
13065        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
13066        self.special_fields.cached_size().set(my_size as u32);
13067        my_size
13068    }
13069
13070    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
13071        if let Some(v) = self.browser_handle {
13072            os.write_uint32(1, v)?;
13073        }
13074        if let Some(v) = self.cursor {
13075            os.write_uint32(2, v)?;
13076        }
13077        if let Some(v) = self.custom_data.as_ref() {
13078            os.write_bytes(3, v)?;
13079        }
13080        if let Some(v) = self.wide {
13081            os.write_uint32(4, v)?;
13082        }
13083        if let Some(v) = self.tall {
13084            os.write_uint32(5, v)?;
13085        }
13086        if let Some(v) = self.xhotspot {
13087            os.write_uint32(6, v)?;
13088        }
13089        if let Some(v) = self.yhotspot {
13090            os.write_uint32(7, v)?;
13091        }
13092        os.write_unknown_fields(self.special_fields.unknown_fields())?;
13093        ::std::result::Result::Ok(())
13094    }
13095
13096    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
13097        &self.special_fields
13098    }
13099
13100    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
13101        &mut self.special_fields
13102    }
13103
13104    fn new() -> CMsgSetCursor {
13105        CMsgSetCursor::new()
13106    }
13107
13108    fn clear(&mut self) {
13109        self.browser_handle = ::std::option::Option::None;
13110        self.cursor = ::std::option::Option::None;
13111        self.custom_data = ::std::option::Option::None;
13112        self.wide = ::std::option::Option::None;
13113        self.tall = ::std::option::Option::None;
13114        self.xhotspot = ::std::option::Option::None;
13115        self.yhotspot = ::std::option::Option::None;
13116        self.special_fields.clear();
13117    }
13118
13119    fn default_instance() -> &'static CMsgSetCursor {
13120        static instance: CMsgSetCursor = CMsgSetCursor {
13121            browser_handle: ::std::option::Option::None,
13122            cursor: ::std::option::Option::None,
13123            custom_data: ::std::option::Option::None,
13124            wide: ::std::option::Option::None,
13125            tall: ::std::option::Option::None,
13126            xhotspot: ::std::option::Option::None,
13127            yhotspot: ::std::option::Option::None,
13128            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
13129        };
13130        &instance
13131    }
13132}
13133
13134// @@protoc_insertion_point(message:CMsgFileLoadDialog)
13135#[derive(PartialEq,Clone,Default,Debug)]
13136pub struct CMsgFileLoadDialog {
13137    // message fields
13138    // @@protoc_insertion_point(field:CMsgFileLoadDialog.browser_handle)
13139    pub browser_handle: ::std::option::Option<u32>,
13140    // @@protoc_insertion_point(field:CMsgFileLoadDialog.owning_browser_handle)
13141    pub owning_browser_handle: ::std::option::Option<u32>,
13142    // @@protoc_insertion_point(field:CMsgFileLoadDialog.title)
13143    pub title: ::std::option::Option<::std::string::String>,
13144    // @@protoc_insertion_point(field:CMsgFileLoadDialog.initialFile)
13145    pub initialFile: ::std::option::Option<::std::string::String>,
13146    // @@protoc_insertion_point(field:CMsgFileLoadDialog.accept_types)
13147    pub accept_types: ::std::vec::Vec<::std::string::String>,
13148    // @@protoc_insertion_point(field:CMsgFileLoadDialog.is_save)
13149    pub is_save: ::std::option::Option<bool>,
13150    // @@protoc_insertion_point(field:CMsgFileLoadDialog.choose_directory)
13151    pub choose_directory: ::std::option::Option<bool>,
13152    // @@protoc_insertion_point(field:CMsgFileLoadDialog.filters)
13153    pub filters: ::std::vec::Vec<cmsg_file_load_dialog::Filter>,
13154    // special fields
13155    // @@protoc_insertion_point(special_field:CMsgFileLoadDialog.special_fields)
13156    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
13157}
13158
13159impl<'a> ::std::default::Default for &'a CMsgFileLoadDialog {
13160    fn default() -> &'a CMsgFileLoadDialog {
13161        <CMsgFileLoadDialog as ::steam_vent_proto_common::protobuf::Message>::default_instance()
13162    }
13163}
13164
13165impl CMsgFileLoadDialog {
13166    pub fn new() -> CMsgFileLoadDialog {
13167        ::std::default::Default::default()
13168    }
13169
13170    // optional uint32 browser_handle = 1;
13171
13172    pub fn browser_handle(&self) -> u32 {
13173        self.browser_handle.unwrap_or(0)
13174    }
13175
13176    pub fn clear_browser_handle(&mut self) {
13177        self.browser_handle = ::std::option::Option::None;
13178    }
13179
13180    pub fn has_browser_handle(&self) -> bool {
13181        self.browser_handle.is_some()
13182    }
13183
13184    // Param is passed by value, moved
13185    pub fn set_browser_handle(&mut self, v: u32) {
13186        self.browser_handle = ::std::option::Option::Some(v);
13187    }
13188
13189    // optional uint32 owning_browser_handle = 2;
13190
13191    pub fn owning_browser_handle(&self) -> u32 {
13192        self.owning_browser_handle.unwrap_or(0)
13193    }
13194
13195    pub fn clear_owning_browser_handle(&mut self) {
13196        self.owning_browser_handle = ::std::option::Option::None;
13197    }
13198
13199    pub fn has_owning_browser_handle(&self) -> bool {
13200        self.owning_browser_handle.is_some()
13201    }
13202
13203    // Param is passed by value, moved
13204    pub fn set_owning_browser_handle(&mut self, v: u32) {
13205        self.owning_browser_handle = ::std::option::Option::Some(v);
13206    }
13207
13208    // optional string title = 3;
13209
13210    pub fn title(&self) -> &str {
13211        match self.title.as_ref() {
13212            Some(v) => v,
13213            None => "",
13214        }
13215    }
13216
13217    pub fn clear_title(&mut self) {
13218        self.title = ::std::option::Option::None;
13219    }
13220
13221    pub fn has_title(&self) -> bool {
13222        self.title.is_some()
13223    }
13224
13225    // Param is passed by value, moved
13226    pub fn set_title(&mut self, v: ::std::string::String) {
13227        self.title = ::std::option::Option::Some(v);
13228    }
13229
13230    // Mutable pointer to the field.
13231    // If field is not initialized, it is initialized with default value first.
13232    pub fn mut_title(&mut self) -> &mut ::std::string::String {
13233        if self.title.is_none() {
13234            self.title = ::std::option::Option::Some(::std::string::String::new());
13235        }
13236        self.title.as_mut().unwrap()
13237    }
13238
13239    // Take field
13240    pub fn take_title(&mut self) -> ::std::string::String {
13241        self.title.take().unwrap_or_else(|| ::std::string::String::new())
13242    }
13243
13244    // optional string initialFile = 4;
13245
13246    pub fn initialFile(&self) -> &str {
13247        match self.initialFile.as_ref() {
13248            Some(v) => v,
13249            None => "",
13250        }
13251    }
13252
13253    pub fn clear_initialFile(&mut self) {
13254        self.initialFile = ::std::option::Option::None;
13255    }
13256
13257    pub fn has_initialFile(&self) -> bool {
13258        self.initialFile.is_some()
13259    }
13260
13261    // Param is passed by value, moved
13262    pub fn set_initialFile(&mut self, v: ::std::string::String) {
13263        self.initialFile = ::std::option::Option::Some(v);
13264    }
13265
13266    // Mutable pointer to the field.
13267    // If field is not initialized, it is initialized with default value first.
13268    pub fn mut_initialFile(&mut self) -> &mut ::std::string::String {
13269        if self.initialFile.is_none() {
13270            self.initialFile = ::std::option::Option::Some(::std::string::String::new());
13271        }
13272        self.initialFile.as_mut().unwrap()
13273    }
13274
13275    // Take field
13276    pub fn take_initialFile(&mut self) -> ::std::string::String {
13277        self.initialFile.take().unwrap_or_else(|| ::std::string::String::new())
13278    }
13279
13280    // optional bool is_save = 6;
13281
13282    pub fn is_save(&self) -> bool {
13283        self.is_save.unwrap_or(false)
13284    }
13285
13286    pub fn clear_is_save(&mut self) {
13287        self.is_save = ::std::option::Option::None;
13288    }
13289
13290    pub fn has_is_save(&self) -> bool {
13291        self.is_save.is_some()
13292    }
13293
13294    // Param is passed by value, moved
13295    pub fn set_is_save(&mut self, v: bool) {
13296        self.is_save = ::std::option::Option::Some(v);
13297    }
13298
13299    // optional bool choose_directory = 7;
13300
13301    pub fn choose_directory(&self) -> bool {
13302        self.choose_directory.unwrap_or(false)
13303    }
13304
13305    pub fn clear_choose_directory(&mut self) {
13306        self.choose_directory = ::std::option::Option::None;
13307    }
13308
13309    pub fn has_choose_directory(&self) -> bool {
13310        self.choose_directory.is_some()
13311    }
13312
13313    // Param is passed by value, moved
13314    pub fn set_choose_directory(&mut self, v: bool) {
13315        self.choose_directory = ::std::option::Option::Some(v);
13316    }
13317}
13318
13319impl ::steam_vent_proto_common::protobuf::Message for CMsgFileLoadDialog {
13320    const NAME: &'static str = "CMsgFileLoadDialog";
13321
13322    fn is_initialized(&self) -> bool {
13323        true
13324    }
13325
13326    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
13327        while let Some(tag) = is.read_raw_tag_or_eof()? {
13328            match tag {
13329                8 => {
13330                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
13331                },
13332                16 => {
13333                    self.owning_browser_handle = ::std::option::Option::Some(is.read_uint32()?);
13334                },
13335                26 => {
13336                    self.title = ::std::option::Option::Some(is.read_string()?);
13337                },
13338                34 => {
13339                    self.initialFile = ::std::option::Option::Some(is.read_string()?);
13340                },
13341                42 => {
13342                    self.accept_types.push(is.read_string()?);
13343                },
13344                48 => {
13345                    self.is_save = ::std::option::Option::Some(is.read_bool()?);
13346                },
13347                56 => {
13348                    self.choose_directory = ::std::option::Option::Some(is.read_bool()?);
13349                },
13350                66 => {
13351                    self.filters.push(is.read_message()?);
13352                },
13353                tag => {
13354                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
13355                },
13356            };
13357        }
13358        ::std::result::Result::Ok(())
13359    }
13360
13361    // Compute sizes of nested messages
13362    #[allow(unused_variables)]
13363    fn compute_size(&self) -> u64 {
13364        let mut my_size = 0;
13365        if let Some(v) = self.browser_handle {
13366            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
13367        }
13368        if let Some(v) = self.owning_browser_handle {
13369            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
13370        }
13371        if let Some(v) = self.title.as_ref() {
13372            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
13373        }
13374        if let Some(v) = self.initialFile.as_ref() {
13375            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
13376        }
13377        for value in &self.accept_types {
13378            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &value);
13379        };
13380        if let Some(v) = self.is_save {
13381            my_size += 1 + 1;
13382        }
13383        if let Some(v) = self.choose_directory {
13384            my_size += 1 + 1;
13385        }
13386        for value in &self.filters {
13387            let len = value.compute_size();
13388            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
13389        };
13390        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
13391        self.special_fields.cached_size().set(my_size as u32);
13392        my_size
13393    }
13394
13395    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
13396        if let Some(v) = self.browser_handle {
13397            os.write_uint32(1, v)?;
13398        }
13399        if let Some(v) = self.owning_browser_handle {
13400            os.write_uint32(2, v)?;
13401        }
13402        if let Some(v) = self.title.as_ref() {
13403            os.write_string(3, v)?;
13404        }
13405        if let Some(v) = self.initialFile.as_ref() {
13406            os.write_string(4, v)?;
13407        }
13408        for v in &self.accept_types {
13409            os.write_string(5, &v)?;
13410        };
13411        if let Some(v) = self.is_save {
13412            os.write_bool(6, v)?;
13413        }
13414        if let Some(v) = self.choose_directory {
13415            os.write_bool(7, v)?;
13416        }
13417        for v in &self.filters {
13418            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(8, v, os)?;
13419        };
13420        os.write_unknown_fields(self.special_fields.unknown_fields())?;
13421        ::std::result::Result::Ok(())
13422    }
13423
13424    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
13425        &self.special_fields
13426    }
13427
13428    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
13429        &mut self.special_fields
13430    }
13431
13432    fn new() -> CMsgFileLoadDialog {
13433        CMsgFileLoadDialog::new()
13434    }
13435
13436    fn clear(&mut self) {
13437        self.browser_handle = ::std::option::Option::None;
13438        self.owning_browser_handle = ::std::option::Option::None;
13439        self.title = ::std::option::Option::None;
13440        self.initialFile = ::std::option::Option::None;
13441        self.accept_types.clear();
13442        self.is_save = ::std::option::Option::None;
13443        self.choose_directory = ::std::option::Option::None;
13444        self.filters.clear();
13445        self.special_fields.clear();
13446    }
13447
13448    fn default_instance() -> &'static CMsgFileLoadDialog {
13449        static instance: CMsgFileLoadDialog = CMsgFileLoadDialog {
13450            browser_handle: ::std::option::Option::None,
13451            owning_browser_handle: ::std::option::Option::None,
13452            title: ::std::option::Option::None,
13453            initialFile: ::std::option::Option::None,
13454            accept_types: ::std::vec::Vec::new(),
13455            is_save: ::std::option::Option::None,
13456            choose_directory: ::std::option::Option::None,
13457            filters: ::std::vec::Vec::new(),
13458            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
13459        };
13460        &instance
13461    }
13462}
13463
13464/// Nested message and enums of message `CMsgFileLoadDialog`
13465pub mod cmsg_file_load_dialog {
13466    // @@protoc_insertion_point(message:CMsgFileLoadDialog.Filter)
13467    #[derive(PartialEq,Clone,Default,Debug)]
13468    pub struct Filter {
13469        // message fields
13470        // @@protoc_insertion_point(field:CMsgFileLoadDialog.Filter.name)
13471        pub name: ::std::option::Option<::std::string::String>,
13472        // @@protoc_insertion_point(field:CMsgFileLoadDialog.Filter.patterns)
13473        pub patterns: ::std::vec::Vec<::std::string::String>,
13474        // @@protoc_insertion_point(field:CMsgFileLoadDialog.Filter.is_default)
13475        pub is_default: ::std::option::Option<bool>,
13476        // special fields
13477        // @@protoc_insertion_point(special_field:CMsgFileLoadDialog.Filter.special_fields)
13478        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
13479    }
13480
13481    impl<'a> ::std::default::Default for &'a Filter {
13482        fn default() -> &'a Filter {
13483            <Filter as ::steam_vent_proto_common::protobuf::Message>::default_instance()
13484        }
13485    }
13486
13487    impl Filter {
13488        pub fn new() -> Filter {
13489            ::std::default::Default::default()
13490        }
13491
13492        // optional string name = 1;
13493
13494        pub fn name(&self) -> &str {
13495            match self.name.as_ref() {
13496                Some(v) => v,
13497                None => "",
13498            }
13499        }
13500
13501        pub fn clear_name(&mut self) {
13502            self.name = ::std::option::Option::None;
13503        }
13504
13505        pub fn has_name(&self) -> bool {
13506            self.name.is_some()
13507        }
13508
13509        // Param is passed by value, moved
13510        pub fn set_name(&mut self, v: ::std::string::String) {
13511            self.name = ::std::option::Option::Some(v);
13512        }
13513
13514        // Mutable pointer to the field.
13515        // If field is not initialized, it is initialized with default value first.
13516        pub fn mut_name(&mut self) -> &mut ::std::string::String {
13517            if self.name.is_none() {
13518                self.name = ::std::option::Option::Some(::std::string::String::new());
13519            }
13520            self.name.as_mut().unwrap()
13521        }
13522
13523        // Take field
13524        pub fn take_name(&mut self) -> ::std::string::String {
13525            self.name.take().unwrap_or_else(|| ::std::string::String::new())
13526        }
13527
13528        // optional bool is_default = 3;
13529
13530        pub fn is_default(&self) -> bool {
13531            self.is_default.unwrap_or(false)
13532        }
13533
13534        pub fn clear_is_default(&mut self) {
13535            self.is_default = ::std::option::Option::None;
13536        }
13537
13538        pub fn has_is_default(&self) -> bool {
13539            self.is_default.is_some()
13540        }
13541
13542        // Param is passed by value, moved
13543        pub fn set_is_default(&mut self, v: bool) {
13544            self.is_default = ::std::option::Option::Some(v);
13545        }
13546    }
13547
13548    impl ::steam_vent_proto_common::protobuf::Message for Filter {
13549        const NAME: &'static str = "Filter";
13550
13551        fn is_initialized(&self) -> bool {
13552            true
13553        }
13554
13555        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
13556            while let Some(tag) = is.read_raw_tag_or_eof()? {
13557                match tag {
13558                    10 => {
13559                        self.name = ::std::option::Option::Some(is.read_string()?);
13560                    },
13561                    18 => {
13562                        self.patterns.push(is.read_string()?);
13563                    },
13564                    24 => {
13565                        self.is_default = ::std::option::Option::Some(is.read_bool()?);
13566                    },
13567                    tag => {
13568                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
13569                    },
13570                };
13571            }
13572            ::std::result::Result::Ok(())
13573        }
13574
13575        // Compute sizes of nested messages
13576        #[allow(unused_variables)]
13577        fn compute_size(&self) -> u64 {
13578            let mut my_size = 0;
13579            if let Some(v) = self.name.as_ref() {
13580                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
13581            }
13582            for value in &self.patterns {
13583                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &value);
13584            };
13585            if let Some(v) = self.is_default {
13586                my_size += 1 + 1;
13587            }
13588            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
13589            self.special_fields.cached_size().set(my_size as u32);
13590            my_size
13591        }
13592
13593        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
13594            if let Some(v) = self.name.as_ref() {
13595                os.write_string(1, v)?;
13596            }
13597            for v in &self.patterns {
13598                os.write_string(2, &v)?;
13599            };
13600            if let Some(v) = self.is_default {
13601                os.write_bool(3, v)?;
13602            }
13603            os.write_unknown_fields(self.special_fields.unknown_fields())?;
13604            ::std::result::Result::Ok(())
13605        }
13606
13607        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
13608            &self.special_fields
13609        }
13610
13611        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
13612            &mut self.special_fields
13613        }
13614
13615        fn new() -> Filter {
13616            Filter::new()
13617        }
13618
13619        fn clear(&mut self) {
13620            self.name = ::std::option::Option::None;
13621            self.patterns.clear();
13622            self.is_default = ::std::option::Option::None;
13623            self.special_fields.clear();
13624        }
13625
13626        fn default_instance() -> &'static Filter {
13627            static instance: Filter = Filter {
13628                name: ::std::option::Option::None,
13629                patterns: ::std::vec::Vec::new(),
13630                is_default: ::std::option::Option::None,
13631                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
13632            };
13633            &instance
13634        }
13635    }
13636}
13637
13638// @@protoc_insertion_point(message:CMsgFileLoadDialogResponse)
13639#[derive(PartialEq,Clone,Default,Debug)]
13640pub struct CMsgFileLoadDialogResponse {
13641    // message fields
13642    // @@protoc_insertion_point(field:CMsgFileLoadDialogResponse.browser_handle)
13643    pub browser_handle: ::std::option::Option<u32>,
13644    // @@protoc_insertion_point(field:CMsgFileLoadDialogResponse.owning_browser_handle)
13645    pub owning_browser_handle: ::std::option::Option<u32>,
13646    // @@protoc_insertion_point(field:CMsgFileLoadDialogResponse.bsuccess)
13647    pub bsuccess: ::std::option::Option<bool>,
13648    // @@protoc_insertion_point(field:CMsgFileLoadDialogResponse.files)
13649    pub files: ::std::vec::Vec<::std::string::String>,
13650    // special fields
13651    // @@protoc_insertion_point(special_field:CMsgFileLoadDialogResponse.special_fields)
13652    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
13653}
13654
13655impl<'a> ::std::default::Default for &'a CMsgFileLoadDialogResponse {
13656    fn default() -> &'a CMsgFileLoadDialogResponse {
13657        <CMsgFileLoadDialogResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
13658    }
13659}
13660
13661impl CMsgFileLoadDialogResponse {
13662    pub fn new() -> CMsgFileLoadDialogResponse {
13663        ::std::default::Default::default()
13664    }
13665
13666    // optional uint32 browser_handle = 1;
13667
13668    pub fn browser_handle(&self) -> u32 {
13669        self.browser_handle.unwrap_or(0)
13670    }
13671
13672    pub fn clear_browser_handle(&mut self) {
13673        self.browser_handle = ::std::option::Option::None;
13674    }
13675
13676    pub fn has_browser_handle(&self) -> bool {
13677        self.browser_handle.is_some()
13678    }
13679
13680    // Param is passed by value, moved
13681    pub fn set_browser_handle(&mut self, v: u32) {
13682        self.browser_handle = ::std::option::Option::Some(v);
13683    }
13684
13685    // optional uint32 owning_browser_handle = 2;
13686
13687    pub fn owning_browser_handle(&self) -> u32 {
13688        self.owning_browser_handle.unwrap_or(0)
13689    }
13690
13691    pub fn clear_owning_browser_handle(&mut self) {
13692        self.owning_browser_handle = ::std::option::Option::None;
13693    }
13694
13695    pub fn has_owning_browser_handle(&self) -> bool {
13696        self.owning_browser_handle.is_some()
13697    }
13698
13699    // Param is passed by value, moved
13700    pub fn set_owning_browser_handle(&mut self, v: u32) {
13701        self.owning_browser_handle = ::std::option::Option::Some(v);
13702    }
13703
13704    // optional bool bsuccess = 3;
13705
13706    pub fn bsuccess(&self) -> bool {
13707        self.bsuccess.unwrap_or(false)
13708    }
13709
13710    pub fn clear_bsuccess(&mut self) {
13711        self.bsuccess = ::std::option::Option::None;
13712    }
13713
13714    pub fn has_bsuccess(&self) -> bool {
13715        self.bsuccess.is_some()
13716    }
13717
13718    // Param is passed by value, moved
13719    pub fn set_bsuccess(&mut self, v: bool) {
13720        self.bsuccess = ::std::option::Option::Some(v);
13721    }
13722}
13723
13724impl ::steam_vent_proto_common::protobuf::Message for CMsgFileLoadDialogResponse {
13725    const NAME: &'static str = "CMsgFileLoadDialogResponse";
13726
13727    fn is_initialized(&self) -> bool {
13728        true
13729    }
13730
13731    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
13732        while let Some(tag) = is.read_raw_tag_or_eof()? {
13733            match tag {
13734                8 => {
13735                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
13736                },
13737                16 => {
13738                    self.owning_browser_handle = ::std::option::Option::Some(is.read_uint32()?);
13739                },
13740                24 => {
13741                    self.bsuccess = ::std::option::Option::Some(is.read_bool()?);
13742                },
13743                34 => {
13744                    self.files.push(is.read_string()?);
13745                },
13746                tag => {
13747                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
13748                },
13749            };
13750        }
13751        ::std::result::Result::Ok(())
13752    }
13753
13754    // Compute sizes of nested messages
13755    #[allow(unused_variables)]
13756    fn compute_size(&self) -> u64 {
13757        let mut my_size = 0;
13758        if let Some(v) = self.browser_handle {
13759            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
13760        }
13761        if let Some(v) = self.owning_browser_handle {
13762            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
13763        }
13764        if let Some(v) = self.bsuccess {
13765            my_size += 1 + 1;
13766        }
13767        for value in &self.files {
13768            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &value);
13769        };
13770        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
13771        self.special_fields.cached_size().set(my_size as u32);
13772        my_size
13773    }
13774
13775    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
13776        if let Some(v) = self.browser_handle {
13777            os.write_uint32(1, v)?;
13778        }
13779        if let Some(v) = self.owning_browser_handle {
13780            os.write_uint32(2, v)?;
13781        }
13782        if let Some(v) = self.bsuccess {
13783            os.write_bool(3, v)?;
13784        }
13785        for v in &self.files {
13786            os.write_string(4, &v)?;
13787        };
13788        os.write_unknown_fields(self.special_fields.unknown_fields())?;
13789        ::std::result::Result::Ok(())
13790    }
13791
13792    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
13793        &self.special_fields
13794    }
13795
13796    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
13797        &mut self.special_fields
13798    }
13799
13800    fn new() -> CMsgFileLoadDialogResponse {
13801        CMsgFileLoadDialogResponse::new()
13802    }
13803
13804    fn clear(&mut self) {
13805        self.browser_handle = ::std::option::Option::None;
13806        self.owning_browser_handle = ::std::option::Option::None;
13807        self.bsuccess = ::std::option::Option::None;
13808        self.files.clear();
13809        self.special_fields.clear();
13810    }
13811
13812    fn default_instance() -> &'static CMsgFileLoadDialogResponse {
13813        static instance: CMsgFileLoadDialogResponse = CMsgFileLoadDialogResponse {
13814            browser_handle: ::std::option::Option::None,
13815            owning_browser_handle: ::std::option::Option::None,
13816            bsuccess: ::std::option::Option::None,
13817            files: ::std::vec::Vec::new(),
13818            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
13819        };
13820        &instance
13821    }
13822}
13823
13824// @@protoc_insertion_point(message:CMsgShowToolTip)
13825#[derive(PartialEq,Clone,Default,Debug)]
13826pub struct CMsgShowToolTip {
13827    // message fields
13828    // @@protoc_insertion_point(field:CMsgShowToolTip.browser_handle)
13829    pub browser_handle: ::std::option::Option<u32>,
13830    // @@protoc_insertion_point(field:CMsgShowToolTip.text)
13831    pub text: ::std::option::Option<::std::string::String>,
13832    // special fields
13833    // @@protoc_insertion_point(special_field:CMsgShowToolTip.special_fields)
13834    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
13835}
13836
13837impl<'a> ::std::default::Default for &'a CMsgShowToolTip {
13838    fn default() -> &'a CMsgShowToolTip {
13839        <CMsgShowToolTip as ::steam_vent_proto_common::protobuf::Message>::default_instance()
13840    }
13841}
13842
13843impl CMsgShowToolTip {
13844    pub fn new() -> CMsgShowToolTip {
13845        ::std::default::Default::default()
13846    }
13847
13848    // optional uint32 browser_handle = 1;
13849
13850    pub fn browser_handle(&self) -> u32 {
13851        self.browser_handle.unwrap_or(0)
13852    }
13853
13854    pub fn clear_browser_handle(&mut self) {
13855        self.browser_handle = ::std::option::Option::None;
13856    }
13857
13858    pub fn has_browser_handle(&self) -> bool {
13859        self.browser_handle.is_some()
13860    }
13861
13862    // Param is passed by value, moved
13863    pub fn set_browser_handle(&mut self, v: u32) {
13864        self.browser_handle = ::std::option::Option::Some(v);
13865    }
13866
13867    // optional string text = 2;
13868
13869    pub fn text(&self) -> &str {
13870        match self.text.as_ref() {
13871            Some(v) => v,
13872            None => "",
13873        }
13874    }
13875
13876    pub fn clear_text(&mut self) {
13877        self.text = ::std::option::Option::None;
13878    }
13879
13880    pub fn has_text(&self) -> bool {
13881        self.text.is_some()
13882    }
13883
13884    // Param is passed by value, moved
13885    pub fn set_text(&mut self, v: ::std::string::String) {
13886        self.text = ::std::option::Option::Some(v);
13887    }
13888
13889    // Mutable pointer to the field.
13890    // If field is not initialized, it is initialized with default value first.
13891    pub fn mut_text(&mut self) -> &mut ::std::string::String {
13892        if self.text.is_none() {
13893            self.text = ::std::option::Option::Some(::std::string::String::new());
13894        }
13895        self.text.as_mut().unwrap()
13896    }
13897
13898    // Take field
13899    pub fn take_text(&mut self) -> ::std::string::String {
13900        self.text.take().unwrap_or_else(|| ::std::string::String::new())
13901    }
13902}
13903
13904impl ::steam_vent_proto_common::protobuf::Message for CMsgShowToolTip {
13905    const NAME: &'static str = "CMsgShowToolTip";
13906
13907    fn is_initialized(&self) -> bool {
13908        true
13909    }
13910
13911    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
13912        while let Some(tag) = is.read_raw_tag_or_eof()? {
13913            match tag {
13914                8 => {
13915                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
13916                },
13917                18 => {
13918                    self.text = ::std::option::Option::Some(is.read_string()?);
13919                },
13920                tag => {
13921                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
13922                },
13923            };
13924        }
13925        ::std::result::Result::Ok(())
13926    }
13927
13928    // Compute sizes of nested messages
13929    #[allow(unused_variables)]
13930    fn compute_size(&self) -> u64 {
13931        let mut my_size = 0;
13932        if let Some(v) = self.browser_handle {
13933            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
13934        }
13935        if let Some(v) = self.text.as_ref() {
13936            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
13937        }
13938        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
13939        self.special_fields.cached_size().set(my_size as u32);
13940        my_size
13941    }
13942
13943    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
13944        if let Some(v) = self.browser_handle {
13945            os.write_uint32(1, v)?;
13946        }
13947        if let Some(v) = self.text.as_ref() {
13948            os.write_string(2, v)?;
13949        }
13950        os.write_unknown_fields(self.special_fields.unknown_fields())?;
13951        ::std::result::Result::Ok(())
13952    }
13953
13954    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
13955        &self.special_fields
13956    }
13957
13958    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
13959        &mut self.special_fields
13960    }
13961
13962    fn new() -> CMsgShowToolTip {
13963        CMsgShowToolTip::new()
13964    }
13965
13966    fn clear(&mut self) {
13967        self.browser_handle = ::std::option::Option::None;
13968        self.text = ::std::option::Option::None;
13969        self.special_fields.clear();
13970    }
13971
13972    fn default_instance() -> &'static CMsgShowToolTip {
13973        static instance: CMsgShowToolTip = CMsgShowToolTip {
13974            browser_handle: ::std::option::Option::None,
13975            text: ::std::option::Option::None,
13976            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
13977        };
13978        &instance
13979    }
13980}
13981
13982// @@protoc_insertion_point(message:CMsgUpdateToolTip)
13983#[derive(PartialEq,Clone,Default,Debug)]
13984pub struct CMsgUpdateToolTip {
13985    // message fields
13986    // @@protoc_insertion_point(field:CMsgUpdateToolTip.browser_handle)
13987    pub browser_handle: ::std::option::Option<u32>,
13988    // @@protoc_insertion_point(field:CMsgUpdateToolTip.text)
13989    pub text: ::std::option::Option<::std::string::String>,
13990    // special fields
13991    // @@protoc_insertion_point(special_field:CMsgUpdateToolTip.special_fields)
13992    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
13993}
13994
13995impl<'a> ::std::default::Default for &'a CMsgUpdateToolTip {
13996    fn default() -> &'a CMsgUpdateToolTip {
13997        <CMsgUpdateToolTip as ::steam_vent_proto_common::protobuf::Message>::default_instance()
13998    }
13999}
14000
14001impl CMsgUpdateToolTip {
14002    pub fn new() -> CMsgUpdateToolTip {
14003        ::std::default::Default::default()
14004    }
14005
14006    // optional uint32 browser_handle = 1;
14007
14008    pub fn browser_handle(&self) -> u32 {
14009        self.browser_handle.unwrap_or(0)
14010    }
14011
14012    pub fn clear_browser_handle(&mut self) {
14013        self.browser_handle = ::std::option::Option::None;
14014    }
14015
14016    pub fn has_browser_handle(&self) -> bool {
14017        self.browser_handle.is_some()
14018    }
14019
14020    // Param is passed by value, moved
14021    pub fn set_browser_handle(&mut self, v: u32) {
14022        self.browser_handle = ::std::option::Option::Some(v);
14023    }
14024
14025    // optional string text = 2;
14026
14027    pub fn text(&self) -> &str {
14028        match self.text.as_ref() {
14029            Some(v) => v,
14030            None => "",
14031        }
14032    }
14033
14034    pub fn clear_text(&mut self) {
14035        self.text = ::std::option::Option::None;
14036    }
14037
14038    pub fn has_text(&self) -> bool {
14039        self.text.is_some()
14040    }
14041
14042    // Param is passed by value, moved
14043    pub fn set_text(&mut self, v: ::std::string::String) {
14044        self.text = ::std::option::Option::Some(v);
14045    }
14046
14047    // Mutable pointer to the field.
14048    // If field is not initialized, it is initialized with default value first.
14049    pub fn mut_text(&mut self) -> &mut ::std::string::String {
14050        if self.text.is_none() {
14051            self.text = ::std::option::Option::Some(::std::string::String::new());
14052        }
14053        self.text.as_mut().unwrap()
14054    }
14055
14056    // Take field
14057    pub fn take_text(&mut self) -> ::std::string::String {
14058        self.text.take().unwrap_or_else(|| ::std::string::String::new())
14059    }
14060}
14061
14062impl ::steam_vent_proto_common::protobuf::Message for CMsgUpdateToolTip {
14063    const NAME: &'static str = "CMsgUpdateToolTip";
14064
14065    fn is_initialized(&self) -> bool {
14066        true
14067    }
14068
14069    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14070        while let Some(tag) = is.read_raw_tag_or_eof()? {
14071            match tag {
14072                8 => {
14073                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
14074                },
14075                18 => {
14076                    self.text = ::std::option::Option::Some(is.read_string()?);
14077                },
14078                tag => {
14079                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
14080                },
14081            };
14082        }
14083        ::std::result::Result::Ok(())
14084    }
14085
14086    // Compute sizes of nested messages
14087    #[allow(unused_variables)]
14088    fn compute_size(&self) -> u64 {
14089        let mut my_size = 0;
14090        if let Some(v) = self.browser_handle {
14091            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
14092        }
14093        if let Some(v) = self.text.as_ref() {
14094            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
14095        }
14096        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
14097        self.special_fields.cached_size().set(my_size as u32);
14098        my_size
14099    }
14100
14101    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14102        if let Some(v) = self.browser_handle {
14103            os.write_uint32(1, v)?;
14104        }
14105        if let Some(v) = self.text.as_ref() {
14106            os.write_string(2, v)?;
14107        }
14108        os.write_unknown_fields(self.special_fields.unknown_fields())?;
14109        ::std::result::Result::Ok(())
14110    }
14111
14112    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
14113        &self.special_fields
14114    }
14115
14116    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
14117        &mut self.special_fields
14118    }
14119
14120    fn new() -> CMsgUpdateToolTip {
14121        CMsgUpdateToolTip::new()
14122    }
14123
14124    fn clear(&mut self) {
14125        self.browser_handle = ::std::option::Option::None;
14126        self.text = ::std::option::Option::None;
14127        self.special_fields.clear();
14128    }
14129
14130    fn default_instance() -> &'static CMsgUpdateToolTip {
14131        static instance: CMsgUpdateToolTip = CMsgUpdateToolTip {
14132            browser_handle: ::std::option::Option::None,
14133            text: ::std::option::Option::None,
14134            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
14135        };
14136        &instance
14137    }
14138}
14139
14140// @@protoc_insertion_point(message:CMsgHideToolTip)
14141#[derive(PartialEq,Clone,Default,Debug)]
14142pub struct CMsgHideToolTip {
14143    // message fields
14144    // @@protoc_insertion_point(field:CMsgHideToolTip.browser_handle)
14145    pub browser_handle: ::std::option::Option<u32>,
14146    // special fields
14147    // @@protoc_insertion_point(special_field:CMsgHideToolTip.special_fields)
14148    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
14149}
14150
14151impl<'a> ::std::default::Default for &'a CMsgHideToolTip {
14152    fn default() -> &'a CMsgHideToolTip {
14153        <CMsgHideToolTip as ::steam_vent_proto_common::protobuf::Message>::default_instance()
14154    }
14155}
14156
14157impl CMsgHideToolTip {
14158    pub fn new() -> CMsgHideToolTip {
14159        ::std::default::Default::default()
14160    }
14161
14162    // optional uint32 browser_handle = 1;
14163
14164    pub fn browser_handle(&self) -> u32 {
14165        self.browser_handle.unwrap_or(0)
14166    }
14167
14168    pub fn clear_browser_handle(&mut self) {
14169        self.browser_handle = ::std::option::Option::None;
14170    }
14171
14172    pub fn has_browser_handle(&self) -> bool {
14173        self.browser_handle.is_some()
14174    }
14175
14176    // Param is passed by value, moved
14177    pub fn set_browser_handle(&mut self, v: u32) {
14178        self.browser_handle = ::std::option::Option::Some(v);
14179    }
14180}
14181
14182impl ::steam_vent_proto_common::protobuf::Message for CMsgHideToolTip {
14183    const NAME: &'static str = "CMsgHideToolTip";
14184
14185    fn is_initialized(&self) -> bool {
14186        true
14187    }
14188
14189    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14190        while let Some(tag) = is.read_raw_tag_or_eof()? {
14191            match tag {
14192                8 => {
14193                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
14194                },
14195                tag => {
14196                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
14197                },
14198            };
14199        }
14200        ::std::result::Result::Ok(())
14201    }
14202
14203    // Compute sizes of nested messages
14204    #[allow(unused_variables)]
14205    fn compute_size(&self) -> u64 {
14206        let mut my_size = 0;
14207        if let Some(v) = self.browser_handle {
14208            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
14209        }
14210        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
14211        self.special_fields.cached_size().set(my_size as u32);
14212        my_size
14213    }
14214
14215    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14216        if let Some(v) = self.browser_handle {
14217            os.write_uint32(1, v)?;
14218        }
14219        os.write_unknown_fields(self.special_fields.unknown_fields())?;
14220        ::std::result::Result::Ok(())
14221    }
14222
14223    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
14224        &self.special_fields
14225    }
14226
14227    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
14228        &mut self.special_fields
14229    }
14230
14231    fn new() -> CMsgHideToolTip {
14232        CMsgHideToolTip::new()
14233    }
14234
14235    fn clear(&mut self) {
14236        self.browser_handle = ::std::option::Option::None;
14237        self.special_fields.clear();
14238    }
14239
14240    fn default_instance() -> &'static CMsgHideToolTip {
14241        static instance: CMsgHideToolTip = CMsgHideToolTip {
14242            browser_handle: ::std::option::Option::None,
14243            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
14244        };
14245        &instance
14246    }
14247}
14248
14249// @@protoc_insertion_point(message:CMsgSearchResults)
14250#[derive(PartialEq,Clone,Default,Debug)]
14251pub struct CMsgSearchResults {
14252    // message fields
14253    // @@protoc_insertion_point(field:CMsgSearchResults.browser_handle)
14254    pub browser_handle: ::std::option::Option<u32>,
14255    // @@protoc_insertion_point(field:CMsgSearchResults.activeMatch)
14256    pub activeMatch: ::std::option::Option<i32>,
14257    // @@protoc_insertion_point(field:CMsgSearchResults.results)
14258    pub results: ::std::option::Option<i32>,
14259    // special fields
14260    // @@protoc_insertion_point(special_field:CMsgSearchResults.special_fields)
14261    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
14262}
14263
14264impl<'a> ::std::default::Default for &'a CMsgSearchResults {
14265    fn default() -> &'a CMsgSearchResults {
14266        <CMsgSearchResults as ::steam_vent_proto_common::protobuf::Message>::default_instance()
14267    }
14268}
14269
14270impl CMsgSearchResults {
14271    pub fn new() -> CMsgSearchResults {
14272        ::std::default::Default::default()
14273    }
14274
14275    // optional uint32 browser_handle = 1;
14276
14277    pub fn browser_handle(&self) -> u32 {
14278        self.browser_handle.unwrap_or(0)
14279    }
14280
14281    pub fn clear_browser_handle(&mut self) {
14282        self.browser_handle = ::std::option::Option::None;
14283    }
14284
14285    pub fn has_browser_handle(&self) -> bool {
14286        self.browser_handle.is_some()
14287    }
14288
14289    // Param is passed by value, moved
14290    pub fn set_browser_handle(&mut self, v: u32) {
14291        self.browser_handle = ::std::option::Option::Some(v);
14292    }
14293
14294    // optional int32 activeMatch = 2;
14295
14296    pub fn activeMatch(&self) -> i32 {
14297        self.activeMatch.unwrap_or(0)
14298    }
14299
14300    pub fn clear_activeMatch(&mut self) {
14301        self.activeMatch = ::std::option::Option::None;
14302    }
14303
14304    pub fn has_activeMatch(&self) -> bool {
14305        self.activeMatch.is_some()
14306    }
14307
14308    // Param is passed by value, moved
14309    pub fn set_activeMatch(&mut self, v: i32) {
14310        self.activeMatch = ::std::option::Option::Some(v);
14311    }
14312
14313    // optional int32 results = 3;
14314
14315    pub fn results(&self) -> i32 {
14316        self.results.unwrap_or(0)
14317    }
14318
14319    pub fn clear_results(&mut self) {
14320        self.results = ::std::option::Option::None;
14321    }
14322
14323    pub fn has_results(&self) -> bool {
14324        self.results.is_some()
14325    }
14326
14327    // Param is passed by value, moved
14328    pub fn set_results(&mut self, v: i32) {
14329        self.results = ::std::option::Option::Some(v);
14330    }
14331}
14332
14333impl ::steam_vent_proto_common::protobuf::Message for CMsgSearchResults {
14334    const NAME: &'static str = "CMsgSearchResults";
14335
14336    fn is_initialized(&self) -> bool {
14337        true
14338    }
14339
14340    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14341        while let Some(tag) = is.read_raw_tag_or_eof()? {
14342            match tag {
14343                8 => {
14344                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
14345                },
14346                16 => {
14347                    self.activeMatch = ::std::option::Option::Some(is.read_int32()?);
14348                },
14349                24 => {
14350                    self.results = ::std::option::Option::Some(is.read_int32()?);
14351                },
14352                tag => {
14353                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
14354                },
14355            };
14356        }
14357        ::std::result::Result::Ok(())
14358    }
14359
14360    // Compute sizes of nested messages
14361    #[allow(unused_variables)]
14362    fn compute_size(&self) -> u64 {
14363        let mut my_size = 0;
14364        if let Some(v) = self.browser_handle {
14365            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
14366        }
14367        if let Some(v) = self.activeMatch {
14368            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
14369        }
14370        if let Some(v) = self.results {
14371            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
14372        }
14373        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
14374        self.special_fields.cached_size().set(my_size as u32);
14375        my_size
14376    }
14377
14378    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14379        if let Some(v) = self.browser_handle {
14380            os.write_uint32(1, v)?;
14381        }
14382        if let Some(v) = self.activeMatch {
14383            os.write_int32(2, v)?;
14384        }
14385        if let Some(v) = self.results {
14386            os.write_int32(3, v)?;
14387        }
14388        os.write_unknown_fields(self.special_fields.unknown_fields())?;
14389        ::std::result::Result::Ok(())
14390    }
14391
14392    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
14393        &self.special_fields
14394    }
14395
14396    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
14397        &mut self.special_fields
14398    }
14399
14400    fn new() -> CMsgSearchResults {
14401        CMsgSearchResults::new()
14402    }
14403
14404    fn clear(&mut self) {
14405        self.browser_handle = ::std::option::Option::None;
14406        self.activeMatch = ::std::option::Option::None;
14407        self.results = ::std::option::Option::None;
14408        self.special_fields.clear();
14409    }
14410
14411    fn default_instance() -> &'static CMsgSearchResults {
14412        static instance: CMsgSearchResults = CMsgSearchResults {
14413            browser_handle: ::std::option::Option::None,
14414            activeMatch: ::std::option::Option::None,
14415            results: ::std::option::Option::None,
14416            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
14417        };
14418        &instance
14419    }
14420}
14421
14422// @@protoc_insertion_point(message:CMsgClose)
14423#[derive(PartialEq,Clone,Default,Debug)]
14424pub struct CMsgClose {
14425    // message fields
14426    // @@protoc_insertion_point(field:CMsgClose.browser_handle)
14427    pub browser_handle: ::std::option::Option<u32>,
14428    // special fields
14429    // @@protoc_insertion_point(special_field:CMsgClose.special_fields)
14430    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
14431}
14432
14433impl<'a> ::std::default::Default for &'a CMsgClose {
14434    fn default() -> &'a CMsgClose {
14435        <CMsgClose as ::steam_vent_proto_common::protobuf::Message>::default_instance()
14436    }
14437}
14438
14439impl CMsgClose {
14440    pub fn new() -> CMsgClose {
14441        ::std::default::Default::default()
14442    }
14443
14444    // optional uint32 browser_handle = 1;
14445
14446    pub fn browser_handle(&self) -> u32 {
14447        self.browser_handle.unwrap_or(0)
14448    }
14449
14450    pub fn clear_browser_handle(&mut self) {
14451        self.browser_handle = ::std::option::Option::None;
14452    }
14453
14454    pub fn has_browser_handle(&self) -> bool {
14455        self.browser_handle.is_some()
14456    }
14457
14458    // Param is passed by value, moved
14459    pub fn set_browser_handle(&mut self, v: u32) {
14460        self.browser_handle = ::std::option::Option::Some(v);
14461    }
14462}
14463
14464impl ::steam_vent_proto_common::protobuf::Message for CMsgClose {
14465    const NAME: &'static str = "CMsgClose";
14466
14467    fn is_initialized(&self) -> bool {
14468        true
14469    }
14470
14471    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14472        while let Some(tag) = is.read_raw_tag_or_eof()? {
14473            match tag {
14474                8 => {
14475                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
14476                },
14477                tag => {
14478                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
14479                },
14480            };
14481        }
14482        ::std::result::Result::Ok(())
14483    }
14484
14485    // Compute sizes of nested messages
14486    #[allow(unused_variables)]
14487    fn compute_size(&self) -> u64 {
14488        let mut my_size = 0;
14489        if let Some(v) = self.browser_handle {
14490            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
14491        }
14492        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
14493        self.special_fields.cached_size().set(my_size as u32);
14494        my_size
14495    }
14496
14497    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14498        if let Some(v) = self.browser_handle {
14499            os.write_uint32(1, v)?;
14500        }
14501        os.write_unknown_fields(self.special_fields.unknown_fields())?;
14502        ::std::result::Result::Ok(())
14503    }
14504
14505    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
14506        &self.special_fields
14507    }
14508
14509    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
14510        &mut self.special_fields
14511    }
14512
14513    fn new() -> CMsgClose {
14514        CMsgClose::new()
14515    }
14516
14517    fn clear(&mut self) {
14518        self.browser_handle = ::std::option::Option::None;
14519        self.special_fields.clear();
14520    }
14521
14522    fn default_instance() -> &'static CMsgClose {
14523        static instance: CMsgClose = CMsgClose {
14524            browser_handle: ::std::option::Option::None,
14525            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
14526        };
14527        &instance
14528    }
14529}
14530
14531// @@protoc_insertion_point(message:CMsgSetSharedPaintBuffers)
14532#[derive(PartialEq,Clone,Default,Debug)]
14533pub struct CMsgSetSharedPaintBuffers {
14534    // message fields
14535    // @@protoc_insertion_point(field:CMsgSetSharedPaintBuffers.browser_handle)
14536    pub browser_handle: ::std::option::Option<u32>,
14537    // @@protoc_insertion_point(field:CMsgSetSharedPaintBuffers.wide)
14538    pub wide: ::std::option::Option<u32>,
14539    // @@protoc_insertion_point(field:CMsgSetSharedPaintBuffers.tall)
14540    pub tall: ::std::option::Option<u32>,
14541    // @@protoc_insertion_point(field:CMsgSetSharedPaintBuffers.source_pid)
14542    pub source_pid: ::std::option::Option<u64>,
14543    // @@protoc_insertion_point(field:CMsgSetSharedPaintBuffers.source_handle)
14544    pub source_handle: ::std::option::Option<u64>,
14545    // @@protoc_insertion_point(field:CMsgSetSharedPaintBuffers.handle)
14546    pub handle: ::std::option::Option<u64>,
14547    // special fields
14548    // @@protoc_insertion_point(special_field:CMsgSetSharedPaintBuffers.special_fields)
14549    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
14550}
14551
14552impl<'a> ::std::default::Default for &'a CMsgSetSharedPaintBuffers {
14553    fn default() -> &'a CMsgSetSharedPaintBuffers {
14554        <CMsgSetSharedPaintBuffers as ::steam_vent_proto_common::protobuf::Message>::default_instance()
14555    }
14556}
14557
14558impl CMsgSetSharedPaintBuffers {
14559    pub fn new() -> CMsgSetSharedPaintBuffers {
14560        ::std::default::Default::default()
14561    }
14562
14563    // optional uint32 browser_handle = 1;
14564
14565    pub fn browser_handle(&self) -> u32 {
14566        self.browser_handle.unwrap_or(0)
14567    }
14568
14569    pub fn clear_browser_handle(&mut self) {
14570        self.browser_handle = ::std::option::Option::None;
14571    }
14572
14573    pub fn has_browser_handle(&self) -> bool {
14574        self.browser_handle.is_some()
14575    }
14576
14577    // Param is passed by value, moved
14578    pub fn set_browser_handle(&mut self, v: u32) {
14579        self.browser_handle = ::std::option::Option::Some(v);
14580    }
14581
14582    // optional uint32 wide = 2;
14583
14584    pub fn wide(&self) -> u32 {
14585        self.wide.unwrap_or(0)
14586    }
14587
14588    pub fn clear_wide(&mut self) {
14589        self.wide = ::std::option::Option::None;
14590    }
14591
14592    pub fn has_wide(&self) -> bool {
14593        self.wide.is_some()
14594    }
14595
14596    // Param is passed by value, moved
14597    pub fn set_wide(&mut self, v: u32) {
14598        self.wide = ::std::option::Option::Some(v);
14599    }
14600
14601    // optional uint32 tall = 3;
14602
14603    pub fn tall(&self) -> u32 {
14604        self.tall.unwrap_or(0)
14605    }
14606
14607    pub fn clear_tall(&mut self) {
14608        self.tall = ::std::option::Option::None;
14609    }
14610
14611    pub fn has_tall(&self) -> bool {
14612        self.tall.is_some()
14613    }
14614
14615    // Param is passed by value, moved
14616    pub fn set_tall(&mut self, v: u32) {
14617        self.tall = ::std::option::Option::Some(v);
14618    }
14619
14620    // optional uint64 source_pid = 4;
14621
14622    pub fn source_pid(&self) -> u64 {
14623        self.source_pid.unwrap_or(0)
14624    }
14625
14626    pub fn clear_source_pid(&mut self) {
14627        self.source_pid = ::std::option::Option::None;
14628    }
14629
14630    pub fn has_source_pid(&self) -> bool {
14631        self.source_pid.is_some()
14632    }
14633
14634    // Param is passed by value, moved
14635    pub fn set_source_pid(&mut self, v: u64) {
14636        self.source_pid = ::std::option::Option::Some(v);
14637    }
14638
14639    // optional uint64 source_handle = 5;
14640
14641    pub fn source_handle(&self) -> u64 {
14642        self.source_handle.unwrap_or(0)
14643    }
14644
14645    pub fn clear_source_handle(&mut self) {
14646        self.source_handle = ::std::option::Option::None;
14647    }
14648
14649    pub fn has_source_handle(&self) -> bool {
14650        self.source_handle.is_some()
14651    }
14652
14653    // Param is passed by value, moved
14654    pub fn set_source_handle(&mut self, v: u64) {
14655        self.source_handle = ::std::option::Option::Some(v);
14656    }
14657
14658    // optional uint64 handle = 6;
14659
14660    pub fn handle(&self) -> u64 {
14661        self.handle.unwrap_or(0)
14662    }
14663
14664    pub fn clear_handle(&mut self) {
14665        self.handle = ::std::option::Option::None;
14666    }
14667
14668    pub fn has_handle(&self) -> bool {
14669        self.handle.is_some()
14670    }
14671
14672    // Param is passed by value, moved
14673    pub fn set_handle(&mut self, v: u64) {
14674        self.handle = ::std::option::Option::Some(v);
14675    }
14676}
14677
14678impl ::steam_vent_proto_common::protobuf::Message for CMsgSetSharedPaintBuffers {
14679    const NAME: &'static str = "CMsgSetSharedPaintBuffers";
14680
14681    fn is_initialized(&self) -> bool {
14682        true
14683    }
14684
14685    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14686        while let Some(tag) = is.read_raw_tag_or_eof()? {
14687            match tag {
14688                8 => {
14689                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
14690                },
14691                16 => {
14692                    self.wide = ::std::option::Option::Some(is.read_uint32()?);
14693                },
14694                24 => {
14695                    self.tall = ::std::option::Option::Some(is.read_uint32()?);
14696                },
14697                32 => {
14698                    self.source_pid = ::std::option::Option::Some(is.read_uint64()?);
14699                },
14700                40 => {
14701                    self.source_handle = ::std::option::Option::Some(is.read_uint64()?);
14702                },
14703                48 => {
14704                    self.handle = ::std::option::Option::Some(is.read_uint64()?);
14705                },
14706                tag => {
14707                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
14708                },
14709            };
14710        }
14711        ::std::result::Result::Ok(())
14712    }
14713
14714    // Compute sizes of nested messages
14715    #[allow(unused_variables)]
14716    fn compute_size(&self) -> u64 {
14717        let mut my_size = 0;
14718        if let Some(v) = self.browser_handle {
14719            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
14720        }
14721        if let Some(v) = self.wide {
14722            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
14723        }
14724        if let Some(v) = self.tall {
14725            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
14726        }
14727        if let Some(v) = self.source_pid {
14728            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(4, v);
14729        }
14730        if let Some(v) = self.source_handle {
14731            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(5, v);
14732        }
14733        if let Some(v) = self.handle {
14734            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(6, v);
14735        }
14736        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
14737        self.special_fields.cached_size().set(my_size as u32);
14738        my_size
14739    }
14740
14741    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14742        if let Some(v) = self.browser_handle {
14743            os.write_uint32(1, v)?;
14744        }
14745        if let Some(v) = self.wide {
14746            os.write_uint32(2, v)?;
14747        }
14748        if let Some(v) = self.tall {
14749            os.write_uint32(3, v)?;
14750        }
14751        if let Some(v) = self.source_pid {
14752            os.write_uint64(4, v)?;
14753        }
14754        if let Some(v) = self.source_handle {
14755            os.write_uint64(5, v)?;
14756        }
14757        if let Some(v) = self.handle {
14758            os.write_uint64(6, v)?;
14759        }
14760        os.write_unknown_fields(self.special_fields.unknown_fields())?;
14761        ::std::result::Result::Ok(())
14762    }
14763
14764    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
14765        &self.special_fields
14766    }
14767
14768    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
14769        &mut self.special_fields
14770    }
14771
14772    fn new() -> CMsgSetSharedPaintBuffers {
14773        CMsgSetSharedPaintBuffers::new()
14774    }
14775
14776    fn clear(&mut self) {
14777        self.browser_handle = ::std::option::Option::None;
14778        self.wide = ::std::option::Option::None;
14779        self.tall = ::std::option::Option::None;
14780        self.source_pid = ::std::option::Option::None;
14781        self.source_handle = ::std::option::Option::None;
14782        self.handle = ::std::option::Option::None;
14783        self.special_fields.clear();
14784    }
14785
14786    fn default_instance() -> &'static CMsgSetSharedPaintBuffers {
14787        static instance: CMsgSetSharedPaintBuffers = CMsgSetSharedPaintBuffers {
14788            browser_handle: ::std::option::Option::None,
14789            wide: ::std::option::Option::None,
14790            tall: ::std::option::Option::None,
14791            source_pid: ::std::option::Option::None,
14792            source_handle: ::std::option::Option::None,
14793            handle: ::std::option::Option::None,
14794            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
14795        };
14796        &instance
14797    }
14798}
14799
14800// @@protoc_insertion_point(message:CMsgAckSharedPaintBuffers)
14801#[derive(PartialEq,Clone,Default,Debug)]
14802pub struct CMsgAckSharedPaintBuffers {
14803    // message fields
14804    // @@protoc_insertion_point(field:CMsgAckSharedPaintBuffers.browser_handle)
14805    pub browser_handle: ::std::option::Option<u32>,
14806    // special fields
14807    // @@protoc_insertion_point(special_field:CMsgAckSharedPaintBuffers.special_fields)
14808    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
14809}
14810
14811impl<'a> ::std::default::Default for &'a CMsgAckSharedPaintBuffers {
14812    fn default() -> &'a CMsgAckSharedPaintBuffers {
14813        <CMsgAckSharedPaintBuffers as ::steam_vent_proto_common::protobuf::Message>::default_instance()
14814    }
14815}
14816
14817impl CMsgAckSharedPaintBuffers {
14818    pub fn new() -> CMsgAckSharedPaintBuffers {
14819        ::std::default::Default::default()
14820    }
14821
14822    // optional uint32 browser_handle = 1;
14823
14824    pub fn browser_handle(&self) -> u32 {
14825        self.browser_handle.unwrap_or(0)
14826    }
14827
14828    pub fn clear_browser_handle(&mut self) {
14829        self.browser_handle = ::std::option::Option::None;
14830    }
14831
14832    pub fn has_browser_handle(&self) -> bool {
14833        self.browser_handle.is_some()
14834    }
14835
14836    // Param is passed by value, moved
14837    pub fn set_browser_handle(&mut self, v: u32) {
14838        self.browser_handle = ::std::option::Option::Some(v);
14839    }
14840}
14841
14842impl ::steam_vent_proto_common::protobuf::Message for CMsgAckSharedPaintBuffers {
14843    const NAME: &'static str = "CMsgAckSharedPaintBuffers";
14844
14845    fn is_initialized(&self) -> bool {
14846        true
14847    }
14848
14849    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14850        while let Some(tag) = is.read_raw_tag_or_eof()? {
14851            match tag {
14852                8 => {
14853                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
14854                },
14855                tag => {
14856                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
14857                },
14858            };
14859        }
14860        ::std::result::Result::Ok(())
14861    }
14862
14863    // Compute sizes of nested messages
14864    #[allow(unused_variables)]
14865    fn compute_size(&self) -> u64 {
14866        let mut my_size = 0;
14867        if let Some(v) = self.browser_handle {
14868            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
14869        }
14870        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
14871        self.special_fields.cached_size().set(my_size as u32);
14872        my_size
14873    }
14874
14875    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14876        if let Some(v) = self.browser_handle {
14877            os.write_uint32(1, v)?;
14878        }
14879        os.write_unknown_fields(self.special_fields.unknown_fields())?;
14880        ::std::result::Result::Ok(())
14881    }
14882
14883    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
14884        &self.special_fields
14885    }
14886
14887    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
14888        &mut self.special_fields
14889    }
14890
14891    fn new() -> CMsgAckSharedPaintBuffers {
14892        CMsgAckSharedPaintBuffers::new()
14893    }
14894
14895    fn clear(&mut self) {
14896        self.browser_handle = ::std::option::Option::None;
14897        self.special_fields.clear();
14898    }
14899
14900    fn default_instance() -> &'static CMsgAckSharedPaintBuffers {
14901        static instance: CMsgAckSharedPaintBuffers = CMsgAckSharedPaintBuffers {
14902            browser_handle: ::std::option::Option::None,
14903            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
14904        };
14905        &instance
14906    }
14907}
14908
14909// @@protoc_insertion_point(message:CMsgNeedsPaint)
14910#[derive(PartialEq,Clone,Default,Debug)]
14911pub struct CMsgNeedsPaint {
14912    // message fields
14913    // @@protoc_insertion_point(field:CMsgNeedsPaint.browser_handle)
14914    pub browser_handle: ::std::option::Option<u32>,
14915    // @@protoc_insertion_point(field:CMsgNeedsPaint.scrollx)
14916    pub scrollx: ::std::option::Option<u32>,
14917    // @@protoc_insertion_point(field:CMsgNeedsPaint.scrolly)
14918    pub scrolly: ::std::option::Option<u32>,
14919    // @@protoc_insertion_point(field:CMsgNeedsPaint.pagescale)
14920    pub pagescale: ::std::option::Option<f32>,
14921    // @@protoc_insertion_point(field:CMsgNeedsPaint.pageserial)
14922    pub pageserial: ::std::option::Option<u32>,
14923    // @@protoc_insertion_point(field:CMsgNeedsPaint.avg_frame_ms)
14924    pub avg_frame_ms: ::std::option::Option<u32>,
14925    // @@protoc_insertion_point(field:CMsgNeedsPaint.stddev_sum_frame_ms)
14926    pub stddev_sum_frame_ms: ::std::option::Option<f32>,
14927    // @@protoc_insertion_point(field:CMsgNeedsPaint.long_frame_ms)
14928    pub long_frame_ms: ::std::option::Option<u32>,
14929    // special fields
14930    // @@protoc_insertion_point(special_field:CMsgNeedsPaint.special_fields)
14931    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
14932}
14933
14934impl<'a> ::std::default::Default for &'a CMsgNeedsPaint {
14935    fn default() -> &'a CMsgNeedsPaint {
14936        <CMsgNeedsPaint as ::steam_vent_proto_common::protobuf::Message>::default_instance()
14937    }
14938}
14939
14940impl CMsgNeedsPaint {
14941    pub fn new() -> CMsgNeedsPaint {
14942        ::std::default::Default::default()
14943    }
14944
14945    // optional uint32 browser_handle = 1;
14946
14947    pub fn browser_handle(&self) -> u32 {
14948        self.browser_handle.unwrap_or(0)
14949    }
14950
14951    pub fn clear_browser_handle(&mut self) {
14952        self.browser_handle = ::std::option::Option::None;
14953    }
14954
14955    pub fn has_browser_handle(&self) -> bool {
14956        self.browser_handle.is_some()
14957    }
14958
14959    // Param is passed by value, moved
14960    pub fn set_browser_handle(&mut self, v: u32) {
14961        self.browser_handle = ::std::option::Option::Some(v);
14962    }
14963
14964    // optional uint32 scrollx = 10;
14965
14966    pub fn scrollx(&self) -> u32 {
14967        self.scrollx.unwrap_or(0)
14968    }
14969
14970    pub fn clear_scrollx(&mut self) {
14971        self.scrollx = ::std::option::Option::None;
14972    }
14973
14974    pub fn has_scrollx(&self) -> bool {
14975        self.scrollx.is_some()
14976    }
14977
14978    // Param is passed by value, moved
14979    pub fn set_scrollx(&mut self, v: u32) {
14980        self.scrollx = ::std::option::Option::Some(v);
14981    }
14982
14983    // optional uint32 scrolly = 11;
14984
14985    pub fn scrolly(&self) -> u32 {
14986        self.scrolly.unwrap_or(0)
14987    }
14988
14989    pub fn clear_scrolly(&mut self) {
14990        self.scrolly = ::std::option::Option::None;
14991    }
14992
14993    pub fn has_scrolly(&self) -> bool {
14994        self.scrolly.is_some()
14995    }
14996
14997    // Param is passed by value, moved
14998    pub fn set_scrolly(&mut self, v: u32) {
14999        self.scrolly = ::std::option::Option::Some(v);
15000    }
15001
15002    // optional float pagescale = 12;
15003
15004    pub fn pagescale(&self) -> f32 {
15005        self.pagescale.unwrap_or(0.)
15006    }
15007
15008    pub fn clear_pagescale(&mut self) {
15009        self.pagescale = ::std::option::Option::None;
15010    }
15011
15012    pub fn has_pagescale(&self) -> bool {
15013        self.pagescale.is_some()
15014    }
15015
15016    // Param is passed by value, moved
15017    pub fn set_pagescale(&mut self, v: f32) {
15018        self.pagescale = ::std::option::Option::Some(v);
15019    }
15020
15021    // optional uint32 pageserial = 15;
15022
15023    pub fn pageserial(&self) -> u32 {
15024        self.pageserial.unwrap_or(0)
15025    }
15026
15027    pub fn clear_pageserial(&mut self) {
15028        self.pageserial = ::std::option::Option::None;
15029    }
15030
15031    pub fn has_pageserial(&self) -> bool {
15032        self.pageserial.is_some()
15033    }
15034
15035    // Param is passed by value, moved
15036    pub fn set_pageserial(&mut self, v: u32) {
15037        self.pageserial = ::std::option::Option::Some(v);
15038    }
15039
15040    // optional uint32 avg_frame_ms = 20;
15041
15042    pub fn avg_frame_ms(&self) -> u32 {
15043        self.avg_frame_ms.unwrap_or(0)
15044    }
15045
15046    pub fn clear_avg_frame_ms(&mut self) {
15047        self.avg_frame_ms = ::std::option::Option::None;
15048    }
15049
15050    pub fn has_avg_frame_ms(&self) -> bool {
15051        self.avg_frame_ms.is_some()
15052    }
15053
15054    // Param is passed by value, moved
15055    pub fn set_avg_frame_ms(&mut self, v: u32) {
15056        self.avg_frame_ms = ::std::option::Option::Some(v);
15057    }
15058
15059    // optional float stddev_sum_frame_ms = 21;
15060
15061    pub fn stddev_sum_frame_ms(&self) -> f32 {
15062        self.stddev_sum_frame_ms.unwrap_or(0.)
15063    }
15064
15065    pub fn clear_stddev_sum_frame_ms(&mut self) {
15066        self.stddev_sum_frame_ms = ::std::option::Option::None;
15067    }
15068
15069    pub fn has_stddev_sum_frame_ms(&self) -> bool {
15070        self.stddev_sum_frame_ms.is_some()
15071    }
15072
15073    // Param is passed by value, moved
15074    pub fn set_stddev_sum_frame_ms(&mut self, v: f32) {
15075        self.stddev_sum_frame_ms = ::std::option::Option::Some(v);
15076    }
15077
15078    // optional uint32 long_frame_ms = 22;
15079
15080    pub fn long_frame_ms(&self) -> u32 {
15081        self.long_frame_ms.unwrap_or(0)
15082    }
15083
15084    pub fn clear_long_frame_ms(&mut self) {
15085        self.long_frame_ms = ::std::option::Option::None;
15086    }
15087
15088    pub fn has_long_frame_ms(&self) -> bool {
15089        self.long_frame_ms.is_some()
15090    }
15091
15092    // Param is passed by value, moved
15093    pub fn set_long_frame_ms(&mut self, v: u32) {
15094        self.long_frame_ms = ::std::option::Option::Some(v);
15095    }
15096}
15097
15098impl ::steam_vent_proto_common::protobuf::Message for CMsgNeedsPaint {
15099    const NAME: &'static str = "CMsgNeedsPaint";
15100
15101    fn is_initialized(&self) -> bool {
15102        true
15103    }
15104
15105    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15106        while let Some(tag) = is.read_raw_tag_or_eof()? {
15107            match tag {
15108                8 => {
15109                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
15110                },
15111                80 => {
15112                    self.scrollx = ::std::option::Option::Some(is.read_uint32()?);
15113                },
15114                88 => {
15115                    self.scrolly = ::std::option::Option::Some(is.read_uint32()?);
15116                },
15117                101 => {
15118                    self.pagescale = ::std::option::Option::Some(is.read_float()?);
15119                },
15120                120 => {
15121                    self.pageserial = ::std::option::Option::Some(is.read_uint32()?);
15122                },
15123                160 => {
15124                    self.avg_frame_ms = ::std::option::Option::Some(is.read_uint32()?);
15125                },
15126                173 => {
15127                    self.stddev_sum_frame_ms = ::std::option::Option::Some(is.read_float()?);
15128                },
15129                176 => {
15130                    self.long_frame_ms = ::std::option::Option::Some(is.read_uint32()?);
15131                },
15132                tag => {
15133                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
15134                },
15135            };
15136        }
15137        ::std::result::Result::Ok(())
15138    }
15139
15140    // Compute sizes of nested messages
15141    #[allow(unused_variables)]
15142    fn compute_size(&self) -> u64 {
15143        let mut my_size = 0;
15144        if let Some(v) = self.browser_handle {
15145            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
15146        }
15147        if let Some(v) = self.scrollx {
15148            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(10, v);
15149        }
15150        if let Some(v) = self.scrolly {
15151            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(11, v);
15152        }
15153        if let Some(v) = self.pagescale {
15154            my_size += 1 + 4;
15155        }
15156        if let Some(v) = self.pageserial {
15157            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(15, v);
15158        }
15159        if let Some(v) = self.avg_frame_ms {
15160            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(20, v);
15161        }
15162        if let Some(v) = self.stddev_sum_frame_ms {
15163            my_size += 2 + 4;
15164        }
15165        if let Some(v) = self.long_frame_ms {
15166            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(22, v);
15167        }
15168        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
15169        self.special_fields.cached_size().set(my_size as u32);
15170        my_size
15171    }
15172
15173    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15174        if let Some(v) = self.browser_handle {
15175            os.write_uint32(1, v)?;
15176        }
15177        if let Some(v) = self.scrollx {
15178            os.write_uint32(10, v)?;
15179        }
15180        if let Some(v) = self.scrolly {
15181            os.write_uint32(11, v)?;
15182        }
15183        if let Some(v) = self.pagescale {
15184            os.write_float(12, v)?;
15185        }
15186        if let Some(v) = self.pageserial {
15187            os.write_uint32(15, v)?;
15188        }
15189        if let Some(v) = self.avg_frame_ms {
15190            os.write_uint32(20, v)?;
15191        }
15192        if let Some(v) = self.stddev_sum_frame_ms {
15193            os.write_float(21, v)?;
15194        }
15195        if let Some(v) = self.long_frame_ms {
15196            os.write_uint32(22, v)?;
15197        }
15198        os.write_unknown_fields(self.special_fields.unknown_fields())?;
15199        ::std::result::Result::Ok(())
15200    }
15201
15202    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
15203        &self.special_fields
15204    }
15205
15206    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
15207        &mut self.special_fields
15208    }
15209
15210    fn new() -> CMsgNeedsPaint {
15211        CMsgNeedsPaint::new()
15212    }
15213
15214    fn clear(&mut self) {
15215        self.browser_handle = ::std::option::Option::None;
15216        self.scrollx = ::std::option::Option::None;
15217        self.scrolly = ::std::option::Option::None;
15218        self.pagescale = ::std::option::Option::None;
15219        self.pageserial = ::std::option::Option::None;
15220        self.avg_frame_ms = ::std::option::Option::None;
15221        self.stddev_sum_frame_ms = ::std::option::Option::None;
15222        self.long_frame_ms = ::std::option::Option::None;
15223        self.special_fields.clear();
15224    }
15225
15226    fn default_instance() -> &'static CMsgNeedsPaint {
15227        static instance: CMsgNeedsPaint = CMsgNeedsPaint {
15228            browser_handle: ::std::option::Option::None,
15229            scrollx: ::std::option::Option::None,
15230            scrolly: ::std::option::Option::None,
15231            pagescale: ::std::option::Option::None,
15232            pageserial: ::std::option::Option::None,
15233            avg_frame_ms: ::std::option::Option::None,
15234            stddev_sum_frame_ms: ::std::option::Option::None,
15235            long_frame_ms: ::std::option::Option::None,
15236            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
15237        };
15238        &instance
15239    }
15240}
15241
15242// @@protoc_insertion_point(message:CMsgComboNeedsPaint)
15243#[derive(PartialEq,Clone,Default,Debug)]
15244pub struct CMsgComboNeedsPaint {
15245    // message fields
15246    // @@protoc_insertion_point(field:CMsgComboNeedsPaint.browser_handle)
15247    pub browser_handle: ::std::option::Option<u32>,
15248    // @@protoc_insertion_point(field:CMsgComboNeedsPaint.rgba)
15249    pub rgba: ::std::option::Option<u64>,
15250    // @@protoc_insertion_point(field:CMsgComboNeedsPaint.combobox_wide)
15251    pub combobox_wide: ::std::option::Option<u32>,
15252    // @@protoc_insertion_point(field:CMsgComboNeedsPaint.combobox_tall)
15253    pub combobox_tall: ::std::option::Option<u32>,
15254    // @@protoc_insertion_point(field:CMsgComboNeedsPaint.shared_memory_handle)
15255    pub shared_memory_handle: ::std::option::Option<u64>,
15256    // @@protoc_insertion_point(field:CMsgComboNeedsPaint.shared_memory_size)
15257    pub shared_memory_size: ::std::option::Option<u64>,
15258    // special fields
15259    // @@protoc_insertion_point(special_field:CMsgComboNeedsPaint.special_fields)
15260    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
15261}
15262
15263impl<'a> ::std::default::Default for &'a CMsgComboNeedsPaint {
15264    fn default() -> &'a CMsgComboNeedsPaint {
15265        <CMsgComboNeedsPaint as ::steam_vent_proto_common::protobuf::Message>::default_instance()
15266    }
15267}
15268
15269impl CMsgComboNeedsPaint {
15270    pub fn new() -> CMsgComboNeedsPaint {
15271        ::std::default::Default::default()
15272    }
15273
15274    // optional uint32 browser_handle = 1;
15275
15276    pub fn browser_handle(&self) -> u32 {
15277        self.browser_handle.unwrap_or(0)
15278    }
15279
15280    pub fn clear_browser_handle(&mut self) {
15281        self.browser_handle = ::std::option::Option::None;
15282    }
15283
15284    pub fn has_browser_handle(&self) -> bool {
15285        self.browser_handle.is_some()
15286    }
15287
15288    // Param is passed by value, moved
15289    pub fn set_browser_handle(&mut self, v: u32) {
15290        self.browser_handle = ::std::option::Option::Some(v);
15291    }
15292
15293    // optional uint64 rgba = 2;
15294
15295    pub fn rgba(&self) -> u64 {
15296        self.rgba.unwrap_or(0)
15297    }
15298
15299    pub fn clear_rgba(&mut self) {
15300        self.rgba = ::std::option::Option::None;
15301    }
15302
15303    pub fn has_rgba(&self) -> bool {
15304        self.rgba.is_some()
15305    }
15306
15307    // Param is passed by value, moved
15308    pub fn set_rgba(&mut self, v: u64) {
15309        self.rgba = ::std::option::Option::Some(v);
15310    }
15311
15312    // optional uint32 combobox_wide = 3;
15313
15314    pub fn combobox_wide(&self) -> u32 {
15315        self.combobox_wide.unwrap_or(0u32)
15316    }
15317
15318    pub fn clear_combobox_wide(&mut self) {
15319        self.combobox_wide = ::std::option::Option::None;
15320    }
15321
15322    pub fn has_combobox_wide(&self) -> bool {
15323        self.combobox_wide.is_some()
15324    }
15325
15326    // Param is passed by value, moved
15327    pub fn set_combobox_wide(&mut self, v: u32) {
15328        self.combobox_wide = ::std::option::Option::Some(v);
15329    }
15330
15331    // optional uint32 combobox_tall = 4;
15332
15333    pub fn combobox_tall(&self) -> u32 {
15334        self.combobox_tall.unwrap_or(0u32)
15335    }
15336
15337    pub fn clear_combobox_tall(&mut self) {
15338        self.combobox_tall = ::std::option::Option::None;
15339    }
15340
15341    pub fn has_combobox_tall(&self) -> bool {
15342        self.combobox_tall.is_some()
15343    }
15344
15345    // Param is passed by value, moved
15346    pub fn set_combobox_tall(&mut self, v: u32) {
15347        self.combobox_tall = ::std::option::Option::Some(v);
15348    }
15349
15350    // optional uint64 shared_memory_handle = 5;
15351
15352    pub fn shared_memory_handle(&self) -> u64 {
15353        self.shared_memory_handle.unwrap_or(0u64)
15354    }
15355
15356    pub fn clear_shared_memory_handle(&mut self) {
15357        self.shared_memory_handle = ::std::option::Option::None;
15358    }
15359
15360    pub fn has_shared_memory_handle(&self) -> bool {
15361        self.shared_memory_handle.is_some()
15362    }
15363
15364    // Param is passed by value, moved
15365    pub fn set_shared_memory_handle(&mut self, v: u64) {
15366        self.shared_memory_handle = ::std::option::Option::Some(v);
15367    }
15368
15369    // optional uint64 shared_memory_size = 7;
15370
15371    pub fn shared_memory_size(&self) -> u64 {
15372        self.shared_memory_size.unwrap_or(0u64)
15373    }
15374
15375    pub fn clear_shared_memory_size(&mut self) {
15376        self.shared_memory_size = ::std::option::Option::None;
15377    }
15378
15379    pub fn has_shared_memory_size(&self) -> bool {
15380        self.shared_memory_size.is_some()
15381    }
15382
15383    // Param is passed by value, moved
15384    pub fn set_shared_memory_size(&mut self, v: u64) {
15385        self.shared_memory_size = ::std::option::Option::Some(v);
15386    }
15387}
15388
15389impl ::steam_vent_proto_common::protobuf::Message for CMsgComboNeedsPaint {
15390    const NAME: &'static str = "CMsgComboNeedsPaint";
15391
15392    fn is_initialized(&self) -> bool {
15393        true
15394    }
15395
15396    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15397        while let Some(tag) = is.read_raw_tag_or_eof()? {
15398            match tag {
15399                8 => {
15400                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
15401                },
15402                16 => {
15403                    self.rgba = ::std::option::Option::Some(is.read_uint64()?);
15404                },
15405                24 => {
15406                    self.combobox_wide = ::std::option::Option::Some(is.read_uint32()?);
15407                },
15408                32 => {
15409                    self.combobox_tall = ::std::option::Option::Some(is.read_uint32()?);
15410                },
15411                40 => {
15412                    self.shared_memory_handle = ::std::option::Option::Some(is.read_uint64()?);
15413                },
15414                56 => {
15415                    self.shared_memory_size = ::std::option::Option::Some(is.read_uint64()?);
15416                },
15417                tag => {
15418                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
15419                },
15420            };
15421        }
15422        ::std::result::Result::Ok(())
15423    }
15424
15425    // Compute sizes of nested messages
15426    #[allow(unused_variables)]
15427    fn compute_size(&self) -> u64 {
15428        let mut my_size = 0;
15429        if let Some(v) = self.browser_handle {
15430            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
15431        }
15432        if let Some(v) = self.rgba {
15433            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
15434        }
15435        if let Some(v) = self.combobox_wide {
15436            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
15437        }
15438        if let Some(v) = self.combobox_tall {
15439            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
15440        }
15441        if let Some(v) = self.shared_memory_handle {
15442            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(5, v);
15443        }
15444        if let Some(v) = self.shared_memory_size {
15445            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(7, v);
15446        }
15447        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
15448        self.special_fields.cached_size().set(my_size as u32);
15449        my_size
15450    }
15451
15452    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15453        if let Some(v) = self.browser_handle {
15454            os.write_uint32(1, v)?;
15455        }
15456        if let Some(v) = self.rgba {
15457            os.write_uint64(2, v)?;
15458        }
15459        if let Some(v) = self.combobox_wide {
15460            os.write_uint32(3, v)?;
15461        }
15462        if let Some(v) = self.combobox_tall {
15463            os.write_uint32(4, v)?;
15464        }
15465        if let Some(v) = self.shared_memory_handle {
15466            os.write_uint64(5, v)?;
15467        }
15468        if let Some(v) = self.shared_memory_size {
15469            os.write_uint64(7, v)?;
15470        }
15471        os.write_unknown_fields(self.special_fields.unknown_fields())?;
15472        ::std::result::Result::Ok(())
15473    }
15474
15475    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
15476        &self.special_fields
15477    }
15478
15479    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
15480        &mut self.special_fields
15481    }
15482
15483    fn new() -> CMsgComboNeedsPaint {
15484        CMsgComboNeedsPaint::new()
15485    }
15486
15487    fn clear(&mut self) {
15488        self.browser_handle = ::std::option::Option::None;
15489        self.rgba = ::std::option::Option::None;
15490        self.combobox_wide = ::std::option::Option::None;
15491        self.combobox_tall = ::std::option::Option::None;
15492        self.shared_memory_handle = ::std::option::Option::None;
15493        self.shared_memory_size = ::std::option::Option::None;
15494        self.special_fields.clear();
15495    }
15496
15497    fn default_instance() -> &'static CMsgComboNeedsPaint {
15498        static instance: CMsgComboNeedsPaint = CMsgComboNeedsPaint {
15499            browser_handle: ::std::option::Option::None,
15500            rgba: ::std::option::Option::None,
15501            combobox_wide: ::std::option::Option::None,
15502            combobox_tall: ::std::option::Option::None,
15503            shared_memory_handle: ::std::option::Option::None,
15504            shared_memory_size: ::std::option::Option::None,
15505            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
15506        };
15507        &instance
15508    }
15509}
15510
15511// @@protoc_insertion_point(message:CMsgNeedsSharedTexturePaint)
15512#[derive(PartialEq,Clone,Default,Debug)]
15513pub struct CMsgNeedsSharedTexturePaint {
15514    // message fields
15515    // @@protoc_insertion_point(field:CMsgNeedsSharedTexturePaint.browser_handle)
15516    pub browser_handle: ::std::option::Option<u32>,
15517    // @@protoc_insertion_point(field:CMsgNeedsSharedTexturePaint.share_handle)
15518    pub share_handle: ::std::option::Option<u32>,
15519    // @@protoc_insertion_point(field:CMsgNeedsSharedTexturePaint.width)
15520    pub width: ::std::option::Option<u32>,
15521    // @@protoc_insertion_point(field:CMsgNeedsSharedTexturePaint.height)
15522    pub height: ::std::option::Option<u32>,
15523    // @@protoc_insertion_point(field:CMsgNeedsSharedTexturePaint.scrollx)
15524    pub scrollx: ::std::option::Option<u32>,
15525    // @@protoc_insertion_point(field:CMsgNeedsSharedTexturePaint.scrolly)
15526    pub scrolly: ::std::option::Option<u32>,
15527    // @@protoc_insertion_point(field:CMsgNeedsSharedTexturePaint.pagescale)
15528    pub pagescale: ::std::option::Option<f32>,
15529    // @@protoc_insertion_point(field:CMsgNeedsSharedTexturePaint.pageserial)
15530    pub pageserial: ::std::option::Option<u32>,
15531    // special fields
15532    // @@protoc_insertion_point(special_field:CMsgNeedsSharedTexturePaint.special_fields)
15533    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
15534}
15535
15536impl<'a> ::std::default::Default for &'a CMsgNeedsSharedTexturePaint {
15537    fn default() -> &'a CMsgNeedsSharedTexturePaint {
15538        <CMsgNeedsSharedTexturePaint as ::steam_vent_proto_common::protobuf::Message>::default_instance()
15539    }
15540}
15541
15542impl CMsgNeedsSharedTexturePaint {
15543    pub fn new() -> CMsgNeedsSharedTexturePaint {
15544        ::std::default::Default::default()
15545    }
15546
15547    // optional uint32 browser_handle = 1;
15548
15549    pub fn browser_handle(&self) -> u32 {
15550        self.browser_handle.unwrap_or(0)
15551    }
15552
15553    pub fn clear_browser_handle(&mut self) {
15554        self.browser_handle = ::std::option::Option::None;
15555    }
15556
15557    pub fn has_browser_handle(&self) -> bool {
15558        self.browser_handle.is_some()
15559    }
15560
15561    // Param is passed by value, moved
15562    pub fn set_browser_handle(&mut self, v: u32) {
15563        self.browser_handle = ::std::option::Option::Some(v);
15564    }
15565
15566    // optional uint32 share_handle = 2;
15567
15568    pub fn share_handle(&self) -> u32 {
15569        self.share_handle.unwrap_or(0)
15570    }
15571
15572    pub fn clear_share_handle(&mut self) {
15573        self.share_handle = ::std::option::Option::None;
15574    }
15575
15576    pub fn has_share_handle(&self) -> bool {
15577        self.share_handle.is_some()
15578    }
15579
15580    // Param is passed by value, moved
15581    pub fn set_share_handle(&mut self, v: u32) {
15582        self.share_handle = ::std::option::Option::Some(v);
15583    }
15584
15585    // optional uint32 width = 3;
15586
15587    pub fn width(&self) -> u32 {
15588        self.width.unwrap_or(0)
15589    }
15590
15591    pub fn clear_width(&mut self) {
15592        self.width = ::std::option::Option::None;
15593    }
15594
15595    pub fn has_width(&self) -> bool {
15596        self.width.is_some()
15597    }
15598
15599    // Param is passed by value, moved
15600    pub fn set_width(&mut self, v: u32) {
15601        self.width = ::std::option::Option::Some(v);
15602    }
15603
15604    // optional uint32 height = 4;
15605
15606    pub fn height(&self) -> u32 {
15607        self.height.unwrap_or(0)
15608    }
15609
15610    pub fn clear_height(&mut self) {
15611        self.height = ::std::option::Option::None;
15612    }
15613
15614    pub fn has_height(&self) -> bool {
15615        self.height.is_some()
15616    }
15617
15618    // Param is passed by value, moved
15619    pub fn set_height(&mut self, v: u32) {
15620        self.height = ::std::option::Option::Some(v);
15621    }
15622
15623    // optional uint32 scrollx = 5;
15624
15625    pub fn scrollx(&self) -> u32 {
15626        self.scrollx.unwrap_or(0)
15627    }
15628
15629    pub fn clear_scrollx(&mut self) {
15630        self.scrollx = ::std::option::Option::None;
15631    }
15632
15633    pub fn has_scrollx(&self) -> bool {
15634        self.scrollx.is_some()
15635    }
15636
15637    // Param is passed by value, moved
15638    pub fn set_scrollx(&mut self, v: u32) {
15639        self.scrollx = ::std::option::Option::Some(v);
15640    }
15641
15642    // optional uint32 scrolly = 6;
15643
15644    pub fn scrolly(&self) -> u32 {
15645        self.scrolly.unwrap_or(0)
15646    }
15647
15648    pub fn clear_scrolly(&mut self) {
15649        self.scrolly = ::std::option::Option::None;
15650    }
15651
15652    pub fn has_scrolly(&self) -> bool {
15653        self.scrolly.is_some()
15654    }
15655
15656    // Param is passed by value, moved
15657    pub fn set_scrolly(&mut self, v: u32) {
15658        self.scrolly = ::std::option::Option::Some(v);
15659    }
15660
15661    // optional float pagescale = 7;
15662
15663    pub fn pagescale(&self) -> f32 {
15664        self.pagescale.unwrap_or(0.)
15665    }
15666
15667    pub fn clear_pagescale(&mut self) {
15668        self.pagescale = ::std::option::Option::None;
15669    }
15670
15671    pub fn has_pagescale(&self) -> bool {
15672        self.pagescale.is_some()
15673    }
15674
15675    // Param is passed by value, moved
15676    pub fn set_pagescale(&mut self, v: f32) {
15677        self.pagescale = ::std::option::Option::Some(v);
15678    }
15679
15680    // optional uint32 pageserial = 8;
15681
15682    pub fn pageserial(&self) -> u32 {
15683        self.pageserial.unwrap_or(0)
15684    }
15685
15686    pub fn clear_pageserial(&mut self) {
15687        self.pageserial = ::std::option::Option::None;
15688    }
15689
15690    pub fn has_pageserial(&self) -> bool {
15691        self.pageserial.is_some()
15692    }
15693
15694    // Param is passed by value, moved
15695    pub fn set_pageserial(&mut self, v: u32) {
15696        self.pageserial = ::std::option::Option::Some(v);
15697    }
15698}
15699
15700impl ::steam_vent_proto_common::protobuf::Message for CMsgNeedsSharedTexturePaint {
15701    const NAME: &'static str = "CMsgNeedsSharedTexturePaint";
15702
15703    fn is_initialized(&self) -> bool {
15704        true
15705    }
15706
15707    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15708        while let Some(tag) = is.read_raw_tag_or_eof()? {
15709            match tag {
15710                8 => {
15711                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
15712                },
15713                16 => {
15714                    self.share_handle = ::std::option::Option::Some(is.read_uint32()?);
15715                },
15716                24 => {
15717                    self.width = ::std::option::Option::Some(is.read_uint32()?);
15718                },
15719                32 => {
15720                    self.height = ::std::option::Option::Some(is.read_uint32()?);
15721                },
15722                40 => {
15723                    self.scrollx = ::std::option::Option::Some(is.read_uint32()?);
15724                },
15725                48 => {
15726                    self.scrolly = ::std::option::Option::Some(is.read_uint32()?);
15727                },
15728                61 => {
15729                    self.pagescale = ::std::option::Option::Some(is.read_float()?);
15730                },
15731                64 => {
15732                    self.pageserial = ::std::option::Option::Some(is.read_uint32()?);
15733                },
15734                tag => {
15735                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
15736                },
15737            };
15738        }
15739        ::std::result::Result::Ok(())
15740    }
15741
15742    // Compute sizes of nested messages
15743    #[allow(unused_variables)]
15744    fn compute_size(&self) -> u64 {
15745        let mut my_size = 0;
15746        if let Some(v) = self.browser_handle {
15747            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
15748        }
15749        if let Some(v) = self.share_handle {
15750            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
15751        }
15752        if let Some(v) = self.width {
15753            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
15754        }
15755        if let Some(v) = self.height {
15756            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
15757        }
15758        if let Some(v) = self.scrollx {
15759            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
15760        }
15761        if let Some(v) = self.scrolly {
15762            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
15763        }
15764        if let Some(v) = self.pagescale {
15765            my_size += 1 + 4;
15766        }
15767        if let Some(v) = self.pageserial {
15768            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(8, v);
15769        }
15770        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
15771        self.special_fields.cached_size().set(my_size as u32);
15772        my_size
15773    }
15774
15775    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15776        if let Some(v) = self.browser_handle {
15777            os.write_uint32(1, v)?;
15778        }
15779        if let Some(v) = self.share_handle {
15780            os.write_uint32(2, v)?;
15781        }
15782        if let Some(v) = self.width {
15783            os.write_uint32(3, v)?;
15784        }
15785        if let Some(v) = self.height {
15786            os.write_uint32(4, v)?;
15787        }
15788        if let Some(v) = self.scrollx {
15789            os.write_uint32(5, v)?;
15790        }
15791        if let Some(v) = self.scrolly {
15792            os.write_uint32(6, v)?;
15793        }
15794        if let Some(v) = self.pagescale {
15795            os.write_float(7, v)?;
15796        }
15797        if let Some(v) = self.pageserial {
15798            os.write_uint32(8, v)?;
15799        }
15800        os.write_unknown_fields(self.special_fields.unknown_fields())?;
15801        ::std::result::Result::Ok(())
15802    }
15803
15804    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
15805        &self.special_fields
15806    }
15807
15808    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
15809        &mut self.special_fields
15810    }
15811
15812    fn new() -> CMsgNeedsSharedTexturePaint {
15813        CMsgNeedsSharedTexturePaint::new()
15814    }
15815
15816    fn clear(&mut self) {
15817        self.browser_handle = ::std::option::Option::None;
15818        self.share_handle = ::std::option::Option::None;
15819        self.width = ::std::option::Option::None;
15820        self.height = ::std::option::Option::None;
15821        self.scrollx = ::std::option::Option::None;
15822        self.scrolly = ::std::option::Option::None;
15823        self.pagescale = ::std::option::Option::None;
15824        self.pageserial = ::std::option::Option::None;
15825        self.special_fields.clear();
15826    }
15827
15828    fn default_instance() -> &'static CMsgNeedsSharedTexturePaint {
15829        static instance: CMsgNeedsSharedTexturePaint = CMsgNeedsSharedTexturePaint {
15830            browser_handle: ::std::option::Option::None,
15831            share_handle: ::std::option::Option::None,
15832            width: ::std::option::Option::None,
15833            height: ::std::option::Option::None,
15834            scrollx: ::std::option::Option::None,
15835            scrolly: ::std::option::Option::None,
15836            pagescale: ::std::option::Option::None,
15837            pageserial: ::std::option::Option::None,
15838            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
15839        };
15840        &instance
15841    }
15842}
15843
15844// @@protoc_insertion_point(message:CMsgGetZoom)
15845#[derive(PartialEq,Clone,Default,Debug)]
15846pub struct CMsgGetZoom {
15847    // message fields
15848    // @@protoc_insertion_point(field:CMsgGetZoom.browser_handle)
15849    pub browser_handle: ::std::option::Option<u32>,
15850    // special fields
15851    // @@protoc_insertion_point(special_field:CMsgGetZoom.special_fields)
15852    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
15853}
15854
15855impl<'a> ::std::default::Default for &'a CMsgGetZoom {
15856    fn default() -> &'a CMsgGetZoom {
15857        <CMsgGetZoom as ::steam_vent_proto_common::protobuf::Message>::default_instance()
15858    }
15859}
15860
15861impl CMsgGetZoom {
15862    pub fn new() -> CMsgGetZoom {
15863        ::std::default::Default::default()
15864    }
15865
15866    // optional uint32 browser_handle = 1;
15867
15868    pub fn browser_handle(&self) -> u32 {
15869        self.browser_handle.unwrap_or(0)
15870    }
15871
15872    pub fn clear_browser_handle(&mut self) {
15873        self.browser_handle = ::std::option::Option::None;
15874    }
15875
15876    pub fn has_browser_handle(&self) -> bool {
15877        self.browser_handle.is_some()
15878    }
15879
15880    // Param is passed by value, moved
15881    pub fn set_browser_handle(&mut self, v: u32) {
15882        self.browser_handle = ::std::option::Option::Some(v);
15883    }
15884}
15885
15886impl ::steam_vent_proto_common::protobuf::Message for CMsgGetZoom {
15887    const NAME: &'static str = "CMsgGetZoom";
15888
15889    fn is_initialized(&self) -> bool {
15890        true
15891    }
15892
15893    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15894        while let Some(tag) = is.read_raw_tag_or_eof()? {
15895            match tag {
15896                8 => {
15897                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
15898                },
15899                tag => {
15900                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
15901                },
15902            };
15903        }
15904        ::std::result::Result::Ok(())
15905    }
15906
15907    // Compute sizes of nested messages
15908    #[allow(unused_variables)]
15909    fn compute_size(&self) -> u64 {
15910        let mut my_size = 0;
15911        if let Some(v) = self.browser_handle {
15912            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
15913        }
15914        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
15915        self.special_fields.cached_size().set(my_size as u32);
15916        my_size
15917    }
15918
15919    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15920        if let Some(v) = self.browser_handle {
15921            os.write_uint32(1, v)?;
15922        }
15923        os.write_unknown_fields(self.special_fields.unknown_fields())?;
15924        ::std::result::Result::Ok(())
15925    }
15926
15927    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
15928        &self.special_fields
15929    }
15930
15931    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
15932        &mut self.special_fields
15933    }
15934
15935    fn new() -> CMsgGetZoom {
15936        CMsgGetZoom::new()
15937    }
15938
15939    fn clear(&mut self) {
15940        self.browser_handle = ::std::option::Option::None;
15941        self.special_fields.clear();
15942    }
15943
15944    fn default_instance() -> &'static CMsgGetZoom {
15945        static instance: CMsgGetZoom = CMsgGetZoom {
15946            browser_handle: ::std::option::Option::None,
15947            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
15948        };
15949        &instance
15950    }
15951}
15952
15953// @@protoc_insertion_point(message:CMsgGetZoomResponse)
15954#[derive(PartialEq,Clone,Default,Debug)]
15955pub struct CMsgGetZoomResponse {
15956    // message fields
15957    // @@protoc_insertion_point(field:CMsgGetZoomResponse.browser_handle)
15958    pub browser_handle: ::std::option::Option<u32>,
15959    // @@protoc_insertion_point(field:CMsgGetZoomResponse.zoom)
15960    pub zoom: ::std::option::Option<f32>,
15961    // special fields
15962    // @@protoc_insertion_point(special_field:CMsgGetZoomResponse.special_fields)
15963    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
15964}
15965
15966impl<'a> ::std::default::Default for &'a CMsgGetZoomResponse {
15967    fn default() -> &'a CMsgGetZoomResponse {
15968        <CMsgGetZoomResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
15969    }
15970}
15971
15972impl CMsgGetZoomResponse {
15973    pub fn new() -> CMsgGetZoomResponse {
15974        ::std::default::Default::default()
15975    }
15976
15977    // optional uint32 browser_handle = 1;
15978
15979    pub fn browser_handle(&self) -> u32 {
15980        self.browser_handle.unwrap_or(0)
15981    }
15982
15983    pub fn clear_browser_handle(&mut self) {
15984        self.browser_handle = ::std::option::Option::None;
15985    }
15986
15987    pub fn has_browser_handle(&self) -> bool {
15988        self.browser_handle.is_some()
15989    }
15990
15991    // Param is passed by value, moved
15992    pub fn set_browser_handle(&mut self, v: u32) {
15993        self.browser_handle = ::std::option::Option::Some(v);
15994    }
15995
15996    // optional float zoom = 2;
15997
15998    pub fn zoom(&self) -> f32 {
15999        self.zoom.unwrap_or(0.)
16000    }
16001
16002    pub fn clear_zoom(&mut self) {
16003        self.zoom = ::std::option::Option::None;
16004    }
16005
16006    pub fn has_zoom(&self) -> bool {
16007        self.zoom.is_some()
16008    }
16009
16010    // Param is passed by value, moved
16011    pub fn set_zoom(&mut self, v: f32) {
16012        self.zoom = ::std::option::Option::Some(v);
16013    }
16014}
16015
16016impl ::steam_vent_proto_common::protobuf::Message for CMsgGetZoomResponse {
16017    const NAME: &'static str = "CMsgGetZoomResponse";
16018
16019    fn is_initialized(&self) -> bool {
16020        true
16021    }
16022
16023    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16024        while let Some(tag) = is.read_raw_tag_or_eof()? {
16025            match tag {
16026                8 => {
16027                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
16028                },
16029                21 => {
16030                    self.zoom = ::std::option::Option::Some(is.read_float()?);
16031                },
16032                tag => {
16033                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16034                },
16035            };
16036        }
16037        ::std::result::Result::Ok(())
16038    }
16039
16040    // Compute sizes of nested messages
16041    #[allow(unused_variables)]
16042    fn compute_size(&self) -> u64 {
16043        let mut my_size = 0;
16044        if let Some(v) = self.browser_handle {
16045            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
16046        }
16047        if let Some(v) = self.zoom {
16048            my_size += 1 + 4;
16049        }
16050        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16051        self.special_fields.cached_size().set(my_size as u32);
16052        my_size
16053    }
16054
16055    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16056        if let Some(v) = self.browser_handle {
16057            os.write_uint32(1, v)?;
16058        }
16059        if let Some(v) = self.zoom {
16060            os.write_float(2, v)?;
16061        }
16062        os.write_unknown_fields(self.special_fields.unknown_fields())?;
16063        ::std::result::Result::Ok(())
16064    }
16065
16066    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16067        &self.special_fields
16068    }
16069
16070    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16071        &mut self.special_fields
16072    }
16073
16074    fn new() -> CMsgGetZoomResponse {
16075        CMsgGetZoomResponse::new()
16076    }
16077
16078    fn clear(&mut self) {
16079        self.browser_handle = ::std::option::Option::None;
16080        self.zoom = ::std::option::Option::None;
16081        self.special_fields.clear();
16082    }
16083
16084    fn default_instance() -> &'static CMsgGetZoomResponse {
16085        static instance: CMsgGetZoomResponse = CMsgGetZoomResponse {
16086            browser_handle: ::std::option::Option::None,
16087            zoom: ::std::option::Option::None,
16088            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16089        };
16090        &instance
16091    }
16092}
16093
16094// @@protoc_insertion_point(message:CMsgLinkAtPosition)
16095#[derive(PartialEq,Clone,Default,Debug)]
16096pub struct CMsgLinkAtPosition {
16097    // message fields
16098    // @@protoc_insertion_point(field:CMsgLinkAtPosition.browser_handle)
16099    pub browser_handle: ::std::option::Option<u32>,
16100    // @@protoc_insertion_point(field:CMsgLinkAtPosition.x)
16101    pub x: ::std::option::Option<u32>,
16102    // @@protoc_insertion_point(field:CMsgLinkAtPosition.y)
16103    pub y: ::std::option::Option<u32>,
16104    // special fields
16105    // @@protoc_insertion_point(special_field:CMsgLinkAtPosition.special_fields)
16106    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16107}
16108
16109impl<'a> ::std::default::Default for &'a CMsgLinkAtPosition {
16110    fn default() -> &'a CMsgLinkAtPosition {
16111        <CMsgLinkAtPosition as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16112    }
16113}
16114
16115impl CMsgLinkAtPosition {
16116    pub fn new() -> CMsgLinkAtPosition {
16117        ::std::default::Default::default()
16118    }
16119
16120    // optional uint32 browser_handle = 1;
16121
16122    pub fn browser_handle(&self) -> u32 {
16123        self.browser_handle.unwrap_or(0)
16124    }
16125
16126    pub fn clear_browser_handle(&mut self) {
16127        self.browser_handle = ::std::option::Option::None;
16128    }
16129
16130    pub fn has_browser_handle(&self) -> bool {
16131        self.browser_handle.is_some()
16132    }
16133
16134    // Param is passed by value, moved
16135    pub fn set_browser_handle(&mut self, v: u32) {
16136        self.browser_handle = ::std::option::Option::Some(v);
16137    }
16138
16139    // optional uint32 x = 2;
16140
16141    pub fn x(&self) -> u32 {
16142        self.x.unwrap_or(0)
16143    }
16144
16145    pub fn clear_x(&mut self) {
16146        self.x = ::std::option::Option::None;
16147    }
16148
16149    pub fn has_x(&self) -> bool {
16150        self.x.is_some()
16151    }
16152
16153    // Param is passed by value, moved
16154    pub fn set_x(&mut self, v: u32) {
16155        self.x = ::std::option::Option::Some(v);
16156    }
16157
16158    // optional uint32 y = 3;
16159
16160    pub fn y(&self) -> u32 {
16161        self.y.unwrap_or(0)
16162    }
16163
16164    pub fn clear_y(&mut self) {
16165        self.y = ::std::option::Option::None;
16166    }
16167
16168    pub fn has_y(&self) -> bool {
16169        self.y.is_some()
16170    }
16171
16172    // Param is passed by value, moved
16173    pub fn set_y(&mut self, v: u32) {
16174        self.y = ::std::option::Option::Some(v);
16175    }
16176}
16177
16178impl ::steam_vent_proto_common::protobuf::Message for CMsgLinkAtPosition {
16179    const NAME: &'static str = "CMsgLinkAtPosition";
16180
16181    fn is_initialized(&self) -> bool {
16182        true
16183    }
16184
16185    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16186        while let Some(tag) = is.read_raw_tag_or_eof()? {
16187            match tag {
16188                8 => {
16189                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
16190                },
16191                16 => {
16192                    self.x = ::std::option::Option::Some(is.read_uint32()?);
16193                },
16194                24 => {
16195                    self.y = ::std::option::Option::Some(is.read_uint32()?);
16196                },
16197                tag => {
16198                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16199                },
16200            };
16201        }
16202        ::std::result::Result::Ok(())
16203    }
16204
16205    // Compute sizes of nested messages
16206    #[allow(unused_variables)]
16207    fn compute_size(&self) -> u64 {
16208        let mut my_size = 0;
16209        if let Some(v) = self.browser_handle {
16210            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
16211        }
16212        if let Some(v) = self.x {
16213            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
16214        }
16215        if let Some(v) = self.y {
16216            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
16217        }
16218        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16219        self.special_fields.cached_size().set(my_size as u32);
16220        my_size
16221    }
16222
16223    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16224        if let Some(v) = self.browser_handle {
16225            os.write_uint32(1, v)?;
16226        }
16227        if let Some(v) = self.x {
16228            os.write_uint32(2, v)?;
16229        }
16230        if let Some(v) = self.y {
16231            os.write_uint32(3, v)?;
16232        }
16233        os.write_unknown_fields(self.special_fields.unknown_fields())?;
16234        ::std::result::Result::Ok(())
16235    }
16236
16237    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16238        &self.special_fields
16239    }
16240
16241    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16242        &mut self.special_fields
16243    }
16244
16245    fn new() -> CMsgLinkAtPosition {
16246        CMsgLinkAtPosition::new()
16247    }
16248
16249    fn clear(&mut self) {
16250        self.browser_handle = ::std::option::Option::None;
16251        self.x = ::std::option::Option::None;
16252        self.y = ::std::option::Option::None;
16253        self.special_fields.clear();
16254    }
16255
16256    fn default_instance() -> &'static CMsgLinkAtPosition {
16257        static instance: CMsgLinkAtPosition = CMsgLinkAtPosition {
16258            browser_handle: ::std::option::Option::None,
16259            x: ::std::option::Option::None,
16260            y: ::std::option::Option::None,
16261            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16262        };
16263        &instance
16264    }
16265}
16266
16267// @@protoc_insertion_point(message:CMsgLinkAtPositionResponse)
16268#[derive(PartialEq,Clone,Default,Debug)]
16269pub struct CMsgLinkAtPositionResponse {
16270    // message fields
16271    // @@protoc_insertion_point(field:CMsgLinkAtPositionResponse.browser_handle)
16272    pub browser_handle: ::std::option::Option<u32>,
16273    // @@protoc_insertion_point(field:CMsgLinkAtPositionResponse.x)
16274    pub x: ::std::option::Option<u32>,
16275    // @@protoc_insertion_point(field:CMsgLinkAtPositionResponse.y)
16276    pub y: ::std::option::Option<u32>,
16277    // @@protoc_insertion_point(field:CMsgLinkAtPositionResponse.url)
16278    pub url: ::std::option::Option<::std::string::String>,
16279    // @@protoc_insertion_point(field:CMsgLinkAtPositionResponse.blivelink)
16280    pub blivelink: ::std::option::Option<bool>,
16281    // @@protoc_insertion_point(field:CMsgLinkAtPositionResponse.binput)
16282    pub binput: ::std::option::Option<bool>,
16283    // special fields
16284    // @@protoc_insertion_point(special_field:CMsgLinkAtPositionResponse.special_fields)
16285    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16286}
16287
16288impl<'a> ::std::default::Default for &'a CMsgLinkAtPositionResponse {
16289    fn default() -> &'a CMsgLinkAtPositionResponse {
16290        <CMsgLinkAtPositionResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16291    }
16292}
16293
16294impl CMsgLinkAtPositionResponse {
16295    pub fn new() -> CMsgLinkAtPositionResponse {
16296        ::std::default::Default::default()
16297    }
16298
16299    // optional uint32 browser_handle = 1;
16300
16301    pub fn browser_handle(&self) -> u32 {
16302        self.browser_handle.unwrap_or(0)
16303    }
16304
16305    pub fn clear_browser_handle(&mut self) {
16306        self.browser_handle = ::std::option::Option::None;
16307    }
16308
16309    pub fn has_browser_handle(&self) -> bool {
16310        self.browser_handle.is_some()
16311    }
16312
16313    // Param is passed by value, moved
16314    pub fn set_browser_handle(&mut self, v: u32) {
16315        self.browser_handle = ::std::option::Option::Some(v);
16316    }
16317
16318    // optional uint32 x = 2;
16319
16320    pub fn x(&self) -> u32 {
16321        self.x.unwrap_or(0)
16322    }
16323
16324    pub fn clear_x(&mut self) {
16325        self.x = ::std::option::Option::None;
16326    }
16327
16328    pub fn has_x(&self) -> bool {
16329        self.x.is_some()
16330    }
16331
16332    // Param is passed by value, moved
16333    pub fn set_x(&mut self, v: u32) {
16334        self.x = ::std::option::Option::Some(v);
16335    }
16336
16337    // optional uint32 y = 3;
16338
16339    pub fn y(&self) -> u32 {
16340        self.y.unwrap_or(0)
16341    }
16342
16343    pub fn clear_y(&mut self) {
16344        self.y = ::std::option::Option::None;
16345    }
16346
16347    pub fn has_y(&self) -> bool {
16348        self.y.is_some()
16349    }
16350
16351    // Param is passed by value, moved
16352    pub fn set_y(&mut self, v: u32) {
16353        self.y = ::std::option::Option::Some(v);
16354    }
16355
16356    // optional string url = 4;
16357
16358    pub fn url(&self) -> &str {
16359        match self.url.as_ref() {
16360            Some(v) => v,
16361            None => "",
16362        }
16363    }
16364
16365    pub fn clear_url(&mut self) {
16366        self.url = ::std::option::Option::None;
16367    }
16368
16369    pub fn has_url(&self) -> bool {
16370        self.url.is_some()
16371    }
16372
16373    // Param is passed by value, moved
16374    pub fn set_url(&mut self, v: ::std::string::String) {
16375        self.url = ::std::option::Option::Some(v);
16376    }
16377
16378    // Mutable pointer to the field.
16379    // If field is not initialized, it is initialized with default value first.
16380    pub fn mut_url(&mut self) -> &mut ::std::string::String {
16381        if self.url.is_none() {
16382            self.url = ::std::option::Option::Some(::std::string::String::new());
16383        }
16384        self.url.as_mut().unwrap()
16385    }
16386
16387    // Take field
16388    pub fn take_url(&mut self) -> ::std::string::String {
16389        self.url.take().unwrap_or_else(|| ::std::string::String::new())
16390    }
16391
16392    // optional bool blivelink = 5;
16393
16394    pub fn blivelink(&self) -> bool {
16395        self.blivelink.unwrap_or(false)
16396    }
16397
16398    pub fn clear_blivelink(&mut self) {
16399        self.blivelink = ::std::option::Option::None;
16400    }
16401
16402    pub fn has_blivelink(&self) -> bool {
16403        self.blivelink.is_some()
16404    }
16405
16406    // Param is passed by value, moved
16407    pub fn set_blivelink(&mut self, v: bool) {
16408        self.blivelink = ::std::option::Option::Some(v);
16409    }
16410
16411    // optional bool binput = 6;
16412
16413    pub fn binput(&self) -> bool {
16414        self.binput.unwrap_or(false)
16415    }
16416
16417    pub fn clear_binput(&mut self) {
16418        self.binput = ::std::option::Option::None;
16419    }
16420
16421    pub fn has_binput(&self) -> bool {
16422        self.binput.is_some()
16423    }
16424
16425    // Param is passed by value, moved
16426    pub fn set_binput(&mut self, v: bool) {
16427        self.binput = ::std::option::Option::Some(v);
16428    }
16429}
16430
16431impl ::steam_vent_proto_common::protobuf::Message for CMsgLinkAtPositionResponse {
16432    const NAME: &'static str = "CMsgLinkAtPositionResponse";
16433
16434    fn is_initialized(&self) -> bool {
16435        true
16436    }
16437
16438    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16439        while let Some(tag) = is.read_raw_tag_or_eof()? {
16440            match tag {
16441                8 => {
16442                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
16443                },
16444                16 => {
16445                    self.x = ::std::option::Option::Some(is.read_uint32()?);
16446                },
16447                24 => {
16448                    self.y = ::std::option::Option::Some(is.read_uint32()?);
16449                },
16450                34 => {
16451                    self.url = ::std::option::Option::Some(is.read_string()?);
16452                },
16453                40 => {
16454                    self.blivelink = ::std::option::Option::Some(is.read_bool()?);
16455                },
16456                48 => {
16457                    self.binput = ::std::option::Option::Some(is.read_bool()?);
16458                },
16459                tag => {
16460                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16461                },
16462            };
16463        }
16464        ::std::result::Result::Ok(())
16465    }
16466
16467    // Compute sizes of nested messages
16468    #[allow(unused_variables)]
16469    fn compute_size(&self) -> u64 {
16470        let mut my_size = 0;
16471        if let Some(v) = self.browser_handle {
16472            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
16473        }
16474        if let Some(v) = self.x {
16475            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
16476        }
16477        if let Some(v) = self.y {
16478            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
16479        }
16480        if let Some(v) = self.url.as_ref() {
16481            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
16482        }
16483        if let Some(v) = self.blivelink {
16484            my_size += 1 + 1;
16485        }
16486        if let Some(v) = self.binput {
16487            my_size += 1 + 1;
16488        }
16489        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16490        self.special_fields.cached_size().set(my_size as u32);
16491        my_size
16492    }
16493
16494    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16495        if let Some(v) = self.browser_handle {
16496            os.write_uint32(1, v)?;
16497        }
16498        if let Some(v) = self.x {
16499            os.write_uint32(2, v)?;
16500        }
16501        if let Some(v) = self.y {
16502            os.write_uint32(3, v)?;
16503        }
16504        if let Some(v) = self.url.as_ref() {
16505            os.write_string(4, v)?;
16506        }
16507        if let Some(v) = self.blivelink {
16508            os.write_bool(5, v)?;
16509        }
16510        if let Some(v) = self.binput {
16511            os.write_bool(6, v)?;
16512        }
16513        os.write_unknown_fields(self.special_fields.unknown_fields())?;
16514        ::std::result::Result::Ok(())
16515    }
16516
16517    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16518        &self.special_fields
16519    }
16520
16521    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16522        &mut self.special_fields
16523    }
16524
16525    fn new() -> CMsgLinkAtPositionResponse {
16526        CMsgLinkAtPositionResponse::new()
16527    }
16528
16529    fn clear(&mut self) {
16530        self.browser_handle = ::std::option::Option::None;
16531        self.x = ::std::option::Option::None;
16532        self.y = ::std::option::Option::None;
16533        self.url = ::std::option::Option::None;
16534        self.blivelink = ::std::option::Option::None;
16535        self.binput = ::std::option::Option::None;
16536        self.special_fields.clear();
16537    }
16538
16539    fn default_instance() -> &'static CMsgLinkAtPositionResponse {
16540        static instance: CMsgLinkAtPositionResponse = CMsgLinkAtPositionResponse {
16541            browser_handle: ::std::option::Option::None,
16542            x: ::std::option::Option::None,
16543            y: ::std::option::Option::None,
16544            url: ::std::option::Option::None,
16545            blivelink: ::std::option::Option::None,
16546            binput: ::std::option::Option::None,
16547            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16548        };
16549        &instance
16550    }
16551}
16552
16553// @@protoc_insertion_point(message:CMsgZoomToElementAtPosition)
16554#[derive(PartialEq,Clone,Default,Debug)]
16555pub struct CMsgZoomToElementAtPosition {
16556    // message fields
16557    // @@protoc_insertion_point(field:CMsgZoomToElementAtPosition.browser_handle)
16558    pub browser_handle: ::std::option::Option<u32>,
16559    // @@protoc_insertion_point(field:CMsgZoomToElementAtPosition.x)
16560    pub x: ::std::option::Option<u32>,
16561    // @@protoc_insertion_point(field:CMsgZoomToElementAtPosition.y)
16562    pub y: ::std::option::Option<u32>,
16563    // special fields
16564    // @@protoc_insertion_point(special_field:CMsgZoomToElementAtPosition.special_fields)
16565    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16566}
16567
16568impl<'a> ::std::default::Default for &'a CMsgZoomToElementAtPosition {
16569    fn default() -> &'a CMsgZoomToElementAtPosition {
16570        <CMsgZoomToElementAtPosition as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16571    }
16572}
16573
16574impl CMsgZoomToElementAtPosition {
16575    pub fn new() -> CMsgZoomToElementAtPosition {
16576        ::std::default::Default::default()
16577    }
16578
16579    // optional uint32 browser_handle = 1;
16580
16581    pub fn browser_handle(&self) -> u32 {
16582        self.browser_handle.unwrap_or(0)
16583    }
16584
16585    pub fn clear_browser_handle(&mut self) {
16586        self.browser_handle = ::std::option::Option::None;
16587    }
16588
16589    pub fn has_browser_handle(&self) -> bool {
16590        self.browser_handle.is_some()
16591    }
16592
16593    // Param is passed by value, moved
16594    pub fn set_browser_handle(&mut self, v: u32) {
16595        self.browser_handle = ::std::option::Option::Some(v);
16596    }
16597
16598    // optional uint32 x = 2;
16599
16600    pub fn x(&self) -> u32 {
16601        self.x.unwrap_or(0)
16602    }
16603
16604    pub fn clear_x(&mut self) {
16605        self.x = ::std::option::Option::None;
16606    }
16607
16608    pub fn has_x(&self) -> bool {
16609        self.x.is_some()
16610    }
16611
16612    // Param is passed by value, moved
16613    pub fn set_x(&mut self, v: u32) {
16614        self.x = ::std::option::Option::Some(v);
16615    }
16616
16617    // optional uint32 y = 3;
16618
16619    pub fn y(&self) -> u32 {
16620        self.y.unwrap_or(0)
16621    }
16622
16623    pub fn clear_y(&mut self) {
16624        self.y = ::std::option::Option::None;
16625    }
16626
16627    pub fn has_y(&self) -> bool {
16628        self.y.is_some()
16629    }
16630
16631    // Param is passed by value, moved
16632    pub fn set_y(&mut self, v: u32) {
16633        self.y = ::std::option::Option::Some(v);
16634    }
16635}
16636
16637impl ::steam_vent_proto_common::protobuf::Message for CMsgZoomToElementAtPosition {
16638    const NAME: &'static str = "CMsgZoomToElementAtPosition";
16639
16640    fn is_initialized(&self) -> bool {
16641        true
16642    }
16643
16644    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16645        while let Some(tag) = is.read_raw_tag_or_eof()? {
16646            match tag {
16647                8 => {
16648                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
16649                },
16650                16 => {
16651                    self.x = ::std::option::Option::Some(is.read_uint32()?);
16652                },
16653                24 => {
16654                    self.y = ::std::option::Option::Some(is.read_uint32()?);
16655                },
16656                tag => {
16657                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16658                },
16659            };
16660        }
16661        ::std::result::Result::Ok(())
16662    }
16663
16664    // Compute sizes of nested messages
16665    #[allow(unused_variables)]
16666    fn compute_size(&self) -> u64 {
16667        let mut my_size = 0;
16668        if let Some(v) = self.browser_handle {
16669            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
16670        }
16671        if let Some(v) = self.x {
16672            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
16673        }
16674        if let Some(v) = self.y {
16675            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
16676        }
16677        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16678        self.special_fields.cached_size().set(my_size as u32);
16679        my_size
16680    }
16681
16682    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16683        if let Some(v) = self.browser_handle {
16684            os.write_uint32(1, v)?;
16685        }
16686        if let Some(v) = self.x {
16687            os.write_uint32(2, v)?;
16688        }
16689        if let Some(v) = self.y {
16690            os.write_uint32(3, v)?;
16691        }
16692        os.write_unknown_fields(self.special_fields.unknown_fields())?;
16693        ::std::result::Result::Ok(())
16694    }
16695
16696    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16697        &self.special_fields
16698    }
16699
16700    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16701        &mut self.special_fields
16702    }
16703
16704    fn new() -> CMsgZoomToElementAtPosition {
16705        CMsgZoomToElementAtPosition::new()
16706    }
16707
16708    fn clear(&mut self) {
16709        self.browser_handle = ::std::option::Option::None;
16710        self.x = ::std::option::Option::None;
16711        self.y = ::std::option::Option::None;
16712        self.special_fields.clear();
16713    }
16714
16715    fn default_instance() -> &'static CMsgZoomToElementAtPosition {
16716        static instance: CMsgZoomToElementAtPosition = CMsgZoomToElementAtPosition {
16717            browser_handle: ::std::option::Option::None,
16718            x: ::std::option::Option::None,
16719            y: ::std::option::Option::None,
16720            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16721        };
16722        &instance
16723    }
16724}
16725
16726// @@protoc_insertion_point(message:CMsgZoomToElementAtPositionResponse)
16727#[derive(PartialEq,Clone,Default,Debug)]
16728pub struct CMsgZoomToElementAtPositionResponse {
16729    // message fields
16730    // @@protoc_insertion_point(field:CMsgZoomToElementAtPositionResponse.browser_handle)
16731    pub browser_handle: ::std::option::Option<u32>,
16732    // @@protoc_insertion_point(field:CMsgZoomToElementAtPositionResponse.scale)
16733    pub scale: ::std::option::Option<f32>,
16734    // @@protoc_insertion_point(field:CMsgZoomToElementAtPositionResponse.duration)
16735    pub duration: ::std::option::Option<f32>,
16736    // special fields
16737    // @@protoc_insertion_point(special_field:CMsgZoomToElementAtPositionResponse.special_fields)
16738    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16739}
16740
16741impl<'a> ::std::default::Default for &'a CMsgZoomToElementAtPositionResponse {
16742    fn default() -> &'a CMsgZoomToElementAtPositionResponse {
16743        <CMsgZoomToElementAtPositionResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16744    }
16745}
16746
16747impl CMsgZoomToElementAtPositionResponse {
16748    pub fn new() -> CMsgZoomToElementAtPositionResponse {
16749        ::std::default::Default::default()
16750    }
16751
16752    // optional uint32 browser_handle = 1;
16753
16754    pub fn browser_handle(&self) -> u32 {
16755        self.browser_handle.unwrap_or(0)
16756    }
16757
16758    pub fn clear_browser_handle(&mut self) {
16759        self.browser_handle = ::std::option::Option::None;
16760    }
16761
16762    pub fn has_browser_handle(&self) -> bool {
16763        self.browser_handle.is_some()
16764    }
16765
16766    // Param is passed by value, moved
16767    pub fn set_browser_handle(&mut self, v: u32) {
16768        self.browser_handle = ::std::option::Option::Some(v);
16769    }
16770
16771    // optional float scale = 2;
16772
16773    pub fn scale(&self) -> f32 {
16774        self.scale.unwrap_or(0.)
16775    }
16776
16777    pub fn clear_scale(&mut self) {
16778        self.scale = ::std::option::Option::None;
16779    }
16780
16781    pub fn has_scale(&self) -> bool {
16782        self.scale.is_some()
16783    }
16784
16785    // Param is passed by value, moved
16786    pub fn set_scale(&mut self, v: f32) {
16787        self.scale = ::std::option::Option::Some(v);
16788    }
16789
16790    // optional float duration = 3;
16791
16792    pub fn duration(&self) -> f32 {
16793        self.duration.unwrap_or(0.)
16794    }
16795
16796    pub fn clear_duration(&mut self) {
16797        self.duration = ::std::option::Option::None;
16798    }
16799
16800    pub fn has_duration(&self) -> bool {
16801        self.duration.is_some()
16802    }
16803
16804    // Param is passed by value, moved
16805    pub fn set_duration(&mut self, v: f32) {
16806        self.duration = ::std::option::Option::Some(v);
16807    }
16808}
16809
16810impl ::steam_vent_proto_common::protobuf::Message for CMsgZoomToElementAtPositionResponse {
16811    const NAME: &'static str = "CMsgZoomToElementAtPositionResponse";
16812
16813    fn is_initialized(&self) -> bool {
16814        true
16815    }
16816
16817    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16818        while let Some(tag) = is.read_raw_tag_or_eof()? {
16819            match tag {
16820                8 => {
16821                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
16822                },
16823                21 => {
16824                    self.scale = ::std::option::Option::Some(is.read_float()?);
16825                },
16826                29 => {
16827                    self.duration = ::std::option::Option::Some(is.read_float()?);
16828                },
16829                tag => {
16830                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16831                },
16832            };
16833        }
16834        ::std::result::Result::Ok(())
16835    }
16836
16837    // Compute sizes of nested messages
16838    #[allow(unused_variables)]
16839    fn compute_size(&self) -> u64 {
16840        let mut my_size = 0;
16841        if let Some(v) = self.browser_handle {
16842            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
16843        }
16844        if let Some(v) = self.scale {
16845            my_size += 1 + 4;
16846        }
16847        if let Some(v) = self.duration {
16848            my_size += 1 + 4;
16849        }
16850        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16851        self.special_fields.cached_size().set(my_size as u32);
16852        my_size
16853    }
16854
16855    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16856        if let Some(v) = self.browser_handle {
16857            os.write_uint32(1, v)?;
16858        }
16859        if let Some(v) = self.scale {
16860            os.write_float(2, v)?;
16861        }
16862        if let Some(v) = self.duration {
16863            os.write_float(3, v)?;
16864        }
16865        os.write_unknown_fields(self.special_fields.unknown_fields())?;
16866        ::std::result::Result::Ok(())
16867    }
16868
16869    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16870        &self.special_fields
16871    }
16872
16873    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16874        &mut self.special_fields
16875    }
16876
16877    fn new() -> CMsgZoomToElementAtPositionResponse {
16878        CMsgZoomToElementAtPositionResponse::new()
16879    }
16880
16881    fn clear(&mut self) {
16882        self.browser_handle = ::std::option::Option::None;
16883        self.scale = ::std::option::Option::None;
16884        self.duration = ::std::option::Option::None;
16885        self.special_fields.clear();
16886    }
16887
16888    fn default_instance() -> &'static CMsgZoomToElementAtPositionResponse {
16889        static instance: CMsgZoomToElementAtPositionResponse = CMsgZoomToElementAtPositionResponse {
16890            browser_handle: ::std::option::Option::None,
16891            scale: ::std::option::Option::None,
16892            duration: ::std::option::Option::None,
16893            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16894        };
16895        &instance
16896    }
16897}
16898
16899// @@protoc_insertion_point(message:CMsgScalePageToValue)
16900#[derive(PartialEq,Clone,Default,Debug)]
16901pub struct CMsgScalePageToValue {
16902    // message fields
16903    // @@protoc_insertion_point(field:CMsgScalePageToValue.browser_handle)
16904    pub browser_handle: ::std::option::Option<u32>,
16905    // @@protoc_insertion_point(field:CMsgScalePageToValue.scale)
16906    pub scale: ::std::option::Option<f32>,
16907    // @@protoc_insertion_point(field:CMsgScalePageToValue.x)
16908    pub x: ::std::option::Option<f32>,
16909    // @@protoc_insertion_point(field:CMsgScalePageToValue.y)
16910    pub y: ::std::option::Option<f32>,
16911    // special fields
16912    // @@protoc_insertion_point(special_field:CMsgScalePageToValue.special_fields)
16913    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16914}
16915
16916impl<'a> ::std::default::Default for &'a CMsgScalePageToValue {
16917    fn default() -> &'a CMsgScalePageToValue {
16918        <CMsgScalePageToValue as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16919    }
16920}
16921
16922impl CMsgScalePageToValue {
16923    pub fn new() -> CMsgScalePageToValue {
16924        ::std::default::Default::default()
16925    }
16926
16927    // optional uint32 browser_handle = 1;
16928
16929    pub fn browser_handle(&self) -> u32 {
16930        self.browser_handle.unwrap_or(0)
16931    }
16932
16933    pub fn clear_browser_handle(&mut self) {
16934        self.browser_handle = ::std::option::Option::None;
16935    }
16936
16937    pub fn has_browser_handle(&self) -> bool {
16938        self.browser_handle.is_some()
16939    }
16940
16941    // Param is passed by value, moved
16942    pub fn set_browser_handle(&mut self, v: u32) {
16943        self.browser_handle = ::std::option::Option::Some(v);
16944    }
16945
16946    // optional float scale = 2;
16947
16948    pub fn scale(&self) -> f32 {
16949        self.scale.unwrap_or(0.)
16950    }
16951
16952    pub fn clear_scale(&mut self) {
16953        self.scale = ::std::option::Option::None;
16954    }
16955
16956    pub fn has_scale(&self) -> bool {
16957        self.scale.is_some()
16958    }
16959
16960    // Param is passed by value, moved
16961    pub fn set_scale(&mut self, v: f32) {
16962        self.scale = ::std::option::Option::Some(v);
16963    }
16964
16965    // optional float x = 3;
16966
16967    pub fn x(&self) -> f32 {
16968        self.x.unwrap_or(0.)
16969    }
16970
16971    pub fn clear_x(&mut self) {
16972        self.x = ::std::option::Option::None;
16973    }
16974
16975    pub fn has_x(&self) -> bool {
16976        self.x.is_some()
16977    }
16978
16979    // Param is passed by value, moved
16980    pub fn set_x(&mut self, v: f32) {
16981        self.x = ::std::option::Option::Some(v);
16982    }
16983
16984    // optional float y = 4;
16985
16986    pub fn y(&self) -> f32 {
16987        self.y.unwrap_or(0.)
16988    }
16989
16990    pub fn clear_y(&mut self) {
16991        self.y = ::std::option::Option::None;
16992    }
16993
16994    pub fn has_y(&self) -> bool {
16995        self.y.is_some()
16996    }
16997
16998    // Param is passed by value, moved
16999    pub fn set_y(&mut self, v: f32) {
17000        self.y = ::std::option::Option::Some(v);
17001    }
17002}
17003
17004impl ::steam_vent_proto_common::protobuf::Message for CMsgScalePageToValue {
17005    const NAME: &'static str = "CMsgScalePageToValue";
17006
17007    fn is_initialized(&self) -> bool {
17008        true
17009    }
17010
17011    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17012        while let Some(tag) = is.read_raw_tag_or_eof()? {
17013            match tag {
17014                8 => {
17015                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
17016                },
17017                21 => {
17018                    self.scale = ::std::option::Option::Some(is.read_float()?);
17019                },
17020                29 => {
17021                    self.x = ::std::option::Option::Some(is.read_float()?);
17022                },
17023                37 => {
17024                    self.y = ::std::option::Option::Some(is.read_float()?);
17025                },
17026                tag => {
17027                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17028                },
17029            };
17030        }
17031        ::std::result::Result::Ok(())
17032    }
17033
17034    // Compute sizes of nested messages
17035    #[allow(unused_variables)]
17036    fn compute_size(&self) -> u64 {
17037        let mut my_size = 0;
17038        if let Some(v) = self.browser_handle {
17039            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
17040        }
17041        if let Some(v) = self.scale {
17042            my_size += 1 + 4;
17043        }
17044        if let Some(v) = self.x {
17045            my_size += 1 + 4;
17046        }
17047        if let Some(v) = self.y {
17048            my_size += 1 + 4;
17049        }
17050        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17051        self.special_fields.cached_size().set(my_size as u32);
17052        my_size
17053    }
17054
17055    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17056        if let Some(v) = self.browser_handle {
17057            os.write_uint32(1, v)?;
17058        }
17059        if let Some(v) = self.scale {
17060            os.write_float(2, v)?;
17061        }
17062        if let Some(v) = self.x {
17063            os.write_float(3, v)?;
17064        }
17065        if let Some(v) = self.y {
17066            os.write_float(4, v)?;
17067        }
17068        os.write_unknown_fields(self.special_fields.unknown_fields())?;
17069        ::std::result::Result::Ok(())
17070    }
17071
17072    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17073        &self.special_fields
17074    }
17075
17076    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17077        &mut self.special_fields
17078    }
17079
17080    fn new() -> CMsgScalePageToValue {
17081        CMsgScalePageToValue::new()
17082    }
17083
17084    fn clear(&mut self) {
17085        self.browser_handle = ::std::option::Option::None;
17086        self.scale = ::std::option::Option::None;
17087        self.x = ::std::option::Option::None;
17088        self.y = ::std::option::Option::None;
17089        self.special_fields.clear();
17090    }
17091
17092    fn default_instance() -> &'static CMsgScalePageToValue {
17093        static instance: CMsgScalePageToValue = CMsgScalePageToValue {
17094            browser_handle: ::std::option::Option::None,
17095            scale: ::std::option::Option::None,
17096            x: ::std::option::Option::None,
17097            y: ::std::option::Option::None,
17098            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
17099        };
17100        &instance
17101    }
17102}
17103
17104// @@protoc_insertion_point(message:CMsgForcePopupsToDirectHWND)
17105#[derive(PartialEq,Clone,Default,Debug)]
17106pub struct CMsgForcePopupsToDirectHWND {
17107    // message fields
17108    // @@protoc_insertion_point(field:CMsgForcePopupsToDirectHWND.browser_handle)
17109    pub browser_handle: ::std::option::Option<u32>,
17110    // @@protoc_insertion_point(field:CMsgForcePopupsToDirectHWND.force_direct_hwnd_popups)
17111    pub force_direct_hwnd_popups: ::std::option::Option<bool>,
17112    // special fields
17113    // @@protoc_insertion_point(special_field:CMsgForcePopupsToDirectHWND.special_fields)
17114    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
17115}
17116
17117impl<'a> ::std::default::Default for &'a CMsgForcePopupsToDirectHWND {
17118    fn default() -> &'a CMsgForcePopupsToDirectHWND {
17119        <CMsgForcePopupsToDirectHWND as ::steam_vent_proto_common::protobuf::Message>::default_instance()
17120    }
17121}
17122
17123impl CMsgForcePopupsToDirectHWND {
17124    pub fn new() -> CMsgForcePopupsToDirectHWND {
17125        ::std::default::Default::default()
17126    }
17127
17128    // optional uint32 browser_handle = 1;
17129
17130    pub fn browser_handle(&self) -> u32 {
17131        self.browser_handle.unwrap_or(0)
17132    }
17133
17134    pub fn clear_browser_handle(&mut self) {
17135        self.browser_handle = ::std::option::Option::None;
17136    }
17137
17138    pub fn has_browser_handle(&self) -> bool {
17139        self.browser_handle.is_some()
17140    }
17141
17142    // Param is passed by value, moved
17143    pub fn set_browser_handle(&mut self, v: u32) {
17144        self.browser_handle = ::std::option::Option::Some(v);
17145    }
17146
17147    // optional bool force_direct_hwnd_popups = 2;
17148
17149    pub fn force_direct_hwnd_popups(&self) -> bool {
17150        self.force_direct_hwnd_popups.unwrap_or(false)
17151    }
17152
17153    pub fn clear_force_direct_hwnd_popups(&mut self) {
17154        self.force_direct_hwnd_popups = ::std::option::Option::None;
17155    }
17156
17157    pub fn has_force_direct_hwnd_popups(&self) -> bool {
17158        self.force_direct_hwnd_popups.is_some()
17159    }
17160
17161    // Param is passed by value, moved
17162    pub fn set_force_direct_hwnd_popups(&mut self, v: bool) {
17163        self.force_direct_hwnd_popups = ::std::option::Option::Some(v);
17164    }
17165}
17166
17167impl ::steam_vent_proto_common::protobuf::Message for CMsgForcePopupsToDirectHWND {
17168    const NAME: &'static str = "CMsgForcePopupsToDirectHWND";
17169
17170    fn is_initialized(&self) -> bool {
17171        true
17172    }
17173
17174    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17175        while let Some(tag) = is.read_raw_tag_or_eof()? {
17176            match tag {
17177                8 => {
17178                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
17179                },
17180                16 => {
17181                    self.force_direct_hwnd_popups = ::std::option::Option::Some(is.read_bool()?);
17182                },
17183                tag => {
17184                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17185                },
17186            };
17187        }
17188        ::std::result::Result::Ok(())
17189    }
17190
17191    // Compute sizes of nested messages
17192    #[allow(unused_variables)]
17193    fn compute_size(&self) -> u64 {
17194        let mut my_size = 0;
17195        if let Some(v) = self.browser_handle {
17196            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
17197        }
17198        if let Some(v) = self.force_direct_hwnd_popups {
17199            my_size += 1 + 1;
17200        }
17201        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17202        self.special_fields.cached_size().set(my_size as u32);
17203        my_size
17204    }
17205
17206    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17207        if let Some(v) = self.browser_handle {
17208            os.write_uint32(1, v)?;
17209        }
17210        if let Some(v) = self.force_direct_hwnd_popups {
17211            os.write_bool(2, v)?;
17212        }
17213        os.write_unknown_fields(self.special_fields.unknown_fields())?;
17214        ::std::result::Result::Ok(())
17215    }
17216
17217    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17218        &self.special_fields
17219    }
17220
17221    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17222        &mut self.special_fields
17223    }
17224
17225    fn new() -> CMsgForcePopupsToDirectHWND {
17226        CMsgForcePopupsToDirectHWND::new()
17227    }
17228
17229    fn clear(&mut self) {
17230        self.browser_handle = ::std::option::Option::None;
17231        self.force_direct_hwnd_popups = ::std::option::Option::None;
17232        self.special_fields.clear();
17233    }
17234
17235    fn default_instance() -> &'static CMsgForcePopupsToDirectHWND {
17236        static instance: CMsgForcePopupsToDirectHWND = CMsgForcePopupsToDirectHWND {
17237            browser_handle: ::std::option::Option::None,
17238            force_direct_hwnd_popups: ::std::option::Option::None,
17239            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
17240        };
17241        &instance
17242    }
17243}
17244
17245// @@protoc_insertion_point(message:CMsgScalePageToValueResponse)
17246#[derive(PartialEq,Clone,Default,Debug)]
17247pub struct CMsgScalePageToValueResponse {
17248    // message fields
17249    // @@protoc_insertion_point(field:CMsgScalePageToValueResponse.browser_handle)
17250    pub browser_handle: ::std::option::Option<u32>,
17251    // @@protoc_insertion_point(field:CMsgScalePageToValueResponse.zoom)
17252    pub zoom: ::std::option::Option<f32>,
17253    // special fields
17254    // @@protoc_insertion_point(special_field:CMsgScalePageToValueResponse.special_fields)
17255    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
17256}
17257
17258impl<'a> ::std::default::Default for &'a CMsgScalePageToValueResponse {
17259    fn default() -> &'a CMsgScalePageToValueResponse {
17260        <CMsgScalePageToValueResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
17261    }
17262}
17263
17264impl CMsgScalePageToValueResponse {
17265    pub fn new() -> CMsgScalePageToValueResponse {
17266        ::std::default::Default::default()
17267    }
17268
17269    // optional uint32 browser_handle = 1;
17270
17271    pub fn browser_handle(&self) -> u32 {
17272        self.browser_handle.unwrap_or(0)
17273    }
17274
17275    pub fn clear_browser_handle(&mut self) {
17276        self.browser_handle = ::std::option::Option::None;
17277    }
17278
17279    pub fn has_browser_handle(&self) -> bool {
17280        self.browser_handle.is_some()
17281    }
17282
17283    // Param is passed by value, moved
17284    pub fn set_browser_handle(&mut self, v: u32) {
17285        self.browser_handle = ::std::option::Option::Some(v);
17286    }
17287
17288    // optional float zoom = 2;
17289
17290    pub fn zoom(&self) -> f32 {
17291        self.zoom.unwrap_or(0.)
17292    }
17293
17294    pub fn clear_zoom(&mut self) {
17295        self.zoom = ::std::option::Option::None;
17296    }
17297
17298    pub fn has_zoom(&self) -> bool {
17299        self.zoom.is_some()
17300    }
17301
17302    // Param is passed by value, moved
17303    pub fn set_zoom(&mut self, v: f32) {
17304        self.zoom = ::std::option::Option::Some(v);
17305    }
17306}
17307
17308impl ::steam_vent_proto_common::protobuf::Message for CMsgScalePageToValueResponse {
17309    const NAME: &'static str = "CMsgScalePageToValueResponse";
17310
17311    fn is_initialized(&self) -> bool {
17312        true
17313    }
17314
17315    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17316        while let Some(tag) = is.read_raw_tag_or_eof()? {
17317            match tag {
17318                8 => {
17319                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
17320                },
17321                21 => {
17322                    self.zoom = ::std::option::Option::Some(is.read_float()?);
17323                },
17324                tag => {
17325                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17326                },
17327            };
17328        }
17329        ::std::result::Result::Ok(())
17330    }
17331
17332    // Compute sizes of nested messages
17333    #[allow(unused_variables)]
17334    fn compute_size(&self) -> u64 {
17335        let mut my_size = 0;
17336        if let Some(v) = self.browser_handle {
17337            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
17338        }
17339        if let Some(v) = self.zoom {
17340            my_size += 1 + 4;
17341        }
17342        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17343        self.special_fields.cached_size().set(my_size as u32);
17344        my_size
17345    }
17346
17347    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17348        if let Some(v) = self.browser_handle {
17349            os.write_uint32(1, v)?;
17350        }
17351        if let Some(v) = self.zoom {
17352            os.write_float(2, v)?;
17353        }
17354        os.write_unknown_fields(self.special_fields.unknown_fields())?;
17355        ::std::result::Result::Ok(())
17356    }
17357
17358    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17359        &self.special_fields
17360    }
17361
17362    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17363        &mut self.special_fields
17364    }
17365
17366    fn new() -> CMsgScalePageToValueResponse {
17367        CMsgScalePageToValueResponse::new()
17368    }
17369
17370    fn clear(&mut self) {
17371        self.browser_handle = ::std::option::Option::None;
17372        self.zoom = ::std::option::Option::None;
17373        self.special_fields.clear();
17374    }
17375
17376    fn default_instance() -> &'static CMsgScalePageToValueResponse {
17377        static instance: CMsgScalePageToValueResponse = CMsgScalePageToValueResponse {
17378            browser_handle: ::std::option::Option::None,
17379            zoom: ::std::option::Option::None,
17380            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
17381        };
17382        &instance
17383    }
17384}
17385
17386// @@protoc_insertion_point(message:CMsgSavePageToJPEG)
17387#[derive(PartialEq,Clone,Default,Debug)]
17388pub struct CMsgSavePageToJPEG {
17389    // message fields
17390    // @@protoc_insertion_point(field:CMsgSavePageToJPEG.browser_handle)
17391    pub browser_handle: ::std::option::Option<u32>,
17392    // @@protoc_insertion_point(field:CMsgSavePageToJPEG.url)
17393    pub url: ::std::option::Option<::std::string::String>,
17394    // @@protoc_insertion_point(field:CMsgSavePageToJPEG.filename)
17395    pub filename: ::std::option::Option<::std::string::String>,
17396    // @@protoc_insertion_point(field:CMsgSavePageToJPEG.width)
17397    pub width: ::std::option::Option<u32>,
17398    // @@protoc_insertion_point(field:CMsgSavePageToJPEG.height)
17399    pub height: ::std::option::Option<u32>,
17400    // special fields
17401    // @@protoc_insertion_point(special_field:CMsgSavePageToJPEG.special_fields)
17402    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
17403}
17404
17405impl<'a> ::std::default::Default for &'a CMsgSavePageToJPEG {
17406    fn default() -> &'a CMsgSavePageToJPEG {
17407        <CMsgSavePageToJPEG as ::steam_vent_proto_common::protobuf::Message>::default_instance()
17408    }
17409}
17410
17411impl CMsgSavePageToJPEG {
17412    pub fn new() -> CMsgSavePageToJPEG {
17413        ::std::default::Default::default()
17414    }
17415
17416    // optional uint32 browser_handle = 1;
17417
17418    pub fn browser_handle(&self) -> u32 {
17419        self.browser_handle.unwrap_or(0)
17420    }
17421
17422    pub fn clear_browser_handle(&mut self) {
17423        self.browser_handle = ::std::option::Option::None;
17424    }
17425
17426    pub fn has_browser_handle(&self) -> bool {
17427        self.browser_handle.is_some()
17428    }
17429
17430    // Param is passed by value, moved
17431    pub fn set_browser_handle(&mut self, v: u32) {
17432        self.browser_handle = ::std::option::Option::Some(v);
17433    }
17434
17435    // optional string url = 2;
17436
17437    pub fn url(&self) -> &str {
17438        match self.url.as_ref() {
17439            Some(v) => v,
17440            None => "",
17441        }
17442    }
17443
17444    pub fn clear_url(&mut self) {
17445        self.url = ::std::option::Option::None;
17446    }
17447
17448    pub fn has_url(&self) -> bool {
17449        self.url.is_some()
17450    }
17451
17452    // Param is passed by value, moved
17453    pub fn set_url(&mut self, v: ::std::string::String) {
17454        self.url = ::std::option::Option::Some(v);
17455    }
17456
17457    // Mutable pointer to the field.
17458    // If field is not initialized, it is initialized with default value first.
17459    pub fn mut_url(&mut self) -> &mut ::std::string::String {
17460        if self.url.is_none() {
17461            self.url = ::std::option::Option::Some(::std::string::String::new());
17462        }
17463        self.url.as_mut().unwrap()
17464    }
17465
17466    // Take field
17467    pub fn take_url(&mut self) -> ::std::string::String {
17468        self.url.take().unwrap_or_else(|| ::std::string::String::new())
17469    }
17470
17471    // optional string filename = 3;
17472
17473    pub fn filename(&self) -> &str {
17474        match self.filename.as_ref() {
17475            Some(v) => v,
17476            None => "",
17477        }
17478    }
17479
17480    pub fn clear_filename(&mut self) {
17481        self.filename = ::std::option::Option::None;
17482    }
17483
17484    pub fn has_filename(&self) -> bool {
17485        self.filename.is_some()
17486    }
17487
17488    // Param is passed by value, moved
17489    pub fn set_filename(&mut self, v: ::std::string::String) {
17490        self.filename = ::std::option::Option::Some(v);
17491    }
17492
17493    // Mutable pointer to the field.
17494    // If field is not initialized, it is initialized with default value first.
17495    pub fn mut_filename(&mut self) -> &mut ::std::string::String {
17496        if self.filename.is_none() {
17497            self.filename = ::std::option::Option::Some(::std::string::String::new());
17498        }
17499        self.filename.as_mut().unwrap()
17500    }
17501
17502    // Take field
17503    pub fn take_filename(&mut self) -> ::std::string::String {
17504        self.filename.take().unwrap_or_else(|| ::std::string::String::new())
17505    }
17506
17507    // optional uint32 width = 4;
17508
17509    pub fn width(&self) -> u32 {
17510        self.width.unwrap_or(0)
17511    }
17512
17513    pub fn clear_width(&mut self) {
17514        self.width = ::std::option::Option::None;
17515    }
17516
17517    pub fn has_width(&self) -> bool {
17518        self.width.is_some()
17519    }
17520
17521    // Param is passed by value, moved
17522    pub fn set_width(&mut self, v: u32) {
17523        self.width = ::std::option::Option::Some(v);
17524    }
17525
17526    // optional uint32 height = 5;
17527
17528    pub fn height(&self) -> u32 {
17529        self.height.unwrap_or(0)
17530    }
17531
17532    pub fn clear_height(&mut self) {
17533        self.height = ::std::option::Option::None;
17534    }
17535
17536    pub fn has_height(&self) -> bool {
17537        self.height.is_some()
17538    }
17539
17540    // Param is passed by value, moved
17541    pub fn set_height(&mut self, v: u32) {
17542        self.height = ::std::option::Option::Some(v);
17543    }
17544}
17545
17546impl ::steam_vent_proto_common::protobuf::Message for CMsgSavePageToJPEG {
17547    const NAME: &'static str = "CMsgSavePageToJPEG";
17548
17549    fn is_initialized(&self) -> bool {
17550        true
17551    }
17552
17553    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17554        while let Some(tag) = is.read_raw_tag_or_eof()? {
17555            match tag {
17556                8 => {
17557                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
17558                },
17559                18 => {
17560                    self.url = ::std::option::Option::Some(is.read_string()?);
17561                },
17562                26 => {
17563                    self.filename = ::std::option::Option::Some(is.read_string()?);
17564                },
17565                32 => {
17566                    self.width = ::std::option::Option::Some(is.read_uint32()?);
17567                },
17568                40 => {
17569                    self.height = ::std::option::Option::Some(is.read_uint32()?);
17570                },
17571                tag => {
17572                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17573                },
17574            };
17575        }
17576        ::std::result::Result::Ok(())
17577    }
17578
17579    // Compute sizes of nested messages
17580    #[allow(unused_variables)]
17581    fn compute_size(&self) -> u64 {
17582        let mut my_size = 0;
17583        if let Some(v) = self.browser_handle {
17584            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
17585        }
17586        if let Some(v) = self.url.as_ref() {
17587            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
17588        }
17589        if let Some(v) = self.filename.as_ref() {
17590            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
17591        }
17592        if let Some(v) = self.width {
17593            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
17594        }
17595        if let Some(v) = self.height {
17596            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
17597        }
17598        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17599        self.special_fields.cached_size().set(my_size as u32);
17600        my_size
17601    }
17602
17603    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17604        if let Some(v) = self.browser_handle {
17605            os.write_uint32(1, v)?;
17606        }
17607        if let Some(v) = self.url.as_ref() {
17608            os.write_string(2, v)?;
17609        }
17610        if let Some(v) = self.filename.as_ref() {
17611            os.write_string(3, v)?;
17612        }
17613        if let Some(v) = self.width {
17614            os.write_uint32(4, v)?;
17615        }
17616        if let Some(v) = self.height {
17617            os.write_uint32(5, v)?;
17618        }
17619        os.write_unknown_fields(self.special_fields.unknown_fields())?;
17620        ::std::result::Result::Ok(())
17621    }
17622
17623    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17624        &self.special_fields
17625    }
17626
17627    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17628        &mut self.special_fields
17629    }
17630
17631    fn new() -> CMsgSavePageToJPEG {
17632        CMsgSavePageToJPEG::new()
17633    }
17634
17635    fn clear(&mut self) {
17636        self.browser_handle = ::std::option::Option::None;
17637        self.url = ::std::option::Option::None;
17638        self.filename = ::std::option::Option::None;
17639        self.width = ::std::option::Option::None;
17640        self.height = ::std::option::Option::None;
17641        self.special_fields.clear();
17642    }
17643
17644    fn default_instance() -> &'static CMsgSavePageToJPEG {
17645        static instance: CMsgSavePageToJPEG = CMsgSavePageToJPEG {
17646            browser_handle: ::std::option::Option::None,
17647            url: ::std::option::Option::None,
17648            filename: ::std::option::Option::None,
17649            width: ::std::option::Option::None,
17650            height: ::std::option::Option::None,
17651            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
17652        };
17653        &instance
17654    }
17655}
17656
17657// @@protoc_insertion_point(message:CMsgSavePageToJPEGResponse)
17658#[derive(PartialEq,Clone,Default,Debug)]
17659pub struct CMsgSavePageToJPEGResponse {
17660    // message fields
17661    // @@protoc_insertion_point(field:CMsgSavePageToJPEGResponse.browser_handle)
17662    pub browser_handle: ::std::option::Option<u32>,
17663    // @@protoc_insertion_point(field:CMsgSavePageToJPEGResponse.url)
17664    pub url: ::std::option::Option<::std::string::String>,
17665    // @@protoc_insertion_point(field:CMsgSavePageToJPEGResponse.filename)
17666    pub filename: ::std::option::Option<::std::string::String>,
17667    // special fields
17668    // @@protoc_insertion_point(special_field:CMsgSavePageToJPEGResponse.special_fields)
17669    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
17670}
17671
17672impl<'a> ::std::default::Default for &'a CMsgSavePageToJPEGResponse {
17673    fn default() -> &'a CMsgSavePageToJPEGResponse {
17674        <CMsgSavePageToJPEGResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
17675    }
17676}
17677
17678impl CMsgSavePageToJPEGResponse {
17679    pub fn new() -> CMsgSavePageToJPEGResponse {
17680        ::std::default::Default::default()
17681    }
17682
17683    // optional uint32 browser_handle = 1;
17684
17685    pub fn browser_handle(&self) -> u32 {
17686        self.browser_handle.unwrap_or(0)
17687    }
17688
17689    pub fn clear_browser_handle(&mut self) {
17690        self.browser_handle = ::std::option::Option::None;
17691    }
17692
17693    pub fn has_browser_handle(&self) -> bool {
17694        self.browser_handle.is_some()
17695    }
17696
17697    // Param is passed by value, moved
17698    pub fn set_browser_handle(&mut self, v: u32) {
17699        self.browser_handle = ::std::option::Option::Some(v);
17700    }
17701
17702    // optional string url = 2;
17703
17704    pub fn url(&self) -> &str {
17705        match self.url.as_ref() {
17706            Some(v) => v,
17707            None => "",
17708        }
17709    }
17710
17711    pub fn clear_url(&mut self) {
17712        self.url = ::std::option::Option::None;
17713    }
17714
17715    pub fn has_url(&self) -> bool {
17716        self.url.is_some()
17717    }
17718
17719    // Param is passed by value, moved
17720    pub fn set_url(&mut self, v: ::std::string::String) {
17721        self.url = ::std::option::Option::Some(v);
17722    }
17723
17724    // Mutable pointer to the field.
17725    // If field is not initialized, it is initialized with default value first.
17726    pub fn mut_url(&mut self) -> &mut ::std::string::String {
17727        if self.url.is_none() {
17728            self.url = ::std::option::Option::Some(::std::string::String::new());
17729        }
17730        self.url.as_mut().unwrap()
17731    }
17732
17733    // Take field
17734    pub fn take_url(&mut self) -> ::std::string::String {
17735        self.url.take().unwrap_or_else(|| ::std::string::String::new())
17736    }
17737
17738    // optional string filename = 3;
17739
17740    pub fn filename(&self) -> &str {
17741        match self.filename.as_ref() {
17742            Some(v) => v,
17743            None => "",
17744        }
17745    }
17746
17747    pub fn clear_filename(&mut self) {
17748        self.filename = ::std::option::Option::None;
17749    }
17750
17751    pub fn has_filename(&self) -> bool {
17752        self.filename.is_some()
17753    }
17754
17755    // Param is passed by value, moved
17756    pub fn set_filename(&mut self, v: ::std::string::String) {
17757        self.filename = ::std::option::Option::Some(v);
17758    }
17759
17760    // Mutable pointer to the field.
17761    // If field is not initialized, it is initialized with default value first.
17762    pub fn mut_filename(&mut self) -> &mut ::std::string::String {
17763        if self.filename.is_none() {
17764            self.filename = ::std::option::Option::Some(::std::string::String::new());
17765        }
17766        self.filename.as_mut().unwrap()
17767    }
17768
17769    // Take field
17770    pub fn take_filename(&mut self) -> ::std::string::String {
17771        self.filename.take().unwrap_or_else(|| ::std::string::String::new())
17772    }
17773}
17774
17775impl ::steam_vent_proto_common::protobuf::Message for CMsgSavePageToJPEGResponse {
17776    const NAME: &'static str = "CMsgSavePageToJPEGResponse";
17777
17778    fn is_initialized(&self) -> bool {
17779        true
17780    }
17781
17782    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17783        while let Some(tag) = is.read_raw_tag_or_eof()? {
17784            match tag {
17785                8 => {
17786                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
17787                },
17788                18 => {
17789                    self.url = ::std::option::Option::Some(is.read_string()?);
17790                },
17791                26 => {
17792                    self.filename = ::std::option::Option::Some(is.read_string()?);
17793                },
17794                tag => {
17795                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17796                },
17797            };
17798        }
17799        ::std::result::Result::Ok(())
17800    }
17801
17802    // Compute sizes of nested messages
17803    #[allow(unused_variables)]
17804    fn compute_size(&self) -> u64 {
17805        let mut my_size = 0;
17806        if let Some(v) = self.browser_handle {
17807            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
17808        }
17809        if let Some(v) = self.url.as_ref() {
17810            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
17811        }
17812        if let Some(v) = self.filename.as_ref() {
17813            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
17814        }
17815        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17816        self.special_fields.cached_size().set(my_size as u32);
17817        my_size
17818    }
17819
17820    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17821        if let Some(v) = self.browser_handle {
17822            os.write_uint32(1, v)?;
17823        }
17824        if let Some(v) = self.url.as_ref() {
17825            os.write_string(2, v)?;
17826        }
17827        if let Some(v) = self.filename.as_ref() {
17828            os.write_string(3, v)?;
17829        }
17830        os.write_unknown_fields(self.special_fields.unknown_fields())?;
17831        ::std::result::Result::Ok(())
17832    }
17833
17834    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17835        &self.special_fields
17836    }
17837
17838    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17839        &mut self.special_fields
17840    }
17841
17842    fn new() -> CMsgSavePageToJPEGResponse {
17843        CMsgSavePageToJPEGResponse::new()
17844    }
17845
17846    fn clear(&mut self) {
17847        self.browser_handle = ::std::option::Option::None;
17848        self.url = ::std::option::Option::None;
17849        self.filename = ::std::option::Option::None;
17850        self.special_fields.clear();
17851    }
17852
17853    fn default_instance() -> &'static CMsgSavePageToJPEGResponse {
17854        static instance: CMsgSavePageToJPEGResponse = CMsgSavePageToJPEGResponse {
17855            browser_handle: ::std::option::Option::None,
17856            url: ::std::option::Option::None,
17857            filename: ::std::option::Option::None,
17858            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
17859        };
17860        &instance
17861    }
17862}
17863
17864// @@protoc_insertion_point(message:CMsgJSAlert)
17865#[derive(PartialEq,Clone,Default,Debug)]
17866pub struct CMsgJSAlert {
17867    // message fields
17868    // @@protoc_insertion_point(field:CMsgJSAlert.browser_handle)
17869    pub browser_handle: ::std::option::Option<u32>,
17870    // @@protoc_insertion_point(field:CMsgJSAlert.message)
17871    pub message: ::std::option::Option<::std::string::String>,
17872    // special fields
17873    // @@protoc_insertion_point(special_field:CMsgJSAlert.special_fields)
17874    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
17875}
17876
17877impl<'a> ::std::default::Default for &'a CMsgJSAlert {
17878    fn default() -> &'a CMsgJSAlert {
17879        <CMsgJSAlert as ::steam_vent_proto_common::protobuf::Message>::default_instance()
17880    }
17881}
17882
17883impl CMsgJSAlert {
17884    pub fn new() -> CMsgJSAlert {
17885        ::std::default::Default::default()
17886    }
17887
17888    // optional uint32 browser_handle = 1;
17889
17890    pub fn browser_handle(&self) -> u32 {
17891        self.browser_handle.unwrap_or(0)
17892    }
17893
17894    pub fn clear_browser_handle(&mut self) {
17895        self.browser_handle = ::std::option::Option::None;
17896    }
17897
17898    pub fn has_browser_handle(&self) -> bool {
17899        self.browser_handle.is_some()
17900    }
17901
17902    // Param is passed by value, moved
17903    pub fn set_browser_handle(&mut self, v: u32) {
17904        self.browser_handle = ::std::option::Option::Some(v);
17905    }
17906
17907    // optional string message = 2;
17908
17909    pub fn message(&self) -> &str {
17910        match self.message.as_ref() {
17911            Some(v) => v,
17912            None => "",
17913        }
17914    }
17915
17916    pub fn clear_message(&mut self) {
17917        self.message = ::std::option::Option::None;
17918    }
17919
17920    pub fn has_message(&self) -> bool {
17921        self.message.is_some()
17922    }
17923
17924    // Param is passed by value, moved
17925    pub fn set_message(&mut self, v: ::std::string::String) {
17926        self.message = ::std::option::Option::Some(v);
17927    }
17928
17929    // Mutable pointer to the field.
17930    // If field is not initialized, it is initialized with default value first.
17931    pub fn mut_message(&mut self) -> &mut ::std::string::String {
17932        if self.message.is_none() {
17933            self.message = ::std::option::Option::Some(::std::string::String::new());
17934        }
17935        self.message.as_mut().unwrap()
17936    }
17937
17938    // Take field
17939    pub fn take_message(&mut self) -> ::std::string::String {
17940        self.message.take().unwrap_or_else(|| ::std::string::String::new())
17941    }
17942}
17943
17944impl ::steam_vent_proto_common::protobuf::Message for CMsgJSAlert {
17945    const NAME: &'static str = "CMsgJSAlert";
17946
17947    fn is_initialized(&self) -> bool {
17948        true
17949    }
17950
17951    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17952        while let Some(tag) = is.read_raw_tag_or_eof()? {
17953            match tag {
17954                8 => {
17955                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
17956                },
17957                18 => {
17958                    self.message = ::std::option::Option::Some(is.read_string()?);
17959                },
17960                tag => {
17961                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17962                },
17963            };
17964        }
17965        ::std::result::Result::Ok(())
17966    }
17967
17968    // Compute sizes of nested messages
17969    #[allow(unused_variables)]
17970    fn compute_size(&self) -> u64 {
17971        let mut my_size = 0;
17972        if let Some(v) = self.browser_handle {
17973            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
17974        }
17975        if let Some(v) = self.message.as_ref() {
17976            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
17977        }
17978        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17979        self.special_fields.cached_size().set(my_size as u32);
17980        my_size
17981    }
17982
17983    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17984        if let Some(v) = self.browser_handle {
17985            os.write_uint32(1, v)?;
17986        }
17987        if let Some(v) = self.message.as_ref() {
17988            os.write_string(2, v)?;
17989        }
17990        os.write_unknown_fields(self.special_fields.unknown_fields())?;
17991        ::std::result::Result::Ok(())
17992    }
17993
17994    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17995        &self.special_fields
17996    }
17997
17998    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17999        &mut self.special_fields
18000    }
18001
18002    fn new() -> CMsgJSAlert {
18003        CMsgJSAlert::new()
18004    }
18005
18006    fn clear(&mut self) {
18007        self.browser_handle = ::std::option::Option::None;
18008        self.message = ::std::option::Option::None;
18009        self.special_fields.clear();
18010    }
18011
18012    fn default_instance() -> &'static CMsgJSAlert {
18013        static instance: CMsgJSAlert = CMsgJSAlert {
18014            browser_handle: ::std::option::Option::None,
18015            message: ::std::option::Option::None,
18016            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
18017        };
18018        &instance
18019    }
18020}
18021
18022// @@protoc_insertion_point(message:CMsgJSConfirm)
18023#[derive(PartialEq,Clone,Default,Debug)]
18024pub struct CMsgJSConfirm {
18025    // message fields
18026    // @@protoc_insertion_point(field:CMsgJSConfirm.browser_handle)
18027    pub browser_handle: ::std::option::Option<u32>,
18028    // @@protoc_insertion_point(field:CMsgJSConfirm.message)
18029    pub message: ::std::option::Option<::std::string::String>,
18030    // special fields
18031    // @@protoc_insertion_point(special_field:CMsgJSConfirm.special_fields)
18032    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
18033}
18034
18035impl<'a> ::std::default::Default for &'a CMsgJSConfirm {
18036    fn default() -> &'a CMsgJSConfirm {
18037        <CMsgJSConfirm as ::steam_vent_proto_common::protobuf::Message>::default_instance()
18038    }
18039}
18040
18041impl CMsgJSConfirm {
18042    pub fn new() -> CMsgJSConfirm {
18043        ::std::default::Default::default()
18044    }
18045
18046    // optional uint32 browser_handle = 1;
18047
18048    pub fn browser_handle(&self) -> u32 {
18049        self.browser_handle.unwrap_or(0)
18050    }
18051
18052    pub fn clear_browser_handle(&mut self) {
18053        self.browser_handle = ::std::option::Option::None;
18054    }
18055
18056    pub fn has_browser_handle(&self) -> bool {
18057        self.browser_handle.is_some()
18058    }
18059
18060    // Param is passed by value, moved
18061    pub fn set_browser_handle(&mut self, v: u32) {
18062        self.browser_handle = ::std::option::Option::Some(v);
18063    }
18064
18065    // optional string message = 2;
18066
18067    pub fn message(&self) -> &str {
18068        match self.message.as_ref() {
18069            Some(v) => v,
18070            None => "",
18071        }
18072    }
18073
18074    pub fn clear_message(&mut self) {
18075        self.message = ::std::option::Option::None;
18076    }
18077
18078    pub fn has_message(&self) -> bool {
18079        self.message.is_some()
18080    }
18081
18082    // Param is passed by value, moved
18083    pub fn set_message(&mut self, v: ::std::string::String) {
18084        self.message = ::std::option::Option::Some(v);
18085    }
18086
18087    // Mutable pointer to the field.
18088    // If field is not initialized, it is initialized with default value first.
18089    pub fn mut_message(&mut self) -> &mut ::std::string::String {
18090        if self.message.is_none() {
18091            self.message = ::std::option::Option::Some(::std::string::String::new());
18092        }
18093        self.message.as_mut().unwrap()
18094    }
18095
18096    // Take field
18097    pub fn take_message(&mut self) -> ::std::string::String {
18098        self.message.take().unwrap_or_else(|| ::std::string::String::new())
18099    }
18100}
18101
18102impl ::steam_vent_proto_common::protobuf::Message for CMsgJSConfirm {
18103    const NAME: &'static str = "CMsgJSConfirm";
18104
18105    fn is_initialized(&self) -> bool {
18106        true
18107    }
18108
18109    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18110        while let Some(tag) = is.read_raw_tag_or_eof()? {
18111            match tag {
18112                8 => {
18113                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
18114                },
18115                18 => {
18116                    self.message = ::std::option::Option::Some(is.read_string()?);
18117                },
18118                tag => {
18119                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
18120                },
18121            };
18122        }
18123        ::std::result::Result::Ok(())
18124    }
18125
18126    // Compute sizes of nested messages
18127    #[allow(unused_variables)]
18128    fn compute_size(&self) -> u64 {
18129        let mut my_size = 0;
18130        if let Some(v) = self.browser_handle {
18131            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
18132        }
18133        if let Some(v) = self.message.as_ref() {
18134            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
18135        }
18136        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
18137        self.special_fields.cached_size().set(my_size as u32);
18138        my_size
18139    }
18140
18141    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18142        if let Some(v) = self.browser_handle {
18143            os.write_uint32(1, v)?;
18144        }
18145        if let Some(v) = self.message.as_ref() {
18146            os.write_string(2, v)?;
18147        }
18148        os.write_unknown_fields(self.special_fields.unknown_fields())?;
18149        ::std::result::Result::Ok(())
18150    }
18151
18152    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
18153        &self.special_fields
18154    }
18155
18156    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
18157        &mut self.special_fields
18158    }
18159
18160    fn new() -> CMsgJSConfirm {
18161        CMsgJSConfirm::new()
18162    }
18163
18164    fn clear(&mut self) {
18165        self.browser_handle = ::std::option::Option::None;
18166        self.message = ::std::option::Option::None;
18167        self.special_fields.clear();
18168    }
18169
18170    fn default_instance() -> &'static CMsgJSConfirm {
18171        static instance: CMsgJSConfirm = CMsgJSConfirm {
18172            browser_handle: ::std::option::Option::None,
18173            message: ::std::option::Option::None,
18174            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
18175        };
18176        &instance
18177    }
18178}
18179
18180// @@protoc_insertion_point(message:CMsgJSDialogResponse)
18181#[derive(PartialEq,Clone,Default,Debug)]
18182pub struct CMsgJSDialogResponse {
18183    // message fields
18184    // @@protoc_insertion_point(field:CMsgJSDialogResponse.browser_handle)
18185    pub browser_handle: ::std::option::Option<u32>,
18186    // @@protoc_insertion_point(field:CMsgJSDialogResponse.result)
18187    pub result: ::std::option::Option<bool>,
18188    // special fields
18189    // @@protoc_insertion_point(special_field:CMsgJSDialogResponse.special_fields)
18190    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
18191}
18192
18193impl<'a> ::std::default::Default for &'a CMsgJSDialogResponse {
18194    fn default() -> &'a CMsgJSDialogResponse {
18195        <CMsgJSDialogResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
18196    }
18197}
18198
18199impl CMsgJSDialogResponse {
18200    pub fn new() -> CMsgJSDialogResponse {
18201        ::std::default::Default::default()
18202    }
18203
18204    // optional uint32 browser_handle = 1;
18205
18206    pub fn browser_handle(&self) -> u32 {
18207        self.browser_handle.unwrap_or(0)
18208    }
18209
18210    pub fn clear_browser_handle(&mut self) {
18211        self.browser_handle = ::std::option::Option::None;
18212    }
18213
18214    pub fn has_browser_handle(&self) -> bool {
18215        self.browser_handle.is_some()
18216    }
18217
18218    // Param is passed by value, moved
18219    pub fn set_browser_handle(&mut self, v: u32) {
18220        self.browser_handle = ::std::option::Option::Some(v);
18221    }
18222
18223    // optional bool result = 2;
18224
18225    pub fn result(&self) -> bool {
18226        self.result.unwrap_or(false)
18227    }
18228
18229    pub fn clear_result(&mut self) {
18230        self.result = ::std::option::Option::None;
18231    }
18232
18233    pub fn has_result(&self) -> bool {
18234        self.result.is_some()
18235    }
18236
18237    // Param is passed by value, moved
18238    pub fn set_result(&mut self, v: bool) {
18239        self.result = ::std::option::Option::Some(v);
18240    }
18241}
18242
18243impl ::steam_vent_proto_common::protobuf::Message for CMsgJSDialogResponse {
18244    const NAME: &'static str = "CMsgJSDialogResponse";
18245
18246    fn is_initialized(&self) -> bool {
18247        true
18248    }
18249
18250    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18251        while let Some(tag) = is.read_raw_tag_or_eof()? {
18252            match tag {
18253                8 => {
18254                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
18255                },
18256                16 => {
18257                    self.result = ::std::option::Option::Some(is.read_bool()?);
18258                },
18259                tag => {
18260                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
18261                },
18262            };
18263        }
18264        ::std::result::Result::Ok(())
18265    }
18266
18267    // Compute sizes of nested messages
18268    #[allow(unused_variables)]
18269    fn compute_size(&self) -> u64 {
18270        let mut my_size = 0;
18271        if let Some(v) = self.browser_handle {
18272            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
18273        }
18274        if let Some(v) = self.result {
18275            my_size += 1 + 1;
18276        }
18277        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
18278        self.special_fields.cached_size().set(my_size as u32);
18279        my_size
18280    }
18281
18282    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18283        if let Some(v) = self.browser_handle {
18284            os.write_uint32(1, v)?;
18285        }
18286        if let Some(v) = self.result {
18287            os.write_bool(2, v)?;
18288        }
18289        os.write_unknown_fields(self.special_fields.unknown_fields())?;
18290        ::std::result::Result::Ok(())
18291    }
18292
18293    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
18294        &self.special_fields
18295    }
18296
18297    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
18298        &mut self.special_fields
18299    }
18300
18301    fn new() -> CMsgJSDialogResponse {
18302        CMsgJSDialogResponse::new()
18303    }
18304
18305    fn clear(&mut self) {
18306        self.browser_handle = ::std::option::Option::None;
18307        self.result = ::std::option::Option::None;
18308        self.special_fields.clear();
18309    }
18310
18311    fn default_instance() -> &'static CMsgJSDialogResponse {
18312        static instance: CMsgJSDialogResponse = CMsgJSDialogResponse {
18313            browser_handle: ::std::option::Option::None,
18314            result: ::std::option::Option::None,
18315            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
18316        };
18317        &instance
18318    }
18319}
18320
18321// @@protoc_insertion_point(message:CMsgCanGoBackAndForward)
18322#[derive(PartialEq,Clone,Default,Debug)]
18323pub struct CMsgCanGoBackAndForward {
18324    // message fields
18325    // @@protoc_insertion_point(field:CMsgCanGoBackAndForward.browser_handle)
18326    pub browser_handle: ::std::option::Option<u32>,
18327    // @@protoc_insertion_point(field:CMsgCanGoBackAndForward.bgoback)
18328    pub bgoback: ::std::option::Option<bool>,
18329    // @@protoc_insertion_point(field:CMsgCanGoBackAndForward.bgoforward)
18330    pub bgoforward: ::std::option::Option<bool>,
18331    // special fields
18332    // @@protoc_insertion_point(special_field:CMsgCanGoBackAndForward.special_fields)
18333    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
18334}
18335
18336impl<'a> ::std::default::Default for &'a CMsgCanGoBackAndForward {
18337    fn default() -> &'a CMsgCanGoBackAndForward {
18338        <CMsgCanGoBackAndForward as ::steam_vent_proto_common::protobuf::Message>::default_instance()
18339    }
18340}
18341
18342impl CMsgCanGoBackAndForward {
18343    pub fn new() -> CMsgCanGoBackAndForward {
18344        ::std::default::Default::default()
18345    }
18346
18347    // optional uint32 browser_handle = 1;
18348
18349    pub fn browser_handle(&self) -> u32 {
18350        self.browser_handle.unwrap_or(0)
18351    }
18352
18353    pub fn clear_browser_handle(&mut self) {
18354        self.browser_handle = ::std::option::Option::None;
18355    }
18356
18357    pub fn has_browser_handle(&self) -> bool {
18358        self.browser_handle.is_some()
18359    }
18360
18361    // Param is passed by value, moved
18362    pub fn set_browser_handle(&mut self, v: u32) {
18363        self.browser_handle = ::std::option::Option::Some(v);
18364    }
18365
18366    // optional bool bgoback = 2;
18367
18368    pub fn bgoback(&self) -> bool {
18369        self.bgoback.unwrap_or(false)
18370    }
18371
18372    pub fn clear_bgoback(&mut self) {
18373        self.bgoback = ::std::option::Option::None;
18374    }
18375
18376    pub fn has_bgoback(&self) -> bool {
18377        self.bgoback.is_some()
18378    }
18379
18380    // Param is passed by value, moved
18381    pub fn set_bgoback(&mut self, v: bool) {
18382        self.bgoback = ::std::option::Option::Some(v);
18383    }
18384
18385    // optional bool bgoforward = 3;
18386
18387    pub fn bgoforward(&self) -> bool {
18388        self.bgoforward.unwrap_or(false)
18389    }
18390
18391    pub fn clear_bgoforward(&mut self) {
18392        self.bgoforward = ::std::option::Option::None;
18393    }
18394
18395    pub fn has_bgoforward(&self) -> bool {
18396        self.bgoforward.is_some()
18397    }
18398
18399    // Param is passed by value, moved
18400    pub fn set_bgoforward(&mut self, v: bool) {
18401        self.bgoforward = ::std::option::Option::Some(v);
18402    }
18403}
18404
18405impl ::steam_vent_proto_common::protobuf::Message for CMsgCanGoBackAndForward {
18406    const NAME: &'static str = "CMsgCanGoBackAndForward";
18407
18408    fn is_initialized(&self) -> bool {
18409        true
18410    }
18411
18412    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18413        while let Some(tag) = is.read_raw_tag_or_eof()? {
18414            match tag {
18415                8 => {
18416                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
18417                },
18418                16 => {
18419                    self.bgoback = ::std::option::Option::Some(is.read_bool()?);
18420                },
18421                24 => {
18422                    self.bgoforward = ::std::option::Option::Some(is.read_bool()?);
18423                },
18424                tag => {
18425                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
18426                },
18427            };
18428        }
18429        ::std::result::Result::Ok(())
18430    }
18431
18432    // Compute sizes of nested messages
18433    #[allow(unused_variables)]
18434    fn compute_size(&self) -> u64 {
18435        let mut my_size = 0;
18436        if let Some(v) = self.browser_handle {
18437            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
18438        }
18439        if let Some(v) = self.bgoback {
18440            my_size += 1 + 1;
18441        }
18442        if let Some(v) = self.bgoforward {
18443            my_size += 1 + 1;
18444        }
18445        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
18446        self.special_fields.cached_size().set(my_size as u32);
18447        my_size
18448    }
18449
18450    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18451        if let Some(v) = self.browser_handle {
18452            os.write_uint32(1, v)?;
18453        }
18454        if let Some(v) = self.bgoback {
18455            os.write_bool(2, v)?;
18456        }
18457        if let Some(v) = self.bgoforward {
18458            os.write_bool(3, v)?;
18459        }
18460        os.write_unknown_fields(self.special_fields.unknown_fields())?;
18461        ::std::result::Result::Ok(())
18462    }
18463
18464    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
18465        &self.special_fields
18466    }
18467
18468    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
18469        &mut self.special_fields
18470    }
18471
18472    fn new() -> CMsgCanGoBackAndForward {
18473        CMsgCanGoBackAndForward::new()
18474    }
18475
18476    fn clear(&mut self) {
18477        self.browser_handle = ::std::option::Option::None;
18478        self.bgoback = ::std::option::Option::None;
18479        self.bgoforward = ::std::option::Option::None;
18480        self.special_fields.clear();
18481    }
18482
18483    fn default_instance() -> &'static CMsgCanGoBackAndForward {
18484        static instance: CMsgCanGoBackAndForward = CMsgCanGoBackAndForward {
18485            browser_handle: ::std::option::Option::None,
18486            bgoback: ::std::option::Option::None,
18487            bgoforward: ::std::option::Option::None,
18488            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
18489        };
18490        &instance
18491    }
18492}
18493
18494// @@protoc_insertion_point(message:CMsgOpenSteamURL)
18495#[derive(PartialEq,Clone,Default,Debug)]
18496pub struct CMsgOpenSteamURL {
18497    // message fields
18498    // @@protoc_insertion_point(field:CMsgOpenSteamURL.browser_handle)
18499    pub browser_handle: ::std::option::Option<u32>,
18500    // @@protoc_insertion_point(field:CMsgOpenSteamURL.url)
18501    pub url: ::std::option::Option<::std::string::String>,
18502    // @@protoc_insertion_point(field:CMsgOpenSteamURL.referrer)
18503    pub referrer: ::std::option::Option<::std::string::String>,
18504    // special fields
18505    // @@protoc_insertion_point(special_field:CMsgOpenSteamURL.special_fields)
18506    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
18507}
18508
18509impl<'a> ::std::default::Default for &'a CMsgOpenSteamURL {
18510    fn default() -> &'a CMsgOpenSteamURL {
18511        <CMsgOpenSteamURL as ::steam_vent_proto_common::protobuf::Message>::default_instance()
18512    }
18513}
18514
18515impl CMsgOpenSteamURL {
18516    pub fn new() -> CMsgOpenSteamURL {
18517        ::std::default::Default::default()
18518    }
18519
18520    // optional uint32 browser_handle = 1;
18521
18522    pub fn browser_handle(&self) -> u32 {
18523        self.browser_handle.unwrap_or(0)
18524    }
18525
18526    pub fn clear_browser_handle(&mut self) {
18527        self.browser_handle = ::std::option::Option::None;
18528    }
18529
18530    pub fn has_browser_handle(&self) -> bool {
18531        self.browser_handle.is_some()
18532    }
18533
18534    // Param is passed by value, moved
18535    pub fn set_browser_handle(&mut self, v: u32) {
18536        self.browser_handle = ::std::option::Option::Some(v);
18537    }
18538
18539    // optional string url = 2;
18540
18541    pub fn url(&self) -> &str {
18542        match self.url.as_ref() {
18543            Some(v) => v,
18544            None => "",
18545        }
18546    }
18547
18548    pub fn clear_url(&mut self) {
18549        self.url = ::std::option::Option::None;
18550    }
18551
18552    pub fn has_url(&self) -> bool {
18553        self.url.is_some()
18554    }
18555
18556    // Param is passed by value, moved
18557    pub fn set_url(&mut self, v: ::std::string::String) {
18558        self.url = ::std::option::Option::Some(v);
18559    }
18560
18561    // Mutable pointer to the field.
18562    // If field is not initialized, it is initialized with default value first.
18563    pub fn mut_url(&mut self) -> &mut ::std::string::String {
18564        if self.url.is_none() {
18565            self.url = ::std::option::Option::Some(::std::string::String::new());
18566        }
18567        self.url.as_mut().unwrap()
18568    }
18569
18570    // Take field
18571    pub fn take_url(&mut self) -> ::std::string::String {
18572        self.url.take().unwrap_or_else(|| ::std::string::String::new())
18573    }
18574
18575    // optional string referrer = 3;
18576
18577    pub fn referrer(&self) -> &str {
18578        match self.referrer.as_ref() {
18579            Some(v) => v,
18580            None => "",
18581        }
18582    }
18583
18584    pub fn clear_referrer(&mut self) {
18585        self.referrer = ::std::option::Option::None;
18586    }
18587
18588    pub fn has_referrer(&self) -> bool {
18589        self.referrer.is_some()
18590    }
18591
18592    // Param is passed by value, moved
18593    pub fn set_referrer(&mut self, v: ::std::string::String) {
18594        self.referrer = ::std::option::Option::Some(v);
18595    }
18596
18597    // Mutable pointer to the field.
18598    // If field is not initialized, it is initialized with default value first.
18599    pub fn mut_referrer(&mut self) -> &mut ::std::string::String {
18600        if self.referrer.is_none() {
18601            self.referrer = ::std::option::Option::Some(::std::string::String::new());
18602        }
18603        self.referrer.as_mut().unwrap()
18604    }
18605
18606    // Take field
18607    pub fn take_referrer(&mut self) -> ::std::string::String {
18608        self.referrer.take().unwrap_or_else(|| ::std::string::String::new())
18609    }
18610}
18611
18612impl ::steam_vent_proto_common::protobuf::Message for CMsgOpenSteamURL {
18613    const NAME: &'static str = "CMsgOpenSteamURL";
18614
18615    fn is_initialized(&self) -> bool {
18616        true
18617    }
18618
18619    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18620        while let Some(tag) = is.read_raw_tag_or_eof()? {
18621            match tag {
18622                8 => {
18623                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
18624                },
18625                18 => {
18626                    self.url = ::std::option::Option::Some(is.read_string()?);
18627                },
18628                26 => {
18629                    self.referrer = ::std::option::Option::Some(is.read_string()?);
18630                },
18631                tag => {
18632                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
18633                },
18634            };
18635        }
18636        ::std::result::Result::Ok(())
18637    }
18638
18639    // Compute sizes of nested messages
18640    #[allow(unused_variables)]
18641    fn compute_size(&self) -> u64 {
18642        let mut my_size = 0;
18643        if let Some(v) = self.browser_handle {
18644            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
18645        }
18646        if let Some(v) = self.url.as_ref() {
18647            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
18648        }
18649        if let Some(v) = self.referrer.as_ref() {
18650            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
18651        }
18652        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
18653        self.special_fields.cached_size().set(my_size as u32);
18654        my_size
18655    }
18656
18657    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18658        if let Some(v) = self.browser_handle {
18659            os.write_uint32(1, v)?;
18660        }
18661        if let Some(v) = self.url.as_ref() {
18662            os.write_string(2, v)?;
18663        }
18664        if let Some(v) = self.referrer.as_ref() {
18665            os.write_string(3, v)?;
18666        }
18667        os.write_unknown_fields(self.special_fields.unknown_fields())?;
18668        ::std::result::Result::Ok(())
18669    }
18670
18671    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
18672        &self.special_fields
18673    }
18674
18675    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
18676        &mut self.special_fields
18677    }
18678
18679    fn new() -> CMsgOpenSteamURL {
18680        CMsgOpenSteamURL::new()
18681    }
18682
18683    fn clear(&mut self) {
18684        self.browser_handle = ::std::option::Option::None;
18685        self.url = ::std::option::Option::None;
18686        self.referrer = ::std::option::Option::None;
18687        self.special_fields.clear();
18688    }
18689
18690    fn default_instance() -> &'static CMsgOpenSteamURL {
18691        static instance: CMsgOpenSteamURL = CMsgOpenSteamURL {
18692            browser_handle: ::std::option::Option::None,
18693            url: ::std::option::Option::None,
18694            referrer: ::std::option::Option::None,
18695            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
18696        };
18697        &instance
18698    }
18699}
18700
18701// @@protoc_insertion_point(message:CMsgSetCookie)
18702#[derive(PartialEq,Clone,Default,Debug)]
18703pub struct CMsgSetCookie {
18704    // message fields
18705    // @@protoc_insertion_point(field:CMsgSetCookie.key)
18706    pub key: ::std::option::Option<::std::string::String>,
18707    // @@protoc_insertion_point(field:CMsgSetCookie.value)
18708    pub value: ::std::option::Option<::std::string::String>,
18709    // @@protoc_insertion_point(field:CMsgSetCookie.path)
18710    pub path: ::std::option::Option<::std::string::String>,
18711    // @@protoc_insertion_point(field:CMsgSetCookie.host)
18712    pub host: ::std::option::Option<::std::string::String>,
18713    // @@protoc_insertion_point(field:CMsgSetCookie.expires)
18714    pub expires: ::std::option::Option<u32>,
18715    // @@protoc_insertion_point(field:CMsgSetCookie.secure)
18716    pub secure: ::std::option::Option<bool>,
18717    // @@protoc_insertion_point(field:CMsgSetCookie.httponly)
18718    pub httponly: ::std::option::Option<bool>,
18719    // @@protoc_insertion_point(field:CMsgSetCookie.samesite)
18720    pub samesite: ::std::option::Option<i32>,
18721    // special fields
18722    // @@protoc_insertion_point(special_field:CMsgSetCookie.special_fields)
18723    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
18724}
18725
18726impl<'a> ::std::default::Default for &'a CMsgSetCookie {
18727    fn default() -> &'a CMsgSetCookie {
18728        <CMsgSetCookie as ::steam_vent_proto_common::protobuf::Message>::default_instance()
18729    }
18730}
18731
18732impl CMsgSetCookie {
18733    pub fn new() -> CMsgSetCookie {
18734        ::std::default::Default::default()
18735    }
18736
18737    // optional string key = 1;
18738
18739    pub fn key(&self) -> &str {
18740        match self.key.as_ref() {
18741            Some(v) => v,
18742            None => "",
18743        }
18744    }
18745
18746    pub fn clear_key(&mut self) {
18747        self.key = ::std::option::Option::None;
18748    }
18749
18750    pub fn has_key(&self) -> bool {
18751        self.key.is_some()
18752    }
18753
18754    // Param is passed by value, moved
18755    pub fn set_key(&mut self, v: ::std::string::String) {
18756        self.key = ::std::option::Option::Some(v);
18757    }
18758
18759    // Mutable pointer to the field.
18760    // If field is not initialized, it is initialized with default value first.
18761    pub fn mut_key(&mut self) -> &mut ::std::string::String {
18762        if self.key.is_none() {
18763            self.key = ::std::option::Option::Some(::std::string::String::new());
18764        }
18765        self.key.as_mut().unwrap()
18766    }
18767
18768    // Take field
18769    pub fn take_key(&mut self) -> ::std::string::String {
18770        self.key.take().unwrap_or_else(|| ::std::string::String::new())
18771    }
18772
18773    // optional string value = 2;
18774
18775    pub fn value(&self) -> &str {
18776        match self.value.as_ref() {
18777            Some(v) => v,
18778            None => "",
18779        }
18780    }
18781
18782    pub fn clear_value(&mut self) {
18783        self.value = ::std::option::Option::None;
18784    }
18785
18786    pub fn has_value(&self) -> bool {
18787        self.value.is_some()
18788    }
18789
18790    // Param is passed by value, moved
18791    pub fn set_value(&mut self, v: ::std::string::String) {
18792        self.value = ::std::option::Option::Some(v);
18793    }
18794
18795    // Mutable pointer to the field.
18796    // If field is not initialized, it is initialized with default value first.
18797    pub fn mut_value(&mut self) -> &mut ::std::string::String {
18798        if self.value.is_none() {
18799            self.value = ::std::option::Option::Some(::std::string::String::new());
18800        }
18801        self.value.as_mut().unwrap()
18802    }
18803
18804    // Take field
18805    pub fn take_value(&mut self) -> ::std::string::String {
18806        self.value.take().unwrap_or_else(|| ::std::string::String::new())
18807    }
18808
18809    // optional string path = 3;
18810
18811    pub fn path(&self) -> &str {
18812        match self.path.as_ref() {
18813            Some(v) => v,
18814            None => "",
18815        }
18816    }
18817
18818    pub fn clear_path(&mut self) {
18819        self.path = ::std::option::Option::None;
18820    }
18821
18822    pub fn has_path(&self) -> bool {
18823        self.path.is_some()
18824    }
18825
18826    // Param is passed by value, moved
18827    pub fn set_path(&mut self, v: ::std::string::String) {
18828        self.path = ::std::option::Option::Some(v);
18829    }
18830
18831    // Mutable pointer to the field.
18832    // If field is not initialized, it is initialized with default value first.
18833    pub fn mut_path(&mut self) -> &mut ::std::string::String {
18834        if self.path.is_none() {
18835            self.path = ::std::option::Option::Some(::std::string::String::new());
18836        }
18837        self.path.as_mut().unwrap()
18838    }
18839
18840    // Take field
18841    pub fn take_path(&mut self) -> ::std::string::String {
18842        self.path.take().unwrap_or_else(|| ::std::string::String::new())
18843    }
18844
18845    // optional string host = 4;
18846
18847    pub fn host(&self) -> &str {
18848        match self.host.as_ref() {
18849            Some(v) => v,
18850            None => "",
18851        }
18852    }
18853
18854    pub fn clear_host(&mut self) {
18855        self.host = ::std::option::Option::None;
18856    }
18857
18858    pub fn has_host(&self) -> bool {
18859        self.host.is_some()
18860    }
18861
18862    // Param is passed by value, moved
18863    pub fn set_host(&mut self, v: ::std::string::String) {
18864        self.host = ::std::option::Option::Some(v);
18865    }
18866
18867    // Mutable pointer to the field.
18868    // If field is not initialized, it is initialized with default value first.
18869    pub fn mut_host(&mut self) -> &mut ::std::string::String {
18870        if self.host.is_none() {
18871            self.host = ::std::option::Option::Some(::std::string::String::new());
18872        }
18873        self.host.as_mut().unwrap()
18874    }
18875
18876    // Take field
18877    pub fn take_host(&mut self) -> ::std::string::String {
18878        self.host.take().unwrap_or_else(|| ::std::string::String::new())
18879    }
18880
18881    // optional uint32 expires = 5;
18882
18883    pub fn expires(&self) -> u32 {
18884        self.expires.unwrap_or(0)
18885    }
18886
18887    pub fn clear_expires(&mut self) {
18888        self.expires = ::std::option::Option::None;
18889    }
18890
18891    pub fn has_expires(&self) -> bool {
18892        self.expires.is_some()
18893    }
18894
18895    // Param is passed by value, moved
18896    pub fn set_expires(&mut self, v: u32) {
18897        self.expires = ::std::option::Option::Some(v);
18898    }
18899
18900    // optional bool secure = 6;
18901
18902    pub fn secure(&self) -> bool {
18903        self.secure.unwrap_or(false)
18904    }
18905
18906    pub fn clear_secure(&mut self) {
18907        self.secure = ::std::option::Option::None;
18908    }
18909
18910    pub fn has_secure(&self) -> bool {
18911        self.secure.is_some()
18912    }
18913
18914    // Param is passed by value, moved
18915    pub fn set_secure(&mut self, v: bool) {
18916        self.secure = ::std::option::Option::Some(v);
18917    }
18918
18919    // optional bool httponly = 7;
18920
18921    pub fn httponly(&self) -> bool {
18922        self.httponly.unwrap_or(false)
18923    }
18924
18925    pub fn clear_httponly(&mut self) {
18926        self.httponly = ::std::option::Option::None;
18927    }
18928
18929    pub fn has_httponly(&self) -> bool {
18930        self.httponly.is_some()
18931    }
18932
18933    // Param is passed by value, moved
18934    pub fn set_httponly(&mut self, v: bool) {
18935        self.httponly = ::std::option::Option::Some(v);
18936    }
18937
18938    // optional int32 samesite = 8;
18939
18940    pub fn samesite(&self) -> i32 {
18941        self.samesite.unwrap_or(0)
18942    }
18943
18944    pub fn clear_samesite(&mut self) {
18945        self.samesite = ::std::option::Option::None;
18946    }
18947
18948    pub fn has_samesite(&self) -> bool {
18949        self.samesite.is_some()
18950    }
18951
18952    // Param is passed by value, moved
18953    pub fn set_samesite(&mut self, v: i32) {
18954        self.samesite = ::std::option::Option::Some(v);
18955    }
18956}
18957
18958impl ::steam_vent_proto_common::protobuf::Message for CMsgSetCookie {
18959    const NAME: &'static str = "CMsgSetCookie";
18960
18961    fn is_initialized(&self) -> bool {
18962        true
18963    }
18964
18965    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18966        while let Some(tag) = is.read_raw_tag_or_eof()? {
18967            match tag {
18968                10 => {
18969                    self.key = ::std::option::Option::Some(is.read_string()?);
18970                },
18971                18 => {
18972                    self.value = ::std::option::Option::Some(is.read_string()?);
18973                },
18974                26 => {
18975                    self.path = ::std::option::Option::Some(is.read_string()?);
18976                },
18977                34 => {
18978                    self.host = ::std::option::Option::Some(is.read_string()?);
18979                },
18980                40 => {
18981                    self.expires = ::std::option::Option::Some(is.read_uint32()?);
18982                },
18983                48 => {
18984                    self.secure = ::std::option::Option::Some(is.read_bool()?);
18985                },
18986                56 => {
18987                    self.httponly = ::std::option::Option::Some(is.read_bool()?);
18988                },
18989                64 => {
18990                    self.samesite = ::std::option::Option::Some(is.read_int32()?);
18991                },
18992                tag => {
18993                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
18994                },
18995            };
18996        }
18997        ::std::result::Result::Ok(())
18998    }
18999
19000    // Compute sizes of nested messages
19001    #[allow(unused_variables)]
19002    fn compute_size(&self) -> u64 {
19003        let mut my_size = 0;
19004        if let Some(v) = self.key.as_ref() {
19005            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
19006        }
19007        if let Some(v) = self.value.as_ref() {
19008            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
19009        }
19010        if let Some(v) = self.path.as_ref() {
19011            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
19012        }
19013        if let Some(v) = self.host.as_ref() {
19014            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
19015        }
19016        if let Some(v) = self.expires {
19017            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
19018        }
19019        if let Some(v) = self.secure {
19020            my_size += 1 + 1;
19021        }
19022        if let Some(v) = self.httponly {
19023            my_size += 1 + 1;
19024        }
19025        if let Some(v) = self.samesite {
19026            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(8, v);
19027        }
19028        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
19029        self.special_fields.cached_size().set(my_size as u32);
19030        my_size
19031    }
19032
19033    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19034        if let Some(v) = self.key.as_ref() {
19035            os.write_string(1, v)?;
19036        }
19037        if let Some(v) = self.value.as_ref() {
19038            os.write_string(2, v)?;
19039        }
19040        if let Some(v) = self.path.as_ref() {
19041            os.write_string(3, v)?;
19042        }
19043        if let Some(v) = self.host.as_ref() {
19044            os.write_string(4, v)?;
19045        }
19046        if let Some(v) = self.expires {
19047            os.write_uint32(5, v)?;
19048        }
19049        if let Some(v) = self.secure {
19050            os.write_bool(6, v)?;
19051        }
19052        if let Some(v) = self.httponly {
19053            os.write_bool(7, v)?;
19054        }
19055        if let Some(v) = self.samesite {
19056            os.write_int32(8, v)?;
19057        }
19058        os.write_unknown_fields(self.special_fields.unknown_fields())?;
19059        ::std::result::Result::Ok(())
19060    }
19061
19062    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19063        &self.special_fields
19064    }
19065
19066    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19067        &mut self.special_fields
19068    }
19069
19070    fn new() -> CMsgSetCookie {
19071        CMsgSetCookie::new()
19072    }
19073
19074    fn clear(&mut self) {
19075        self.key = ::std::option::Option::None;
19076        self.value = ::std::option::Option::None;
19077        self.path = ::std::option::Option::None;
19078        self.host = ::std::option::Option::None;
19079        self.expires = ::std::option::Option::None;
19080        self.secure = ::std::option::Option::None;
19081        self.httponly = ::std::option::Option::None;
19082        self.samesite = ::std::option::Option::None;
19083        self.special_fields.clear();
19084    }
19085
19086    fn default_instance() -> &'static CMsgSetCookie {
19087        static instance: CMsgSetCookie = CMsgSetCookie {
19088            key: ::std::option::Option::None,
19089            value: ::std::option::Option::None,
19090            path: ::std::option::Option::None,
19091            host: ::std::option::Option::None,
19092            expires: ::std::option::Option::None,
19093            secure: ::std::option::Option::None,
19094            httponly: ::std::option::Option::None,
19095            samesite: ::std::option::Option::None,
19096            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
19097        };
19098        &instance
19099    }
19100}
19101
19102// @@protoc_insertion_point(message:CMsgSetTargetFrameRate)
19103#[derive(PartialEq,Clone,Default,Debug)]
19104pub struct CMsgSetTargetFrameRate {
19105    // message fields
19106    // @@protoc_insertion_point(field:CMsgSetTargetFrameRate.browser_handle)
19107    pub browser_handle: ::std::option::Option<u32>,
19108    // @@protoc_insertion_point(field:CMsgSetTargetFrameRate.nTargetFrameRate)
19109    pub nTargetFrameRate: ::std::option::Option<u32>,
19110    // special fields
19111    // @@protoc_insertion_point(special_field:CMsgSetTargetFrameRate.special_fields)
19112    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
19113}
19114
19115impl<'a> ::std::default::Default for &'a CMsgSetTargetFrameRate {
19116    fn default() -> &'a CMsgSetTargetFrameRate {
19117        <CMsgSetTargetFrameRate as ::steam_vent_proto_common::protobuf::Message>::default_instance()
19118    }
19119}
19120
19121impl CMsgSetTargetFrameRate {
19122    pub fn new() -> CMsgSetTargetFrameRate {
19123        ::std::default::Default::default()
19124    }
19125
19126    // optional uint32 browser_handle = 1;
19127
19128    pub fn browser_handle(&self) -> u32 {
19129        self.browser_handle.unwrap_or(0)
19130    }
19131
19132    pub fn clear_browser_handle(&mut self) {
19133        self.browser_handle = ::std::option::Option::None;
19134    }
19135
19136    pub fn has_browser_handle(&self) -> bool {
19137        self.browser_handle.is_some()
19138    }
19139
19140    // Param is passed by value, moved
19141    pub fn set_browser_handle(&mut self, v: u32) {
19142        self.browser_handle = ::std::option::Option::Some(v);
19143    }
19144
19145    // optional uint32 nTargetFrameRate = 2;
19146
19147    pub fn nTargetFrameRate(&self) -> u32 {
19148        self.nTargetFrameRate.unwrap_or(0)
19149    }
19150
19151    pub fn clear_nTargetFrameRate(&mut self) {
19152        self.nTargetFrameRate = ::std::option::Option::None;
19153    }
19154
19155    pub fn has_nTargetFrameRate(&self) -> bool {
19156        self.nTargetFrameRate.is_some()
19157    }
19158
19159    // Param is passed by value, moved
19160    pub fn set_nTargetFrameRate(&mut self, v: u32) {
19161        self.nTargetFrameRate = ::std::option::Option::Some(v);
19162    }
19163}
19164
19165impl ::steam_vent_proto_common::protobuf::Message for CMsgSetTargetFrameRate {
19166    const NAME: &'static str = "CMsgSetTargetFrameRate";
19167
19168    fn is_initialized(&self) -> bool {
19169        true
19170    }
19171
19172    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19173        while let Some(tag) = is.read_raw_tag_or_eof()? {
19174            match tag {
19175                8 => {
19176                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
19177                },
19178                16 => {
19179                    self.nTargetFrameRate = ::std::option::Option::Some(is.read_uint32()?);
19180                },
19181                tag => {
19182                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
19183                },
19184            };
19185        }
19186        ::std::result::Result::Ok(())
19187    }
19188
19189    // Compute sizes of nested messages
19190    #[allow(unused_variables)]
19191    fn compute_size(&self) -> u64 {
19192        let mut my_size = 0;
19193        if let Some(v) = self.browser_handle {
19194            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
19195        }
19196        if let Some(v) = self.nTargetFrameRate {
19197            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
19198        }
19199        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
19200        self.special_fields.cached_size().set(my_size as u32);
19201        my_size
19202    }
19203
19204    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19205        if let Some(v) = self.browser_handle {
19206            os.write_uint32(1, v)?;
19207        }
19208        if let Some(v) = self.nTargetFrameRate {
19209            os.write_uint32(2, v)?;
19210        }
19211        os.write_unknown_fields(self.special_fields.unknown_fields())?;
19212        ::std::result::Result::Ok(())
19213    }
19214
19215    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19216        &self.special_fields
19217    }
19218
19219    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19220        &mut self.special_fields
19221    }
19222
19223    fn new() -> CMsgSetTargetFrameRate {
19224        CMsgSetTargetFrameRate::new()
19225    }
19226
19227    fn clear(&mut self) {
19228        self.browser_handle = ::std::option::Option::None;
19229        self.nTargetFrameRate = ::std::option::Option::None;
19230        self.special_fields.clear();
19231    }
19232
19233    fn default_instance() -> &'static CMsgSetTargetFrameRate {
19234        static instance: CMsgSetTargetFrameRate = CMsgSetTargetFrameRate {
19235            browser_handle: ::std::option::Option::None,
19236            nTargetFrameRate: ::std::option::Option::None,
19237            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
19238        };
19239        &instance
19240    }
19241}
19242
19243// @@protoc_insertion_point(message:CMsgPauseRepaint)
19244#[derive(PartialEq,Clone,Default,Debug)]
19245pub struct CMsgPauseRepaint {
19246    // message fields
19247    // @@protoc_insertion_point(field:CMsgPauseRepaint.browser_handle)
19248    pub browser_handle: ::std::option::Option<u32>,
19249    // special fields
19250    // @@protoc_insertion_point(special_field:CMsgPauseRepaint.special_fields)
19251    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
19252}
19253
19254impl<'a> ::std::default::Default for &'a CMsgPauseRepaint {
19255    fn default() -> &'a CMsgPauseRepaint {
19256        <CMsgPauseRepaint as ::steam_vent_proto_common::protobuf::Message>::default_instance()
19257    }
19258}
19259
19260impl CMsgPauseRepaint {
19261    pub fn new() -> CMsgPauseRepaint {
19262        ::std::default::Default::default()
19263    }
19264
19265    // optional uint32 browser_handle = 1;
19266
19267    pub fn browser_handle(&self) -> u32 {
19268        self.browser_handle.unwrap_or(0)
19269    }
19270
19271    pub fn clear_browser_handle(&mut self) {
19272        self.browser_handle = ::std::option::Option::None;
19273    }
19274
19275    pub fn has_browser_handle(&self) -> bool {
19276        self.browser_handle.is_some()
19277    }
19278
19279    // Param is passed by value, moved
19280    pub fn set_browser_handle(&mut self, v: u32) {
19281        self.browser_handle = ::std::option::Option::Some(v);
19282    }
19283}
19284
19285impl ::steam_vent_proto_common::protobuf::Message for CMsgPauseRepaint {
19286    const NAME: &'static str = "CMsgPauseRepaint";
19287
19288    fn is_initialized(&self) -> bool {
19289        true
19290    }
19291
19292    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19293        while let Some(tag) = is.read_raw_tag_or_eof()? {
19294            match tag {
19295                8 => {
19296                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
19297                },
19298                tag => {
19299                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
19300                },
19301            };
19302        }
19303        ::std::result::Result::Ok(())
19304    }
19305
19306    // Compute sizes of nested messages
19307    #[allow(unused_variables)]
19308    fn compute_size(&self) -> u64 {
19309        let mut my_size = 0;
19310        if let Some(v) = self.browser_handle {
19311            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
19312        }
19313        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
19314        self.special_fields.cached_size().set(my_size as u32);
19315        my_size
19316    }
19317
19318    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19319        if let Some(v) = self.browser_handle {
19320            os.write_uint32(1, v)?;
19321        }
19322        os.write_unknown_fields(self.special_fields.unknown_fields())?;
19323        ::std::result::Result::Ok(())
19324    }
19325
19326    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19327        &self.special_fields
19328    }
19329
19330    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19331        &mut self.special_fields
19332    }
19333
19334    fn new() -> CMsgPauseRepaint {
19335        CMsgPauseRepaint::new()
19336    }
19337
19338    fn clear(&mut self) {
19339        self.browser_handle = ::std::option::Option::None;
19340        self.special_fields.clear();
19341    }
19342
19343    fn default_instance() -> &'static CMsgPauseRepaint {
19344        static instance: CMsgPauseRepaint = CMsgPauseRepaint {
19345            browser_handle: ::std::option::Option::None,
19346            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
19347        };
19348        &instance
19349    }
19350}
19351
19352// @@protoc_insertion_point(message:CMsgFullRepaint)
19353#[derive(PartialEq,Clone,Default,Debug)]
19354pub struct CMsgFullRepaint {
19355    // message fields
19356    // @@protoc_insertion_point(field:CMsgFullRepaint.browser_handle)
19357    pub browser_handle: ::std::option::Option<u32>,
19358    // special fields
19359    // @@protoc_insertion_point(special_field:CMsgFullRepaint.special_fields)
19360    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
19361}
19362
19363impl<'a> ::std::default::Default for &'a CMsgFullRepaint {
19364    fn default() -> &'a CMsgFullRepaint {
19365        <CMsgFullRepaint as ::steam_vent_proto_common::protobuf::Message>::default_instance()
19366    }
19367}
19368
19369impl CMsgFullRepaint {
19370    pub fn new() -> CMsgFullRepaint {
19371        ::std::default::Default::default()
19372    }
19373
19374    // optional uint32 browser_handle = 1;
19375
19376    pub fn browser_handle(&self) -> u32 {
19377        self.browser_handle.unwrap_or(0)
19378    }
19379
19380    pub fn clear_browser_handle(&mut self) {
19381        self.browser_handle = ::std::option::Option::None;
19382    }
19383
19384    pub fn has_browser_handle(&self) -> bool {
19385        self.browser_handle.is_some()
19386    }
19387
19388    // Param is passed by value, moved
19389    pub fn set_browser_handle(&mut self, v: u32) {
19390        self.browser_handle = ::std::option::Option::Some(v);
19391    }
19392}
19393
19394impl ::steam_vent_proto_common::protobuf::Message for CMsgFullRepaint {
19395    const NAME: &'static str = "CMsgFullRepaint";
19396
19397    fn is_initialized(&self) -> bool {
19398        true
19399    }
19400
19401    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19402        while let Some(tag) = is.read_raw_tag_or_eof()? {
19403            match tag {
19404                8 => {
19405                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
19406                },
19407                tag => {
19408                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
19409                },
19410            };
19411        }
19412        ::std::result::Result::Ok(())
19413    }
19414
19415    // Compute sizes of nested messages
19416    #[allow(unused_variables)]
19417    fn compute_size(&self) -> u64 {
19418        let mut my_size = 0;
19419        if let Some(v) = self.browser_handle {
19420            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
19421        }
19422        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
19423        self.special_fields.cached_size().set(my_size as u32);
19424        my_size
19425    }
19426
19427    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19428        if let Some(v) = self.browser_handle {
19429            os.write_uint32(1, v)?;
19430        }
19431        os.write_unknown_fields(self.special_fields.unknown_fields())?;
19432        ::std::result::Result::Ok(())
19433    }
19434
19435    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19436        &self.special_fields
19437    }
19438
19439    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19440        &mut self.special_fields
19441    }
19442
19443    fn new() -> CMsgFullRepaint {
19444        CMsgFullRepaint::new()
19445    }
19446
19447    fn clear(&mut self) {
19448        self.browser_handle = ::std::option::Option::None;
19449        self.special_fields.clear();
19450    }
19451
19452    fn default_instance() -> &'static CMsgFullRepaint {
19453        static instance: CMsgFullRepaint = CMsgFullRepaint {
19454            browser_handle: ::std::option::Option::None,
19455            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
19456        };
19457        &instance
19458    }
19459}
19460
19461// @@protoc_insertion_point(message:CMsgRequestFullScreen)
19462#[derive(PartialEq,Clone,Default,Debug)]
19463pub struct CMsgRequestFullScreen {
19464    // message fields
19465    // @@protoc_insertion_point(field:CMsgRequestFullScreen.browser_handle)
19466    pub browser_handle: ::std::option::Option<u32>,
19467    // special fields
19468    // @@protoc_insertion_point(special_field:CMsgRequestFullScreen.special_fields)
19469    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
19470}
19471
19472impl<'a> ::std::default::Default for &'a CMsgRequestFullScreen {
19473    fn default() -> &'a CMsgRequestFullScreen {
19474        <CMsgRequestFullScreen as ::steam_vent_proto_common::protobuf::Message>::default_instance()
19475    }
19476}
19477
19478impl CMsgRequestFullScreen {
19479    pub fn new() -> CMsgRequestFullScreen {
19480        ::std::default::Default::default()
19481    }
19482
19483    // optional uint32 browser_handle = 1;
19484
19485    pub fn browser_handle(&self) -> u32 {
19486        self.browser_handle.unwrap_or(0)
19487    }
19488
19489    pub fn clear_browser_handle(&mut self) {
19490        self.browser_handle = ::std::option::Option::None;
19491    }
19492
19493    pub fn has_browser_handle(&self) -> bool {
19494        self.browser_handle.is_some()
19495    }
19496
19497    // Param is passed by value, moved
19498    pub fn set_browser_handle(&mut self, v: u32) {
19499        self.browser_handle = ::std::option::Option::Some(v);
19500    }
19501}
19502
19503impl ::steam_vent_proto_common::protobuf::Message for CMsgRequestFullScreen {
19504    const NAME: &'static str = "CMsgRequestFullScreen";
19505
19506    fn is_initialized(&self) -> bool {
19507        true
19508    }
19509
19510    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19511        while let Some(tag) = is.read_raw_tag_or_eof()? {
19512            match tag {
19513                8 => {
19514                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
19515                },
19516                tag => {
19517                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
19518                },
19519            };
19520        }
19521        ::std::result::Result::Ok(())
19522    }
19523
19524    // Compute sizes of nested messages
19525    #[allow(unused_variables)]
19526    fn compute_size(&self) -> u64 {
19527        let mut my_size = 0;
19528        if let Some(v) = self.browser_handle {
19529            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
19530        }
19531        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
19532        self.special_fields.cached_size().set(my_size as u32);
19533        my_size
19534    }
19535
19536    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19537        if let Some(v) = self.browser_handle {
19538            os.write_uint32(1, v)?;
19539        }
19540        os.write_unknown_fields(self.special_fields.unknown_fields())?;
19541        ::std::result::Result::Ok(())
19542    }
19543
19544    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19545        &self.special_fields
19546    }
19547
19548    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19549        &mut self.special_fields
19550    }
19551
19552    fn new() -> CMsgRequestFullScreen {
19553        CMsgRequestFullScreen::new()
19554    }
19555
19556    fn clear(&mut self) {
19557        self.browser_handle = ::std::option::Option::None;
19558        self.special_fields.clear();
19559    }
19560
19561    fn default_instance() -> &'static CMsgRequestFullScreen {
19562        static instance: CMsgRequestFullScreen = CMsgRequestFullScreen {
19563            browser_handle: ::std::option::Option::None,
19564            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
19565        };
19566        &instance
19567    }
19568}
19569
19570// @@protoc_insertion_point(message:CMsgExitFullScreen)
19571#[derive(PartialEq,Clone,Default,Debug)]
19572pub struct CMsgExitFullScreen {
19573    // message fields
19574    // @@protoc_insertion_point(field:CMsgExitFullScreen.browser_handle)
19575    pub browser_handle: ::std::option::Option<u32>,
19576    // special fields
19577    // @@protoc_insertion_point(special_field:CMsgExitFullScreen.special_fields)
19578    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
19579}
19580
19581impl<'a> ::std::default::Default for &'a CMsgExitFullScreen {
19582    fn default() -> &'a CMsgExitFullScreen {
19583        <CMsgExitFullScreen as ::steam_vent_proto_common::protobuf::Message>::default_instance()
19584    }
19585}
19586
19587impl CMsgExitFullScreen {
19588    pub fn new() -> CMsgExitFullScreen {
19589        ::std::default::Default::default()
19590    }
19591
19592    // optional uint32 browser_handle = 1;
19593
19594    pub fn browser_handle(&self) -> u32 {
19595        self.browser_handle.unwrap_or(0)
19596    }
19597
19598    pub fn clear_browser_handle(&mut self) {
19599        self.browser_handle = ::std::option::Option::None;
19600    }
19601
19602    pub fn has_browser_handle(&self) -> bool {
19603        self.browser_handle.is_some()
19604    }
19605
19606    // Param is passed by value, moved
19607    pub fn set_browser_handle(&mut self, v: u32) {
19608        self.browser_handle = ::std::option::Option::Some(v);
19609    }
19610}
19611
19612impl ::steam_vent_proto_common::protobuf::Message for CMsgExitFullScreen {
19613    const NAME: &'static str = "CMsgExitFullScreen";
19614
19615    fn is_initialized(&self) -> bool {
19616        true
19617    }
19618
19619    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19620        while let Some(tag) = is.read_raw_tag_or_eof()? {
19621            match tag {
19622                8 => {
19623                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
19624                },
19625                tag => {
19626                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
19627                },
19628            };
19629        }
19630        ::std::result::Result::Ok(())
19631    }
19632
19633    // Compute sizes of nested messages
19634    #[allow(unused_variables)]
19635    fn compute_size(&self) -> u64 {
19636        let mut my_size = 0;
19637        if let Some(v) = self.browser_handle {
19638            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
19639        }
19640        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
19641        self.special_fields.cached_size().set(my_size as u32);
19642        my_size
19643    }
19644
19645    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19646        if let Some(v) = self.browser_handle {
19647            os.write_uint32(1, v)?;
19648        }
19649        os.write_unknown_fields(self.special_fields.unknown_fields())?;
19650        ::std::result::Result::Ok(())
19651    }
19652
19653    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19654        &self.special_fields
19655    }
19656
19657    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19658        &mut self.special_fields
19659    }
19660
19661    fn new() -> CMsgExitFullScreen {
19662        CMsgExitFullScreen::new()
19663    }
19664
19665    fn clear(&mut self) {
19666        self.browser_handle = ::std::option::Option::None;
19667        self.special_fields.clear();
19668    }
19669
19670    fn default_instance() -> &'static CMsgExitFullScreen {
19671        static instance: CMsgExitFullScreen = CMsgExitFullScreen {
19672            browser_handle: ::std::option::Option::None,
19673            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
19674        };
19675        &instance
19676    }
19677}
19678
19679// @@protoc_insertion_point(message:CMsgToggleFindInPageDialog)
19680#[derive(PartialEq,Clone,Default,Debug)]
19681pub struct CMsgToggleFindInPageDialog {
19682    // message fields
19683    // @@protoc_insertion_point(field:CMsgToggleFindInPageDialog.browser_handle)
19684    pub browser_handle: ::std::option::Option<u32>,
19685    // special fields
19686    // @@protoc_insertion_point(special_field:CMsgToggleFindInPageDialog.special_fields)
19687    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
19688}
19689
19690impl<'a> ::std::default::Default for &'a CMsgToggleFindInPageDialog {
19691    fn default() -> &'a CMsgToggleFindInPageDialog {
19692        <CMsgToggleFindInPageDialog as ::steam_vent_proto_common::protobuf::Message>::default_instance()
19693    }
19694}
19695
19696impl CMsgToggleFindInPageDialog {
19697    pub fn new() -> CMsgToggleFindInPageDialog {
19698        ::std::default::Default::default()
19699    }
19700
19701    // optional uint32 browser_handle = 1;
19702
19703    pub fn browser_handle(&self) -> u32 {
19704        self.browser_handle.unwrap_or(0)
19705    }
19706
19707    pub fn clear_browser_handle(&mut self) {
19708        self.browser_handle = ::std::option::Option::None;
19709    }
19710
19711    pub fn has_browser_handle(&self) -> bool {
19712        self.browser_handle.is_some()
19713    }
19714
19715    // Param is passed by value, moved
19716    pub fn set_browser_handle(&mut self, v: u32) {
19717        self.browser_handle = ::std::option::Option::Some(v);
19718    }
19719}
19720
19721impl ::steam_vent_proto_common::protobuf::Message for CMsgToggleFindInPageDialog {
19722    const NAME: &'static str = "CMsgToggleFindInPageDialog";
19723
19724    fn is_initialized(&self) -> bool {
19725        true
19726    }
19727
19728    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19729        while let Some(tag) = is.read_raw_tag_or_eof()? {
19730            match tag {
19731                8 => {
19732                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
19733                },
19734                tag => {
19735                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
19736                },
19737            };
19738        }
19739        ::std::result::Result::Ok(())
19740    }
19741
19742    // Compute sizes of nested messages
19743    #[allow(unused_variables)]
19744    fn compute_size(&self) -> u64 {
19745        let mut my_size = 0;
19746        if let Some(v) = self.browser_handle {
19747            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
19748        }
19749        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
19750        self.special_fields.cached_size().set(my_size as u32);
19751        my_size
19752    }
19753
19754    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19755        if let Some(v) = self.browser_handle {
19756            os.write_uint32(1, v)?;
19757        }
19758        os.write_unknown_fields(self.special_fields.unknown_fields())?;
19759        ::std::result::Result::Ok(())
19760    }
19761
19762    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19763        &self.special_fields
19764    }
19765
19766    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19767        &mut self.special_fields
19768    }
19769
19770    fn new() -> CMsgToggleFindInPageDialog {
19771        CMsgToggleFindInPageDialog::new()
19772    }
19773
19774    fn clear(&mut self) {
19775        self.browser_handle = ::std::option::Option::None;
19776        self.special_fields.clear();
19777    }
19778
19779    fn default_instance() -> &'static CMsgToggleFindInPageDialog {
19780        static instance: CMsgToggleFindInPageDialog = CMsgToggleFindInPageDialog {
19781            browser_handle: ::std::option::Option::None,
19782            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
19783        };
19784        &instance
19785    }
19786}
19787
19788// @@protoc_insertion_point(message:CMsgSetPIDShuttingDown)
19789#[derive(PartialEq,Clone,Default,Debug)]
19790pub struct CMsgSetPIDShuttingDown {
19791    // message fields
19792    // @@protoc_insertion_point(field:CMsgSetPIDShuttingDown.browser_handle)
19793    pub browser_handle: ::std::option::Option<u32>,
19794    // special fields
19795    // @@protoc_insertion_point(special_field:CMsgSetPIDShuttingDown.special_fields)
19796    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
19797}
19798
19799impl<'a> ::std::default::Default for &'a CMsgSetPIDShuttingDown {
19800    fn default() -> &'a CMsgSetPIDShuttingDown {
19801        <CMsgSetPIDShuttingDown as ::steam_vent_proto_common::protobuf::Message>::default_instance()
19802    }
19803}
19804
19805impl CMsgSetPIDShuttingDown {
19806    pub fn new() -> CMsgSetPIDShuttingDown {
19807        ::std::default::Default::default()
19808    }
19809
19810    // optional uint32 browser_handle = 1;
19811
19812    pub fn browser_handle(&self) -> u32 {
19813        self.browser_handle.unwrap_or(0)
19814    }
19815
19816    pub fn clear_browser_handle(&mut self) {
19817        self.browser_handle = ::std::option::Option::None;
19818    }
19819
19820    pub fn has_browser_handle(&self) -> bool {
19821        self.browser_handle.is_some()
19822    }
19823
19824    // Param is passed by value, moved
19825    pub fn set_browser_handle(&mut self, v: u32) {
19826        self.browser_handle = ::std::option::Option::Some(v);
19827    }
19828}
19829
19830impl ::steam_vent_proto_common::protobuf::Message for CMsgSetPIDShuttingDown {
19831    const NAME: &'static str = "CMsgSetPIDShuttingDown";
19832
19833    fn is_initialized(&self) -> bool {
19834        true
19835    }
19836
19837    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19838        while let Some(tag) = is.read_raw_tag_or_eof()? {
19839            match tag {
19840                8 => {
19841                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
19842                },
19843                tag => {
19844                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
19845                },
19846            };
19847        }
19848        ::std::result::Result::Ok(())
19849    }
19850
19851    // Compute sizes of nested messages
19852    #[allow(unused_variables)]
19853    fn compute_size(&self) -> u64 {
19854        let mut my_size = 0;
19855        if let Some(v) = self.browser_handle {
19856            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
19857        }
19858        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
19859        self.special_fields.cached_size().set(my_size as u32);
19860        my_size
19861    }
19862
19863    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19864        if let Some(v) = self.browser_handle {
19865            os.write_uint32(1, v)?;
19866        }
19867        os.write_unknown_fields(self.special_fields.unknown_fields())?;
19868        ::std::result::Result::Ok(())
19869    }
19870
19871    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19872        &self.special_fields
19873    }
19874
19875    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19876        &mut self.special_fields
19877    }
19878
19879    fn new() -> CMsgSetPIDShuttingDown {
19880        CMsgSetPIDShuttingDown::new()
19881    }
19882
19883    fn clear(&mut self) {
19884        self.browser_handle = ::std::option::Option::None;
19885        self.special_fields.clear();
19886    }
19887
19888    fn default_instance() -> &'static CMsgSetPIDShuttingDown {
19889        static instance: CMsgSetPIDShuttingDown = CMsgSetPIDShuttingDown {
19890            browser_handle: ::std::option::Option::None,
19891            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
19892        };
19893        &instance
19894    }
19895}
19896
19897// @@protoc_insertion_point(message:CMsgDisableBackgroundThrottling)
19898#[derive(PartialEq,Clone,Default,Debug)]
19899pub struct CMsgDisableBackgroundThrottling {
19900    // message fields
19901    // @@protoc_insertion_point(field:CMsgDisableBackgroundThrottling.browser_handle)
19902    pub browser_handle: ::std::option::Option<u32>,
19903    // special fields
19904    // @@protoc_insertion_point(special_field:CMsgDisableBackgroundThrottling.special_fields)
19905    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
19906}
19907
19908impl<'a> ::std::default::Default for &'a CMsgDisableBackgroundThrottling {
19909    fn default() -> &'a CMsgDisableBackgroundThrottling {
19910        <CMsgDisableBackgroundThrottling as ::steam_vent_proto_common::protobuf::Message>::default_instance()
19911    }
19912}
19913
19914impl CMsgDisableBackgroundThrottling {
19915    pub fn new() -> CMsgDisableBackgroundThrottling {
19916        ::std::default::Default::default()
19917    }
19918
19919    // optional uint32 browser_handle = 1;
19920
19921    pub fn browser_handle(&self) -> u32 {
19922        self.browser_handle.unwrap_or(0)
19923    }
19924
19925    pub fn clear_browser_handle(&mut self) {
19926        self.browser_handle = ::std::option::Option::None;
19927    }
19928
19929    pub fn has_browser_handle(&self) -> bool {
19930        self.browser_handle.is_some()
19931    }
19932
19933    // Param is passed by value, moved
19934    pub fn set_browser_handle(&mut self, v: u32) {
19935        self.browser_handle = ::std::option::Option::Some(v);
19936    }
19937}
19938
19939impl ::steam_vent_proto_common::protobuf::Message for CMsgDisableBackgroundThrottling {
19940    const NAME: &'static str = "CMsgDisableBackgroundThrottling";
19941
19942    fn is_initialized(&self) -> bool {
19943        true
19944    }
19945
19946    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19947        while let Some(tag) = is.read_raw_tag_or_eof()? {
19948            match tag {
19949                8 => {
19950                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
19951                },
19952                tag => {
19953                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
19954                },
19955            };
19956        }
19957        ::std::result::Result::Ok(())
19958    }
19959
19960    // Compute sizes of nested messages
19961    #[allow(unused_variables)]
19962    fn compute_size(&self) -> u64 {
19963        let mut my_size = 0;
19964        if let Some(v) = self.browser_handle {
19965            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
19966        }
19967        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
19968        self.special_fields.cached_size().set(my_size as u32);
19969        my_size
19970    }
19971
19972    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19973        if let Some(v) = self.browser_handle {
19974            os.write_uint32(1, v)?;
19975        }
19976        os.write_unknown_fields(self.special_fields.unknown_fields())?;
19977        ::std::result::Result::Ok(())
19978    }
19979
19980    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19981        &self.special_fields
19982    }
19983
19984    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19985        &mut self.special_fields
19986    }
19987
19988    fn new() -> CMsgDisableBackgroundThrottling {
19989        CMsgDisableBackgroundThrottling::new()
19990    }
19991
19992    fn clear(&mut self) {
19993        self.browser_handle = ::std::option::Option::None;
19994        self.special_fields.clear();
19995    }
19996
19997    fn default_instance() -> &'static CMsgDisableBackgroundThrottling {
19998        static instance: CMsgDisableBackgroundThrottling = CMsgDisableBackgroundThrottling {
19999            browser_handle: ::std::option::Option::None,
20000            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
20001        };
20002        &instance
20003    }
20004}
20005
20006// @@protoc_insertion_point(message:CMsgAckPIDShuttingDown)
20007#[derive(PartialEq,Clone,Default,Debug)]
20008pub struct CMsgAckPIDShuttingDown {
20009    // message fields
20010    // @@protoc_insertion_point(field:CMsgAckPIDShuttingDown.browser_handle)
20011    pub browser_handle: ::std::option::Option<u32>,
20012    // special fields
20013    // @@protoc_insertion_point(special_field:CMsgAckPIDShuttingDown.special_fields)
20014    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
20015}
20016
20017impl<'a> ::std::default::Default for &'a CMsgAckPIDShuttingDown {
20018    fn default() -> &'a CMsgAckPIDShuttingDown {
20019        <CMsgAckPIDShuttingDown as ::steam_vent_proto_common::protobuf::Message>::default_instance()
20020    }
20021}
20022
20023impl CMsgAckPIDShuttingDown {
20024    pub fn new() -> CMsgAckPIDShuttingDown {
20025        ::std::default::Default::default()
20026    }
20027
20028    // optional uint32 browser_handle = 1;
20029
20030    pub fn browser_handle(&self) -> u32 {
20031        self.browser_handle.unwrap_or(0)
20032    }
20033
20034    pub fn clear_browser_handle(&mut self) {
20035        self.browser_handle = ::std::option::Option::None;
20036    }
20037
20038    pub fn has_browser_handle(&self) -> bool {
20039        self.browser_handle.is_some()
20040    }
20041
20042    // Param is passed by value, moved
20043    pub fn set_browser_handle(&mut self, v: u32) {
20044        self.browser_handle = ::std::option::Option::Some(v);
20045    }
20046}
20047
20048impl ::steam_vent_proto_common::protobuf::Message for CMsgAckPIDShuttingDown {
20049    const NAME: &'static str = "CMsgAckPIDShuttingDown";
20050
20051    fn is_initialized(&self) -> bool {
20052        true
20053    }
20054
20055    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20056        while let Some(tag) = is.read_raw_tag_or_eof()? {
20057            match tag {
20058                8 => {
20059                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
20060                },
20061                tag => {
20062                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
20063                },
20064            };
20065        }
20066        ::std::result::Result::Ok(())
20067    }
20068
20069    // Compute sizes of nested messages
20070    #[allow(unused_variables)]
20071    fn compute_size(&self) -> u64 {
20072        let mut my_size = 0;
20073        if let Some(v) = self.browser_handle {
20074            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
20075        }
20076        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
20077        self.special_fields.cached_size().set(my_size as u32);
20078        my_size
20079    }
20080
20081    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20082        if let Some(v) = self.browser_handle {
20083            os.write_uint32(1, v)?;
20084        }
20085        os.write_unknown_fields(self.special_fields.unknown_fields())?;
20086        ::std::result::Result::Ok(())
20087    }
20088
20089    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
20090        &self.special_fields
20091    }
20092
20093    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
20094        &mut self.special_fields
20095    }
20096
20097    fn new() -> CMsgAckPIDShuttingDown {
20098        CMsgAckPIDShuttingDown::new()
20099    }
20100
20101    fn clear(&mut self) {
20102        self.browser_handle = ::std::option::Option::None;
20103        self.special_fields.clear();
20104    }
20105
20106    fn default_instance() -> &'static CMsgAckPIDShuttingDown {
20107        static instance: CMsgAckPIDShuttingDown = CMsgAckPIDShuttingDown {
20108            browser_handle: ::std::option::Option::None,
20109            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
20110        };
20111        &instance
20112    }
20113}
20114
20115// @@protoc_insertion_point(message:CMsgGetCookiesForURL)
20116#[derive(PartialEq,Clone,Default,Debug)]
20117pub struct CMsgGetCookiesForURL {
20118    // message fields
20119    // @@protoc_insertion_point(field:CMsgGetCookiesForURL.browser_handle)
20120    pub browser_handle: ::std::option::Option<u32>,
20121    // @@protoc_insertion_point(field:CMsgGetCookiesForURL.url)
20122    pub url: ::std::option::Option<::std::string::String>,
20123    // special fields
20124    // @@protoc_insertion_point(special_field:CMsgGetCookiesForURL.special_fields)
20125    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
20126}
20127
20128impl<'a> ::std::default::Default for &'a CMsgGetCookiesForURL {
20129    fn default() -> &'a CMsgGetCookiesForURL {
20130        <CMsgGetCookiesForURL as ::steam_vent_proto_common::protobuf::Message>::default_instance()
20131    }
20132}
20133
20134impl CMsgGetCookiesForURL {
20135    pub fn new() -> CMsgGetCookiesForURL {
20136        ::std::default::Default::default()
20137    }
20138
20139    // optional uint32 browser_handle = 1;
20140
20141    pub fn browser_handle(&self) -> u32 {
20142        self.browser_handle.unwrap_or(0)
20143    }
20144
20145    pub fn clear_browser_handle(&mut self) {
20146        self.browser_handle = ::std::option::Option::None;
20147    }
20148
20149    pub fn has_browser_handle(&self) -> bool {
20150        self.browser_handle.is_some()
20151    }
20152
20153    // Param is passed by value, moved
20154    pub fn set_browser_handle(&mut self, v: u32) {
20155        self.browser_handle = ::std::option::Option::Some(v);
20156    }
20157
20158    // optional string url = 2;
20159
20160    pub fn url(&self) -> &str {
20161        match self.url.as_ref() {
20162            Some(v) => v,
20163            None => "",
20164        }
20165    }
20166
20167    pub fn clear_url(&mut self) {
20168        self.url = ::std::option::Option::None;
20169    }
20170
20171    pub fn has_url(&self) -> bool {
20172        self.url.is_some()
20173    }
20174
20175    // Param is passed by value, moved
20176    pub fn set_url(&mut self, v: ::std::string::String) {
20177        self.url = ::std::option::Option::Some(v);
20178    }
20179
20180    // Mutable pointer to the field.
20181    // If field is not initialized, it is initialized with default value first.
20182    pub fn mut_url(&mut self) -> &mut ::std::string::String {
20183        if self.url.is_none() {
20184            self.url = ::std::option::Option::Some(::std::string::String::new());
20185        }
20186        self.url.as_mut().unwrap()
20187    }
20188
20189    // Take field
20190    pub fn take_url(&mut self) -> ::std::string::String {
20191        self.url.take().unwrap_or_else(|| ::std::string::String::new())
20192    }
20193}
20194
20195impl ::steam_vent_proto_common::protobuf::Message for CMsgGetCookiesForURL {
20196    const NAME: &'static str = "CMsgGetCookiesForURL";
20197
20198    fn is_initialized(&self) -> bool {
20199        true
20200    }
20201
20202    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20203        while let Some(tag) = is.read_raw_tag_or_eof()? {
20204            match tag {
20205                8 => {
20206                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
20207                },
20208                18 => {
20209                    self.url = ::std::option::Option::Some(is.read_string()?);
20210                },
20211                tag => {
20212                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
20213                },
20214            };
20215        }
20216        ::std::result::Result::Ok(())
20217    }
20218
20219    // Compute sizes of nested messages
20220    #[allow(unused_variables)]
20221    fn compute_size(&self) -> u64 {
20222        let mut my_size = 0;
20223        if let Some(v) = self.browser_handle {
20224            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
20225        }
20226        if let Some(v) = self.url.as_ref() {
20227            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
20228        }
20229        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
20230        self.special_fields.cached_size().set(my_size as u32);
20231        my_size
20232    }
20233
20234    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20235        if let Some(v) = self.browser_handle {
20236            os.write_uint32(1, v)?;
20237        }
20238        if let Some(v) = self.url.as_ref() {
20239            os.write_string(2, v)?;
20240        }
20241        os.write_unknown_fields(self.special_fields.unknown_fields())?;
20242        ::std::result::Result::Ok(())
20243    }
20244
20245    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
20246        &self.special_fields
20247    }
20248
20249    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
20250        &mut self.special_fields
20251    }
20252
20253    fn new() -> CMsgGetCookiesForURL {
20254        CMsgGetCookiesForURL::new()
20255    }
20256
20257    fn clear(&mut self) {
20258        self.browser_handle = ::std::option::Option::None;
20259        self.url = ::std::option::Option::None;
20260        self.special_fields.clear();
20261    }
20262
20263    fn default_instance() -> &'static CMsgGetCookiesForURL {
20264        static instance: CMsgGetCookiesForURL = CMsgGetCookiesForURL {
20265            browser_handle: ::std::option::Option::None,
20266            url: ::std::option::Option::None,
20267            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
20268        };
20269        &instance
20270    }
20271}
20272
20273// @@protoc_insertion_point(message:CCookie)
20274#[derive(PartialEq,Clone,Default,Debug)]
20275pub struct CCookie {
20276    // message fields
20277    // @@protoc_insertion_point(field:CCookie.name)
20278    pub name: ::std::option::Option<::std::string::String>,
20279    // @@protoc_insertion_point(field:CCookie.value)
20280    pub value: ::std::option::Option<::std::string::String>,
20281    // @@protoc_insertion_point(field:CCookie.domain)
20282    pub domain: ::std::option::Option<::std::string::String>,
20283    // @@protoc_insertion_point(field:CCookie.path)
20284    pub path: ::std::option::Option<::std::string::String>,
20285    // special fields
20286    // @@protoc_insertion_point(special_field:CCookie.special_fields)
20287    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
20288}
20289
20290impl<'a> ::std::default::Default for &'a CCookie {
20291    fn default() -> &'a CCookie {
20292        <CCookie as ::steam_vent_proto_common::protobuf::Message>::default_instance()
20293    }
20294}
20295
20296impl CCookie {
20297    pub fn new() -> CCookie {
20298        ::std::default::Default::default()
20299    }
20300
20301    // optional string name = 1;
20302
20303    pub fn name(&self) -> &str {
20304        match self.name.as_ref() {
20305            Some(v) => v,
20306            None => "",
20307        }
20308    }
20309
20310    pub fn clear_name(&mut self) {
20311        self.name = ::std::option::Option::None;
20312    }
20313
20314    pub fn has_name(&self) -> bool {
20315        self.name.is_some()
20316    }
20317
20318    // Param is passed by value, moved
20319    pub fn set_name(&mut self, v: ::std::string::String) {
20320        self.name = ::std::option::Option::Some(v);
20321    }
20322
20323    // Mutable pointer to the field.
20324    // If field is not initialized, it is initialized with default value first.
20325    pub fn mut_name(&mut self) -> &mut ::std::string::String {
20326        if self.name.is_none() {
20327            self.name = ::std::option::Option::Some(::std::string::String::new());
20328        }
20329        self.name.as_mut().unwrap()
20330    }
20331
20332    // Take field
20333    pub fn take_name(&mut self) -> ::std::string::String {
20334        self.name.take().unwrap_or_else(|| ::std::string::String::new())
20335    }
20336
20337    // optional string value = 2;
20338
20339    pub fn value(&self) -> &str {
20340        match self.value.as_ref() {
20341            Some(v) => v,
20342            None => "",
20343        }
20344    }
20345
20346    pub fn clear_value(&mut self) {
20347        self.value = ::std::option::Option::None;
20348    }
20349
20350    pub fn has_value(&self) -> bool {
20351        self.value.is_some()
20352    }
20353
20354    // Param is passed by value, moved
20355    pub fn set_value(&mut self, v: ::std::string::String) {
20356        self.value = ::std::option::Option::Some(v);
20357    }
20358
20359    // Mutable pointer to the field.
20360    // If field is not initialized, it is initialized with default value first.
20361    pub fn mut_value(&mut self) -> &mut ::std::string::String {
20362        if self.value.is_none() {
20363            self.value = ::std::option::Option::Some(::std::string::String::new());
20364        }
20365        self.value.as_mut().unwrap()
20366    }
20367
20368    // Take field
20369    pub fn take_value(&mut self) -> ::std::string::String {
20370        self.value.take().unwrap_or_else(|| ::std::string::String::new())
20371    }
20372
20373    // optional string domain = 3;
20374
20375    pub fn domain(&self) -> &str {
20376        match self.domain.as_ref() {
20377            Some(v) => v,
20378            None => "",
20379        }
20380    }
20381
20382    pub fn clear_domain(&mut self) {
20383        self.domain = ::std::option::Option::None;
20384    }
20385
20386    pub fn has_domain(&self) -> bool {
20387        self.domain.is_some()
20388    }
20389
20390    // Param is passed by value, moved
20391    pub fn set_domain(&mut self, v: ::std::string::String) {
20392        self.domain = ::std::option::Option::Some(v);
20393    }
20394
20395    // Mutable pointer to the field.
20396    // If field is not initialized, it is initialized with default value first.
20397    pub fn mut_domain(&mut self) -> &mut ::std::string::String {
20398        if self.domain.is_none() {
20399            self.domain = ::std::option::Option::Some(::std::string::String::new());
20400        }
20401        self.domain.as_mut().unwrap()
20402    }
20403
20404    // Take field
20405    pub fn take_domain(&mut self) -> ::std::string::String {
20406        self.domain.take().unwrap_or_else(|| ::std::string::String::new())
20407    }
20408
20409    // optional string path = 4;
20410
20411    pub fn path(&self) -> &str {
20412        match self.path.as_ref() {
20413            Some(v) => v,
20414            None => "",
20415        }
20416    }
20417
20418    pub fn clear_path(&mut self) {
20419        self.path = ::std::option::Option::None;
20420    }
20421
20422    pub fn has_path(&self) -> bool {
20423        self.path.is_some()
20424    }
20425
20426    // Param is passed by value, moved
20427    pub fn set_path(&mut self, v: ::std::string::String) {
20428        self.path = ::std::option::Option::Some(v);
20429    }
20430
20431    // Mutable pointer to the field.
20432    // If field is not initialized, it is initialized with default value first.
20433    pub fn mut_path(&mut self) -> &mut ::std::string::String {
20434        if self.path.is_none() {
20435            self.path = ::std::option::Option::Some(::std::string::String::new());
20436        }
20437        self.path.as_mut().unwrap()
20438    }
20439
20440    // Take field
20441    pub fn take_path(&mut self) -> ::std::string::String {
20442        self.path.take().unwrap_or_else(|| ::std::string::String::new())
20443    }
20444}
20445
20446impl ::steam_vent_proto_common::protobuf::Message for CCookie {
20447    const NAME: &'static str = "CCookie";
20448
20449    fn is_initialized(&self) -> bool {
20450        true
20451    }
20452
20453    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20454        while let Some(tag) = is.read_raw_tag_or_eof()? {
20455            match tag {
20456                10 => {
20457                    self.name = ::std::option::Option::Some(is.read_string()?);
20458                },
20459                18 => {
20460                    self.value = ::std::option::Option::Some(is.read_string()?);
20461                },
20462                26 => {
20463                    self.domain = ::std::option::Option::Some(is.read_string()?);
20464                },
20465                34 => {
20466                    self.path = ::std::option::Option::Some(is.read_string()?);
20467                },
20468                tag => {
20469                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
20470                },
20471            };
20472        }
20473        ::std::result::Result::Ok(())
20474    }
20475
20476    // Compute sizes of nested messages
20477    #[allow(unused_variables)]
20478    fn compute_size(&self) -> u64 {
20479        let mut my_size = 0;
20480        if let Some(v) = self.name.as_ref() {
20481            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
20482        }
20483        if let Some(v) = self.value.as_ref() {
20484            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
20485        }
20486        if let Some(v) = self.domain.as_ref() {
20487            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
20488        }
20489        if let Some(v) = self.path.as_ref() {
20490            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
20491        }
20492        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
20493        self.special_fields.cached_size().set(my_size as u32);
20494        my_size
20495    }
20496
20497    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20498        if let Some(v) = self.name.as_ref() {
20499            os.write_string(1, v)?;
20500        }
20501        if let Some(v) = self.value.as_ref() {
20502            os.write_string(2, v)?;
20503        }
20504        if let Some(v) = self.domain.as_ref() {
20505            os.write_string(3, v)?;
20506        }
20507        if let Some(v) = self.path.as_ref() {
20508            os.write_string(4, v)?;
20509        }
20510        os.write_unknown_fields(self.special_fields.unknown_fields())?;
20511        ::std::result::Result::Ok(())
20512    }
20513
20514    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
20515        &self.special_fields
20516    }
20517
20518    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
20519        &mut self.special_fields
20520    }
20521
20522    fn new() -> CCookie {
20523        CCookie::new()
20524    }
20525
20526    fn clear(&mut self) {
20527        self.name = ::std::option::Option::None;
20528        self.value = ::std::option::Option::None;
20529        self.domain = ::std::option::Option::None;
20530        self.path = ::std::option::Option::None;
20531        self.special_fields.clear();
20532    }
20533
20534    fn default_instance() -> &'static CCookie {
20535        static instance: CCookie = CCookie {
20536            name: ::std::option::Option::None,
20537            value: ::std::option::Option::None,
20538            domain: ::std::option::Option::None,
20539            path: ::std::option::Option::None,
20540            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
20541        };
20542        &instance
20543    }
20544}
20545
20546// @@protoc_insertion_point(message:CMsgGetCookiesForURLResponse)
20547#[derive(PartialEq,Clone,Default,Debug)]
20548pub struct CMsgGetCookiesForURLResponse {
20549    // message fields
20550    // @@protoc_insertion_point(field:CMsgGetCookiesForURLResponse.browser_handle)
20551    pub browser_handle: ::std::option::Option<u32>,
20552    // @@protoc_insertion_point(field:CMsgGetCookiesForURLResponse.url)
20553    pub url: ::std::option::Option<::std::string::String>,
20554    // @@protoc_insertion_point(field:CMsgGetCookiesForURLResponse.cookies)
20555    pub cookies: ::std::vec::Vec<CCookie>,
20556    // special fields
20557    // @@protoc_insertion_point(special_field:CMsgGetCookiesForURLResponse.special_fields)
20558    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
20559}
20560
20561impl<'a> ::std::default::Default for &'a CMsgGetCookiesForURLResponse {
20562    fn default() -> &'a CMsgGetCookiesForURLResponse {
20563        <CMsgGetCookiesForURLResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
20564    }
20565}
20566
20567impl CMsgGetCookiesForURLResponse {
20568    pub fn new() -> CMsgGetCookiesForURLResponse {
20569        ::std::default::Default::default()
20570    }
20571
20572    // optional uint32 browser_handle = 1;
20573
20574    pub fn browser_handle(&self) -> u32 {
20575        self.browser_handle.unwrap_or(0)
20576    }
20577
20578    pub fn clear_browser_handle(&mut self) {
20579        self.browser_handle = ::std::option::Option::None;
20580    }
20581
20582    pub fn has_browser_handle(&self) -> bool {
20583        self.browser_handle.is_some()
20584    }
20585
20586    // Param is passed by value, moved
20587    pub fn set_browser_handle(&mut self, v: u32) {
20588        self.browser_handle = ::std::option::Option::Some(v);
20589    }
20590
20591    // optional string url = 2;
20592
20593    pub fn url(&self) -> &str {
20594        match self.url.as_ref() {
20595            Some(v) => v,
20596            None => "",
20597        }
20598    }
20599
20600    pub fn clear_url(&mut self) {
20601        self.url = ::std::option::Option::None;
20602    }
20603
20604    pub fn has_url(&self) -> bool {
20605        self.url.is_some()
20606    }
20607
20608    // Param is passed by value, moved
20609    pub fn set_url(&mut self, v: ::std::string::String) {
20610        self.url = ::std::option::Option::Some(v);
20611    }
20612
20613    // Mutable pointer to the field.
20614    // If field is not initialized, it is initialized with default value first.
20615    pub fn mut_url(&mut self) -> &mut ::std::string::String {
20616        if self.url.is_none() {
20617            self.url = ::std::option::Option::Some(::std::string::String::new());
20618        }
20619        self.url.as_mut().unwrap()
20620    }
20621
20622    // Take field
20623    pub fn take_url(&mut self) -> ::std::string::String {
20624        self.url.take().unwrap_or_else(|| ::std::string::String::new())
20625    }
20626}
20627
20628impl ::steam_vent_proto_common::protobuf::Message for CMsgGetCookiesForURLResponse {
20629    const NAME: &'static str = "CMsgGetCookiesForURLResponse";
20630
20631    fn is_initialized(&self) -> bool {
20632        true
20633    }
20634
20635    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20636        while let Some(tag) = is.read_raw_tag_or_eof()? {
20637            match tag {
20638                8 => {
20639                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
20640                },
20641                18 => {
20642                    self.url = ::std::option::Option::Some(is.read_string()?);
20643                },
20644                26 => {
20645                    self.cookies.push(is.read_message()?);
20646                },
20647                tag => {
20648                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
20649                },
20650            };
20651        }
20652        ::std::result::Result::Ok(())
20653    }
20654
20655    // Compute sizes of nested messages
20656    #[allow(unused_variables)]
20657    fn compute_size(&self) -> u64 {
20658        let mut my_size = 0;
20659        if let Some(v) = self.browser_handle {
20660            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
20661        }
20662        if let Some(v) = self.url.as_ref() {
20663            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
20664        }
20665        for value in &self.cookies {
20666            let len = value.compute_size();
20667            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
20668        };
20669        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
20670        self.special_fields.cached_size().set(my_size as u32);
20671        my_size
20672    }
20673
20674    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20675        if let Some(v) = self.browser_handle {
20676            os.write_uint32(1, v)?;
20677        }
20678        if let Some(v) = self.url.as_ref() {
20679            os.write_string(2, v)?;
20680        }
20681        for v in &self.cookies {
20682            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
20683        };
20684        os.write_unknown_fields(self.special_fields.unknown_fields())?;
20685        ::std::result::Result::Ok(())
20686    }
20687
20688    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
20689        &self.special_fields
20690    }
20691
20692    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
20693        &mut self.special_fields
20694    }
20695
20696    fn new() -> CMsgGetCookiesForURLResponse {
20697        CMsgGetCookiesForURLResponse::new()
20698    }
20699
20700    fn clear(&mut self) {
20701        self.browser_handle = ::std::option::Option::None;
20702        self.url = ::std::option::Option::None;
20703        self.cookies.clear();
20704        self.special_fields.clear();
20705    }
20706
20707    fn default_instance() -> &'static CMsgGetCookiesForURLResponse {
20708        static instance: CMsgGetCookiesForURLResponse = CMsgGetCookiesForURLResponse {
20709            browser_handle: ::std::option::Option::None,
20710            url: ::std::option::Option::None,
20711            cookies: ::std::vec::Vec::new(),
20712            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
20713        };
20714        &instance
20715    }
20716}
20717
20718// @@protoc_insertion_point(message:CMsgNodeHasFocus)
20719#[derive(PartialEq,Clone,Default,Debug)]
20720pub struct CMsgNodeHasFocus {
20721    // message fields
20722    // @@protoc_insertion_point(field:CMsgNodeHasFocus.browser_handle)
20723    pub browser_handle: ::std::option::Option<u32>,
20724    // @@protoc_insertion_point(field:CMsgNodeHasFocus.bInput)
20725    pub bInput: ::std::option::Option<bool>,
20726    // @@protoc_insertion_point(field:CMsgNodeHasFocus.name)
20727    pub name: ::std::option::Option<::std::string::String>,
20728    // @@protoc_insertion_point(field:CMsgNodeHasFocus.elementtagname)
20729    pub elementtagname: ::std::option::Option<::std::string::String>,
20730    // @@protoc_insertion_point(field:CMsgNodeHasFocus.searchbuttontext)
20731    pub searchbuttontext: ::std::option::Option<::std::string::String>,
20732    // @@protoc_insertion_point(field:CMsgNodeHasFocus.bHasMultipleInputs)
20733    pub bHasMultipleInputs: ::std::option::Option<bool>,
20734    // @@protoc_insertion_point(field:CMsgNodeHasFocus.input_type)
20735    pub input_type: ::std::option::Option<::std::string::String>,
20736    // @@protoc_insertion_point(field:CMsgNodeHasFocus.bIsMainFrame)
20737    pub bIsMainFrame: ::std::option::Option<bool>,
20738    // special fields
20739    // @@protoc_insertion_point(special_field:CMsgNodeHasFocus.special_fields)
20740    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
20741}
20742
20743impl<'a> ::std::default::Default for &'a CMsgNodeHasFocus {
20744    fn default() -> &'a CMsgNodeHasFocus {
20745        <CMsgNodeHasFocus as ::steam_vent_proto_common::protobuf::Message>::default_instance()
20746    }
20747}
20748
20749impl CMsgNodeHasFocus {
20750    pub fn new() -> CMsgNodeHasFocus {
20751        ::std::default::Default::default()
20752    }
20753
20754    // optional uint32 browser_handle = 1;
20755
20756    pub fn browser_handle(&self) -> u32 {
20757        self.browser_handle.unwrap_or(0)
20758    }
20759
20760    pub fn clear_browser_handle(&mut self) {
20761        self.browser_handle = ::std::option::Option::None;
20762    }
20763
20764    pub fn has_browser_handle(&self) -> bool {
20765        self.browser_handle.is_some()
20766    }
20767
20768    // Param is passed by value, moved
20769    pub fn set_browser_handle(&mut self, v: u32) {
20770        self.browser_handle = ::std::option::Option::Some(v);
20771    }
20772
20773    // optional bool bInput = 2;
20774
20775    pub fn bInput(&self) -> bool {
20776        self.bInput.unwrap_or(false)
20777    }
20778
20779    pub fn clear_bInput(&mut self) {
20780        self.bInput = ::std::option::Option::None;
20781    }
20782
20783    pub fn has_bInput(&self) -> bool {
20784        self.bInput.is_some()
20785    }
20786
20787    // Param is passed by value, moved
20788    pub fn set_bInput(&mut self, v: bool) {
20789        self.bInput = ::std::option::Option::Some(v);
20790    }
20791
20792    // optional string name = 3;
20793
20794    pub fn name(&self) -> &str {
20795        match self.name.as_ref() {
20796            Some(v) => v,
20797            None => "",
20798        }
20799    }
20800
20801    pub fn clear_name(&mut self) {
20802        self.name = ::std::option::Option::None;
20803    }
20804
20805    pub fn has_name(&self) -> bool {
20806        self.name.is_some()
20807    }
20808
20809    // Param is passed by value, moved
20810    pub fn set_name(&mut self, v: ::std::string::String) {
20811        self.name = ::std::option::Option::Some(v);
20812    }
20813
20814    // Mutable pointer to the field.
20815    // If field is not initialized, it is initialized with default value first.
20816    pub fn mut_name(&mut self) -> &mut ::std::string::String {
20817        if self.name.is_none() {
20818            self.name = ::std::option::Option::Some(::std::string::String::new());
20819        }
20820        self.name.as_mut().unwrap()
20821    }
20822
20823    // Take field
20824    pub fn take_name(&mut self) -> ::std::string::String {
20825        self.name.take().unwrap_or_else(|| ::std::string::String::new())
20826    }
20827
20828    // optional string elementtagname = 4;
20829
20830    pub fn elementtagname(&self) -> &str {
20831        match self.elementtagname.as_ref() {
20832            Some(v) => v,
20833            None => "",
20834        }
20835    }
20836
20837    pub fn clear_elementtagname(&mut self) {
20838        self.elementtagname = ::std::option::Option::None;
20839    }
20840
20841    pub fn has_elementtagname(&self) -> bool {
20842        self.elementtagname.is_some()
20843    }
20844
20845    // Param is passed by value, moved
20846    pub fn set_elementtagname(&mut self, v: ::std::string::String) {
20847        self.elementtagname = ::std::option::Option::Some(v);
20848    }
20849
20850    // Mutable pointer to the field.
20851    // If field is not initialized, it is initialized with default value first.
20852    pub fn mut_elementtagname(&mut self) -> &mut ::std::string::String {
20853        if self.elementtagname.is_none() {
20854            self.elementtagname = ::std::option::Option::Some(::std::string::String::new());
20855        }
20856        self.elementtagname.as_mut().unwrap()
20857    }
20858
20859    // Take field
20860    pub fn take_elementtagname(&mut self) -> ::std::string::String {
20861        self.elementtagname.take().unwrap_or_else(|| ::std::string::String::new())
20862    }
20863
20864    // optional string searchbuttontext = 5;
20865
20866    pub fn searchbuttontext(&self) -> &str {
20867        match self.searchbuttontext.as_ref() {
20868            Some(v) => v,
20869            None => "",
20870        }
20871    }
20872
20873    pub fn clear_searchbuttontext(&mut self) {
20874        self.searchbuttontext = ::std::option::Option::None;
20875    }
20876
20877    pub fn has_searchbuttontext(&self) -> bool {
20878        self.searchbuttontext.is_some()
20879    }
20880
20881    // Param is passed by value, moved
20882    pub fn set_searchbuttontext(&mut self, v: ::std::string::String) {
20883        self.searchbuttontext = ::std::option::Option::Some(v);
20884    }
20885
20886    // Mutable pointer to the field.
20887    // If field is not initialized, it is initialized with default value first.
20888    pub fn mut_searchbuttontext(&mut self) -> &mut ::std::string::String {
20889        if self.searchbuttontext.is_none() {
20890            self.searchbuttontext = ::std::option::Option::Some(::std::string::String::new());
20891        }
20892        self.searchbuttontext.as_mut().unwrap()
20893    }
20894
20895    // Take field
20896    pub fn take_searchbuttontext(&mut self) -> ::std::string::String {
20897        self.searchbuttontext.take().unwrap_or_else(|| ::std::string::String::new())
20898    }
20899
20900    // optional bool bHasMultipleInputs = 6;
20901
20902    pub fn bHasMultipleInputs(&self) -> bool {
20903        self.bHasMultipleInputs.unwrap_or(false)
20904    }
20905
20906    pub fn clear_bHasMultipleInputs(&mut self) {
20907        self.bHasMultipleInputs = ::std::option::Option::None;
20908    }
20909
20910    pub fn has_bHasMultipleInputs(&self) -> bool {
20911        self.bHasMultipleInputs.is_some()
20912    }
20913
20914    // Param is passed by value, moved
20915    pub fn set_bHasMultipleInputs(&mut self, v: bool) {
20916        self.bHasMultipleInputs = ::std::option::Option::Some(v);
20917    }
20918
20919    // optional string input_type = 7;
20920
20921    pub fn input_type(&self) -> &str {
20922        match self.input_type.as_ref() {
20923            Some(v) => v,
20924            None => "",
20925        }
20926    }
20927
20928    pub fn clear_input_type(&mut self) {
20929        self.input_type = ::std::option::Option::None;
20930    }
20931
20932    pub fn has_input_type(&self) -> bool {
20933        self.input_type.is_some()
20934    }
20935
20936    // Param is passed by value, moved
20937    pub fn set_input_type(&mut self, v: ::std::string::String) {
20938        self.input_type = ::std::option::Option::Some(v);
20939    }
20940
20941    // Mutable pointer to the field.
20942    // If field is not initialized, it is initialized with default value first.
20943    pub fn mut_input_type(&mut self) -> &mut ::std::string::String {
20944        if self.input_type.is_none() {
20945            self.input_type = ::std::option::Option::Some(::std::string::String::new());
20946        }
20947        self.input_type.as_mut().unwrap()
20948    }
20949
20950    // Take field
20951    pub fn take_input_type(&mut self) -> ::std::string::String {
20952        self.input_type.take().unwrap_or_else(|| ::std::string::String::new())
20953    }
20954
20955    // optional bool bIsMainFrame = 8;
20956
20957    pub fn bIsMainFrame(&self) -> bool {
20958        self.bIsMainFrame.unwrap_or(false)
20959    }
20960
20961    pub fn clear_bIsMainFrame(&mut self) {
20962        self.bIsMainFrame = ::std::option::Option::None;
20963    }
20964
20965    pub fn has_bIsMainFrame(&self) -> bool {
20966        self.bIsMainFrame.is_some()
20967    }
20968
20969    // Param is passed by value, moved
20970    pub fn set_bIsMainFrame(&mut self, v: bool) {
20971        self.bIsMainFrame = ::std::option::Option::Some(v);
20972    }
20973}
20974
20975impl ::steam_vent_proto_common::protobuf::Message for CMsgNodeHasFocus {
20976    const NAME: &'static str = "CMsgNodeHasFocus";
20977
20978    fn is_initialized(&self) -> bool {
20979        true
20980    }
20981
20982    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20983        while let Some(tag) = is.read_raw_tag_or_eof()? {
20984            match tag {
20985                8 => {
20986                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
20987                },
20988                16 => {
20989                    self.bInput = ::std::option::Option::Some(is.read_bool()?);
20990                },
20991                26 => {
20992                    self.name = ::std::option::Option::Some(is.read_string()?);
20993                },
20994                34 => {
20995                    self.elementtagname = ::std::option::Option::Some(is.read_string()?);
20996                },
20997                42 => {
20998                    self.searchbuttontext = ::std::option::Option::Some(is.read_string()?);
20999                },
21000                48 => {
21001                    self.bHasMultipleInputs = ::std::option::Option::Some(is.read_bool()?);
21002                },
21003                58 => {
21004                    self.input_type = ::std::option::Option::Some(is.read_string()?);
21005                },
21006                64 => {
21007                    self.bIsMainFrame = ::std::option::Option::Some(is.read_bool()?);
21008                },
21009                tag => {
21010                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
21011                },
21012            };
21013        }
21014        ::std::result::Result::Ok(())
21015    }
21016
21017    // Compute sizes of nested messages
21018    #[allow(unused_variables)]
21019    fn compute_size(&self) -> u64 {
21020        let mut my_size = 0;
21021        if let Some(v) = self.browser_handle {
21022            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
21023        }
21024        if let Some(v) = self.bInput {
21025            my_size += 1 + 1;
21026        }
21027        if let Some(v) = self.name.as_ref() {
21028            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
21029        }
21030        if let Some(v) = self.elementtagname.as_ref() {
21031            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
21032        }
21033        if let Some(v) = self.searchbuttontext.as_ref() {
21034            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
21035        }
21036        if let Some(v) = self.bHasMultipleInputs {
21037            my_size += 1 + 1;
21038        }
21039        if let Some(v) = self.input_type.as_ref() {
21040            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
21041        }
21042        if let Some(v) = self.bIsMainFrame {
21043            my_size += 1 + 1;
21044        }
21045        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
21046        self.special_fields.cached_size().set(my_size as u32);
21047        my_size
21048    }
21049
21050    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21051        if let Some(v) = self.browser_handle {
21052            os.write_uint32(1, v)?;
21053        }
21054        if let Some(v) = self.bInput {
21055            os.write_bool(2, v)?;
21056        }
21057        if let Some(v) = self.name.as_ref() {
21058            os.write_string(3, v)?;
21059        }
21060        if let Some(v) = self.elementtagname.as_ref() {
21061            os.write_string(4, v)?;
21062        }
21063        if let Some(v) = self.searchbuttontext.as_ref() {
21064            os.write_string(5, v)?;
21065        }
21066        if let Some(v) = self.bHasMultipleInputs {
21067            os.write_bool(6, v)?;
21068        }
21069        if let Some(v) = self.input_type.as_ref() {
21070            os.write_string(7, v)?;
21071        }
21072        if let Some(v) = self.bIsMainFrame {
21073            os.write_bool(8, v)?;
21074        }
21075        os.write_unknown_fields(self.special_fields.unknown_fields())?;
21076        ::std::result::Result::Ok(())
21077    }
21078
21079    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
21080        &self.special_fields
21081    }
21082
21083    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
21084        &mut self.special_fields
21085    }
21086
21087    fn new() -> CMsgNodeHasFocus {
21088        CMsgNodeHasFocus::new()
21089    }
21090
21091    fn clear(&mut self) {
21092        self.browser_handle = ::std::option::Option::None;
21093        self.bInput = ::std::option::Option::None;
21094        self.name = ::std::option::Option::None;
21095        self.elementtagname = ::std::option::Option::None;
21096        self.searchbuttontext = ::std::option::Option::None;
21097        self.bHasMultipleInputs = ::std::option::Option::None;
21098        self.input_type = ::std::option::Option::None;
21099        self.bIsMainFrame = ::std::option::Option::None;
21100        self.special_fields.clear();
21101    }
21102
21103    fn default_instance() -> &'static CMsgNodeHasFocus {
21104        static instance: CMsgNodeHasFocus = CMsgNodeHasFocus {
21105            browser_handle: ::std::option::Option::None,
21106            bInput: ::std::option::Option::None,
21107            name: ::std::option::Option::None,
21108            elementtagname: ::std::option::Option::None,
21109            searchbuttontext: ::std::option::Option::None,
21110            bHasMultipleInputs: ::std::option::Option::None,
21111            input_type: ::std::option::Option::None,
21112            bIsMainFrame: ::std::option::Option::None,
21113            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
21114        };
21115        &instance
21116    }
21117}
21118
21119// @@protoc_insertion_point(message:CMsgZoomToFocusedElement)
21120#[derive(PartialEq,Clone,Default,Debug)]
21121pub struct CMsgZoomToFocusedElement {
21122    // message fields
21123    // @@protoc_insertion_point(field:CMsgZoomToFocusedElement.browser_handle)
21124    pub browser_handle: ::std::option::Option<u32>,
21125    // special fields
21126    // @@protoc_insertion_point(special_field:CMsgZoomToFocusedElement.special_fields)
21127    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
21128}
21129
21130impl<'a> ::std::default::Default for &'a CMsgZoomToFocusedElement {
21131    fn default() -> &'a CMsgZoomToFocusedElement {
21132        <CMsgZoomToFocusedElement as ::steam_vent_proto_common::protobuf::Message>::default_instance()
21133    }
21134}
21135
21136impl CMsgZoomToFocusedElement {
21137    pub fn new() -> CMsgZoomToFocusedElement {
21138        ::std::default::Default::default()
21139    }
21140
21141    // optional uint32 browser_handle = 1;
21142
21143    pub fn browser_handle(&self) -> u32 {
21144        self.browser_handle.unwrap_or(0)
21145    }
21146
21147    pub fn clear_browser_handle(&mut self) {
21148        self.browser_handle = ::std::option::Option::None;
21149    }
21150
21151    pub fn has_browser_handle(&self) -> bool {
21152        self.browser_handle.is_some()
21153    }
21154
21155    // Param is passed by value, moved
21156    pub fn set_browser_handle(&mut self, v: u32) {
21157        self.browser_handle = ::std::option::Option::Some(v);
21158    }
21159}
21160
21161impl ::steam_vent_proto_common::protobuf::Message for CMsgZoomToFocusedElement {
21162    const NAME: &'static str = "CMsgZoomToFocusedElement";
21163
21164    fn is_initialized(&self) -> bool {
21165        true
21166    }
21167
21168    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21169        while let Some(tag) = is.read_raw_tag_or_eof()? {
21170            match tag {
21171                8 => {
21172                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
21173                },
21174                tag => {
21175                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
21176                },
21177            };
21178        }
21179        ::std::result::Result::Ok(())
21180    }
21181
21182    // Compute sizes of nested messages
21183    #[allow(unused_variables)]
21184    fn compute_size(&self) -> u64 {
21185        let mut my_size = 0;
21186        if let Some(v) = self.browser_handle {
21187            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
21188        }
21189        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
21190        self.special_fields.cached_size().set(my_size as u32);
21191        my_size
21192    }
21193
21194    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21195        if let Some(v) = self.browser_handle {
21196            os.write_uint32(1, v)?;
21197        }
21198        os.write_unknown_fields(self.special_fields.unknown_fields())?;
21199        ::std::result::Result::Ok(())
21200    }
21201
21202    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
21203        &self.special_fields
21204    }
21205
21206    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
21207        &mut self.special_fields
21208    }
21209
21210    fn new() -> CMsgZoomToFocusedElement {
21211        CMsgZoomToFocusedElement::new()
21212    }
21213
21214    fn clear(&mut self) {
21215        self.browser_handle = ::std::option::Option::None;
21216        self.special_fields.clear();
21217    }
21218
21219    fn default_instance() -> &'static CMsgZoomToFocusedElement {
21220        static instance: CMsgZoomToFocusedElement = CMsgZoomToFocusedElement {
21221            browser_handle: ::std::option::Option::None,
21222            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
21223        };
21224        &instance
21225    }
21226}
21227
21228// @@protoc_insertion_point(message:CMsgFocusedNodeText)
21229#[derive(PartialEq,Clone,Default,Debug)]
21230pub struct CMsgFocusedNodeText {
21231    // message fields
21232    // @@protoc_insertion_point(field:CMsgFocusedNodeText.browser_handle)
21233    pub browser_handle: ::std::option::Option<u32>,
21234    // special fields
21235    // @@protoc_insertion_point(special_field:CMsgFocusedNodeText.special_fields)
21236    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
21237}
21238
21239impl<'a> ::std::default::Default for &'a CMsgFocusedNodeText {
21240    fn default() -> &'a CMsgFocusedNodeText {
21241        <CMsgFocusedNodeText as ::steam_vent_proto_common::protobuf::Message>::default_instance()
21242    }
21243}
21244
21245impl CMsgFocusedNodeText {
21246    pub fn new() -> CMsgFocusedNodeText {
21247        ::std::default::Default::default()
21248    }
21249
21250    // optional uint32 browser_handle = 1;
21251
21252    pub fn browser_handle(&self) -> u32 {
21253        self.browser_handle.unwrap_or(0)
21254    }
21255
21256    pub fn clear_browser_handle(&mut self) {
21257        self.browser_handle = ::std::option::Option::None;
21258    }
21259
21260    pub fn has_browser_handle(&self) -> bool {
21261        self.browser_handle.is_some()
21262    }
21263
21264    // Param is passed by value, moved
21265    pub fn set_browser_handle(&mut self, v: u32) {
21266        self.browser_handle = ::std::option::Option::Some(v);
21267    }
21268}
21269
21270impl ::steam_vent_proto_common::protobuf::Message for CMsgFocusedNodeText {
21271    const NAME: &'static str = "CMsgFocusedNodeText";
21272
21273    fn is_initialized(&self) -> bool {
21274        true
21275    }
21276
21277    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21278        while let Some(tag) = is.read_raw_tag_or_eof()? {
21279            match tag {
21280                8 => {
21281                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
21282                },
21283                tag => {
21284                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
21285                },
21286            };
21287        }
21288        ::std::result::Result::Ok(())
21289    }
21290
21291    // Compute sizes of nested messages
21292    #[allow(unused_variables)]
21293    fn compute_size(&self) -> u64 {
21294        let mut my_size = 0;
21295        if let Some(v) = self.browser_handle {
21296            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
21297        }
21298        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
21299        self.special_fields.cached_size().set(my_size as u32);
21300        my_size
21301    }
21302
21303    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21304        if let Some(v) = self.browser_handle {
21305            os.write_uint32(1, v)?;
21306        }
21307        os.write_unknown_fields(self.special_fields.unknown_fields())?;
21308        ::std::result::Result::Ok(())
21309    }
21310
21311    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
21312        &self.special_fields
21313    }
21314
21315    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
21316        &mut self.special_fields
21317    }
21318
21319    fn new() -> CMsgFocusedNodeText {
21320        CMsgFocusedNodeText::new()
21321    }
21322
21323    fn clear(&mut self) {
21324        self.browser_handle = ::std::option::Option::None;
21325        self.special_fields.clear();
21326    }
21327
21328    fn default_instance() -> &'static CMsgFocusedNodeText {
21329        static instance: CMsgFocusedNodeText = CMsgFocusedNodeText {
21330            browser_handle: ::std::option::Option::None,
21331            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
21332        };
21333        &instance
21334    }
21335}
21336
21337// @@protoc_insertion_point(message:CMsgFocusedNodeTextResponse)
21338#[derive(PartialEq,Clone,Default,Debug)]
21339pub struct CMsgFocusedNodeTextResponse {
21340    // message fields
21341    // @@protoc_insertion_point(field:CMsgFocusedNodeTextResponse.browser_handle)
21342    pub browser_handle: ::std::option::Option<u32>,
21343    // @@protoc_insertion_point(field:CMsgFocusedNodeTextResponse.value)
21344    pub value: ::std::option::Option<::std::string::String>,
21345    // special fields
21346    // @@protoc_insertion_point(special_field:CMsgFocusedNodeTextResponse.special_fields)
21347    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
21348}
21349
21350impl<'a> ::std::default::Default for &'a CMsgFocusedNodeTextResponse {
21351    fn default() -> &'a CMsgFocusedNodeTextResponse {
21352        <CMsgFocusedNodeTextResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
21353    }
21354}
21355
21356impl CMsgFocusedNodeTextResponse {
21357    pub fn new() -> CMsgFocusedNodeTextResponse {
21358        ::std::default::Default::default()
21359    }
21360
21361    // optional uint32 browser_handle = 1;
21362
21363    pub fn browser_handle(&self) -> u32 {
21364        self.browser_handle.unwrap_or(0)
21365    }
21366
21367    pub fn clear_browser_handle(&mut self) {
21368        self.browser_handle = ::std::option::Option::None;
21369    }
21370
21371    pub fn has_browser_handle(&self) -> bool {
21372        self.browser_handle.is_some()
21373    }
21374
21375    // Param is passed by value, moved
21376    pub fn set_browser_handle(&mut self, v: u32) {
21377        self.browser_handle = ::std::option::Option::Some(v);
21378    }
21379
21380    // optional string value = 2;
21381
21382    pub fn value(&self) -> &str {
21383        match self.value.as_ref() {
21384            Some(v) => v,
21385            None => "",
21386        }
21387    }
21388
21389    pub fn clear_value(&mut self) {
21390        self.value = ::std::option::Option::None;
21391    }
21392
21393    pub fn has_value(&self) -> bool {
21394        self.value.is_some()
21395    }
21396
21397    // Param is passed by value, moved
21398    pub fn set_value(&mut self, v: ::std::string::String) {
21399        self.value = ::std::option::Option::Some(v);
21400    }
21401
21402    // Mutable pointer to the field.
21403    // If field is not initialized, it is initialized with default value first.
21404    pub fn mut_value(&mut self) -> &mut ::std::string::String {
21405        if self.value.is_none() {
21406            self.value = ::std::option::Option::Some(::std::string::String::new());
21407        }
21408        self.value.as_mut().unwrap()
21409    }
21410
21411    // Take field
21412    pub fn take_value(&mut self) -> ::std::string::String {
21413        self.value.take().unwrap_or_else(|| ::std::string::String::new())
21414    }
21415}
21416
21417impl ::steam_vent_proto_common::protobuf::Message for CMsgFocusedNodeTextResponse {
21418    const NAME: &'static str = "CMsgFocusedNodeTextResponse";
21419
21420    fn is_initialized(&self) -> bool {
21421        true
21422    }
21423
21424    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21425        while let Some(tag) = is.read_raw_tag_or_eof()? {
21426            match tag {
21427                8 => {
21428                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
21429                },
21430                18 => {
21431                    self.value = ::std::option::Option::Some(is.read_string()?);
21432                },
21433                tag => {
21434                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
21435                },
21436            };
21437        }
21438        ::std::result::Result::Ok(())
21439    }
21440
21441    // Compute sizes of nested messages
21442    #[allow(unused_variables)]
21443    fn compute_size(&self) -> u64 {
21444        let mut my_size = 0;
21445        if let Some(v) = self.browser_handle {
21446            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
21447        }
21448        if let Some(v) = self.value.as_ref() {
21449            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
21450        }
21451        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
21452        self.special_fields.cached_size().set(my_size as u32);
21453        my_size
21454    }
21455
21456    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21457        if let Some(v) = self.browser_handle {
21458            os.write_uint32(1, v)?;
21459        }
21460        if let Some(v) = self.value.as_ref() {
21461            os.write_string(2, v)?;
21462        }
21463        os.write_unknown_fields(self.special_fields.unknown_fields())?;
21464        ::std::result::Result::Ok(())
21465    }
21466
21467    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
21468        &self.special_fields
21469    }
21470
21471    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
21472        &mut self.special_fields
21473    }
21474
21475    fn new() -> CMsgFocusedNodeTextResponse {
21476        CMsgFocusedNodeTextResponse::new()
21477    }
21478
21479    fn clear(&mut self) {
21480        self.browser_handle = ::std::option::Option::None;
21481        self.value = ::std::option::Option::None;
21482        self.special_fields.clear();
21483    }
21484
21485    fn default_instance() -> &'static CMsgFocusedNodeTextResponse {
21486        static instance: CMsgFocusedNodeTextResponse = CMsgFocusedNodeTextResponse {
21487            browser_handle: ::std::option::Option::None,
21488            value: ::std::option::Option::None,
21489            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
21490        };
21491        &instance
21492    }
21493}
21494
21495// @@protoc_insertion_point(message:CMsgBuildID)
21496#[derive(PartialEq,Clone,Default,Debug)]
21497pub struct CMsgBuildID {
21498    // message fields
21499    // @@protoc_insertion_point(field:CMsgBuildID.build_id)
21500    pub build_id: ::std::option::Option<u64>,
21501    // special fields
21502    // @@protoc_insertion_point(special_field:CMsgBuildID.special_fields)
21503    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
21504}
21505
21506impl<'a> ::std::default::Default for &'a CMsgBuildID {
21507    fn default() -> &'a CMsgBuildID {
21508        <CMsgBuildID as ::steam_vent_proto_common::protobuf::Message>::default_instance()
21509    }
21510}
21511
21512impl CMsgBuildID {
21513    pub fn new() -> CMsgBuildID {
21514        ::std::default::Default::default()
21515    }
21516
21517    // optional uint64 build_id = 1;
21518
21519    pub fn build_id(&self) -> u64 {
21520        self.build_id.unwrap_or(0)
21521    }
21522
21523    pub fn clear_build_id(&mut self) {
21524        self.build_id = ::std::option::Option::None;
21525    }
21526
21527    pub fn has_build_id(&self) -> bool {
21528        self.build_id.is_some()
21529    }
21530
21531    // Param is passed by value, moved
21532    pub fn set_build_id(&mut self, v: u64) {
21533        self.build_id = ::std::option::Option::Some(v);
21534    }
21535}
21536
21537impl ::steam_vent_proto_common::protobuf::Message for CMsgBuildID {
21538    const NAME: &'static str = "CMsgBuildID";
21539
21540    fn is_initialized(&self) -> bool {
21541        true
21542    }
21543
21544    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21545        while let Some(tag) = is.read_raw_tag_or_eof()? {
21546            match tag {
21547                8 => {
21548                    self.build_id = ::std::option::Option::Some(is.read_uint64()?);
21549                },
21550                tag => {
21551                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
21552                },
21553            };
21554        }
21555        ::std::result::Result::Ok(())
21556    }
21557
21558    // Compute sizes of nested messages
21559    #[allow(unused_variables)]
21560    fn compute_size(&self) -> u64 {
21561        let mut my_size = 0;
21562        if let Some(v) = self.build_id {
21563            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
21564        }
21565        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
21566        self.special_fields.cached_size().set(my_size as u32);
21567        my_size
21568    }
21569
21570    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21571        if let Some(v) = self.build_id {
21572            os.write_uint64(1, v)?;
21573        }
21574        os.write_unknown_fields(self.special_fields.unknown_fields())?;
21575        ::std::result::Result::Ok(())
21576    }
21577
21578    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
21579        &self.special_fields
21580    }
21581
21582    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
21583        &mut self.special_fields
21584    }
21585
21586    fn new() -> CMsgBuildID {
21587        CMsgBuildID::new()
21588    }
21589
21590    fn clear(&mut self) {
21591        self.build_id = ::std::option::Option::None;
21592        self.special_fields.clear();
21593    }
21594
21595    fn default_instance() -> &'static CMsgBuildID {
21596        static instance: CMsgBuildID = CMsgBuildID {
21597            build_id: ::std::option::Option::None,
21598            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
21599        };
21600        &instance
21601    }
21602}
21603
21604// @@protoc_insertion_point(message:CMsgOpenDevTools)
21605#[derive(PartialEq,Clone,Default,Debug)]
21606pub struct CMsgOpenDevTools {
21607    // message fields
21608    // @@protoc_insertion_point(field:CMsgOpenDevTools.browser_handle)
21609    pub browser_handle: ::std::option::Option<u32>,
21610    // special fields
21611    // @@protoc_insertion_point(special_field:CMsgOpenDevTools.special_fields)
21612    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
21613}
21614
21615impl<'a> ::std::default::Default for &'a CMsgOpenDevTools {
21616    fn default() -> &'a CMsgOpenDevTools {
21617        <CMsgOpenDevTools as ::steam_vent_proto_common::protobuf::Message>::default_instance()
21618    }
21619}
21620
21621impl CMsgOpenDevTools {
21622    pub fn new() -> CMsgOpenDevTools {
21623        ::std::default::Default::default()
21624    }
21625
21626    // optional uint32 browser_handle = 1;
21627
21628    pub fn browser_handle(&self) -> u32 {
21629        self.browser_handle.unwrap_or(0)
21630    }
21631
21632    pub fn clear_browser_handle(&mut self) {
21633        self.browser_handle = ::std::option::Option::None;
21634    }
21635
21636    pub fn has_browser_handle(&self) -> bool {
21637        self.browser_handle.is_some()
21638    }
21639
21640    // Param is passed by value, moved
21641    pub fn set_browser_handle(&mut self, v: u32) {
21642        self.browser_handle = ::std::option::Option::Some(v);
21643    }
21644}
21645
21646impl ::steam_vent_proto_common::protobuf::Message for CMsgOpenDevTools {
21647    const NAME: &'static str = "CMsgOpenDevTools";
21648
21649    fn is_initialized(&self) -> bool {
21650        true
21651    }
21652
21653    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21654        while let Some(tag) = is.read_raw_tag_or_eof()? {
21655            match tag {
21656                8 => {
21657                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
21658                },
21659                tag => {
21660                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
21661                },
21662            };
21663        }
21664        ::std::result::Result::Ok(())
21665    }
21666
21667    // Compute sizes of nested messages
21668    #[allow(unused_variables)]
21669    fn compute_size(&self) -> u64 {
21670        let mut my_size = 0;
21671        if let Some(v) = self.browser_handle {
21672            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
21673        }
21674        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
21675        self.special_fields.cached_size().set(my_size as u32);
21676        my_size
21677    }
21678
21679    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21680        if let Some(v) = self.browser_handle {
21681            os.write_uint32(1, v)?;
21682        }
21683        os.write_unknown_fields(self.special_fields.unknown_fields())?;
21684        ::std::result::Result::Ok(())
21685    }
21686
21687    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
21688        &self.special_fields
21689    }
21690
21691    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
21692        &mut self.special_fields
21693    }
21694
21695    fn new() -> CMsgOpenDevTools {
21696        CMsgOpenDevTools::new()
21697    }
21698
21699    fn clear(&mut self) {
21700        self.browser_handle = ::std::option::Option::None;
21701        self.special_fields.clear();
21702    }
21703
21704    fn default_instance() -> &'static CMsgOpenDevTools {
21705        static instance: CMsgOpenDevTools = CMsgOpenDevTools {
21706            browser_handle: ::std::option::Option::None,
21707            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
21708        };
21709        &instance
21710    }
21711}
21712
21713// @@protoc_insertion_point(message:CMsgCloseDevTools)
21714#[derive(PartialEq,Clone,Default,Debug)]
21715pub struct CMsgCloseDevTools {
21716    // message fields
21717    // @@protoc_insertion_point(field:CMsgCloseDevTools.browser_handle)
21718    pub browser_handle: ::std::option::Option<u32>,
21719    // special fields
21720    // @@protoc_insertion_point(special_field:CMsgCloseDevTools.special_fields)
21721    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
21722}
21723
21724impl<'a> ::std::default::Default for &'a CMsgCloseDevTools {
21725    fn default() -> &'a CMsgCloseDevTools {
21726        <CMsgCloseDevTools as ::steam_vent_proto_common::protobuf::Message>::default_instance()
21727    }
21728}
21729
21730impl CMsgCloseDevTools {
21731    pub fn new() -> CMsgCloseDevTools {
21732        ::std::default::Default::default()
21733    }
21734
21735    // optional uint32 browser_handle = 1;
21736
21737    pub fn browser_handle(&self) -> u32 {
21738        self.browser_handle.unwrap_or(0)
21739    }
21740
21741    pub fn clear_browser_handle(&mut self) {
21742        self.browser_handle = ::std::option::Option::None;
21743    }
21744
21745    pub fn has_browser_handle(&self) -> bool {
21746        self.browser_handle.is_some()
21747    }
21748
21749    // Param is passed by value, moved
21750    pub fn set_browser_handle(&mut self, v: u32) {
21751        self.browser_handle = ::std::option::Option::Some(v);
21752    }
21753}
21754
21755impl ::steam_vent_proto_common::protobuf::Message for CMsgCloseDevTools {
21756    const NAME: &'static str = "CMsgCloseDevTools";
21757
21758    fn is_initialized(&self) -> bool {
21759        true
21760    }
21761
21762    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21763        while let Some(tag) = is.read_raw_tag_or_eof()? {
21764            match tag {
21765                8 => {
21766                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
21767                },
21768                tag => {
21769                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
21770                },
21771            };
21772        }
21773        ::std::result::Result::Ok(())
21774    }
21775
21776    // Compute sizes of nested messages
21777    #[allow(unused_variables)]
21778    fn compute_size(&self) -> u64 {
21779        let mut my_size = 0;
21780        if let Some(v) = self.browser_handle {
21781            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
21782        }
21783        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
21784        self.special_fields.cached_size().set(my_size as u32);
21785        my_size
21786    }
21787
21788    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21789        if let Some(v) = self.browser_handle {
21790            os.write_uint32(1, v)?;
21791        }
21792        os.write_unknown_fields(self.special_fields.unknown_fields())?;
21793        ::std::result::Result::Ok(())
21794    }
21795
21796    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
21797        &self.special_fields
21798    }
21799
21800    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
21801        &mut self.special_fields
21802    }
21803
21804    fn new() -> CMsgCloseDevTools {
21805        CMsgCloseDevTools::new()
21806    }
21807
21808    fn clear(&mut self) {
21809        self.browser_handle = ::std::option::Option::None;
21810        self.special_fields.clear();
21811    }
21812
21813    fn default_instance() -> &'static CMsgCloseDevTools {
21814        static instance: CMsgCloseDevTools = CMsgCloseDevTools {
21815            browser_handle: ::std::option::Option::None,
21816            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
21817        };
21818        &instance
21819    }
21820}
21821
21822// @@protoc_insertion_point(message:CMsgUnlockH264)
21823#[derive(PartialEq,Clone,Default,Debug)]
21824pub struct CMsgUnlockH264 {
21825    // message fields
21826    // @@protoc_insertion_point(field:CMsgUnlockH264.browser_handle)
21827    pub browser_handle: ::std::option::Option<u32>,
21828    // @@protoc_insertion_point(field:CMsgUnlockH264.unlock_code)
21829    pub unlock_code: ::std::option::Option<::std::string::String>,
21830    // special fields
21831    // @@protoc_insertion_point(special_field:CMsgUnlockH264.special_fields)
21832    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
21833}
21834
21835impl<'a> ::std::default::Default for &'a CMsgUnlockH264 {
21836    fn default() -> &'a CMsgUnlockH264 {
21837        <CMsgUnlockH264 as ::steam_vent_proto_common::protobuf::Message>::default_instance()
21838    }
21839}
21840
21841impl CMsgUnlockH264 {
21842    pub fn new() -> CMsgUnlockH264 {
21843        ::std::default::Default::default()
21844    }
21845
21846    // optional uint32 browser_handle = 1;
21847
21848    pub fn browser_handle(&self) -> u32 {
21849        self.browser_handle.unwrap_or(0)
21850    }
21851
21852    pub fn clear_browser_handle(&mut self) {
21853        self.browser_handle = ::std::option::Option::None;
21854    }
21855
21856    pub fn has_browser_handle(&self) -> bool {
21857        self.browser_handle.is_some()
21858    }
21859
21860    // Param is passed by value, moved
21861    pub fn set_browser_handle(&mut self, v: u32) {
21862        self.browser_handle = ::std::option::Option::Some(v);
21863    }
21864
21865    // optional string unlock_code = 2;
21866
21867    pub fn unlock_code(&self) -> &str {
21868        match self.unlock_code.as_ref() {
21869            Some(v) => v,
21870            None => "",
21871        }
21872    }
21873
21874    pub fn clear_unlock_code(&mut self) {
21875        self.unlock_code = ::std::option::Option::None;
21876    }
21877
21878    pub fn has_unlock_code(&self) -> bool {
21879        self.unlock_code.is_some()
21880    }
21881
21882    // Param is passed by value, moved
21883    pub fn set_unlock_code(&mut self, v: ::std::string::String) {
21884        self.unlock_code = ::std::option::Option::Some(v);
21885    }
21886
21887    // Mutable pointer to the field.
21888    // If field is not initialized, it is initialized with default value first.
21889    pub fn mut_unlock_code(&mut self) -> &mut ::std::string::String {
21890        if self.unlock_code.is_none() {
21891            self.unlock_code = ::std::option::Option::Some(::std::string::String::new());
21892        }
21893        self.unlock_code.as_mut().unwrap()
21894    }
21895
21896    // Take field
21897    pub fn take_unlock_code(&mut self) -> ::std::string::String {
21898        self.unlock_code.take().unwrap_or_else(|| ::std::string::String::new())
21899    }
21900}
21901
21902impl ::steam_vent_proto_common::protobuf::Message for CMsgUnlockH264 {
21903    const NAME: &'static str = "CMsgUnlockH264";
21904
21905    fn is_initialized(&self) -> bool {
21906        true
21907    }
21908
21909    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21910        while let Some(tag) = is.read_raw_tag_or_eof()? {
21911            match tag {
21912                8 => {
21913                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
21914                },
21915                18 => {
21916                    self.unlock_code = ::std::option::Option::Some(is.read_string()?);
21917                },
21918                tag => {
21919                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
21920                },
21921            };
21922        }
21923        ::std::result::Result::Ok(())
21924    }
21925
21926    // Compute sizes of nested messages
21927    #[allow(unused_variables)]
21928    fn compute_size(&self) -> u64 {
21929        let mut my_size = 0;
21930        if let Some(v) = self.browser_handle {
21931            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
21932        }
21933        if let Some(v) = self.unlock_code.as_ref() {
21934            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
21935        }
21936        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
21937        self.special_fields.cached_size().set(my_size as u32);
21938        my_size
21939    }
21940
21941    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
21942        if let Some(v) = self.browser_handle {
21943            os.write_uint32(1, v)?;
21944        }
21945        if let Some(v) = self.unlock_code.as_ref() {
21946            os.write_string(2, v)?;
21947        }
21948        os.write_unknown_fields(self.special_fields.unknown_fields())?;
21949        ::std::result::Result::Ok(())
21950    }
21951
21952    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
21953        &self.special_fields
21954    }
21955
21956    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
21957        &mut self.special_fields
21958    }
21959
21960    fn new() -> CMsgUnlockH264 {
21961        CMsgUnlockH264::new()
21962    }
21963
21964    fn clear(&mut self) {
21965        self.browser_handle = ::std::option::Option::None;
21966        self.unlock_code = ::std::option::Option::None;
21967        self.special_fields.clear();
21968    }
21969
21970    fn default_instance() -> &'static CMsgUnlockH264 {
21971        static instance: CMsgUnlockH264 = CMsgUnlockH264 {
21972            browser_handle: ::std::option::Option::None,
21973            unlock_code: ::std::option::Option::None,
21974            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
21975        };
21976        &instance
21977    }
21978}
21979
21980// @@protoc_insertion_point(message:CMsgScreenInformationChanged)
21981#[derive(PartialEq,Clone,Default,Debug)]
21982pub struct CMsgScreenInformationChanged {
21983    // message fields
21984    // @@protoc_insertion_point(field:CMsgScreenInformationChanged.browser_handle)
21985    pub browser_handle: ::std::option::Option<u32>,
21986    // @@protoc_insertion_point(field:CMsgScreenInformationChanged.override_width)
21987    pub override_width: ::std::option::Option<u32>,
21988    // @@protoc_insertion_point(field:CMsgScreenInformationChanged.override_height)
21989    pub override_height: ::std::option::Option<u32>,
21990    // @@protoc_insertion_point(field:CMsgScreenInformationChanged.monitor_left)
21991    pub monitor_left: ::std::option::Option<u32>,
21992    // @@protoc_insertion_point(field:CMsgScreenInformationChanged.monitor_top)
21993    pub monitor_top: ::std::option::Option<u32>,
21994    // @@protoc_insertion_point(field:CMsgScreenInformationChanged.monitor_right)
21995    pub monitor_right: ::std::option::Option<u32>,
21996    // @@protoc_insertion_point(field:CMsgScreenInformationChanged.monitor_bottom)
21997    pub monitor_bottom: ::std::option::Option<u32>,
21998    // @@protoc_insertion_point(field:CMsgScreenInformationChanged.usable_left)
21999    pub usable_left: ::std::option::Option<u32>,
22000    // @@protoc_insertion_point(field:CMsgScreenInformationChanged.usable_top)
22001    pub usable_top: ::std::option::Option<u32>,
22002    // @@protoc_insertion_point(field:CMsgScreenInformationChanged.usable_right)
22003    pub usable_right: ::std::option::Option<u32>,
22004    // @@protoc_insertion_point(field:CMsgScreenInformationChanged.usable_bottom)
22005    pub usable_bottom: ::std::option::Option<u32>,
22006    // special fields
22007    // @@protoc_insertion_point(special_field:CMsgScreenInformationChanged.special_fields)
22008    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
22009}
22010
22011impl<'a> ::std::default::Default for &'a CMsgScreenInformationChanged {
22012    fn default() -> &'a CMsgScreenInformationChanged {
22013        <CMsgScreenInformationChanged as ::steam_vent_proto_common::protobuf::Message>::default_instance()
22014    }
22015}
22016
22017impl CMsgScreenInformationChanged {
22018    pub fn new() -> CMsgScreenInformationChanged {
22019        ::std::default::Default::default()
22020    }
22021
22022    // optional uint32 browser_handle = 1;
22023
22024    pub fn browser_handle(&self) -> u32 {
22025        self.browser_handle.unwrap_or(0)
22026    }
22027
22028    pub fn clear_browser_handle(&mut self) {
22029        self.browser_handle = ::std::option::Option::None;
22030    }
22031
22032    pub fn has_browser_handle(&self) -> bool {
22033        self.browser_handle.is_some()
22034    }
22035
22036    // Param is passed by value, moved
22037    pub fn set_browser_handle(&mut self, v: u32) {
22038        self.browser_handle = ::std::option::Option::Some(v);
22039    }
22040
22041    // optional uint32 override_width = 2;
22042
22043    pub fn override_width(&self) -> u32 {
22044        self.override_width.unwrap_or(0)
22045    }
22046
22047    pub fn clear_override_width(&mut self) {
22048        self.override_width = ::std::option::Option::None;
22049    }
22050
22051    pub fn has_override_width(&self) -> bool {
22052        self.override_width.is_some()
22053    }
22054
22055    // Param is passed by value, moved
22056    pub fn set_override_width(&mut self, v: u32) {
22057        self.override_width = ::std::option::Option::Some(v);
22058    }
22059
22060    // optional uint32 override_height = 3;
22061
22062    pub fn override_height(&self) -> u32 {
22063        self.override_height.unwrap_or(0)
22064    }
22065
22066    pub fn clear_override_height(&mut self) {
22067        self.override_height = ::std::option::Option::None;
22068    }
22069
22070    pub fn has_override_height(&self) -> bool {
22071        self.override_height.is_some()
22072    }
22073
22074    // Param is passed by value, moved
22075    pub fn set_override_height(&mut self, v: u32) {
22076        self.override_height = ::std::option::Option::Some(v);
22077    }
22078
22079    // optional uint32 monitor_left = 4;
22080
22081    pub fn monitor_left(&self) -> u32 {
22082        self.monitor_left.unwrap_or(0)
22083    }
22084
22085    pub fn clear_monitor_left(&mut self) {
22086        self.monitor_left = ::std::option::Option::None;
22087    }
22088
22089    pub fn has_monitor_left(&self) -> bool {
22090        self.monitor_left.is_some()
22091    }
22092
22093    // Param is passed by value, moved
22094    pub fn set_monitor_left(&mut self, v: u32) {
22095        self.monitor_left = ::std::option::Option::Some(v);
22096    }
22097
22098    // optional uint32 monitor_top = 5;
22099
22100    pub fn monitor_top(&self) -> u32 {
22101        self.monitor_top.unwrap_or(0)
22102    }
22103
22104    pub fn clear_monitor_top(&mut self) {
22105        self.monitor_top = ::std::option::Option::None;
22106    }
22107
22108    pub fn has_monitor_top(&self) -> bool {
22109        self.monitor_top.is_some()
22110    }
22111
22112    // Param is passed by value, moved
22113    pub fn set_monitor_top(&mut self, v: u32) {
22114        self.monitor_top = ::std::option::Option::Some(v);
22115    }
22116
22117    // optional uint32 monitor_right = 6;
22118
22119    pub fn monitor_right(&self) -> u32 {
22120        self.monitor_right.unwrap_or(0)
22121    }
22122
22123    pub fn clear_monitor_right(&mut self) {
22124        self.monitor_right = ::std::option::Option::None;
22125    }
22126
22127    pub fn has_monitor_right(&self) -> bool {
22128        self.monitor_right.is_some()
22129    }
22130
22131    // Param is passed by value, moved
22132    pub fn set_monitor_right(&mut self, v: u32) {
22133        self.monitor_right = ::std::option::Option::Some(v);
22134    }
22135
22136    // optional uint32 monitor_bottom = 7;
22137
22138    pub fn monitor_bottom(&self) -> u32 {
22139        self.monitor_bottom.unwrap_or(0)
22140    }
22141
22142    pub fn clear_monitor_bottom(&mut self) {
22143        self.monitor_bottom = ::std::option::Option::None;
22144    }
22145
22146    pub fn has_monitor_bottom(&self) -> bool {
22147        self.monitor_bottom.is_some()
22148    }
22149
22150    // Param is passed by value, moved
22151    pub fn set_monitor_bottom(&mut self, v: u32) {
22152        self.monitor_bottom = ::std::option::Option::Some(v);
22153    }
22154
22155    // optional uint32 usable_left = 8;
22156
22157    pub fn usable_left(&self) -> u32 {
22158        self.usable_left.unwrap_or(0)
22159    }
22160
22161    pub fn clear_usable_left(&mut self) {
22162        self.usable_left = ::std::option::Option::None;
22163    }
22164
22165    pub fn has_usable_left(&self) -> bool {
22166        self.usable_left.is_some()
22167    }
22168
22169    // Param is passed by value, moved
22170    pub fn set_usable_left(&mut self, v: u32) {
22171        self.usable_left = ::std::option::Option::Some(v);
22172    }
22173
22174    // optional uint32 usable_top = 9;
22175
22176    pub fn usable_top(&self) -> u32 {
22177        self.usable_top.unwrap_or(0)
22178    }
22179
22180    pub fn clear_usable_top(&mut self) {
22181        self.usable_top = ::std::option::Option::None;
22182    }
22183
22184    pub fn has_usable_top(&self) -> bool {
22185        self.usable_top.is_some()
22186    }
22187
22188    // Param is passed by value, moved
22189    pub fn set_usable_top(&mut self, v: u32) {
22190        self.usable_top = ::std::option::Option::Some(v);
22191    }
22192
22193    // optional uint32 usable_right = 10;
22194
22195    pub fn usable_right(&self) -> u32 {
22196        self.usable_right.unwrap_or(0)
22197    }
22198
22199    pub fn clear_usable_right(&mut self) {
22200        self.usable_right = ::std::option::Option::None;
22201    }
22202
22203    pub fn has_usable_right(&self) -> bool {
22204        self.usable_right.is_some()
22205    }
22206
22207    // Param is passed by value, moved
22208    pub fn set_usable_right(&mut self, v: u32) {
22209        self.usable_right = ::std::option::Option::Some(v);
22210    }
22211
22212    // optional uint32 usable_bottom = 11;
22213
22214    pub fn usable_bottom(&self) -> u32 {
22215        self.usable_bottom.unwrap_or(0)
22216    }
22217
22218    pub fn clear_usable_bottom(&mut self) {
22219        self.usable_bottom = ::std::option::Option::None;
22220    }
22221
22222    pub fn has_usable_bottom(&self) -> bool {
22223        self.usable_bottom.is_some()
22224    }
22225
22226    // Param is passed by value, moved
22227    pub fn set_usable_bottom(&mut self, v: u32) {
22228        self.usable_bottom = ::std::option::Option::Some(v);
22229    }
22230}
22231
22232impl ::steam_vent_proto_common::protobuf::Message for CMsgScreenInformationChanged {
22233    const NAME: &'static str = "CMsgScreenInformationChanged";
22234
22235    fn is_initialized(&self) -> bool {
22236        true
22237    }
22238
22239    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
22240        while let Some(tag) = is.read_raw_tag_or_eof()? {
22241            match tag {
22242                8 => {
22243                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
22244                },
22245                16 => {
22246                    self.override_width = ::std::option::Option::Some(is.read_uint32()?);
22247                },
22248                24 => {
22249                    self.override_height = ::std::option::Option::Some(is.read_uint32()?);
22250                },
22251                32 => {
22252                    self.monitor_left = ::std::option::Option::Some(is.read_uint32()?);
22253                },
22254                40 => {
22255                    self.monitor_top = ::std::option::Option::Some(is.read_uint32()?);
22256                },
22257                48 => {
22258                    self.monitor_right = ::std::option::Option::Some(is.read_uint32()?);
22259                },
22260                56 => {
22261                    self.monitor_bottom = ::std::option::Option::Some(is.read_uint32()?);
22262                },
22263                64 => {
22264                    self.usable_left = ::std::option::Option::Some(is.read_uint32()?);
22265                },
22266                72 => {
22267                    self.usable_top = ::std::option::Option::Some(is.read_uint32()?);
22268                },
22269                80 => {
22270                    self.usable_right = ::std::option::Option::Some(is.read_uint32()?);
22271                },
22272                88 => {
22273                    self.usable_bottom = ::std::option::Option::Some(is.read_uint32()?);
22274                },
22275                tag => {
22276                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
22277                },
22278            };
22279        }
22280        ::std::result::Result::Ok(())
22281    }
22282
22283    // Compute sizes of nested messages
22284    #[allow(unused_variables)]
22285    fn compute_size(&self) -> u64 {
22286        let mut my_size = 0;
22287        if let Some(v) = self.browser_handle {
22288            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
22289        }
22290        if let Some(v) = self.override_width {
22291            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
22292        }
22293        if let Some(v) = self.override_height {
22294            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
22295        }
22296        if let Some(v) = self.monitor_left {
22297            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
22298        }
22299        if let Some(v) = self.monitor_top {
22300            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
22301        }
22302        if let Some(v) = self.monitor_right {
22303            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
22304        }
22305        if let Some(v) = self.monitor_bottom {
22306            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
22307        }
22308        if let Some(v) = self.usable_left {
22309            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(8, v);
22310        }
22311        if let Some(v) = self.usable_top {
22312            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(9, v);
22313        }
22314        if let Some(v) = self.usable_right {
22315            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(10, v);
22316        }
22317        if let Some(v) = self.usable_bottom {
22318            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(11, v);
22319        }
22320        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
22321        self.special_fields.cached_size().set(my_size as u32);
22322        my_size
22323    }
22324
22325    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
22326        if let Some(v) = self.browser_handle {
22327            os.write_uint32(1, v)?;
22328        }
22329        if let Some(v) = self.override_width {
22330            os.write_uint32(2, v)?;
22331        }
22332        if let Some(v) = self.override_height {
22333            os.write_uint32(3, v)?;
22334        }
22335        if let Some(v) = self.monitor_left {
22336            os.write_uint32(4, v)?;
22337        }
22338        if let Some(v) = self.monitor_top {
22339            os.write_uint32(5, v)?;
22340        }
22341        if let Some(v) = self.monitor_right {
22342            os.write_uint32(6, v)?;
22343        }
22344        if let Some(v) = self.monitor_bottom {
22345            os.write_uint32(7, v)?;
22346        }
22347        if let Some(v) = self.usable_left {
22348            os.write_uint32(8, v)?;
22349        }
22350        if let Some(v) = self.usable_top {
22351            os.write_uint32(9, v)?;
22352        }
22353        if let Some(v) = self.usable_right {
22354            os.write_uint32(10, v)?;
22355        }
22356        if let Some(v) = self.usable_bottom {
22357            os.write_uint32(11, v)?;
22358        }
22359        os.write_unknown_fields(self.special_fields.unknown_fields())?;
22360        ::std::result::Result::Ok(())
22361    }
22362
22363    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
22364        &self.special_fields
22365    }
22366
22367    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
22368        &mut self.special_fields
22369    }
22370
22371    fn new() -> CMsgScreenInformationChanged {
22372        CMsgScreenInformationChanged::new()
22373    }
22374
22375    fn clear(&mut self) {
22376        self.browser_handle = ::std::option::Option::None;
22377        self.override_width = ::std::option::Option::None;
22378        self.override_height = ::std::option::Option::None;
22379        self.monitor_left = ::std::option::Option::None;
22380        self.monitor_top = ::std::option::Option::None;
22381        self.monitor_right = ::std::option::Option::None;
22382        self.monitor_bottom = ::std::option::Option::None;
22383        self.usable_left = ::std::option::Option::None;
22384        self.usable_top = ::std::option::Option::None;
22385        self.usable_right = ::std::option::Option::None;
22386        self.usable_bottom = ::std::option::Option::None;
22387        self.special_fields.clear();
22388    }
22389
22390    fn default_instance() -> &'static CMsgScreenInformationChanged {
22391        static instance: CMsgScreenInformationChanged = CMsgScreenInformationChanged {
22392            browser_handle: ::std::option::Option::None,
22393            override_width: ::std::option::Option::None,
22394            override_height: ::std::option::Option::None,
22395            monitor_left: ::std::option::Option::None,
22396            monitor_top: ::std::option::Option::None,
22397            monitor_right: ::std::option::Option::None,
22398            monitor_bottom: ::std::option::Option::None,
22399            usable_left: ::std::option::Option::None,
22400            usable_top: ::std::option::Option::None,
22401            usable_right: ::std::option::Option::None,
22402            usable_bottom: ::std::option::Option::None,
22403            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
22404        };
22405        &instance
22406    }
22407}
22408
22409// @@protoc_insertion_point(message:CMsgClearAllCookies)
22410#[derive(PartialEq,Clone,Default,Debug)]
22411pub struct CMsgClearAllCookies {
22412    // message fields
22413    // @@protoc_insertion_point(field:CMsgClearAllCookies.browser_handle)
22414    pub browser_handle: ::std::option::Option<u32>,
22415    // special fields
22416    // @@protoc_insertion_point(special_field:CMsgClearAllCookies.special_fields)
22417    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
22418}
22419
22420impl<'a> ::std::default::Default for &'a CMsgClearAllCookies {
22421    fn default() -> &'a CMsgClearAllCookies {
22422        <CMsgClearAllCookies as ::steam_vent_proto_common::protobuf::Message>::default_instance()
22423    }
22424}
22425
22426impl CMsgClearAllCookies {
22427    pub fn new() -> CMsgClearAllCookies {
22428        ::std::default::Default::default()
22429    }
22430
22431    // optional uint32 browser_handle = 1;
22432
22433    pub fn browser_handle(&self) -> u32 {
22434        self.browser_handle.unwrap_or(0)
22435    }
22436
22437    pub fn clear_browser_handle(&mut self) {
22438        self.browser_handle = ::std::option::Option::None;
22439    }
22440
22441    pub fn has_browser_handle(&self) -> bool {
22442        self.browser_handle.is_some()
22443    }
22444
22445    // Param is passed by value, moved
22446    pub fn set_browser_handle(&mut self, v: u32) {
22447        self.browser_handle = ::std::option::Option::Some(v);
22448    }
22449}
22450
22451impl ::steam_vent_proto_common::protobuf::Message for CMsgClearAllCookies {
22452    const NAME: &'static str = "CMsgClearAllCookies";
22453
22454    fn is_initialized(&self) -> bool {
22455        true
22456    }
22457
22458    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
22459        while let Some(tag) = is.read_raw_tag_or_eof()? {
22460            match tag {
22461                8 => {
22462                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
22463                },
22464                tag => {
22465                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
22466                },
22467            };
22468        }
22469        ::std::result::Result::Ok(())
22470    }
22471
22472    // Compute sizes of nested messages
22473    #[allow(unused_variables)]
22474    fn compute_size(&self) -> u64 {
22475        let mut my_size = 0;
22476        if let Some(v) = self.browser_handle {
22477            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
22478        }
22479        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
22480        self.special_fields.cached_size().set(my_size as u32);
22481        my_size
22482    }
22483
22484    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
22485        if let Some(v) = self.browser_handle {
22486            os.write_uint32(1, v)?;
22487        }
22488        os.write_unknown_fields(self.special_fields.unknown_fields())?;
22489        ::std::result::Result::Ok(())
22490    }
22491
22492    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
22493        &self.special_fields
22494    }
22495
22496    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
22497        &mut self.special_fields
22498    }
22499
22500    fn new() -> CMsgClearAllCookies {
22501        CMsgClearAllCookies::new()
22502    }
22503
22504    fn clear(&mut self) {
22505        self.browser_handle = ::std::option::Option::None;
22506        self.special_fields.clear();
22507    }
22508
22509    fn default_instance() -> &'static CMsgClearAllCookies {
22510        static instance: CMsgClearAllCookies = CMsgClearAllCookies {
22511            browser_handle: ::std::option::Option::None,
22512            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
22513        };
22514        &instance
22515    }
22516}
22517
22518// @@protoc_insertion_point(message:CMsgScreenDPI)
22519#[derive(PartialEq,Clone,Default,Debug)]
22520pub struct CMsgScreenDPI {
22521    // message fields
22522    // @@protoc_insertion_point(field:CMsgScreenDPI.browser_handle)
22523    pub browser_handle: ::std::option::Option<u32>,
22524    // @@protoc_insertion_point(field:CMsgScreenDPI.dpi_scaling)
22525    pub dpi_scaling: ::std::option::Option<f32>,
22526    // special fields
22527    // @@protoc_insertion_point(special_field:CMsgScreenDPI.special_fields)
22528    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
22529}
22530
22531impl<'a> ::std::default::Default for &'a CMsgScreenDPI {
22532    fn default() -> &'a CMsgScreenDPI {
22533        <CMsgScreenDPI as ::steam_vent_proto_common::protobuf::Message>::default_instance()
22534    }
22535}
22536
22537impl CMsgScreenDPI {
22538    pub fn new() -> CMsgScreenDPI {
22539        ::std::default::Default::default()
22540    }
22541
22542    // optional uint32 browser_handle = 1;
22543
22544    pub fn browser_handle(&self) -> u32 {
22545        self.browser_handle.unwrap_or(0)
22546    }
22547
22548    pub fn clear_browser_handle(&mut self) {
22549        self.browser_handle = ::std::option::Option::None;
22550    }
22551
22552    pub fn has_browser_handle(&self) -> bool {
22553        self.browser_handle.is_some()
22554    }
22555
22556    // Param is passed by value, moved
22557    pub fn set_browser_handle(&mut self, v: u32) {
22558        self.browser_handle = ::std::option::Option::Some(v);
22559    }
22560
22561    // optional float dpi_scaling = 2;
22562
22563    pub fn dpi_scaling(&self) -> f32 {
22564        self.dpi_scaling.unwrap_or(0.)
22565    }
22566
22567    pub fn clear_dpi_scaling(&mut self) {
22568        self.dpi_scaling = ::std::option::Option::None;
22569    }
22570
22571    pub fn has_dpi_scaling(&self) -> bool {
22572        self.dpi_scaling.is_some()
22573    }
22574
22575    // Param is passed by value, moved
22576    pub fn set_dpi_scaling(&mut self, v: f32) {
22577        self.dpi_scaling = ::std::option::Option::Some(v);
22578    }
22579}
22580
22581impl ::steam_vent_proto_common::protobuf::Message for CMsgScreenDPI {
22582    const NAME: &'static str = "CMsgScreenDPI";
22583
22584    fn is_initialized(&self) -> bool {
22585        true
22586    }
22587
22588    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
22589        while let Some(tag) = is.read_raw_tag_or_eof()? {
22590            match tag {
22591                8 => {
22592                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
22593                },
22594                21 => {
22595                    self.dpi_scaling = ::std::option::Option::Some(is.read_float()?);
22596                },
22597                tag => {
22598                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
22599                },
22600            };
22601        }
22602        ::std::result::Result::Ok(())
22603    }
22604
22605    // Compute sizes of nested messages
22606    #[allow(unused_variables)]
22607    fn compute_size(&self) -> u64 {
22608        let mut my_size = 0;
22609        if let Some(v) = self.browser_handle {
22610            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
22611        }
22612        if let Some(v) = self.dpi_scaling {
22613            my_size += 1 + 4;
22614        }
22615        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
22616        self.special_fields.cached_size().set(my_size as u32);
22617        my_size
22618    }
22619
22620    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
22621        if let Some(v) = self.browser_handle {
22622            os.write_uint32(1, v)?;
22623        }
22624        if let Some(v) = self.dpi_scaling {
22625            os.write_float(2, v)?;
22626        }
22627        os.write_unknown_fields(self.special_fields.unknown_fields())?;
22628        ::std::result::Result::Ok(())
22629    }
22630
22631    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
22632        &self.special_fields
22633    }
22634
22635    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
22636        &mut self.special_fields
22637    }
22638
22639    fn new() -> CMsgScreenDPI {
22640        CMsgScreenDPI::new()
22641    }
22642
22643    fn clear(&mut self) {
22644        self.browser_handle = ::std::option::Option::None;
22645        self.dpi_scaling = ::std::option::Option::None;
22646        self.special_fields.clear();
22647    }
22648
22649    fn default_instance() -> &'static CMsgScreenDPI {
22650        static instance: CMsgScreenDPI = CMsgScreenDPI {
22651            browser_handle: ::std::option::Option::None,
22652            dpi_scaling: ::std::option::Option::None,
22653            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
22654        };
22655        &instance
22656    }
22657}
22658
22659// @@protoc_insertion_point(message:CMsgAckScreenDPI)
22660#[derive(PartialEq,Clone,Default,Debug)]
22661pub struct CMsgAckScreenDPI {
22662    // message fields
22663    // @@protoc_insertion_point(field:CMsgAckScreenDPI.browser_handle)
22664    pub browser_handle: ::std::option::Option<u32>,
22665    // special fields
22666    // @@protoc_insertion_point(special_field:CMsgAckScreenDPI.special_fields)
22667    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
22668}
22669
22670impl<'a> ::std::default::Default for &'a CMsgAckScreenDPI {
22671    fn default() -> &'a CMsgAckScreenDPI {
22672        <CMsgAckScreenDPI as ::steam_vent_proto_common::protobuf::Message>::default_instance()
22673    }
22674}
22675
22676impl CMsgAckScreenDPI {
22677    pub fn new() -> CMsgAckScreenDPI {
22678        ::std::default::Default::default()
22679    }
22680
22681    // optional uint32 browser_handle = 1;
22682
22683    pub fn browser_handle(&self) -> u32 {
22684        self.browser_handle.unwrap_or(0)
22685    }
22686
22687    pub fn clear_browser_handle(&mut self) {
22688        self.browser_handle = ::std::option::Option::None;
22689    }
22690
22691    pub fn has_browser_handle(&self) -> bool {
22692        self.browser_handle.is_some()
22693    }
22694
22695    // Param is passed by value, moved
22696    pub fn set_browser_handle(&mut self, v: u32) {
22697        self.browser_handle = ::std::option::Option::Some(v);
22698    }
22699}
22700
22701impl ::steam_vent_proto_common::protobuf::Message for CMsgAckScreenDPI {
22702    const NAME: &'static str = "CMsgAckScreenDPI";
22703
22704    fn is_initialized(&self) -> bool {
22705        true
22706    }
22707
22708    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
22709        while let Some(tag) = is.read_raw_tag_or_eof()? {
22710            match tag {
22711                8 => {
22712                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
22713                },
22714                tag => {
22715                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
22716                },
22717            };
22718        }
22719        ::std::result::Result::Ok(())
22720    }
22721
22722    // Compute sizes of nested messages
22723    #[allow(unused_variables)]
22724    fn compute_size(&self) -> u64 {
22725        let mut my_size = 0;
22726        if let Some(v) = self.browser_handle {
22727            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
22728        }
22729        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
22730        self.special_fields.cached_size().set(my_size as u32);
22731        my_size
22732    }
22733
22734    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
22735        if let Some(v) = self.browser_handle {
22736            os.write_uint32(1, v)?;
22737        }
22738        os.write_unknown_fields(self.special_fields.unknown_fields())?;
22739        ::std::result::Result::Ok(())
22740    }
22741
22742    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
22743        &self.special_fields
22744    }
22745
22746    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
22747        &mut self.special_fields
22748    }
22749
22750    fn new() -> CMsgAckScreenDPI {
22751        CMsgAckScreenDPI::new()
22752    }
22753
22754    fn clear(&mut self) {
22755        self.browser_handle = ::std::option::Option::None;
22756        self.special_fields.clear();
22757    }
22758
22759    fn default_instance() -> &'static CMsgAckScreenDPI {
22760        static instance: CMsgAckScreenDPI = CMsgAckScreenDPI {
22761            browser_handle: ::std::option::Option::None,
22762            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
22763        };
22764        &instance
22765    }
22766}
22767
22768// @@protoc_insertion_point(message:CMsgAuthedSteamDomains)
22769#[derive(PartialEq,Clone,Default,Debug)]
22770pub struct CMsgAuthedSteamDomains {
22771    // message fields
22772    // @@protoc_insertion_point(field:CMsgAuthedSteamDomains.domains)
22773    pub domains: ::std::vec::Vec<::std::string::String>,
22774    // special fields
22775    // @@protoc_insertion_point(special_field:CMsgAuthedSteamDomains.special_fields)
22776    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
22777}
22778
22779impl<'a> ::std::default::Default for &'a CMsgAuthedSteamDomains {
22780    fn default() -> &'a CMsgAuthedSteamDomains {
22781        <CMsgAuthedSteamDomains as ::steam_vent_proto_common::protobuf::Message>::default_instance()
22782    }
22783}
22784
22785impl CMsgAuthedSteamDomains {
22786    pub fn new() -> CMsgAuthedSteamDomains {
22787        ::std::default::Default::default()
22788    }
22789}
22790
22791impl ::steam_vent_proto_common::protobuf::Message for CMsgAuthedSteamDomains {
22792    const NAME: &'static str = "CMsgAuthedSteamDomains";
22793
22794    fn is_initialized(&self) -> bool {
22795        true
22796    }
22797
22798    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
22799        while let Some(tag) = is.read_raw_tag_or_eof()? {
22800            match tag {
22801                10 => {
22802                    self.domains.push(is.read_string()?);
22803                },
22804                tag => {
22805                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
22806                },
22807            };
22808        }
22809        ::std::result::Result::Ok(())
22810    }
22811
22812    // Compute sizes of nested messages
22813    #[allow(unused_variables)]
22814    fn compute_size(&self) -> u64 {
22815        let mut my_size = 0;
22816        for value in &self.domains {
22817            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &value);
22818        };
22819        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
22820        self.special_fields.cached_size().set(my_size as u32);
22821        my_size
22822    }
22823
22824    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
22825        for v in &self.domains {
22826            os.write_string(1, &v)?;
22827        };
22828        os.write_unknown_fields(self.special_fields.unknown_fields())?;
22829        ::std::result::Result::Ok(())
22830    }
22831
22832    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
22833        &self.special_fields
22834    }
22835
22836    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
22837        &mut self.special_fields
22838    }
22839
22840    fn new() -> CMsgAuthedSteamDomains {
22841        CMsgAuthedSteamDomains::new()
22842    }
22843
22844    fn clear(&mut self) {
22845        self.domains.clear();
22846        self.special_fields.clear();
22847    }
22848
22849    fn default_instance() -> &'static CMsgAuthedSteamDomains {
22850        static instance: CMsgAuthedSteamDomains = CMsgAuthedSteamDomains {
22851            domains: ::std::vec::Vec::new(),
22852            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
22853        };
22854        &instance
22855    }
22856}
22857
22858// @@protoc_insertion_point(message:CMsgSteamAuthNeeded)
22859#[derive(PartialEq,Clone,Default,Debug)]
22860pub struct CMsgSteamAuthNeeded {
22861    // message fields
22862    // @@protoc_insertion_point(field:CMsgSteamAuthNeeded.filler)
22863    pub filler: ::std::option::Option<bool>,
22864    // special fields
22865    // @@protoc_insertion_point(special_field:CMsgSteamAuthNeeded.special_fields)
22866    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
22867}
22868
22869impl<'a> ::std::default::Default for &'a CMsgSteamAuthNeeded {
22870    fn default() -> &'a CMsgSteamAuthNeeded {
22871        <CMsgSteamAuthNeeded as ::steam_vent_proto_common::protobuf::Message>::default_instance()
22872    }
22873}
22874
22875impl CMsgSteamAuthNeeded {
22876    pub fn new() -> CMsgSteamAuthNeeded {
22877        ::std::default::Default::default()
22878    }
22879
22880    // optional bool filler = 1;
22881
22882    pub fn filler(&self) -> bool {
22883        self.filler.unwrap_or(false)
22884    }
22885
22886    pub fn clear_filler(&mut self) {
22887        self.filler = ::std::option::Option::None;
22888    }
22889
22890    pub fn has_filler(&self) -> bool {
22891        self.filler.is_some()
22892    }
22893
22894    // Param is passed by value, moved
22895    pub fn set_filler(&mut self, v: bool) {
22896        self.filler = ::std::option::Option::Some(v);
22897    }
22898}
22899
22900impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamAuthNeeded {
22901    const NAME: &'static str = "CMsgSteamAuthNeeded";
22902
22903    fn is_initialized(&self) -> bool {
22904        true
22905    }
22906
22907    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
22908        while let Some(tag) = is.read_raw_tag_or_eof()? {
22909            match tag {
22910                8 => {
22911                    self.filler = ::std::option::Option::Some(is.read_bool()?);
22912                },
22913                tag => {
22914                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
22915                },
22916            };
22917        }
22918        ::std::result::Result::Ok(())
22919    }
22920
22921    // Compute sizes of nested messages
22922    #[allow(unused_variables)]
22923    fn compute_size(&self) -> u64 {
22924        let mut my_size = 0;
22925        if let Some(v) = self.filler {
22926            my_size += 1 + 1;
22927        }
22928        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
22929        self.special_fields.cached_size().set(my_size as u32);
22930        my_size
22931    }
22932
22933    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
22934        if let Some(v) = self.filler {
22935            os.write_bool(1, v)?;
22936        }
22937        os.write_unknown_fields(self.special_fields.unknown_fields())?;
22938        ::std::result::Result::Ok(())
22939    }
22940
22941    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
22942        &self.special_fields
22943    }
22944
22945    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
22946        &mut self.special_fields
22947    }
22948
22949    fn new() -> CMsgSteamAuthNeeded {
22950        CMsgSteamAuthNeeded::new()
22951    }
22952
22953    fn clear(&mut self) {
22954        self.filler = ::std::option::Option::None;
22955        self.special_fields.clear();
22956    }
22957
22958    fn default_instance() -> &'static CMsgSteamAuthNeeded {
22959        static instance: CMsgSteamAuthNeeded = CMsgSteamAuthNeeded {
22960            filler: ::std::option::Option::None,
22961            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
22962        };
22963        &instance
22964    }
22965}
22966
22967// @@protoc_insertion_point(message:CMsgSteamAuthCookiesSet)
22968#[derive(PartialEq,Clone,Default,Debug)]
22969pub struct CMsgSteamAuthCookiesSet {
22970    // message fields
22971    // @@protoc_insertion_point(field:CMsgSteamAuthCookiesSet.success)
22972    pub success: ::std::option::Option<bool>,
22973    // special fields
22974    // @@protoc_insertion_point(special_field:CMsgSteamAuthCookiesSet.special_fields)
22975    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
22976}
22977
22978impl<'a> ::std::default::Default for &'a CMsgSteamAuthCookiesSet {
22979    fn default() -> &'a CMsgSteamAuthCookiesSet {
22980        <CMsgSteamAuthCookiesSet as ::steam_vent_proto_common::protobuf::Message>::default_instance()
22981    }
22982}
22983
22984impl CMsgSteamAuthCookiesSet {
22985    pub fn new() -> CMsgSteamAuthCookiesSet {
22986        ::std::default::Default::default()
22987    }
22988
22989    // optional bool success = 1;
22990
22991    pub fn success(&self) -> bool {
22992        self.success.unwrap_or(false)
22993    }
22994
22995    pub fn clear_success(&mut self) {
22996        self.success = ::std::option::Option::None;
22997    }
22998
22999    pub fn has_success(&self) -> bool {
23000        self.success.is_some()
23001    }
23002
23003    // Param is passed by value, moved
23004    pub fn set_success(&mut self, v: bool) {
23005        self.success = ::std::option::Option::Some(v);
23006    }
23007}
23008
23009impl ::steam_vent_proto_common::protobuf::Message for CMsgSteamAuthCookiesSet {
23010    const NAME: &'static str = "CMsgSteamAuthCookiesSet";
23011
23012    fn is_initialized(&self) -> bool {
23013        true
23014    }
23015
23016    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
23017        while let Some(tag) = is.read_raw_tag_or_eof()? {
23018            match tag {
23019                8 => {
23020                    self.success = ::std::option::Option::Some(is.read_bool()?);
23021                },
23022                tag => {
23023                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
23024                },
23025            };
23026        }
23027        ::std::result::Result::Ok(())
23028    }
23029
23030    // Compute sizes of nested messages
23031    #[allow(unused_variables)]
23032    fn compute_size(&self) -> u64 {
23033        let mut my_size = 0;
23034        if let Some(v) = self.success {
23035            my_size += 1 + 1;
23036        }
23037        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
23038        self.special_fields.cached_size().set(my_size as u32);
23039        my_size
23040    }
23041
23042    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
23043        if let Some(v) = self.success {
23044            os.write_bool(1, v)?;
23045        }
23046        os.write_unknown_fields(self.special_fields.unknown_fields())?;
23047        ::std::result::Result::Ok(())
23048    }
23049
23050    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
23051        &self.special_fields
23052    }
23053
23054    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
23055        &mut self.special_fields
23056    }
23057
23058    fn new() -> CMsgSteamAuthCookiesSet {
23059        CMsgSteamAuthCookiesSet::new()
23060    }
23061
23062    fn clear(&mut self) {
23063        self.success = ::std::option::Option::None;
23064        self.special_fields.clear();
23065    }
23066
23067    fn default_instance() -> &'static CMsgSteamAuthCookiesSet {
23068        static instance: CMsgSteamAuthCookiesSet = CMsgSteamAuthCookiesSet {
23069            success: ::std::option::Option::None,
23070            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
23071        };
23072        &instance
23073    }
23074}
23075
23076// @@protoc_insertion_point(message:CMsgJSRegisterMethod)
23077#[derive(PartialEq,Clone,Default,Debug)]
23078pub struct CMsgJSRegisterMethod {
23079    // message fields
23080    // @@protoc_insertion_point(field:CMsgJSRegisterMethod.browser_handle)
23081    pub browser_handle: ::std::option::Option<u32>,
23082    // @@protoc_insertion_point(field:CMsgJSRegisterMethod.name)
23083    pub name: ::std::option::Option<::std::string::String>,
23084    // @@protoc_insertion_point(field:CMsgJSRegisterMethod.method_type)
23085    pub method_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EJSRegisterMethodType>>,
23086    // special fields
23087    // @@protoc_insertion_point(special_field:CMsgJSRegisterMethod.special_fields)
23088    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
23089}
23090
23091impl<'a> ::std::default::Default for &'a CMsgJSRegisterMethod {
23092    fn default() -> &'a CMsgJSRegisterMethod {
23093        <CMsgJSRegisterMethod as ::steam_vent_proto_common::protobuf::Message>::default_instance()
23094    }
23095}
23096
23097impl CMsgJSRegisterMethod {
23098    pub fn new() -> CMsgJSRegisterMethod {
23099        ::std::default::Default::default()
23100    }
23101
23102    // optional uint32 browser_handle = 1;
23103
23104    pub fn browser_handle(&self) -> u32 {
23105        self.browser_handle.unwrap_or(0)
23106    }
23107
23108    pub fn clear_browser_handle(&mut self) {
23109        self.browser_handle = ::std::option::Option::None;
23110    }
23111
23112    pub fn has_browser_handle(&self) -> bool {
23113        self.browser_handle.is_some()
23114    }
23115
23116    // Param is passed by value, moved
23117    pub fn set_browser_handle(&mut self, v: u32) {
23118        self.browser_handle = ::std::option::Option::Some(v);
23119    }
23120
23121    // optional string name = 2;
23122
23123    pub fn name(&self) -> &str {
23124        match self.name.as_ref() {
23125            Some(v) => v,
23126            None => "",
23127        }
23128    }
23129
23130    pub fn clear_name(&mut self) {
23131        self.name = ::std::option::Option::None;
23132    }
23133
23134    pub fn has_name(&self) -> bool {
23135        self.name.is_some()
23136    }
23137
23138    // Param is passed by value, moved
23139    pub fn set_name(&mut self, v: ::std::string::String) {
23140        self.name = ::std::option::Option::Some(v);
23141    }
23142
23143    // Mutable pointer to the field.
23144    // If field is not initialized, it is initialized with default value first.
23145    pub fn mut_name(&mut self) -> &mut ::std::string::String {
23146        if self.name.is_none() {
23147            self.name = ::std::option::Option::Some(::std::string::String::new());
23148        }
23149        self.name.as_mut().unwrap()
23150    }
23151
23152    // Take field
23153    pub fn take_name(&mut self) -> ::std::string::String {
23154        self.name.take().unwrap_or_else(|| ::std::string::String::new())
23155    }
23156
23157    // optional .EJSRegisterMethodType method_type = 3;
23158
23159    pub fn method_type(&self) -> EJSRegisterMethodType {
23160        match self.method_type {
23161            Some(e) => e.enum_value_or(EJSRegisterMethodType::k_EJSRegisterMethodType_Invalid),
23162            None => EJSRegisterMethodType::k_EJSRegisterMethodType_Invalid,
23163        }
23164    }
23165
23166    pub fn clear_method_type(&mut self) {
23167        self.method_type = ::std::option::Option::None;
23168    }
23169
23170    pub fn has_method_type(&self) -> bool {
23171        self.method_type.is_some()
23172    }
23173
23174    // Param is passed by value, moved
23175    pub fn set_method_type(&mut self, v: EJSRegisterMethodType) {
23176        self.method_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
23177    }
23178}
23179
23180impl ::steam_vent_proto_common::protobuf::Message for CMsgJSRegisterMethod {
23181    const NAME: &'static str = "CMsgJSRegisterMethod";
23182
23183    fn is_initialized(&self) -> bool {
23184        true
23185    }
23186
23187    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
23188        while let Some(tag) = is.read_raw_tag_or_eof()? {
23189            match tag {
23190                8 => {
23191                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
23192                },
23193                18 => {
23194                    self.name = ::std::option::Option::Some(is.read_string()?);
23195                },
23196                24 => {
23197                    self.method_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
23198                },
23199                tag => {
23200                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
23201                },
23202            };
23203        }
23204        ::std::result::Result::Ok(())
23205    }
23206
23207    // Compute sizes of nested messages
23208    #[allow(unused_variables)]
23209    fn compute_size(&self) -> u64 {
23210        let mut my_size = 0;
23211        if let Some(v) = self.browser_handle {
23212            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
23213        }
23214        if let Some(v) = self.name.as_ref() {
23215            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
23216        }
23217        if let Some(v) = self.method_type {
23218            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v.value());
23219        }
23220        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
23221        self.special_fields.cached_size().set(my_size as u32);
23222        my_size
23223    }
23224
23225    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
23226        if let Some(v) = self.browser_handle {
23227            os.write_uint32(1, v)?;
23228        }
23229        if let Some(v) = self.name.as_ref() {
23230            os.write_string(2, v)?;
23231        }
23232        if let Some(v) = self.method_type {
23233            os.write_enum(3, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
23234        }
23235        os.write_unknown_fields(self.special_fields.unknown_fields())?;
23236        ::std::result::Result::Ok(())
23237    }
23238
23239    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
23240        &self.special_fields
23241    }
23242
23243    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
23244        &mut self.special_fields
23245    }
23246
23247    fn new() -> CMsgJSRegisterMethod {
23248        CMsgJSRegisterMethod::new()
23249    }
23250
23251    fn clear(&mut self) {
23252        self.browser_handle = ::std::option::Option::None;
23253        self.name = ::std::option::Option::None;
23254        self.method_type = ::std::option::Option::None;
23255        self.special_fields.clear();
23256    }
23257
23258    fn default_instance() -> &'static CMsgJSRegisterMethod {
23259        static instance: CMsgJSRegisterMethod = CMsgJSRegisterMethod {
23260            browser_handle: ::std::option::Option::None,
23261            name: ::std::option::Option::None,
23262            method_type: ::std::option::Option::None,
23263            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
23264        };
23265        &instance
23266    }
23267}
23268
23269// @@protoc_insertion_point(message:CMsgJSValue)
23270#[derive(PartialEq,Clone,Default,Debug)]
23271pub struct CMsgJSValue {
23272    // message fields
23273    // @@protoc_insertion_point(field:CMsgJSValue.bool_value)
23274    pub bool_value: ::std::option::Option<bool>,
23275    // @@protoc_insertion_point(field:CMsgJSValue.int_value)
23276    pub int_value: ::std::option::Option<i32>,
23277    // @@protoc_insertion_point(field:CMsgJSValue.uint_value)
23278    pub uint_value: ::std::option::Option<u32>,
23279    // @@protoc_insertion_point(field:CMsgJSValue.double_value)
23280    pub double_value: ::std::option::Option<f64>,
23281    // @@protoc_insertion_point(field:CMsgJSValue.string_value)
23282    pub string_value: ::std::option::Option<::std::string::String>,
23283    // @@protoc_insertion_point(field:CMsgJSValue.function_handle)
23284    pub function_handle: ::std::option::Option<u64>,
23285    // @@protoc_insertion_point(field:CMsgJSValue.bytes_value)
23286    pub bytes_value: ::std::option::Option<::std::vec::Vec<u8>>,
23287    // @@protoc_insertion_point(field:CMsgJSValue.is_array)
23288    pub is_array: ::std::option::Option<bool>,
23289    // @@protoc_insertion_point(field:CMsgJSValue.array_values)
23290    pub array_values: ::std::vec::Vec<CMsgJSValue>,
23291    // @@protoc_insertion_point(field:CMsgJSValue.is_object)
23292    pub is_object: ::std::option::Option<bool>,
23293    // @@protoc_insertion_point(field:CMsgJSValue.object_properties)
23294    pub object_properties: ::std::vec::Vec<cmsg_jsvalue::JSObjectProperty>,
23295    // special fields
23296    // @@protoc_insertion_point(special_field:CMsgJSValue.special_fields)
23297    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
23298}
23299
23300impl<'a> ::std::default::Default for &'a CMsgJSValue {
23301    fn default() -> &'a CMsgJSValue {
23302        <CMsgJSValue as ::steam_vent_proto_common::protobuf::Message>::default_instance()
23303    }
23304}
23305
23306impl CMsgJSValue {
23307    pub fn new() -> CMsgJSValue {
23308        ::std::default::Default::default()
23309    }
23310
23311    // optional bool bool_value = 1;
23312
23313    pub fn bool_value(&self) -> bool {
23314        self.bool_value.unwrap_or(false)
23315    }
23316
23317    pub fn clear_bool_value(&mut self) {
23318        self.bool_value = ::std::option::Option::None;
23319    }
23320
23321    pub fn has_bool_value(&self) -> bool {
23322        self.bool_value.is_some()
23323    }
23324
23325    // Param is passed by value, moved
23326    pub fn set_bool_value(&mut self, v: bool) {
23327        self.bool_value = ::std::option::Option::Some(v);
23328    }
23329
23330    // optional int32 int_value = 2;
23331
23332    pub fn int_value(&self) -> i32 {
23333        self.int_value.unwrap_or(0)
23334    }
23335
23336    pub fn clear_int_value(&mut self) {
23337        self.int_value = ::std::option::Option::None;
23338    }
23339
23340    pub fn has_int_value(&self) -> bool {
23341        self.int_value.is_some()
23342    }
23343
23344    // Param is passed by value, moved
23345    pub fn set_int_value(&mut self, v: i32) {
23346        self.int_value = ::std::option::Option::Some(v);
23347    }
23348
23349    // optional uint32 uint_value = 3;
23350
23351    pub fn uint_value(&self) -> u32 {
23352        self.uint_value.unwrap_or(0)
23353    }
23354
23355    pub fn clear_uint_value(&mut self) {
23356        self.uint_value = ::std::option::Option::None;
23357    }
23358
23359    pub fn has_uint_value(&self) -> bool {
23360        self.uint_value.is_some()
23361    }
23362
23363    // Param is passed by value, moved
23364    pub fn set_uint_value(&mut self, v: u32) {
23365        self.uint_value = ::std::option::Option::Some(v);
23366    }
23367
23368    // optional double double_value = 4;
23369
23370    pub fn double_value(&self) -> f64 {
23371        self.double_value.unwrap_or(0.)
23372    }
23373
23374    pub fn clear_double_value(&mut self) {
23375        self.double_value = ::std::option::Option::None;
23376    }
23377
23378    pub fn has_double_value(&self) -> bool {
23379        self.double_value.is_some()
23380    }
23381
23382    // Param is passed by value, moved
23383    pub fn set_double_value(&mut self, v: f64) {
23384        self.double_value = ::std::option::Option::Some(v);
23385    }
23386
23387    // optional string string_value = 5;
23388
23389    pub fn string_value(&self) -> &str {
23390        match self.string_value.as_ref() {
23391            Some(v) => v,
23392            None => "",
23393        }
23394    }
23395
23396    pub fn clear_string_value(&mut self) {
23397        self.string_value = ::std::option::Option::None;
23398    }
23399
23400    pub fn has_string_value(&self) -> bool {
23401        self.string_value.is_some()
23402    }
23403
23404    // Param is passed by value, moved
23405    pub fn set_string_value(&mut self, v: ::std::string::String) {
23406        self.string_value = ::std::option::Option::Some(v);
23407    }
23408
23409    // Mutable pointer to the field.
23410    // If field is not initialized, it is initialized with default value first.
23411    pub fn mut_string_value(&mut self) -> &mut ::std::string::String {
23412        if self.string_value.is_none() {
23413            self.string_value = ::std::option::Option::Some(::std::string::String::new());
23414        }
23415        self.string_value.as_mut().unwrap()
23416    }
23417
23418    // Take field
23419    pub fn take_string_value(&mut self) -> ::std::string::String {
23420        self.string_value.take().unwrap_or_else(|| ::std::string::String::new())
23421    }
23422
23423    // optional uint64 function_handle = 6;
23424
23425    pub fn function_handle(&self) -> u64 {
23426        self.function_handle.unwrap_or(0)
23427    }
23428
23429    pub fn clear_function_handle(&mut self) {
23430        self.function_handle = ::std::option::Option::None;
23431    }
23432
23433    pub fn has_function_handle(&self) -> bool {
23434        self.function_handle.is_some()
23435    }
23436
23437    // Param is passed by value, moved
23438    pub fn set_function_handle(&mut self, v: u64) {
23439        self.function_handle = ::std::option::Option::Some(v);
23440    }
23441
23442    // optional bytes bytes_value = 12;
23443
23444    pub fn bytes_value(&self) -> &[u8] {
23445        match self.bytes_value.as_ref() {
23446            Some(v) => v,
23447            None => &[],
23448        }
23449    }
23450
23451    pub fn clear_bytes_value(&mut self) {
23452        self.bytes_value = ::std::option::Option::None;
23453    }
23454
23455    pub fn has_bytes_value(&self) -> bool {
23456        self.bytes_value.is_some()
23457    }
23458
23459    // Param is passed by value, moved
23460    pub fn set_bytes_value(&mut self, v: ::std::vec::Vec<u8>) {
23461        self.bytes_value = ::std::option::Option::Some(v);
23462    }
23463
23464    // Mutable pointer to the field.
23465    // If field is not initialized, it is initialized with default value first.
23466    pub fn mut_bytes_value(&mut self) -> &mut ::std::vec::Vec<u8> {
23467        if self.bytes_value.is_none() {
23468            self.bytes_value = ::std::option::Option::Some(::std::vec::Vec::new());
23469        }
23470        self.bytes_value.as_mut().unwrap()
23471    }
23472
23473    // Take field
23474    pub fn take_bytes_value(&mut self) -> ::std::vec::Vec<u8> {
23475        self.bytes_value.take().unwrap_or_else(|| ::std::vec::Vec::new())
23476    }
23477
23478    // optional bool is_array = 8;
23479
23480    pub fn is_array(&self) -> bool {
23481        self.is_array.unwrap_or(false)
23482    }
23483
23484    pub fn clear_is_array(&mut self) {
23485        self.is_array = ::std::option::Option::None;
23486    }
23487
23488    pub fn has_is_array(&self) -> bool {
23489        self.is_array.is_some()
23490    }
23491
23492    // Param is passed by value, moved
23493    pub fn set_is_array(&mut self, v: bool) {
23494        self.is_array = ::std::option::Option::Some(v);
23495    }
23496
23497    // optional bool is_object = 10;
23498
23499    pub fn is_object(&self) -> bool {
23500        self.is_object.unwrap_or(false)
23501    }
23502
23503    pub fn clear_is_object(&mut self) {
23504        self.is_object = ::std::option::Option::None;
23505    }
23506
23507    pub fn has_is_object(&self) -> bool {
23508        self.is_object.is_some()
23509    }
23510
23511    // Param is passed by value, moved
23512    pub fn set_is_object(&mut self, v: bool) {
23513        self.is_object = ::std::option::Option::Some(v);
23514    }
23515}
23516
23517impl ::steam_vent_proto_common::protobuf::Message for CMsgJSValue {
23518    const NAME: &'static str = "CMsgJSValue";
23519
23520    fn is_initialized(&self) -> bool {
23521        true
23522    }
23523
23524    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
23525        while let Some(tag) = is.read_raw_tag_or_eof()? {
23526            match tag {
23527                8 => {
23528                    self.bool_value = ::std::option::Option::Some(is.read_bool()?);
23529                },
23530                16 => {
23531                    self.int_value = ::std::option::Option::Some(is.read_int32()?);
23532                },
23533                24 => {
23534                    self.uint_value = ::std::option::Option::Some(is.read_uint32()?);
23535                },
23536                33 => {
23537                    self.double_value = ::std::option::Option::Some(is.read_double()?);
23538                },
23539                42 => {
23540                    self.string_value = ::std::option::Option::Some(is.read_string()?);
23541                },
23542                48 => {
23543                    self.function_handle = ::std::option::Option::Some(is.read_uint64()?);
23544                },
23545                98 => {
23546                    self.bytes_value = ::std::option::Option::Some(is.read_bytes()?);
23547                },
23548                64 => {
23549                    self.is_array = ::std::option::Option::Some(is.read_bool()?);
23550                },
23551                74 => {
23552                    self.array_values.push(is.read_message()?);
23553                },
23554                80 => {
23555                    self.is_object = ::std::option::Option::Some(is.read_bool()?);
23556                },
23557                90 => {
23558                    self.object_properties.push(is.read_message()?);
23559                },
23560                tag => {
23561                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
23562                },
23563            };
23564        }
23565        ::std::result::Result::Ok(())
23566    }
23567
23568    // Compute sizes of nested messages
23569    #[allow(unused_variables)]
23570    fn compute_size(&self) -> u64 {
23571        let mut my_size = 0;
23572        if let Some(v) = self.bool_value {
23573            my_size += 1 + 1;
23574        }
23575        if let Some(v) = self.int_value {
23576            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
23577        }
23578        if let Some(v) = self.uint_value {
23579            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
23580        }
23581        if let Some(v) = self.double_value {
23582            my_size += 1 + 8;
23583        }
23584        if let Some(v) = self.string_value.as_ref() {
23585            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
23586        }
23587        if let Some(v) = self.function_handle {
23588            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(6, v);
23589        }
23590        if let Some(v) = self.bytes_value.as_ref() {
23591            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(12, &v);
23592        }
23593        if let Some(v) = self.is_array {
23594            my_size += 1 + 1;
23595        }
23596        for value in &self.array_values {
23597            let len = value.compute_size();
23598            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
23599        };
23600        if let Some(v) = self.is_object {
23601            my_size += 1 + 1;
23602        }
23603        for value in &self.object_properties {
23604            let len = value.compute_size();
23605            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
23606        };
23607        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
23608        self.special_fields.cached_size().set(my_size as u32);
23609        my_size
23610    }
23611
23612    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
23613        if let Some(v) = self.bool_value {
23614            os.write_bool(1, v)?;
23615        }
23616        if let Some(v) = self.int_value {
23617            os.write_int32(2, v)?;
23618        }
23619        if let Some(v) = self.uint_value {
23620            os.write_uint32(3, v)?;
23621        }
23622        if let Some(v) = self.double_value {
23623            os.write_double(4, v)?;
23624        }
23625        if let Some(v) = self.string_value.as_ref() {
23626            os.write_string(5, v)?;
23627        }
23628        if let Some(v) = self.function_handle {
23629            os.write_uint64(6, v)?;
23630        }
23631        if let Some(v) = self.bytes_value.as_ref() {
23632            os.write_bytes(12, v)?;
23633        }
23634        if let Some(v) = self.is_array {
23635            os.write_bool(8, v)?;
23636        }
23637        for v in &self.array_values {
23638            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(9, v, os)?;
23639        };
23640        if let Some(v) = self.is_object {
23641            os.write_bool(10, v)?;
23642        }
23643        for v in &self.object_properties {
23644            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(11, v, os)?;
23645        };
23646        os.write_unknown_fields(self.special_fields.unknown_fields())?;
23647        ::std::result::Result::Ok(())
23648    }
23649
23650    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
23651        &self.special_fields
23652    }
23653
23654    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
23655        &mut self.special_fields
23656    }
23657
23658    fn new() -> CMsgJSValue {
23659        CMsgJSValue::new()
23660    }
23661
23662    fn clear(&mut self) {
23663        self.bool_value = ::std::option::Option::None;
23664        self.int_value = ::std::option::Option::None;
23665        self.uint_value = ::std::option::Option::None;
23666        self.double_value = ::std::option::Option::None;
23667        self.string_value = ::std::option::Option::None;
23668        self.function_handle = ::std::option::Option::None;
23669        self.bytes_value = ::std::option::Option::None;
23670        self.is_array = ::std::option::Option::None;
23671        self.array_values.clear();
23672        self.is_object = ::std::option::Option::None;
23673        self.object_properties.clear();
23674        self.special_fields.clear();
23675    }
23676
23677    fn default_instance() -> &'static CMsgJSValue {
23678        static instance: CMsgJSValue = CMsgJSValue {
23679            bool_value: ::std::option::Option::None,
23680            int_value: ::std::option::Option::None,
23681            uint_value: ::std::option::Option::None,
23682            double_value: ::std::option::Option::None,
23683            string_value: ::std::option::Option::None,
23684            function_handle: ::std::option::Option::None,
23685            bytes_value: ::std::option::Option::None,
23686            is_array: ::std::option::Option::None,
23687            array_values: ::std::vec::Vec::new(),
23688            is_object: ::std::option::Option::None,
23689            object_properties: ::std::vec::Vec::new(),
23690            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
23691        };
23692        &instance
23693    }
23694}
23695
23696/// Nested message and enums of message `CMsgJSValue`
23697pub mod cmsg_jsvalue {
23698    // @@protoc_insertion_point(message:CMsgJSValue.JSObjectProperty)
23699    #[derive(PartialEq,Clone,Default,Debug)]
23700    pub struct JSObjectProperty {
23701        // message fields
23702        // @@protoc_insertion_point(field:CMsgJSValue.JSObjectProperty.name)
23703        pub name: ::std::option::Option<::std::string::String>,
23704        // @@protoc_insertion_point(field:CMsgJSValue.JSObjectProperty.value)
23705        pub value: ::steam_vent_proto_common::protobuf::MessageField<super::CMsgJSValue>,
23706        // special fields
23707        // @@protoc_insertion_point(special_field:CMsgJSValue.JSObjectProperty.special_fields)
23708        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
23709    }
23710
23711    impl<'a> ::std::default::Default for &'a JSObjectProperty {
23712        fn default() -> &'a JSObjectProperty {
23713            <JSObjectProperty as ::steam_vent_proto_common::protobuf::Message>::default_instance()
23714        }
23715    }
23716
23717    impl JSObjectProperty {
23718        pub fn new() -> JSObjectProperty {
23719            ::std::default::Default::default()
23720        }
23721
23722        // optional string name = 1;
23723
23724        pub fn name(&self) -> &str {
23725            match self.name.as_ref() {
23726                Some(v) => v,
23727                None => "",
23728            }
23729        }
23730
23731        pub fn clear_name(&mut self) {
23732            self.name = ::std::option::Option::None;
23733        }
23734
23735        pub fn has_name(&self) -> bool {
23736            self.name.is_some()
23737        }
23738
23739        // Param is passed by value, moved
23740        pub fn set_name(&mut self, v: ::std::string::String) {
23741            self.name = ::std::option::Option::Some(v);
23742        }
23743
23744        // Mutable pointer to the field.
23745        // If field is not initialized, it is initialized with default value first.
23746        pub fn mut_name(&mut self) -> &mut ::std::string::String {
23747            if self.name.is_none() {
23748                self.name = ::std::option::Option::Some(::std::string::String::new());
23749            }
23750            self.name.as_mut().unwrap()
23751        }
23752
23753        // Take field
23754        pub fn take_name(&mut self) -> ::std::string::String {
23755            self.name.take().unwrap_or_else(|| ::std::string::String::new())
23756        }
23757    }
23758
23759    impl ::steam_vent_proto_common::protobuf::Message for JSObjectProperty {
23760        const NAME: &'static str = "JSObjectProperty";
23761
23762        fn is_initialized(&self) -> bool {
23763            true
23764        }
23765
23766        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
23767            while let Some(tag) = is.read_raw_tag_or_eof()? {
23768                match tag {
23769                    10 => {
23770                        self.name = ::std::option::Option::Some(is.read_string()?);
23771                    },
23772                    18 => {
23773                        ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.value)?;
23774                    },
23775                    tag => {
23776                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
23777                    },
23778                };
23779            }
23780            ::std::result::Result::Ok(())
23781        }
23782
23783        // Compute sizes of nested messages
23784        #[allow(unused_variables)]
23785        fn compute_size(&self) -> u64 {
23786            let mut my_size = 0;
23787            if let Some(v) = self.name.as_ref() {
23788                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
23789            }
23790            if let Some(v) = self.value.as_ref() {
23791                let len = v.compute_size();
23792                my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
23793            }
23794            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
23795            self.special_fields.cached_size().set(my_size as u32);
23796            my_size
23797        }
23798
23799        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
23800            if let Some(v) = self.name.as_ref() {
23801                os.write_string(1, v)?;
23802            }
23803            if let Some(v) = self.value.as_ref() {
23804                ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
23805            }
23806            os.write_unknown_fields(self.special_fields.unknown_fields())?;
23807            ::std::result::Result::Ok(())
23808        }
23809
23810        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
23811            &self.special_fields
23812        }
23813
23814        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
23815            &mut self.special_fields
23816        }
23817
23818        fn new() -> JSObjectProperty {
23819            JSObjectProperty::new()
23820        }
23821
23822        fn clear(&mut self) {
23823            self.name = ::std::option::Option::None;
23824            self.value.clear();
23825            self.special_fields.clear();
23826        }
23827
23828        fn default_instance() -> &'static JSObjectProperty {
23829            static instance: JSObjectProperty = JSObjectProperty {
23830                name: ::std::option::Option::None,
23831                value: ::steam_vent_proto_common::protobuf::MessageField::none(),
23832                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
23833            };
23834            &instance
23835        }
23836    }
23837}
23838
23839// @@protoc_insertion_point(message:CMsgJSMethodCall)
23840#[derive(PartialEq,Clone,Default,Debug)]
23841pub struct CMsgJSMethodCall {
23842    // message fields
23843    // @@protoc_insertion_point(field:CMsgJSMethodCall.browser_handle)
23844    pub browser_handle: ::std::option::Option<u32>,
23845    // @@protoc_insertion_point(field:CMsgJSMethodCall.owning_browser_handle)
23846    pub owning_browser_handle: ::std::option::Option<u32>,
23847    // @@protoc_insertion_point(field:CMsgJSMethodCall.name)
23848    pub name: ::std::option::Option<::std::string::String>,
23849    // @@protoc_insertion_point(field:CMsgJSMethodCall.arguments)
23850    pub arguments: ::std::vec::Vec<CMsgJSValue>,
23851    // special fields
23852    // @@protoc_insertion_point(special_field:CMsgJSMethodCall.special_fields)
23853    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
23854}
23855
23856impl<'a> ::std::default::Default for &'a CMsgJSMethodCall {
23857    fn default() -> &'a CMsgJSMethodCall {
23858        <CMsgJSMethodCall as ::steam_vent_proto_common::protobuf::Message>::default_instance()
23859    }
23860}
23861
23862impl CMsgJSMethodCall {
23863    pub fn new() -> CMsgJSMethodCall {
23864        ::std::default::Default::default()
23865    }
23866
23867    // optional uint32 browser_handle = 1;
23868
23869    pub fn browser_handle(&self) -> u32 {
23870        self.browser_handle.unwrap_or(0)
23871    }
23872
23873    pub fn clear_browser_handle(&mut self) {
23874        self.browser_handle = ::std::option::Option::None;
23875    }
23876
23877    pub fn has_browser_handle(&self) -> bool {
23878        self.browser_handle.is_some()
23879    }
23880
23881    // Param is passed by value, moved
23882    pub fn set_browser_handle(&mut self, v: u32) {
23883        self.browser_handle = ::std::option::Option::Some(v);
23884    }
23885
23886    // optional uint32 owning_browser_handle = 2;
23887
23888    pub fn owning_browser_handle(&self) -> u32 {
23889        self.owning_browser_handle.unwrap_or(0)
23890    }
23891
23892    pub fn clear_owning_browser_handle(&mut self) {
23893        self.owning_browser_handle = ::std::option::Option::None;
23894    }
23895
23896    pub fn has_owning_browser_handle(&self) -> bool {
23897        self.owning_browser_handle.is_some()
23898    }
23899
23900    // Param is passed by value, moved
23901    pub fn set_owning_browser_handle(&mut self, v: u32) {
23902        self.owning_browser_handle = ::std::option::Option::Some(v);
23903    }
23904
23905    // optional string name = 3;
23906
23907    pub fn name(&self) -> &str {
23908        match self.name.as_ref() {
23909            Some(v) => v,
23910            None => "",
23911        }
23912    }
23913
23914    pub fn clear_name(&mut self) {
23915        self.name = ::std::option::Option::None;
23916    }
23917
23918    pub fn has_name(&self) -> bool {
23919        self.name.is_some()
23920    }
23921
23922    // Param is passed by value, moved
23923    pub fn set_name(&mut self, v: ::std::string::String) {
23924        self.name = ::std::option::Option::Some(v);
23925    }
23926
23927    // Mutable pointer to the field.
23928    // If field is not initialized, it is initialized with default value first.
23929    pub fn mut_name(&mut self) -> &mut ::std::string::String {
23930        if self.name.is_none() {
23931            self.name = ::std::option::Option::Some(::std::string::String::new());
23932        }
23933        self.name.as_mut().unwrap()
23934    }
23935
23936    // Take field
23937    pub fn take_name(&mut self) -> ::std::string::String {
23938        self.name.take().unwrap_or_else(|| ::std::string::String::new())
23939    }
23940}
23941
23942impl ::steam_vent_proto_common::protobuf::Message for CMsgJSMethodCall {
23943    const NAME: &'static str = "CMsgJSMethodCall";
23944
23945    fn is_initialized(&self) -> bool {
23946        true
23947    }
23948
23949    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
23950        while let Some(tag) = is.read_raw_tag_or_eof()? {
23951            match tag {
23952                8 => {
23953                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
23954                },
23955                16 => {
23956                    self.owning_browser_handle = ::std::option::Option::Some(is.read_uint32()?);
23957                },
23958                26 => {
23959                    self.name = ::std::option::Option::Some(is.read_string()?);
23960                },
23961                34 => {
23962                    self.arguments.push(is.read_message()?);
23963                },
23964                tag => {
23965                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
23966                },
23967            };
23968        }
23969        ::std::result::Result::Ok(())
23970    }
23971
23972    // Compute sizes of nested messages
23973    #[allow(unused_variables)]
23974    fn compute_size(&self) -> u64 {
23975        let mut my_size = 0;
23976        if let Some(v) = self.browser_handle {
23977            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
23978        }
23979        if let Some(v) = self.owning_browser_handle {
23980            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
23981        }
23982        if let Some(v) = self.name.as_ref() {
23983            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
23984        }
23985        for value in &self.arguments {
23986            let len = value.compute_size();
23987            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
23988        };
23989        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
23990        self.special_fields.cached_size().set(my_size as u32);
23991        my_size
23992    }
23993
23994    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
23995        if let Some(v) = self.browser_handle {
23996            os.write_uint32(1, v)?;
23997        }
23998        if let Some(v) = self.owning_browser_handle {
23999            os.write_uint32(2, v)?;
24000        }
24001        if let Some(v) = self.name.as_ref() {
24002            os.write_string(3, v)?;
24003        }
24004        for v in &self.arguments {
24005            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(4, v, os)?;
24006        };
24007        os.write_unknown_fields(self.special_fields.unknown_fields())?;
24008        ::std::result::Result::Ok(())
24009    }
24010
24011    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
24012        &self.special_fields
24013    }
24014
24015    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
24016        &mut self.special_fields
24017    }
24018
24019    fn new() -> CMsgJSMethodCall {
24020        CMsgJSMethodCall::new()
24021    }
24022
24023    fn clear(&mut self) {
24024        self.browser_handle = ::std::option::Option::None;
24025        self.owning_browser_handle = ::std::option::Option::None;
24026        self.name = ::std::option::Option::None;
24027        self.arguments.clear();
24028        self.special_fields.clear();
24029    }
24030
24031    fn default_instance() -> &'static CMsgJSMethodCall {
24032        static instance: CMsgJSMethodCall = CMsgJSMethodCall {
24033            browser_handle: ::std::option::Option::None,
24034            owning_browser_handle: ::std::option::Option::None,
24035            name: ::std::option::Option::None,
24036            arguments: ::std::vec::Vec::new(),
24037            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
24038        };
24039        &instance
24040    }
24041}
24042
24043// @@protoc_insertion_point(message:CMsgJSExecuteCallback)
24044#[derive(PartialEq,Clone,Default,Debug)]
24045pub struct CMsgJSExecuteCallback {
24046    // message fields
24047    // @@protoc_insertion_point(field:CMsgJSExecuteCallback.browser_handle)
24048    pub browser_handle: ::std::option::Option<u32>,
24049    // @@protoc_insertion_point(field:CMsgJSExecuteCallback.owning_browser_handle)
24050    pub owning_browser_handle: ::std::option::Option<u32>,
24051    // @@protoc_insertion_point(field:CMsgJSExecuteCallback.function_handle)
24052    pub function_handle: ::std::option::Option<u64>,
24053    // @@protoc_insertion_point(field:CMsgJSExecuteCallback.arguments)
24054    pub arguments: ::std::vec::Vec<CMsgJSValue>,
24055    // special fields
24056    // @@protoc_insertion_point(special_field:CMsgJSExecuteCallback.special_fields)
24057    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
24058}
24059
24060impl<'a> ::std::default::Default for &'a CMsgJSExecuteCallback {
24061    fn default() -> &'a CMsgJSExecuteCallback {
24062        <CMsgJSExecuteCallback as ::steam_vent_proto_common::protobuf::Message>::default_instance()
24063    }
24064}
24065
24066impl CMsgJSExecuteCallback {
24067    pub fn new() -> CMsgJSExecuteCallback {
24068        ::std::default::Default::default()
24069    }
24070
24071    // optional uint32 browser_handle = 1;
24072
24073    pub fn browser_handle(&self) -> u32 {
24074        self.browser_handle.unwrap_or(0)
24075    }
24076
24077    pub fn clear_browser_handle(&mut self) {
24078        self.browser_handle = ::std::option::Option::None;
24079    }
24080
24081    pub fn has_browser_handle(&self) -> bool {
24082        self.browser_handle.is_some()
24083    }
24084
24085    // Param is passed by value, moved
24086    pub fn set_browser_handle(&mut self, v: u32) {
24087        self.browser_handle = ::std::option::Option::Some(v);
24088    }
24089
24090    // optional uint32 owning_browser_handle = 2;
24091
24092    pub fn owning_browser_handle(&self) -> u32 {
24093        self.owning_browser_handle.unwrap_or(0)
24094    }
24095
24096    pub fn clear_owning_browser_handle(&mut self) {
24097        self.owning_browser_handle = ::std::option::Option::None;
24098    }
24099
24100    pub fn has_owning_browser_handle(&self) -> bool {
24101        self.owning_browser_handle.is_some()
24102    }
24103
24104    // Param is passed by value, moved
24105    pub fn set_owning_browser_handle(&mut self, v: u32) {
24106        self.owning_browser_handle = ::std::option::Option::Some(v);
24107    }
24108
24109    // optional uint64 function_handle = 3;
24110
24111    pub fn function_handle(&self) -> u64 {
24112        self.function_handle.unwrap_or(0)
24113    }
24114
24115    pub fn clear_function_handle(&mut self) {
24116        self.function_handle = ::std::option::Option::None;
24117    }
24118
24119    pub fn has_function_handle(&self) -> bool {
24120        self.function_handle.is_some()
24121    }
24122
24123    // Param is passed by value, moved
24124    pub fn set_function_handle(&mut self, v: u64) {
24125        self.function_handle = ::std::option::Option::Some(v);
24126    }
24127}
24128
24129impl ::steam_vent_proto_common::protobuf::Message for CMsgJSExecuteCallback {
24130    const NAME: &'static str = "CMsgJSExecuteCallback";
24131
24132    fn is_initialized(&self) -> bool {
24133        true
24134    }
24135
24136    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
24137        while let Some(tag) = is.read_raw_tag_or_eof()? {
24138            match tag {
24139                8 => {
24140                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
24141                },
24142                16 => {
24143                    self.owning_browser_handle = ::std::option::Option::Some(is.read_uint32()?);
24144                },
24145                24 => {
24146                    self.function_handle = ::std::option::Option::Some(is.read_uint64()?);
24147                },
24148                34 => {
24149                    self.arguments.push(is.read_message()?);
24150                },
24151                tag => {
24152                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
24153                },
24154            };
24155        }
24156        ::std::result::Result::Ok(())
24157    }
24158
24159    // Compute sizes of nested messages
24160    #[allow(unused_variables)]
24161    fn compute_size(&self) -> u64 {
24162        let mut my_size = 0;
24163        if let Some(v) = self.browser_handle {
24164            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
24165        }
24166        if let Some(v) = self.owning_browser_handle {
24167            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
24168        }
24169        if let Some(v) = self.function_handle {
24170            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
24171        }
24172        for value in &self.arguments {
24173            let len = value.compute_size();
24174            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
24175        };
24176        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
24177        self.special_fields.cached_size().set(my_size as u32);
24178        my_size
24179    }
24180
24181    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
24182        if let Some(v) = self.browser_handle {
24183            os.write_uint32(1, v)?;
24184        }
24185        if let Some(v) = self.owning_browser_handle {
24186            os.write_uint32(2, v)?;
24187        }
24188        if let Some(v) = self.function_handle {
24189            os.write_uint64(3, v)?;
24190        }
24191        for v in &self.arguments {
24192            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(4, v, os)?;
24193        };
24194        os.write_unknown_fields(self.special_fields.unknown_fields())?;
24195        ::std::result::Result::Ok(())
24196    }
24197
24198    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
24199        &self.special_fields
24200    }
24201
24202    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
24203        &mut self.special_fields
24204    }
24205
24206    fn new() -> CMsgJSExecuteCallback {
24207        CMsgJSExecuteCallback::new()
24208    }
24209
24210    fn clear(&mut self) {
24211        self.browser_handle = ::std::option::Option::None;
24212        self.owning_browser_handle = ::std::option::Option::None;
24213        self.function_handle = ::std::option::Option::None;
24214        self.arguments.clear();
24215        self.special_fields.clear();
24216    }
24217
24218    fn default_instance() -> &'static CMsgJSExecuteCallback {
24219        static instance: CMsgJSExecuteCallback = CMsgJSExecuteCallback {
24220            browser_handle: ::std::option::Option::None,
24221            owning_browser_handle: ::std::option::Option::None,
24222            function_handle: ::std::option::Option::None,
24223            arguments: ::std::vec::Vec::new(),
24224            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
24225        };
24226        &instance
24227    }
24228}
24229
24230// @@protoc_insertion_point(message:CMsgJSExecutePromise)
24231#[derive(PartialEq,Clone,Default,Debug)]
24232pub struct CMsgJSExecutePromise {
24233    // message fields
24234    // @@protoc_insertion_point(field:CMsgJSExecutePromise.browser_handle)
24235    pub browser_handle: ::std::option::Option<u32>,
24236    // @@protoc_insertion_point(field:CMsgJSExecutePromise.owning_browser_handle)
24237    pub owning_browser_handle: ::std::option::Option<u32>,
24238    // @@protoc_insertion_point(field:CMsgJSExecutePromise.promise_handle)
24239    pub promise_handle: ::std::option::Option<u64>,
24240    // @@protoc_insertion_point(field:CMsgJSExecutePromise.reject_reason)
24241    pub reject_reason: ::std::option::Option<::std::string::String>,
24242    // @@protoc_insertion_point(field:CMsgJSExecutePromise.argument)
24243    pub argument: ::steam_vent_proto_common::protobuf::MessageField<CMsgJSValue>,
24244    // special fields
24245    // @@protoc_insertion_point(special_field:CMsgJSExecutePromise.special_fields)
24246    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
24247}
24248
24249impl<'a> ::std::default::Default for &'a CMsgJSExecutePromise {
24250    fn default() -> &'a CMsgJSExecutePromise {
24251        <CMsgJSExecutePromise as ::steam_vent_proto_common::protobuf::Message>::default_instance()
24252    }
24253}
24254
24255impl CMsgJSExecutePromise {
24256    pub fn new() -> CMsgJSExecutePromise {
24257        ::std::default::Default::default()
24258    }
24259
24260    // optional uint32 browser_handle = 1;
24261
24262    pub fn browser_handle(&self) -> u32 {
24263        self.browser_handle.unwrap_or(0)
24264    }
24265
24266    pub fn clear_browser_handle(&mut self) {
24267        self.browser_handle = ::std::option::Option::None;
24268    }
24269
24270    pub fn has_browser_handle(&self) -> bool {
24271        self.browser_handle.is_some()
24272    }
24273
24274    // Param is passed by value, moved
24275    pub fn set_browser_handle(&mut self, v: u32) {
24276        self.browser_handle = ::std::option::Option::Some(v);
24277    }
24278
24279    // optional uint32 owning_browser_handle = 2;
24280
24281    pub fn owning_browser_handle(&self) -> u32 {
24282        self.owning_browser_handle.unwrap_or(0)
24283    }
24284
24285    pub fn clear_owning_browser_handle(&mut self) {
24286        self.owning_browser_handle = ::std::option::Option::None;
24287    }
24288
24289    pub fn has_owning_browser_handle(&self) -> bool {
24290        self.owning_browser_handle.is_some()
24291    }
24292
24293    // Param is passed by value, moved
24294    pub fn set_owning_browser_handle(&mut self, v: u32) {
24295        self.owning_browser_handle = ::std::option::Option::Some(v);
24296    }
24297
24298    // optional uint64 promise_handle = 3;
24299
24300    pub fn promise_handle(&self) -> u64 {
24301        self.promise_handle.unwrap_or(0)
24302    }
24303
24304    pub fn clear_promise_handle(&mut self) {
24305        self.promise_handle = ::std::option::Option::None;
24306    }
24307
24308    pub fn has_promise_handle(&self) -> bool {
24309        self.promise_handle.is_some()
24310    }
24311
24312    // Param is passed by value, moved
24313    pub fn set_promise_handle(&mut self, v: u64) {
24314        self.promise_handle = ::std::option::Option::Some(v);
24315    }
24316
24317    // optional string reject_reason = 4;
24318
24319    pub fn reject_reason(&self) -> &str {
24320        match self.reject_reason.as_ref() {
24321            Some(v) => v,
24322            None => "",
24323        }
24324    }
24325
24326    pub fn clear_reject_reason(&mut self) {
24327        self.reject_reason = ::std::option::Option::None;
24328    }
24329
24330    pub fn has_reject_reason(&self) -> bool {
24331        self.reject_reason.is_some()
24332    }
24333
24334    // Param is passed by value, moved
24335    pub fn set_reject_reason(&mut self, v: ::std::string::String) {
24336        self.reject_reason = ::std::option::Option::Some(v);
24337    }
24338
24339    // Mutable pointer to the field.
24340    // If field is not initialized, it is initialized with default value first.
24341    pub fn mut_reject_reason(&mut self) -> &mut ::std::string::String {
24342        if self.reject_reason.is_none() {
24343            self.reject_reason = ::std::option::Option::Some(::std::string::String::new());
24344        }
24345        self.reject_reason.as_mut().unwrap()
24346    }
24347
24348    // Take field
24349    pub fn take_reject_reason(&mut self) -> ::std::string::String {
24350        self.reject_reason.take().unwrap_or_else(|| ::std::string::String::new())
24351    }
24352}
24353
24354impl ::steam_vent_proto_common::protobuf::Message for CMsgJSExecutePromise {
24355    const NAME: &'static str = "CMsgJSExecutePromise";
24356
24357    fn is_initialized(&self) -> bool {
24358        true
24359    }
24360
24361    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
24362        while let Some(tag) = is.read_raw_tag_or_eof()? {
24363            match tag {
24364                8 => {
24365                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
24366                },
24367                16 => {
24368                    self.owning_browser_handle = ::std::option::Option::Some(is.read_uint32()?);
24369                },
24370                24 => {
24371                    self.promise_handle = ::std::option::Option::Some(is.read_uint64()?);
24372                },
24373                34 => {
24374                    self.reject_reason = ::std::option::Option::Some(is.read_string()?);
24375                },
24376                42 => {
24377                    ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.argument)?;
24378                },
24379                tag => {
24380                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
24381                },
24382            };
24383        }
24384        ::std::result::Result::Ok(())
24385    }
24386
24387    // Compute sizes of nested messages
24388    #[allow(unused_variables)]
24389    fn compute_size(&self) -> u64 {
24390        let mut my_size = 0;
24391        if let Some(v) = self.browser_handle {
24392            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
24393        }
24394        if let Some(v) = self.owning_browser_handle {
24395            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
24396        }
24397        if let Some(v) = self.promise_handle {
24398            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
24399        }
24400        if let Some(v) = self.reject_reason.as_ref() {
24401            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
24402        }
24403        if let Some(v) = self.argument.as_ref() {
24404            let len = v.compute_size();
24405            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
24406        }
24407        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
24408        self.special_fields.cached_size().set(my_size as u32);
24409        my_size
24410    }
24411
24412    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
24413        if let Some(v) = self.browser_handle {
24414            os.write_uint32(1, v)?;
24415        }
24416        if let Some(v) = self.owning_browser_handle {
24417            os.write_uint32(2, v)?;
24418        }
24419        if let Some(v) = self.promise_handle {
24420            os.write_uint64(3, v)?;
24421        }
24422        if let Some(v) = self.reject_reason.as_ref() {
24423            os.write_string(4, v)?;
24424        }
24425        if let Some(v) = self.argument.as_ref() {
24426            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(5, v, os)?;
24427        }
24428        os.write_unknown_fields(self.special_fields.unknown_fields())?;
24429        ::std::result::Result::Ok(())
24430    }
24431
24432    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
24433        &self.special_fields
24434    }
24435
24436    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
24437        &mut self.special_fields
24438    }
24439
24440    fn new() -> CMsgJSExecutePromise {
24441        CMsgJSExecutePromise::new()
24442    }
24443
24444    fn clear(&mut self) {
24445        self.browser_handle = ::std::option::Option::None;
24446        self.owning_browser_handle = ::std::option::Option::None;
24447        self.promise_handle = ::std::option::Option::None;
24448        self.reject_reason = ::std::option::Option::None;
24449        self.argument.clear();
24450        self.special_fields.clear();
24451    }
24452
24453    fn default_instance() -> &'static CMsgJSExecutePromise {
24454        static instance: CMsgJSExecutePromise = CMsgJSExecutePromise {
24455            browser_handle: ::std::option::Option::None,
24456            owning_browser_handle: ::std::option::Option::None,
24457            promise_handle: ::std::option::Option::None,
24458            reject_reason: ::std::option::Option::None,
24459            argument: ::steam_vent_proto_common::protobuf::MessageField::none(),
24460            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
24461        };
24462        &instance
24463    }
24464}
24465
24466// @@protoc_insertion_point(message:CMsgJSReleaseCallback)
24467#[derive(PartialEq,Clone,Default,Debug)]
24468pub struct CMsgJSReleaseCallback {
24469    // message fields
24470    // @@protoc_insertion_point(field:CMsgJSReleaseCallback.browser_handle)
24471    pub browser_handle: ::std::option::Option<u32>,
24472    // @@protoc_insertion_point(field:CMsgJSReleaseCallback.owning_browser_handle)
24473    pub owning_browser_handle: ::std::option::Option<u32>,
24474    // @@protoc_insertion_point(field:CMsgJSReleaseCallback.function_handle)
24475    pub function_handle: ::std::option::Option<u64>,
24476    // special fields
24477    // @@protoc_insertion_point(special_field:CMsgJSReleaseCallback.special_fields)
24478    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
24479}
24480
24481impl<'a> ::std::default::Default for &'a CMsgJSReleaseCallback {
24482    fn default() -> &'a CMsgJSReleaseCallback {
24483        <CMsgJSReleaseCallback as ::steam_vent_proto_common::protobuf::Message>::default_instance()
24484    }
24485}
24486
24487impl CMsgJSReleaseCallback {
24488    pub fn new() -> CMsgJSReleaseCallback {
24489        ::std::default::Default::default()
24490    }
24491
24492    // optional uint32 browser_handle = 1;
24493
24494    pub fn browser_handle(&self) -> u32 {
24495        self.browser_handle.unwrap_or(0)
24496    }
24497
24498    pub fn clear_browser_handle(&mut self) {
24499        self.browser_handle = ::std::option::Option::None;
24500    }
24501
24502    pub fn has_browser_handle(&self) -> bool {
24503        self.browser_handle.is_some()
24504    }
24505
24506    // Param is passed by value, moved
24507    pub fn set_browser_handle(&mut self, v: u32) {
24508        self.browser_handle = ::std::option::Option::Some(v);
24509    }
24510
24511    // optional uint32 owning_browser_handle = 2;
24512
24513    pub fn owning_browser_handle(&self) -> u32 {
24514        self.owning_browser_handle.unwrap_or(0)
24515    }
24516
24517    pub fn clear_owning_browser_handle(&mut self) {
24518        self.owning_browser_handle = ::std::option::Option::None;
24519    }
24520
24521    pub fn has_owning_browser_handle(&self) -> bool {
24522        self.owning_browser_handle.is_some()
24523    }
24524
24525    // Param is passed by value, moved
24526    pub fn set_owning_browser_handle(&mut self, v: u32) {
24527        self.owning_browser_handle = ::std::option::Option::Some(v);
24528    }
24529
24530    // optional uint64 function_handle = 3;
24531
24532    pub fn function_handle(&self) -> u64 {
24533        self.function_handle.unwrap_or(0)
24534    }
24535
24536    pub fn clear_function_handle(&mut self) {
24537        self.function_handle = ::std::option::Option::None;
24538    }
24539
24540    pub fn has_function_handle(&self) -> bool {
24541        self.function_handle.is_some()
24542    }
24543
24544    // Param is passed by value, moved
24545    pub fn set_function_handle(&mut self, v: u64) {
24546        self.function_handle = ::std::option::Option::Some(v);
24547    }
24548}
24549
24550impl ::steam_vent_proto_common::protobuf::Message for CMsgJSReleaseCallback {
24551    const NAME: &'static str = "CMsgJSReleaseCallback";
24552
24553    fn is_initialized(&self) -> bool {
24554        true
24555    }
24556
24557    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
24558        while let Some(tag) = is.read_raw_tag_or_eof()? {
24559            match tag {
24560                8 => {
24561                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
24562                },
24563                16 => {
24564                    self.owning_browser_handle = ::std::option::Option::Some(is.read_uint32()?);
24565                },
24566                24 => {
24567                    self.function_handle = ::std::option::Option::Some(is.read_uint64()?);
24568                },
24569                tag => {
24570                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
24571                },
24572            };
24573        }
24574        ::std::result::Result::Ok(())
24575    }
24576
24577    // Compute sizes of nested messages
24578    #[allow(unused_variables)]
24579    fn compute_size(&self) -> u64 {
24580        let mut my_size = 0;
24581        if let Some(v) = self.browser_handle {
24582            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
24583        }
24584        if let Some(v) = self.owning_browser_handle {
24585            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
24586        }
24587        if let Some(v) = self.function_handle {
24588            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
24589        }
24590        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
24591        self.special_fields.cached_size().set(my_size as u32);
24592        my_size
24593    }
24594
24595    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
24596        if let Some(v) = self.browser_handle {
24597            os.write_uint32(1, v)?;
24598        }
24599        if let Some(v) = self.owning_browser_handle {
24600            os.write_uint32(2, v)?;
24601        }
24602        if let Some(v) = self.function_handle {
24603            os.write_uint64(3, v)?;
24604        }
24605        os.write_unknown_fields(self.special_fields.unknown_fields())?;
24606        ::std::result::Result::Ok(())
24607    }
24608
24609    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
24610        &self.special_fields
24611    }
24612
24613    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
24614        &mut self.special_fields
24615    }
24616
24617    fn new() -> CMsgJSReleaseCallback {
24618        CMsgJSReleaseCallback::new()
24619    }
24620
24621    fn clear(&mut self) {
24622        self.browser_handle = ::std::option::Option::None;
24623        self.owning_browser_handle = ::std::option::Option::None;
24624        self.function_handle = ::std::option::Option::None;
24625        self.special_fields.clear();
24626    }
24627
24628    fn default_instance() -> &'static CMsgJSReleaseCallback {
24629        static instance: CMsgJSReleaseCallback = CMsgJSReleaseCallback {
24630            browser_handle: ::std::option::Option::None,
24631            owning_browser_handle: ::std::option::Option::None,
24632            function_handle: ::std::option::Option::None,
24633            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
24634        };
24635        &instance
24636    }
24637}
24638
24639// @@protoc_insertion_point(message:CMsgJSRaiseException)
24640#[derive(PartialEq,Clone,Default,Debug)]
24641pub struct CMsgJSRaiseException {
24642    // message fields
24643    // @@protoc_insertion_point(field:CMsgJSRaiseException.browser_handle)
24644    pub browser_handle: ::std::option::Option<u32>,
24645    // @@protoc_insertion_point(field:CMsgJSRaiseException.owning_browser_handle)
24646    pub owning_browser_handle: ::std::option::Option<u32>,
24647    // @@protoc_insertion_point(field:CMsgJSRaiseException.exception)
24648    pub exception: ::std::option::Option<::std::string::String>,
24649    // special fields
24650    // @@protoc_insertion_point(special_field:CMsgJSRaiseException.special_fields)
24651    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
24652}
24653
24654impl<'a> ::std::default::Default for &'a CMsgJSRaiseException {
24655    fn default() -> &'a CMsgJSRaiseException {
24656        <CMsgJSRaiseException as ::steam_vent_proto_common::protobuf::Message>::default_instance()
24657    }
24658}
24659
24660impl CMsgJSRaiseException {
24661    pub fn new() -> CMsgJSRaiseException {
24662        ::std::default::Default::default()
24663    }
24664
24665    // optional uint32 browser_handle = 1;
24666
24667    pub fn browser_handle(&self) -> u32 {
24668        self.browser_handle.unwrap_or(0)
24669    }
24670
24671    pub fn clear_browser_handle(&mut self) {
24672        self.browser_handle = ::std::option::Option::None;
24673    }
24674
24675    pub fn has_browser_handle(&self) -> bool {
24676        self.browser_handle.is_some()
24677    }
24678
24679    // Param is passed by value, moved
24680    pub fn set_browser_handle(&mut self, v: u32) {
24681        self.browser_handle = ::std::option::Option::Some(v);
24682    }
24683
24684    // optional uint32 owning_browser_handle = 2;
24685
24686    pub fn owning_browser_handle(&self) -> u32 {
24687        self.owning_browser_handle.unwrap_or(0)
24688    }
24689
24690    pub fn clear_owning_browser_handle(&mut self) {
24691        self.owning_browser_handle = ::std::option::Option::None;
24692    }
24693
24694    pub fn has_owning_browser_handle(&self) -> bool {
24695        self.owning_browser_handle.is_some()
24696    }
24697
24698    // Param is passed by value, moved
24699    pub fn set_owning_browser_handle(&mut self, v: u32) {
24700        self.owning_browser_handle = ::std::option::Option::Some(v);
24701    }
24702
24703    // optional string exception = 3;
24704
24705    pub fn exception(&self) -> &str {
24706        match self.exception.as_ref() {
24707            Some(v) => v,
24708            None => "",
24709        }
24710    }
24711
24712    pub fn clear_exception(&mut self) {
24713        self.exception = ::std::option::Option::None;
24714    }
24715
24716    pub fn has_exception(&self) -> bool {
24717        self.exception.is_some()
24718    }
24719
24720    // Param is passed by value, moved
24721    pub fn set_exception(&mut self, v: ::std::string::String) {
24722        self.exception = ::std::option::Option::Some(v);
24723    }
24724
24725    // Mutable pointer to the field.
24726    // If field is not initialized, it is initialized with default value first.
24727    pub fn mut_exception(&mut self) -> &mut ::std::string::String {
24728        if self.exception.is_none() {
24729            self.exception = ::std::option::Option::Some(::std::string::String::new());
24730        }
24731        self.exception.as_mut().unwrap()
24732    }
24733
24734    // Take field
24735    pub fn take_exception(&mut self) -> ::std::string::String {
24736        self.exception.take().unwrap_or_else(|| ::std::string::String::new())
24737    }
24738}
24739
24740impl ::steam_vent_proto_common::protobuf::Message for CMsgJSRaiseException {
24741    const NAME: &'static str = "CMsgJSRaiseException";
24742
24743    fn is_initialized(&self) -> bool {
24744        true
24745    }
24746
24747    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
24748        while let Some(tag) = is.read_raw_tag_or_eof()? {
24749            match tag {
24750                8 => {
24751                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
24752                },
24753                16 => {
24754                    self.owning_browser_handle = ::std::option::Option::Some(is.read_uint32()?);
24755                },
24756                26 => {
24757                    self.exception = ::std::option::Option::Some(is.read_string()?);
24758                },
24759                tag => {
24760                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
24761                },
24762            };
24763        }
24764        ::std::result::Result::Ok(())
24765    }
24766
24767    // Compute sizes of nested messages
24768    #[allow(unused_variables)]
24769    fn compute_size(&self) -> u64 {
24770        let mut my_size = 0;
24771        if let Some(v) = self.browser_handle {
24772            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
24773        }
24774        if let Some(v) = self.owning_browser_handle {
24775            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
24776        }
24777        if let Some(v) = self.exception.as_ref() {
24778            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
24779        }
24780        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
24781        self.special_fields.cached_size().set(my_size as u32);
24782        my_size
24783    }
24784
24785    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
24786        if let Some(v) = self.browser_handle {
24787            os.write_uint32(1, v)?;
24788        }
24789        if let Some(v) = self.owning_browser_handle {
24790            os.write_uint32(2, v)?;
24791        }
24792        if let Some(v) = self.exception.as_ref() {
24793            os.write_string(3, v)?;
24794        }
24795        os.write_unknown_fields(self.special_fields.unknown_fields())?;
24796        ::std::result::Result::Ok(())
24797    }
24798
24799    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
24800        &self.special_fields
24801    }
24802
24803    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
24804        &mut self.special_fields
24805    }
24806
24807    fn new() -> CMsgJSRaiseException {
24808        CMsgJSRaiseException::new()
24809    }
24810
24811    fn clear(&mut self) {
24812        self.browser_handle = ::std::option::Option::None;
24813        self.owning_browser_handle = ::std::option::Option::None;
24814        self.exception = ::std::option::Option::None;
24815        self.special_fields.clear();
24816    }
24817
24818    fn default_instance() -> &'static CMsgJSRaiseException {
24819        static instance: CMsgJSRaiseException = CMsgJSRaiseException {
24820            browser_handle: ::std::option::Option::None,
24821            owning_browser_handle: ::std::option::Option::None,
24822            exception: ::std::option::Option::None,
24823            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
24824        };
24825        &instance
24826    }
24827}
24828
24829// @@protoc_insertion_point(message:CMsgLoadLocalization)
24830#[derive(PartialEq,Clone,Default,Debug)]
24831pub struct CMsgLoadLocalization {
24832    // message fields
24833    // @@protoc_insertion_point(field:CMsgLoadLocalization.browser_handle)
24834    pub browser_handle: ::std::option::Option<u32>,
24835    // @@protoc_insertion_point(field:CMsgLoadLocalization.localization_path)
24836    pub localization_path: ::std::option::Option<::std::string::String>,
24837    // @@protoc_insertion_point(field:CMsgLoadLocalization.language)
24838    pub language: ::std::option::Option<::std::string::String>,
24839    // special fields
24840    // @@protoc_insertion_point(special_field:CMsgLoadLocalization.special_fields)
24841    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
24842}
24843
24844impl<'a> ::std::default::Default for &'a CMsgLoadLocalization {
24845    fn default() -> &'a CMsgLoadLocalization {
24846        <CMsgLoadLocalization as ::steam_vent_proto_common::protobuf::Message>::default_instance()
24847    }
24848}
24849
24850impl CMsgLoadLocalization {
24851    pub fn new() -> CMsgLoadLocalization {
24852        ::std::default::Default::default()
24853    }
24854
24855    // optional uint32 browser_handle = 1;
24856
24857    pub fn browser_handle(&self) -> u32 {
24858        self.browser_handle.unwrap_or(0)
24859    }
24860
24861    pub fn clear_browser_handle(&mut self) {
24862        self.browser_handle = ::std::option::Option::None;
24863    }
24864
24865    pub fn has_browser_handle(&self) -> bool {
24866        self.browser_handle.is_some()
24867    }
24868
24869    // Param is passed by value, moved
24870    pub fn set_browser_handle(&mut self, v: u32) {
24871        self.browser_handle = ::std::option::Option::Some(v);
24872    }
24873
24874    // optional string localization_path = 2;
24875
24876    pub fn localization_path(&self) -> &str {
24877        match self.localization_path.as_ref() {
24878            Some(v) => v,
24879            None => "",
24880        }
24881    }
24882
24883    pub fn clear_localization_path(&mut self) {
24884        self.localization_path = ::std::option::Option::None;
24885    }
24886
24887    pub fn has_localization_path(&self) -> bool {
24888        self.localization_path.is_some()
24889    }
24890
24891    // Param is passed by value, moved
24892    pub fn set_localization_path(&mut self, v: ::std::string::String) {
24893        self.localization_path = ::std::option::Option::Some(v);
24894    }
24895
24896    // Mutable pointer to the field.
24897    // If field is not initialized, it is initialized with default value first.
24898    pub fn mut_localization_path(&mut self) -> &mut ::std::string::String {
24899        if self.localization_path.is_none() {
24900            self.localization_path = ::std::option::Option::Some(::std::string::String::new());
24901        }
24902        self.localization_path.as_mut().unwrap()
24903    }
24904
24905    // Take field
24906    pub fn take_localization_path(&mut self) -> ::std::string::String {
24907        self.localization_path.take().unwrap_or_else(|| ::std::string::String::new())
24908    }
24909
24910    // optional string language = 3;
24911
24912    pub fn language(&self) -> &str {
24913        match self.language.as_ref() {
24914            Some(v) => v,
24915            None => "",
24916        }
24917    }
24918
24919    pub fn clear_language(&mut self) {
24920        self.language = ::std::option::Option::None;
24921    }
24922
24923    pub fn has_language(&self) -> bool {
24924        self.language.is_some()
24925    }
24926
24927    // Param is passed by value, moved
24928    pub fn set_language(&mut self, v: ::std::string::String) {
24929        self.language = ::std::option::Option::Some(v);
24930    }
24931
24932    // Mutable pointer to the field.
24933    // If field is not initialized, it is initialized with default value first.
24934    pub fn mut_language(&mut self) -> &mut ::std::string::String {
24935        if self.language.is_none() {
24936            self.language = ::std::option::Option::Some(::std::string::String::new());
24937        }
24938        self.language.as_mut().unwrap()
24939    }
24940
24941    // Take field
24942    pub fn take_language(&mut self) -> ::std::string::String {
24943        self.language.take().unwrap_or_else(|| ::std::string::String::new())
24944    }
24945}
24946
24947impl ::steam_vent_proto_common::protobuf::Message for CMsgLoadLocalization {
24948    const NAME: &'static str = "CMsgLoadLocalization";
24949
24950    fn is_initialized(&self) -> bool {
24951        true
24952    }
24953
24954    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
24955        while let Some(tag) = is.read_raw_tag_or_eof()? {
24956            match tag {
24957                8 => {
24958                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
24959                },
24960                18 => {
24961                    self.localization_path = ::std::option::Option::Some(is.read_string()?);
24962                },
24963                26 => {
24964                    self.language = ::std::option::Option::Some(is.read_string()?);
24965                },
24966                tag => {
24967                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
24968                },
24969            };
24970        }
24971        ::std::result::Result::Ok(())
24972    }
24973
24974    // Compute sizes of nested messages
24975    #[allow(unused_variables)]
24976    fn compute_size(&self) -> u64 {
24977        let mut my_size = 0;
24978        if let Some(v) = self.browser_handle {
24979            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
24980        }
24981        if let Some(v) = self.localization_path.as_ref() {
24982            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
24983        }
24984        if let Some(v) = self.language.as_ref() {
24985            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
24986        }
24987        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
24988        self.special_fields.cached_size().set(my_size as u32);
24989        my_size
24990    }
24991
24992    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
24993        if let Some(v) = self.browser_handle {
24994            os.write_uint32(1, v)?;
24995        }
24996        if let Some(v) = self.localization_path.as_ref() {
24997            os.write_string(2, v)?;
24998        }
24999        if let Some(v) = self.language.as_ref() {
25000            os.write_string(3, v)?;
25001        }
25002        os.write_unknown_fields(self.special_fields.unknown_fields())?;
25003        ::std::result::Result::Ok(())
25004    }
25005
25006    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
25007        &self.special_fields
25008    }
25009
25010    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
25011        &mut self.special_fields
25012    }
25013
25014    fn new() -> CMsgLoadLocalization {
25015        CMsgLoadLocalization::new()
25016    }
25017
25018    fn clear(&mut self) {
25019        self.browser_handle = ::std::option::Option::None;
25020        self.localization_path = ::std::option::Option::None;
25021        self.language = ::std::option::Option::None;
25022        self.special_fields.clear();
25023    }
25024
25025    fn default_instance() -> &'static CMsgLoadLocalization {
25026        static instance: CMsgLoadLocalization = CMsgLoadLocalization {
25027            browser_handle: ::std::option::Option::None,
25028            localization_path: ::std::option::Option::None,
25029            language: ::std::option::Option::None,
25030            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
25031        };
25032        &instance
25033    }
25034}
25035
25036// @@protoc_insertion_point(message:CMsgNotifyUserActivation)
25037#[derive(PartialEq,Clone,Default,Debug)]
25038pub struct CMsgNotifyUserActivation {
25039    // message fields
25040    // @@protoc_insertion_point(field:CMsgNotifyUserActivation.browser_handle)
25041    pub browser_handle: ::std::option::Option<u32>,
25042    // special fields
25043    // @@protoc_insertion_point(special_field:CMsgNotifyUserActivation.special_fields)
25044    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
25045}
25046
25047impl<'a> ::std::default::Default for &'a CMsgNotifyUserActivation {
25048    fn default() -> &'a CMsgNotifyUserActivation {
25049        <CMsgNotifyUserActivation as ::steam_vent_proto_common::protobuf::Message>::default_instance()
25050    }
25051}
25052
25053impl CMsgNotifyUserActivation {
25054    pub fn new() -> CMsgNotifyUserActivation {
25055        ::std::default::Default::default()
25056    }
25057
25058    // optional uint32 browser_handle = 1;
25059
25060    pub fn browser_handle(&self) -> u32 {
25061        self.browser_handle.unwrap_or(0)
25062    }
25063
25064    pub fn clear_browser_handle(&mut self) {
25065        self.browser_handle = ::std::option::Option::None;
25066    }
25067
25068    pub fn has_browser_handle(&self) -> bool {
25069        self.browser_handle.is_some()
25070    }
25071
25072    // Param is passed by value, moved
25073    pub fn set_browser_handle(&mut self, v: u32) {
25074        self.browser_handle = ::std::option::Option::Some(v);
25075    }
25076}
25077
25078impl ::steam_vent_proto_common::protobuf::Message for CMsgNotifyUserActivation {
25079    const NAME: &'static str = "CMsgNotifyUserActivation";
25080
25081    fn is_initialized(&self) -> bool {
25082        true
25083    }
25084
25085    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
25086        while let Some(tag) = is.read_raw_tag_or_eof()? {
25087            match tag {
25088                8 => {
25089                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
25090                },
25091                tag => {
25092                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
25093                },
25094            };
25095        }
25096        ::std::result::Result::Ok(())
25097    }
25098
25099    // Compute sizes of nested messages
25100    #[allow(unused_variables)]
25101    fn compute_size(&self) -> u64 {
25102        let mut my_size = 0;
25103        if let Some(v) = self.browser_handle {
25104            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
25105        }
25106        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
25107        self.special_fields.cached_size().set(my_size as u32);
25108        my_size
25109    }
25110
25111    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
25112        if let Some(v) = self.browser_handle {
25113            os.write_uint32(1, v)?;
25114        }
25115        os.write_unknown_fields(self.special_fields.unknown_fields())?;
25116        ::std::result::Result::Ok(())
25117    }
25118
25119    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
25120        &self.special_fields
25121    }
25122
25123    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
25124        &mut self.special_fields
25125    }
25126
25127    fn new() -> CMsgNotifyUserActivation {
25128        CMsgNotifyUserActivation::new()
25129    }
25130
25131    fn clear(&mut self) {
25132        self.browser_handle = ::std::option::Option::None;
25133        self.special_fields.clear();
25134    }
25135
25136    fn default_instance() -> &'static CMsgNotifyUserActivation {
25137        static instance: CMsgNotifyUserActivation = CMsgNotifyUserActivation {
25138            browser_handle: ::std::option::Option::None,
25139            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
25140        };
25141        &instance
25142    }
25143}
25144
25145// @@protoc_insertion_point(message:CMsgSetNetFakeLocalSystemState)
25146#[derive(PartialEq,Clone,Default,Debug)]
25147pub struct CMsgSetNetFakeLocalSystemState {
25148    // message fields
25149    // @@protoc_insertion_point(field:CMsgSetNetFakeLocalSystemState.state)
25150    pub state: ::std::option::Option<u32>,
25151    // special fields
25152    // @@protoc_insertion_point(special_field:CMsgSetNetFakeLocalSystemState.special_fields)
25153    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
25154}
25155
25156impl<'a> ::std::default::Default for &'a CMsgSetNetFakeLocalSystemState {
25157    fn default() -> &'a CMsgSetNetFakeLocalSystemState {
25158        <CMsgSetNetFakeLocalSystemState as ::steam_vent_proto_common::protobuf::Message>::default_instance()
25159    }
25160}
25161
25162impl CMsgSetNetFakeLocalSystemState {
25163    pub fn new() -> CMsgSetNetFakeLocalSystemState {
25164        ::std::default::Default::default()
25165    }
25166
25167    // optional uint32 state = 1;
25168
25169    pub fn state(&self) -> u32 {
25170        self.state.unwrap_or(0)
25171    }
25172
25173    pub fn clear_state(&mut self) {
25174        self.state = ::std::option::Option::None;
25175    }
25176
25177    pub fn has_state(&self) -> bool {
25178        self.state.is_some()
25179    }
25180
25181    // Param is passed by value, moved
25182    pub fn set_state(&mut self, v: u32) {
25183        self.state = ::std::option::Option::Some(v);
25184    }
25185}
25186
25187impl ::steam_vent_proto_common::protobuf::Message for CMsgSetNetFakeLocalSystemState {
25188    const NAME: &'static str = "CMsgSetNetFakeLocalSystemState";
25189
25190    fn is_initialized(&self) -> bool {
25191        true
25192    }
25193
25194    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
25195        while let Some(tag) = is.read_raw_tag_or_eof()? {
25196            match tag {
25197                8 => {
25198                    self.state = ::std::option::Option::Some(is.read_uint32()?);
25199                },
25200                tag => {
25201                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
25202                },
25203            };
25204        }
25205        ::std::result::Result::Ok(())
25206    }
25207
25208    // Compute sizes of nested messages
25209    #[allow(unused_variables)]
25210    fn compute_size(&self) -> u64 {
25211        let mut my_size = 0;
25212        if let Some(v) = self.state {
25213            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
25214        }
25215        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
25216        self.special_fields.cached_size().set(my_size as u32);
25217        my_size
25218    }
25219
25220    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
25221        if let Some(v) = self.state {
25222            os.write_uint32(1, v)?;
25223        }
25224        os.write_unknown_fields(self.special_fields.unknown_fields())?;
25225        ::std::result::Result::Ok(())
25226    }
25227
25228    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
25229        &self.special_fields
25230    }
25231
25232    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
25233        &mut self.special_fields
25234    }
25235
25236    fn new() -> CMsgSetNetFakeLocalSystemState {
25237        CMsgSetNetFakeLocalSystemState::new()
25238    }
25239
25240    fn clear(&mut self) {
25241        self.state = ::std::option::Option::None;
25242        self.special_fields.clear();
25243    }
25244
25245    fn default_instance() -> &'static CMsgSetNetFakeLocalSystemState {
25246        static instance: CMsgSetNetFakeLocalSystemState = CMsgSetNetFakeLocalSystemState {
25247            state: ::std::option::Option::None,
25248            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
25249        };
25250        &instance
25251    }
25252}
25253
25254// @@protoc_insertion_point(message:CMsgDraggableRegionsChanged)
25255#[derive(PartialEq,Clone,Default,Debug)]
25256pub struct CMsgDraggableRegionsChanged {
25257    // message fields
25258    // @@protoc_insertion_point(field:CMsgDraggableRegionsChanged.browser_handle)
25259    pub browser_handle: ::std::option::Option<u32>,
25260    // @@protoc_insertion_point(field:CMsgDraggableRegionsChanged.rects)
25261    pub rects: ::std::vec::Vec<cmsg_draggable_regions_changed::DraggableRects>,
25262    // special fields
25263    // @@protoc_insertion_point(special_field:CMsgDraggableRegionsChanged.special_fields)
25264    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
25265}
25266
25267impl<'a> ::std::default::Default for &'a CMsgDraggableRegionsChanged {
25268    fn default() -> &'a CMsgDraggableRegionsChanged {
25269        <CMsgDraggableRegionsChanged as ::steam_vent_proto_common::protobuf::Message>::default_instance()
25270    }
25271}
25272
25273impl CMsgDraggableRegionsChanged {
25274    pub fn new() -> CMsgDraggableRegionsChanged {
25275        ::std::default::Default::default()
25276    }
25277
25278    // optional uint32 browser_handle = 1;
25279
25280    pub fn browser_handle(&self) -> u32 {
25281        self.browser_handle.unwrap_or(0)
25282    }
25283
25284    pub fn clear_browser_handle(&mut self) {
25285        self.browser_handle = ::std::option::Option::None;
25286    }
25287
25288    pub fn has_browser_handle(&self) -> bool {
25289        self.browser_handle.is_some()
25290    }
25291
25292    // Param is passed by value, moved
25293    pub fn set_browser_handle(&mut self, v: u32) {
25294        self.browser_handle = ::std::option::Option::Some(v);
25295    }
25296}
25297
25298impl ::steam_vent_proto_common::protobuf::Message for CMsgDraggableRegionsChanged {
25299    const NAME: &'static str = "CMsgDraggableRegionsChanged";
25300
25301    fn is_initialized(&self) -> bool {
25302        true
25303    }
25304
25305    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
25306        while let Some(tag) = is.read_raw_tag_or_eof()? {
25307            match tag {
25308                8 => {
25309                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
25310                },
25311                18 => {
25312                    self.rects.push(is.read_message()?);
25313                },
25314                tag => {
25315                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
25316                },
25317            };
25318        }
25319        ::std::result::Result::Ok(())
25320    }
25321
25322    // Compute sizes of nested messages
25323    #[allow(unused_variables)]
25324    fn compute_size(&self) -> u64 {
25325        let mut my_size = 0;
25326        if let Some(v) = self.browser_handle {
25327            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
25328        }
25329        for value in &self.rects {
25330            let len = value.compute_size();
25331            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
25332        };
25333        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
25334        self.special_fields.cached_size().set(my_size as u32);
25335        my_size
25336    }
25337
25338    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
25339        if let Some(v) = self.browser_handle {
25340            os.write_uint32(1, v)?;
25341        }
25342        for v in &self.rects {
25343            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
25344        };
25345        os.write_unknown_fields(self.special_fields.unknown_fields())?;
25346        ::std::result::Result::Ok(())
25347    }
25348
25349    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
25350        &self.special_fields
25351    }
25352
25353    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
25354        &mut self.special_fields
25355    }
25356
25357    fn new() -> CMsgDraggableRegionsChanged {
25358        CMsgDraggableRegionsChanged::new()
25359    }
25360
25361    fn clear(&mut self) {
25362        self.browser_handle = ::std::option::Option::None;
25363        self.rects.clear();
25364        self.special_fields.clear();
25365    }
25366
25367    fn default_instance() -> &'static CMsgDraggableRegionsChanged {
25368        static instance: CMsgDraggableRegionsChanged = CMsgDraggableRegionsChanged {
25369            browser_handle: ::std::option::Option::None,
25370            rects: ::std::vec::Vec::new(),
25371            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
25372        };
25373        &instance
25374    }
25375}
25376
25377/// Nested message and enums of message `CMsgDraggableRegionsChanged`
25378pub mod cmsg_draggable_regions_changed {
25379    // @@protoc_insertion_point(message:CMsgDraggableRegionsChanged.DraggableRects)
25380    #[derive(PartialEq,Clone,Default,Debug)]
25381    pub struct DraggableRects {
25382        // message fields
25383        // @@protoc_insertion_point(field:CMsgDraggableRegionsChanged.DraggableRects.x)
25384        pub x: ::std::option::Option<i32>,
25385        // @@protoc_insertion_point(field:CMsgDraggableRegionsChanged.DraggableRects.y)
25386        pub y: ::std::option::Option<i32>,
25387        // @@protoc_insertion_point(field:CMsgDraggableRegionsChanged.DraggableRects.width)
25388        pub width: ::std::option::Option<i32>,
25389        // @@protoc_insertion_point(field:CMsgDraggableRegionsChanged.DraggableRects.height)
25390        pub height: ::std::option::Option<i32>,
25391        // @@protoc_insertion_point(field:CMsgDraggableRegionsChanged.DraggableRects.draggable)
25392        pub draggable: ::std::option::Option<bool>,
25393        // @@protoc_insertion_point(field:CMsgDraggableRegionsChanged.DraggableRects.transparent)
25394        pub transparent: ::std::option::Option<bool>,
25395        // special fields
25396        // @@protoc_insertion_point(special_field:CMsgDraggableRegionsChanged.DraggableRects.special_fields)
25397        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
25398    }
25399
25400    impl<'a> ::std::default::Default for &'a DraggableRects {
25401        fn default() -> &'a DraggableRects {
25402            <DraggableRects as ::steam_vent_proto_common::protobuf::Message>::default_instance()
25403        }
25404    }
25405
25406    impl DraggableRects {
25407        pub fn new() -> DraggableRects {
25408            ::std::default::Default::default()
25409        }
25410
25411        // optional int32 x = 1;
25412
25413        pub fn x(&self) -> i32 {
25414            self.x.unwrap_or(0)
25415        }
25416
25417        pub fn clear_x(&mut self) {
25418            self.x = ::std::option::Option::None;
25419        }
25420
25421        pub fn has_x(&self) -> bool {
25422            self.x.is_some()
25423        }
25424
25425        // Param is passed by value, moved
25426        pub fn set_x(&mut self, v: i32) {
25427            self.x = ::std::option::Option::Some(v);
25428        }
25429
25430        // optional int32 y = 2;
25431
25432        pub fn y(&self) -> i32 {
25433            self.y.unwrap_or(0)
25434        }
25435
25436        pub fn clear_y(&mut self) {
25437            self.y = ::std::option::Option::None;
25438        }
25439
25440        pub fn has_y(&self) -> bool {
25441            self.y.is_some()
25442        }
25443
25444        // Param is passed by value, moved
25445        pub fn set_y(&mut self, v: i32) {
25446            self.y = ::std::option::Option::Some(v);
25447        }
25448
25449        // optional int32 width = 3;
25450
25451        pub fn width(&self) -> i32 {
25452            self.width.unwrap_or(0)
25453        }
25454
25455        pub fn clear_width(&mut self) {
25456            self.width = ::std::option::Option::None;
25457        }
25458
25459        pub fn has_width(&self) -> bool {
25460            self.width.is_some()
25461        }
25462
25463        // Param is passed by value, moved
25464        pub fn set_width(&mut self, v: i32) {
25465            self.width = ::std::option::Option::Some(v);
25466        }
25467
25468        // optional int32 height = 4;
25469
25470        pub fn height(&self) -> i32 {
25471            self.height.unwrap_or(0)
25472        }
25473
25474        pub fn clear_height(&mut self) {
25475            self.height = ::std::option::Option::None;
25476        }
25477
25478        pub fn has_height(&self) -> bool {
25479            self.height.is_some()
25480        }
25481
25482        // Param is passed by value, moved
25483        pub fn set_height(&mut self, v: i32) {
25484            self.height = ::std::option::Option::Some(v);
25485        }
25486
25487        // optional bool draggable = 5;
25488
25489        pub fn draggable(&self) -> bool {
25490            self.draggable.unwrap_or(false)
25491        }
25492
25493        pub fn clear_draggable(&mut self) {
25494            self.draggable = ::std::option::Option::None;
25495        }
25496
25497        pub fn has_draggable(&self) -> bool {
25498            self.draggable.is_some()
25499        }
25500
25501        // Param is passed by value, moved
25502        pub fn set_draggable(&mut self, v: bool) {
25503            self.draggable = ::std::option::Option::Some(v);
25504        }
25505
25506        // optional bool transparent = 6;
25507
25508        pub fn transparent(&self) -> bool {
25509            self.transparent.unwrap_or(false)
25510        }
25511
25512        pub fn clear_transparent(&mut self) {
25513            self.transparent = ::std::option::Option::None;
25514        }
25515
25516        pub fn has_transparent(&self) -> bool {
25517            self.transparent.is_some()
25518        }
25519
25520        // Param is passed by value, moved
25521        pub fn set_transparent(&mut self, v: bool) {
25522            self.transparent = ::std::option::Option::Some(v);
25523        }
25524    }
25525
25526    impl ::steam_vent_proto_common::protobuf::Message for DraggableRects {
25527        const NAME: &'static str = "DraggableRects";
25528
25529        fn is_initialized(&self) -> bool {
25530            true
25531        }
25532
25533        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
25534            while let Some(tag) = is.read_raw_tag_or_eof()? {
25535                match tag {
25536                    8 => {
25537                        self.x = ::std::option::Option::Some(is.read_int32()?);
25538                    },
25539                    16 => {
25540                        self.y = ::std::option::Option::Some(is.read_int32()?);
25541                    },
25542                    24 => {
25543                        self.width = ::std::option::Option::Some(is.read_int32()?);
25544                    },
25545                    32 => {
25546                        self.height = ::std::option::Option::Some(is.read_int32()?);
25547                    },
25548                    40 => {
25549                        self.draggable = ::std::option::Option::Some(is.read_bool()?);
25550                    },
25551                    48 => {
25552                        self.transparent = ::std::option::Option::Some(is.read_bool()?);
25553                    },
25554                    tag => {
25555                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
25556                    },
25557                };
25558            }
25559            ::std::result::Result::Ok(())
25560        }
25561
25562        // Compute sizes of nested messages
25563        #[allow(unused_variables)]
25564        fn compute_size(&self) -> u64 {
25565            let mut my_size = 0;
25566            if let Some(v) = self.x {
25567                my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
25568            }
25569            if let Some(v) = self.y {
25570                my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
25571            }
25572            if let Some(v) = self.width {
25573                my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
25574            }
25575            if let Some(v) = self.height {
25576                my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v);
25577            }
25578            if let Some(v) = self.draggable {
25579                my_size += 1 + 1;
25580            }
25581            if let Some(v) = self.transparent {
25582                my_size += 1 + 1;
25583            }
25584            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
25585            self.special_fields.cached_size().set(my_size as u32);
25586            my_size
25587        }
25588
25589        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
25590            if let Some(v) = self.x {
25591                os.write_int32(1, v)?;
25592            }
25593            if let Some(v) = self.y {
25594                os.write_int32(2, v)?;
25595            }
25596            if let Some(v) = self.width {
25597                os.write_int32(3, v)?;
25598            }
25599            if let Some(v) = self.height {
25600                os.write_int32(4, v)?;
25601            }
25602            if let Some(v) = self.draggable {
25603                os.write_bool(5, v)?;
25604            }
25605            if let Some(v) = self.transparent {
25606                os.write_bool(6, v)?;
25607            }
25608            os.write_unknown_fields(self.special_fields.unknown_fields())?;
25609            ::std::result::Result::Ok(())
25610        }
25611
25612        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
25613            &self.special_fields
25614        }
25615
25616        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
25617            &mut self.special_fields
25618        }
25619
25620        fn new() -> DraggableRects {
25621            DraggableRects::new()
25622        }
25623
25624        fn clear(&mut self) {
25625            self.x = ::std::option::Option::None;
25626            self.y = ::std::option::Option::None;
25627            self.width = ::std::option::Option::None;
25628            self.height = ::std::option::Option::None;
25629            self.draggable = ::std::option::Option::None;
25630            self.transparent = ::std::option::Option::None;
25631            self.special_fields.clear();
25632        }
25633
25634        fn default_instance() -> &'static DraggableRects {
25635            static instance: DraggableRects = DraggableRects {
25636                x: ::std::option::Option::None,
25637                y: ::std::option::Option::None,
25638                width: ::std::option::Option::None,
25639                height: ::std::option::Option::None,
25640                draggable: ::std::option::Option::None,
25641                transparent: ::std::option::Option::None,
25642                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
25643            };
25644            &instance
25645        }
25646    }
25647}
25648
25649// @@protoc_insertion_point(message:CMsgResizeGripChanged)
25650#[derive(PartialEq,Clone,Default,Debug)]
25651pub struct CMsgResizeGripChanged {
25652    // message fields
25653    // @@protoc_insertion_point(field:CMsgResizeGripChanged.browser_handle)
25654    pub browser_handle: ::std::option::Option<u32>,
25655    // @@protoc_insertion_point(field:CMsgResizeGripChanged.width)
25656    pub width: ::std::option::Option<i32>,
25657    // @@protoc_insertion_point(field:CMsgResizeGripChanged.height)
25658    pub height: ::std::option::Option<i32>,
25659    // special fields
25660    // @@protoc_insertion_point(special_field:CMsgResizeGripChanged.special_fields)
25661    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
25662}
25663
25664impl<'a> ::std::default::Default for &'a CMsgResizeGripChanged {
25665    fn default() -> &'a CMsgResizeGripChanged {
25666        <CMsgResizeGripChanged as ::steam_vent_proto_common::protobuf::Message>::default_instance()
25667    }
25668}
25669
25670impl CMsgResizeGripChanged {
25671    pub fn new() -> CMsgResizeGripChanged {
25672        ::std::default::Default::default()
25673    }
25674
25675    // optional uint32 browser_handle = 1;
25676
25677    pub fn browser_handle(&self) -> u32 {
25678        self.browser_handle.unwrap_or(0)
25679    }
25680
25681    pub fn clear_browser_handle(&mut self) {
25682        self.browser_handle = ::std::option::Option::None;
25683    }
25684
25685    pub fn has_browser_handle(&self) -> bool {
25686        self.browser_handle.is_some()
25687    }
25688
25689    // Param is passed by value, moved
25690    pub fn set_browser_handle(&mut self, v: u32) {
25691        self.browser_handle = ::std::option::Option::Some(v);
25692    }
25693
25694    // optional int32 width = 2;
25695
25696    pub fn width(&self) -> i32 {
25697        self.width.unwrap_or(0)
25698    }
25699
25700    pub fn clear_width(&mut self) {
25701        self.width = ::std::option::Option::None;
25702    }
25703
25704    pub fn has_width(&self) -> bool {
25705        self.width.is_some()
25706    }
25707
25708    // Param is passed by value, moved
25709    pub fn set_width(&mut self, v: i32) {
25710        self.width = ::std::option::Option::Some(v);
25711    }
25712
25713    // optional int32 height = 3;
25714
25715    pub fn height(&self) -> i32 {
25716        self.height.unwrap_or(0)
25717    }
25718
25719    pub fn clear_height(&mut self) {
25720        self.height = ::std::option::Option::None;
25721    }
25722
25723    pub fn has_height(&self) -> bool {
25724        self.height.is_some()
25725    }
25726
25727    // Param is passed by value, moved
25728    pub fn set_height(&mut self, v: i32) {
25729        self.height = ::std::option::Option::Some(v);
25730    }
25731}
25732
25733impl ::steam_vent_proto_common::protobuf::Message for CMsgResizeGripChanged {
25734    const NAME: &'static str = "CMsgResizeGripChanged";
25735
25736    fn is_initialized(&self) -> bool {
25737        true
25738    }
25739
25740    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
25741        while let Some(tag) = is.read_raw_tag_or_eof()? {
25742            match tag {
25743                8 => {
25744                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
25745                },
25746                16 => {
25747                    self.width = ::std::option::Option::Some(is.read_int32()?);
25748                },
25749                24 => {
25750                    self.height = ::std::option::Option::Some(is.read_int32()?);
25751                },
25752                tag => {
25753                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
25754                },
25755            };
25756        }
25757        ::std::result::Result::Ok(())
25758    }
25759
25760    // Compute sizes of nested messages
25761    #[allow(unused_variables)]
25762    fn compute_size(&self) -> u64 {
25763        let mut my_size = 0;
25764        if let Some(v) = self.browser_handle {
25765            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
25766        }
25767        if let Some(v) = self.width {
25768            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
25769        }
25770        if let Some(v) = self.height {
25771            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
25772        }
25773        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
25774        self.special_fields.cached_size().set(my_size as u32);
25775        my_size
25776    }
25777
25778    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
25779        if let Some(v) = self.browser_handle {
25780            os.write_uint32(1, v)?;
25781        }
25782        if let Some(v) = self.width {
25783            os.write_int32(2, v)?;
25784        }
25785        if let Some(v) = self.height {
25786            os.write_int32(3, v)?;
25787        }
25788        os.write_unknown_fields(self.special_fields.unknown_fields())?;
25789        ::std::result::Result::Ok(())
25790    }
25791
25792    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
25793        &self.special_fields
25794    }
25795
25796    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
25797        &mut self.special_fields
25798    }
25799
25800    fn new() -> CMsgResizeGripChanged {
25801        CMsgResizeGripChanged::new()
25802    }
25803
25804    fn clear(&mut self) {
25805        self.browser_handle = ::std::option::Option::None;
25806        self.width = ::std::option::Option::None;
25807        self.height = ::std::option::Option::None;
25808        self.special_fields.clear();
25809    }
25810
25811    fn default_instance() -> &'static CMsgResizeGripChanged {
25812        static instance: CMsgResizeGripChanged = CMsgResizeGripChanged {
25813            browser_handle: ::std::option::Option::None,
25814            width: ::std::option::Option::None,
25815            height: ::std::option::Option::None,
25816            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
25817        };
25818        &instance
25819    }
25820}
25821
25822// @@protoc_insertion_point(message:CMsgSetWindowPosition)
25823#[derive(PartialEq,Clone,Default,Debug)]
25824pub struct CMsgSetWindowPosition {
25825    // message fields
25826    // @@protoc_insertion_point(field:CMsgSetWindowPosition.browser_handle)
25827    pub browser_handle: ::std::option::Option<u32>,
25828    // @@protoc_insertion_point(field:CMsgSetWindowPosition.x)
25829    pub x: ::std::option::Option<f64>,
25830    // @@protoc_insertion_point(field:CMsgSetWindowPosition.y)
25831    pub y: ::std::option::Option<f64>,
25832    // @@protoc_insertion_point(field:CMsgSetWindowPosition.width)
25833    pub width: ::std::option::Option<f64>,
25834    // @@protoc_insertion_point(field:CMsgSetWindowPosition.height)
25835    pub height: ::std::option::Option<f64>,
25836    // @@protoc_insertion_point(field:CMsgSetWindowPosition.min_width)
25837    pub min_width: ::std::option::Option<f64>,
25838    // @@protoc_insertion_point(field:CMsgSetWindowPosition.min_height)
25839    pub min_height: ::std::option::Option<f64>,
25840    // @@protoc_insertion_point(field:CMsgSetWindowPosition.max_width)
25841    pub max_width: ::std::option::Option<f64>,
25842    // @@protoc_insertion_point(field:CMsgSetWindowPosition.max_height)
25843    pub max_height: ::std::option::Option<f64>,
25844    // special fields
25845    // @@protoc_insertion_point(special_field:CMsgSetWindowPosition.special_fields)
25846    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
25847}
25848
25849impl<'a> ::std::default::Default for &'a CMsgSetWindowPosition {
25850    fn default() -> &'a CMsgSetWindowPosition {
25851        <CMsgSetWindowPosition as ::steam_vent_proto_common::protobuf::Message>::default_instance()
25852    }
25853}
25854
25855impl CMsgSetWindowPosition {
25856    pub fn new() -> CMsgSetWindowPosition {
25857        ::std::default::Default::default()
25858    }
25859
25860    // optional uint32 browser_handle = 1;
25861
25862    pub fn browser_handle(&self) -> u32 {
25863        self.browser_handle.unwrap_or(0)
25864    }
25865
25866    pub fn clear_browser_handle(&mut self) {
25867        self.browser_handle = ::std::option::Option::None;
25868    }
25869
25870    pub fn has_browser_handle(&self) -> bool {
25871        self.browser_handle.is_some()
25872    }
25873
25874    // Param is passed by value, moved
25875    pub fn set_browser_handle(&mut self, v: u32) {
25876        self.browser_handle = ::std::option::Option::Some(v);
25877    }
25878
25879    // optional double x = 2;
25880
25881    pub fn x(&self) -> f64 {
25882        self.x.unwrap_or(0.)
25883    }
25884
25885    pub fn clear_x(&mut self) {
25886        self.x = ::std::option::Option::None;
25887    }
25888
25889    pub fn has_x(&self) -> bool {
25890        self.x.is_some()
25891    }
25892
25893    // Param is passed by value, moved
25894    pub fn set_x(&mut self, v: f64) {
25895        self.x = ::std::option::Option::Some(v);
25896    }
25897
25898    // optional double y = 3;
25899
25900    pub fn y(&self) -> f64 {
25901        self.y.unwrap_or(0.)
25902    }
25903
25904    pub fn clear_y(&mut self) {
25905        self.y = ::std::option::Option::None;
25906    }
25907
25908    pub fn has_y(&self) -> bool {
25909        self.y.is_some()
25910    }
25911
25912    // Param is passed by value, moved
25913    pub fn set_y(&mut self, v: f64) {
25914        self.y = ::std::option::Option::Some(v);
25915    }
25916
25917    // optional double width = 4;
25918
25919    pub fn width(&self) -> f64 {
25920        self.width.unwrap_or(0.)
25921    }
25922
25923    pub fn clear_width(&mut self) {
25924        self.width = ::std::option::Option::None;
25925    }
25926
25927    pub fn has_width(&self) -> bool {
25928        self.width.is_some()
25929    }
25930
25931    // Param is passed by value, moved
25932    pub fn set_width(&mut self, v: f64) {
25933        self.width = ::std::option::Option::Some(v);
25934    }
25935
25936    // optional double height = 5;
25937
25938    pub fn height(&self) -> f64 {
25939        self.height.unwrap_or(0.)
25940    }
25941
25942    pub fn clear_height(&mut self) {
25943        self.height = ::std::option::Option::None;
25944    }
25945
25946    pub fn has_height(&self) -> bool {
25947        self.height.is_some()
25948    }
25949
25950    // Param is passed by value, moved
25951    pub fn set_height(&mut self, v: f64) {
25952        self.height = ::std::option::Option::Some(v);
25953    }
25954
25955    // optional double min_width = 6;
25956
25957    pub fn min_width(&self) -> f64 {
25958        self.min_width.unwrap_or(0.)
25959    }
25960
25961    pub fn clear_min_width(&mut self) {
25962        self.min_width = ::std::option::Option::None;
25963    }
25964
25965    pub fn has_min_width(&self) -> bool {
25966        self.min_width.is_some()
25967    }
25968
25969    // Param is passed by value, moved
25970    pub fn set_min_width(&mut self, v: f64) {
25971        self.min_width = ::std::option::Option::Some(v);
25972    }
25973
25974    // optional double min_height = 7;
25975
25976    pub fn min_height(&self) -> f64 {
25977        self.min_height.unwrap_or(0.)
25978    }
25979
25980    pub fn clear_min_height(&mut self) {
25981        self.min_height = ::std::option::Option::None;
25982    }
25983
25984    pub fn has_min_height(&self) -> bool {
25985        self.min_height.is_some()
25986    }
25987
25988    // Param is passed by value, moved
25989    pub fn set_min_height(&mut self, v: f64) {
25990        self.min_height = ::std::option::Option::Some(v);
25991    }
25992
25993    // optional double max_width = 8;
25994
25995    pub fn max_width(&self) -> f64 {
25996        self.max_width.unwrap_or(0.)
25997    }
25998
25999    pub fn clear_max_width(&mut self) {
26000        self.max_width = ::std::option::Option::None;
26001    }
26002
26003    pub fn has_max_width(&self) -> bool {
26004        self.max_width.is_some()
26005    }
26006
26007    // Param is passed by value, moved
26008    pub fn set_max_width(&mut self, v: f64) {
26009        self.max_width = ::std::option::Option::Some(v);
26010    }
26011
26012    // optional double max_height = 9;
26013
26014    pub fn max_height(&self) -> f64 {
26015        self.max_height.unwrap_or(0.)
26016    }
26017
26018    pub fn clear_max_height(&mut self) {
26019        self.max_height = ::std::option::Option::None;
26020    }
26021
26022    pub fn has_max_height(&self) -> bool {
26023        self.max_height.is_some()
26024    }
26025
26026    // Param is passed by value, moved
26027    pub fn set_max_height(&mut self, v: f64) {
26028        self.max_height = ::std::option::Option::Some(v);
26029    }
26030}
26031
26032impl ::steam_vent_proto_common::protobuf::Message for CMsgSetWindowPosition {
26033    const NAME: &'static str = "CMsgSetWindowPosition";
26034
26035    fn is_initialized(&self) -> bool {
26036        true
26037    }
26038
26039    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26040        while let Some(tag) = is.read_raw_tag_or_eof()? {
26041            match tag {
26042                8 => {
26043                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
26044                },
26045                17 => {
26046                    self.x = ::std::option::Option::Some(is.read_double()?);
26047                },
26048                25 => {
26049                    self.y = ::std::option::Option::Some(is.read_double()?);
26050                },
26051                33 => {
26052                    self.width = ::std::option::Option::Some(is.read_double()?);
26053                },
26054                41 => {
26055                    self.height = ::std::option::Option::Some(is.read_double()?);
26056                },
26057                49 => {
26058                    self.min_width = ::std::option::Option::Some(is.read_double()?);
26059                },
26060                57 => {
26061                    self.min_height = ::std::option::Option::Some(is.read_double()?);
26062                },
26063                65 => {
26064                    self.max_width = ::std::option::Option::Some(is.read_double()?);
26065                },
26066                73 => {
26067                    self.max_height = ::std::option::Option::Some(is.read_double()?);
26068                },
26069                tag => {
26070                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
26071                },
26072            };
26073        }
26074        ::std::result::Result::Ok(())
26075    }
26076
26077    // Compute sizes of nested messages
26078    #[allow(unused_variables)]
26079    fn compute_size(&self) -> u64 {
26080        let mut my_size = 0;
26081        if let Some(v) = self.browser_handle {
26082            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
26083        }
26084        if let Some(v) = self.x {
26085            my_size += 1 + 8;
26086        }
26087        if let Some(v) = self.y {
26088            my_size += 1 + 8;
26089        }
26090        if let Some(v) = self.width {
26091            my_size += 1 + 8;
26092        }
26093        if let Some(v) = self.height {
26094            my_size += 1 + 8;
26095        }
26096        if let Some(v) = self.min_width {
26097            my_size += 1 + 8;
26098        }
26099        if let Some(v) = self.min_height {
26100            my_size += 1 + 8;
26101        }
26102        if let Some(v) = self.max_width {
26103            my_size += 1 + 8;
26104        }
26105        if let Some(v) = self.max_height {
26106            my_size += 1 + 8;
26107        }
26108        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
26109        self.special_fields.cached_size().set(my_size as u32);
26110        my_size
26111    }
26112
26113    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26114        if let Some(v) = self.browser_handle {
26115            os.write_uint32(1, v)?;
26116        }
26117        if let Some(v) = self.x {
26118            os.write_double(2, v)?;
26119        }
26120        if let Some(v) = self.y {
26121            os.write_double(3, v)?;
26122        }
26123        if let Some(v) = self.width {
26124            os.write_double(4, v)?;
26125        }
26126        if let Some(v) = self.height {
26127            os.write_double(5, v)?;
26128        }
26129        if let Some(v) = self.min_width {
26130            os.write_double(6, v)?;
26131        }
26132        if let Some(v) = self.min_height {
26133            os.write_double(7, v)?;
26134        }
26135        if let Some(v) = self.max_width {
26136            os.write_double(8, v)?;
26137        }
26138        if let Some(v) = self.max_height {
26139            os.write_double(9, v)?;
26140        }
26141        os.write_unknown_fields(self.special_fields.unknown_fields())?;
26142        ::std::result::Result::Ok(())
26143    }
26144
26145    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
26146        &self.special_fields
26147    }
26148
26149    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
26150        &mut self.special_fields
26151    }
26152
26153    fn new() -> CMsgSetWindowPosition {
26154        CMsgSetWindowPosition::new()
26155    }
26156
26157    fn clear(&mut self) {
26158        self.browser_handle = ::std::option::Option::None;
26159        self.x = ::std::option::Option::None;
26160        self.y = ::std::option::Option::None;
26161        self.width = ::std::option::Option::None;
26162        self.height = ::std::option::Option::None;
26163        self.min_width = ::std::option::Option::None;
26164        self.min_height = ::std::option::Option::None;
26165        self.max_width = ::std::option::Option::None;
26166        self.max_height = ::std::option::Option::None;
26167        self.special_fields.clear();
26168    }
26169
26170    fn default_instance() -> &'static CMsgSetWindowPosition {
26171        static instance: CMsgSetWindowPosition = CMsgSetWindowPosition {
26172            browser_handle: ::std::option::Option::None,
26173            x: ::std::option::Option::None,
26174            y: ::std::option::Option::None,
26175            width: ::std::option::Option::None,
26176            height: ::std::option::Option::None,
26177            min_width: ::std::option::Option::None,
26178            min_height: ::std::option::Option::None,
26179            max_width: ::std::option::Option::None,
26180            max_height: ::std::option::Option::None,
26181            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
26182        };
26183        &instance
26184    }
26185}
26186
26187// @@protoc_insertion_point(message:CMsgShowWindow)
26188#[derive(PartialEq,Clone,Default,Debug)]
26189pub struct CMsgShowWindow {
26190    // message fields
26191    // @@protoc_insertion_point(field:CMsgShowWindow.browser_handle)
26192    pub browser_handle: ::std::option::Option<u32>,
26193    // special fields
26194    // @@protoc_insertion_point(special_field:CMsgShowWindow.special_fields)
26195    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
26196}
26197
26198impl<'a> ::std::default::Default for &'a CMsgShowWindow {
26199    fn default() -> &'a CMsgShowWindow {
26200        <CMsgShowWindow as ::steam_vent_proto_common::protobuf::Message>::default_instance()
26201    }
26202}
26203
26204impl CMsgShowWindow {
26205    pub fn new() -> CMsgShowWindow {
26206        ::std::default::Default::default()
26207    }
26208
26209    // optional uint32 browser_handle = 1;
26210
26211    pub fn browser_handle(&self) -> u32 {
26212        self.browser_handle.unwrap_or(0)
26213    }
26214
26215    pub fn clear_browser_handle(&mut self) {
26216        self.browser_handle = ::std::option::Option::None;
26217    }
26218
26219    pub fn has_browser_handle(&self) -> bool {
26220        self.browser_handle.is_some()
26221    }
26222
26223    // Param is passed by value, moved
26224    pub fn set_browser_handle(&mut self, v: u32) {
26225        self.browser_handle = ::std::option::Option::Some(v);
26226    }
26227}
26228
26229impl ::steam_vent_proto_common::protobuf::Message for CMsgShowWindow {
26230    const NAME: &'static str = "CMsgShowWindow";
26231
26232    fn is_initialized(&self) -> bool {
26233        true
26234    }
26235
26236    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26237        while let Some(tag) = is.read_raw_tag_or_eof()? {
26238            match tag {
26239                8 => {
26240                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
26241                },
26242                tag => {
26243                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
26244                },
26245            };
26246        }
26247        ::std::result::Result::Ok(())
26248    }
26249
26250    // Compute sizes of nested messages
26251    #[allow(unused_variables)]
26252    fn compute_size(&self) -> u64 {
26253        let mut my_size = 0;
26254        if let Some(v) = self.browser_handle {
26255            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
26256        }
26257        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
26258        self.special_fields.cached_size().set(my_size as u32);
26259        my_size
26260    }
26261
26262    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26263        if let Some(v) = self.browser_handle {
26264            os.write_uint32(1, v)?;
26265        }
26266        os.write_unknown_fields(self.special_fields.unknown_fields())?;
26267        ::std::result::Result::Ok(())
26268    }
26269
26270    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
26271        &self.special_fields
26272    }
26273
26274    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
26275        &mut self.special_fields
26276    }
26277
26278    fn new() -> CMsgShowWindow {
26279        CMsgShowWindow::new()
26280    }
26281
26282    fn clear(&mut self) {
26283        self.browser_handle = ::std::option::Option::None;
26284        self.special_fields.clear();
26285    }
26286
26287    fn default_instance() -> &'static CMsgShowWindow {
26288        static instance: CMsgShowWindow = CMsgShowWindow {
26289            browser_handle: ::std::option::Option::None,
26290            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
26291        };
26292        &instance
26293    }
26294}
26295
26296// @@protoc_insertion_point(message:CMsgHideWindow)
26297#[derive(PartialEq,Clone,Default,Debug)]
26298pub struct CMsgHideWindow {
26299    // message fields
26300    // @@protoc_insertion_point(field:CMsgHideWindow.browser_handle)
26301    pub browser_handle: ::std::option::Option<u32>,
26302    // special fields
26303    // @@protoc_insertion_point(special_field:CMsgHideWindow.special_fields)
26304    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
26305}
26306
26307impl<'a> ::std::default::Default for &'a CMsgHideWindow {
26308    fn default() -> &'a CMsgHideWindow {
26309        <CMsgHideWindow as ::steam_vent_proto_common::protobuf::Message>::default_instance()
26310    }
26311}
26312
26313impl CMsgHideWindow {
26314    pub fn new() -> CMsgHideWindow {
26315        ::std::default::Default::default()
26316    }
26317
26318    // optional uint32 browser_handle = 1;
26319
26320    pub fn browser_handle(&self) -> u32 {
26321        self.browser_handle.unwrap_or(0)
26322    }
26323
26324    pub fn clear_browser_handle(&mut self) {
26325        self.browser_handle = ::std::option::Option::None;
26326    }
26327
26328    pub fn has_browser_handle(&self) -> bool {
26329        self.browser_handle.is_some()
26330    }
26331
26332    // Param is passed by value, moved
26333    pub fn set_browser_handle(&mut self, v: u32) {
26334        self.browser_handle = ::std::option::Option::Some(v);
26335    }
26336}
26337
26338impl ::steam_vent_proto_common::protobuf::Message for CMsgHideWindow {
26339    const NAME: &'static str = "CMsgHideWindow";
26340
26341    fn is_initialized(&self) -> bool {
26342        true
26343    }
26344
26345    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26346        while let Some(tag) = is.read_raw_tag_or_eof()? {
26347            match tag {
26348                8 => {
26349                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
26350                },
26351                tag => {
26352                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
26353                },
26354            };
26355        }
26356        ::std::result::Result::Ok(())
26357    }
26358
26359    // Compute sizes of nested messages
26360    #[allow(unused_variables)]
26361    fn compute_size(&self) -> u64 {
26362        let mut my_size = 0;
26363        if let Some(v) = self.browser_handle {
26364            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
26365        }
26366        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
26367        self.special_fields.cached_size().set(my_size as u32);
26368        my_size
26369    }
26370
26371    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26372        if let Some(v) = self.browser_handle {
26373            os.write_uint32(1, v)?;
26374        }
26375        os.write_unknown_fields(self.special_fields.unknown_fields())?;
26376        ::std::result::Result::Ok(())
26377    }
26378
26379    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
26380        &self.special_fields
26381    }
26382
26383    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
26384        &mut self.special_fields
26385    }
26386
26387    fn new() -> CMsgHideWindow {
26388        CMsgHideWindow::new()
26389    }
26390
26391    fn clear(&mut self) {
26392        self.browser_handle = ::std::option::Option::None;
26393        self.special_fields.clear();
26394    }
26395
26396    fn default_instance() -> &'static CMsgHideWindow {
26397        static instance: CMsgHideWindow = CMsgHideWindow {
26398            browser_handle: ::std::option::Option::None,
26399            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
26400        };
26401        &instance
26402    }
26403}
26404
26405// @@protoc_insertion_point(message:CMsgBringWindowToFront)
26406#[derive(PartialEq,Clone,Default,Debug)]
26407pub struct CMsgBringWindowToFront {
26408    // message fields
26409    // @@protoc_insertion_point(field:CMsgBringWindowToFront.browser_handle)
26410    pub browser_handle: ::std::option::Option<u32>,
26411    // special fields
26412    // @@protoc_insertion_point(special_field:CMsgBringWindowToFront.special_fields)
26413    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
26414}
26415
26416impl<'a> ::std::default::Default for &'a CMsgBringWindowToFront {
26417    fn default() -> &'a CMsgBringWindowToFront {
26418        <CMsgBringWindowToFront as ::steam_vent_proto_common::protobuf::Message>::default_instance()
26419    }
26420}
26421
26422impl CMsgBringWindowToFront {
26423    pub fn new() -> CMsgBringWindowToFront {
26424        ::std::default::Default::default()
26425    }
26426
26427    // optional uint32 browser_handle = 1;
26428
26429    pub fn browser_handle(&self) -> u32 {
26430        self.browser_handle.unwrap_or(0)
26431    }
26432
26433    pub fn clear_browser_handle(&mut self) {
26434        self.browser_handle = ::std::option::Option::None;
26435    }
26436
26437    pub fn has_browser_handle(&self) -> bool {
26438        self.browser_handle.is_some()
26439    }
26440
26441    // Param is passed by value, moved
26442    pub fn set_browser_handle(&mut self, v: u32) {
26443        self.browser_handle = ::std::option::Option::Some(v);
26444    }
26445}
26446
26447impl ::steam_vent_proto_common::protobuf::Message for CMsgBringWindowToFront {
26448    const NAME: &'static str = "CMsgBringWindowToFront";
26449
26450    fn is_initialized(&self) -> bool {
26451        true
26452    }
26453
26454    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26455        while let Some(tag) = is.read_raw_tag_or_eof()? {
26456            match tag {
26457                8 => {
26458                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
26459                },
26460                tag => {
26461                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
26462                },
26463            };
26464        }
26465        ::std::result::Result::Ok(())
26466    }
26467
26468    // Compute sizes of nested messages
26469    #[allow(unused_variables)]
26470    fn compute_size(&self) -> u64 {
26471        let mut my_size = 0;
26472        if let Some(v) = self.browser_handle {
26473            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
26474        }
26475        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
26476        self.special_fields.cached_size().set(my_size as u32);
26477        my_size
26478    }
26479
26480    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26481        if let Some(v) = self.browser_handle {
26482            os.write_uint32(1, v)?;
26483        }
26484        os.write_unknown_fields(self.special_fields.unknown_fields())?;
26485        ::std::result::Result::Ok(())
26486    }
26487
26488    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
26489        &self.special_fields
26490    }
26491
26492    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
26493        &mut self.special_fields
26494    }
26495
26496    fn new() -> CMsgBringWindowToFront {
26497        CMsgBringWindowToFront::new()
26498    }
26499
26500    fn clear(&mut self) {
26501        self.browser_handle = ::std::option::Option::None;
26502        self.special_fields.clear();
26503    }
26504
26505    fn default_instance() -> &'static CMsgBringWindowToFront {
26506        static instance: CMsgBringWindowToFront = CMsgBringWindowToFront {
26507            browser_handle: ::std::option::Option::None,
26508            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
26509        };
26510        &instance
26511    }
26512}
26513
26514// @@protoc_insertion_point(message:CMsgSetForegroundWindow)
26515#[derive(PartialEq,Clone,Default,Debug)]
26516pub struct CMsgSetForegroundWindow {
26517    // message fields
26518    // @@protoc_insertion_point(field:CMsgSetForegroundWindow.browser_handle)
26519    pub browser_handle: ::std::option::Option<u32>,
26520    // special fields
26521    // @@protoc_insertion_point(special_field:CMsgSetForegroundWindow.special_fields)
26522    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
26523}
26524
26525impl<'a> ::std::default::Default for &'a CMsgSetForegroundWindow {
26526    fn default() -> &'a CMsgSetForegroundWindow {
26527        <CMsgSetForegroundWindow as ::steam_vent_proto_common::protobuf::Message>::default_instance()
26528    }
26529}
26530
26531impl CMsgSetForegroundWindow {
26532    pub fn new() -> CMsgSetForegroundWindow {
26533        ::std::default::Default::default()
26534    }
26535
26536    // optional uint32 browser_handle = 1;
26537
26538    pub fn browser_handle(&self) -> u32 {
26539        self.browser_handle.unwrap_or(0)
26540    }
26541
26542    pub fn clear_browser_handle(&mut self) {
26543        self.browser_handle = ::std::option::Option::None;
26544    }
26545
26546    pub fn has_browser_handle(&self) -> bool {
26547        self.browser_handle.is_some()
26548    }
26549
26550    // Param is passed by value, moved
26551    pub fn set_browser_handle(&mut self, v: u32) {
26552        self.browser_handle = ::std::option::Option::Some(v);
26553    }
26554}
26555
26556impl ::steam_vent_proto_common::protobuf::Message for CMsgSetForegroundWindow {
26557    const NAME: &'static str = "CMsgSetForegroundWindow";
26558
26559    fn is_initialized(&self) -> bool {
26560        true
26561    }
26562
26563    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26564        while let Some(tag) = is.read_raw_tag_or_eof()? {
26565            match tag {
26566                8 => {
26567                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
26568                },
26569                tag => {
26570                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
26571                },
26572            };
26573        }
26574        ::std::result::Result::Ok(())
26575    }
26576
26577    // Compute sizes of nested messages
26578    #[allow(unused_variables)]
26579    fn compute_size(&self) -> u64 {
26580        let mut my_size = 0;
26581        if let Some(v) = self.browser_handle {
26582            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
26583        }
26584        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
26585        self.special_fields.cached_size().set(my_size as u32);
26586        my_size
26587    }
26588
26589    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26590        if let Some(v) = self.browser_handle {
26591            os.write_uint32(1, v)?;
26592        }
26593        os.write_unknown_fields(self.special_fields.unknown_fields())?;
26594        ::std::result::Result::Ok(())
26595    }
26596
26597    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
26598        &self.special_fields
26599    }
26600
26601    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
26602        &mut self.special_fields
26603    }
26604
26605    fn new() -> CMsgSetForegroundWindow {
26606        CMsgSetForegroundWindow::new()
26607    }
26608
26609    fn clear(&mut self) {
26610        self.browser_handle = ::std::option::Option::None;
26611        self.special_fields.clear();
26612    }
26613
26614    fn default_instance() -> &'static CMsgSetForegroundWindow {
26615        static instance: CMsgSetForegroundWindow = CMsgSetForegroundWindow {
26616            browser_handle: ::std::option::Option::None,
26617            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
26618        };
26619        &instance
26620    }
26621}
26622
26623// @@protoc_insertion_point(message:CMsgMaximizeRestoreWindow)
26624#[derive(PartialEq,Clone,Default,Debug)]
26625pub struct CMsgMaximizeRestoreWindow {
26626    // message fields
26627    // @@protoc_insertion_point(field:CMsgMaximizeRestoreWindow.browser_handle)
26628    pub browser_handle: ::std::option::Option<u32>,
26629    // special fields
26630    // @@protoc_insertion_point(special_field:CMsgMaximizeRestoreWindow.special_fields)
26631    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
26632}
26633
26634impl<'a> ::std::default::Default for &'a CMsgMaximizeRestoreWindow {
26635    fn default() -> &'a CMsgMaximizeRestoreWindow {
26636        <CMsgMaximizeRestoreWindow as ::steam_vent_proto_common::protobuf::Message>::default_instance()
26637    }
26638}
26639
26640impl CMsgMaximizeRestoreWindow {
26641    pub fn new() -> CMsgMaximizeRestoreWindow {
26642        ::std::default::Default::default()
26643    }
26644
26645    // optional uint32 browser_handle = 1;
26646
26647    pub fn browser_handle(&self) -> u32 {
26648        self.browser_handle.unwrap_or(0)
26649    }
26650
26651    pub fn clear_browser_handle(&mut self) {
26652        self.browser_handle = ::std::option::Option::None;
26653    }
26654
26655    pub fn has_browser_handle(&self) -> bool {
26656        self.browser_handle.is_some()
26657    }
26658
26659    // Param is passed by value, moved
26660    pub fn set_browser_handle(&mut self, v: u32) {
26661        self.browser_handle = ::std::option::Option::Some(v);
26662    }
26663}
26664
26665impl ::steam_vent_proto_common::protobuf::Message for CMsgMaximizeRestoreWindow {
26666    const NAME: &'static str = "CMsgMaximizeRestoreWindow";
26667
26668    fn is_initialized(&self) -> bool {
26669        true
26670    }
26671
26672    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26673        while let Some(tag) = is.read_raw_tag_or_eof()? {
26674            match tag {
26675                8 => {
26676                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
26677                },
26678                tag => {
26679                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
26680                },
26681            };
26682        }
26683        ::std::result::Result::Ok(())
26684    }
26685
26686    // Compute sizes of nested messages
26687    #[allow(unused_variables)]
26688    fn compute_size(&self) -> u64 {
26689        let mut my_size = 0;
26690        if let Some(v) = self.browser_handle {
26691            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
26692        }
26693        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
26694        self.special_fields.cached_size().set(my_size as u32);
26695        my_size
26696    }
26697
26698    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26699        if let Some(v) = self.browser_handle {
26700            os.write_uint32(1, v)?;
26701        }
26702        os.write_unknown_fields(self.special_fields.unknown_fields())?;
26703        ::std::result::Result::Ok(())
26704    }
26705
26706    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
26707        &self.special_fields
26708    }
26709
26710    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
26711        &mut self.special_fields
26712    }
26713
26714    fn new() -> CMsgMaximizeRestoreWindow {
26715        CMsgMaximizeRestoreWindow::new()
26716    }
26717
26718    fn clear(&mut self) {
26719        self.browser_handle = ::std::option::Option::None;
26720        self.special_fields.clear();
26721    }
26722
26723    fn default_instance() -> &'static CMsgMaximizeRestoreWindow {
26724        static instance: CMsgMaximizeRestoreWindow = CMsgMaximizeRestoreWindow {
26725            browser_handle: ::std::option::Option::None,
26726            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
26727        };
26728        &instance
26729    }
26730}
26731
26732// @@protoc_insertion_point(message:CMsgMinimizeWindow)
26733#[derive(PartialEq,Clone,Default,Debug)]
26734pub struct CMsgMinimizeWindow {
26735    // message fields
26736    // @@protoc_insertion_point(field:CMsgMinimizeWindow.browser_handle)
26737    pub browser_handle: ::std::option::Option<u32>,
26738    // special fields
26739    // @@protoc_insertion_point(special_field:CMsgMinimizeWindow.special_fields)
26740    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
26741}
26742
26743impl<'a> ::std::default::Default for &'a CMsgMinimizeWindow {
26744    fn default() -> &'a CMsgMinimizeWindow {
26745        <CMsgMinimizeWindow as ::steam_vent_proto_common::protobuf::Message>::default_instance()
26746    }
26747}
26748
26749impl CMsgMinimizeWindow {
26750    pub fn new() -> CMsgMinimizeWindow {
26751        ::std::default::Default::default()
26752    }
26753
26754    // optional uint32 browser_handle = 1;
26755
26756    pub fn browser_handle(&self) -> u32 {
26757        self.browser_handle.unwrap_or(0)
26758    }
26759
26760    pub fn clear_browser_handle(&mut self) {
26761        self.browser_handle = ::std::option::Option::None;
26762    }
26763
26764    pub fn has_browser_handle(&self) -> bool {
26765        self.browser_handle.is_some()
26766    }
26767
26768    // Param is passed by value, moved
26769    pub fn set_browser_handle(&mut self, v: u32) {
26770        self.browser_handle = ::std::option::Option::Some(v);
26771    }
26772}
26773
26774impl ::steam_vent_proto_common::protobuf::Message for CMsgMinimizeWindow {
26775    const NAME: &'static str = "CMsgMinimizeWindow";
26776
26777    fn is_initialized(&self) -> bool {
26778        true
26779    }
26780
26781    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26782        while let Some(tag) = is.read_raw_tag_or_eof()? {
26783            match tag {
26784                8 => {
26785                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
26786                },
26787                tag => {
26788                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
26789                },
26790            };
26791        }
26792        ::std::result::Result::Ok(())
26793    }
26794
26795    // Compute sizes of nested messages
26796    #[allow(unused_variables)]
26797    fn compute_size(&self) -> u64 {
26798        let mut my_size = 0;
26799        if let Some(v) = self.browser_handle {
26800            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
26801        }
26802        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
26803        self.special_fields.cached_size().set(my_size as u32);
26804        my_size
26805    }
26806
26807    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
26808        if let Some(v) = self.browser_handle {
26809            os.write_uint32(1, v)?;
26810        }
26811        os.write_unknown_fields(self.special_fields.unknown_fields())?;
26812        ::std::result::Result::Ok(())
26813    }
26814
26815    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
26816        &self.special_fields
26817    }
26818
26819    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
26820        &mut self.special_fields
26821    }
26822
26823    fn new() -> CMsgMinimizeWindow {
26824        CMsgMinimizeWindow::new()
26825    }
26826
26827    fn clear(&mut self) {
26828        self.browser_handle = ::std::option::Option::None;
26829        self.special_fields.clear();
26830    }
26831
26832    fn default_instance() -> &'static CMsgMinimizeWindow {
26833        static instance: CMsgMinimizeWindow = CMsgMinimizeWindow {
26834            browser_handle: ::std::option::Option::None,
26835            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
26836        };
26837        &instance
26838    }
26839}
26840
26841// @@protoc_insertion_point(message:CMsgShowBrowserContextMenu)
26842#[derive(PartialEq,Clone,Default,Debug)]
26843pub struct CMsgShowBrowserContextMenu {
26844    // message fields
26845    // @@protoc_insertion_point(field:CMsgShowBrowserContextMenu.browser_handle)
26846    pub browser_handle: ::std::option::Option<u32>,
26847    // @@protoc_insertion_point(field:CMsgShowBrowserContextMenu.custom_commands)
26848    pub custom_commands: ::std::vec::Vec<cmsg_show_browser_context_menu::ContextCommand>,
26849    // @@protoc_insertion_point(field:CMsgShowBrowserContextMenu.type_flags)
26850    pub type_flags: ::std::option::Option<u32>,
26851    // @@protoc_insertion_point(field:CMsgShowBrowserContextMenu.page_url)
26852    pub page_url: ::std::option::Option<::std::string::String>,
26853    // @@protoc_insertion_point(field:CMsgShowBrowserContextMenu.coord_x)
26854    pub coord_x: ::std::option::Option<i32>,
26855    // @@protoc_insertion_point(field:CMsgShowBrowserContextMenu.coord_y)
26856    pub coord_y: ::std::option::Option<i32>,
26857    // @@protoc_insertion_point(field:CMsgShowBrowserContextMenu.link_url)
26858    pub link_url: ::std::option::Option<::std::string::String>,
26859    // @@protoc_insertion_point(field:CMsgShowBrowserContextMenu.unfiltered_link_url)
26860    pub unfiltered_link_url: ::std::option::Option<::std::string::String>,
26861    // @@protoc_insertion_point(field:CMsgShowBrowserContextMenu.selection_text)
26862    pub selection_text: ::std::option::Option<::std::string::String>,
26863    // @@protoc_insertion_point(field:CMsgShowBrowserContextMenu.misspelled_word)
26864    pub misspelled_word: ::std::option::Option<::std::string::String>,
26865    // @@protoc_insertion_point(field:CMsgShowBrowserContextMenu.edit_state_flags)
26866    pub edit_state_flags: ::std::option::Option<u32>,
26867    // special fields
26868    // @@protoc_insertion_point(special_field:CMsgShowBrowserContextMenu.special_fields)
26869    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
26870}
26871
26872impl<'a> ::std::default::Default for &'a CMsgShowBrowserContextMenu {
26873    fn default() -> &'a CMsgShowBrowserContextMenu {
26874        <CMsgShowBrowserContextMenu as ::steam_vent_proto_common::protobuf::Message>::default_instance()
26875    }
26876}
26877
26878impl CMsgShowBrowserContextMenu {
26879    pub fn new() -> CMsgShowBrowserContextMenu {
26880        ::std::default::Default::default()
26881    }
26882
26883    // optional uint32 browser_handle = 1;
26884
26885    pub fn browser_handle(&self) -> u32 {
26886        self.browser_handle.unwrap_or(0)
26887    }
26888
26889    pub fn clear_browser_handle(&mut self) {
26890        self.browser_handle = ::std::option::Option::None;
26891    }
26892
26893    pub fn has_browser_handle(&self) -> bool {
26894        self.browser_handle.is_some()
26895    }
26896
26897    // Param is passed by value, moved
26898    pub fn set_browser_handle(&mut self, v: u32) {
26899        self.browser_handle = ::std::option::Option::Some(v);
26900    }
26901
26902    // optional uint32 type_flags = 3;
26903
26904    pub fn type_flags(&self) -> u32 {
26905        self.type_flags.unwrap_or(0)
26906    }
26907
26908    pub fn clear_type_flags(&mut self) {
26909        self.type_flags = ::std::option::Option::None;
26910    }
26911
26912    pub fn has_type_flags(&self) -> bool {
26913        self.type_flags.is_some()
26914    }
26915
26916    // Param is passed by value, moved
26917    pub fn set_type_flags(&mut self, v: u32) {
26918        self.type_flags = ::std::option::Option::Some(v);
26919    }
26920
26921    // optional string page_url = 4;
26922
26923    pub fn page_url(&self) -> &str {
26924        match self.page_url.as_ref() {
26925            Some(v) => v,
26926            None => "",
26927        }
26928    }
26929
26930    pub fn clear_page_url(&mut self) {
26931        self.page_url = ::std::option::Option::None;
26932    }
26933
26934    pub fn has_page_url(&self) -> bool {
26935        self.page_url.is_some()
26936    }
26937
26938    // Param is passed by value, moved
26939    pub fn set_page_url(&mut self, v: ::std::string::String) {
26940        self.page_url = ::std::option::Option::Some(v);
26941    }
26942
26943    // Mutable pointer to the field.
26944    // If field is not initialized, it is initialized with default value first.
26945    pub fn mut_page_url(&mut self) -> &mut ::std::string::String {
26946        if self.page_url.is_none() {
26947            self.page_url = ::std::option::Option::Some(::std::string::String::new());
26948        }
26949        self.page_url.as_mut().unwrap()
26950    }
26951
26952    // Take field
26953    pub fn take_page_url(&mut self) -> ::std::string::String {
26954        self.page_url.take().unwrap_or_else(|| ::std::string::String::new())
26955    }
26956
26957    // optional int32 coord_x = 5;
26958
26959    pub fn coord_x(&self) -> i32 {
26960        self.coord_x.unwrap_or(0)
26961    }
26962
26963    pub fn clear_coord_x(&mut self) {
26964        self.coord_x = ::std::option::Option::None;
26965    }
26966
26967    pub fn has_coord_x(&self) -> bool {
26968        self.coord_x.is_some()
26969    }
26970
26971    // Param is passed by value, moved
26972    pub fn set_coord_x(&mut self, v: i32) {
26973        self.coord_x = ::std::option::Option::Some(v);
26974    }
26975
26976    // optional int32 coord_y = 6;
26977
26978    pub fn coord_y(&self) -> i32 {
26979        self.coord_y.unwrap_or(0)
26980    }
26981
26982    pub fn clear_coord_y(&mut self) {
26983        self.coord_y = ::std::option::Option::None;
26984    }
26985
26986    pub fn has_coord_y(&self) -> bool {
26987        self.coord_y.is_some()
26988    }
26989
26990    // Param is passed by value, moved
26991    pub fn set_coord_y(&mut self, v: i32) {
26992        self.coord_y = ::std::option::Option::Some(v);
26993    }
26994
26995    // optional string link_url = 7;
26996
26997    pub fn link_url(&self) -> &str {
26998        match self.link_url.as_ref() {
26999            Some(v) => v,
27000            None => "",
27001        }
27002    }
27003
27004    pub fn clear_link_url(&mut self) {
27005        self.link_url = ::std::option::Option::None;
27006    }
27007
27008    pub fn has_link_url(&self) -> bool {
27009        self.link_url.is_some()
27010    }
27011
27012    // Param is passed by value, moved
27013    pub fn set_link_url(&mut self, v: ::std::string::String) {
27014        self.link_url = ::std::option::Option::Some(v);
27015    }
27016
27017    // Mutable pointer to the field.
27018    // If field is not initialized, it is initialized with default value first.
27019    pub fn mut_link_url(&mut self) -> &mut ::std::string::String {
27020        if self.link_url.is_none() {
27021            self.link_url = ::std::option::Option::Some(::std::string::String::new());
27022        }
27023        self.link_url.as_mut().unwrap()
27024    }
27025
27026    // Take field
27027    pub fn take_link_url(&mut self) -> ::std::string::String {
27028        self.link_url.take().unwrap_or_else(|| ::std::string::String::new())
27029    }
27030
27031    // optional string unfiltered_link_url = 8;
27032
27033    pub fn unfiltered_link_url(&self) -> &str {
27034        match self.unfiltered_link_url.as_ref() {
27035            Some(v) => v,
27036            None => "",
27037        }
27038    }
27039
27040    pub fn clear_unfiltered_link_url(&mut self) {
27041        self.unfiltered_link_url = ::std::option::Option::None;
27042    }
27043
27044    pub fn has_unfiltered_link_url(&self) -> bool {
27045        self.unfiltered_link_url.is_some()
27046    }
27047
27048    // Param is passed by value, moved
27049    pub fn set_unfiltered_link_url(&mut self, v: ::std::string::String) {
27050        self.unfiltered_link_url = ::std::option::Option::Some(v);
27051    }
27052
27053    // Mutable pointer to the field.
27054    // If field is not initialized, it is initialized with default value first.
27055    pub fn mut_unfiltered_link_url(&mut self) -> &mut ::std::string::String {
27056        if self.unfiltered_link_url.is_none() {
27057            self.unfiltered_link_url = ::std::option::Option::Some(::std::string::String::new());
27058        }
27059        self.unfiltered_link_url.as_mut().unwrap()
27060    }
27061
27062    // Take field
27063    pub fn take_unfiltered_link_url(&mut self) -> ::std::string::String {
27064        self.unfiltered_link_url.take().unwrap_or_else(|| ::std::string::String::new())
27065    }
27066
27067    // optional string selection_text = 9;
27068
27069    pub fn selection_text(&self) -> &str {
27070        match self.selection_text.as_ref() {
27071            Some(v) => v,
27072            None => "",
27073        }
27074    }
27075
27076    pub fn clear_selection_text(&mut self) {
27077        self.selection_text = ::std::option::Option::None;
27078    }
27079
27080    pub fn has_selection_text(&self) -> bool {
27081        self.selection_text.is_some()
27082    }
27083
27084    // Param is passed by value, moved
27085    pub fn set_selection_text(&mut self, v: ::std::string::String) {
27086        self.selection_text = ::std::option::Option::Some(v);
27087    }
27088
27089    // Mutable pointer to the field.
27090    // If field is not initialized, it is initialized with default value first.
27091    pub fn mut_selection_text(&mut self) -> &mut ::std::string::String {
27092        if self.selection_text.is_none() {
27093            self.selection_text = ::std::option::Option::Some(::std::string::String::new());
27094        }
27095        self.selection_text.as_mut().unwrap()
27096    }
27097
27098    // Take field
27099    pub fn take_selection_text(&mut self) -> ::std::string::String {
27100        self.selection_text.take().unwrap_or_else(|| ::std::string::String::new())
27101    }
27102
27103    // optional string misspelled_word = 10;
27104
27105    pub fn misspelled_word(&self) -> &str {
27106        match self.misspelled_word.as_ref() {
27107            Some(v) => v,
27108            None => "",
27109        }
27110    }
27111
27112    pub fn clear_misspelled_word(&mut self) {
27113        self.misspelled_word = ::std::option::Option::None;
27114    }
27115
27116    pub fn has_misspelled_word(&self) -> bool {
27117        self.misspelled_word.is_some()
27118    }
27119
27120    // Param is passed by value, moved
27121    pub fn set_misspelled_word(&mut self, v: ::std::string::String) {
27122        self.misspelled_word = ::std::option::Option::Some(v);
27123    }
27124
27125    // Mutable pointer to the field.
27126    // If field is not initialized, it is initialized with default value first.
27127    pub fn mut_misspelled_word(&mut self) -> &mut ::std::string::String {
27128        if self.misspelled_word.is_none() {
27129            self.misspelled_word = ::std::option::Option::Some(::std::string::String::new());
27130        }
27131        self.misspelled_word.as_mut().unwrap()
27132    }
27133
27134    // Take field
27135    pub fn take_misspelled_word(&mut self) -> ::std::string::String {
27136        self.misspelled_word.take().unwrap_or_else(|| ::std::string::String::new())
27137    }
27138
27139    // optional uint32 edit_state_flags = 11;
27140
27141    pub fn edit_state_flags(&self) -> u32 {
27142        self.edit_state_flags.unwrap_or(0)
27143    }
27144
27145    pub fn clear_edit_state_flags(&mut self) {
27146        self.edit_state_flags = ::std::option::Option::None;
27147    }
27148
27149    pub fn has_edit_state_flags(&self) -> bool {
27150        self.edit_state_flags.is_some()
27151    }
27152
27153    // Param is passed by value, moved
27154    pub fn set_edit_state_flags(&mut self, v: u32) {
27155        self.edit_state_flags = ::std::option::Option::Some(v);
27156    }
27157}
27158
27159impl ::steam_vent_proto_common::protobuf::Message for CMsgShowBrowserContextMenu {
27160    const NAME: &'static str = "CMsgShowBrowserContextMenu";
27161
27162    fn is_initialized(&self) -> bool {
27163        true
27164    }
27165
27166    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
27167        while let Some(tag) = is.read_raw_tag_or_eof()? {
27168            match tag {
27169                8 => {
27170                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
27171                },
27172                18 => {
27173                    self.custom_commands.push(is.read_message()?);
27174                },
27175                24 => {
27176                    self.type_flags = ::std::option::Option::Some(is.read_uint32()?);
27177                },
27178                34 => {
27179                    self.page_url = ::std::option::Option::Some(is.read_string()?);
27180                },
27181                40 => {
27182                    self.coord_x = ::std::option::Option::Some(is.read_int32()?);
27183                },
27184                48 => {
27185                    self.coord_y = ::std::option::Option::Some(is.read_int32()?);
27186                },
27187                58 => {
27188                    self.link_url = ::std::option::Option::Some(is.read_string()?);
27189                },
27190                66 => {
27191                    self.unfiltered_link_url = ::std::option::Option::Some(is.read_string()?);
27192                },
27193                74 => {
27194                    self.selection_text = ::std::option::Option::Some(is.read_string()?);
27195                },
27196                82 => {
27197                    self.misspelled_word = ::std::option::Option::Some(is.read_string()?);
27198                },
27199                88 => {
27200                    self.edit_state_flags = ::std::option::Option::Some(is.read_uint32()?);
27201                },
27202                tag => {
27203                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
27204                },
27205            };
27206        }
27207        ::std::result::Result::Ok(())
27208    }
27209
27210    // Compute sizes of nested messages
27211    #[allow(unused_variables)]
27212    fn compute_size(&self) -> u64 {
27213        let mut my_size = 0;
27214        if let Some(v) = self.browser_handle {
27215            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
27216        }
27217        for value in &self.custom_commands {
27218            let len = value.compute_size();
27219            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
27220        };
27221        if let Some(v) = self.type_flags {
27222            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
27223        }
27224        if let Some(v) = self.page_url.as_ref() {
27225            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
27226        }
27227        if let Some(v) = self.coord_x {
27228            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v);
27229        }
27230        if let Some(v) = self.coord_y {
27231            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v);
27232        }
27233        if let Some(v) = self.link_url.as_ref() {
27234            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
27235        }
27236        if let Some(v) = self.unfiltered_link_url.as_ref() {
27237            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
27238        }
27239        if let Some(v) = self.selection_text.as_ref() {
27240            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(9, &v);
27241        }
27242        if let Some(v) = self.misspelled_word.as_ref() {
27243            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(10, &v);
27244        }
27245        if let Some(v) = self.edit_state_flags {
27246            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(11, v);
27247        }
27248        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
27249        self.special_fields.cached_size().set(my_size as u32);
27250        my_size
27251    }
27252
27253    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
27254        if let Some(v) = self.browser_handle {
27255            os.write_uint32(1, v)?;
27256        }
27257        for v in &self.custom_commands {
27258            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
27259        };
27260        if let Some(v) = self.type_flags {
27261            os.write_uint32(3, v)?;
27262        }
27263        if let Some(v) = self.page_url.as_ref() {
27264            os.write_string(4, v)?;
27265        }
27266        if let Some(v) = self.coord_x {
27267            os.write_int32(5, v)?;
27268        }
27269        if let Some(v) = self.coord_y {
27270            os.write_int32(6, v)?;
27271        }
27272        if let Some(v) = self.link_url.as_ref() {
27273            os.write_string(7, v)?;
27274        }
27275        if let Some(v) = self.unfiltered_link_url.as_ref() {
27276            os.write_string(8, v)?;
27277        }
27278        if let Some(v) = self.selection_text.as_ref() {
27279            os.write_string(9, v)?;
27280        }
27281        if let Some(v) = self.misspelled_word.as_ref() {
27282            os.write_string(10, v)?;
27283        }
27284        if let Some(v) = self.edit_state_flags {
27285            os.write_uint32(11, v)?;
27286        }
27287        os.write_unknown_fields(self.special_fields.unknown_fields())?;
27288        ::std::result::Result::Ok(())
27289    }
27290
27291    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
27292        &self.special_fields
27293    }
27294
27295    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
27296        &mut self.special_fields
27297    }
27298
27299    fn new() -> CMsgShowBrowserContextMenu {
27300        CMsgShowBrowserContextMenu::new()
27301    }
27302
27303    fn clear(&mut self) {
27304        self.browser_handle = ::std::option::Option::None;
27305        self.custom_commands.clear();
27306        self.type_flags = ::std::option::Option::None;
27307        self.page_url = ::std::option::Option::None;
27308        self.coord_x = ::std::option::Option::None;
27309        self.coord_y = ::std::option::Option::None;
27310        self.link_url = ::std::option::Option::None;
27311        self.unfiltered_link_url = ::std::option::Option::None;
27312        self.selection_text = ::std::option::Option::None;
27313        self.misspelled_word = ::std::option::Option::None;
27314        self.edit_state_flags = ::std::option::Option::None;
27315        self.special_fields.clear();
27316    }
27317
27318    fn default_instance() -> &'static CMsgShowBrowserContextMenu {
27319        static instance: CMsgShowBrowserContextMenu = CMsgShowBrowserContextMenu {
27320            browser_handle: ::std::option::Option::None,
27321            custom_commands: ::std::vec::Vec::new(),
27322            type_flags: ::std::option::Option::None,
27323            page_url: ::std::option::Option::None,
27324            coord_x: ::std::option::Option::None,
27325            coord_y: ::std::option::Option::None,
27326            link_url: ::std::option::Option::None,
27327            unfiltered_link_url: ::std::option::Option::None,
27328            selection_text: ::std::option::Option::None,
27329            misspelled_word: ::std::option::Option::None,
27330            edit_state_flags: ::std::option::Option::None,
27331            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
27332        };
27333        &instance
27334    }
27335}
27336
27337/// Nested message and enums of message `CMsgShowBrowserContextMenu`
27338pub mod cmsg_show_browser_context_menu {
27339    // @@protoc_insertion_point(message:CMsgShowBrowserContextMenu.ContextCommand)
27340    #[derive(PartialEq,Clone,Default,Debug)]
27341    pub struct ContextCommand {
27342        // message fields
27343        // @@protoc_insertion_point(field:CMsgShowBrowserContextMenu.ContextCommand.id)
27344        pub id: ::std::option::Option<i32>,
27345        // @@protoc_insertion_point(field:CMsgShowBrowserContextMenu.ContextCommand.label)
27346        pub label: ::std::option::Option<::std::string::String>,
27347        // special fields
27348        // @@protoc_insertion_point(special_field:CMsgShowBrowserContextMenu.ContextCommand.special_fields)
27349        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
27350    }
27351
27352    impl<'a> ::std::default::Default for &'a ContextCommand {
27353        fn default() -> &'a ContextCommand {
27354            <ContextCommand as ::steam_vent_proto_common::protobuf::Message>::default_instance()
27355        }
27356    }
27357
27358    impl ContextCommand {
27359        pub fn new() -> ContextCommand {
27360            ::std::default::Default::default()
27361        }
27362
27363        // optional int32 id = 1;
27364
27365        pub fn id(&self) -> i32 {
27366            self.id.unwrap_or(0)
27367        }
27368
27369        pub fn clear_id(&mut self) {
27370            self.id = ::std::option::Option::None;
27371        }
27372
27373        pub fn has_id(&self) -> bool {
27374            self.id.is_some()
27375        }
27376
27377        // Param is passed by value, moved
27378        pub fn set_id(&mut self, v: i32) {
27379            self.id = ::std::option::Option::Some(v);
27380        }
27381
27382        // optional string label = 2;
27383
27384        pub fn label(&self) -> &str {
27385            match self.label.as_ref() {
27386                Some(v) => v,
27387                None => "",
27388            }
27389        }
27390
27391        pub fn clear_label(&mut self) {
27392            self.label = ::std::option::Option::None;
27393        }
27394
27395        pub fn has_label(&self) -> bool {
27396            self.label.is_some()
27397        }
27398
27399        // Param is passed by value, moved
27400        pub fn set_label(&mut self, v: ::std::string::String) {
27401            self.label = ::std::option::Option::Some(v);
27402        }
27403
27404        // Mutable pointer to the field.
27405        // If field is not initialized, it is initialized with default value first.
27406        pub fn mut_label(&mut self) -> &mut ::std::string::String {
27407            if self.label.is_none() {
27408                self.label = ::std::option::Option::Some(::std::string::String::new());
27409            }
27410            self.label.as_mut().unwrap()
27411        }
27412
27413        // Take field
27414        pub fn take_label(&mut self) -> ::std::string::String {
27415            self.label.take().unwrap_or_else(|| ::std::string::String::new())
27416        }
27417    }
27418
27419    impl ::steam_vent_proto_common::protobuf::Message for ContextCommand {
27420        const NAME: &'static str = "ContextCommand";
27421
27422        fn is_initialized(&self) -> bool {
27423            true
27424        }
27425
27426        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
27427            while let Some(tag) = is.read_raw_tag_or_eof()? {
27428                match tag {
27429                    8 => {
27430                        self.id = ::std::option::Option::Some(is.read_int32()?);
27431                    },
27432                    18 => {
27433                        self.label = ::std::option::Option::Some(is.read_string()?);
27434                    },
27435                    tag => {
27436                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
27437                    },
27438                };
27439            }
27440            ::std::result::Result::Ok(())
27441        }
27442
27443        // Compute sizes of nested messages
27444        #[allow(unused_variables)]
27445        fn compute_size(&self) -> u64 {
27446            let mut my_size = 0;
27447            if let Some(v) = self.id {
27448                my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
27449            }
27450            if let Some(v) = self.label.as_ref() {
27451                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
27452            }
27453            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
27454            self.special_fields.cached_size().set(my_size as u32);
27455            my_size
27456        }
27457
27458        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
27459            if let Some(v) = self.id {
27460                os.write_int32(1, v)?;
27461            }
27462            if let Some(v) = self.label.as_ref() {
27463                os.write_string(2, v)?;
27464            }
27465            os.write_unknown_fields(self.special_fields.unknown_fields())?;
27466            ::std::result::Result::Ok(())
27467        }
27468
27469        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
27470            &self.special_fields
27471        }
27472
27473        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
27474            &mut self.special_fields
27475        }
27476
27477        fn new() -> ContextCommand {
27478            ContextCommand::new()
27479        }
27480
27481        fn clear(&mut self) {
27482            self.id = ::std::option::Option::None;
27483            self.label = ::std::option::Option::None;
27484            self.special_fields.clear();
27485        }
27486
27487        fn default_instance() -> &'static ContextCommand {
27488            static instance: ContextCommand = ContextCommand {
27489                id: ::std::option::Option::None,
27490                label: ::std::option::Option::None,
27491                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
27492            };
27493            &instance
27494        }
27495    }
27496}
27497
27498// @@protoc_insertion_point(message:CMsgHandleContextMenuCommand)
27499#[derive(PartialEq,Clone,Default,Debug)]
27500pub struct CMsgHandleContextMenuCommand {
27501    // message fields
27502    // @@protoc_insertion_point(field:CMsgHandleContextMenuCommand.browser_handle)
27503    pub browser_handle: ::std::option::Option<u32>,
27504    // @@protoc_insertion_point(field:CMsgHandleContextMenuCommand.command_id)
27505    pub command_id: ::std::option::Option<i32>,
27506    // special fields
27507    // @@protoc_insertion_point(special_field:CMsgHandleContextMenuCommand.special_fields)
27508    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
27509}
27510
27511impl<'a> ::std::default::Default for &'a CMsgHandleContextMenuCommand {
27512    fn default() -> &'a CMsgHandleContextMenuCommand {
27513        <CMsgHandleContextMenuCommand as ::steam_vent_proto_common::protobuf::Message>::default_instance()
27514    }
27515}
27516
27517impl CMsgHandleContextMenuCommand {
27518    pub fn new() -> CMsgHandleContextMenuCommand {
27519        ::std::default::Default::default()
27520    }
27521
27522    // optional uint32 browser_handle = 1;
27523
27524    pub fn browser_handle(&self) -> u32 {
27525        self.browser_handle.unwrap_or(0)
27526    }
27527
27528    pub fn clear_browser_handle(&mut self) {
27529        self.browser_handle = ::std::option::Option::None;
27530    }
27531
27532    pub fn has_browser_handle(&self) -> bool {
27533        self.browser_handle.is_some()
27534    }
27535
27536    // Param is passed by value, moved
27537    pub fn set_browser_handle(&mut self, v: u32) {
27538        self.browser_handle = ::std::option::Option::Some(v);
27539    }
27540
27541    // optional int32 command_id = 2;
27542
27543    pub fn command_id(&self) -> i32 {
27544        self.command_id.unwrap_or(0)
27545    }
27546
27547    pub fn clear_command_id(&mut self) {
27548        self.command_id = ::std::option::Option::None;
27549    }
27550
27551    pub fn has_command_id(&self) -> bool {
27552        self.command_id.is_some()
27553    }
27554
27555    // Param is passed by value, moved
27556    pub fn set_command_id(&mut self, v: i32) {
27557        self.command_id = ::std::option::Option::Some(v);
27558    }
27559}
27560
27561impl ::steam_vent_proto_common::protobuf::Message for CMsgHandleContextMenuCommand {
27562    const NAME: &'static str = "CMsgHandleContextMenuCommand";
27563
27564    fn is_initialized(&self) -> bool {
27565        true
27566    }
27567
27568    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
27569        while let Some(tag) = is.read_raw_tag_or_eof()? {
27570            match tag {
27571                8 => {
27572                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
27573                },
27574                16 => {
27575                    self.command_id = ::std::option::Option::Some(is.read_int32()?);
27576                },
27577                tag => {
27578                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
27579                },
27580            };
27581        }
27582        ::std::result::Result::Ok(())
27583    }
27584
27585    // Compute sizes of nested messages
27586    #[allow(unused_variables)]
27587    fn compute_size(&self) -> u64 {
27588        let mut my_size = 0;
27589        if let Some(v) = self.browser_handle {
27590            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
27591        }
27592        if let Some(v) = self.command_id {
27593            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
27594        }
27595        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
27596        self.special_fields.cached_size().set(my_size as u32);
27597        my_size
27598    }
27599
27600    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
27601        if let Some(v) = self.browser_handle {
27602            os.write_uint32(1, v)?;
27603        }
27604        if let Some(v) = self.command_id {
27605            os.write_int32(2, v)?;
27606        }
27607        os.write_unknown_fields(self.special_fields.unknown_fields())?;
27608        ::std::result::Result::Ok(())
27609    }
27610
27611    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
27612        &self.special_fields
27613    }
27614
27615    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
27616        &mut self.special_fields
27617    }
27618
27619    fn new() -> CMsgHandleContextMenuCommand {
27620        CMsgHandleContextMenuCommand::new()
27621    }
27622
27623    fn clear(&mut self) {
27624        self.browser_handle = ::std::option::Option::None;
27625        self.command_id = ::std::option::Option::None;
27626        self.special_fields.clear();
27627    }
27628
27629    fn default_instance() -> &'static CMsgHandleContextMenuCommand {
27630        static instance: CMsgHandleContextMenuCommand = CMsgHandleContextMenuCommand {
27631            browser_handle: ::std::option::Option::None,
27632            command_id: ::std::option::Option::None,
27633            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
27634        };
27635        &instance
27636    }
27637}
27638
27639// @@protoc_insertion_point(message:CMsgTouchGesture)
27640#[derive(PartialEq,Clone,Default,Debug)]
27641pub struct CMsgTouchGesture {
27642    // message fields
27643    // @@protoc_insertion_point(field:CMsgTouchGesture.browser_handle)
27644    pub browser_handle: ::std::option::Option<u32>,
27645    // @@protoc_insertion_point(field:CMsgTouchGesture.id)
27646    pub id: ::std::option::Option<i32>,
27647    // @@protoc_insertion_point(field:CMsgTouchGesture.gesture)
27648    pub gesture: ::std::option::Option<u32>,
27649    // @@protoc_insertion_point(field:CMsgTouchGesture.x)
27650    pub x: ::std::option::Option<f64>,
27651    // @@protoc_insertion_point(field:CMsgTouchGesture.y)
27652    pub y: ::std::option::Option<f64>,
27653    // @@protoc_insertion_point(field:CMsgTouchGesture.width)
27654    pub width: ::std::option::Option<f64>,
27655    // @@protoc_insertion_point(field:CMsgTouchGesture.height)
27656    pub height: ::std::option::Option<f64>,
27657    // @@protoc_insertion_point(field:CMsgTouchGesture.tap_count)
27658    pub tap_count: ::std::option::Option<u32>,
27659    // @@protoc_insertion_point(field:CMsgTouchGesture.pinch_scale)
27660    pub pinch_scale: ::std::option::Option<f64>,
27661    // special fields
27662    // @@protoc_insertion_point(special_field:CMsgTouchGesture.special_fields)
27663    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
27664}
27665
27666impl<'a> ::std::default::Default for &'a CMsgTouchGesture {
27667    fn default() -> &'a CMsgTouchGesture {
27668        <CMsgTouchGesture as ::steam_vent_proto_common::protobuf::Message>::default_instance()
27669    }
27670}
27671
27672impl CMsgTouchGesture {
27673    pub fn new() -> CMsgTouchGesture {
27674        ::std::default::Default::default()
27675    }
27676
27677    // optional uint32 browser_handle = 1;
27678
27679    pub fn browser_handle(&self) -> u32 {
27680        self.browser_handle.unwrap_or(0)
27681    }
27682
27683    pub fn clear_browser_handle(&mut self) {
27684        self.browser_handle = ::std::option::Option::None;
27685    }
27686
27687    pub fn has_browser_handle(&self) -> bool {
27688        self.browser_handle.is_some()
27689    }
27690
27691    // Param is passed by value, moved
27692    pub fn set_browser_handle(&mut self, v: u32) {
27693        self.browser_handle = ::std::option::Option::Some(v);
27694    }
27695
27696    // optional int32 id = 2;
27697
27698    pub fn id(&self) -> i32 {
27699        self.id.unwrap_or(0)
27700    }
27701
27702    pub fn clear_id(&mut self) {
27703        self.id = ::std::option::Option::None;
27704    }
27705
27706    pub fn has_id(&self) -> bool {
27707        self.id.is_some()
27708    }
27709
27710    // Param is passed by value, moved
27711    pub fn set_id(&mut self, v: i32) {
27712        self.id = ::std::option::Option::Some(v);
27713    }
27714
27715    // optional uint32 gesture = 3;
27716
27717    pub fn gesture(&self) -> u32 {
27718        self.gesture.unwrap_or(0)
27719    }
27720
27721    pub fn clear_gesture(&mut self) {
27722        self.gesture = ::std::option::Option::None;
27723    }
27724
27725    pub fn has_gesture(&self) -> bool {
27726        self.gesture.is_some()
27727    }
27728
27729    // Param is passed by value, moved
27730    pub fn set_gesture(&mut self, v: u32) {
27731        self.gesture = ::std::option::Option::Some(v);
27732    }
27733
27734    // optional double x = 4;
27735
27736    pub fn x(&self) -> f64 {
27737        self.x.unwrap_or(0.)
27738    }
27739
27740    pub fn clear_x(&mut self) {
27741        self.x = ::std::option::Option::None;
27742    }
27743
27744    pub fn has_x(&self) -> bool {
27745        self.x.is_some()
27746    }
27747
27748    // Param is passed by value, moved
27749    pub fn set_x(&mut self, v: f64) {
27750        self.x = ::std::option::Option::Some(v);
27751    }
27752
27753    // optional double y = 5;
27754
27755    pub fn y(&self) -> f64 {
27756        self.y.unwrap_or(0.)
27757    }
27758
27759    pub fn clear_y(&mut self) {
27760        self.y = ::std::option::Option::None;
27761    }
27762
27763    pub fn has_y(&self) -> bool {
27764        self.y.is_some()
27765    }
27766
27767    // Param is passed by value, moved
27768    pub fn set_y(&mut self, v: f64) {
27769        self.y = ::std::option::Option::Some(v);
27770    }
27771
27772    // optional double width = 6;
27773
27774    pub fn width(&self) -> f64 {
27775        self.width.unwrap_or(0.)
27776    }
27777
27778    pub fn clear_width(&mut self) {
27779        self.width = ::std::option::Option::None;
27780    }
27781
27782    pub fn has_width(&self) -> bool {
27783        self.width.is_some()
27784    }
27785
27786    // Param is passed by value, moved
27787    pub fn set_width(&mut self, v: f64) {
27788        self.width = ::std::option::Option::Some(v);
27789    }
27790
27791    // optional double height = 7;
27792
27793    pub fn height(&self) -> f64 {
27794        self.height.unwrap_or(0.)
27795    }
27796
27797    pub fn clear_height(&mut self) {
27798        self.height = ::std::option::Option::None;
27799    }
27800
27801    pub fn has_height(&self) -> bool {
27802        self.height.is_some()
27803    }
27804
27805    // Param is passed by value, moved
27806    pub fn set_height(&mut self, v: f64) {
27807        self.height = ::std::option::Option::Some(v);
27808    }
27809
27810    // optional uint32 tap_count = 8;
27811
27812    pub fn tap_count(&self) -> u32 {
27813        self.tap_count.unwrap_or(0)
27814    }
27815
27816    pub fn clear_tap_count(&mut self) {
27817        self.tap_count = ::std::option::Option::None;
27818    }
27819
27820    pub fn has_tap_count(&self) -> bool {
27821        self.tap_count.is_some()
27822    }
27823
27824    // Param is passed by value, moved
27825    pub fn set_tap_count(&mut self, v: u32) {
27826        self.tap_count = ::std::option::Option::Some(v);
27827    }
27828
27829    // optional double pinch_scale = 9;
27830
27831    pub fn pinch_scale(&self) -> f64 {
27832        self.pinch_scale.unwrap_or(0.)
27833    }
27834
27835    pub fn clear_pinch_scale(&mut self) {
27836        self.pinch_scale = ::std::option::Option::None;
27837    }
27838
27839    pub fn has_pinch_scale(&self) -> bool {
27840        self.pinch_scale.is_some()
27841    }
27842
27843    // Param is passed by value, moved
27844    pub fn set_pinch_scale(&mut self, v: f64) {
27845        self.pinch_scale = ::std::option::Option::Some(v);
27846    }
27847}
27848
27849impl ::steam_vent_proto_common::protobuf::Message for CMsgTouchGesture {
27850    const NAME: &'static str = "CMsgTouchGesture";
27851
27852    fn is_initialized(&self) -> bool {
27853        true
27854    }
27855
27856    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
27857        while let Some(tag) = is.read_raw_tag_or_eof()? {
27858            match tag {
27859                8 => {
27860                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
27861                },
27862                16 => {
27863                    self.id = ::std::option::Option::Some(is.read_int32()?);
27864                },
27865                24 => {
27866                    self.gesture = ::std::option::Option::Some(is.read_uint32()?);
27867                },
27868                33 => {
27869                    self.x = ::std::option::Option::Some(is.read_double()?);
27870                },
27871                41 => {
27872                    self.y = ::std::option::Option::Some(is.read_double()?);
27873                },
27874                49 => {
27875                    self.width = ::std::option::Option::Some(is.read_double()?);
27876                },
27877                57 => {
27878                    self.height = ::std::option::Option::Some(is.read_double()?);
27879                },
27880                64 => {
27881                    self.tap_count = ::std::option::Option::Some(is.read_uint32()?);
27882                },
27883                73 => {
27884                    self.pinch_scale = ::std::option::Option::Some(is.read_double()?);
27885                },
27886                tag => {
27887                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
27888                },
27889            };
27890        }
27891        ::std::result::Result::Ok(())
27892    }
27893
27894    // Compute sizes of nested messages
27895    #[allow(unused_variables)]
27896    fn compute_size(&self) -> u64 {
27897        let mut my_size = 0;
27898        if let Some(v) = self.browser_handle {
27899            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
27900        }
27901        if let Some(v) = self.id {
27902            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
27903        }
27904        if let Some(v) = self.gesture {
27905            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
27906        }
27907        if let Some(v) = self.x {
27908            my_size += 1 + 8;
27909        }
27910        if let Some(v) = self.y {
27911            my_size += 1 + 8;
27912        }
27913        if let Some(v) = self.width {
27914            my_size += 1 + 8;
27915        }
27916        if let Some(v) = self.height {
27917            my_size += 1 + 8;
27918        }
27919        if let Some(v) = self.tap_count {
27920            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(8, v);
27921        }
27922        if let Some(v) = self.pinch_scale {
27923            my_size += 1 + 8;
27924        }
27925        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
27926        self.special_fields.cached_size().set(my_size as u32);
27927        my_size
27928    }
27929
27930    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
27931        if let Some(v) = self.browser_handle {
27932            os.write_uint32(1, v)?;
27933        }
27934        if let Some(v) = self.id {
27935            os.write_int32(2, v)?;
27936        }
27937        if let Some(v) = self.gesture {
27938            os.write_uint32(3, v)?;
27939        }
27940        if let Some(v) = self.x {
27941            os.write_double(4, v)?;
27942        }
27943        if let Some(v) = self.y {
27944            os.write_double(5, v)?;
27945        }
27946        if let Some(v) = self.width {
27947            os.write_double(6, v)?;
27948        }
27949        if let Some(v) = self.height {
27950            os.write_double(7, v)?;
27951        }
27952        if let Some(v) = self.tap_count {
27953            os.write_uint32(8, v)?;
27954        }
27955        if let Some(v) = self.pinch_scale {
27956            os.write_double(9, v)?;
27957        }
27958        os.write_unknown_fields(self.special_fields.unknown_fields())?;
27959        ::std::result::Result::Ok(())
27960    }
27961
27962    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
27963        &self.special_fields
27964    }
27965
27966    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
27967        &mut self.special_fields
27968    }
27969
27970    fn new() -> CMsgTouchGesture {
27971        CMsgTouchGesture::new()
27972    }
27973
27974    fn clear(&mut self) {
27975        self.browser_handle = ::std::option::Option::None;
27976        self.id = ::std::option::Option::None;
27977        self.gesture = ::std::option::Option::None;
27978        self.x = ::std::option::Option::None;
27979        self.y = ::std::option::Option::None;
27980        self.width = ::std::option::Option::None;
27981        self.height = ::std::option::Option::None;
27982        self.tap_count = ::std::option::Option::None;
27983        self.pinch_scale = ::std::option::Option::None;
27984        self.special_fields.clear();
27985    }
27986
27987    fn default_instance() -> &'static CMsgTouchGesture {
27988        static instance: CMsgTouchGesture = CMsgTouchGesture {
27989            browser_handle: ::std::option::Option::None,
27990            id: ::std::option::Option::None,
27991            gesture: ::std::option::Option::None,
27992            x: ::std::option::Option::None,
27993            y: ::std::option::Option::None,
27994            width: ::std::option::Option::None,
27995            height: ::std::option::Option::None,
27996            tap_count: ::std::option::Option::None,
27997            pinch_scale: ::std::option::Option::None,
27998            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
27999        };
28000        &instance
28001    }
28002}
28003
28004// @@protoc_insertion_point(message:CMsgSetTouchGesturesToCancel)
28005#[derive(PartialEq,Clone,Default,Debug)]
28006pub struct CMsgSetTouchGesturesToCancel {
28007    // message fields
28008    // @@protoc_insertion_point(field:CMsgSetTouchGesturesToCancel.browser_handle)
28009    pub browser_handle: ::std::option::Option<u32>,
28010    // @@protoc_insertion_point(field:CMsgSetTouchGesturesToCancel.gestures)
28011    pub gestures: ::std::vec::Vec<u32>,
28012    // special fields
28013    // @@protoc_insertion_point(special_field:CMsgSetTouchGesturesToCancel.special_fields)
28014    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
28015}
28016
28017impl<'a> ::std::default::Default for &'a CMsgSetTouchGesturesToCancel {
28018    fn default() -> &'a CMsgSetTouchGesturesToCancel {
28019        <CMsgSetTouchGesturesToCancel as ::steam_vent_proto_common::protobuf::Message>::default_instance()
28020    }
28021}
28022
28023impl CMsgSetTouchGesturesToCancel {
28024    pub fn new() -> CMsgSetTouchGesturesToCancel {
28025        ::std::default::Default::default()
28026    }
28027
28028    // optional uint32 browser_handle = 1;
28029
28030    pub fn browser_handle(&self) -> u32 {
28031        self.browser_handle.unwrap_or(0)
28032    }
28033
28034    pub fn clear_browser_handle(&mut self) {
28035        self.browser_handle = ::std::option::Option::None;
28036    }
28037
28038    pub fn has_browser_handle(&self) -> bool {
28039        self.browser_handle.is_some()
28040    }
28041
28042    // Param is passed by value, moved
28043    pub fn set_browser_handle(&mut self, v: u32) {
28044        self.browser_handle = ::std::option::Option::Some(v);
28045    }
28046}
28047
28048impl ::steam_vent_proto_common::protobuf::Message for CMsgSetTouchGesturesToCancel {
28049    const NAME: &'static str = "CMsgSetTouchGesturesToCancel";
28050
28051    fn is_initialized(&self) -> bool {
28052        true
28053    }
28054
28055    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
28056        while let Some(tag) = is.read_raw_tag_or_eof()? {
28057            match tag {
28058                8 => {
28059                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
28060                },
28061                18 => {
28062                    is.read_repeated_packed_uint32_into(&mut self.gestures)?;
28063                },
28064                16 => {
28065                    self.gestures.push(is.read_uint32()?);
28066                },
28067                tag => {
28068                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
28069                },
28070            };
28071        }
28072        ::std::result::Result::Ok(())
28073    }
28074
28075    // Compute sizes of nested messages
28076    #[allow(unused_variables)]
28077    fn compute_size(&self) -> u64 {
28078        let mut my_size = 0;
28079        if let Some(v) = self.browser_handle {
28080            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
28081        }
28082        for value in &self.gestures {
28083            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, *value);
28084        };
28085        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
28086        self.special_fields.cached_size().set(my_size as u32);
28087        my_size
28088    }
28089
28090    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
28091        if let Some(v) = self.browser_handle {
28092            os.write_uint32(1, v)?;
28093        }
28094        for v in &self.gestures {
28095            os.write_uint32(2, *v)?;
28096        };
28097        os.write_unknown_fields(self.special_fields.unknown_fields())?;
28098        ::std::result::Result::Ok(())
28099    }
28100
28101    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
28102        &self.special_fields
28103    }
28104
28105    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
28106        &mut self.special_fields
28107    }
28108
28109    fn new() -> CMsgSetTouchGesturesToCancel {
28110        CMsgSetTouchGesturesToCancel::new()
28111    }
28112
28113    fn clear(&mut self) {
28114        self.browser_handle = ::std::option::Option::None;
28115        self.gestures.clear();
28116        self.special_fields.clear();
28117    }
28118
28119    fn default_instance() -> &'static CMsgSetTouchGesturesToCancel {
28120        static instance: CMsgSetTouchGesturesToCancel = CMsgSetTouchGesturesToCancel {
28121            browser_handle: ::std::option::Option::None,
28122            gestures: ::std::vec::Vec::new(),
28123            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
28124        };
28125        &instance
28126    }
28127}
28128
28129// @@protoc_insertion_point(message:CMsgImeSetComposition)
28130#[derive(PartialEq,Clone,Default,Debug)]
28131pub struct CMsgImeSetComposition {
28132    // message fields
28133    // @@protoc_insertion_point(field:CMsgImeSetComposition.browser_handle)
28134    pub browser_handle: ::std::option::Option<u32>,
28135    // @@protoc_insertion_point(field:CMsgImeSetComposition.text)
28136    pub text: ::std::option::Option<::std::string::String>,
28137    // special fields
28138    // @@protoc_insertion_point(special_field:CMsgImeSetComposition.special_fields)
28139    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
28140}
28141
28142impl<'a> ::std::default::Default for &'a CMsgImeSetComposition {
28143    fn default() -> &'a CMsgImeSetComposition {
28144        <CMsgImeSetComposition as ::steam_vent_proto_common::protobuf::Message>::default_instance()
28145    }
28146}
28147
28148impl CMsgImeSetComposition {
28149    pub fn new() -> CMsgImeSetComposition {
28150        ::std::default::Default::default()
28151    }
28152
28153    // optional uint32 browser_handle = 1;
28154
28155    pub fn browser_handle(&self) -> u32 {
28156        self.browser_handle.unwrap_or(0)
28157    }
28158
28159    pub fn clear_browser_handle(&mut self) {
28160        self.browser_handle = ::std::option::Option::None;
28161    }
28162
28163    pub fn has_browser_handle(&self) -> bool {
28164        self.browser_handle.is_some()
28165    }
28166
28167    // Param is passed by value, moved
28168    pub fn set_browser_handle(&mut self, v: u32) {
28169        self.browser_handle = ::std::option::Option::Some(v);
28170    }
28171
28172    // optional string text = 2;
28173
28174    pub fn text(&self) -> &str {
28175        match self.text.as_ref() {
28176            Some(v) => v,
28177            None => "",
28178        }
28179    }
28180
28181    pub fn clear_text(&mut self) {
28182        self.text = ::std::option::Option::None;
28183    }
28184
28185    pub fn has_text(&self) -> bool {
28186        self.text.is_some()
28187    }
28188
28189    // Param is passed by value, moved
28190    pub fn set_text(&mut self, v: ::std::string::String) {
28191        self.text = ::std::option::Option::Some(v);
28192    }
28193
28194    // Mutable pointer to the field.
28195    // If field is not initialized, it is initialized with default value first.
28196    pub fn mut_text(&mut self) -> &mut ::std::string::String {
28197        if self.text.is_none() {
28198            self.text = ::std::option::Option::Some(::std::string::String::new());
28199        }
28200        self.text.as_mut().unwrap()
28201    }
28202
28203    // Take field
28204    pub fn take_text(&mut self) -> ::std::string::String {
28205        self.text.take().unwrap_or_else(|| ::std::string::String::new())
28206    }
28207}
28208
28209impl ::steam_vent_proto_common::protobuf::Message for CMsgImeSetComposition {
28210    const NAME: &'static str = "CMsgImeSetComposition";
28211
28212    fn is_initialized(&self) -> bool {
28213        true
28214    }
28215
28216    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
28217        while let Some(tag) = is.read_raw_tag_or_eof()? {
28218            match tag {
28219                8 => {
28220                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
28221                },
28222                18 => {
28223                    self.text = ::std::option::Option::Some(is.read_string()?);
28224                },
28225                tag => {
28226                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
28227                },
28228            };
28229        }
28230        ::std::result::Result::Ok(())
28231    }
28232
28233    // Compute sizes of nested messages
28234    #[allow(unused_variables)]
28235    fn compute_size(&self) -> u64 {
28236        let mut my_size = 0;
28237        if let Some(v) = self.browser_handle {
28238            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
28239        }
28240        if let Some(v) = self.text.as_ref() {
28241            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
28242        }
28243        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
28244        self.special_fields.cached_size().set(my_size as u32);
28245        my_size
28246    }
28247
28248    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
28249        if let Some(v) = self.browser_handle {
28250            os.write_uint32(1, v)?;
28251        }
28252        if let Some(v) = self.text.as_ref() {
28253            os.write_string(2, v)?;
28254        }
28255        os.write_unknown_fields(self.special_fields.unknown_fields())?;
28256        ::std::result::Result::Ok(())
28257    }
28258
28259    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
28260        &self.special_fields
28261    }
28262
28263    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
28264        &mut self.special_fields
28265    }
28266
28267    fn new() -> CMsgImeSetComposition {
28268        CMsgImeSetComposition::new()
28269    }
28270
28271    fn clear(&mut self) {
28272        self.browser_handle = ::std::option::Option::None;
28273        self.text = ::std::option::Option::None;
28274        self.special_fields.clear();
28275    }
28276
28277    fn default_instance() -> &'static CMsgImeSetComposition {
28278        static instance: CMsgImeSetComposition = CMsgImeSetComposition {
28279            browser_handle: ::std::option::Option::None,
28280            text: ::std::option::Option::None,
28281            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
28282        };
28283        &instance
28284    }
28285}
28286
28287// @@protoc_insertion_point(message:CMsgImeCommitText)
28288#[derive(PartialEq,Clone,Default,Debug)]
28289pub struct CMsgImeCommitText {
28290    // message fields
28291    // @@protoc_insertion_point(field:CMsgImeCommitText.browser_handle)
28292    pub browser_handle: ::std::option::Option<u32>,
28293    // @@protoc_insertion_point(field:CMsgImeCommitText.text)
28294    pub text: ::std::option::Option<::std::string::String>,
28295    // special fields
28296    // @@protoc_insertion_point(special_field:CMsgImeCommitText.special_fields)
28297    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
28298}
28299
28300impl<'a> ::std::default::Default for &'a CMsgImeCommitText {
28301    fn default() -> &'a CMsgImeCommitText {
28302        <CMsgImeCommitText as ::steam_vent_proto_common::protobuf::Message>::default_instance()
28303    }
28304}
28305
28306impl CMsgImeCommitText {
28307    pub fn new() -> CMsgImeCommitText {
28308        ::std::default::Default::default()
28309    }
28310
28311    // optional uint32 browser_handle = 1;
28312
28313    pub fn browser_handle(&self) -> u32 {
28314        self.browser_handle.unwrap_or(0)
28315    }
28316
28317    pub fn clear_browser_handle(&mut self) {
28318        self.browser_handle = ::std::option::Option::None;
28319    }
28320
28321    pub fn has_browser_handle(&self) -> bool {
28322        self.browser_handle.is_some()
28323    }
28324
28325    // Param is passed by value, moved
28326    pub fn set_browser_handle(&mut self, v: u32) {
28327        self.browser_handle = ::std::option::Option::Some(v);
28328    }
28329
28330    // optional string text = 2;
28331
28332    pub fn text(&self) -> &str {
28333        match self.text.as_ref() {
28334            Some(v) => v,
28335            None => "",
28336        }
28337    }
28338
28339    pub fn clear_text(&mut self) {
28340        self.text = ::std::option::Option::None;
28341    }
28342
28343    pub fn has_text(&self) -> bool {
28344        self.text.is_some()
28345    }
28346
28347    // Param is passed by value, moved
28348    pub fn set_text(&mut self, v: ::std::string::String) {
28349        self.text = ::std::option::Option::Some(v);
28350    }
28351
28352    // Mutable pointer to the field.
28353    // If field is not initialized, it is initialized with default value first.
28354    pub fn mut_text(&mut self) -> &mut ::std::string::String {
28355        if self.text.is_none() {
28356            self.text = ::std::option::Option::Some(::std::string::String::new());
28357        }
28358        self.text.as_mut().unwrap()
28359    }
28360
28361    // Take field
28362    pub fn take_text(&mut self) -> ::std::string::String {
28363        self.text.take().unwrap_or_else(|| ::std::string::String::new())
28364    }
28365}
28366
28367impl ::steam_vent_proto_common::protobuf::Message for CMsgImeCommitText {
28368    const NAME: &'static str = "CMsgImeCommitText";
28369
28370    fn is_initialized(&self) -> bool {
28371        true
28372    }
28373
28374    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
28375        while let Some(tag) = is.read_raw_tag_or_eof()? {
28376            match tag {
28377                8 => {
28378                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
28379                },
28380                18 => {
28381                    self.text = ::std::option::Option::Some(is.read_string()?);
28382                },
28383                tag => {
28384                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
28385                },
28386            };
28387        }
28388        ::std::result::Result::Ok(())
28389    }
28390
28391    // Compute sizes of nested messages
28392    #[allow(unused_variables)]
28393    fn compute_size(&self) -> u64 {
28394        let mut my_size = 0;
28395        if let Some(v) = self.browser_handle {
28396            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
28397        }
28398        if let Some(v) = self.text.as_ref() {
28399            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
28400        }
28401        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
28402        self.special_fields.cached_size().set(my_size as u32);
28403        my_size
28404    }
28405
28406    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
28407        if let Some(v) = self.browser_handle {
28408            os.write_uint32(1, v)?;
28409        }
28410        if let Some(v) = self.text.as_ref() {
28411            os.write_string(2, v)?;
28412        }
28413        os.write_unknown_fields(self.special_fields.unknown_fields())?;
28414        ::std::result::Result::Ok(())
28415    }
28416
28417    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
28418        &self.special_fields
28419    }
28420
28421    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
28422        &mut self.special_fields
28423    }
28424
28425    fn new() -> CMsgImeCommitText {
28426        CMsgImeCommitText::new()
28427    }
28428
28429    fn clear(&mut self) {
28430        self.browser_handle = ::std::option::Option::None;
28431        self.text = ::std::option::Option::None;
28432        self.special_fields.clear();
28433    }
28434
28435    fn default_instance() -> &'static CMsgImeCommitText {
28436        static instance: CMsgImeCommitText = CMsgImeCommitText {
28437            browser_handle: ::std::option::Option::None,
28438            text: ::std::option::Option::None,
28439            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
28440        };
28441        &instance
28442    }
28443}
28444
28445// @@protoc_insertion_point(message:CMsgImeCancelComposition)
28446#[derive(PartialEq,Clone,Default,Debug)]
28447pub struct CMsgImeCancelComposition {
28448    // message fields
28449    // @@protoc_insertion_point(field:CMsgImeCancelComposition.browser_handle)
28450    pub browser_handle: ::std::option::Option<u32>,
28451    // special fields
28452    // @@protoc_insertion_point(special_field:CMsgImeCancelComposition.special_fields)
28453    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
28454}
28455
28456impl<'a> ::std::default::Default for &'a CMsgImeCancelComposition {
28457    fn default() -> &'a CMsgImeCancelComposition {
28458        <CMsgImeCancelComposition as ::steam_vent_proto_common::protobuf::Message>::default_instance()
28459    }
28460}
28461
28462impl CMsgImeCancelComposition {
28463    pub fn new() -> CMsgImeCancelComposition {
28464        ::std::default::Default::default()
28465    }
28466
28467    // optional uint32 browser_handle = 1;
28468
28469    pub fn browser_handle(&self) -> u32 {
28470        self.browser_handle.unwrap_or(0)
28471    }
28472
28473    pub fn clear_browser_handle(&mut self) {
28474        self.browser_handle = ::std::option::Option::None;
28475    }
28476
28477    pub fn has_browser_handle(&self) -> bool {
28478        self.browser_handle.is_some()
28479    }
28480
28481    // Param is passed by value, moved
28482    pub fn set_browser_handle(&mut self, v: u32) {
28483        self.browser_handle = ::std::option::Option::Some(v);
28484    }
28485}
28486
28487impl ::steam_vent_proto_common::protobuf::Message for CMsgImeCancelComposition {
28488    const NAME: &'static str = "CMsgImeCancelComposition";
28489
28490    fn is_initialized(&self) -> bool {
28491        true
28492    }
28493
28494    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
28495        while let Some(tag) = is.read_raw_tag_or_eof()? {
28496            match tag {
28497                8 => {
28498                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
28499                },
28500                tag => {
28501                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
28502                },
28503            };
28504        }
28505        ::std::result::Result::Ok(())
28506    }
28507
28508    // Compute sizes of nested messages
28509    #[allow(unused_variables)]
28510    fn compute_size(&self) -> u64 {
28511        let mut my_size = 0;
28512        if let Some(v) = self.browser_handle {
28513            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
28514        }
28515        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
28516        self.special_fields.cached_size().set(my_size as u32);
28517        my_size
28518    }
28519
28520    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
28521        if let Some(v) = self.browser_handle {
28522            os.write_uint32(1, v)?;
28523        }
28524        os.write_unknown_fields(self.special_fields.unknown_fields())?;
28525        ::std::result::Result::Ok(())
28526    }
28527
28528    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
28529        &self.special_fields
28530    }
28531
28532    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
28533        &mut self.special_fields
28534    }
28535
28536    fn new() -> CMsgImeCancelComposition {
28537        CMsgImeCancelComposition::new()
28538    }
28539
28540    fn clear(&mut self) {
28541        self.browser_handle = ::std::option::Option::None;
28542        self.special_fields.clear();
28543    }
28544
28545    fn default_instance() -> &'static CMsgImeCancelComposition {
28546        static instance: CMsgImeCancelComposition = CMsgImeCancelComposition {
28547            browser_handle: ::std::option::Option::None,
28548            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
28549        };
28550        &instance
28551    }
28552}
28553
28554// @@protoc_insertion_point(message:CMsgImeCompositionRangeChanged)
28555#[derive(PartialEq,Clone,Default,Debug)]
28556pub struct CMsgImeCompositionRangeChanged {
28557    // message fields
28558    // @@protoc_insertion_point(field:CMsgImeCompositionRangeChanged.browser_handle)
28559    pub browser_handle: ::std::option::Option<u32>,
28560    // @@protoc_insertion_point(field:CMsgImeCompositionRangeChanged.x)
28561    pub x: ::std::option::Option<u32>,
28562    // @@protoc_insertion_point(field:CMsgImeCompositionRangeChanged.y)
28563    pub y: ::std::option::Option<u32>,
28564    // special fields
28565    // @@protoc_insertion_point(special_field:CMsgImeCompositionRangeChanged.special_fields)
28566    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
28567}
28568
28569impl<'a> ::std::default::Default for &'a CMsgImeCompositionRangeChanged {
28570    fn default() -> &'a CMsgImeCompositionRangeChanged {
28571        <CMsgImeCompositionRangeChanged as ::steam_vent_proto_common::protobuf::Message>::default_instance()
28572    }
28573}
28574
28575impl CMsgImeCompositionRangeChanged {
28576    pub fn new() -> CMsgImeCompositionRangeChanged {
28577        ::std::default::Default::default()
28578    }
28579
28580    // optional uint32 browser_handle = 1;
28581
28582    pub fn browser_handle(&self) -> u32 {
28583        self.browser_handle.unwrap_or(0)
28584    }
28585
28586    pub fn clear_browser_handle(&mut self) {
28587        self.browser_handle = ::std::option::Option::None;
28588    }
28589
28590    pub fn has_browser_handle(&self) -> bool {
28591        self.browser_handle.is_some()
28592    }
28593
28594    // Param is passed by value, moved
28595    pub fn set_browser_handle(&mut self, v: u32) {
28596        self.browser_handle = ::std::option::Option::Some(v);
28597    }
28598
28599    // optional uint32 x = 2;
28600
28601    pub fn x(&self) -> u32 {
28602        self.x.unwrap_or(0)
28603    }
28604
28605    pub fn clear_x(&mut self) {
28606        self.x = ::std::option::Option::None;
28607    }
28608
28609    pub fn has_x(&self) -> bool {
28610        self.x.is_some()
28611    }
28612
28613    // Param is passed by value, moved
28614    pub fn set_x(&mut self, v: u32) {
28615        self.x = ::std::option::Option::Some(v);
28616    }
28617
28618    // optional uint32 y = 3;
28619
28620    pub fn y(&self) -> u32 {
28621        self.y.unwrap_or(0)
28622    }
28623
28624    pub fn clear_y(&mut self) {
28625        self.y = ::std::option::Option::None;
28626    }
28627
28628    pub fn has_y(&self) -> bool {
28629        self.y.is_some()
28630    }
28631
28632    // Param is passed by value, moved
28633    pub fn set_y(&mut self, v: u32) {
28634        self.y = ::std::option::Option::Some(v);
28635    }
28636}
28637
28638impl ::steam_vent_proto_common::protobuf::Message for CMsgImeCompositionRangeChanged {
28639    const NAME: &'static str = "CMsgImeCompositionRangeChanged";
28640
28641    fn is_initialized(&self) -> bool {
28642        true
28643    }
28644
28645    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
28646        while let Some(tag) = is.read_raw_tag_or_eof()? {
28647            match tag {
28648                8 => {
28649                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
28650                },
28651                16 => {
28652                    self.x = ::std::option::Option::Some(is.read_uint32()?);
28653                },
28654                24 => {
28655                    self.y = ::std::option::Option::Some(is.read_uint32()?);
28656                },
28657                tag => {
28658                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
28659                },
28660            };
28661        }
28662        ::std::result::Result::Ok(())
28663    }
28664
28665    // Compute sizes of nested messages
28666    #[allow(unused_variables)]
28667    fn compute_size(&self) -> u64 {
28668        let mut my_size = 0;
28669        if let Some(v) = self.browser_handle {
28670            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
28671        }
28672        if let Some(v) = self.x {
28673            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
28674        }
28675        if let Some(v) = self.y {
28676            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
28677        }
28678        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
28679        self.special_fields.cached_size().set(my_size as u32);
28680        my_size
28681    }
28682
28683    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
28684        if let Some(v) = self.browser_handle {
28685            os.write_uint32(1, v)?;
28686        }
28687        if let Some(v) = self.x {
28688            os.write_uint32(2, v)?;
28689        }
28690        if let Some(v) = self.y {
28691            os.write_uint32(3, v)?;
28692        }
28693        os.write_unknown_fields(self.special_fields.unknown_fields())?;
28694        ::std::result::Result::Ok(())
28695    }
28696
28697    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
28698        &self.special_fields
28699    }
28700
28701    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
28702        &mut self.special_fields
28703    }
28704
28705    fn new() -> CMsgImeCompositionRangeChanged {
28706        CMsgImeCompositionRangeChanged::new()
28707    }
28708
28709    fn clear(&mut self) {
28710        self.browser_handle = ::std::option::Option::None;
28711        self.x = ::std::option::Option::None;
28712        self.y = ::std::option::Option::None;
28713        self.special_fields.clear();
28714    }
28715
28716    fn default_instance() -> &'static CMsgImeCompositionRangeChanged {
28717        static instance: CMsgImeCompositionRangeChanged = CMsgImeCompositionRangeChanged {
28718            browser_handle: ::std::option::Option::None,
28719            x: ::std::option::Option::None,
28720            y: ::std::option::Option::None,
28721            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
28722        };
28723        &instance
28724    }
28725}
28726
28727// @@protoc_insertion_point(message:CMsgInspectElement)
28728#[derive(PartialEq,Clone,Default,Debug)]
28729pub struct CMsgInspectElement {
28730    // message fields
28731    // @@protoc_insertion_point(field:CMsgInspectElement.browser_handle)
28732    pub browser_handle: ::std::option::Option<u32>,
28733    // @@protoc_insertion_point(field:CMsgInspectElement.x)
28734    pub x: ::std::option::Option<u32>,
28735    // @@protoc_insertion_point(field:CMsgInspectElement.y)
28736    pub y: ::std::option::Option<u32>,
28737    // special fields
28738    // @@protoc_insertion_point(special_field:CMsgInspectElement.special_fields)
28739    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
28740}
28741
28742impl<'a> ::std::default::Default for &'a CMsgInspectElement {
28743    fn default() -> &'a CMsgInspectElement {
28744        <CMsgInspectElement as ::steam_vent_proto_common::protobuf::Message>::default_instance()
28745    }
28746}
28747
28748impl CMsgInspectElement {
28749    pub fn new() -> CMsgInspectElement {
28750        ::std::default::Default::default()
28751    }
28752
28753    // optional uint32 browser_handle = 1;
28754
28755    pub fn browser_handle(&self) -> u32 {
28756        self.browser_handle.unwrap_or(0)
28757    }
28758
28759    pub fn clear_browser_handle(&mut self) {
28760        self.browser_handle = ::std::option::Option::None;
28761    }
28762
28763    pub fn has_browser_handle(&self) -> bool {
28764        self.browser_handle.is_some()
28765    }
28766
28767    // Param is passed by value, moved
28768    pub fn set_browser_handle(&mut self, v: u32) {
28769        self.browser_handle = ::std::option::Option::Some(v);
28770    }
28771
28772    // optional uint32 x = 2;
28773
28774    pub fn x(&self) -> u32 {
28775        self.x.unwrap_or(0)
28776    }
28777
28778    pub fn clear_x(&mut self) {
28779        self.x = ::std::option::Option::None;
28780    }
28781
28782    pub fn has_x(&self) -> bool {
28783        self.x.is_some()
28784    }
28785
28786    // Param is passed by value, moved
28787    pub fn set_x(&mut self, v: u32) {
28788        self.x = ::std::option::Option::Some(v);
28789    }
28790
28791    // optional uint32 y = 3;
28792
28793    pub fn y(&self) -> u32 {
28794        self.y.unwrap_or(0)
28795    }
28796
28797    pub fn clear_y(&mut self) {
28798        self.y = ::std::option::Option::None;
28799    }
28800
28801    pub fn has_y(&self) -> bool {
28802        self.y.is_some()
28803    }
28804
28805    // Param is passed by value, moved
28806    pub fn set_y(&mut self, v: u32) {
28807        self.y = ::std::option::Option::Some(v);
28808    }
28809}
28810
28811impl ::steam_vent_proto_common::protobuf::Message for CMsgInspectElement {
28812    const NAME: &'static str = "CMsgInspectElement";
28813
28814    fn is_initialized(&self) -> bool {
28815        true
28816    }
28817
28818    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
28819        while let Some(tag) = is.read_raw_tag_or_eof()? {
28820            match tag {
28821                8 => {
28822                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
28823                },
28824                16 => {
28825                    self.x = ::std::option::Option::Some(is.read_uint32()?);
28826                },
28827                24 => {
28828                    self.y = ::std::option::Option::Some(is.read_uint32()?);
28829                },
28830                tag => {
28831                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
28832                },
28833            };
28834        }
28835        ::std::result::Result::Ok(())
28836    }
28837
28838    // Compute sizes of nested messages
28839    #[allow(unused_variables)]
28840    fn compute_size(&self) -> u64 {
28841        let mut my_size = 0;
28842        if let Some(v) = self.browser_handle {
28843            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
28844        }
28845        if let Some(v) = self.x {
28846            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
28847        }
28848        if let Some(v) = self.y {
28849            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
28850        }
28851        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
28852        self.special_fields.cached_size().set(my_size as u32);
28853        my_size
28854    }
28855
28856    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
28857        if let Some(v) = self.browser_handle {
28858            os.write_uint32(1, v)?;
28859        }
28860        if let Some(v) = self.x {
28861            os.write_uint32(2, v)?;
28862        }
28863        if let Some(v) = self.y {
28864            os.write_uint32(3, v)?;
28865        }
28866        os.write_unknown_fields(self.special_fields.unknown_fields())?;
28867        ::std::result::Result::Ok(())
28868    }
28869
28870    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
28871        &self.special_fields
28872    }
28873
28874    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
28875        &mut self.special_fields
28876    }
28877
28878    fn new() -> CMsgInspectElement {
28879        CMsgInspectElement::new()
28880    }
28881
28882    fn clear(&mut self) {
28883        self.browser_handle = ::std::option::Option::None;
28884        self.x = ::std::option::Option::None;
28885        self.y = ::std::option::Option::None;
28886        self.special_fields.clear();
28887    }
28888
28889    fn default_instance() -> &'static CMsgInspectElement {
28890        static instance: CMsgInspectElement = CMsgInspectElement {
28891            browser_handle: ::std::option::Option::None,
28892            x: ::std::option::Option::None,
28893            y: ::std::option::Option::None,
28894            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
28895        };
28896        &instance
28897    }
28898}
28899
28900// @@protoc_insertion_point(message:CMsgDisableF5)
28901#[derive(PartialEq,Clone,Default,Debug)]
28902pub struct CMsgDisableF5 {
28903    // message fields
28904    // @@protoc_insertion_point(field:CMsgDisableF5.browser_handle)
28905    pub browser_handle: ::std::option::Option<u32>,
28906    // @@protoc_insertion_point(field:CMsgDisableF5.disable)
28907    pub disable: ::std::option::Option<bool>,
28908    // special fields
28909    // @@protoc_insertion_point(special_field:CMsgDisableF5.special_fields)
28910    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
28911}
28912
28913impl<'a> ::std::default::Default for &'a CMsgDisableF5 {
28914    fn default() -> &'a CMsgDisableF5 {
28915        <CMsgDisableF5 as ::steam_vent_proto_common::protobuf::Message>::default_instance()
28916    }
28917}
28918
28919impl CMsgDisableF5 {
28920    pub fn new() -> CMsgDisableF5 {
28921        ::std::default::Default::default()
28922    }
28923
28924    // optional uint32 browser_handle = 1;
28925
28926    pub fn browser_handle(&self) -> u32 {
28927        self.browser_handle.unwrap_or(0)
28928    }
28929
28930    pub fn clear_browser_handle(&mut self) {
28931        self.browser_handle = ::std::option::Option::None;
28932    }
28933
28934    pub fn has_browser_handle(&self) -> bool {
28935        self.browser_handle.is_some()
28936    }
28937
28938    // Param is passed by value, moved
28939    pub fn set_browser_handle(&mut self, v: u32) {
28940        self.browser_handle = ::std::option::Option::Some(v);
28941    }
28942
28943    // optional bool disable = 2;
28944
28945    pub fn disable(&self) -> bool {
28946        self.disable.unwrap_or(false)
28947    }
28948
28949    pub fn clear_disable(&mut self) {
28950        self.disable = ::std::option::Option::None;
28951    }
28952
28953    pub fn has_disable(&self) -> bool {
28954        self.disable.is_some()
28955    }
28956
28957    // Param is passed by value, moved
28958    pub fn set_disable(&mut self, v: bool) {
28959        self.disable = ::std::option::Option::Some(v);
28960    }
28961}
28962
28963impl ::steam_vent_proto_common::protobuf::Message for CMsgDisableF5 {
28964    const NAME: &'static str = "CMsgDisableF5";
28965
28966    fn is_initialized(&self) -> bool {
28967        true
28968    }
28969
28970    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
28971        while let Some(tag) = is.read_raw_tag_or_eof()? {
28972            match tag {
28973                8 => {
28974                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
28975                },
28976                16 => {
28977                    self.disable = ::std::option::Option::Some(is.read_bool()?);
28978                },
28979                tag => {
28980                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
28981                },
28982            };
28983        }
28984        ::std::result::Result::Ok(())
28985    }
28986
28987    // Compute sizes of nested messages
28988    #[allow(unused_variables)]
28989    fn compute_size(&self) -> u64 {
28990        let mut my_size = 0;
28991        if let Some(v) = self.browser_handle {
28992            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
28993        }
28994        if let Some(v) = self.disable {
28995            my_size += 1 + 1;
28996        }
28997        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
28998        self.special_fields.cached_size().set(my_size as u32);
28999        my_size
29000    }
29001
29002    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
29003        if let Some(v) = self.browser_handle {
29004            os.write_uint32(1, v)?;
29005        }
29006        if let Some(v) = self.disable {
29007            os.write_bool(2, v)?;
29008        }
29009        os.write_unknown_fields(self.special_fields.unknown_fields())?;
29010        ::std::result::Result::Ok(())
29011    }
29012
29013    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
29014        &self.special_fields
29015    }
29016
29017    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
29018        &mut self.special_fields
29019    }
29020
29021    fn new() -> CMsgDisableF5 {
29022        CMsgDisableF5::new()
29023    }
29024
29025    fn clear(&mut self) {
29026        self.browser_handle = ::std::option::Option::None;
29027        self.disable = ::std::option::Option::None;
29028        self.special_fields.clear();
29029    }
29030
29031    fn default_instance() -> &'static CMsgDisableF5 {
29032        static instance: CMsgDisableF5 = CMsgDisableF5 {
29033            browser_handle: ::std::option::Option::None,
29034            disable: ::std::option::Option::None,
29035            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
29036        };
29037        &instance
29038    }
29039}
29040
29041// @@protoc_insertion_point(message:CMsgStartDownload)
29042#[derive(PartialEq,Clone,Default,Debug)]
29043pub struct CMsgStartDownload {
29044    // message fields
29045    // @@protoc_insertion_point(field:CMsgStartDownload.browser_handle)
29046    pub browser_handle: ::std::option::Option<u32>,
29047    // @@protoc_insertion_point(field:CMsgStartDownload.url)
29048    pub url: ::std::option::Option<::std::string::String>,
29049    // special fields
29050    // @@protoc_insertion_point(special_field:CMsgStartDownload.special_fields)
29051    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
29052}
29053
29054impl<'a> ::std::default::Default for &'a CMsgStartDownload {
29055    fn default() -> &'a CMsgStartDownload {
29056        <CMsgStartDownload as ::steam_vent_proto_common::protobuf::Message>::default_instance()
29057    }
29058}
29059
29060impl CMsgStartDownload {
29061    pub fn new() -> CMsgStartDownload {
29062        ::std::default::Default::default()
29063    }
29064
29065    // optional uint32 browser_handle = 1;
29066
29067    pub fn browser_handle(&self) -> u32 {
29068        self.browser_handle.unwrap_or(0)
29069    }
29070
29071    pub fn clear_browser_handle(&mut self) {
29072        self.browser_handle = ::std::option::Option::None;
29073    }
29074
29075    pub fn has_browser_handle(&self) -> bool {
29076        self.browser_handle.is_some()
29077    }
29078
29079    // Param is passed by value, moved
29080    pub fn set_browser_handle(&mut self, v: u32) {
29081        self.browser_handle = ::std::option::Option::Some(v);
29082    }
29083
29084    // optional string url = 2;
29085
29086    pub fn url(&self) -> &str {
29087        match self.url.as_ref() {
29088            Some(v) => v,
29089            None => "",
29090        }
29091    }
29092
29093    pub fn clear_url(&mut self) {
29094        self.url = ::std::option::Option::None;
29095    }
29096
29097    pub fn has_url(&self) -> bool {
29098        self.url.is_some()
29099    }
29100
29101    // Param is passed by value, moved
29102    pub fn set_url(&mut self, v: ::std::string::String) {
29103        self.url = ::std::option::Option::Some(v);
29104    }
29105
29106    // Mutable pointer to the field.
29107    // If field is not initialized, it is initialized with default value first.
29108    pub fn mut_url(&mut self) -> &mut ::std::string::String {
29109        if self.url.is_none() {
29110            self.url = ::std::option::Option::Some(::std::string::String::new());
29111        }
29112        self.url.as_mut().unwrap()
29113    }
29114
29115    // Take field
29116    pub fn take_url(&mut self) -> ::std::string::String {
29117        self.url.take().unwrap_or_else(|| ::std::string::String::new())
29118    }
29119}
29120
29121impl ::steam_vent_proto_common::protobuf::Message for CMsgStartDownload {
29122    const NAME: &'static str = "CMsgStartDownload";
29123
29124    fn is_initialized(&self) -> bool {
29125        true
29126    }
29127
29128    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
29129        while let Some(tag) = is.read_raw_tag_or_eof()? {
29130            match tag {
29131                8 => {
29132                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
29133                },
29134                18 => {
29135                    self.url = ::std::option::Option::Some(is.read_string()?);
29136                },
29137                tag => {
29138                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
29139                },
29140            };
29141        }
29142        ::std::result::Result::Ok(())
29143    }
29144
29145    // Compute sizes of nested messages
29146    #[allow(unused_variables)]
29147    fn compute_size(&self) -> u64 {
29148        let mut my_size = 0;
29149        if let Some(v) = self.browser_handle {
29150            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
29151        }
29152        if let Some(v) = self.url.as_ref() {
29153            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
29154        }
29155        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
29156        self.special_fields.cached_size().set(my_size as u32);
29157        my_size
29158    }
29159
29160    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
29161        if let Some(v) = self.browser_handle {
29162            os.write_uint32(1, v)?;
29163        }
29164        if let Some(v) = self.url.as_ref() {
29165            os.write_string(2, v)?;
29166        }
29167        os.write_unknown_fields(self.special_fields.unknown_fields())?;
29168        ::std::result::Result::Ok(())
29169    }
29170
29171    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
29172        &self.special_fields
29173    }
29174
29175    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
29176        &mut self.special_fields
29177    }
29178
29179    fn new() -> CMsgStartDownload {
29180        CMsgStartDownload::new()
29181    }
29182
29183    fn clear(&mut self) {
29184        self.browser_handle = ::std::option::Option::None;
29185        self.url = ::std::option::Option::None;
29186        self.special_fields.clear();
29187    }
29188
29189    fn default_instance() -> &'static CMsgStartDownload {
29190        static instance: CMsgStartDownload = CMsgStartDownload {
29191            browser_handle: ::std::option::Option::None,
29192            url: ::std::option::Option::None,
29193            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
29194        };
29195        &instance
29196    }
29197}
29198
29199// @@protoc_insertion_point(message:CMsgSetWindowStackingOrder)
29200#[derive(PartialEq,Clone,Default,Debug)]
29201pub struct CMsgSetWindowStackingOrder {
29202    // message fields
29203    // @@protoc_insertion_point(field:CMsgSetWindowStackingOrder.browser_handle)
29204    pub browser_handle: ::std::option::Option<u32>,
29205    // @@protoc_insertion_point(field:CMsgSetWindowStackingOrder.estackingorder)
29206    pub estackingorder: ::std::option::Option<u32>,
29207    // special fields
29208    // @@protoc_insertion_point(special_field:CMsgSetWindowStackingOrder.special_fields)
29209    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
29210}
29211
29212impl<'a> ::std::default::Default for &'a CMsgSetWindowStackingOrder {
29213    fn default() -> &'a CMsgSetWindowStackingOrder {
29214        <CMsgSetWindowStackingOrder as ::steam_vent_proto_common::protobuf::Message>::default_instance()
29215    }
29216}
29217
29218impl CMsgSetWindowStackingOrder {
29219    pub fn new() -> CMsgSetWindowStackingOrder {
29220        ::std::default::Default::default()
29221    }
29222
29223    // optional uint32 browser_handle = 1;
29224
29225    pub fn browser_handle(&self) -> u32 {
29226        self.browser_handle.unwrap_or(0)
29227    }
29228
29229    pub fn clear_browser_handle(&mut self) {
29230        self.browser_handle = ::std::option::Option::None;
29231    }
29232
29233    pub fn has_browser_handle(&self) -> bool {
29234        self.browser_handle.is_some()
29235    }
29236
29237    // Param is passed by value, moved
29238    pub fn set_browser_handle(&mut self, v: u32) {
29239        self.browser_handle = ::std::option::Option::Some(v);
29240    }
29241
29242    // optional uint32 estackingorder = 2;
29243
29244    pub fn estackingorder(&self) -> u32 {
29245        self.estackingorder.unwrap_or(0)
29246    }
29247
29248    pub fn clear_estackingorder(&mut self) {
29249        self.estackingorder = ::std::option::Option::None;
29250    }
29251
29252    pub fn has_estackingorder(&self) -> bool {
29253        self.estackingorder.is_some()
29254    }
29255
29256    // Param is passed by value, moved
29257    pub fn set_estackingorder(&mut self, v: u32) {
29258        self.estackingorder = ::std::option::Option::Some(v);
29259    }
29260}
29261
29262impl ::steam_vent_proto_common::protobuf::Message for CMsgSetWindowStackingOrder {
29263    const NAME: &'static str = "CMsgSetWindowStackingOrder";
29264
29265    fn is_initialized(&self) -> bool {
29266        true
29267    }
29268
29269    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
29270        while let Some(tag) = is.read_raw_tag_or_eof()? {
29271            match tag {
29272                8 => {
29273                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
29274                },
29275                16 => {
29276                    self.estackingorder = ::std::option::Option::Some(is.read_uint32()?);
29277                },
29278                tag => {
29279                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
29280                },
29281            };
29282        }
29283        ::std::result::Result::Ok(())
29284    }
29285
29286    // Compute sizes of nested messages
29287    #[allow(unused_variables)]
29288    fn compute_size(&self) -> u64 {
29289        let mut my_size = 0;
29290        if let Some(v) = self.browser_handle {
29291            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
29292        }
29293        if let Some(v) = self.estackingorder {
29294            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
29295        }
29296        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
29297        self.special_fields.cached_size().set(my_size as u32);
29298        my_size
29299    }
29300
29301    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
29302        if let Some(v) = self.browser_handle {
29303            os.write_uint32(1, v)?;
29304        }
29305        if let Some(v) = self.estackingorder {
29306            os.write_uint32(2, v)?;
29307        }
29308        os.write_unknown_fields(self.special_fields.unknown_fields())?;
29309        ::std::result::Result::Ok(())
29310    }
29311
29312    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
29313        &self.special_fields
29314    }
29315
29316    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
29317        &mut self.special_fields
29318    }
29319
29320    fn new() -> CMsgSetWindowStackingOrder {
29321        CMsgSetWindowStackingOrder::new()
29322    }
29323
29324    fn clear(&mut self) {
29325        self.browser_handle = ::std::option::Option::None;
29326        self.estackingorder = ::std::option::Option::None;
29327        self.special_fields.clear();
29328    }
29329
29330    fn default_instance() -> &'static CMsgSetWindowStackingOrder {
29331        static instance: CMsgSetWindowStackingOrder = CMsgSetWindowStackingOrder {
29332            browser_handle: ::std::option::Option::None,
29333            estackingorder: ::std::option::Option::None,
29334            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
29335        };
29336        &instance
29337    }
29338}
29339
29340// @@protoc_insertion_point(message:CMsgBrowserViewPostMessageToParentRequest)
29341#[derive(PartialEq,Clone,Default,Debug)]
29342pub struct CMsgBrowserViewPostMessageToParentRequest {
29343    // message fields
29344    // @@protoc_insertion_point(field:CMsgBrowserViewPostMessageToParentRequest.browser_handle)
29345    pub browser_handle: ::std::option::Option<u32>,
29346    // @@protoc_insertion_point(field:CMsgBrowserViewPostMessageToParentRequest.message)
29347    pub message: ::std::option::Option<::std::string::String>,
29348    // @@protoc_insertion_point(field:CMsgBrowserViewPostMessageToParentRequest.args)
29349    pub args: ::std::option::Option<::std::string::String>,
29350    // @@protoc_insertion_point(field:CMsgBrowserViewPostMessageToParentRequest.requesting_url)
29351    pub requesting_url: ::std::option::Option<::std::string::String>,
29352    // special fields
29353    // @@protoc_insertion_point(special_field:CMsgBrowserViewPostMessageToParentRequest.special_fields)
29354    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
29355}
29356
29357impl<'a> ::std::default::Default for &'a CMsgBrowserViewPostMessageToParentRequest {
29358    fn default() -> &'a CMsgBrowserViewPostMessageToParentRequest {
29359        <CMsgBrowserViewPostMessageToParentRequest as ::steam_vent_proto_common::protobuf::Message>::default_instance()
29360    }
29361}
29362
29363impl CMsgBrowserViewPostMessageToParentRequest {
29364    pub fn new() -> CMsgBrowserViewPostMessageToParentRequest {
29365        ::std::default::Default::default()
29366    }
29367
29368    // optional uint32 browser_handle = 1;
29369
29370    pub fn browser_handle(&self) -> u32 {
29371        self.browser_handle.unwrap_or(0)
29372    }
29373
29374    pub fn clear_browser_handle(&mut self) {
29375        self.browser_handle = ::std::option::Option::None;
29376    }
29377
29378    pub fn has_browser_handle(&self) -> bool {
29379        self.browser_handle.is_some()
29380    }
29381
29382    // Param is passed by value, moved
29383    pub fn set_browser_handle(&mut self, v: u32) {
29384        self.browser_handle = ::std::option::Option::Some(v);
29385    }
29386
29387    // optional string message = 2;
29388
29389    pub fn message(&self) -> &str {
29390        match self.message.as_ref() {
29391            Some(v) => v,
29392            None => "",
29393        }
29394    }
29395
29396    pub fn clear_message(&mut self) {
29397        self.message = ::std::option::Option::None;
29398    }
29399
29400    pub fn has_message(&self) -> bool {
29401        self.message.is_some()
29402    }
29403
29404    // Param is passed by value, moved
29405    pub fn set_message(&mut self, v: ::std::string::String) {
29406        self.message = ::std::option::Option::Some(v);
29407    }
29408
29409    // Mutable pointer to the field.
29410    // If field is not initialized, it is initialized with default value first.
29411    pub fn mut_message(&mut self) -> &mut ::std::string::String {
29412        if self.message.is_none() {
29413            self.message = ::std::option::Option::Some(::std::string::String::new());
29414        }
29415        self.message.as_mut().unwrap()
29416    }
29417
29418    // Take field
29419    pub fn take_message(&mut self) -> ::std::string::String {
29420        self.message.take().unwrap_or_else(|| ::std::string::String::new())
29421    }
29422
29423    // optional string args = 3;
29424
29425    pub fn args(&self) -> &str {
29426        match self.args.as_ref() {
29427            Some(v) => v,
29428            None => "",
29429        }
29430    }
29431
29432    pub fn clear_args(&mut self) {
29433        self.args = ::std::option::Option::None;
29434    }
29435
29436    pub fn has_args(&self) -> bool {
29437        self.args.is_some()
29438    }
29439
29440    // Param is passed by value, moved
29441    pub fn set_args(&mut self, v: ::std::string::String) {
29442        self.args = ::std::option::Option::Some(v);
29443    }
29444
29445    // Mutable pointer to the field.
29446    // If field is not initialized, it is initialized with default value first.
29447    pub fn mut_args(&mut self) -> &mut ::std::string::String {
29448        if self.args.is_none() {
29449            self.args = ::std::option::Option::Some(::std::string::String::new());
29450        }
29451        self.args.as_mut().unwrap()
29452    }
29453
29454    // Take field
29455    pub fn take_args(&mut self) -> ::std::string::String {
29456        self.args.take().unwrap_or_else(|| ::std::string::String::new())
29457    }
29458
29459    // optional string requesting_url = 4;
29460
29461    pub fn requesting_url(&self) -> &str {
29462        match self.requesting_url.as_ref() {
29463            Some(v) => v,
29464            None => "",
29465        }
29466    }
29467
29468    pub fn clear_requesting_url(&mut self) {
29469        self.requesting_url = ::std::option::Option::None;
29470    }
29471
29472    pub fn has_requesting_url(&self) -> bool {
29473        self.requesting_url.is_some()
29474    }
29475
29476    // Param is passed by value, moved
29477    pub fn set_requesting_url(&mut self, v: ::std::string::String) {
29478        self.requesting_url = ::std::option::Option::Some(v);
29479    }
29480
29481    // Mutable pointer to the field.
29482    // If field is not initialized, it is initialized with default value first.
29483    pub fn mut_requesting_url(&mut self) -> &mut ::std::string::String {
29484        if self.requesting_url.is_none() {
29485            self.requesting_url = ::std::option::Option::Some(::std::string::String::new());
29486        }
29487        self.requesting_url.as_mut().unwrap()
29488    }
29489
29490    // Take field
29491    pub fn take_requesting_url(&mut self) -> ::std::string::String {
29492        self.requesting_url.take().unwrap_or_else(|| ::std::string::String::new())
29493    }
29494}
29495
29496impl ::steam_vent_proto_common::protobuf::Message for CMsgBrowserViewPostMessageToParentRequest {
29497    const NAME: &'static str = "CMsgBrowserViewPostMessageToParentRequest";
29498
29499    fn is_initialized(&self) -> bool {
29500        true
29501    }
29502
29503    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
29504        while let Some(tag) = is.read_raw_tag_or_eof()? {
29505            match tag {
29506                8 => {
29507                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
29508                },
29509                18 => {
29510                    self.message = ::std::option::Option::Some(is.read_string()?);
29511                },
29512                26 => {
29513                    self.args = ::std::option::Option::Some(is.read_string()?);
29514                },
29515                34 => {
29516                    self.requesting_url = ::std::option::Option::Some(is.read_string()?);
29517                },
29518                tag => {
29519                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
29520                },
29521            };
29522        }
29523        ::std::result::Result::Ok(())
29524    }
29525
29526    // Compute sizes of nested messages
29527    #[allow(unused_variables)]
29528    fn compute_size(&self) -> u64 {
29529        let mut my_size = 0;
29530        if let Some(v) = self.browser_handle {
29531            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
29532        }
29533        if let Some(v) = self.message.as_ref() {
29534            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
29535        }
29536        if let Some(v) = self.args.as_ref() {
29537            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
29538        }
29539        if let Some(v) = self.requesting_url.as_ref() {
29540            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
29541        }
29542        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
29543        self.special_fields.cached_size().set(my_size as u32);
29544        my_size
29545    }
29546
29547    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
29548        if let Some(v) = self.browser_handle {
29549            os.write_uint32(1, v)?;
29550        }
29551        if let Some(v) = self.message.as_ref() {
29552            os.write_string(2, v)?;
29553        }
29554        if let Some(v) = self.args.as_ref() {
29555            os.write_string(3, v)?;
29556        }
29557        if let Some(v) = self.requesting_url.as_ref() {
29558            os.write_string(4, v)?;
29559        }
29560        os.write_unknown_fields(self.special_fields.unknown_fields())?;
29561        ::std::result::Result::Ok(())
29562    }
29563
29564    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
29565        &self.special_fields
29566    }
29567
29568    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
29569        &mut self.special_fields
29570    }
29571
29572    fn new() -> CMsgBrowserViewPostMessageToParentRequest {
29573        CMsgBrowserViewPostMessageToParentRequest::new()
29574    }
29575
29576    fn clear(&mut self) {
29577        self.browser_handle = ::std::option::Option::None;
29578        self.message = ::std::option::Option::None;
29579        self.args = ::std::option::Option::None;
29580        self.requesting_url = ::std::option::Option::None;
29581        self.special_fields.clear();
29582    }
29583
29584    fn default_instance() -> &'static CMsgBrowserViewPostMessageToParentRequest {
29585        static instance: CMsgBrowserViewPostMessageToParentRequest = CMsgBrowserViewPostMessageToParentRequest {
29586            browser_handle: ::std::option::Option::None,
29587            message: ::std::option::Option::None,
29588            args: ::std::option::Option::None,
29589            requesting_url: ::std::option::Option::None,
29590            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
29591        };
29592        &instance
29593    }
29594}
29595
29596// @@protoc_insertion_point(message:CMsgBlockedRequest)
29597#[derive(PartialEq,Clone,Default,Debug)]
29598pub struct CMsgBlockedRequest {
29599    // message fields
29600    // @@protoc_insertion_point(field:CMsgBlockedRequest.browser_handle)
29601    pub browser_handle: ::std::option::Option<u32>,
29602    // @@protoc_insertion_point(field:CMsgBlockedRequest.url)
29603    pub url: ::std::option::Option<::std::string::String>,
29604    // special fields
29605    // @@protoc_insertion_point(special_field:CMsgBlockedRequest.special_fields)
29606    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
29607}
29608
29609impl<'a> ::std::default::Default for &'a CMsgBlockedRequest {
29610    fn default() -> &'a CMsgBlockedRequest {
29611        <CMsgBlockedRequest as ::steam_vent_proto_common::protobuf::Message>::default_instance()
29612    }
29613}
29614
29615impl CMsgBlockedRequest {
29616    pub fn new() -> CMsgBlockedRequest {
29617        ::std::default::Default::default()
29618    }
29619
29620    // optional uint32 browser_handle = 1;
29621
29622    pub fn browser_handle(&self) -> u32 {
29623        self.browser_handle.unwrap_or(0)
29624    }
29625
29626    pub fn clear_browser_handle(&mut self) {
29627        self.browser_handle = ::std::option::Option::None;
29628    }
29629
29630    pub fn has_browser_handle(&self) -> bool {
29631        self.browser_handle.is_some()
29632    }
29633
29634    // Param is passed by value, moved
29635    pub fn set_browser_handle(&mut self, v: u32) {
29636        self.browser_handle = ::std::option::Option::Some(v);
29637    }
29638
29639    // optional string url = 2;
29640
29641    pub fn url(&self) -> &str {
29642        match self.url.as_ref() {
29643            Some(v) => v,
29644            None => "",
29645        }
29646    }
29647
29648    pub fn clear_url(&mut self) {
29649        self.url = ::std::option::Option::None;
29650    }
29651
29652    pub fn has_url(&self) -> bool {
29653        self.url.is_some()
29654    }
29655
29656    // Param is passed by value, moved
29657    pub fn set_url(&mut self, v: ::std::string::String) {
29658        self.url = ::std::option::Option::Some(v);
29659    }
29660
29661    // Mutable pointer to the field.
29662    // If field is not initialized, it is initialized with default value first.
29663    pub fn mut_url(&mut self) -> &mut ::std::string::String {
29664        if self.url.is_none() {
29665            self.url = ::std::option::Option::Some(::std::string::String::new());
29666        }
29667        self.url.as_mut().unwrap()
29668    }
29669
29670    // Take field
29671    pub fn take_url(&mut self) -> ::std::string::String {
29672        self.url.take().unwrap_or_else(|| ::std::string::String::new())
29673    }
29674}
29675
29676impl ::steam_vent_proto_common::protobuf::Message for CMsgBlockedRequest {
29677    const NAME: &'static str = "CMsgBlockedRequest";
29678
29679    fn is_initialized(&self) -> bool {
29680        true
29681    }
29682
29683    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
29684        while let Some(tag) = is.read_raw_tag_or_eof()? {
29685            match tag {
29686                8 => {
29687                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
29688                },
29689                18 => {
29690                    self.url = ::std::option::Option::Some(is.read_string()?);
29691                },
29692                tag => {
29693                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
29694                },
29695            };
29696        }
29697        ::std::result::Result::Ok(())
29698    }
29699
29700    // Compute sizes of nested messages
29701    #[allow(unused_variables)]
29702    fn compute_size(&self) -> u64 {
29703        let mut my_size = 0;
29704        if let Some(v) = self.browser_handle {
29705            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
29706        }
29707        if let Some(v) = self.url.as_ref() {
29708            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
29709        }
29710        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
29711        self.special_fields.cached_size().set(my_size as u32);
29712        my_size
29713    }
29714
29715    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
29716        if let Some(v) = self.browser_handle {
29717            os.write_uint32(1, v)?;
29718        }
29719        if let Some(v) = self.url.as_ref() {
29720            os.write_string(2, v)?;
29721        }
29722        os.write_unknown_fields(self.special_fields.unknown_fields())?;
29723        ::std::result::Result::Ok(())
29724    }
29725
29726    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
29727        &self.special_fields
29728    }
29729
29730    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
29731        &mut self.special_fields
29732    }
29733
29734    fn new() -> CMsgBlockedRequest {
29735        CMsgBlockedRequest::new()
29736    }
29737
29738    fn clear(&mut self) {
29739        self.browser_handle = ::std::option::Option::None;
29740        self.url = ::std::option::Option::None;
29741        self.special_fields.clear();
29742    }
29743
29744    fn default_instance() -> &'static CMsgBlockedRequest {
29745        static instance: CMsgBlockedRequest = CMsgBlockedRequest {
29746            browser_handle: ::std::option::Option::None,
29747            url: ::std::option::Option::None,
29748            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
29749        };
29750        &instance
29751    }
29752}
29753
29754// @@protoc_insertion_point(message:CMsgBrowserFocusChanged)
29755#[derive(PartialEq,Clone,Default,Debug)]
29756pub struct CMsgBrowserFocusChanged {
29757    // message fields
29758    // @@protoc_insertion_point(field:CMsgBrowserFocusChanged.browser_handle)
29759    pub browser_handle: ::std::option::Option<u32>,
29760    // @@protoc_insertion_point(field:CMsgBrowserFocusChanged.focused)
29761    pub focused: ::std::option::Option<bool>,
29762    // special fields
29763    // @@protoc_insertion_point(special_field:CMsgBrowserFocusChanged.special_fields)
29764    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
29765}
29766
29767impl<'a> ::std::default::Default for &'a CMsgBrowserFocusChanged {
29768    fn default() -> &'a CMsgBrowserFocusChanged {
29769        <CMsgBrowserFocusChanged as ::steam_vent_proto_common::protobuf::Message>::default_instance()
29770    }
29771}
29772
29773impl CMsgBrowserFocusChanged {
29774    pub fn new() -> CMsgBrowserFocusChanged {
29775        ::std::default::Default::default()
29776    }
29777
29778    // optional uint32 browser_handle = 1;
29779
29780    pub fn browser_handle(&self) -> u32 {
29781        self.browser_handle.unwrap_or(0)
29782    }
29783
29784    pub fn clear_browser_handle(&mut self) {
29785        self.browser_handle = ::std::option::Option::None;
29786    }
29787
29788    pub fn has_browser_handle(&self) -> bool {
29789        self.browser_handle.is_some()
29790    }
29791
29792    // Param is passed by value, moved
29793    pub fn set_browser_handle(&mut self, v: u32) {
29794        self.browser_handle = ::std::option::Option::Some(v);
29795    }
29796
29797    // optional bool focused = 2;
29798
29799    pub fn focused(&self) -> bool {
29800        self.focused.unwrap_or(false)
29801    }
29802
29803    pub fn clear_focused(&mut self) {
29804        self.focused = ::std::option::Option::None;
29805    }
29806
29807    pub fn has_focused(&self) -> bool {
29808        self.focused.is_some()
29809    }
29810
29811    // Param is passed by value, moved
29812    pub fn set_focused(&mut self, v: bool) {
29813        self.focused = ::std::option::Option::Some(v);
29814    }
29815}
29816
29817impl ::steam_vent_proto_common::protobuf::Message for CMsgBrowserFocusChanged {
29818    const NAME: &'static str = "CMsgBrowserFocusChanged";
29819
29820    fn is_initialized(&self) -> bool {
29821        true
29822    }
29823
29824    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
29825        while let Some(tag) = is.read_raw_tag_or_eof()? {
29826            match tag {
29827                8 => {
29828                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
29829                },
29830                16 => {
29831                    self.focused = ::std::option::Option::Some(is.read_bool()?);
29832                },
29833                tag => {
29834                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
29835                },
29836            };
29837        }
29838        ::std::result::Result::Ok(())
29839    }
29840
29841    // Compute sizes of nested messages
29842    #[allow(unused_variables)]
29843    fn compute_size(&self) -> u64 {
29844        let mut my_size = 0;
29845        if let Some(v) = self.browser_handle {
29846            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
29847        }
29848        if let Some(v) = self.focused {
29849            my_size += 1 + 1;
29850        }
29851        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
29852        self.special_fields.cached_size().set(my_size as u32);
29853        my_size
29854    }
29855
29856    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
29857        if let Some(v) = self.browser_handle {
29858            os.write_uint32(1, v)?;
29859        }
29860        if let Some(v) = self.focused {
29861            os.write_bool(2, v)?;
29862        }
29863        os.write_unknown_fields(self.special_fields.unknown_fields())?;
29864        ::std::result::Result::Ok(())
29865    }
29866
29867    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
29868        &self.special_fields
29869    }
29870
29871    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
29872        &mut self.special_fields
29873    }
29874
29875    fn new() -> CMsgBrowserFocusChanged {
29876        CMsgBrowserFocusChanged::new()
29877    }
29878
29879    fn clear(&mut self) {
29880        self.browser_handle = ::std::option::Option::None;
29881        self.focused = ::std::option::Option::None;
29882        self.special_fields.clear();
29883    }
29884
29885    fn default_instance() -> &'static CMsgBrowserFocusChanged {
29886        static instance: CMsgBrowserFocusChanged = CMsgBrowserFocusChanged {
29887            browser_handle: ::std::option::Option::None,
29888            focused: ::std::option::Option::None,
29889            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
29890        };
29891        &instance
29892    }
29893}
29894
29895// @@protoc_insertion_point(message:CMsgSetProtocolBlockList)
29896#[derive(PartialEq,Clone,Default,Debug)]
29897pub struct CMsgSetProtocolBlockList {
29898    // message fields
29899    // @@protoc_insertion_point(field:CMsgSetProtocolBlockList.browser_handle)
29900    pub browser_handle: ::std::option::Option<u32>,
29901    // @@protoc_insertion_point(field:CMsgSetProtocolBlockList.list)
29902    pub list: ::std::option::Option<::std::string::String>,
29903    // special fields
29904    // @@protoc_insertion_point(special_field:CMsgSetProtocolBlockList.special_fields)
29905    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
29906}
29907
29908impl<'a> ::std::default::Default for &'a CMsgSetProtocolBlockList {
29909    fn default() -> &'a CMsgSetProtocolBlockList {
29910        <CMsgSetProtocolBlockList as ::steam_vent_proto_common::protobuf::Message>::default_instance()
29911    }
29912}
29913
29914impl CMsgSetProtocolBlockList {
29915    pub fn new() -> CMsgSetProtocolBlockList {
29916        ::std::default::Default::default()
29917    }
29918
29919    // optional uint32 browser_handle = 1;
29920
29921    pub fn browser_handle(&self) -> u32 {
29922        self.browser_handle.unwrap_or(0)
29923    }
29924
29925    pub fn clear_browser_handle(&mut self) {
29926        self.browser_handle = ::std::option::Option::None;
29927    }
29928
29929    pub fn has_browser_handle(&self) -> bool {
29930        self.browser_handle.is_some()
29931    }
29932
29933    // Param is passed by value, moved
29934    pub fn set_browser_handle(&mut self, v: u32) {
29935        self.browser_handle = ::std::option::Option::Some(v);
29936    }
29937
29938    // optional string list = 2;
29939
29940    pub fn list(&self) -> &str {
29941        match self.list.as_ref() {
29942            Some(v) => v,
29943            None => "",
29944        }
29945    }
29946
29947    pub fn clear_list(&mut self) {
29948        self.list = ::std::option::Option::None;
29949    }
29950
29951    pub fn has_list(&self) -> bool {
29952        self.list.is_some()
29953    }
29954
29955    // Param is passed by value, moved
29956    pub fn set_list(&mut self, v: ::std::string::String) {
29957        self.list = ::std::option::Option::Some(v);
29958    }
29959
29960    // Mutable pointer to the field.
29961    // If field is not initialized, it is initialized with default value first.
29962    pub fn mut_list(&mut self) -> &mut ::std::string::String {
29963        if self.list.is_none() {
29964            self.list = ::std::option::Option::Some(::std::string::String::new());
29965        }
29966        self.list.as_mut().unwrap()
29967    }
29968
29969    // Take field
29970    pub fn take_list(&mut self) -> ::std::string::String {
29971        self.list.take().unwrap_or_else(|| ::std::string::String::new())
29972    }
29973}
29974
29975impl ::steam_vent_proto_common::protobuf::Message for CMsgSetProtocolBlockList {
29976    const NAME: &'static str = "CMsgSetProtocolBlockList";
29977
29978    fn is_initialized(&self) -> bool {
29979        true
29980    }
29981
29982    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
29983        while let Some(tag) = is.read_raw_tag_or_eof()? {
29984            match tag {
29985                8 => {
29986                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
29987                },
29988                18 => {
29989                    self.list = ::std::option::Option::Some(is.read_string()?);
29990                },
29991                tag => {
29992                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
29993                },
29994            };
29995        }
29996        ::std::result::Result::Ok(())
29997    }
29998
29999    // Compute sizes of nested messages
30000    #[allow(unused_variables)]
30001    fn compute_size(&self) -> u64 {
30002        let mut my_size = 0;
30003        if let Some(v) = self.browser_handle {
30004            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
30005        }
30006        if let Some(v) = self.list.as_ref() {
30007            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
30008        }
30009        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
30010        self.special_fields.cached_size().set(my_size as u32);
30011        my_size
30012    }
30013
30014    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
30015        if let Some(v) = self.browser_handle {
30016            os.write_uint32(1, v)?;
30017        }
30018        if let Some(v) = self.list.as_ref() {
30019            os.write_string(2, v)?;
30020        }
30021        os.write_unknown_fields(self.special_fields.unknown_fields())?;
30022        ::std::result::Result::Ok(())
30023    }
30024
30025    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
30026        &self.special_fields
30027    }
30028
30029    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
30030        &mut self.special_fields
30031    }
30032
30033    fn new() -> CMsgSetProtocolBlockList {
30034        CMsgSetProtocolBlockList::new()
30035    }
30036
30037    fn clear(&mut self) {
30038        self.browser_handle = ::std::option::Option::None;
30039        self.list = ::std::option::Option::None;
30040        self.special_fields.clear();
30041    }
30042
30043    fn default_instance() -> &'static CMsgSetProtocolBlockList {
30044        static instance: CMsgSetProtocolBlockList = CMsgSetProtocolBlockList {
30045            browser_handle: ::std::option::Option::None,
30046            list: ::std::option::Option::None,
30047            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
30048        };
30049        &instance
30050    }
30051}
30052
30053// @@protoc_insertion_point(message:CMsgSetForceDeviceScaleFactors)
30054#[derive(PartialEq,Clone,Default,Debug)]
30055pub struct CMsgSetForceDeviceScaleFactors {
30056    // message fields
30057    // @@protoc_insertion_point(field:CMsgSetForceDeviceScaleFactors.dpi_scale)
30058    pub dpi_scale: ::std::option::Option<f64>,
30059    // @@protoc_insertion_point(field:CMsgSetForceDeviceScaleFactors.browser_scale)
30060    pub browser_scale: ::std::option::Option<f64>,
30061    // special fields
30062    // @@protoc_insertion_point(special_field:CMsgSetForceDeviceScaleFactors.special_fields)
30063    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
30064}
30065
30066impl<'a> ::std::default::Default for &'a CMsgSetForceDeviceScaleFactors {
30067    fn default() -> &'a CMsgSetForceDeviceScaleFactors {
30068        <CMsgSetForceDeviceScaleFactors as ::steam_vent_proto_common::protobuf::Message>::default_instance()
30069    }
30070}
30071
30072impl CMsgSetForceDeviceScaleFactors {
30073    pub fn new() -> CMsgSetForceDeviceScaleFactors {
30074        ::std::default::Default::default()
30075    }
30076
30077    // optional double dpi_scale = 1;
30078
30079    pub fn dpi_scale(&self) -> f64 {
30080        self.dpi_scale.unwrap_or(0.)
30081    }
30082
30083    pub fn clear_dpi_scale(&mut self) {
30084        self.dpi_scale = ::std::option::Option::None;
30085    }
30086
30087    pub fn has_dpi_scale(&self) -> bool {
30088        self.dpi_scale.is_some()
30089    }
30090
30091    // Param is passed by value, moved
30092    pub fn set_dpi_scale(&mut self, v: f64) {
30093        self.dpi_scale = ::std::option::Option::Some(v);
30094    }
30095
30096    // optional double browser_scale = 2;
30097
30098    pub fn browser_scale(&self) -> f64 {
30099        self.browser_scale.unwrap_or(0.)
30100    }
30101
30102    pub fn clear_browser_scale(&mut self) {
30103        self.browser_scale = ::std::option::Option::None;
30104    }
30105
30106    pub fn has_browser_scale(&self) -> bool {
30107        self.browser_scale.is_some()
30108    }
30109
30110    // Param is passed by value, moved
30111    pub fn set_browser_scale(&mut self, v: f64) {
30112        self.browser_scale = ::std::option::Option::Some(v);
30113    }
30114}
30115
30116impl ::steam_vent_proto_common::protobuf::Message for CMsgSetForceDeviceScaleFactors {
30117    const NAME: &'static str = "CMsgSetForceDeviceScaleFactors";
30118
30119    fn is_initialized(&self) -> bool {
30120        true
30121    }
30122
30123    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
30124        while let Some(tag) = is.read_raw_tag_or_eof()? {
30125            match tag {
30126                9 => {
30127                    self.dpi_scale = ::std::option::Option::Some(is.read_double()?);
30128                },
30129                17 => {
30130                    self.browser_scale = ::std::option::Option::Some(is.read_double()?);
30131                },
30132                tag => {
30133                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
30134                },
30135            };
30136        }
30137        ::std::result::Result::Ok(())
30138    }
30139
30140    // Compute sizes of nested messages
30141    #[allow(unused_variables)]
30142    fn compute_size(&self) -> u64 {
30143        let mut my_size = 0;
30144        if let Some(v) = self.dpi_scale {
30145            my_size += 1 + 8;
30146        }
30147        if let Some(v) = self.browser_scale {
30148            my_size += 1 + 8;
30149        }
30150        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
30151        self.special_fields.cached_size().set(my_size as u32);
30152        my_size
30153    }
30154
30155    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
30156        if let Some(v) = self.dpi_scale {
30157            os.write_double(1, v)?;
30158        }
30159        if let Some(v) = self.browser_scale {
30160            os.write_double(2, v)?;
30161        }
30162        os.write_unknown_fields(self.special_fields.unknown_fields())?;
30163        ::std::result::Result::Ok(())
30164    }
30165
30166    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
30167        &self.special_fields
30168    }
30169
30170    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
30171        &mut self.special_fields
30172    }
30173
30174    fn new() -> CMsgSetForceDeviceScaleFactors {
30175        CMsgSetForceDeviceScaleFactors::new()
30176    }
30177
30178    fn clear(&mut self) {
30179        self.dpi_scale = ::std::option::Option::None;
30180        self.browser_scale = ::std::option::Option::None;
30181        self.special_fields.clear();
30182    }
30183
30184    fn default_instance() -> &'static CMsgSetForceDeviceScaleFactors {
30185        static instance: CMsgSetForceDeviceScaleFactors = CMsgSetForceDeviceScaleFactors {
30186            dpi_scale: ::std::option::Option::None,
30187            browser_scale: ::std::option::Option::None,
30188            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
30189        };
30190        &instance
30191    }
30192}
30193
30194// @@protoc_insertion_point(message:CMsgSetUIMode)
30195#[derive(PartialEq,Clone,Default,Debug)]
30196pub struct CMsgSetUIMode {
30197    // message fields
30198    // @@protoc_insertion_point(field:CMsgSetUIMode.ui_mode)
30199    pub ui_mode: ::std::option::Option<i32>,
30200    // special fields
30201    // @@protoc_insertion_point(special_field:CMsgSetUIMode.special_fields)
30202    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
30203}
30204
30205impl<'a> ::std::default::Default for &'a CMsgSetUIMode {
30206    fn default() -> &'a CMsgSetUIMode {
30207        <CMsgSetUIMode as ::steam_vent_proto_common::protobuf::Message>::default_instance()
30208    }
30209}
30210
30211impl CMsgSetUIMode {
30212    pub fn new() -> CMsgSetUIMode {
30213        ::std::default::Default::default()
30214    }
30215
30216    // optional int32 ui_mode = 1;
30217
30218    pub fn ui_mode(&self) -> i32 {
30219        self.ui_mode.unwrap_or(0)
30220    }
30221
30222    pub fn clear_ui_mode(&mut self) {
30223        self.ui_mode = ::std::option::Option::None;
30224    }
30225
30226    pub fn has_ui_mode(&self) -> bool {
30227        self.ui_mode.is_some()
30228    }
30229
30230    // Param is passed by value, moved
30231    pub fn set_ui_mode(&mut self, v: i32) {
30232        self.ui_mode = ::std::option::Option::Some(v);
30233    }
30234}
30235
30236impl ::steam_vent_proto_common::protobuf::Message for CMsgSetUIMode {
30237    const NAME: &'static str = "CMsgSetUIMode";
30238
30239    fn is_initialized(&self) -> bool {
30240        true
30241    }
30242
30243    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
30244        while let Some(tag) = is.read_raw_tag_or_eof()? {
30245            match tag {
30246                8 => {
30247                    self.ui_mode = ::std::option::Option::Some(is.read_int32()?);
30248                },
30249                tag => {
30250                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
30251                },
30252            };
30253        }
30254        ::std::result::Result::Ok(())
30255    }
30256
30257    // Compute sizes of nested messages
30258    #[allow(unused_variables)]
30259    fn compute_size(&self) -> u64 {
30260        let mut my_size = 0;
30261        if let Some(v) = self.ui_mode {
30262            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
30263        }
30264        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
30265        self.special_fields.cached_size().set(my_size as u32);
30266        my_size
30267    }
30268
30269    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
30270        if let Some(v) = self.ui_mode {
30271            os.write_int32(1, v)?;
30272        }
30273        os.write_unknown_fields(self.special_fields.unknown_fields())?;
30274        ::std::result::Result::Ok(())
30275    }
30276
30277    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
30278        &self.special_fields
30279    }
30280
30281    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
30282        &mut self.special_fields
30283    }
30284
30285    fn new() -> CMsgSetUIMode {
30286        CMsgSetUIMode::new()
30287    }
30288
30289    fn clear(&mut self) {
30290        self.ui_mode = ::std::option::Option::None;
30291        self.special_fields.clear();
30292    }
30293
30294    fn default_instance() -> &'static CMsgSetUIMode {
30295        static instance: CMsgSetUIMode = CMsgSetUIMode {
30296            ui_mode: ::std::option::Option::None,
30297            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
30298        };
30299        &instance
30300    }
30301}
30302
30303// @@protoc_insertion_point(message:CMsgSetSteamBetaName)
30304#[derive(PartialEq,Clone,Default,Debug)]
30305pub struct CMsgSetSteamBetaName {
30306    // message fields
30307    // @@protoc_insertion_point(field:CMsgSetSteamBetaName.steam_beta_name)
30308    pub steam_beta_name: ::std::option::Option<::std::string::String>,
30309    // special fields
30310    // @@protoc_insertion_point(special_field:CMsgSetSteamBetaName.special_fields)
30311    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
30312}
30313
30314impl<'a> ::std::default::Default for &'a CMsgSetSteamBetaName {
30315    fn default() -> &'a CMsgSetSteamBetaName {
30316        <CMsgSetSteamBetaName as ::steam_vent_proto_common::protobuf::Message>::default_instance()
30317    }
30318}
30319
30320impl CMsgSetSteamBetaName {
30321    pub fn new() -> CMsgSetSteamBetaName {
30322        ::std::default::Default::default()
30323    }
30324
30325    // optional string steam_beta_name = 1;
30326
30327    pub fn steam_beta_name(&self) -> &str {
30328        match self.steam_beta_name.as_ref() {
30329            Some(v) => v,
30330            None => "",
30331        }
30332    }
30333
30334    pub fn clear_steam_beta_name(&mut self) {
30335        self.steam_beta_name = ::std::option::Option::None;
30336    }
30337
30338    pub fn has_steam_beta_name(&self) -> bool {
30339        self.steam_beta_name.is_some()
30340    }
30341
30342    // Param is passed by value, moved
30343    pub fn set_steam_beta_name(&mut self, v: ::std::string::String) {
30344        self.steam_beta_name = ::std::option::Option::Some(v);
30345    }
30346
30347    // Mutable pointer to the field.
30348    // If field is not initialized, it is initialized with default value first.
30349    pub fn mut_steam_beta_name(&mut self) -> &mut ::std::string::String {
30350        if self.steam_beta_name.is_none() {
30351            self.steam_beta_name = ::std::option::Option::Some(::std::string::String::new());
30352        }
30353        self.steam_beta_name.as_mut().unwrap()
30354    }
30355
30356    // Take field
30357    pub fn take_steam_beta_name(&mut self) -> ::std::string::String {
30358        self.steam_beta_name.take().unwrap_or_else(|| ::std::string::String::new())
30359    }
30360}
30361
30362impl ::steam_vent_proto_common::protobuf::Message for CMsgSetSteamBetaName {
30363    const NAME: &'static str = "CMsgSetSteamBetaName";
30364
30365    fn is_initialized(&self) -> bool {
30366        true
30367    }
30368
30369    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
30370        while let Some(tag) = is.read_raw_tag_or_eof()? {
30371            match tag {
30372                10 => {
30373                    self.steam_beta_name = ::std::option::Option::Some(is.read_string()?);
30374                },
30375                tag => {
30376                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
30377                },
30378            };
30379        }
30380        ::std::result::Result::Ok(())
30381    }
30382
30383    // Compute sizes of nested messages
30384    #[allow(unused_variables)]
30385    fn compute_size(&self) -> u64 {
30386        let mut my_size = 0;
30387        if let Some(v) = self.steam_beta_name.as_ref() {
30388            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
30389        }
30390        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
30391        self.special_fields.cached_size().set(my_size as u32);
30392        my_size
30393    }
30394
30395    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
30396        if let Some(v) = self.steam_beta_name.as_ref() {
30397            os.write_string(1, v)?;
30398        }
30399        os.write_unknown_fields(self.special_fields.unknown_fields())?;
30400        ::std::result::Result::Ok(())
30401    }
30402
30403    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
30404        &self.special_fields
30405    }
30406
30407    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
30408        &mut self.special_fields
30409    }
30410
30411    fn new() -> CMsgSetSteamBetaName {
30412        CMsgSetSteamBetaName::new()
30413    }
30414
30415    fn clear(&mut self) {
30416        self.steam_beta_name = ::std::option::Option::None;
30417        self.special_fields.clear();
30418    }
30419
30420    fn default_instance() -> &'static CMsgSetSteamBetaName {
30421        static instance: CMsgSetSteamBetaName = CMsgSetSteamBetaName {
30422            steam_beta_name: ::std::option::Option::None,
30423            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
30424        };
30425        &instance
30426    }
30427}
30428
30429// @@protoc_insertion_point(message:CMsgPopupCreated)
30430#[derive(PartialEq,Clone,Default,Debug)]
30431pub struct CMsgPopupCreated {
30432    // message fields
30433    // @@protoc_insertion_point(field:CMsgPopupCreated.browser_handle)
30434    pub browser_handle: ::std::option::Option<u32>,
30435    // special fields
30436    // @@protoc_insertion_point(special_field:CMsgPopupCreated.special_fields)
30437    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
30438}
30439
30440impl<'a> ::std::default::Default for &'a CMsgPopupCreated {
30441    fn default() -> &'a CMsgPopupCreated {
30442        <CMsgPopupCreated as ::steam_vent_proto_common::protobuf::Message>::default_instance()
30443    }
30444}
30445
30446impl CMsgPopupCreated {
30447    pub fn new() -> CMsgPopupCreated {
30448        ::std::default::Default::default()
30449    }
30450
30451    // optional uint32 browser_handle = 1;
30452
30453    pub fn browser_handle(&self) -> u32 {
30454        self.browser_handle.unwrap_or(0)
30455    }
30456
30457    pub fn clear_browser_handle(&mut self) {
30458        self.browser_handle = ::std::option::Option::None;
30459    }
30460
30461    pub fn has_browser_handle(&self) -> bool {
30462        self.browser_handle.is_some()
30463    }
30464
30465    // Param is passed by value, moved
30466    pub fn set_browser_handle(&mut self, v: u32) {
30467        self.browser_handle = ::std::option::Option::Some(v);
30468    }
30469}
30470
30471impl ::steam_vent_proto_common::protobuf::Message for CMsgPopupCreated {
30472    const NAME: &'static str = "CMsgPopupCreated";
30473
30474    fn is_initialized(&self) -> bool {
30475        true
30476    }
30477
30478    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
30479        while let Some(tag) = is.read_raw_tag_or_eof()? {
30480            match tag {
30481                8 => {
30482                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
30483                },
30484                tag => {
30485                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
30486                },
30487            };
30488        }
30489        ::std::result::Result::Ok(())
30490    }
30491
30492    // Compute sizes of nested messages
30493    #[allow(unused_variables)]
30494    fn compute_size(&self) -> u64 {
30495        let mut my_size = 0;
30496        if let Some(v) = self.browser_handle {
30497            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
30498        }
30499        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
30500        self.special_fields.cached_size().set(my_size as u32);
30501        my_size
30502    }
30503
30504    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
30505        if let Some(v) = self.browser_handle {
30506            os.write_uint32(1, v)?;
30507        }
30508        os.write_unknown_fields(self.special_fields.unknown_fields())?;
30509        ::std::result::Result::Ok(())
30510    }
30511
30512    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
30513        &self.special_fields
30514    }
30515
30516    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
30517        &mut self.special_fields
30518    }
30519
30520    fn new() -> CMsgPopupCreated {
30521        CMsgPopupCreated::new()
30522    }
30523
30524    fn clear(&mut self) {
30525        self.browser_handle = ::std::option::Option::None;
30526        self.special_fields.clear();
30527    }
30528
30529    fn default_instance() -> &'static CMsgPopupCreated {
30530        static instance: CMsgPopupCreated = CMsgPopupCreated {
30531            browser_handle: ::std::option::Option::None,
30532            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
30533        };
30534        &instance
30535    }
30536}
30537
30538// @@protoc_insertion_point(message:CMsgSetVRKeyboardVisibility)
30539#[derive(PartialEq,Clone,Default,Debug)]
30540pub struct CMsgSetVRKeyboardVisibility {
30541    // message fields
30542    // @@protoc_insertion_point(field:CMsgSetVRKeyboardVisibility.browser_handle)
30543    pub browser_handle: ::std::option::Option<u32>,
30544    // @@protoc_insertion_point(field:CMsgSetVRKeyboardVisibility.visible)
30545    pub visible: ::std::option::Option<bool>,
30546    // special fields
30547    // @@protoc_insertion_point(special_field:CMsgSetVRKeyboardVisibility.special_fields)
30548    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
30549}
30550
30551impl<'a> ::std::default::Default for &'a CMsgSetVRKeyboardVisibility {
30552    fn default() -> &'a CMsgSetVRKeyboardVisibility {
30553        <CMsgSetVRKeyboardVisibility as ::steam_vent_proto_common::protobuf::Message>::default_instance()
30554    }
30555}
30556
30557impl CMsgSetVRKeyboardVisibility {
30558    pub fn new() -> CMsgSetVRKeyboardVisibility {
30559        ::std::default::Default::default()
30560    }
30561
30562    // optional uint32 browser_handle = 1;
30563
30564    pub fn browser_handle(&self) -> u32 {
30565        self.browser_handle.unwrap_or(0)
30566    }
30567
30568    pub fn clear_browser_handle(&mut self) {
30569        self.browser_handle = ::std::option::Option::None;
30570    }
30571
30572    pub fn has_browser_handle(&self) -> bool {
30573        self.browser_handle.is_some()
30574    }
30575
30576    // Param is passed by value, moved
30577    pub fn set_browser_handle(&mut self, v: u32) {
30578        self.browser_handle = ::std::option::Option::Some(v);
30579    }
30580
30581    // optional bool visible = 2;
30582
30583    pub fn visible(&self) -> bool {
30584        self.visible.unwrap_or(false)
30585    }
30586
30587    pub fn clear_visible(&mut self) {
30588        self.visible = ::std::option::Option::None;
30589    }
30590
30591    pub fn has_visible(&self) -> bool {
30592        self.visible.is_some()
30593    }
30594
30595    // Param is passed by value, moved
30596    pub fn set_visible(&mut self, v: bool) {
30597        self.visible = ::std::option::Option::Some(v);
30598    }
30599}
30600
30601impl ::steam_vent_proto_common::protobuf::Message for CMsgSetVRKeyboardVisibility {
30602    const NAME: &'static str = "CMsgSetVRKeyboardVisibility";
30603
30604    fn is_initialized(&self) -> bool {
30605        true
30606    }
30607
30608    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
30609        while let Some(tag) = is.read_raw_tag_or_eof()? {
30610            match tag {
30611                8 => {
30612                    self.browser_handle = ::std::option::Option::Some(is.read_uint32()?);
30613                },
30614                16 => {
30615                    self.visible = ::std::option::Option::Some(is.read_bool()?);
30616                },
30617                tag => {
30618                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
30619                },
30620            };
30621        }
30622        ::std::result::Result::Ok(())
30623    }
30624
30625    // Compute sizes of nested messages
30626    #[allow(unused_variables)]
30627    fn compute_size(&self) -> u64 {
30628        let mut my_size = 0;
30629        if let Some(v) = self.browser_handle {
30630            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
30631        }
30632        if let Some(v) = self.visible {
30633            my_size += 1 + 1;
30634        }
30635        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
30636        self.special_fields.cached_size().set(my_size as u32);
30637        my_size
30638    }
30639
30640    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
30641        if let Some(v) = self.browser_handle {
30642            os.write_uint32(1, v)?;
30643        }
30644        if let Some(v) = self.visible {
30645            os.write_bool(2, v)?;
30646        }
30647        os.write_unknown_fields(self.special_fields.unknown_fields())?;
30648        ::std::result::Result::Ok(())
30649    }
30650
30651    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
30652        &self.special_fields
30653    }
30654
30655    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
30656        &mut self.special_fields
30657    }
30658
30659    fn new() -> CMsgSetVRKeyboardVisibility {
30660        CMsgSetVRKeyboardVisibility::new()
30661    }
30662
30663    fn clear(&mut self) {
30664        self.browser_handle = ::std::option::Option::None;
30665        self.visible = ::std::option::Option::None;
30666        self.special_fields.clear();
30667    }
30668
30669    fn default_instance() -> &'static CMsgSetVRKeyboardVisibility {
30670        static instance: CMsgSetVRKeyboardVisibility = CMsgSetVRKeyboardVisibility {
30671            browser_handle: ::std::option::Option::None,
30672            visible: ::std::option::Option::None,
30673            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
30674        };
30675        &instance
30676    }
30677}
30678
30679// @@protoc_insertion_point(message:CMsgRestartJSContext)
30680#[derive(PartialEq,Clone,Default,Debug)]
30681pub struct CMsgRestartJSContext {
30682    // special fields
30683    // @@protoc_insertion_point(special_field:CMsgRestartJSContext.special_fields)
30684    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
30685}
30686
30687impl<'a> ::std::default::Default for &'a CMsgRestartJSContext {
30688    fn default() -> &'a CMsgRestartJSContext {
30689        <CMsgRestartJSContext as ::steam_vent_proto_common::protobuf::Message>::default_instance()
30690    }
30691}
30692
30693impl CMsgRestartJSContext {
30694    pub fn new() -> CMsgRestartJSContext {
30695        ::std::default::Default::default()
30696    }
30697}
30698
30699impl ::steam_vent_proto_common::protobuf::Message for CMsgRestartJSContext {
30700    const NAME: &'static str = "CMsgRestartJSContext";
30701
30702    fn is_initialized(&self) -> bool {
30703        true
30704    }
30705
30706    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
30707        while let Some(tag) = is.read_raw_tag_or_eof()? {
30708            match tag {
30709                tag => {
30710                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
30711                },
30712            };
30713        }
30714        ::std::result::Result::Ok(())
30715    }
30716
30717    // Compute sizes of nested messages
30718    #[allow(unused_variables)]
30719    fn compute_size(&self) -> u64 {
30720        let mut my_size = 0;
30721        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
30722        self.special_fields.cached_size().set(my_size as u32);
30723        my_size
30724    }
30725
30726    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
30727        os.write_unknown_fields(self.special_fields.unknown_fields())?;
30728        ::std::result::Result::Ok(())
30729    }
30730
30731    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
30732        &self.special_fields
30733    }
30734
30735    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
30736        &mut self.special_fields
30737    }
30738
30739    fn new() -> CMsgRestartJSContext {
30740        CMsgRestartJSContext::new()
30741    }
30742
30743    fn clear(&mut self) {
30744        self.special_fields.clear();
30745    }
30746
30747    fn default_instance() -> &'static CMsgRestartJSContext {
30748        static instance: CMsgRestartJSContext = CMsgRestartJSContext {
30749            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
30750        };
30751        &instance
30752    }
30753}
30754
30755#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
30756// @@protoc_insertion_point(enum:EJSRegisterMethodType)
30757pub enum EJSRegisterMethodType {
30758    // @@protoc_insertion_point(enum_value:EJSRegisterMethodType.k_EJSRegisterMethodType_Invalid)
30759    k_EJSRegisterMethodType_Invalid = 0,
30760    // @@protoc_insertion_point(enum_value:EJSRegisterMethodType.k_EJSRegisterMethodType_Function)
30761    k_EJSRegisterMethodType_Function = 1,
30762    // @@protoc_insertion_point(enum_value:EJSRegisterMethodType.k_EJSRegisterMethodType_Callback)
30763    k_EJSRegisterMethodType_Callback = 2,
30764    // @@protoc_insertion_point(enum_value:EJSRegisterMethodType.k_EJSRegisterMethodType_Promise)
30765    k_EJSRegisterMethodType_Promise = 3,
30766}
30767
30768impl ::steam_vent_proto_common::protobuf::Enum for EJSRegisterMethodType {
30769    const NAME: &'static str = "EJSRegisterMethodType";
30770
30771    fn value(&self) -> i32 {
30772        *self as i32
30773    }
30774
30775    fn from_i32(value: i32) -> ::std::option::Option<EJSRegisterMethodType> {
30776        match value {
30777            0 => ::std::option::Option::Some(EJSRegisterMethodType::k_EJSRegisterMethodType_Invalid),
30778            1 => ::std::option::Option::Some(EJSRegisterMethodType::k_EJSRegisterMethodType_Function),
30779            2 => ::std::option::Option::Some(EJSRegisterMethodType::k_EJSRegisterMethodType_Callback),
30780            3 => ::std::option::Option::Some(EJSRegisterMethodType::k_EJSRegisterMethodType_Promise),
30781            _ => ::std::option::Option::None
30782        }
30783    }
30784
30785    fn from_str(str: &str) -> ::std::option::Option<EJSRegisterMethodType> {
30786        match str {
30787            "k_EJSRegisterMethodType_Invalid" => ::std::option::Option::Some(EJSRegisterMethodType::k_EJSRegisterMethodType_Invalid),
30788            "k_EJSRegisterMethodType_Function" => ::std::option::Option::Some(EJSRegisterMethodType::k_EJSRegisterMethodType_Function),
30789            "k_EJSRegisterMethodType_Callback" => ::std::option::Option::Some(EJSRegisterMethodType::k_EJSRegisterMethodType_Callback),
30790            "k_EJSRegisterMethodType_Promise" => ::std::option::Option::Some(EJSRegisterMethodType::k_EJSRegisterMethodType_Promise),
30791            _ => ::std::option::Option::None
30792        }
30793    }
30794
30795    const VALUES: &'static [EJSRegisterMethodType] = &[
30796        EJSRegisterMethodType::k_EJSRegisterMethodType_Invalid,
30797        EJSRegisterMethodType::k_EJSRegisterMethodType_Function,
30798        EJSRegisterMethodType::k_EJSRegisterMethodType_Callback,
30799        EJSRegisterMethodType::k_EJSRegisterMethodType_Promise,
30800    ];
30801}
30802
30803impl ::std::default::Default for EJSRegisterMethodType {
30804    fn default() -> Self {
30805        EJSRegisterMethodType::k_EJSRegisterMethodType_Invalid
30806    }
30807}
30808
30809
30810
30811const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
30812
30813impl ::steam_vent_proto_common::RpcMessage for CMsgKeyUp {
30814    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30815        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30816    }
30817    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30818        use ::steam_vent_proto_common::protobuf::Message;
30819        self.write_to_writer(writer)
30820    }
30821    fn encode_size(&self) -> usize {
30822        use ::steam_vent_proto_common::protobuf::Message;
30823        self.compute_size() as usize
30824    }
30825}
30826impl ::steam_vent_proto_common::RpcMessage for CMsgKeyDown {
30827    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30828        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30829    }
30830    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30831        use ::steam_vent_proto_common::protobuf::Message;
30832        self.write_to_writer(writer)
30833    }
30834    fn encode_size(&self) -> usize {
30835        use ::steam_vent_proto_common::protobuf::Message;
30836        self.compute_size() as usize
30837    }
30838}
30839impl ::steam_vent_proto_common::RpcMessage for CMsgKeyChar {
30840    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30841        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30842    }
30843    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30844        use ::steam_vent_proto_common::protobuf::Message;
30845        self.write_to_writer(writer)
30846    }
30847    fn encode_size(&self) -> usize {
30848        use ::steam_vent_proto_common::protobuf::Message;
30849        self.compute_size() as usize
30850    }
30851}
30852impl ::steam_vent_proto_common::RpcMessage for CMsgMouseDown {
30853    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30854        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30855    }
30856    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30857        use ::steam_vent_proto_common::protobuf::Message;
30858        self.write_to_writer(writer)
30859    }
30860    fn encode_size(&self) -> usize {
30861        use ::steam_vent_proto_common::protobuf::Message;
30862        self.compute_size() as usize
30863    }
30864}
30865impl ::steam_vent_proto_common::RpcMessage for CMsgMouseUp {
30866    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30867        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30868    }
30869    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30870        use ::steam_vent_proto_common::protobuf::Message;
30871        self.write_to_writer(writer)
30872    }
30873    fn encode_size(&self) -> usize {
30874        use ::steam_vent_proto_common::protobuf::Message;
30875        self.compute_size() as usize
30876    }
30877}
30878impl ::steam_vent_proto_common::RpcMessage for CMsgMouseDblClick {
30879    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30880        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30881    }
30882    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30883        use ::steam_vent_proto_common::protobuf::Message;
30884        self.write_to_writer(writer)
30885    }
30886    fn encode_size(&self) -> usize {
30887        use ::steam_vent_proto_common::protobuf::Message;
30888        self.compute_size() as usize
30889    }
30890}
30891impl ::steam_vent_proto_common::RpcMessage for CMsgMouseWheel {
30892    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30893        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30894    }
30895    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30896        use ::steam_vent_proto_common::protobuf::Message;
30897        self.write_to_writer(writer)
30898    }
30899    fn encode_size(&self) -> usize {
30900        use ::steam_vent_proto_common::protobuf::Message;
30901        self.compute_size() as usize
30902    }
30903}
30904impl ::steam_vent_proto_common::RpcMessage for CMsgMouseMove {
30905    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30906        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30907    }
30908    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30909        use ::steam_vent_proto_common::protobuf::Message;
30910        self.write_to_writer(writer)
30911    }
30912    fn encode_size(&self) -> usize {
30913        use ::steam_vent_proto_common::protobuf::Message;
30914        self.compute_size() as usize
30915    }
30916}
30917impl ::steam_vent_proto_common::RpcMessage for CMsgMouseLeave {
30918    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30919        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30920    }
30921    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30922        use ::steam_vent_proto_common::protobuf::Message;
30923        self.write_to_writer(writer)
30924    }
30925    fn encode_size(&self) -> usize {
30926        use ::steam_vent_proto_common::protobuf::Message;
30927        self.compute_size() as usize
30928    }
30929}
30930impl ::steam_vent_proto_common::RpcMessage for CMsgBrowserCreate {
30931    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30932        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30933    }
30934    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30935        use ::steam_vent_proto_common::protobuf::Message;
30936        self.write_to_writer(writer)
30937    }
30938    fn encode_size(&self) -> usize {
30939        use ::steam_vent_proto_common::protobuf::Message;
30940        self.compute_size() as usize
30941    }
30942}
30943impl ::steam_vent_proto_common::RpcMessage for CMsgBrowserCreateResponse {
30944    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30945        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30946    }
30947    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30948        use ::steam_vent_proto_common::protobuf::Message;
30949        self.write_to_writer(writer)
30950    }
30951    fn encode_size(&self) -> usize {
30952        use ::steam_vent_proto_common::protobuf::Message;
30953        self.compute_size() as usize
30954    }
30955}
30956impl ::steam_vent_proto_common::RpcMessage for CMsgBrowserRemove {
30957    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30958        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30959    }
30960    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30961        use ::steam_vent_proto_common::protobuf::Message;
30962        self.write_to_writer(writer)
30963    }
30964    fn encode_size(&self) -> usize {
30965        use ::steam_vent_proto_common::protobuf::Message;
30966        self.compute_size() as usize
30967    }
30968}
30969impl ::steam_vent_proto_common::RpcMessage for CMsgSetLocalFileRequestMapping {
30970    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30971        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30972    }
30973    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30974        use ::steam_vent_proto_common::protobuf::Message;
30975        self.write_to_writer(writer)
30976    }
30977    fn encode_size(&self) -> usize {
30978        use ::steam_vent_proto_common::protobuf::Message;
30979        self.compute_size() as usize
30980    }
30981}
30982impl ::steam_vent_proto_common::RpcMessage for CMsgBrowserErrorStrings {
30983    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30984        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30985    }
30986    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
30987        use ::steam_vent_proto_common::protobuf::Message;
30988        self.write_to_writer(writer)
30989    }
30990    fn encode_size(&self) -> usize {
30991        use ::steam_vent_proto_common::protobuf::Message;
30992        self.compute_size() as usize
30993    }
30994}
30995impl ::steam_vent_proto_common::RpcMessage for CMsgBrowserSetName {
30996    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
30997        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
30998    }
30999    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31000        use ::steam_vent_proto_common::protobuf::Message;
31001        self.write_to_writer(writer)
31002    }
31003    fn encode_size(&self) -> usize {
31004        use ::steam_vent_proto_common::protobuf::Message;
31005        self.compute_size() as usize
31006    }
31007}
31008impl ::steam_vent_proto_common::RpcMessage for CMsgBrowserSize {
31009    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31010        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31011    }
31012    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31013        use ::steam_vent_proto_common::protobuf::Message;
31014        self.write_to_writer(writer)
31015    }
31016    fn encode_size(&self) -> usize {
31017        use ::steam_vent_proto_common::protobuf::Message;
31018        self.compute_size() as usize
31019    }
31020}
31021impl ::steam_vent_proto_common::RpcMessage for CMsgBrowserSetMinSize {
31022    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31023        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31024    }
31025    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31026        use ::steam_vent_proto_common::protobuf::Message;
31027        self.write_to_writer(writer)
31028    }
31029    fn encode_size(&self) -> usize {
31030        use ::steam_vent_proto_common::protobuf::Message;
31031        self.compute_size() as usize
31032    }
31033}
31034impl ::steam_vent_proto_common::RpcMessage for CMsgBrowserPosition {
31035    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31036        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31037    }
31038    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31039        use ::steam_vent_proto_common::protobuf::Message;
31040        self.write_to_writer(writer)
31041    }
31042    fn encode_size(&self) -> usize {
31043        use ::steam_vent_proto_common::protobuf::Message;
31044        self.compute_size() as usize
31045    }
31046}
31047impl ::steam_vent_proto_common::RpcMessage for CMsgBrowserResized {
31048    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31049        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31050    }
31051    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31052        use ::steam_vent_proto_common::protobuf::Message;
31053        self.write_to_writer(writer)
31054    }
31055    fn encode_size(&self) -> usize {
31056        use ::steam_vent_proto_common::protobuf::Message;
31057        self.compute_size() as usize
31058    }
31059}
31060impl ::steam_vent_proto_common::RpcMessage for CMsgPostURL {
31061    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31062        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31063    }
31064    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31065        use ::steam_vent_proto_common::protobuf::Message;
31066        self.write_to_writer(writer)
31067    }
31068    fn encode_size(&self) -> usize {
31069        use ::steam_vent_proto_common::protobuf::Message;
31070        self.compute_size() as usize
31071    }
31072}
31073impl ::steam_vent_proto_common::RpcMessage for CMsgAddHeader {
31074    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31075        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31076    }
31077    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31078        use ::steam_vent_proto_common::protobuf::Message;
31079        self.write_to_writer(writer)
31080    }
31081    fn encode_size(&self) -> usize {
31082        use ::steam_vent_proto_common::protobuf::Message;
31083        self.compute_size() as usize
31084    }
31085}
31086impl ::steam_vent_proto_common::RpcMessage for CMsgStopLoad {
31087    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31088        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31089    }
31090    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31091        use ::steam_vent_proto_common::protobuf::Message;
31092        self.write_to_writer(writer)
31093    }
31094    fn encode_size(&self) -> usize {
31095        use ::steam_vent_proto_common::protobuf::Message;
31096        self.compute_size() as usize
31097    }
31098}
31099impl ::steam_vent_proto_common::RpcMessage for CMsgReload {
31100    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31101        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31102    }
31103    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31104        use ::steam_vent_proto_common::protobuf::Message;
31105        self.write_to_writer(writer)
31106    }
31107    fn encode_size(&self) -> usize {
31108        use ::steam_vent_proto_common::protobuf::Message;
31109        self.compute_size() as usize
31110    }
31111}
31112impl ::steam_vent_proto_common::RpcMessage for CMsgGoForward {
31113    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31114        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31115    }
31116    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31117        use ::steam_vent_proto_common::protobuf::Message;
31118        self.write_to_writer(writer)
31119    }
31120    fn encode_size(&self) -> usize {
31121        use ::steam_vent_proto_common::protobuf::Message;
31122        self.compute_size() as usize
31123    }
31124}
31125impl ::steam_vent_proto_common::RpcMessage for CMsgGoBack {
31126    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31127        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31128    }
31129    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31130        use ::steam_vent_proto_common::protobuf::Message;
31131        self.write_to_writer(writer)
31132    }
31133    fn encode_size(&self) -> usize {
31134        use ::steam_vent_proto_common::protobuf::Message;
31135        self.compute_size() as usize
31136    }
31137}
31138impl ::steam_vent_proto_common::RpcMessage for CMsgWasHidden {
31139    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31140        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31141    }
31142    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31143        use ::steam_vent_proto_common::protobuf::Message;
31144        self.write_to_writer(writer)
31145    }
31146    fn encode_size(&self) -> usize {
31147        use ::steam_vent_proto_common::protobuf::Message;
31148        self.compute_size() as usize
31149    }
31150}
31151impl ::steam_vent_proto_common::RpcMessage for CMsgSetWindowVisibility {
31152    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31153        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31154    }
31155    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31156        use ::steam_vent_proto_common::protobuf::Message;
31157        self.write_to_writer(writer)
31158    }
31159    fn encode_size(&self) -> usize {
31160        use ::steam_vent_proto_common::protobuf::Message;
31161        self.compute_size() as usize
31162    }
31163}
31164impl ::steam_vent_proto_common::RpcMessage for CMsgClearHistory {
31165    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31166        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31167    }
31168    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31169        use ::steam_vent_proto_common::protobuf::Message;
31170        self.write_to_writer(writer)
31171    }
31172    fn encode_size(&self) -> usize {
31173        use ::steam_vent_proto_common::protobuf::Message;
31174        self.compute_size() as usize
31175    }
31176}
31177impl ::steam_vent_proto_common::RpcMessage for CMsgClearAllBrowsingData {
31178    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31179        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31180    }
31181    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31182        use ::steam_vent_proto_common::protobuf::Message;
31183        self.write_to_writer(writer)
31184    }
31185    fn encode_size(&self) -> usize {
31186        use ::steam_vent_proto_common::protobuf::Message;
31187        self.compute_size() as usize
31188    }
31189}
31190impl ::steam_vent_proto_common::RpcMessage for CMsgCopy {
31191    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31192        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31193    }
31194    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31195        use ::steam_vent_proto_common::protobuf::Message;
31196        self.write_to_writer(writer)
31197    }
31198    fn encode_size(&self) -> usize {
31199        use ::steam_vent_proto_common::protobuf::Message;
31200        self.compute_size() as usize
31201    }
31202}
31203impl ::steam_vent_proto_common::RpcMessage for CMsgPaste {
31204    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31205        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31206    }
31207    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31208        use ::steam_vent_proto_common::protobuf::Message;
31209        self.write_to_writer(writer)
31210    }
31211    fn encode_size(&self) -> usize {
31212        use ::steam_vent_proto_common::protobuf::Message;
31213        self.compute_size() as usize
31214    }
31215}
31216impl ::steam_vent_proto_common::RpcMessage for CMsgExecuteJavaScript {
31217    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31218        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31219    }
31220    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31221        use ::steam_vent_proto_common::protobuf::Message;
31222        self.write_to_writer(writer)
31223    }
31224    fn encode_size(&self) -> usize {
31225        use ::steam_vent_proto_common::protobuf::Message;
31226        self.compute_size() as usize
31227    }
31228}
31229impl ::steam_vent_proto_common::RpcMessage for CMsgSetFocus {
31230    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31231        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31232    }
31233    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31234        use ::steam_vent_proto_common::protobuf::Message;
31235        self.write_to_writer(writer)
31236    }
31237    fn encode_size(&self) -> usize {
31238        use ::steam_vent_proto_common::protobuf::Message;
31239        self.compute_size() as usize
31240    }
31241}
31242impl ::steam_vent_proto_common::RpcMessage for CMsgHorizontalScrollBarSize {
31243    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31244        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31245    }
31246    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31247        use ::steam_vent_proto_common::protobuf::Message;
31248        self.write_to_writer(writer)
31249    }
31250    fn encode_size(&self) -> usize {
31251        use ::steam_vent_proto_common::protobuf::Message;
31252        self.compute_size() as usize
31253    }
31254}
31255impl ::steam_vent_proto_common::RpcMessage for CMsgHorizontalScrollBarSizeResponse {
31256    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31257        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31258    }
31259    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31260        use ::steam_vent_proto_common::protobuf::Message;
31261        self.write_to_writer(writer)
31262    }
31263    fn encode_size(&self) -> usize {
31264        use ::steam_vent_proto_common::protobuf::Message;
31265        self.compute_size() as usize
31266    }
31267}
31268impl ::steam_vent_proto_common::RpcMessage for CMsgVerticalScrollBarSize {
31269    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31270        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31271    }
31272    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31273        use ::steam_vent_proto_common::protobuf::Message;
31274        self.write_to_writer(writer)
31275    }
31276    fn encode_size(&self) -> usize {
31277        use ::steam_vent_proto_common::protobuf::Message;
31278        self.compute_size() as usize
31279    }
31280}
31281impl ::steam_vent_proto_common::RpcMessage for CMsgVerticalScrollBarSizeResponse {
31282    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31283        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31284    }
31285    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31286        use ::steam_vent_proto_common::protobuf::Message;
31287        self.write_to_writer(writer)
31288    }
31289    fn encode_size(&self) -> usize {
31290        use ::steam_vent_proto_common::protobuf::Message;
31291        self.compute_size() as usize
31292    }
31293}
31294impl ::steam_vent_proto_common::RpcMessage for CMsgFind {
31295    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31296        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31297    }
31298    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31299        use ::steam_vent_proto_common::protobuf::Message;
31300        self.write_to_writer(writer)
31301    }
31302    fn encode_size(&self) -> usize {
31303        use ::steam_vent_proto_common::protobuf::Message;
31304        self.compute_size() as usize
31305    }
31306}
31307impl ::steam_vent_proto_common::RpcMessage for CMsgStopFind {
31308    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31309        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31310    }
31311    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31312        use ::steam_vent_proto_common::protobuf::Message;
31313        self.write_to_writer(writer)
31314    }
31315    fn encode_size(&self) -> usize {
31316        use ::steam_vent_proto_common::protobuf::Message;
31317        self.compute_size() as usize
31318    }
31319}
31320impl ::steam_vent_proto_common::RpcMessage for CMsgSetHorizontalScroll {
31321    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31322        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31323    }
31324    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31325        use ::steam_vent_proto_common::protobuf::Message;
31326        self.write_to_writer(writer)
31327    }
31328    fn encode_size(&self) -> usize {
31329        use ::steam_vent_proto_common::protobuf::Message;
31330        self.compute_size() as usize
31331    }
31332}
31333impl ::steam_vent_proto_common::RpcMessage for CMsgSetVerticalScroll {
31334    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31335        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31336    }
31337    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31338        use ::steam_vent_proto_common::protobuf::Message;
31339        self.write_to_writer(writer)
31340    }
31341    fn encode_size(&self) -> usize {
31342        use ::steam_vent_proto_common::protobuf::Message;
31343        self.compute_size() as usize
31344    }
31345}
31346impl ::steam_vent_proto_common::RpcMessage for CMsgSetZoomLevel {
31347    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31348        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31349    }
31350    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31351        use ::steam_vent_proto_common::protobuf::Message;
31352        self.write_to_writer(writer)
31353    }
31354    fn encode_size(&self) -> usize {
31355        use ::steam_vent_proto_common::protobuf::Message;
31356        self.compute_size() as usize
31357    }
31358}
31359impl ::steam_vent_proto_common::RpcMessage for CMsgViewSource {
31360    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31361        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31362    }
31363    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31364        use ::steam_vent_proto_common::protobuf::Message;
31365        self.write_to_writer(writer)
31366    }
31367    fn encode_size(&self) -> usize {
31368        use ::steam_vent_proto_common::protobuf::Message;
31369        self.compute_size() as usize
31370    }
31371}
31372impl ::steam_vent_proto_common::RpcMessage for CMsgBrowserReady {
31373    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31374        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31375    }
31376    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31377        use ::steam_vent_proto_common::protobuf::Message;
31378        self.write_to_writer(writer)
31379    }
31380    fn encode_size(&self) -> usize {
31381        use ::steam_vent_proto_common::protobuf::Message;
31382        self.compute_size() as usize
31383    }
31384}
31385impl ::steam_vent_proto_common::RpcMessage for CMsgURLChanged {
31386    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31387        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31388    }
31389    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31390        use ::steam_vent_proto_common::protobuf::Message;
31391        self.write_to_writer(writer)
31392    }
31393    fn encode_size(&self) -> usize {
31394        use ::steam_vent_proto_common::protobuf::Message;
31395        self.compute_size() as usize
31396    }
31397}
31398impl ::steam_vent_proto_common::RpcMessage for CHistoryEntry {
31399    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31400        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31401    }
31402    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31403        use ::steam_vent_proto_common::protobuf::Message;
31404        self.write_to_writer(writer)
31405    }
31406    fn encode_size(&self) -> usize {
31407        use ::steam_vent_proto_common::protobuf::Message;
31408        self.compute_size() as usize
31409    }
31410}
31411impl ::steam_vent_proto_common::RpcMessage for CMsgHistoryChanged {
31412    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31413        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31414    }
31415    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31416        use ::steam_vent_proto_common::protobuf::Message;
31417        self.write_to_writer(writer)
31418    }
31419    fn encode_size(&self) -> usize {
31420        use ::steam_vent_proto_common::protobuf::Message;
31421        self.compute_size() as usize
31422    }
31423}
31424impl ::steam_vent_proto_common::RpcMessage for CMsgLoadError {
31425    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31426        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31427    }
31428    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31429        use ::steam_vent_proto_common::protobuf::Message;
31430        self.write_to_writer(writer)
31431    }
31432    fn encode_size(&self) -> usize {
31433        use ::steam_vent_proto_common::protobuf::Message;
31434        self.compute_size() as usize
31435    }
31436}
31437impl ::steam_vent_proto_common::RpcMessage for CHTMLHeader {
31438    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31439        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31440    }
31441    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31442        use ::steam_vent_proto_common::protobuf::Message;
31443        self.write_to_writer(writer)
31444    }
31445    fn encode_size(&self) -> usize {
31446        use ::steam_vent_proto_common::protobuf::Message;
31447        self.compute_size() as usize
31448    }
31449}
31450impl ::steam_vent_proto_common::RpcMessage for CHTMLPageSecurityInfo {
31451    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31452        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31453    }
31454    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31455        use ::steam_vent_proto_common::protobuf::Message;
31456        self.write_to_writer(writer)
31457    }
31458    fn encode_size(&self) -> usize {
31459        use ::steam_vent_proto_common::protobuf::Message;
31460        self.compute_size() as usize
31461    }
31462}
31463impl ::steam_vent_proto_common::RpcMessage for CMsgFinishedRequest {
31464    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31465        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31466    }
31467    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31468        use ::steam_vent_proto_common::protobuf::Message;
31469        self.write_to_writer(writer)
31470    }
31471    fn encode_size(&self) -> usize {
31472        use ::steam_vent_proto_common::protobuf::Message;
31473        self.compute_size() as usize
31474    }
31475}
31476impl ::steam_vent_proto_common::RpcMessage for CMsgLoadedRequest {
31477    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31478        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31479    }
31480    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31481        use ::steam_vent_proto_common::protobuf::Message;
31482        self.write_to_writer(writer)
31483    }
31484    fn encode_size(&self) -> usize {
31485        use ::steam_vent_proto_common::protobuf::Message;
31486        self.compute_size() as usize
31487    }
31488}
31489impl ::steam_vent_proto_common::RpcMessage for CMsgFavIconURLChanged {
31490    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31491        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31492    }
31493    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31494        use ::steam_vent_proto_common::protobuf::Message;
31495        self.write_to_writer(writer)
31496    }
31497    fn encode_size(&self) -> usize {
31498        use ::steam_vent_proto_common::protobuf::Message;
31499        self.compute_size() as usize
31500    }
31501}
31502impl ::steam_vent_proto_common::RpcMessage for CMsgPageSecurity {
31503    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31504        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31505    }
31506    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31507        use ::steam_vent_proto_common::protobuf::Message;
31508        self.write_to_writer(writer)
31509    }
31510    fn encode_size(&self) -> usize {
31511        use ::steam_vent_proto_common::protobuf::Message;
31512        self.compute_size() as usize
31513    }
31514}
31515impl ::steam_vent_proto_common::RpcMessage for CMsgStartRequest {
31516    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31517        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31518    }
31519    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31520        use ::steam_vent_proto_common::protobuf::Message;
31521        self.write_to_writer(writer)
31522    }
31523    fn encode_size(&self) -> usize {
31524        use ::steam_vent_proto_common::protobuf::Message;
31525        self.compute_size() as usize
31526    }
31527}
31528impl ::steam_vent_proto_common::RpcMessage for CMsgStartRequestResponse {
31529    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31530        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31531    }
31532    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31533        use ::steam_vent_proto_common::protobuf::Message;
31534        self.write_to_writer(writer)
31535    }
31536    fn encode_size(&self) -> usize {
31537        use ::steam_vent_proto_common::protobuf::Message;
31538        self.compute_size() as usize
31539    }
31540}
31541impl ::steam_vent_proto_common::RpcMessage for CMsgShowPopup {
31542    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31543        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31544    }
31545    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31546        use ::steam_vent_proto_common::protobuf::Message;
31547        self.write_to_writer(writer)
31548    }
31549    fn encode_size(&self) -> usize {
31550        use ::steam_vent_proto_common::protobuf::Message;
31551        self.compute_size() as usize
31552    }
31553}
31554impl ::steam_vent_proto_common::RpcMessage for CMsgHidePopup {
31555    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31556        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31557    }
31558    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31559        use ::steam_vent_proto_common::protobuf::Message;
31560        self.write_to_writer(writer)
31561    }
31562    fn encode_size(&self) -> usize {
31563        use ::steam_vent_proto_common::protobuf::Message;
31564        self.compute_size() as usize
31565    }
31566}
31567impl ::steam_vent_proto_common::RpcMessage for CMsgSizePopup {
31568    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31569        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31570    }
31571    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31572        use ::steam_vent_proto_common::protobuf::Message;
31573        self.write_to_writer(writer)
31574    }
31575    fn encode_size(&self) -> usize {
31576        use ::steam_vent_proto_common::protobuf::Message;
31577        self.compute_size() as usize
31578    }
31579}
31580impl ::steam_vent_proto_common::RpcMessage for CMsgOpenNewTab {
31581    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31582        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31583    }
31584    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31585        use ::steam_vent_proto_common::protobuf::Message;
31586        self.write_to_writer(writer)
31587    }
31588    fn encode_size(&self) -> usize {
31589        use ::steam_vent_proto_common::protobuf::Message;
31590        self.compute_size() as usize
31591    }
31592}
31593impl ::steam_vent_proto_common::RpcMessage for CMsgPopupHTMLWindow {
31594    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31595        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31596    }
31597    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31598        use ::steam_vent_proto_common::protobuf::Message;
31599        self.write_to_writer(writer)
31600    }
31601    fn encode_size(&self) -> usize {
31602        use ::steam_vent_proto_common::protobuf::Message;
31603        self.compute_size() as usize
31604    }
31605}
31606impl ::steam_vent_proto_common::RpcMessage for CMsgPopupHTMLWindowResponse {
31607    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31608        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31609    }
31610    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31611        use ::steam_vent_proto_common::protobuf::Message;
31612        self.write_to_writer(writer)
31613    }
31614    fn encode_size(&self) -> usize {
31615        use ::steam_vent_proto_common::protobuf::Message;
31616        self.compute_size() as usize
31617    }
31618}
31619impl ::steam_vent_proto_common::RpcMessage for CMsgSetHTMLTitle {
31620    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31621        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31622    }
31623    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31624        use ::steam_vent_proto_common::protobuf::Message;
31625        self.write_to_writer(writer)
31626    }
31627    fn encode_size(&self) -> usize {
31628        use ::steam_vent_proto_common::protobuf::Message;
31629        self.compute_size() as usize
31630    }
31631}
31632impl ::steam_vent_proto_common::RpcMessage for CMsgLoadingResource {
31633    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31634        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31635    }
31636    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31637        use ::steam_vent_proto_common::protobuf::Message;
31638        self.write_to_writer(writer)
31639    }
31640    fn encode_size(&self) -> usize {
31641        use ::steam_vent_proto_common::protobuf::Message;
31642        self.compute_size() as usize
31643    }
31644}
31645impl ::steam_vent_proto_common::RpcMessage for CMsgStatusText {
31646    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31647        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31648    }
31649    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31650        use ::steam_vent_proto_common::protobuf::Message;
31651        self.write_to_writer(writer)
31652    }
31653    fn encode_size(&self) -> usize {
31654        use ::steam_vent_proto_common::protobuf::Message;
31655        self.compute_size() as usize
31656    }
31657}
31658impl ::steam_vent_proto_common::RpcMessage for CMsgSetCursor {
31659    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31660        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31661    }
31662    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31663        use ::steam_vent_proto_common::protobuf::Message;
31664        self.write_to_writer(writer)
31665    }
31666    fn encode_size(&self) -> usize {
31667        use ::steam_vent_proto_common::protobuf::Message;
31668        self.compute_size() as usize
31669    }
31670}
31671impl ::steam_vent_proto_common::RpcMessage for CMsgFileLoadDialog {
31672    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31673        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31674    }
31675    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31676        use ::steam_vent_proto_common::protobuf::Message;
31677        self.write_to_writer(writer)
31678    }
31679    fn encode_size(&self) -> usize {
31680        use ::steam_vent_proto_common::protobuf::Message;
31681        self.compute_size() as usize
31682    }
31683}
31684impl ::steam_vent_proto_common::RpcMessage for CMsgFileLoadDialogResponse {
31685    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31686        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31687    }
31688    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31689        use ::steam_vent_proto_common::protobuf::Message;
31690        self.write_to_writer(writer)
31691    }
31692    fn encode_size(&self) -> usize {
31693        use ::steam_vent_proto_common::protobuf::Message;
31694        self.compute_size() as usize
31695    }
31696}
31697impl ::steam_vent_proto_common::RpcMessage for CMsgShowToolTip {
31698    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31699        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31700    }
31701    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31702        use ::steam_vent_proto_common::protobuf::Message;
31703        self.write_to_writer(writer)
31704    }
31705    fn encode_size(&self) -> usize {
31706        use ::steam_vent_proto_common::protobuf::Message;
31707        self.compute_size() as usize
31708    }
31709}
31710impl ::steam_vent_proto_common::RpcMessage for CMsgUpdateToolTip {
31711    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31712        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31713    }
31714    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31715        use ::steam_vent_proto_common::protobuf::Message;
31716        self.write_to_writer(writer)
31717    }
31718    fn encode_size(&self) -> usize {
31719        use ::steam_vent_proto_common::protobuf::Message;
31720        self.compute_size() as usize
31721    }
31722}
31723impl ::steam_vent_proto_common::RpcMessage for CMsgHideToolTip {
31724    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31725        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31726    }
31727    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31728        use ::steam_vent_proto_common::protobuf::Message;
31729        self.write_to_writer(writer)
31730    }
31731    fn encode_size(&self) -> usize {
31732        use ::steam_vent_proto_common::protobuf::Message;
31733        self.compute_size() as usize
31734    }
31735}
31736impl ::steam_vent_proto_common::RpcMessage for CMsgSearchResults {
31737    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31738        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31739    }
31740    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31741        use ::steam_vent_proto_common::protobuf::Message;
31742        self.write_to_writer(writer)
31743    }
31744    fn encode_size(&self) -> usize {
31745        use ::steam_vent_proto_common::protobuf::Message;
31746        self.compute_size() as usize
31747    }
31748}
31749impl ::steam_vent_proto_common::RpcMessage for CMsgClose {
31750    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31751        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31752    }
31753    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31754        use ::steam_vent_proto_common::protobuf::Message;
31755        self.write_to_writer(writer)
31756    }
31757    fn encode_size(&self) -> usize {
31758        use ::steam_vent_proto_common::protobuf::Message;
31759        self.compute_size() as usize
31760    }
31761}
31762impl ::steam_vent_proto_common::RpcMessage for CMsgSetSharedPaintBuffers {
31763    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31764        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31765    }
31766    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31767        use ::steam_vent_proto_common::protobuf::Message;
31768        self.write_to_writer(writer)
31769    }
31770    fn encode_size(&self) -> usize {
31771        use ::steam_vent_proto_common::protobuf::Message;
31772        self.compute_size() as usize
31773    }
31774}
31775impl ::steam_vent_proto_common::RpcMessage for CMsgAckSharedPaintBuffers {
31776    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31777        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31778    }
31779    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31780        use ::steam_vent_proto_common::protobuf::Message;
31781        self.write_to_writer(writer)
31782    }
31783    fn encode_size(&self) -> usize {
31784        use ::steam_vent_proto_common::protobuf::Message;
31785        self.compute_size() as usize
31786    }
31787}
31788impl ::steam_vent_proto_common::RpcMessage for CMsgNeedsPaint {
31789    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31790        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31791    }
31792    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31793        use ::steam_vent_proto_common::protobuf::Message;
31794        self.write_to_writer(writer)
31795    }
31796    fn encode_size(&self) -> usize {
31797        use ::steam_vent_proto_common::protobuf::Message;
31798        self.compute_size() as usize
31799    }
31800}
31801impl ::steam_vent_proto_common::RpcMessage for CMsgComboNeedsPaint {
31802    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31803        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31804    }
31805    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31806        use ::steam_vent_proto_common::protobuf::Message;
31807        self.write_to_writer(writer)
31808    }
31809    fn encode_size(&self) -> usize {
31810        use ::steam_vent_proto_common::protobuf::Message;
31811        self.compute_size() as usize
31812    }
31813}
31814impl ::steam_vent_proto_common::RpcMessage for CMsgNeedsSharedTexturePaint {
31815    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31816        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31817    }
31818    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31819        use ::steam_vent_proto_common::protobuf::Message;
31820        self.write_to_writer(writer)
31821    }
31822    fn encode_size(&self) -> usize {
31823        use ::steam_vent_proto_common::protobuf::Message;
31824        self.compute_size() as usize
31825    }
31826}
31827impl ::steam_vent_proto_common::RpcMessage for CMsgGetZoom {
31828    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31829        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31830    }
31831    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31832        use ::steam_vent_proto_common::protobuf::Message;
31833        self.write_to_writer(writer)
31834    }
31835    fn encode_size(&self) -> usize {
31836        use ::steam_vent_proto_common::protobuf::Message;
31837        self.compute_size() as usize
31838    }
31839}
31840impl ::steam_vent_proto_common::RpcMessage for CMsgGetZoomResponse {
31841    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31842        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31843    }
31844    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31845        use ::steam_vent_proto_common::protobuf::Message;
31846        self.write_to_writer(writer)
31847    }
31848    fn encode_size(&self) -> usize {
31849        use ::steam_vent_proto_common::protobuf::Message;
31850        self.compute_size() as usize
31851    }
31852}
31853impl ::steam_vent_proto_common::RpcMessage for CMsgLinkAtPosition {
31854    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31855        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31856    }
31857    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31858        use ::steam_vent_proto_common::protobuf::Message;
31859        self.write_to_writer(writer)
31860    }
31861    fn encode_size(&self) -> usize {
31862        use ::steam_vent_proto_common::protobuf::Message;
31863        self.compute_size() as usize
31864    }
31865}
31866impl ::steam_vent_proto_common::RpcMessage for CMsgLinkAtPositionResponse {
31867    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31868        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31869    }
31870    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31871        use ::steam_vent_proto_common::protobuf::Message;
31872        self.write_to_writer(writer)
31873    }
31874    fn encode_size(&self) -> usize {
31875        use ::steam_vent_proto_common::protobuf::Message;
31876        self.compute_size() as usize
31877    }
31878}
31879impl ::steam_vent_proto_common::RpcMessage for CMsgZoomToElementAtPosition {
31880    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31881        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31882    }
31883    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31884        use ::steam_vent_proto_common::protobuf::Message;
31885        self.write_to_writer(writer)
31886    }
31887    fn encode_size(&self) -> usize {
31888        use ::steam_vent_proto_common::protobuf::Message;
31889        self.compute_size() as usize
31890    }
31891}
31892impl ::steam_vent_proto_common::RpcMessage for CMsgZoomToElementAtPositionResponse {
31893    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31894        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31895    }
31896    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31897        use ::steam_vent_proto_common::protobuf::Message;
31898        self.write_to_writer(writer)
31899    }
31900    fn encode_size(&self) -> usize {
31901        use ::steam_vent_proto_common::protobuf::Message;
31902        self.compute_size() as usize
31903    }
31904}
31905impl ::steam_vent_proto_common::RpcMessage for CMsgScalePageToValue {
31906    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31907        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31908    }
31909    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31910        use ::steam_vent_proto_common::protobuf::Message;
31911        self.write_to_writer(writer)
31912    }
31913    fn encode_size(&self) -> usize {
31914        use ::steam_vent_proto_common::protobuf::Message;
31915        self.compute_size() as usize
31916    }
31917}
31918impl ::steam_vent_proto_common::RpcMessage for CMsgForcePopupsToDirectHWND {
31919    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31920        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31921    }
31922    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31923        use ::steam_vent_proto_common::protobuf::Message;
31924        self.write_to_writer(writer)
31925    }
31926    fn encode_size(&self) -> usize {
31927        use ::steam_vent_proto_common::protobuf::Message;
31928        self.compute_size() as usize
31929    }
31930}
31931impl ::steam_vent_proto_common::RpcMessage for CMsgScalePageToValueResponse {
31932    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31933        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31934    }
31935    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31936        use ::steam_vent_proto_common::protobuf::Message;
31937        self.write_to_writer(writer)
31938    }
31939    fn encode_size(&self) -> usize {
31940        use ::steam_vent_proto_common::protobuf::Message;
31941        self.compute_size() as usize
31942    }
31943}
31944impl ::steam_vent_proto_common::RpcMessage for CMsgSavePageToJPEG {
31945    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31946        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31947    }
31948    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31949        use ::steam_vent_proto_common::protobuf::Message;
31950        self.write_to_writer(writer)
31951    }
31952    fn encode_size(&self) -> usize {
31953        use ::steam_vent_proto_common::protobuf::Message;
31954        self.compute_size() as usize
31955    }
31956}
31957impl ::steam_vent_proto_common::RpcMessage for CMsgSavePageToJPEGResponse {
31958    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31959        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31960    }
31961    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31962        use ::steam_vent_proto_common::protobuf::Message;
31963        self.write_to_writer(writer)
31964    }
31965    fn encode_size(&self) -> usize {
31966        use ::steam_vent_proto_common::protobuf::Message;
31967        self.compute_size() as usize
31968    }
31969}
31970impl ::steam_vent_proto_common::RpcMessage for CMsgJSAlert {
31971    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31972        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31973    }
31974    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31975        use ::steam_vent_proto_common::protobuf::Message;
31976        self.write_to_writer(writer)
31977    }
31978    fn encode_size(&self) -> usize {
31979        use ::steam_vent_proto_common::protobuf::Message;
31980        self.compute_size() as usize
31981    }
31982}
31983impl ::steam_vent_proto_common::RpcMessage for CMsgJSConfirm {
31984    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31985        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31986    }
31987    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
31988        use ::steam_vent_proto_common::protobuf::Message;
31989        self.write_to_writer(writer)
31990    }
31991    fn encode_size(&self) -> usize {
31992        use ::steam_vent_proto_common::protobuf::Message;
31993        self.compute_size() as usize
31994    }
31995}
31996impl ::steam_vent_proto_common::RpcMessage for CMsgJSDialogResponse {
31997    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
31998        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
31999    }
32000    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32001        use ::steam_vent_proto_common::protobuf::Message;
32002        self.write_to_writer(writer)
32003    }
32004    fn encode_size(&self) -> usize {
32005        use ::steam_vent_proto_common::protobuf::Message;
32006        self.compute_size() as usize
32007    }
32008}
32009impl ::steam_vent_proto_common::RpcMessage for CMsgCanGoBackAndForward {
32010    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32011        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32012    }
32013    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32014        use ::steam_vent_proto_common::protobuf::Message;
32015        self.write_to_writer(writer)
32016    }
32017    fn encode_size(&self) -> usize {
32018        use ::steam_vent_proto_common::protobuf::Message;
32019        self.compute_size() as usize
32020    }
32021}
32022impl ::steam_vent_proto_common::RpcMessage for CMsgOpenSteamURL {
32023    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32024        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32025    }
32026    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32027        use ::steam_vent_proto_common::protobuf::Message;
32028        self.write_to_writer(writer)
32029    }
32030    fn encode_size(&self) -> usize {
32031        use ::steam_vent_proto_common::protobuf::Message;
32032        self.compute_size() as usize
32033    }
32034}
32035impl ::steam_vent_proto_common::RpcMessage for CMsgSetCookie {
32036    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32037        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32038    }
32039    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32040        use ::steam_vent_proto_common::protobuf::Message;
32041        self.write_to_writer(writer)
32042    }
32043    fn encode_size(&self) -> usize {
32044        use ::steam_vent_proto_common::protobuf::Message;
32045        self.compute_size() as usize
32046    }
32047}
32048impl ::steam_vent_proto_common::RpcMessage for CMsgSetTargetFrameRate {
32049    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32050        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32051    }
32052    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32053        use ::steam_vent_proto_common::protobuf::Message;
32054        self.write_to_writer(writer)
32055    }
32056    fn encode_size(&self) -> usize {
32057        use ::steam_vent_proto_common::protobuf::Message;
32058        self.compute_size() as usize
32059    }
32060}
32061impl ::steam_vent_proto_common::RpcMessage for CMsgPauseRepaint {
32062    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32063        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32064    }
32065    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32066        use ::steam_vent_proto_common::protobuf::Message;
32067        self.write_to_writer(writer)
32068    }
32069    fn encode_size(&self) -> usize {
32070        use ::steam_vent_proto_common::protobuf::Message;
32071        self.compute_size() as usize
32072    }
32073}
32074impl ::steam_vent_proto_common::RpcMessage for CMsgFullRepaint {
32075    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32076        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32077    }
32078    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32079        use ::steam_vent_proto_common::protobuf::Message;
32080        self.write_to_writer(writer)
32081    }
32082    fn encode_size(&self) -> usize {
32083        use ::steam_vent_proto_common::protobuf::Message;
32084        self.compute_size() as usize
32085    }
32086}
32087impl ::steam_vent_proto_common::RpcMessage for CMsgRequestFullScreen {
32088    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32089        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32090    }
32091    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32092        use ::steam_vent_proto_common::protobuf::Message;
32093        self.write_to_writer(writer)
32094    }
32095    fn encode_size(&self) -> usize {
32096        use ::steam_vent_proto_common::protobuf::Message;
32097        self.compute_size() as usize
32098    }
32099}
32100impl ::steam_vent_proto_common::RpcMessage for CMsgExitFullScreen {
32101    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32102        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32103    }
32104    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32105        use ::steam_vent_proto_common::protobuf::Message;
32106        self.write_to_writer(writer)
32107    }
32108    fn encode_size(&self) -> usize {
32109        use ::steam_vent_proto_common::protobuf::Message;
32110        self.compute_size() as usize
32111    }
32112}
32113impl ::steam_vent_proto_common::RpcMessage for CMsgToggleFindInPageDialog {
32114    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32115        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32116    }
32117    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32118        use ::steam_vent_proto_common::protobuf::Message;
32119        self.write_to_writer(writer)
32120    }
32121    fn encode_size(&self) -> usize {
32122        use ::steam_vent_proto_common::protobuf::Message;
32123        self.compute_size() as usize
32124    }
32125}
32126impl ::steam_vent_proto_common::RpcMessage for CMsgSetPIDShuttingDown {
32127    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32128        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32129    }
32130    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32131        use ::steam_vent_proto_common::protobuf::Message;
32132        self.write_to_writer(writer)
32133    }
32134    fn encode_size(&self) -> usize {
32135        use ::steam_vent_proto_common::protobuf::Message;
32136        self.compute_size() as usize
32137    }
32138}
32139impl ::steam_vent_proto_common::RpcMessage for CMsgDisableBackgroundThrottling {
32140    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32141        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32142    }
32143    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32144        use ::steam_vent_proto_common::protobuf::Message;
32145        self.write_to_writer(writer)
32146    }
32147    fn encode_size(&self) -> usize {
32148        use ::steam_vent_proto_common::protobuf::Message;
32149        self.compute_size() as usize
32150    }
32151}
32152impl ::steam_vent_proto_common::RpcMessage for CMsgAckPIDShuttingDown {
32153    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32154        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32155    }
32156    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32157        use ::steam_vent_proto_common::protobuf::Message;
32158        self.write_to_writer(writer)
32159    }
32160    fn encode_size(&self) -> usize {
32161        use ::steam_vent_proto_common::protobuf::Message;
32162        self.compute_size() as usize
32163    }
32164}
32165impl ::steam_vent_proto_common::RpcMessage for CMsgGetCookiesForURL {
32166    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32167        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32168    }
32169    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32170        use ::steam_vent_proto_common::protobuf::Message;
32171        self.write_to_writer(writer)
32172    }
32173    fn encode_size(&self) -> usize {
32174        use ::steam_vent_proto_common::protobuf::Message;
32175        self.compute_size() as usize
32176    }
32177}
32178impl ::steam_vent_proto_common::RpcMessage for CCookie {
32179    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32180        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32181    }
32182    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32183        use ::steam_vent_proto_common::protobuf::Message;
32184        self.write_to_writer(writer)
32185    }
32186    fn encode_size(&self) -> usize {
32187        use ::steam_vent_proto_common::protobuf::Message;
32188        self.compute_size() as usize
32189    }
32190}
32191impl ::steam_vent_proto_common::RpcMessage for CMsgGetCookiesForURLResponse {
32192    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32193        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32194    }
32195    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32196        use ::steam_vent_proto_common::protobuf::Message;
32197        self.write_to_writer(writer)
32198    }
32199    fn encode_size(&self) -> usize {
32200        use ::steam_vent_proto_common::protobuf::Message;
32201        self.compute_size() as usize
32202    }
32203}
32204impl ::steam_vent_proto_common::RpcMessage for CMsgNodeHasFocus {
32205    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32206        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32207    }
32208    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32209        use ::steam_vent_proto_common::protobuf::Message;
32210        self.write_to_writer(writer)
32211    }
32212    fn encode_size(&self) -> usize {
32213        use ::steam_vent_proto_common::protobuf::Message;
32214        self.compute_size() as usize
32215    }
32216}
32217impl ::steam_vent_proto_common::RpcMessage for CMsgZoomToFocusedElement {
32218    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32219        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32220    }
32221    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32222        use ::steam_vent_proto_common::protobuf::Message;
32223        self.write_to_writer(writer)
32224    }
32225    fn encode_size(&self) -> usize {
32226        use ::steam_vent_proto_common::protobuf::Message;
32227        self.compute_size() as usize
32228    }
32229}
32230impl ::steam_vent_proto_common::RpcMessage for CMsgFocusedNodeText {
32231    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32232        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32233    }
32234    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32235        use ::steam_vent_proto_common::protobuf::Message;
32236        self.write_to_writer(writer)
32237    }
32238    fn encode_size(&self) -> usize {
32239        use ::steam_vent_proto_common::protobuf::Message;
32240        self.compute_size() as usize
32241    }
32242}
32243impl ::steam_vent_proto_common::RpcMessage for CMsgFocusedNodeTextResponse {
32244    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32245        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32246    }
32247    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32248        use ::steam_vent_proto_common::protobuf::Message;
32249        self.write_to_writer(writer)
32250    }
32251    fn encode_size(&self) -> usize {
32252        use ::steam_vent_proto_common::protobuf::Message;
32253        self.compute_size() as usize
32254    }
32255}
32256impl ::steam_vent_proto_common::RpcMessage for CMsgBuildID {
32257    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32258        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32259    }
32260    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32261        use ::steam_vent_proto_common::protobuf::Message;
32262        self.write_to_writer(writer)
32263    }
32264    fn encode_size(&self) -> usize {
32265        use ::steam_vent_proto_common::protobuf::Message;
32266        self.compute_size() as usize
32267    }
32268}
32269impl ::steam_vent_proto_common::RpcMessage for CMsgOpenDevTools {
32270    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32271        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32272    }
32273    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32274        use ::steam_vent_proto_common::protobuf::Message;
32275        self.write_to_writer(writer)
32276    }
32277    fn encode_size(&self) -> usize {
32278        use ::steam_vent_proto_common::protobuf::Message;
32279        self.compute_size() as usize
32280    }
32281}
32282impl ::steam_vent_proto_common::RpcMessage for CMsgCloseDevTools {
32283    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32284        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32285    }
32286    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32287        use ::steam_vent_proto_common::protobuf::Message;
32288        self.write_to_writer(writer)
32289    }
32290    fn encode_size(&self) -> usize {
32291        use ::steam_vent_proto_common::protobuf::Message;
32292        self.compute_size() as usize
32293    }
32294}
32295impl ::steam_vent_proto_common::RpcMessage for CMsgUnlockH264 {
32296    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32297        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32298    }
32299    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32300        use ::steam_vent_proto_common::protobuf::Message;
32301        self.write_to_writer(writer)
32302    }
32303    fn encode_size(&self) -> usize {
32304        use ::steam_vent_proto_common::protobuf::Message;
32305        self.compute_size() as usize
32306    }
32307}
32308impl ::steam_vent_proto_common::RpcMessage for CMsgScreenInformationChanged {
32309    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32310        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32311    }
32312    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32313        use ::steam_vent_proto_common::protobuf::Message;
32314        self.write_to_writer(writer)
32315    }
32316    fn encode_size(&self) -> usize {
32317        use ::steam_vent_proto_common::protobuf::Message;
32318        self.compute_size() as usize
32319    }
32320}
32321impl ::steam_vent_proto_common::RpcMessage for CMsgClearAllCookies {
32322    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32323        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32324    }
32325    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32326        use ::steam_vent_proto_common::protobuf::Message;
32327        self.write_to_writer(writer)
32328    }
32329    fn encode_size(&self) -> usize {
32330        use ::steam_vent_proto_common::protobuf::Message;
32331        self.compute_size() as usize
32332    }
32333}
32334impl ::steam_vent_proto_common::RpcMessage for CMsgScreenDPI {
32335    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32336        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32337    }
32338    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32339        use ::steam_vent_proto_common::protobuf::Message;
32340        self.write_to_writer(writer)
32341    }
32342    fn encode_size(&self) -> usize {
32343        use ::steam_vent_proto_common::protobuf::Message;
32344        self.compute_size() as usize
32345    }
32346}
32347impl ::steam_vent_proto_common::RpcMessage for CMsgAckScreenDPI {
32348    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32349        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32350    }
32351    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32352        use ::steam_vent_proto_common::protobuf::Message;
32353        self.write_to_writer(writer)
32354    }
32355    fn encode_size(&self) -> usize {
32356        use ::steam_vent_proto_common::protobuf::Message;
32357        self.compute_size() as usize
32358    }
32359}
32360impl ::steam_vent_proto_common::RpcMessage for CMsgAuthedSteamDomains {
32361    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32362        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32363    }
32364    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32365        use ::steam_vent_proto_common::protobuf::Message;
32366        self.write_to_writer(writer)
32367    }
32368    fn encode_size(&self) -> usize {
32369        use ::steam_vent_proto_common::protobuf::Message;
32370        self.compute_size() as usize
32371    }
32372}
32373impl ::steam_vent_proto_common::RpcMessage for CMsgSteamAuthNeeded {
32374    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32375        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32376    }
32377    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32378        use ::steam_vent_proto_common::protobuf::Message;
32379        self.write_to_writer(writer)
32380    }
32381    fn encode_size(&self) -> usize {
32382        use ::steam_vent_proto_common::protobuf::Message;
32383        self.compute_size() as usize
32384    }
32385}
32386impl ::steam_vent_proto_common::RpcMessage for CMsgSteamAuthCookiesSet {
32387    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32388        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32389    }
32390    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32391        use ::steam_vent_proto_common::protobuf::Message;
32392        self.write_to_writer(writer)
32393    }
32394    fn encode_size(&self) -> usize {
32395        use ::steam_vent_proto_common::protobuf::Message;
32396        self.compute_size() as usize
32397    }
32398}
32399impl ::steam_vent_proto_common::RpcMessage for CMsgJSRegisterMethod {
32400    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32401        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32402    }
32403    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32404        use ::steam_vent_proto_common::protobuf::Message;
32405        self.write_to_writer(writer)
32406    }
32407    fn encode_size(&self) -> usize {
32408        use ::steam_vent_proto_common::protobuf::Message;
32409        self.compute_size() as usize
32410    }
32411}
32412impl ::steam_vent_proto_common::RpcMessage for CMsgJSValue {
32413    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32414        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32415    }
32416    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32417        use ::steam_vent_proto_common::protobuf::Message;
32418        self.write_to_writer(writer)
32419    }
32420    fn encode_size(&self) -> usize {
32421        use ::steam_vent_proto_common::protobuf::Message;
32422        self.compute_size() as usize
32423    }
32424}
32425impl ::steam_vent_proto_common::RpcMessage for CMsgJSMethodCall {
32426    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32427        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32428    }
32429    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32430        use ::steam_vent_proto_common::protobuf::Message;
32431        self.write_to_writer(writer)
32432    }
32433    fn encode_size(&self) -> usize {
32434        use ::steam_vent_proto_common::protobuf::Message;
32435        self.compute_size() as usize
32436    }
32437}
32438impl ::steam_vent_proto_common::RpcMessage for CMsgJSExecuteCallback {
32439    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32440        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32441    }
32442    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32443        use ::steam_vent_proto_common::protobuf::Message;
32444        self.write_to_writer(writer)
32445    }
32446    fn encode_size(&self) -> usize {
32447        use ::steam_vent_proto_common::protobuf::Message;
32448        self.compute_size() as usize
32449    }
32450}
32451impl ::steam_vent_proto_common::RpcMessage for CMsgJSExecutePromise {
32452    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32453        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32454    }
32455    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32456        use ::steam_vent_proto_common::protobuf::Message;
32457        self.write_to_writer(writer)
32458    }
32459    fn encode_size(&self) -> usize {
32460        use ::steam_vent_proto_common::protobuf::Message;
32461        self.compute_size() as usize
32462    }
32463}
32464impl ::steam_vent_proto_common::RpcMessage for CMsgJSReleaseCallback {
32465    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32466        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32467    }
32468    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32469        use ::steam_vent_proto_common::protobuf::Message;
32470        self.write_to_writer(writer)
32471    }
32472    fn encode_size(&self) -> usize {
32473        use ::steam_vent_proto_common::protobuf::Message;
32474        self.compute_size() as usize
32475    }
32476}
32477impl ::steam_vent_proto_common::RpcMessage for CMsgJSRaiseException {
32478    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32479        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32480    }
32481    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32482        use ::steam_vent_proto_common::protobuf::Message;
32483        self.write_to_writer(writer)
32484    }
32485    fn encode_size(&self) -> usize {
32486        use ::steam_vent_proto_common::protobuf::Message;
32487        self.compute_size() as usize
32488    }
32489}
32490impl ::steam_vent_proto_common::RpcMessage for CMsgLoadLocalization {
32491    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32492        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32493    }
32494    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32495        use ::steam_vent_proto_common::protobuf::Message;
32496        self.write_to_writer(writer)
32497    }
32498    fn encode_size(&self) -> usize {
32499        use ::steam_vent_proto_common::protobuf::Message;
32500        self.compute_size() as usize
32501    }
32502}
32503impl ::steam_vent_proto_common::RpcMessage for CMsgNotifyUserActivation {
32504    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32505        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32506    }
32507    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32508        use ::steam_vent_proto_common::protobuf::Message;
32509        self.write_to_writer(writer)
32510    }
32511    fn encode_size(&self) -> usize {
32512        use ::steam_vent_proto_common::protobuf::Message;
32513        self.compute_size() as usize
32514    }
32515}
32516impl ::steam_vent_proto_common::RpcMessage for CMsgSetNetFakeLocalSystemState {
32517    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32518        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32519    }
32520    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32521        use ::steam_vent_proto_common::protobuf::Message;
32522        self.write_to_writer(writer)
32523    }
32524    fn encode_size(&self) -> usize {
32525        use ::steam_vent_proto_common::protobuf::Message;
32526        self.compute_size() as usize
32527    }
32528}
32529impl ::steam_vent_proto_common::RpcMessage for CMsgDraggableRegionsChanged {
32530    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32531        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32532    }
32533    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32534        use ::steam_vent_proto_common::protobuf::Message;
32535        self.write_to_writer(writer)
32536    }
32537    fn encode_size(&self) -> usize {
32538        use ::steam_vent_proto_common::protobuf::Message;
32539        self.compute_size() as usize
32540    }
32541}
32542impl ::steam_vent_proto_common::RpcMessage for CMsgResizeGripChanged {
32543    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32544        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32545    }
32546    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32547        use ::steam_vent_proto_common::protobuf::Message;
32548        self.write_to_writer(writer)
32549    }
32550    fn encode_size(&self) -> usize {
32551        use ::steam_vent_proto_common::protobuf::Message;
32552        self.compute_size() as usize
32553    }
32554}
32555impl ::steam_vent_proto_common::RpcMessage for CMsgSetWindowPosition {
32556    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32557        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32558    }
32559    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32560        use ::steam_vent_proto_common::protobuf::Message;
32561        self.write_to_writer(writer)
32562    }
32563    fn encode_size(&self) -> usize {
32564        use ::steam_vent_proto_common::protobuf::Message;
32565        self.compute_size() as usize
32566    }
32567}
32568impl ::steam_vent_proto_common::RpcMessage for CMsgShowWindow {
32569    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32570        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32571    }
32572    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32573        use ::steam_vent_proto_common::protobuf::Message;
32574        self.write_to_writer(writer)
32575    }
32576    fn encode_size(&self) -> usize {
32577        use ::steam_vent_proto_common::protobuf::Message;
32578        self.compute_size() as usize
32579    }
32580}
32581impl ::steam_vent_proto_common::RpcMessage for CMsgHideWindow {
32582    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32583        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32584    }
32585    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32586        use ::steam_vent_proto_common::protobuf::Message;
32587        self.write_to_writer(writer)
32588    }
32589    fn encode_size(&self) -> usize {
32590        use ::steam_vent_proto_common::protobuf::Message;
32591        self.compute_size() as usize
32592    }
32593}
32594impl ::steam_vent_proto_common::RpcMessage for CMsgBringWindowToFront {
32595    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32596        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32597    }
32598    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32599        use ::steam_vent_proto_common::protobuf::Message;
32600        self.write_to_writer(writer)
32601    }
32602    fn encode_size(&self) -> usize {
32603        use ::steam_vent_proto_common::protobuf::Message;
32604        self.compute_size() as usize
32605    }
32606}
32607impl ::steam_vent_proto_common::RpcMessage for CMsgSetForegroundWindow {
32608    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32609        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32610    }
32611    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32612        use ::steam_vent_proto_common::protobuf::Message;
32613        self.write_to_writer(writer)
32614    }
32615    fn encode_size(&self) -> usize {
32616        use ::steam_vent_proto_common::protobuf::Message;
32617        self.compute_size() as usize
32618    }
32619}
32620impl ::steam_vent_proto_common::RpcMessage for CMsgMaximizeRestoreWindow {
32621    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32622        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32623    }
32624    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32625        use ::steam_vent_proto_common::protobuf::Message;
32626        self.write_to_writer(writer)
32627    }
32628    fn encode_size(&self) -> usize {
32629        use ::steam_vent_proto_common::protobuf::Message;
32630        self.compute_size() as usize
32631    }
32632}
32633impl ::steam_vent_proto_common::RpcMessage for CMsgMinimizeWindow {
32634    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32635        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32636    }
32637    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32638        use ::steam_vent_proto_common::protobuf::Message;
32639        self.write_to_writer(writer)
32640    }
32641    fn encode_size(&self) -> usize {
32642        use ::steam_vent_proto_common::protobuf::Message;
32643        self.compute_size() as usize
32644    }
32645}
32646impl ::steam_vent_proto_common::RpcMessage for CMsgShowBrowserContextMenu {
32647    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32648        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32649    }
32650    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32651        use ::steam_vent_proto_common::protobuf::Message;
32652        self.write_to_writer(writer)
32653    }
32654    fn encode_size(&self) -> usize {
32655        use ::steam_vent_proto_common::protobuf::Message;
32656        self.compute_size() as usize
32657    }
32658}
32659impl ::steam_vent_proto_common::RpcMessage for CMsgHandleContextMenuCommand {
32660    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32661        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32662    }
32663    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32664        use ::steam_vent_proto_common::protobuf::Message;
32665        self.write_to_writer(writer)
32666    }
32667    fn encode_size(&self) -> usize {
32668        use ::steam_vent_proto_common::protobuf::Message;
32669        self.compute_size() as usize
32670    }
32671}
32672impl ::steam_vent_proto_common::RpcMessage for CMsgTouchGesture {
32673    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32674        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32675    }
32676    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32677        use ::steam_vent_proto_common::protobuf::Message;
32678        self.write_to_writer(writer)
32679    }
32680    fn encode_size(&self) -> usize {
32681        use ::steam_vent_proto_common::protobuf::Message;
32682        self.compute_size() as usize
32683    }
32684}
32685impl ::steam_vent_proto_common::RpcMessage for CMsgSetTouchGesturesToCancel {
32686    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32687        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32688    }
32689    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32690        use ::steam_vent_proto_common::protobuf::Message;
32691        self.write_to_writer(writer)
32692    }
32693    fn encode_size(&self) -> usize {
32694        use ::steam_vent_proto_common::protobuf::Message;
32695        self.compute_size() as usize
32696    }
32697}
32698impl ::steam_vent_proto_common::RpcMessage for CMsgImeSetComposition {
32699    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32700        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32701    }
32702    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32703        use ::steam_vent_proto_common::protobuf::Message;
32704        self.write_to_writer(writer)
32705    }
32706    fn encode_size(&self) -> usize {
32707        use ::steam_vent_proto_common::protobuf::Message;
32708        self.compute_size() as usize
32709    }
32710}
32711impl ::steam_vent_proto_common::RpcMessage for CMsgImeCommitText {
32712    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32713        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32714    }
32715    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32716        use ::steam_vent_proto_common::protobuf::Message;
32717        self.write_to_writer(writer)
32718    }
32719    fn encode_size(&self) -> usize {
32720        use ::steam_vent_proto_common::protobuf::Message;
32721        self.compute_size() as usize
32722    }
32723}
32724impl ::steam_vent_proto_common::RpcMessage for CMsgImeCancelComposition {
32725    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32726        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32727    }
32728    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32729        use ::steam_vent_proto_common::protobuf::Message;
32730        self.write_to_writer(writer)
32731    }
32732    fn encode_size(&self) -> usize {
32733        use ::steam_vent_proto_common::protobuf::Message;
32734        self.compute_size() as usize
32735    }
32736}
32737impl ::steam_vent_proto_common::RpcMessage for CMsgImeCompositionRangeChanged {
32738    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32739        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32740    }
32741    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32742        use ::steam_vent_proto_common::protobuf::Message;
32743        self.write_to_writer(writer)
32744    }
32745    fn encode_size(&self) -> usize {
32746        use ::steam_vent_proto_common::protobuf::Message;
32747        self.compute_size() as usize
32748    }
32749}
32750impl ::steam_vent_proto_common::RpcMessage for CMsgInspectElement {
32751    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32752        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32753    }
32754    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32755        use ::steam_vent_proto_common::protobuf::Message;
32756        self.write_to_writer(writer)
32757    }
32758    fn encode_size(&self) -> usize {
32759        use ::steam_vent_proto_common::protobuf::Message;
32760        self.compute_size() as usize
32761    }
32762}
32763impl ::steam_vent_proto_common::RpcMessage for CMsgDisableF5 {
32764    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32765        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32766    }
32767    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32768        use ::steam_vent_proto_common::protobuf::Message;
32769        self.write_to_writer(writer)
32770    }
32771    fn encode_size(&self) -> usize {
32772        use ::steam_vent_proto_common::protobuf::Message;
32773        self.compute_size() as usize
32774    }
32775}
32776impl ::steam_vent_proto_common::RpcMessage for CMsgStartDownload {
32777    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32778        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32779    }
32780    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32781        use ::steam_vent_proto_common::protobuf::Message;
32782        self.write_to_writer(writer)
32783    }
32784    fn encode_size(&self) -> usize {
32785        use ::steam_vent_proto_common::protobuf::Message;
32786        self.compute_size() as usize
32787    }
32788}
32789impl ::steam_vent_proto_common::RpcMessage for CMsgSetWindowStackingOrder {
32790    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32791        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32792    }
32793    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32794        use ::steam_vent_proto_common::protobuf::Message;
32795        self.write_to_writer(writer)
32796    }
32797    fn encode_size(&self) -> usize {
32798        use ::steam_vent_proto_common::protobuf::Message;
32799        self.compute_size() as usize
32800    }
32801}
32802impl ::steam_vent_proto_common::RpcMessage
32803for CMsgBrowserViewPostMessageToParentRequest {
32804    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32805        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32806    }
32807    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32808        use ::steam_vent_proto_common::protobuf::Message;
32809        self.write_to_writer(writer)
32810    }
32811    fn encode_size(&self) -> usize {
32812        use ::steam_vent_proto_common::protobuf::Message;
32813        self.compute_size() as usize
32814    }
32815}
32816impl ::steam_vent_proto_common::RpcMessage for CMsgBlockedRequest {
32817    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32818        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32819    }
32820    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32821        use ::steam_vent_proto_common::protobuf::Message;
32822        self.write_to_writer(writer)
32823    }
32824    fn encode_size(&self) -> usize {
32825        use ::steam_vent_proto_common::protobuf::Message;
32826        self.compute_size() as usize
32827    }
32828}
32829impl ::steam_vent_proto_common::RpcMessage for CMsgBrowserFocusChanged {
32830    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32831        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32832    }
32833    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32834        use ::steam_vent_proto_common::protobuf::Message;
32835        self.write_to_writer(writer)
32836    }
32837    fn encode_size(&self) -> usize {
32838        use ::steam_vent_proto_common::protobuf::Message;
32839        self.compute_size() as usize
32840    }
32841}
32842impl ::steam_vent_proto_common::RpcMessage for CMsgSetProtocolBlockList {
32843    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32844        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32845    }
32846    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32847        use ::steam_vent_proto_common::protobuf::Message;
32848        self.write_to_writer(writer)
32849    }
32850    fn encode_size(&self) -> usize {
32851        use ::steam_vent_proto_common::protobuf::Message;
32852        self.compute_size() as usize
32853    }
32854}
32855impl ::steam_vent_proto_common::RpcMessage for CMsgSetForceDeviceScaleFactors {
32856    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32857        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32858    }
32859    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32860        use ::steam_vent_proto_common::protobuf::Message;
32861        self.write_to_writer(writer)
32862    }
32863    fn encode_size(&self) -> usize {
32864        use ::steam_vent_proto_common::protobuf::Message;
32865        self.compute_size() as usize
32866    }
32867}
32868impl ::steam_vent_proto_common::RpcMessage for CMsgSetUIMode {
32869    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32870        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32871    }
32872    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32873        use ::steam_vent_proto_common::protobuf::Message;
32874        self.write_to_writer(writer)
32875    }
32876    fn encode_size(&self) -> usize {
32877        use ::steam_vent_proto_common::protobuf::Message;
32878        self.compute_size() as usize
32879    }
32880}
32881impl ::steam_vent_proto_common::RpcMessage for CMsgSetSteamBetaName {
32882    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32883        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32884    }
32885    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32886        use ::steam_vent_proto_common::protobuf::Message;
32887        self.write_to_writer(writer)
32888    }
32889    fn encode_size(&self) -> usize {
32890        use ::steam_vent_proto_common::protobuf::Message;
32891        self.compute_size() as usize
32892    }
32893}
32894impl ::steam_vent_proto_common::RpcMessage for CMsgPopupCreated {
32895    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32896        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32897    }
32898    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32899        use ::steam_vent_proto_common::protobuf::Message;
32900        self.write_to_writer(writer)
32901    }
32902    fn encode_size(&self) -> usize {
32903        use ::steam_vent_proto_common::protobuf::Message;
32904        self.compute_size() as usize
32905    }
32906}
32907impl ::steam_vent_proto_common::RpcMessage for CMsgSetVRKeyboardVisibility {
32908    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32909        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32910    }
32911    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32912        use ::steam_vent_proto_common::protobuf::Message;
32913        self.write_to_writer(writer)
32914    }
32915    fn encode_size(&self) -> usize {
32916        use ::steam_vent_proto_common::protobuf::Message;
32917        self.compute_size() as usize
32918    }
32919}
32920impl ::steam_vent_proto_common::RpcMessage for CMsgRestartJSContext {
32921    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
32922        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
32923    }
32924    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
32925        use ::steam_vent_proto_common::protobuf::Message;
32926        self.write_to_writer(writer)
32927    }
32928    fn encode_size(&self) -> usize {
32929        use ::steam_vent_proto_common::protobuf::Message;
32930        self.compute_size() as usize
32931    }
32932}