steam_vent_proto_steam/generated/
steammessages_clientserver_login.rs

1// This file is generated by rust-protobuf 3.5.1. Do not edit
2// .proto file is parsed by pure
3// @generated
4
5// https://github.com/rust-lang/rust-clippy/issues/702
6#![allow(unknown_lints)]
7#![allow(clippy::all)]
8
9#![allow(unused_attributes)]
10#![cfg_attr(rustfmt, rustfmt::skip)]
11
12#![allow(dead_code)]
13#![allow(missing_docs)]
14#![allow(non_camel_case_types)]
15#![allow(non_snake_case)]
16#![allow(non_upper_case_globals)]
17#![allow(trivial_casts)]
18#![allow(unused_results)]
19#![allow(unused_mut)]
20
21//! Generated file from `steammessages_clientserver_login.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:CMsgClientHeartBeat)
29#[derive(PartialEq,Clone,Default,Debug)]
30pub struct CMsgClientHeartBeat {
31    // message fields
32    // @@protoc_insertion_point(field:CMsgClientHeartBeat.send_reply)
33    pub send_reply: ::std::option::Option<bool>,
34    // special fields
35    // @@protoc_insertion_point(special_field:CMsgClientHeartBeat.special_fields)
36    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
37}
38
39impl<'a> ::std::default::Default for &'a CMsgClientHeartBeat {
40    fn default() -> &'a CMsgClientHeartBeat {
41        <CMsgClientHeartBeat as ::steam_vent_proto_common::protobuf::Message>::default_instance()
42    }
43}
44
45impl CMsgClientHeartBeat {
46    pub fn new() -> CMsgClientHeartBeat {
47        ::std::default::Default::default()
48    }
49
50    // optional bool send_reply = 1;
51
52    pub fn send_reply(&self) -> bool {
53        self.send_reply.unwrap_or(false)
54    }
55
56    pub fn clear_send_reply(&mut self) {
57        self.send_reply = ::std::option::Option::None;
58    }
59
60    pub fn has_send_reply(&self) -> bool {
61        self.send_reply.is_some()
62    }
63
64    // Param is passed by value, moved
65    pub fn set_send_reply(&mut self, v: bool) {
66        self.send_reply = ::std::option::Option::Some(v);
67    }
68}
69
70impl ::steam_vent_proto_common::protobuf::Message for CMsgClientHeartBeat {
71    const NAME: &'static str = "CMsgClientHeartBeat";
72
73    fn is_initialized(&self) -> bool {
74        true
75    }
76
77    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
78        while let Some(tag) = is.read_raw_tag_or_eof()? {
79            match tag {
80                8 => {
81                    self.send_reply = ::std::option::Option::Some(is.read_bool()?);
82                },
83                tag => {
84                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
85                },
86            };
87        }
88        ::std::result::Result::Ok(())
89    }
90
91    // Compute sizes of nested messages
92    #[allow(unused_variables)]
93    fn compute_size(&self) -> u64 {
94        let mut my_size = 0;
95        if let Some(v) = self.send_reply {
96            my_size += 1 + 1;
97        }
98        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
99        self.special_fields.cached_size().set(my_size as u32);
100        my_size
101    }
102
103    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
104        if let Some(v) = self.send_reply {
105            os.write_bool(1, v)?;
106        }
107        os.write_unknown_fields(self.special_fields.unknown_fields())?;
108        ::std::result::Result::Ok(())
109    }
110
111    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
112        &self.special_fields
113    }
114
115    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
116        &mut self.special_fields
117    }
118
119    fn new() -> CMsgClientHeartBeat {
120        CMsgClientHeartBeat::new()
121    }
122
123    fn clear(&mut self) {
124        self.send_reply = ::std::option::Option::None;
125        self.special_fields.clear();
126    }
127
128    fn default_instance() -> &'static CMsgClientHeartBeat {
129        static instance: CMsgClientHeartBeat = CMsgClientHeartBeat {
130            send_reply: ::std::option::Option::None,
131            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
132        };
133        &instance
134    }
135}
136
137// @@protoc_insertion_point(message:CMsgClientServerTimestampRequest)
138#[derive(PartialEq,Clone,Default,Debug)]
139pub struct CMsgClientServerTimestampRequest {
140    // message fields
141    // @@protoc_insertion_point(field:CMsgClientServerTimestampRequest.client_request_timestamp)
142    pub client_request_timestamp: ::std::option::Option<u64>,
143    // special fields
144    // @@protoc_insertion_point(special_field:CMsgClientServerTimestampRequest.special_fields)
145    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
146}
147
148impl<'a> ::std::default::Default for &'a CMsgClientServerTimestampRequest {
149    fn default() -> &'a CMsgClientServerTimestampRequest {
150        <CMsgClientServerTimestampRequest as ::steam_vent_proto_common::protobuf::Message>::default_instance()
151    }
152}
153
154impl CMsgClientServerTimestampRequest {
155    pub fn new() -> CMsgClientServerTimestampRequest {
156        ::std::default::Default::default()
157    }
158
159    // optional uint64 client_request_timestamp = 1;
160
161    pub fn client_request_timestamp(&self) -> u64 {
162        self.client_request_timestamp.unwrap_or(0)
163    }
164
165    pub fn clear_client_request_timestamp(&mut self) {
166        self.client_request_timestamp = ::std::option::Option::None;
167    }
168
169    pub fn has_client_request_timestamp(&self) -> bool {
170        self.client_request_timestamp.is_some()
171    }
172
173    // Param is passed by value, moved
174    pub fn set_client_request_timestamp(&mut self, v: u64) {
175        self.client_request_timestamp = ::std::option::Option::Some(v);
176    }
177}
178
179impl ::steam_vent_proto_common::protobuf::Message for CMsgClientServerTimestampRequest {
180    const NAME: &'static str = "CMsgClientServerTimestampRequest";
181
182    fn is_initialized(&self) -> bool {
183        true
184    }
185
186    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
187        while let Some(tag) = is.read_raw_tag_or_eof()? {
188            match tag {
189                8 => {
190                    self.client_request_timestamp = ::std::option::Option::Some(is.read_uint64()?);
191                },
192                tag => {
193                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
194                },
195            };
196        }
197        ::std::result::Result::Ok(())
198    }
199
200    // Compute sizes of nested messages
201    #[allow(unused_variables)]
202    fn compute_size(&self) -> u64 {
203        let mut my_size = 0;
204        if let Some(v) = self.client_request_timestamp {
205            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
206        }
207        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
208        self.special_fields.cached_size().set(my_size as u32);
209        my_size
210    }
211
212    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
213        if let Some(v) = self.client_request_timestamp {
214            os.write_uint64(1, v)?;
215        }
216        os.write_unknown_fields(self.special_fields.unknown_fields())?;
217        ::std::result::Result::Ok(())
218    }
219
220    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
221        &self.special_fields
222    }
223
224    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
225        &mut self.special_fields
226    }
227
228    fn new() -> CMsgClientServerTimestampRequest {
229        CMsgClientServerTimestampRequest::new()
230    }
231
232    fn clear(&mut self) {
233        self.client_request_timestamp = ::std::option::Option::None;
234        self.special_fields.clear();
235    }
236
237    fn default_instance() -> &'static CMsgClientServerTimestampRequest {
238        static instance: CMsgClientServerTimestampRequest = CMsgClientServerTimestampRequest {
239            client_request_timestamp: ::std::option::Option::None,
240            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
241        };
242        &instance
243    }
244}
245
246// @@protoc_insertion_point(message:CMsgClientServerTimestampResponse)
247#[derive(PartialEq,Clone,Default,Debug)]
248pub struct CMsgClientServerTimestampResponse {
249    // message fields
250    // @@protoc_insertion_point(field:CMsgClientServerTimestampResponse.client_request_timestamp)
251    pub client_request_timestamp: ::std::option::Option<u64>,
252    // @@protoc_insertion_point(field:CMsgClientServerTimestampResponse.server_timestamp_ms)
253    pub server_timestamp_ms: ::std::option::Option<u64>,
254    // special fields
255    // @@protoc_insertion_point(special_field:CMsgClientServerTimestampResponse.special_fields)
256    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
257}
258
259impl<'a> ::std::default::Default for &'a CMsgClientServerTimestampResponse {
260    fn default() -> &'a CMsgClientServerTimestampResponse {
261        <CMsgClientServerTimestampResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
262    }
263}
264
265impl CMsgClientServerTimestampResponse {
266    pub fn new() -> CMsgClientServerTimestampResponse {
267        ::std::default::Default::default()
268    }
269
270    // optional uint64 client_request_timestamp = 1;
271
272    pub fn client_request_timestamp(&self) -> u64 {
273        self.client_request_timestamp.unwrap_or(0)
274    }
275
276    pub fn clear_client_request_timestamp(&mut self) {
277        self.client_request_timestamp = ::std::option::Option::None;
278    }
279
280    pub fn has_client_request_timestamp(&self) -> bool {
281        self.client_request_timestamp.is_some()
282    }
283
284    // Param is passed by value, moved
285    pub fn set_client_request_timestamp(&mut self, v: u64) {
286        self.client_request_timestamp = ::std::option::Option::Some(v);
287    }
288
289    // optional uint64 server_timestamp_ms = 2;
290
291    pub fn server_timestamp_ms(&self) -> u64 {
292        self.server_timestamp_ms.unwrap_or(0)
293    }
294
295    pub fn clear_server_timestamp_ms(&mut self) {
296        self.server_timestamp_ms = ::std::option::Option::None;
297    }
298
299    pub fn has_server_timestamp_ms(&self) -> bool {
300        self.server_timestamp_ms.is_some()
301    }
302
303    // Param is passed by value, moved
304    pub fn set_server_timestamp_ms(&mut self, v: u64) {
305        self.server_timestamp_ms = ::std::option::Option::Some(v);
306    }
307}
308
309impl ::steam_vent_proto_common::protobuf::Message for CMsgClientServerTimestampResponse {
310    const NAME: &'static str = "CMsgClientServerTimestampResponse";
311
312    fn is_initialized(&self) -> bool {
313        true
314    }
315
316    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
317        while let Some(tag) = is.read_raw_tag_or_eof()? {
318            match tag {
319                8 => {
320                    self.client_request_timestamp = ::std::option::Option::Some(is.read_uint64()?);
321                },
322                16 => {
323                    self.server_timestamp_ms = ::std::option::Option::Some(is.read_uint64()?);
324                },
325                tag => {
326                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
327                },
328            };
329        }
330        ::std::result::Result::Ok(())
331    }
332
333    // Compute sizes of nested messages
334    #[allow(unused_variables)]
335    fn compute_size(&self) -> u64 {
336        let mut my_size = 0;
337        if let Some(v) = self.client_request_timestamp {
338            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
339        }
340        if let Some(v) = self.server_timestamp_ms {
341            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
342        }
343        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
344        self.special_fields.cached_size().set(my_size as u32);
345        my_size
346    }
347
348    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
349        if let Some(v) = self.client_request_timestamp {
350            os.write_uint64(1, v)?;
351        }
352        if let Some(v) = self.server_timestamp_ms {
353            os.write_uint64(2, v)?;
354        }
355        os.write_unknown_fields(self.special_fields.unknown_fields())?;
356        ::std::result::Result::Ok(())
357    }
358
359    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
360        &self.special_fields
361    }
362
363    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
364        &mut self.special_fields
365    }
366
367    fn new() -> CMsgClientServerTimestampResponse {
368        CMsgClientServerTimestampResponse::new()
369    }
370
371    fn clear(&mut self) {
372        self.client_request_timestamp = ::std::option::Option::None;
373        self.server_timestamp_ms = ::std::option::Option::None;
374        self.special_fields.clear();
375    }
376
377    fn default_instance() -> &'static CMsgClientServerTimestampResponse {
378        static instance: CMsgClientServerTimestampResponse = CMsgClientServerTimestampResponse {
379            client_request_timestamp: ::std::option::Option::None,
380            server_timestamp_ms: ::std::option::Option::None,
381            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
382        };
383        &instance
384    }
385}
386
387// @@protoc_insertion_point(message:CMsgClientSecret)
388#[derive(PartialEq,Clone,Default,Debug)]
389pub struct CMsgClientSecret {
390    // message fields
391    // @@protoc_insertion_point(field:CMsgClientSecret.version)
392    pub version: ::std::option::Option<u32>,
393    // @@protoc_insertion_point(field:CMsgClientSecret.appid)
394    pub appid: ::std::option::Option<u32>,
395    // @@protoc_insertion_point(field:CMsgClientSecret.deviceid)
396    pub deviceid: ::std::option::Option<u32>,
397    // @@protoc_insertion_point(field:CMsgClientSecret.nonce)
398    pub nonce: ::std::option::Option<u64>,
399    // @@protoc_insertion_point(field:CMsgClientSecret.hmac)
400    pub hmac: ::std::option::Option<::std::vec::Vec<u8>>,
401    // special fields
402    // @@protoc_insertion_point(special_field:CMsgClientSecret.special_fields)
403    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
404}
405
406impl<'a> ::std::default::Default for &'a CMsgClientSecret {
407    fn default() -> &'a CMsgClientSecret {
408        <CMsgClientSecret as ::steam_vent_proto_common::protobuf::Message>::default_instance()
409    }
410}
411
412impl CMsgClientSecret {
413    pub fn new() -> CMsgClientSecret {
414        ::std::default::Default::default()
415    }
416
417    // optional uint32 version = 1;
418
419    pub fn version(&self) -> u32 {
420        self.version.unwrap_or(0)
421    }
422
423    pub fn clear_version(&mut self) {
424        self.version = ::std::option::Option::None;
425    }
426
427    pub fn has_version(&self) -> bool {
428        self.version.is_some()
429    }
430
431    // Param is passed by value, moved
432    pub fn set_version(&mut self, v: u32) {
433        self.version = ::std::option::Option::Some(v);
434    }
435
436    // optional uint32 appid = 2;
437
438    pub fn appid(&self) -> u32 {
439        self.appid.unwrap_or(0)
440    }
441
442    pub fn clear_appid(&mut self) {
443        self.appid = ::std::option::Option::None;
444    }
445
446    pub fn has_appid(&self) -> bool {
447        self.appid.is_some()
448    }
449
450    // Param is passed by value, moved
451    pub fn set_appid(&mut self, v: u32) {
452        self.appid = ::std::option::Option::Some(v);
453    }
454
455    // optional uint32 deviceid = 3;
456
457    pub fn deviceid(&self) -> u32 {
458        self.deviceid.unwrap_or(0)
459    }
460
461    pub fn clear_deviceid(&mut self) {
462        self.deviceid = ::std::option::Option::None;
463    }
464
465    pub fn has_deviceid(&self) -> bool {
466        self.deviceid.is_some()
467    }
468
469    // Param is passed by value, moved
470    pub fn set_deviceid(&mut self, v: u32) {
471        self.deviceid = ::std::option::Option::Some(v);
472    }
473
474    // optional fixed64 nonce = 4;
475
476    pub fn nonce(&self) -> u64 {
477        self.nonce.unwrap_or(0)
478    }
479
480    pub fn clear_nonce(&mut self) {
481        self.nonce = ::std::option::Option::None;
482    }
483
484    pub fn has_nonce(&self) -> bool {
485        self.nonce.is_some()
486    }
487
488    // Param is passed by value, moved
489    pub fn set_nonce(&mut self, v: u64) {
490        self.nonce = ::std::option::Option::Some(v);
491    }
492
493    // optional bytes hmac = 5;
494
495    pub fn hmac(&self) -> &[u8] {
496        match self.hmac.as_ref() {
497            Some(v) => v,
498            None => &[],
499        }
500    }
501
502    pub fn clear_hmac(&mut self) {
503        self.hmac = ::std::option::Option::None;
504    }
505
506    pub fn has_hmac(&self) -> bool {
507        self.hmac.is_some()
508    }
509
510    // Param is passed by value, moved
511    pub fn set_hmac(&mut self, v: ::std::vec::Vec<u8>) {
512        self.hmac = ::std::option::Option::Some(v);
513    }
514
515    // Mutable pointer to the field.
516    // If field is not initialized, it is initialized with default value first.
517    pub fn mut_hmac(&mut self) -> &mut ::std::vec::Vec<u8> {
518        if self.hmac.is_none() {
519            self.hmac = ::std::option::Option::Some(::std::vec::Vec::new());
520        }
521        self.hmac.as_mut().unwrap()
522    }
523
524    // Take field
525    pub fn take_hmac(&mut self) -> ::std::vec::Vec<u8> {
526        self.hmac.take().unwrap_or_else(|| ::std::vec::Vec::new())
527    }
528}
529
530impl ::steam_vent_proto_common::protobuf::Message for CMsgClientSecret {
531    const NAME: &'static str = "CMsgClientSecret";
532
533    fn is_initialized(&self) -> bool {
534        true
535    }
536
537    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
538        while let Some(tag) = is.read_raw_tag_or_eof()? {
539            match tag {
540                8 => {
541                    self.version = ::std::option::Option::Some(is.read_uint32()?);
542                },
543                16 => {
544                    self.appid = ::std::option::Option::Some(is.read_uint32()?);
545                },
546                24 => {
547                    self.deviceid = ::std::option::Option::Some(is.read_uint32()?);
548                },
549                33 => {
550                    self.nonce = ::std::option::Option::Some(is.read_fixed64()?);
551                },
552                42 => {
553                    self.hmac = ::std::option::Option::Some(is.read_bytes()?);
554                },
555                tag => {
556                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
557                },
558            };
559        }
560        ::std::result::Result::Ok(())
561    }
562
563    // Compute sizes of nested messages
564    #[allow(unused_variables)]
565    fn compute_size(&self) -> u64 {
566        let mut my_size = 0;
567        if let Some(v) = self.version {
568            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
569        }
570        if let Some(v) = self.appid {
571            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
572        }
573        if let Some(v) = self.deviceid {
574            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
575        }
576        if let Some(v) = self.nonce {
577            my_size += 1 + 8;
578        }
579        if let Some(v) = self.hmac.as_ref() {
580            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(5, &v);
581        }
582        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
583        self.special_fields.cached_size().set(my_size as u32);
584        my_size
585    }
586
587    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
588        if let Some(v) = self.version {
589            os.write_uint32(1, v)?;
590        }
591        if let Some(v) = self.appid {
592            os.write_uint32(2, v)?;
593        }
594        if let Some(v) = self.deviceid {
595            os.write_uint32(3, v)?;
596        }
597        if let Some(v) = self.nonce {
598            os.write_fixed64(4, v)?;
599        }
600        if let Some(v) = self.hmac.as_ref() {
601            os.write_bytes(5, v)?;
602        }
603        os.write_unknown_fields(self.special_fields.unknown_fields())?;
604        ::std::result::Result::Ok(())
605    }
606
607    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
608        &self.special_fields
609    }
610
611    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
612        &mut self.special_fields
613    }
614
615    fn new() -> CMsgClientSecret {
616        CMsgClientSecret::new()
617    }
618
619    fn clear(&mut self) {
620        self.version = ::std::option::Option::None;
621        self.appid = ::std::option::Option::None;
622        self.deviceid = ::std::option::Option::None;
623        self.nonce = ::std::option::Option::None;
624        self.hmac = ::std::option::Option::None;
625        self.special_fields.clear();
626    }
627
628    fn default_instance() -> &'static CMsgClientSecret {
629        static instance: CMsgClientSecret = CMsgClientSecret {
630            version: ::std::option::Option::None,
631            appid: ::std::option::Option::None,
632            deviceid: ::std::option::Option::None,
633            nonce: ::std::option::Option::None,
634            hmac: ::std::option::Option::None,
635            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
636        };
637        &instance
638    }
639}
640
641// @@protoc_insertion_point(message:CMsgClientHello)
642#[derive(PartialEq,Clone,Default,Debug)]
643pub struct CMsgClientHello {
644    // message fields
645    // @@protoc_insertion_point(field:CMsgClientHello.protocol_version)
646    pub protocol_version: ::std::option::Option<u32>,
647    // special fields
648    // @@protoc_insertion_point(special_field:CMsgClientHello.special_fields)
649    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
650}
651
652impl<'a> ::std::default::Default for &'a CMsgClientHello {
653    fn default() -> &'a CMsgClientHello {
654        <CMsgClientHello as ::steam_vent_proto_common::protobuf::Message>::default_instance()
655    }
656}
657
658impl CMsgClientHello {
659    pub fn new() -> CMsgClientHello {
660        ::std::default::Default::default()
661    }
662
663    // optional uint32 protocol_version = 1;
664
665    pub fn protocol_version(&self) -> u32 {
666        self.protocol_version.unwrap_or(0)
667    }
668
669    pub fn clear_protocol_version(&mut self) {
670        self.protocol_version = ::std::option::Option::None;
671    }
672
673    pub fn has_protocol_version(&self) -> bool {
674        self.protocol_version.is_some()
675    }
676
677    // Param is passed by value, moved
678    pub fn set_protocol_version(&mut self, v: u32) {
679        self.protocol_version = ::std::option::Option::Some(v);
680    }
681}
682
683impl ::steam_vent_proto_common::protobuf::Message for CMsgClientHello {
684    const NAME: &'static str = "CMsgClientHello";
685
686    fn is_initialized(&self) -> bool {
687        true
688    }
689
690    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
691        while let Some(tag) = is.read_raw_tag_or_eof()? {
692            match tag {
693                8 => {
694                    self.protocol_version = ::std::option::Option::Some(is.read_uint32()?);
695                },
696                tag => {
697                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
698                },
699            };
700        }
701        ::std::result::Result::Ok(())
702    }
703
704    // Compute sizes of nested messages
705    #[allow(unused_variables)]
706    fn compute_size(&self) -> u64 {
707        let mut my_size = 0;
708        if let Some(v) = self.protocol_version {
709            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
710        }
711        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
712        self.special_fields.cached_size().set(my_size as u32);
713        my_size
714    }
715
716    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
717        if let Some(v) = self.protocol_version {
718            os.write_uint32(1, v)?;
719        }
720        os.write_unknown_fields(self.special_fields.unknown_fields())?;
721        ::std::result::Result::Ok(())
722    }
723
724    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
725        &self.special_fields
726    }
727
728    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
729        &mut self.special_fields
730    }
731
732    fn new() -> CMsgClientHello {
733        CMsgClientHello::new()
734    }
735
736    fn clear(&mut self) {
737        self.protocol_version = ::std::option::Option::None;
738        self.special_fields.clear();
739    }
740
741    fn default_instance() -> &'static CMsgClientHello {
742        static instance: CMsgClientHello = CMsgClientHello {
743            protocol_version: ::std::option::Option::None,
744            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
745        };
746        &instance
747    }
748}
749
750// @@protoc_insertion_point(message:CMsgClientLogon)
751#[derive(PartialEq,Clone,Default,Debug)]
752pub struct CMsgClientLogon {
753    // message fields
754    // @@protoc_insertion_point(field:CMsgClientLogon.protocol_version)
755    pub protocol_version: ::std::option::Option<u32>,
756    // @@protoc_insertion_point(field:CMsgClientLogon.deprecated_obfustucated_private_ip)
757    pub deprecated_obfustucated_private_ip: ::std::option::Option<u32>,
758    // @@protoc_insertion_point(field:CMsgClientLogon.cell_id)
759    pub cell_id: ::std::option::Option<u32>,
760    // @@protoc_insertion_point(field:CMsgClientLogon.last_session_id)
761    pub last_session_id: ::std::option::Option<u32>,
762    // @@protoc_insertion_point(field:CMsgClientLogon.client_package_version)
763    pub client_package_version: ::std::option::Option<u32>,
764    // @@protoc_insertion_point(field:CMsgClientLogon.client_language)
765    pub client_language: ::std::option::Option<::std::string::String>,
766    // @@protoc_insertion_point(field:CMsgClientLogon.client_os_type)
767    pub client_os_type: ::std::option::Option<u32>,
768    // @@protoc_insertion_point(field:CMsgClientLogon.should_remember_password)
769    pub should_remember_password: ::std::option::Option<bool>,
770    // @@protoc_insertion_point(field:CMsgClientLogon.wine_version)
771    pub wine_version: ::std::option::Option<::std::string::String>,
772    // @@protoc_insertion_point(field:CMsgClientLogon.deprecated_10)
773    pub deprecated_10: ::std::option::Option<u32>,
774    // @@protoc_insertion_point(field:CMsgClientLogon.obfuscated_private_ip)
775    pub obfuscated_private_ip: ::steam_vent_proto_common::protobuf::MessageField<super::steammessages_base::CMsgIPAddress>,
776    // @@protoc_insertion_point(field:CMsgClientLogon.deprecated_public_ip)
777    pub deprecated_public_ip: ::std::option::Option<u32>,
778    // @@protoc_insertion_point(field:CMsgClientLogon.qos_level)
779    pub qos_level: ::std::option::Option<u32>,
780    // @@protoc_insertion_point(field:CMsgClientLogon.client_supplied_steam_id)
781    pub client_supplied_steam_id: ::std::option::Option<u64>,
782    // @@protoc_insertion_point(field:CMsgClientLogon.public_ip)
783    pub public_ip: ::steam_vent_proto_common::protobuf::MessageField<super::steammessages_base::CMsgIPAddress>,
784    // @@protoc_insertion_point(field:CMsgClientLogon.machine_id)
785    pub machine_id: ::std::option::Option<::std::vec::Vec<u8>>,
786    // @@protoc_insertion_point(field:CMsgClientLogon.launcher_type)
787    pub launcher_type: ::std::option::Option<u32>,
788    // @@protoc_insertion_point(field:CMsgClientLogon.ui_mode)
789    pub ui_mode: ::std::option::Option<u32>,
790    // @@protoc_insertion_point(field:CMsgClientLogon.chat_mode)
791    pub chat_mode: ::std::option::Option<u32>,
792    // @@protoc_insertion_point(field:CMsgClientLogon.steam2_auth_ticket)
793    pub steam2_auth_ticket: ::std::option::Option<::std::vec::Vec<u8>>,
794    // @@protoc_insertion_point(field:CMsgClientLogon.email_address)
795    pub email_address: ::std::option::Option<::std::string::String>,
796    // @@protoc_insertion_point(field:CMsgClientLogon.rtime32_account_creation)
797    pub rtime32_account_creation: ::std::option::Option<u32>,
798    // @@protoc_insertion_point(field:CMsgClientLogon.account_name)
799    pub account_name: ::std::option::Option<::std::string::String>,
800    // @@protoc_insertion_point(field:CMsgClientLogon.password)
801    pub password: ::std::option::Option<::std::string::String>,
802    // @@protoc_insertion_point(field:CMsgClientLogon.game_server_token)
803    pub game_server_token: ::std::option::Option<::std::string::String>,
804    // @@protoc_insertion_point(field:CMsgClientLogon.login_key)
805    pub login_key: ::std::option::Option<::std::string::String>,
806    // @@protoc_insertion_point(field:CMsgClientLogon.was_converted_deprecated_msg)
807    pub was_converted_deprecated_msg: ::std::option::Option<bool>,
808    // @@protoc_insertion_point(field:CMsgClientLogon.anon_user_target_account_name)
809    pub anon_user_target_account_name: ::std::option::Option<::std::string::String>,
810    // @@protoc_insertion_point(field:CMsgClientLogon.resolved_user_steam_id)
811    pub resolved_user_steam_id: ::std::option::Option<u64>,
812    // @@protoc_insertion_point(field:CMsgClientLogon.eresult_sentryfile)
813    pub eresult_sentryfile: ::std::option::Option<i32>,
814    // @@protoc_insertion_point(field:CMsgClientLogon.sha_sentryfile)
815    pub sha_sentryfile: ::std::option::Option<::std::vec::Vec<u8>>,
816    // @@protoc_insertion_point(field:CMsgClientLogon.auth_code)
817    pub auth_code: ::std::option::Option<::std::string::String>,
818    // @@protoc_insertion_point(field:CMsgClientLogon.otp_type)
819    pub otp_type: ::std::option::Option<i32>,
820    // @@protoc_insertion_point(field:CMsgClientLogon.otp_value)
821    pub otp_value: ::std::option::Option<u32>,
822    // @@protoc_insertion_point(field:CMsgClientLogon.otp_identifier)
823    pub otp_identifier: ::std::option::Option<::std::string::String>,
824    // @@protoc_insertion_point(field:CMsgClientLogon.steam2_ticket_request)
825    pub steam2_ticket_request: ::std::option::Option<bool>,
826    // @@protoc_insertion_point(field:CMsgClientLogon.sony_psn_ticket)
827    pub sony_psn_ticket: ::std::option::Option<::std::vec::Vec<u8>>,
828    // @@protoc_insertion_point(field:CMsgClientLogon.sony_psn_service_id)
829    pub sony_psn_service_id: ::std::option::Option<::std::string::String>,
830    // @@protoc_insertion_point(field:CMsgClientLogon.create_new_psn_linked_account_if_needed)
831    pub create_new_psn_linked_account_if_needed: ::std::option::Option<bool>,
832    // @@protoc_insertion_point(field:CMsgClientLogon.sony_psn_name)
833    pub sony_psn_name: ::std::option::Option<::std::string::String>,
834    // @@protoc_insertion_point(field:CMsgClientLogon.game_server_app_id)
835    pub game_server_app_id: ::std::option::Option<i32>,
836    // @@protoc_insertion_point(field:CMsgClientLogon.steamguard_dont_remember_computer)
837    pub steamguard_dont_remember_computer: ::std::option::Option<bool>,
838    // @@protoc_insertion_point(field:CMsgClientLogon.machine_name)
839    pub machine_name: ::std::option::Option<::std::string::String>,
840    // @@protoc_insertion_point(field:CMsgClientLogon.machine_name_userchosen)
841    pub machine_name_userchosen: ::std::option::Option<::std::string::String>,
842    // @@protoc_insertion_point(field:CMsgClientLogon.country_override)
843    pub country_override: ::std::option::Option<::std::string::String>,
844    // @@protoc_insertion_point(field:CMsgClientLogon.is_steam_box)
845    pub is_steam_box: ::std::option::Option<bool>,
846    // @@protoc_insertion_point(field:CMsgClientLogon.client_instance_id)
847    pub client_instance_id: ::std::option::Option<u64>,
848    // @@protoc_insertion_point(field:CMsgClientLogon.two_factor_code)
849    pub two_factor_code: ::std::option::Option<::std::string::String>,
850    // @@protoc_insertion_point(field:CMsgClientLogon.supports_rate_limit_response)
851    pub supports_rate_limit_response: ::std::option::Option<bool>,
852    // @@protoc_insertion_point(field:CMsgClientLogon.web_logon_nonce)
853    pub web_logon_nonce: ::std::option::Option<::std::string::String>,
854    // @@protoc_insertion_point(field:CMsgClientLogon.priority_reason)
855    pub priority_reason: ::std::option::Option<i32>,
856    // @@protoc_insertion_point(field:CMsgClientLogon.embedded_client_secret)
857    pub embedded_client_secret: ::steam_vent_proto_common::protobuf::MessageField<CMsgClientSecret>,
858    // @@protoc_insertion_point(field:CMsgClientLogon.disable_partner_autogrants)
859    pub disable_partner_autogrants: ::std::option::Option<bool>,
860    // @@protoc_insertion_point(field:CMsgClientLogon.is_steam_deck)
861    pub is_steam_deck: ::std::option::Option<bool>,
862    // @@protoc_insertion_point(field:CMsgClientLogon.access_token)
863    pub access_token: ::std::option::Option<::std::string::String>,
864    // @@protoc_insertion_point(field:CMsgClientLogon.is_chrome_os)
865    pub is_chrome_os: ::std::option::Option<bool>,
866    // @@protoc_insertion_point(field:CMsgClientLogon.is_tesla)
867    pub is_tesla: ::std::option::Option<bool>,
868    // special fields
869    // @@protoc_insertion_point(special_field:CMsgClientLogon.special_fields)
870    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
871}
872
873impl<'a> ::std::default::Default for &'a CMsgClientLogon {
874    fn default() -> &'a CMsgClientLogon {
875        <CMsgClientLogon as ::steam_vent_proto_common::protobuf::Message>::default_instance()
876    }
877}
878
879impl CMsgClientLogon {
880    pub fn new() -> CMsgClientLogon {
881        ::std::default::Default::default()
882    }
883
884    // optional uint32 protocol_version = 1;
885
886    pub fn protocol_version(&self) -> u32 {
887        self.protocol_version.unwrap_or(0)
888    }
889
890    pub fn clear_protocol_version(&mut self) {
891        self.protocol_version = ::std::option::Option::None;
892    }
893
894    pub fn has_protocol_version(&self) -> bool {
895        self.protocol_version.is_some()
896    }
897
898    // Param is passed by value, moved
899    pub fn set_protocol_version(&mut self, v: u32) {
900        self.protocol_version = ::std::option::Option::Some(v);
901    }
902
903    // optional uint32 deprecated_obfustucated_private_ip = 2;
904
905    pub fn deprecated_obfustucated_private_ip(&self) -> u32 {
906        self.deprecated_obfustucated_private_ip.unwrap_or(0)
907    }
908
909    pub fn clear_deprecated_obfustucated_private_ip(&mut self) {
910        self.deprecated_obfustucated_private_ip = ::std::option::Option::None;
911    }
912
913    pub fn has_deprecated_obfustucated_private_ip(&self) -> bool {
914        self.deprecated_obfustucated_private_ip.is_some()
915    }
916
917    // Param is passed by value, moved
918    pub fn set_deprecated_obfustucated_private_ip(&mut self, v: u32) {
919        self.deprecated_obfustucated_private_ip = ::std::option::Option::Some(v);
920    }
921
922    // optional uint32 cell_id = 3;
923
924    pub fn cell_id(&self) -> u32 {
925        self.cell_id.unwrap_or(0)
926    }
927
928    pub fn clear_cell_id(&mut self) {
929        self.cell_id = ::std::option::Option::None;
930    }
931
932    pub fn has_cell_id(&self) -> bool {
933        self.cell_id.is_some()
934    }
935
936    // Param is passed by value, moved
937    pub fn set_cell_id(&mut self, v: u32) {
938        self.cell_id = ::std::option::Option::Some(v);
939    }
940
941    // optional uint32 last_session_id = 4;
942
943    pub fn last_session_id(&self) -> u32 {
944        self.last_session_id.unwrap_or(0)
945    }
946
947    pub fn clear_last_session_id(&mut self) {
948        self.last_session_id = ::std::option::Option::None;
949    }
950
951    pub fn has_last_session_id(&self) -> bool {
952        self.last_session_id.is_some()
953    }
954
955    // Param is passed by value, moved
956    pub fn set_last_session_id(&mut self, v: u32) {
957        self.last_session_id = ::std::option::Option::Some(v);
958    }
959
960    // optional uint32 client_package_version = 5;
961
962    pub fn client_package_version(&self) -> u32 {
963        self.client_package_version.unwrap_or(0)
964    }
965
966    pub fn clear_client_package_version(&mut self) {
967        self.client_package_version = ::std::option::Option::None;
968    }
969
970    pub fn has_client_package_version(&self) -> bool {
971        self.client_package_version.is_some()
972    }
973
974    // Param is passed by value, moved
975    pub fn set_client_package_version(&mut self, v: u32) {
976        self.client_package_version = ::std::option::Option::Some(v);
977    }
978
979    // optional string client_language = 6;
980
981    pub fn client_language(&self) -> &str {
982        match self.client_language.as_ref() {
983            Some(v) => v,
984            None => "",
985        }
986    }
987
988    pub fn clear_client_language(&mut self) {
989        self.client_language = ::std::option::Option::None;
990    }
991
992    pub fn has_client_language(&self) -> bool {
993        self.client_language.is_some()
994    }
995
996    // Param is passed by value, moved
997    pub fn set_client_language(&mut self, v: ::std::string::String) {
998        self.client_language = ::std::option::Option::Some(v);
999    }
1000
1001    // Mutable pointer to the field.
1002    // If field is not initialized, it is initialized with default value first.
1003    pub fn mut_client_language(&mut self) -> &mut ::std::string::String {
1004        if self.client_language.is_none() {
1005            self.client_language = ::std::option::Option::Some(::std::string::String::new());
1006        }
1007        self.client_language.as_mut().unwrap()
1008    }
1009
1010    // Take field
1011    pub fn take_client_language(&mut self) -> ::std::string::String {
1012        self.client_language.take().unwrap_or_else(|| ::std::string::String::new())
1013    }
1014
1015    // optional uint32 client_os_type = 7;
1016
1017    pub fn client_os_type(&self) -> u32 {
1018        self.client_os_type.unwrap_or(0)
1019    }
1020
1021    pub fn clear_client_os_type(&mut self) {
1022        self.client_os_type = ::std::option::Option::None;
1023    }
1024
1025    pub fn has_client_os_type(&self) -> bool {
1026        self.client_os_type.is_some()
1027    }
1028
1029    // Param is passed by value, moved
1030    pub fn set_client_os_type(&mut self, v: u32) {
1031        self.client_os_type = ::std::option::Option::Some(v);
1032    }
1033
1034    // optional bool should_remember_password = 8;
1035
1036    pub fn should_remember_password(&self) -> bool {
1037        self.should_remember_password.unwrap_or(false)
1038    }
1039
1040    pub fn clear_should_remember_password(&mut self) {
1041        self.should_remember_password = ::std::option::Option::None;
1042    }
1043
1044    pub fn has_should_remember_password(&self) -> bool {
1045        self.should_remember_password.is_some()
1046    }
1047
1048    // Param is passed by value, moved
1049    pub fn set_should_remember_password(&mut self, v: bool) {
1050        self.should_remember_password = ::std::option::Option::Some(v);
1051    }
1052
1053    // optional string wine_version = 9;
1054
1055    pub fn wine_version(&self) -> &str {
1056        match self.wine_version.as_ref() {
1057            Some(v) => v,
1058            None => "",
1059        }
1060    }
1061
1062    pub fn clear_wine_version(&mut self) {
1063        self.wine_version = ::std::option::Option::None;
1064    }
1065
1066    pub fn has_wine_version(&self) -> bool {
1067        self.wine_version.is_some()
1068    }
1069
1070    // Param is passed by value, moved
1071    pub fn set_wine_version(&mut self, v: ::std::string::String) {
1072        self.wine_version = ::std::option::Option::Some(v);
1073    }
1074
1075    // Mutable pointer to the field.
1076    // If field is not initialized, it is initialized with default value first.
1077    pub fn mut_wine_version(&mut self) -> &mut ::std::string::String {
1078        if self.wine_version.is_none() {
1079            self.wine_version = ::std::option::Option::Some(::std::string::String::new());
1080        }
1081        self.wine_version.as_mut().unwrap()
1082    }
1083
1084    // Take field
1085    pub fn take_wine_version(&mut self) -> ::std::string::String {
1086        self.wine_version.take().unwrap_or_else(|| ::std::string::String::new())
1087    }
1088
1089    // optional uint32 deprecated_10 = 10;
1090
1091    pub fn deprecated_10(&self) -> u32 {
1092        self.deprecated_10.unwrap_or(0)
1093    }
1094
1095    pub fn clear_deprecated_10(&mut self) {
1096        self.deprecated_10 = ::std::option::Option::None;
1097    }
1098
1099    pub fn has_deprecated_10(&self) -> bool {
1100        self.deprecated_10.is_some()
1101    }
1102
1103    // Param is passed by value, moved
1104    pub fn set_deprecated_10(&mut self, v: u32) {
1105        self.deprecated_10 = ::std::option::Option::Some(v);
1106    }
1107
1108    // optional uint32 deprecated_public_ip = 20;
1109
1110    pub fn deprecated_public_ip(&self) -> u32 {
1111        self.deprecated_public_ip.unwrap_or(0)
1112    }
1113
1114    pub fn clear_deprecated_public_ip(&mut self) {
1115        self.deprecated_public_ip = ::std::option::Option::None;
1116    }
1117
1118    pub fn has_deprecated_public_ip(&self) -> bool {
1119        self.deprecated_public_ip.is_some()
1120    }
1121
1122    // Param is passed by value, moved
1123    pub fn set_deprecated_public_ip(&mut self, v: u32) {
1124        self.deprecated_public_ip = ::std::option::Option::Some(v);
1125    }
1126
1127    // optional uint32 qos_level = 21;
1128
1129    pub fn qos_level(&self) -> u32 {
1130        self.qos_level.unwrap_or(0)
1131    }
1132
1133    pub fn clear_qos_level(&mut self) {
1134        self.qos_level = ::std::option::Option::None;
1135    }
1136
1137    pub fn has_qos_level(&self) -> bool {
1138        self.qos_level.is_some()
1139    }
1140
1141    // Param is passed by value, moved
1142    pub fn set_qos_level(&mut self, v: u32) {
1143        self.qos_level = ::std::option::Option::Some(v);
1144    }
1145
1146    // optional fixed64 client_supplied_steam_id = 22;
1147
1148    pub fn client_supplied_steam_id(&self) -> u64 {
1149        self.client_supplied_steam_id.unwrap_or(0)
1150    }
1151
1152    pub fn clear_client_supplied_steam_id(&mut self) {
1153        self.client_supplied_steam_id = ::std::option::Option::None;
1154    }
1155
1156    pub fn has_client_supplied_steam_id(&self) -> bool {
1157        self.client_supplied_steam_id.is_some()
1158    }
1159
1160    // Param is passed by value, moved
1161    pub fn set_client_supplied_steam_id(&mut self, v: u64) {
1162        self.client_supplied_steam_id = ::std::option::Option::Some(v);
1163    }
1164
1165    // optional bytes machine_id = 30;
1166
1167    pub fn machine_id(&self) -> &[u8] {
1168        match self.machine_id.as_ref() {
1169            Some(v) => v,
1170            None => &[],
1171        }
1172    }
1173
1174    pub fn clear_machine_id(&mut self) {
1175        self.machine_id = ::std::option::Option::None;
1176    }
1177
1178    pub fn has_machine_id(&self) -> bool {
1179        self.machine_id.is_some()
1180    }
1181
1182    // Param is passed by value, moved
1183    pub fn set_machine_id(&mut self, v: ::std::vec::Vec<u8>) {
1184        self.machine_id = ::std::option::Option::Some(v);
1185    }
1186
1187    // Mutable pointer to the field.
1188    // If field is not initialized, it is initialized with default value first.
1189    pub fn mut_machine_id(&mut self) -> &mut ::std::vec::Vec<u8> {
1190        if self.machine_id.is_none() {
1191            self.machine_id = ::std::option::Option::Some(::std::vec::Vec::new());
1192        }
1193        self.machine_id.as_mut().unwrap()
1194    }
1195
1196    // Take field
1197    pub fn take_machine_id(&mut self) -> ::std::vec::Vec<u8> {
1198        self.machine_id.take().unwrap_or_else(|| ::std::vec::Vec::new())
1199    }
1200
1201    // optional uint32 launcher_type = 31;
1202
1203    pub fn launcher_type(&self) -> u32 {
1204        self.launcher_type.unwrap_or(0u32)
1205    }
1206
1207    pub fn clear_launcher_type(&mut self) {
1208        self.launcher_type = ::std::option::Option::None;
1209    }
1210
1211    pub fn has_launcher_type(&self) -> bool {
1212        self.launcher_type.is_some()
1213    }
1214
1215    // Param is passed by value, moved
1216    pub fn set_launcher_type(&mut self, v: u32) {
1217        self.launcher_type = ::std::option::Option::Some(v);
1218    }
1219
1220    // optional uint32 ui_mode = 32;
1221
1222    pub fn ui_mode(&self) -> u32 {
1223        self.ui_mode.unwrap_or(0u32)
1224    }
1225
1226    pub fn clear_ui_mode(&mut self) {
1227        self.ui_mode = ::std::option::Option::None;
1228    }
1229
1230    pub fn has_ui_mode(&self) -> bool {
1231        self.ui_mode.is_some()
1232    }
1233
1234    // Param is passed by value, moved
1235    pub fn set_ui_mode(&mut self, v: u32) {
1236        self.ui_mode = ::std::option::Option::Some(v);
1237    }
1238
1239    // optional uint32 chat_mode = 33;
1240
1241    pub fn chat_mode(&self) -> u32 {
1242        self.chat_mode.unwrap_or(0u32)
1243    }
1244
1245    pub fn clear_chat_mode(&mut self) {
1246        self.chat_mode = ::std::option::Option::None;
1247    }
1248
1249    pub fn has_chat_mode(&self) -> bool {
1250        self.chat_mode.is_some()
1251    }
1252
1253    // Param is passed by value, moved
1254    pub fn set_chat_mode(&mut self, v: u32) {
1255        self.chat_mode = ::std::option::Option::Some(v);
1256    }
1257
1258    // optional bytes steam2_auth_ticket = 41;
1259
1260    pub fn steam2_auth_ticket(&self) -> &[u8] {
1261        match self.steam2_auth_ticket.as_ref() {
1262            Some(v) => v,
1263            None => &[],
1264        }
1265    }
1266
1267    pub fn clear_steam2_auth_ticket(&mut self) {
1268        self.steam2_auth_ticket = ::std::option::Option::None;
1269    }
1270
1271    pub fn has_steam2_auth_ticket(&self) -> bool {
1272        self.steam2_auth_ticket.is_some()
1273    }
1274
1275    // Param is passed by value, moved
1276    pub fn set_steam2_auth_ticket(&mut self, v: ::std::vec::Vec<u8>) {
1277        self.steam2_auth_ticket = ::std::option::Option::Some(v);
1278    }
1279
1280    // Mutable pointer to the field.
1281    // If field is not initialized, it is initialized with default value first.
1282    pub fn mut_steam2_auth_ticket(&mut self) -> &mut ::std::vec::Vec<u8> {
1283        if self.steam2_auth_ticket.is_none() {
1284            self.steam2_auth_ticket = ::std::option::Option::Some(::std::vec::Vec::new());
1285        }
1286        self.steam2_auth_ticket.as_mut().unwrap()
1287    }
1288
1289    // Take field
1290    pub fn take_steam2_auth_ticket(&mut self) -> ::std::vec::Vec<u8> {
1291        self.steam2_auth_ticket.take().unwrap_or_else(|| ::std::vec::Vec::new())
1292    }
1293
1294    // optional string email_address = 42;
1295
1296    pub fn email_address(&self) -> &str {
1297        match self.email_address.as_ref() {
1298            Some(v) => v,
1299            None => "",
1300        }
1301    }
1302
1303    pub fn clear_email_address(&mut self) {
1304        self.email_address = ::std::option::Option::None;
1305    }
1306
1307    pub fn has_email_address(&self) -> bool {
1308        self.email_address.is_some()
1309    }
1310
1311    // Param is passed by value, moved
1312    pub fn set_email_address(&mut self, v: ::std::string::String) {
1313        self.email_address = ::std::option::Option::Some(v);
1314    }
1315
1316    // Mutable pointer to the field.
1317    // If field is not initialized, it is initialized with default value first.
1318    pub fn mut_email_address(&mut self) -> &mut ::std::string::String {
1319        if self.email_address.is_none() {
1320            self.email_address = ::std::option::Option::Some(::std::string::String::new());
1321        }
1322        self.email_address.as_mut().unwrap()
1323    }
1324
1325    // Take field
1326    pub fn take_email_address(&mut self) -> ::std::string::String {
1327        self.email_address.take().unwrap_or_else(|| ::std::string::String::new())
1328    }
1329
1330    // optional fixed32 rtime32_account_creation = 43;
1331
1332    pub fn rtime32_account_creation(&self) -> u32 {
1333        self.rtime32_account_creation.unwrap_or(0)
1334    }
1335
1336    pub fn clear_rtime32_account_creation(&mut self) {
1337        self.rtime32_account_creation = ::std::option::Option::None;
1338    }
1339
1340    pub fn has_rtime32_account_creation(&self) -> bool {
1341        self.rtime32_account_creation.is_some()
1342    }
1343
1344    // Param is passed by value, moved
1345    pub fn set_rtime32_account_creation(&mut self, v: u32) {
1346        self.rtime32_account_creation = ::std::option::Option::Some(v);
1347    }
1348
1349    // optional string account_name = 50;
1350
1351    pub fn account_name(&self) -> &str {
1352        match self.account_name.as_ref() {
1353            Some(v) => v,
1354            None => "",
1355        }
1356    }
1357
1358    pub fn clear_account_name(&mut self) {
1359        self.account_name = ::std::option::Option::None;
1360    }
1361
1362    pub fn has_account_name(&self) -> bool {
1363        self.account_name.is_some()
1364    }
1365
1366    // Param is passed by value, moved
1367    pub fn set_account_name(&mut self, v: ::std::string::String) {
1368        self.account_name = ::std::option::Option::Some(v);
1369    }
1370
1371    // Mutable pointer to the field.
1372    // If field is not initialized, it is initialized with default value first.
1373    pub fn mut_account_name(&mut self) -> &mut ::std::string::String {
1374        if self.account_name.is_none() {
1375            self.account_name = ::std::option::Option::Some(::std::string::String::new());
1376        }
1377        self.account_name.as_mut().unwrap()
1378    }
1379
1380    // Take field
1381    pub fn take_account_name(&mut self) -> ::std::string::String {
1382        self.account_name.take().unwrap_or_else(|| ::std::string::String::new())
1383    }
1384
1385    // optional string password = 51;
1386
1387    pub fn password(&self) -> &str {
1388        match self.password.as_ref() {
1389            Some(v) => v,
1390            None => "",
1391        }
1392    }
1393
1394    pub fn clear_password(&mut self) {
1395        self.password = ::std::option::Option::None;
1396    }
1397
1398    pub fn has_password(&self) -> bool {
1399        self.password.is_some()
1400    }
1401
1402    // Param is passed by value, moved
1403    pub fn set_password(&mut self, v: ::std::string::String) {
1404        self.password = ::std::option::Option::Some(v);
1405    }
1406
1407    // Mutable pointer to the field.
1408    // If field is not initialized, it is initialized with default value first.
1409    pub fn mut_password(&mut self) -> &mut ::std::string::String {
1410        if self.password.is_none() {
1411            self.password = ::std::option::Option::Some(::std::string::String::new());
1412        }
1413        self.password.as_mut().unwrap()
1414    }
1415
1416    // Take field
1417    pub fn take_password(&mut self) -> ::std::string::String {
1418        self.password.take().unwrap_or_else(|| ::std::string::String::new())
1419    }
1420
1421    // optional string game_server_token = 52;
1422
1423    pub fn game_server_token(&self) -> &str {
1424        match self.game_server_token.as_ref() {
1425            Some(v) => v,
1426            None => "",
1427        }
1428    }
1429
1430    pub fn clear_game_server_token(&mut self) {
1431        self.game_server_token = ::std::option::Option::None;
1432    }
1433
1434    pub fn has_game_server_token(&self) -> bool {
1435        self.game_server_token.is_some()
1436    }
1437
1438    // Param is passed by value, moved
1439    pub fn set_game_server_token(&mut self, v: ::std::string::String) {
1440        self.game_server_token = ::std::option::Option::Some(v);
1441    }
1442
1443    // Mutable pointer to the field.
1444    // If field is not initialized, it is initialized with default value first.
1445    pub fn mut_game_server_token(&mut self) -> &mut ::std::string::String {
1446        if self.game_server_token.is_none() {
1447            self.game_server_token = ::std::option::Option::Some(::std::string::String::new());
1448        }
1449        self.game_server_token.as_mut().unwrap()
1450    }
1451
1452    // Take field
1453    pub fn take_game_server_token(&mut self) -> ::std::string::String {
1454        self.game_server_token.take().unwrap_or_else(|| ::std::string::String::new())
1455    }
1456
1457    // optional string login_key = 60;
1458
1459    pub fn login_key(&self) -> &str {
1460        match self.login_key.as_ref() {
1461            Some(v) => v,
1462            None => "",
1463        }
1464    }
1465
1466    pub fn clear_login_key(&mut self) {
1467        self.login_key = ::std::option::Option::None;
1468    }
1469
1470    pub fn has_login_key(&self) -> bool {
1471        self.login_key.is_some()
1472    }
1473
1474    // Param is passed by value, moved
1475    pub fn set_login_key(&mut self, v: ::std::string::String) {
1476        self.login_key = ::std::option::Option::Some(v);
1477    }
1478
1479    // Mutable pointer to the field.
1480    // If field is not initialized, it is initialized with default value first.
1481    pub fn mut_login_key(&mut self) -> &mut ::std::string::String {
1482        if self.login_key.is_none() {
1483            self.login_key = ::std::option::Option::Some(::std::string::String::new());
1484        }
1485        self.login_key.as_mut().unwrap()
1486    }
1487
1488    // Take field
1489    pub fn take_login_key(&mut self) -> ::std::string::String {
1490        self.login_key.take().unwrap_or_else(|| ::std::string::String::new())
1491    }
1492
1493    // optional bool was_converted_deprecated_msg = 70;
1494
1495    pub fn was_converted_deprecated_msg(&self) -> bool {
1496        self.was_converted_deprecated_msg.unwrap_or(false)
1497    }
1498
1499    pub fn clear_was_converted_deprecated_msg(&mut self) {
1500        self.was_converted_deprecated_msg = ::std::option::Option::None;
1501    }
1502
1503    pub fn has_was_converted_deprecated_msg(&self) -> bool {
1504        self.was_converted_deprecated_msg.is_some()
1505    }
1506
1507    // Param is passed by value, moved
1508    pub fn set_was_converted_deprecated_msg(&mut self, v: bool) {
1509        self.was_converted_deprecated_msg = ::std::option::Option::Some(v);
1510    }
1511
1512    // optional string anon_user_target_account_name = 80;
1513
1514    pub fn anon_user_target_account_name(&self) -> &str {
1515        match self.anon_user_target_account_name.as_ref() {
1516            Some(v) => v,
1517            None => "",
1518        }
1519    }
1520
1521    pub fn clear_anon_user_target_account_name(&mut self) {
1522        self.anon_user_target_account_name = ::std::option::Option::None;
1523    }
1524
1525    pub fn has_anon_user_target_account_name(&self) -> bool {
1526        self.anon_user_target_account_name.is_some()
1527    }
1528
1529    // Param is passed by value, moved
1530    pub fn set_anon_user_target_account_name(&mut self, v: ::std::string::String) {
1531        self.anon_user_target_account_name = ::std::option::Option::Some(v);
1532    }
1533
1534    // Mutable pointer to the field.
1535    // If field is not initialized, it is initialized with default value first.
1536    pub fn mut_anon_user_target_account_name(&mut self) -> &mut ::std::string::String {
1537        if self.anon_user_target_account_name.is_none() {
1538            self.anon_user_target_account_name = ::std::option::Option::Some(::std::string::String::new());
1539        }
1540        self.anon_user_target_account_name.as_mut().unwrap()
1541    }
1542
1543    // Take field
1544    pub fn take_anon_user_target_account_name(&mut self) -> ::std::string::String {
1545        self.anon_user_target_account_name.take().unwrap_or_else(|| ::std::string::String::new())
1546    }
1547
1548    // optional fixed64 resolved_user_steam_id = 81;
1549
1550    pub fn resolved_user_steam_id(&self) -> u64 {
1551        self.resolved_user_steam_id.unwrap_or(0)
1552    }
1553
1554    pub fn clear_resolved_user_steam_id(&mut self) {
1555        self.resolved_user_steam_id = ::std::option::Option::None;
1556    }
1557
1558    pub fn has_resolved_user_steam_id(&self) -> bool {
1559        self.resolved_user_steam_id.is_some()
1560    }
1561
1562    // Param is passed by value, moved
1563    pub fn set_resolved_user_steam_id(&mut self, v: u64) {
1564        self.resolved_user_steam_id = ::std::option::Option::Some(v);
1565    }
1566
1567    // optional int32 eresult_sentryfile = 82;
1568
1569    pub fn eresult_sentryfile(&self) -> i32 {
1570        self.eresult_sentryfile.unwrap_or(0)
1571    }
1572
1573    pub fn clear_eresult_sentryfile(&mut self) {
1574        self.eresult_sentryfile = ::std::option::Option::None;
1575    }
1576
1577    pub fn has_eresult_sentryfile(&self) -> bool {
1578        self.eresult_sentryfile.is_some()
1579    }
1580
1581    // Param is passed by value, moved
1582    pub fn set_eresult_sentryfile(&mut self, v: i32) {
1583        self.eresult_sentryfile = ::std::option::Option::Some(v);
1584    }
1585
1586    // optional bytes sha_sentryfile = 83;
1587
1588    pub fn sha_sentryfile(&self) -> &[u8] {
1589        match self.sha_sentryfile.as_ref() {
1590            Some(v) => v,
1591            None => &[],
1592        }
1593    }
1594
1595    pub fn clear_sha_sentryfile(&mut self) {
1596        self.sha_sentryfile = ::std::option::Option::None;
1597    }
1598
1599    pub fn has_sha_sentryfile(&self) -> bool {
1600        self.sha_sentryfile.is_some()
1601    }
1602
1603    // Param is passed by value, moved
1604    pub fn set_sha_sentryfile(&mut self, v: ::std::vec::Vec<u8>) {
1605        self.sha_sentryfile = ::std::option::Option::Some(v);
1606    }
1607
1608    // Mutable pointer to the field.
1609    // If field is not initialized, it is initialized with default value first.
1610    pub fn mut_sha_sentryfile(&mut self) -> &mut ::std::vec::Vec<u8> {
1611        if self.sha_sentryfile.is_none() {
1612            self.sha_sentryfile = ::std::option::Option::Some(::std::vec::Vec::new());
1613        }
1614        self.sha_sentryfile.as_mut().unwrap()
1615    }
1616
1617    // Take field
1618    pub fn take_sha_sentryfile(&mut self) -> ::std::vec::Vec<u8> {
1619        self.sha_sentryfile.take().unwrap_or_else(|| ::std::vec::Vec::new())
1620    }
1621
1622    // optional string auth_code = 84;
1623
1624    pub fn auth_code(&self) -> &str {
1625        match self.auth_code.as_ref() {
1626            Some(v) => v,
1627            None => "",
1628        }
1629    }
1630
1631    pub fn clear_auth_code(&mut self) {
1632        self.auth_code = ::std::option::Option::None;
1633    }
1634
1635    pub fn has_auth_code(&self) -> bool {
1636        self.auth_code.is_some()
1637    }
1638
1639    // Param is passed by value, moved
1640    pub fn set_auth_code(&mut self, v: ::std::string::String) {
1641        self.auth_code = ::std::option::Option::Some(v);
1642    }
1643
1644    // Mutable pointer to the field.
1645    // If field is not initialized, it is initialized with default value first.
1646    pub fn mut_auth_code(&mut self) -> &mut ::std::string::String {
1647        if self.auth_code.is_none() {
1648            self.auth_code = ::std::option::Option::Some(::std::string::String::new());
1649        }
1650        self.auth_code.as_mut().unwrap()
1651    }
1652
1653    // Take field
1654    pub fn take_auth_code(&mut self) -> ::std::string::String {
1655        self.auth_code.take().unwrap_or_else(|| ::std::string::String::new())
1656    }
1657
1658    // optional int32 otp_type = 85;
1659
1660    pub fn otp_type(&self) -> i32 {
1661        self.otp_type.unwrap_or(0)
1662    }
1663
1664    pub fn clear_otp_type(&mut self) {
1665        self.otp_type = ::std::option::Option::None;
1666    }
1667
1668    pub fn has_otp_type(&self) -> bool {
1669        self.otp_type.is_some()
1670    }
1671
1672    // Param is passed by value, moved
1673    pub fn set_otp_type(&mut self, v: i32) {
1674        self.otp_type = ::std::option::Option::Some(v);
1675    }
1676
1677    // optional uint32 otp_value = 86;
1678
1679    pub fn otp_value(&self) -> u32 {
1680        self.otp_value.unwrap_or(0)
1681    }
1682
1683    pub fn clear_otp_value(&mut self) {
1684        self.otp_value = ::std::option::Option::None;
1685    }
1686
1687    pub fn has_otp_value(&self) -> bool {
1688        self.otp_value.is_some()
1689    }
1690
1691    // Param is passed by value, moved
1692    pub fn set_otp_value(&mut self, v: u32) {
1693        self.otp_value = ::std::option::Option::Some(v);
1694    }
1695
1696    // optional string otp_identifier = 87;
1697
1698    pub fn otp_identifier(&self) -> &str {
1699        match self.otp_identifier.as_ref() {
1700            Some(v) => v,
1701            None => "",
1702        }
1703    }
1704
1705    pub fn clear_otp_identifier(&mut self) {
1706        self.otp_identifier = ::std::option::Option::None;
1707    }
1708
1709    pub fn has_otp_identifier(&self) -> bool {
1710        self.otp_identifier.is_some()
1711    }
1712
1713    // Param is passed by value, moved
1714    pub fn set_otp_identifier(&mut self, v: ::std::string::String) {
1715        self.otp_identifier = ::std::option::Option::Some(v);
1716    }
1717
1718    // Mutable pointer to the field.
1719    // If field is not initialized, it is initialized with default value first.
1720    pub fn mut_otp_identifier(&mut self) -> &mut ::std::string::String {
1721        if self.otp_identifier.is_none() {
1722            self.otp_identifier = ::std::option::Option::Some(::std::string::String::new());
1723        }
1724        self.otp_identifier.as_mut().unwrap()
1725    }
1726
1727    // Take field
1728    pub fn take_otp_identifier(&mut self) -> ::std::string::String {
1729        self.otp_identifier.take().unwrap_or_else(|| ::std::string::String::new())
1730    }
1731
1732    // optional bool steam2_ticket_request = 88;
1733
1734    pub fn steam2_ticket_request(&self) -> bool {
1735        self.steam2_ticket_request.unwrap_or(false)
1736    }
1737
1738    pub fn clear_steam2_ticket_request(&mut self) {
1739        self.steam2_ticket_request = ::std::option::Option::None;
1740    }
1741
1742    pub fn has_steam2_ticket_request(&self) -> bool {
1743        self.steam2_ticket_request.is_some()
1744    }
1745
1746    // Param is passed by value, moved
1747    pub fn set_steam2_ticket_request(&mut self, v: bool) {
1748        self.steam2_ticket_request = ::std::option::Option::Some(v);
1749    }
1750
1751    // optional bytes sony_psn_ticket = 90;
1752
1753    pub fn sony_psn_ticket(&self) -> &[u8] {
1754        match self.sony_psn_ticket.as_ref() {
1755            Some(v) => v,
1756            None => &[],
1757        }
1758    }
1759
1760    pub fn clear_sony_psn_ticket(&mut self) {
1761        self.sony_psn_ticket = ::std::option::Option::None;
1762    }
1763
1764    pub fn has_sony_psn_ticket(&self) -> bool {
1765        self.sony_psn_ticket.is_some()
1766    }
1767
1768    // Param is passed by value, moved
1769    pub fn set_sony_psn_ticket(&mut self, v: ::std::vec::Vec<u8>) {
1770        self.sony_psn_ticket = ::std::option::Option::Some(v);
1771    }
1772
1773    // Mutable pointer to the field.
1774    // If field is not initialized, it is initialized with default value first.
1775    pub fn mut_sony_psn_ticket(&mut self) -> &mut ::std::vec::Vec<u8> {
1776        if self.sony_psn_ticket.is_none() {
1777            self.sony_psn_ticket = ::std::option::Option::Some(::std::vec::Vec::new());
1778        }
1779        self.sony_psn_ticket.as_mut().unwrap()
1780    }
1781
1782    // Take field
1783    pub fn take_sony_psn_ticket(&mut self) -> ::std::vec::Vec<u8> {
1784        self.sony_psn_ticket.take().unwrap_or_else(|| ::std::vec::Vec::new())
1785    }
1786
1787    // optional string sony_psn_service_id = 91;
1788
1789    pub fn sony_psn_service_id(&self) -> &str {
1790        match self.sony_psn_service_id.as_ref() {
1791            Some(v) => v,
1792            None => "",
1793        }
1794    }
1795
1796    pub fn clear_sony_psn_service_id(&mut self) {
1797        self.sony_psn_service_id = ::std::option::Option::None;
1798    }
1799
1800    pub fn has_sony_psn_service_id(&self) -> bool {
1801        self.sony_psn_service_id.is_some()
1802    }
1803
1804    // Param is passed by value, moved
1805    pub fn set_sony_psn_service_id(&mut self, v: ::std::string::String) {
1806        self.sony_psn_service_id = ::std::option::Option::Some(v);
1807    }
1808
1809    // Mutable pointer to the field.
1810    // If field is not initialized, it is initialized with default value first.
1811    pub fn mut_sony_psn_service_id(&mut self) -> &mut ::std::string::String {
1812        if self.sony_psn_service_id.is_none() {
1813            self.sony_psn_service_id = ::std::option::Option::Some(::std::string::String::new());
1814        }
1815        self.sony_psn_service_id.as_mut().unwrap()
1816    }
1817
1818    // Take field
1819    pub fn take_sony_psn_service_id(&mut self) -> ::std::string::String {
1820        self.sony_psn_service_id.take().unwrap_or_else(|| ::std::string::String::new())
1821    }
1822
1823    // optional bool create_new_psn_linked_account_if_needed = 92;
1824
1825    pub fn create_new_psn_linked_account_if_needed(&self) -> bool {
1826        self.create_new_psn_linked_account_if_needed.unwrap_or(false)
1827    }
1828
1829    pub fn clear_create_new_psn_linked_account_if_needed(&mut self) {
1830        self.create_new_psn_linked_account_if_needed = ::std::option::Option::None;
1831    }
1832
1833    pub fn has_create_new_psn_linked_account_if_needed(&self) -> bool {
1834        self.create_new_psn_linked_account_if_needed.is_some()
1835    }
1836
1837    // Param is passed by value, moved
1838    pub fn set_create_new_psn_linked_account_if_needed(&mut self, v: bool) {
1839        self.create_new_psn_linked_account_if_needed = ::std::option::Option::Some(v);
1840    }
1841
1842    // optional string sony_psn_name = 93;
1843
1844    pub fn sony_psn_name(&self) -> &str {
1845        match self.sony_psn_name.as_ref() {
1846            Some(v) => v,
1847            None => "",
1848        }
1849    }
1850
1851    pub fn clear_sony_psn_name(&mut self) {
1852        self.sony_psn_name = ::std::option::Option::None;
1853    }
1854
1855    pub fn has_sony_psn_name(&self) -> bool {
1856        self.sony_psn_name.is_some()
1857    }
1858
1859    // Param is passed by value, moved
1860    pub fn set_sony_psn_name(&mut self, v: ::std::string::String) {
1861        self.sony_psn_name = ::std::option::Option::Some(v);
1862    }
1863
1864    // Mutable pointer to the field.
1865    // If field is not initialized, it is initialized with default value first.
1866    pub fn mut_sony_psn_name(&mut self) -> &mut ::std::string::String {
1867        if self.sony_psn_name.is_none() {
1868            self.sony_psn_name = ::std::option::Option::Some(::std::string::String::new());
1869        }
1870        self.sony_psn_name.as_mut().unwrap()
1871    }
1872
1873    // Take field
1874    pub fn take_sony_psn_name(&mut self) -> ::std::string::String {
1875        self.sony_psn_name.take().unwrap_or_else(|| ::std::string::String::new())
1876    }
1877
1878    // optional int32 game_server_app_id = 94;
1879
1880    pub fn game_server_app_id(&self) -> i32 {
1881        self.game_server_app_id.unwrap_or(0)
1882    }
1883
1884    pub fn clear_game_server_app_id(&mut self) {
1885        self.game_server_app_id = ::std::option::Option::None;
1886    }
1887
1888    pub fn has_game_server_app_id(&self) -> bool {
1889        self.game_server_app_id.is_some()
1890    }
1891
1892    // Param is passed by value, moved
1893    pub fn set_game_server_app_id(&mut self, v: i32) {
1894        self.game_server_app_id = ::std::option::Option::Some(v);
1895    }
1896
1897    // optional bool steamguard_dont_remember_computer = 95;
1898
1899    pub fn steamguard_dont_remember_computer(&self) -> bool {
1900        self.steamguard_dont_remember_computer.unwrap_or(false)
1901    }
1902
1903    pub fn clear_steamguard_dont_remember_computer(&mut self) {
1904        self.steamguard_dont_remember_computer = ::std::option::Option::None;
1905    }
1906
1907    pub fn has_steamguard_dont_remember_computer(&self) -> bool {
1908        self.steamguard_dont_remember_computer.is_some()
1909    }
1910
1911    // Param is passed by value, moved
1912    pub fn set_steamguard_dont_remember_computer(&mut self, v: bool) {
1913        self.steamguard_dont_remember_computer = ::std::option::Option::Some(v);
1914    }
1915
1916    // optional string machine_name = 96;
1917
1918    pub fn machine_name(&self) -> &str {
1919        match self.machine_name.as_ref() {
1920            Some(v) => v,
1921            None => "",
1922        }
1923    }
1924
1925    pub fn clear_machine_name(&mut self) {
1926        self.machine_name = ::std::option::Option::None;
1927    }
1928
1929    pub fn has_machine_name(&self) -> bool {
1930        self.machine_name.is_some()
1931    }
1932
1933    // Param is passed by value, moved
1934    pub fn set_machine_name(&mut self, v: ::std::string::String) {
1935        self.machine_name = ::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_machine_name(&mut self) -> &mut ::std::string::String {
1941        if self.machine_name.is_none() {
1942            self.machine_name = ::std::option::Option::Some(::std::string::String::new());
1943        }
1944        self.machine_name.as_mut().unwrap()
1945    }
1946
1947    // Take field
1948    pub fn take_machine_name(&mut self) -> ::std::string::String {
1949        self.machine_name.take().unwrap_or_else(|| ::std::string::String::new())
1950    }
1951
1952    // optional string machine_name_userchosen = 97;
1953
1954    pub fn machine_name_userchosen(&self) -> &str {
1955        match self.machine_name_userchosen.as_ref() {
1956            Some(v) => v,
1957            None => "",
1958        }
1959    }
1960
1961    pub fn clear_machine_name_userchosen(&mut self) {
1962        self.machine_name_userchosen = ::std::option::Option::None;
1963    }
1964
1965    pub fn has_machine_name_userchosen(&self) -> bool {
1966        self.machine_name_userchosen.is_some()
1967    }
1968
1969    // Param is passed by value, moved
1970    pub fn set_machine_name_userchosen(&mut self, v: ::std::string::String) {
1971        self.machine_name_userchosen = ::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_machine_name_userchosen(&mut self) -> &mut ::std::string::String {
1977        if self.machine_name_userchosen.is_none() {
1978            self.machine_name_userchosen = ::std::option::Option::Some(::std::string::String::new());
1979        }
1980        self.machine_name_userchosen.as_mut().unwrap()
1981    }
1982
1983    // Take field
1984    pub fn take_machine_name_userchosen(&mut self) -> ::std::string::String {
1985        self.machine_name_userchosen.take().unwrap_or_else(|| ::std::string::String::new())
1986    }
1987
1988    // optional string country_override = 98;
1989
1990    pub fn country_override(&self) -> &str {
1991        match self.country_override.as_ref() {
1992            Some(v) => v,
1993            None => "",
1994        }
1995    }
1996
1997    pub fn clear_country_override(&mut self) {
1998        self.country_override = ::std::option::Option::None;
1999    }
2000
2001    pub fn has_country_override(&self) -> bool {
2002        self.country_override.is_some()
2003    }
2004
2005    // Param is passed by value, moved
2006    pub fn set_country_override(&mut self, v: ::std::string::String) {
2007        self.country_override = ::std::option::Option::Some(v);
2008    }
2009
2010    // Mutable pointer to the field.
2011    // If field is not initialized, it is initialized with default value first.
2012    pub fn mut_country_override(&mut self) -> &mut ::std::string::String {
2013        if self.country_override.is_none() {
2014            self.country_override = ::std::option::Option::Some(::std::string::String::new());
2015        }
2016        self.country_override.as_mut().unwrap()
2017    }
2018
2019    // Take field
2020    pub fn take_country_override(&mut self) -> ::std::string::String {
2021        self.country_override.take().unwrap_or_else(|| ::std::string::String::new())
2022    }
2023
2024    // optional bool is_steam_box = 99;
2025
2026    pub fn is_steam_box(&self) -> bool {
2027        self.is_steam_box.unwrap_or(false)
2028    }
2029
2030    pub fn clear_is_steam_box(&mut self) {
2031        self.is_steam_box = ::std::option::Option::None;
2032    }
2033
2034    pub fn has_is_steam_box(&self) -> bool {
2035        self.is_steam_box.is_some()
2036    }
2037
2038    // Param is passed by value, moved
2039    pub fn set_is_steam_box(&mut self, v: bool) {
2040        self.is_steam_box = ::std::option::Option::Some(v);
2041    }
2042
2043    // optional uint64 client_instance_id = 100;
2044
2045    pub fn client_instance_id(&self) -> u64 {
2046        self.client_instance_id.unwrap_or(0)
2047    }
2048
2049    pub fn clear_client_instance_id(&mut self) {
2050        self.client_instance_id = ::std::option::Option::None;
2051    }
2052
2053    pub fn has_client_instance_id(&self) -> bool {
2054        self.client_instance_id.is_some()
2055    }
2056
2057    // Param is passed by value, moved
2058    pub fn set_client_instance_id(&mut self, v: u64) {
2059        self.client_instance_id = ::std::option::Option::Some(v);
2060    }
2061
2062    // optional string two_factor_code = 101;
2063
2064    pub fn two_factor_code(&self) -> &str {
2065        match self.two_factor_code.as_ref() {
2066            Some(v) => v,
2067            None => "",
2068        }
2069    }
2070
2071    pub fn clear_two_factor_code(&mut self) {
2072        self.two_factor_code = ::std::option::Option::None;
2073    }
2074
2075    pub fn has_two_factor_code(&self) -> bool {
2076        self.two_factor_code.is_some()
2077    }
2078
2079    // Param is passed by value, moved
2080    pub fn set_two_factor_code(&mut self, v: ::std::string::String) {
2081        self.two_factor_code = ::std::option::Option::Some(v);
2082    }
2083
2084    // Mutable pointer to the field.
2085    // If field is not initialized, it is initialized with default value first.
2086    pub fn mut_two_factor_code(&mut self) -> &mut ::std::string::String {
2087        if self.two_factor_code.is_none() {
2088            self.two_factor_code = ::std::option::Option::Some(::std::string::String::new());
2089        }
2090        self.two_factor_code.as_mut().unwrap()
2091    }
2092
2093    // Take field
2094    pub fn take_two_factor_code(&mut self) -> ::std::string::String {
2095        self.two_factor_code.take().unwrap_or_else(|| ::std::string::String::new())
2096    }
2097
2098    // optional bool supports_rate_limit_response = 102;
2099
2100    pub fn supports_rate_limit_response(&self) -> bool {
2101        self.supports_rate_limit_response.unwrap_or(false)
2102    }
2103
2104    pub fn clear_supports_rate_limit_response(&mut self) {
2105        self.supports_rate_limit_response = ::std::option::Option::None;
2106    }
2107
2108    pub fn has_supports_rate_limit_response(&self) -> bool {
2109        self.supports_rate_limit_response.is_some()
2110    }
2111
2112    // Param is passed by value, moved
2113    pub fn set_supports_rate_limit_response(&mut self, v: bool) {
2114        self.supports_rate_limit_response = ::std::option::Option::Some(v);
2115    }
2116
2117    // optional string web_logon_nonce = 103;
2118
2119    pub fn web_logon_nonce(&self) -> &str {
2120        match self.web_logon_nonce.as_ref() {
2121            Some(v) => v,
2122            None => "",
2123        }
2124    }
2125
2126    pub fn clear_web_logon_nonce(&mut self) {
2127        self.web_logon_nonce = ::std::option::Option::None;
2128    }
2129
2130    pub fn has_web_logon_nonce(&self) -> bool {
2131        self.web_logon_nonce.is_some()
2132    }
2133
2134    // Param is passed by value, moved
2135    pub fn set_web_logon_nonce(&mut self, v: ::std::string::String) {
2136        self.web_logon_nonce = ::std::option::Option::Some(v);
2137    }
2138
2139    // Mutable pointer to the field.
2140    // If field is not initialized, it is initialized with default value first.
2141    pub fn mut_web_logon_nonce(&mut self) -> &mut ::std::string::String {
2142        if self.web_logon_nonce.is_none() {
2143            self.web_logon_nonce = ::std::option::Option::Some(::std::string::String::new());
2144        }
2145        self.web_logon_nonce.as_mut().unwrap()
2146    }
2147
2148    // Take field
2149    pub fn take_web_logon_nonce(&mut self) -> ::std::string::String {
2150        self.web_logon_nonce.take().unwrap_or_else(|| ::std::string::String::new())
2151    }
2152
2153    // optional int32 priority_reason = 104;
2154
2155    pub fn priority_reason(&self) -> i32 {
2156        self.priority_reason.unwrap_or(0)
2157    }
2158
2159    pub fn clear_priority_reason(&mut self) {
2160        self.priority_reason = ::std::option::Option::None;
2161    }
2162
2163    pub fn has_priority_reason(&self) -> bool {
2164        self.priority_reason.is_some()
2165    }
2166
2167    // Param is passed by value, moved
2168    pub fn set_priority_reason(&mut self, v: i32) {
2169        self.priority_reason = ::std::option::Option::Some(v);
2170    }
2171
2172    // optional bool disable_partner_autogrants = 106;
2173
2174    pub fn disable_partner_autogrants(&self) -> bool {
2175        self.disable_partner_autogrants.unwrap_or(false)
2176    }
2177
2178    pub fn clear_disable_partner_autogrants(&mut self) {
2179        self.disable_partner_autogrants = ::std::option::Option::None;
2180    }
2181
2182    pub fn has_disable_partner_autogrants(&self) -> bool {
2183        self.disable_partner_autogrants.is_some()
2184    }
2185
2186    // Param is passed by value, moved
2187    pub fn set_disable_partner_autogrants(&mut self, v: bool) {
2188        self.disable_partner_autogrants = ::std::option::Option::Some(v);
2189    }
2190
2191    // optional bool is_steam_deck = 107;
2192
2193    pub fn is_steam_deck(&self) -> bool {
2194        self.is_steam_deck.unwrap_or(false)
2195    }
2196
2197    pub fn clear_is_steam_deck(&mut self) {
2198        self.is_steam_deck = ::std::option::Option::None;
2199    }
2200
2201    pub fn has_is_steam_deck(&self) -> bool {
2202        self.is_steam_deck.is_some()
2203    }
2204
2205    // Param is passed by value, moved
2206    pub fn set_is_steam_deck(&mut self, v: bool) {
2207        self.is_steam_deck = ::std::option::Option::Some(v);
2208    }
2209
2210    // optional string access_token = 108;
2211
2212    pub fn access_token(&self) -> &str {
2213        match self.access_token.as_ref() {
2214            Some(v) => v,
2215            None => "",
2216        }
2217    }
2218
2219    pub fn clear_access_token(&mut self) {
2220        self.access_token = ::std::option::Option::None;
2221    }
2222
2223    pub fn has_access_token(&self) -> bool {
2224        self.access_token.is_some()
2225    }
2226
2227    // Param is passed by value, moved
2228    pub fn set_access_token(&mut self, v: ::std::string::String) {
2229        self.access_token = ::std::option::Option::Some(v);
2230    }
2231
2232    // Mutable pointer to the field.
2233    // If field is not initialized, it is initialized with default value first.
2234    pub fn mut_access_token(&mut self) -> &mut ::std::string::String {
2235        if self.access_token.is_none() {
2236            self.access_token = ::std::option::Option::Some(::std::string::String::new());
2237        }
2238        self.access_token.as_mut().unwrap()
2239    }
2240
2241    // Take field
2242    pub fn take_access_token(&mut self) -> ::std::string::String {
2243        self.access_token.take().unwrap_or_else(|| ::std::string::String::new())
2244    }
2245
2246    // optional bool is_chrome_os = 109;
2247
2248    pub fn is_chrome_os(&self) -> bool {
2249        self.is_chrome_os.unwrap_or(false)
2250    }
2251
2252    pub fn clear_is_chrome_os(&mut self) {
2253        self.is_chrome_os = ::std::option::Option::None;
2254    }
2255
2256    pub fn has_is_chrome_os(&self) -> bool {
2257        self.is_chrome_os.is_some()
2258    }
2259
2260    // Param is passed by value, moved
2261    pub fn set_is_chrome_os(&mut self, v: bool) {
2262        self.is_chrome_os = ::std::option::Option::Some(v);
2263    }
2264
2265    // optional bool is_tesla = 110;
2266
2267    pub fn is_tesla(&self) -> bool {
2268        self.is_tesla.unwrap_or(false)
2269    }
2270
2271    pub fn clear_is_tesla(&mut self) {
2272        self.is_tesla = ::std::option::Option::None;
2273    }
2274
2275    pub fn has_is_tesla(&self) -> bool {
2276        self.is_tesla.is_some()
2277    }
2278
2279    // Param is passed by value, moved
2280    pub fn set_is_tesla(&mut self, v: bool) {
2281        self.is_tesla = ::std::option::Option::Some(v);
2282    }
2283}
2284
2285impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLogon {
2286    const NAME: &'static str = "CMsgClientLogon";
2287
2288    fn is_initialized(&self) -> bool {
2289        true
2290    }
2291
2292    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2293        while let Some(tag) = is.read_raw_tag_or_eof()? {
2294            match tag {
2295                8 => {
2296                    self.protocol_version = ::std::option::Option::Some(is.read_uint32()?);
2297                },
2298                16 => {
2299                    self.deprecated_obfustucated_private_ip = ::std::option::Option::Some(is.read_uint32()?);
2300                },
2301                24 => {
2302                    self.cell_id = ::std::option::Option::Some(is.read_uint32()?);
2303                },
2304                32 => {
2305                    self.last_session_id = ::std::option::Option::Some(is.read_uint32()?);
2306                },
2307                40 => {
2308                    self.client_package_version = ::std::option::Option::Some(is.read_uint32()?);
2309                },
2310                50 => {
2311                    self.client_language = ::std::option::Option::Some(is.read_string()?);
2312                },
2313                56 => {
2314                    self.client_os_type = ::std::option::Option::Some(is.read_uint32()?);
2315                },
2316                64 => {
2317                    self.should_remember_password = ::std::option::Option::Some(is.read_bool()?);
2318                },
2319                74 => {
2320                    self.wine_version = ::std::option::Option::Some(is.read_string()?);
2321                },
2322                80 => {
2323                    self.deprecated_10 = ::std::option::Option::Some(is.read_uint32()?);
2324                },
2325                90 => {
2326                    ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.obfuscated_private_ip)?;
2327                },
2328                160 => {
2329                    self.deprecated_public_ip = ::std::option::Option::Some(is.read_uint32()?);
2330                },
2331                168 => {
2332                    self.qos_level = ::std::option::Option::Some(is.read_uint32()?);
2333                },
2334                177 => {
2335                    self.client_supplied_steam_id = ::std::option::Option::Some(is.read_fixed64()?);
2336                },
2337                186 => {
2338                    ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.public_ip)?;
2339                },
2340                242 => {
2341                    self.machine_id = ::std::option::Option::Some(is.read_bytes()?);
2342                },
2343                248 => {
2344                    self.launcher_type = ::std::option::Option::Some(is.read_uint32()?);
2345                },
2346                256 => {
2347                    self.ui_mode = ::std::option::Option::Some(is.read_uint32()?);
2348                },
2349                264 => {
2350                    self.chat_mode = ::std::option::Option::Some(is.read_uint32()?);
2351                },
2352                330 => {
2353                    self.steam2_auth_ticket = ::std::option::Option::Some(is.read_bytes()?);
2354                },
2355                338 => {
2356                    self.email_address = ::std::option::Option::Some(is.read_string()?);
2357                },
2358                349 => {
2359                    self.rtime32_account_creation = ::std::option::Option::Some(is.read_fixed32()?);
2360                },
2361                402 => {
2362                    self.account_name = ::std::option::Option::Some(is.read_string()?);
2363                },
2364                410 => {
2365                    self.password = ::std::option::Option::Some(is.read_string()?);
2366                },
2367                418 => {
2368                    self.game_server_token = ::std::option::Option::Some(is.read_string()?);
2369                },
2370                482 => {
2371                    self.login_key = ::std::option::Option::Some(is.read_string()?);
2372                },
2373                560 => {
2374                    self.was_converted_deprecated_msg = ::std::option::Option::Some(is.read_bool()?);
2375                },
2376                642 => {
2377                    self.anon_user_target_account_name = ::std::option::Option::Some(is.read_string()?);
2378                },
2379                649 => {
2380                    self.resolved_user_steam_id = ::std::option::Option::Some(is.read_fixed64()?);
2381                },
2382                656 => {
2383                    self.eresult_sentryfile = ::std::option::Option::Some(is.read_int32()?);
2384                },
2385                666 => {
2386                    self.sha_sentryfile = ::std::option::Option::Some(is.read_bytes()?);
2387                },
2388                674 => {
2389                    self.auth_code = ::std::option::Option::Some(is.read_string()?);
2390                },
2391                680 => {
2392                    self.otp_type = ::std::option::Option::Some(is.read_int32()?);
2393                },
2394                688 => {
2395                    self.otp_value = ::std::option::Option::Some(is.read_uint32()?);
2396                },
2397                698 => {
2398                    self.otp_identifier = ::std::option::Option::Some(is.read_string()?);
2399                },
2400                704 => {
2401                    self.steam2_ticket_request = ::std::option::Option::Some(is.read_bool()?);
2402                },
2403                722 => {
2404                    self.sony_psn_ticket = ::std::option::Option::Some(is.read_bytes()?);
2405                },
2406                730 => {
2407                    self.sony_psn_service_id = ::std::option::Option::Some(is.read_string()?);
2408                },
2409                736 => {
2410                    self.create_new_psn_linked_account_if_needed = ::std::option::Option::Some(is.read_bool()?);
2411                },
2412                746 => {
2413                    self.sony_psn_name = ::std::option::Option::Some(is.read_string()?);
2414                },
2415                752 => {
2416                    self.game_server_app_id = ::std::option::Option::Some(is.read_int32()?);
2417                },
2418                760 => {
2419                    self.steamguard_dont_remember_computer = ::std::option::Option::Some(is.read_bool()?);
2420                },
2421                770 => {
2422                    self.machine_name = ::std::option::Option::Some(is.read_string()?);
2423                },
2424                778 => {
2425                    self.machine_name_userchosen = ::std::option::Option::Some(is.read_string()?);
2426                },
2427                786 => {
2428                    self.country_override = ::std::option::Option::Some(is.read_string()?);
2429                },
2430                792 => {
2431                    self.is_steam_box = ::std::option::Option::Some(is.read_bool()?);
2432                },
2433                800 => {
2434                    self.client_instance_id = ::std::option::Option::Some(is.read_uint64()?);
2435                },
2436                810 => {
2437                    self.two_factor_code = ::std::option::Option::Some(is.read_string()?);
2438                },
2439                816 => {
2440                    self.supports_rate_limit_response = ::std::option::Option::Some(is.read_bool()?);
2441                },
2442                826 => {
2443                    self.web_logon_nonce = ::std::option::Option::Some(is.read_string()?);
2444                },
2445                832 => {
2446                    self.priority_reason = ::std::option::Option::Some(is.read_int32()?);
2447                },
2448                842 => {
2449                    ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.embedded_client_secret)?;
2450                },
2451                848 => {
2452                    self.disable_partner_autogrants = ::std::option::Option::Some(is.read_bool()?);
2453                },
2454                856 => {
2455                    self.is_steam_deck = ::std::option::Option::Some(is.read_bool()?);
2456                },
2457                866 => {
2458                    self.access_token = ::std::option::Option::Some(is.read_string()?);
2459                },
2460                872 => {
2461                    self.is_chrome_os = ::std::option::Option::Some(is.read_bool()?);
2462                },
2463                880 => {
2464                    self.is_tesla = ::std::option::Option::Some(is.read_bool()?);
2465                },
2466                tag => {
2467                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2468                },
2469            };
2470        }
2471        ::std::result::Result::Ok(())
2472    }
2473
2474    // Compute sizes of nested messages
2475    #[allow(unused_variables)]
2476    fn compute_size(&self) -> u64 {
2477        let mut my_size = 0;
2478        if let Some(v) = self.protocol_version {
2479            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
2480        }
2481        if let Some(v) = self.deprecated_obfustucated_private_ip {
2482            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
2483        }
2484        if let Some(v) = self.cell_id {
2485            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
2486        }
2487        if let Some(v) = self.last_session_id {
2488            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
2489        }
2490        if let Some(v) = self.client_package_version {
2491            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
2492        }
2493        if let Some(v) = self.client_language.as_ref() {
2494            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
2495        }
2496        if let Some(v) = self.client_os_type {
2497            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
2498        }
2499        if let Some(v) = self.should_remember_password {
2500            my_size += 1 + 1;
2501        }
2502        if let Some(v) = self.wine_version.as_ref() {
2503            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(9, &v);
2504        }
2505        if let Some(v) = self.deprecated_10 {
2506            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(10, v);
2507        }
2508        if let Some(v) = self.obfuscated_private_ip.as_ref() {
2509            let len = v.compute_size();
2510            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
2511        }
2512        if let Some(v) = self.deprecated_public_ip {
2513            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(20, v);
2514        }
2515        if let Some(v) = self.qos_level {
2516            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(21, v);
2517        }
2518        if let Some(v) = self.client_supplied_steam_id {
2519            my_size += 2 + 8;
2520        }
2521        if let Some(v) = self.public_ip.as_ref() {
2522            let len = v.compute_size();
2523            my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
2524        }
2525        if let Some(v) = self.machine_id.as_ref() {
2526            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(30, &v);
2527        }
2528        if let Some(v) = self.launcher_type {
2529            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(31, v);
2530        }
2531        if let Some(v) = self.ui_mode {
2532            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(32, v);
2533        }
2534        if let Some(v) = self.chat_mode {
2535            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(33, v);
2536        }
2537        if let Some(v) = self.steam2_auth_ticket.as_ref() {
2538            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(41, &v);
2539        }
2540        if let Some(v) = self.email_address.as_ref() {
2541            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(42, &v);
2542        }
2543        if let Some(v) = self.rtime32_account_creation {
2544            my_size += 2 + 4;
2545        }
2546        if let Some(v) = self.account_name.as_ref() {
2547            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(50, &v);
2548        }
2549        if let Some(v) = self.password.as_ref() {
2550            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(51, &v);
2551        }
2552        if let Some(v) = self.game_server_token.as_ref() {
2553            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(52, &v);
2554        }
2555        if let Some(v) = self.login_key.as_ref() {
2556            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(60, &v);
2557        }
2558        if let Some(v) = self.was_converted_deprecated_msg {
2559            my_size += 2 + 1;
2560        }
2561        if let Some(v) = self.anon_user_target_account_name.as_ref() {
2562            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(80, &v);
2563        }
2564        if let Some(v) = self.resolved_user_steam_id {
2565            my_size += 2 + 8;
2566        }
2567        if let Some(v) = self.eresult_sentryfile {
2568            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(82, v);
2569        }
2570        if let Some(v) = self.sha_sentryfile.as_ref() {
2571            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(83, &v);
2572        }
2573        if let Some(v) = self.auth_code.as_ref() {
2574            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(84, &v);
2575        }
2576        if let Some(v) = self.otp_type {
2577            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(85, v);
2578        }
2579        if let Some(v) = self.otp_value {
2580            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(86, v);
2581        }
2582        if let Some(v) = self.otp_identifier.as_ref() {
2583            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(87, &v);
2584        }
2585        if let Some(v) = self.steam2_ticket_request {
2586            my_size += 2 + 1;
2587        }
2588        if let Some(v) = self.sony_psn_ticket.as_ref() {
2589            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(90, &v);
2590        }
2591        if let Some(v) = self.sony_psn_service_id.as_ref() {
2592            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(91, &v);
2593        }
2594        if let Some(v) = self.create_new_psn_linked_account_if_needed {
2595            my_size += 2 + 1;
2596        }
2597        if let Some(v) = self.sony_psn_name.as_ref() {
2598            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(93, &v);
2599        }
2600        if let Some(v) = self.game_server_app_id {
2601            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(94, v);
2602        }
2603        if let Some(v) = self.steamguard_dont_remember_computer {
2604            my_size += 2 + 1;
2605        }
2606        if let Some(v) = self.machine_name.as_ref() {
2607            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(96, &v);
2608        }
2609        if let Some(v) = self.machine_name_userchosen.as_ref() {
2610            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(97, &v);
2611        }
2612        if let Some(v) = self.country_override.as_ref() {
2613            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(98, &v);
2614        }
2615        if let Some(v) = self.is_steam_box {
2616            my_size += 2 + 1;
2617        }
2618        if let Some(v) = self.client_instance_id {
2619            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(100, v);
2620        }
2621        if let Some(v) = self.two_factor_code.as_ref() {
2622            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(101, &v);
2623        }
2624        if let Some(v) = self.supports_rate_limit_response {
2625            my_size += 2 + 1;
2626        }
2627        if let Some(v) = self.web_logon_nonce.as_ref() {
2628            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(103, &v);
2629        }
2630        if let Some(v) = self.priority_reason {
2631            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(104, v);
2632        }
2633        if let Some(v) = self.embedded_client_secret.as_ref() {
2634            let len = v.compute_size();
2635            my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
2636        }
2637        if let Some(v) = self.disable_partner_autogrants {
2638            my_size += 2 + 1;
2639        }
2640        if let Some(v) = self.is_steam_deck {
2641            my_size += 2 + 1;
2642        }
2643        if let Some(v) = self.access_token.as_ref() {
2644            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(108, &v);
2645        }
2646        if let Some(v) = self.is_chrome_os {
2647            my_size += 2 + 1;
2648        }
2649        if let Some(v) = self.is_tesla {
2650            my_size += 2 + 1;
2651        }
2652        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2653        self.special_fields.cached_size().set(my_size as u32);
2654        my_size
2655    }
2656
2657    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2658        if let Some(v) = self.protocol_version {
2659            os.write_uint32(1, v)?;
2660        }
2661        if let Some(v) = self.deprecated_obfustucated_private_ip {
2662            os.write_uint32(2, v)?;
2663        }
2664        if let Some(v) = self.cell_id {
2665            os.write_uint32(3, v)?;
2666        }
2667        if let Some(v) = self.last_session_id {
2668            os.write_uint32(4, v)?;
2669        }
2670        if let Some(v) = self.client_package_version {
2671            os.write_uint32(5, v)?;
2672        }
2673        if let Some(v) = self.client_language.as_ref() {
2674            os.write_string(6, v)?;
2675        }
2676        if let Some(v) = self.client_os_type {
2677            os.write_uint32(7, v)?;
2678        }
2679        if let Some(v) = self.should_remember_password {
2680            os.write_bool(8, v)?;
2681        }
2682        if let Some(v) = self.wine_version.as_ref() {
2683            os.write_string(9, v)?;
2684        }
2685        if let Some(v) = self.deprecated_10 {
2686            os.write_uint32(10, v)?;
2687        }
2688        if let Some(v) = self.obfuscated_private_ip.as_ref() {
2689            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(11, v, os)?;
2690        }
2691        if let Some(v) = self.deprecated_public_ip {
2692            os.write_uint32(20, v)?;
2693        }
2694        if let Some(v) = self.qos_level {
2695            os.write_uint32(21, v)?;
2696        }
2697        if let Some(v) = self.client_supplied_steam_id {
2698            os.write_fixed64(22, v)?;
2699        }
2700        if let Some(v) = self.public_ip.as_ref() {
2701            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(23, v, os)?;
2702        }
2703        if let Some(v) = self.machine_id.as_ref() {
2704            os.write_bytes(30, v)?;
2705        }
2706        if let Some(v) = self.launcher_type {
2707            os.write_uint32(31, v)?;
2708        }
2709        if let Some(v) = self.ui_mode {
2710            os.write_uint32(32, v)?;
2711        }
2712        if let Some(v) = self.chat_mode {
2713            os.write_uint32(33, v)?;
2714        }
2715        if let Some(v) = self.steam2_auth_ticket.as_ref() {
2716            os.write_bytes(41, v)?;
2717        }
2718        if let Some(v) = self.email_address.as_ref() {
2719            os.write_string(42, v)?;
2720        }
2721        if let Some(v) = self.rtime32_account_creation {
2722            os.write_fixed32(43, v)?;
2723        }
2724        if let Some(v) = self.account_name.as_ref() {
2725            os.write_string(50, v)?;
2726        }
2727        if let Some(v) = self.password.as_ref() {
2728            os.write_string(51, v)?;
2729        }
2730        if let Some(v) = self.game_server_token.as_ref() {
2731            os.write_string(52, v)?;
2732        }
2733        if let Some(v) = self.login_key.as_ref() {
2734            os.write_string(60, v)?;
2735        }
2736        if let Some(v) = self.was_converted_deprecated_msg {
2737            os.write_bool(70, v)?;
2738        }
2739        if let Some(v) = self.anon_user_target_account_name.as_ref() {
2740            os.write_string(80, v)?;
2741        }
2742        if let Some(v) = self.resolved_user_steam_id {
2743            os.write_fixed64(81, v)?;
2744        }
2745        if let Some(v) = self.eresult_sentryfile {
2746            os.write_int32(82, v)?;
2747        }
2748        if let Some(v) = self.sha_sentryfile.as_ref() {
2749            os.write_bytes(83, v)?;
2750        }
2751        if let Some(v) = self.auth_code.as_ref() {
2752            os.write_string(84, v)?;
2753        }
2754        if let Some(v) = self.otp_type {
2755            os.write_int32(85, v)?;
2756        }
2757        if let Some(v) = self.otp_value {
2758            os.write_uint32(86, v)?;
2759        }
2760        if let Some(v) = self.otp_identifier.as_ref() {
2761            os.write_string(87, v)?;
2762        }
2763        if let Some(v) = self.steam2_ticket_request {
2764            os.write_bool(88, v)?;
2765        }
2766        if let Some(v) = self.sony_psn_ticket.as_ref() {
2767            os.write_bytes(90, v)?;
2768        }
2769        if let Some(v) = self.sony_psn_service_id.as_ref() {
2770            os.write_string(91, v)?;
2771        }
2772        if let Some(v) = self.create_new_psn_linked_account_if_needed {
2773            os.write_bool(92, v)?;
2774        }
2775        if let Some(v) = self.sony_psn_name.as_ref() {
2776            os.write_string(93, v)?;
2777        }
2778        if let Some(v) = self.game_server_app_id {
2779            os.write_int32(94, v)?;
2780        }
2781        if let Some(v) = self.steamguard_dont_remember_computer {
2782            os.write_bool(95, v)?;
2783        }
2784        if let Some(v) = self.machine_name.as_ref() {
2785            os.write_string(96, v)?;
2786        }
2787        if let Some(v) = self.machine_name_userchosen.as_ref() {
2788            os.write_string(97, v)?;
2789        }
2790        if let Some(v) = self.country_override.as_ref() {
2791            os.write_string(98, v)?;
2792        }
2793        if let Some(v) = self.is_steam_box {
2794            os.write_bool(99, v)?;
2795        }
2796        if let Some(v) = self.client_instance_id {
2797            os.write_uint64(100, v)?;
2798        }
2799        if let Some(v) = self.two_factor_code.as_ref() {
2800            os.write_string(101, v)?;
2801        }
2802        if let Some(v) = self.supports_rate_limit_response {
2803            os.write_bool(102, v)?;
2804        }
2805        if let Some(v) = self.web_logon_nonce.as_ref() {
2806            os.write_string(103, v)?;
2807        }
2808        if let Some(v) = self.priority_reason {
2809            os.write_int32(104, v)?;
2810        }
2811        if let Some(v) = self.embedded_client_secret.as_ref() {
2812            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(105, v, os)?;
2813        }
2814        if let Some(v) = self.disable_partner_autogrants {
2815            os.write_bool(106, v)?;
2816        }
2817        if let Some(v) = self.is_steam_deck {
2818            os.write_bool(107, v)?;
2819        }
2820        if let Some(v) = self.access_token.as_ref() {
2821            os.write_string(108, v)?;
2822        }
2823        if let Some(v) = self.is_chrome_os {
2824            os.write_bool(109, v)?;
2825        }
2826        if let Some(v) = self.is_tesla {
2827            os.write_bool(110, v)?;
2828        }
2829        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2830        ::std::result::Result::Ok(())
2831    }
2832
2833    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2834        &self.special_fields
2835    }
2836
2837    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2838        &mut self.special_fields
2839    }
2840
2841    fn new() -> CMsgClientLogon {
2842        CMsgClientLogon::new()
2843    }
2844
2845    fn clear(&mut self) {
2846        self.protocol_version = ::std::option::Option::None;
2847        self.deprecated_obfustucated_private_ip = ::std::option::Option::None;
2848        self.cell_id = ::std::option::Option::None;
2849        self.last_session_id = ::std::option::Option::None;
2850        self.client_package_version = ::std::option::Option::None;
2851        self.client_language = ::std::option::Option::None;
2852        self.client_os_type = ::std::option::Option::None;
2853        self.should_remember_password = ::std::option::Option::None;
2854        self.wine_version = ::std::option::Option::None;
2855        self.deprecated_10 = ::std::option::Option::None;
2856        self.obfuscated_private_ip.clear();
2857        self.deprecated_public_ip = ::std::option::Option::None;
2858        self.qos_level = ::std::option::Option::None;
2859        self.client_supplied_steam_id = ::std::option::Option::None;
2860        self.public_ip.clear();
2861        self.machine_id = ::std::option::Option::None;
2862        self.launcher_type = ::std::option::Option::None;
2863        self.ui_mode = ::std::option::Option::None;
2864        self.chat_mode = ::std::option::Option::None;
2865        self.steam2_auth_ticket = ::std::option::Option::None;
2866        self.email_address = ::std::option::Option::None;
2867        self.rtime32_account_creation = ::std::option::Option::None;
2868        self.account_name = ::std::option::Option::None;
2869        self.password = ::std::option::Option::None;
2870        self.game_server_token = ::std::option::Option::None;
2871        self.login_key = ::std::option::Option::None;
2872        self.was_converted_deprecated_msg = ::std::option::Option::None;
2873        self.anon_user_target_account_name = ::std::option::Option::None;
2874        self.resolved_user_steam_id = ::std::option::Option::None;
2875        self.eresult_sentryfile = ::std::option::Option::None;
2876        self.sha_sentryfile = ::std::option::Option::None;
2877        self.auth_code = ::std::option::Option::None;
2878        self.otp_type = ::std::option::Option::None;
2879        self.otp_value = ::std::option::Option::None;
2880        self.otp_identifier = ::std::option::Option::None;
2881        self.steam2_ticket_request = ::std::option::Option::None;
2882        self.sony_psn_ticket = ::std::option::Option::None;
2883        self.sony_psn_service_id = ::std::option::Option::None;
2884        self.create_new_psn_linked_account_if_needed = ::std::option::Option::None;
2885        self.sony_psn_name = ::std::option::Option::None;
2886        self.game_server_app_id = ::std::option::Option::None;
2887        self.steamguard_dont_remember_computer = ::std::option::Option::None;
2888        self.machine_name = ::std::option::Option::None;
2889        self.machine_name_userchosen = ::std::option::Option::None;
2890        self.country_override = ::std::option::Option::None;
2891        self.is_steam_box = ::std::option::Option::None;
2892        self.client_instance_id = ::std::option::Option::None;
2893        self.two_factor_code = ::std::option::Option::None;
2894        self.supports_rate_limit_response = ::std::option::Option::None;
2895        self.web_logon_nonce = ::std::option::Option::None;
2896        self.priority_reason = ::std::option::Option::None;
2897        self.embedded_client_secret.clear();
2898        self.disable_partner_autogrants = ::std::option::Option::None;
2899        self.is_steam_deck = ::std::option::Option::None;
2900        self.access_token = ::std::option::Option::None;
2901        self.is_chrome_os = ::std::option::Option::None;
2902        self.is_tesla = ::std::option::Option::None;
2903        self.special_fields.clear();
2904    }
2905
2906    fn default_instance() -> &'static CMsgClientLogon {
2907        static instance: CMsgClientLogon = CMsgClientLogon {
2908            protocol_version: ::std::option::Option::None,
2909            deprecated_obfustucated_private_ip: ::std::option::Option::None,
2910            cell_id: ::std::option::Option::None,
2911            last_session_id: ::std::option::Option::None,
2912            client_package_version: ::std::option::Option::None,
2913            client_language: ::std::option::Option::None,
2914            client_os_type: ::std::option::Option::None,
2915            should_remember_password: ::std::option::Option::None,
2916            wine_version: ::std::option::Option::None,
2917            deprecated_10: ::std::option::Option::None,
2918            obfuscated_private_ip: ::steam_vent_proto_common::protobuf::MessageField::none(),
2919            deprecated_public_ip: ::std::option::Option::None,
2920            qos_level: ::std::option::Option::None,
2921            client_supplied_steam_id: ::std::option::Option::None,
2922            public_ip: ::steam_vent_proto_common::protobuf::MessageField::none(),
2923            machine_id: ::std::option::Option::None,
2924            launcher_type: ::std::option::Option::None,
2925            ui_mode: ::std::option::Option::None,
2926            chat_mode: ::std::option::Option::None,
2927            steam2_auth_ticket: ::std::option::Option::None,
2928            email_address: ::std::option::Option::None,
2929            rtime32_account_creation: ::std::option::Option::None,
2930            account_name: ::std::option::Option::None,
2931            password: ::std::option::Option::None,
2932            game_server_token: ::std::option::Option::None,
2933            login_key: ::std::option::Option::None,
2934            was_converted_deprecated_msg: ::std::option::Option::None,
2935            anon_user_target_account_name: ::std::option::Option::None,
2936            resolved_user_steam_id: ::std::option::Option::None,
2937            eresult_sentryfile: ::std::option::Option::None,
2938            sha_sentryfile: ::std::option::Option::None,
2939            auth_code: ::std::option::Option::None,
2940            otp_type: ::std::option::Option::None,
2941            otp_value: ::std::option::Option::None,
2942            otp_identifier: ::std::option::Option::None,
2943            steam2_ticket_request: ::std::option::Option::None,
2944            sony_psn_ticket: ::std::option::Option::None,
2945            sony_psn_service_id: ::std::option::Option::None,
2946            create_new_psn_linked_account_if_needed: ::std::option::Option::None,
2947            sony_psn_name: ::std::option::Option::None,
2948            game_server_app_id: ::std::option::Option::None,
2949            steamguard_dont_remember_computer: ::std::option::Option::None,
2950            machine_name: ::std::option::Option::None,
2951            machine_name_userchosen: ::std::option::Option::None,
2952            country_override: ::std::option::Option::None,
2953            is_steam_box: ::std::option::Option::None,
2954            client_instance_id: ::std::option::Option::None,
2955            two_factor_code: ::std::option::Option::None,
2956            supports_rate_limit_response: ::std::option::Option::None,
2957            web_logon_nonce: ::std::option::Option::None,
2958            priority_reason: ::std::option::Option::None,
2959            embedded_client_secret: ::steam_vent_proto_common::protobuf::MessageField::none(),
2960            disable_partner_autogrants: ::std::option::Option::None,
2961            is_steam_deck: ::std::option::Option::None,
2962            access_token: ::std::option::Option::None,
2963            is_chrome_os: ::std::option::Option::None,
2964            is_tesla: ::std::option::Option::None,
2965            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2966        };
2967        &instance
2968    }
2969}
2970
2971// @@protoc_insertion_point(message:CMsgClientLogonResponse)
2972#[derive(PartialEq,Clone,Default,Debug)]
2973pub struct CMsgClientLogonResponse {
2974    // message fields
2975    // @@protoc_insertion_point(field:CMsgClientLogonResponse.eresult)
2976    pub eresult: ::std::option::Option<i32>,
2977    // @@protoc_insertion_point(field:CMsgClientLogonResponse.legacy_out_of_game_heartbeat_seconds)
2978    pub legacy_out_of_game_heartbeat_seconds: ::std::option::Option<i32>,
2979    // @@protoc_insertion_point(field:CMsgClientLogonResponse.heartbeat_seconds)
2980    pub heartbeat_seconds: ::std::option::Option<i32>,
2981    // @@protoc_insertion_point(field:CMsgClientLogonResponse.deprecated_public_ip)
2982    pub deprecated_public_ip: ::std::option::Option<u32>,
2983    // @@protoc_insertion_point(field:CMsgClientLogonResponse.rtime32_server_time)
2984    pub rtime32_server_time: ::std::option::Option<u32>,
2985    // @@protoc_insertion_point(field:CMsgClientLogonResponse.account_flags)
2986    pub account_flags: ::std::option::Option<u32>,
2987    // @@protoc_insertion_point(field:CMsgClientLogonResponse.cell_id)
2988    pub cell_id: ::std::option::Option<u32>,
2989    // @@protoc_insertion_point(field:CMsgClientLogonResponse.email_domain)
2990    pub email_domain: ::std::option::Option<::std::string::String>,
2991    // @@protoc_insertion_point(field:CMsgClientLogonResponse.steam2_ticket)
2992    pub steam2_ticket: ::std::option::Option<::std::vec::Vec<u8>>,
2993    // @@protoc_insertion_point(field:CMsgClientLogonResponse.eresult_extended)
2994    pub eresult_extended: ::std::option::Option<i32>,
2995    // @@protoc_insertion_point(field:CMsgClientLogonResponse.cell_id_ping_threshold)
2996    pub cell_id_ping_threshold: ::std::option::Option<u32>,
2997    // @@protoc_insertion_point(field:CMsgClientLogonResponse.deprecated_use_pics)
2998    pub deprecated_use_pics: ::std::option::Option<bool>,
2999    // @@protoc_insertion_point(field:CMsgClientLogonResponse.vanity_url)
3000    pub vanity_url: ::std::option::Option<::std::string::String>,
3001    // @@protoc_insertion_point(field:CMsgClientLogonResponse.public_ip)
3002    pub public_ip: ::steam_vent_proto_common::protobuf::MessageField<super::steammessages_base::CMsgIPAddress>,
3003    // @@protoc_insertion_point(field:CMsgClientLogonResponse.user_country)
3004    pub user_country: ::std::option::Option<::std::string::String>,
3005    // @@protoc_insertion_point(field:CMsgClientLogonResponse.client_supplied_steamid)
3006    pub client_supplied_steamid: ::std::option::Option<u64>,
3007    // @@protoc_insertion_point(field:CMsgClientLogonResponse.ip_country_code)
3008    pub ip_country_code: ::std::option::Option<::std::string::String>,
3009    // @@protoc_insertion_point(field:CMsgClientLogonResponse.parental_settings)
3010    pub parental_settings: ::std::option::Option<::std::vec::Vec<u8>>,
3011    // @@protoc_insertion_point(field:CMsgClientLogonResponse.parental_setting_signature)
3012    pub parental_setting_signature: ::std::option::Option<::std::vec::Vec<u8>>,
3013    // @@protoc_insertion_point(field:CMsgClientLogonResponse.count_loginfailures_to_migrate)
3014    pub count_loginfailures_to_migrate: ::std::option::Option<i32>,
3015    // @@protoc_insertion_point(field:CMsgClientLogonResponse.count_disconnects_to_migrate)
3016    pub count_disconnects_to_migrate: ::std::option::Option<i32>,
3017    // @@protoc_insertion_point(field:CMsgClientLogonResponse.ogs_data_report_time_window)
3018    pub ogs_data_report_time_window: ::std::option::Option<i32>,
3019    // @@protoc_insertion_point(field:CMsgClientLogonResponse.client_instance_id)
3020    pub client_instance_id: ::std::option::Option<u64>,
3021    // @@protoc_insertion_point(field:CMsgClientLogonResponse.force_client_update_check)
3022    pub force_client_update_check: ::std::option::Option<bool>,
3023    // @@protoc_insertion_point(field:CMsgClientLogonResponse.agreement_session_url)
3024    pub agreement_session_url: ::std::option::Option<::std::string::String>,
3025    // @@protoc_insertion_point(field:CMsgClientLogonResponse.token_id)
3026    pub token_id: ::std::option::Option<u64>,
3027    // @@protoc_insertion_point(field:CMsgClientLogonResponse.family_group_id)
3028    pub family_group_id: ::std::option::Option<u64>,
3029    // special fields
3030    // @@protoc_insertion_point(special_field:CMsgClientLogonResponse.special_fields)
3031    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
3032}
3033
3034impl<'a> ::std::default::Default for &'a CMsgClientLogonResponse {
3035    fn default() -> &'a CMsgClientLogonResponse {
3036        <CMsgClientLogonResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
3037    }
3038}
3039
3040impl CMsgClientLogonResponse {
3041    pub fn new() -> CMsgClientLogonResponse {
3042        ::std::default::Default::default()
3043    }
3044
3045    // optional int32 eresult = 1;
3046
3047    pub fn eresult(&self) -> i32 {
3048        self.eresult.unwrap_or(2i32)
3049    }
3050
3051    pub fn clear_eresult(&mut self) {
3052        self.eresult = ::std::option::Option::None;
3053    }
3054
3055    pub fn has_eresult(&self) -> bool {
3056        self.eresult.is_some()
3057    }
3058
3059    // Param is passed by value, moved
3060    pub fn set_eresult(&mut self, v: i32) {
3061        self.eresult = ::std::option::Option::Some(v);
3062    }
3063
3064    // optional int32 legacy_out_of_game_heartbeat_seconds = 2;
3065
3066    pub fn legacy_out_of_game_heartbeat_seconds(&self) -> i32 {
3067        self.legacy_out_of_game_heartbeat_seconds.unwrap_or(0)
3068    }
3069
3070    pub fn clear_legacy_out_of_game_heartbeat_seconds(&mut self) {
3071        self.legacy_out_of_game_heartbeat_seconds = ::std::option::Option::None;
3072    }
3073
3074    pub fn has_legacy_out_of_game_heartbeat_seconds(&self) -> bool {
3075        self.legacy_out_of_game_heartbeat_seconds.is_some()
3076    }
3077
3078    // Param is passed by value, moved
3079    pub fn set_legacy_out_of_game_heartbeat_seconds(&mut self, v: i32) {
3080        self.legacy_out_of_game_heartbeat_seconds = ::std::option::Option::Some(v);
3081    }
3082
3083    // optional int32 heartbeat_seconds = 3;
3084
3085    pub fn heartbeat_seconds(&self) -> i32 {
3086        self.heartbeat_seconds.unwrap_or(0)
3087    }
3088
3089    pub fn clear_heartbeat_seconds(&mut self) {
3090        self.heartbeat_seconds = ::std::option::Option::None;
3091    }
3092
3093    pub fn has_heartbeat_seconds(&self) -> bool {
3094        self.heartbeat_seconds.is_some()
3095    }
3096
3097    // Param is passed by value, moved
3098    pub fn set_heartbeat_seconds(&mut self, v: i32) {
3099        self.heartbeat_seconds = ::std::option::Option::Some(v);
3100    }
3101
3102    // optional uint32 deprecated_public_ip = 4;
3103
3104    pub fn deprecated_public_ip(&self) -> u32 {
3105        self.deprecated_public_ip.unwrap_or(0)
3106    }
3107
3108    pub fn clear_deprecated_public_ip(&mut self) {
3109        self.deprecated_public_ip = ::std::option::Option::None;
3110    }
3111
3112    pub fn has_deprecated_public_ip(&self) -> bool {
3113        self.deprecated_public_ip.is_some()
3114    }
3115
3116    // Param is passed by value, moved
3117    pub fn set_deprecated_public_ip(&mut self, v: u32) {
3118        self.deprecated_public_ip = ::std::option::Option::Some(v);
3119    }
3120
3121    // optional fixed32 rtime32_server_time = 5;
3122
3123    pub fn rtime32_server_time(&self) -> u32 {
3124        self.rtime32_server_time.unwrap_or(0)
3125    }
3126
3127    pub fn clear_rtime32_server_time(&mut self) {
3128        self.rtime32_server_time = ::std::option::Option::None;
3129    }
3130
3131    pub fn has_rtime32_server_time(&self) -> bool {
3132        self.rtime32_server_time.is_some()
3133    }
3134
3135    // Param is passed by value, moved
3136    pub fn set_rtime32_server_time(&mut self, v: u32) {
3137        self.rtime32_server_time = ::std::option::Option::Some(v);
3138    }
3139
3140    // optional uint32 account_flags = 6;
3141
3142    pub fn account_flags(&self) -> u32 {
3143        self.account_flags.unwrap_or(0)
3144    }
3145
3146    pub fn clear_account_flags(&mut self) {
3147        self.account_flags = ::std::option::Option::None;
3148    }
3149
3150    pub fn has_account_flags(&self) -> bool {
3151        self.account_flags.is_some()
3152    }
3153
3154    // Param is passed by value, moved
3155    pub fn set_account_flags(&mut self, v: u32) {
3156        self.account_flags = ::std::option::Option::Some(v);
3157    }
3158
3159    // optional uint32 cell_id = 7;
3160
3161    pub fn cell_id(&self) -> u32 {
3162        self.cell_id.unwrap_or(0)
3163    }
3164
3165    pub fn clear_cell_id(&mut self) {
3166        self.cell_id = ::std::option::Option::None;
3167    }
3168
3169    pub fn has_cell_id(&self) -> bool {
3170        self.cell_id.is_some()
3171    }
3172
3173    // Param is passed by value, moved
3174    pub fn set_cell_id(&mut self, v: u32) {
3175        self.cell_id = ::std::option::Option::Some(v);
3176    }
3177
3178    // optional string email_domain = 8;
3179
3180    pub fn email_domain(&self) -> &str {
3181        match self.email_domain.as_ref() {
3182            Some(v) => v,
3183            None => "",
3184        }
3185    }
3186
3187    pub fn clear_email_domain(&mut self) {
3188        self.email_domain = ::std::option::Option::None;
3189    }
3190
3191    pub fn has_email_domain(&self) -> bool {
3192        self.email_domain.is_some()
3193    }
3194
3195    // Param is passed by value, moved
3196    pub fn set_email_domain(&mut self, v: ::std::string::String) {
3197        self.email_domain = ::std::option::Option::Some(v);
3198    }
3199
3200    // Mutable pointer to the field.
3201    // If field is not initialized, it is initialized with default value first.
3202    pub fn mut_email_domain(&mut self) -> &mut ::std::string::String {
3203        if self.email_domain.is_none() {
3204            self.email_domain = ::std::option::Option::Some(::std::string::String::new());
3205        }
3206        self.email_domain.as_mut().unwrap()
3207    }
3208
3209    // Take field
3210    pub fn take_email_domain(&mut self) -> ::std::string::String {
3211        self.email_domain.take().unwrap_or_else(|| ::std::string::String::new())
3212    }
3213
3214    // optional bytes steam2_ticket = 9;
3215
3216    pub fn steam2_ticket(&self) -> &[u8] {
3217        match self.steam2_ticket.as_ref() {
3218            Some(v) => v,
3219            None => &[],
3220        }
3221    }
3222
3223    pub fn clear_steam2_ticket(&mut self) {
3224        self.steam2_ticket = ::std::option::Option::None;
3225    }
3226
3227    pub fn has_steam2_ticket(&self) -> bool {
3228        self.steam2_ticket.is_some()
3229    }
3230
3231    // Param is passed by value, moved
3232    pub fn set_steam2_ticket(&mut self, v: ::std::vec::Vec<u8>) {
3233        self.steam2_ticket = ::std::option::Option::Some(v);
3234    }
3235
3236    // Mutable pointer to the field.
3237    // If field is not initialized, it is initialized with default value first.
3238    pub fn mut_steam2_ticket(&mut self) -> &mut ::std::vec::Vec<u8> {
3239        if self.steam2_ticket.is_none() {
3240            self.steam2_ticket = ::std::option::Option::Some(::std::vec::Vec::new());
3241        }
3242        self.steam2_ticket.as_mut().unwrap()
3243    }
3244
3245    // Take field
3246    pub fn take_steam2_ticket(&mut self) -> ::std::vec::Vec<u8> {
3247        self.steam2_ticket.take().unwrap_or_else(|| ::std::vec::Vec::new())
3248    }
3249
3250    // optional int32 eresult_extended = 10;
3251
3252    pub fn eresult_extended(&self) -> i32 {
3253        self.eresult_extended.unwrap_or(0)
3254    }
3255
3256    pub fn clear_eresult_extended(&mut self) {
3257        self.eresult_extended = ::std::option::Option::None;
3258    }
3259
3260    pub fn has_eresult_extended(&self) -> bool {
3261        self.eresult_extended.is_some()
3262    }
3263
3264    // Param is passed by value, moved
3265    pub fn set_eresult_extended(&mut self, v: i32) {
3266        self.eresult_extended = ::std::option::Option::Some(v);
3267    }
3268
3269    // optional uint32 cell_id_ping_threshold = 12;
3270
3271    pub fn cell_id_ping_threshold(&self) -> u32 {
3272        self.cell_id_ping_threshold.unwrap_or(0)
3273    }
3274
3275    pub fn clear_cell_id_ping_threshold(&mut self) {
3276        self.cell_id_ping_threshold = ::std::option::Option::None;
3277    }
3278
3279    pub fn has_cell_id_ping_threshold(&self) -> bool {
3280        self.cell_id_ping_threshold.is_some()
3281    }
3282
3283    // Param is passed by value, moved
3284    pub fn set_cell_id_ping_threshold(&mut self, v: u32) {
3285        self.cell_id_ping_threshold = ::std::option::Option::Some(v);
3286    }
3287
3288    // optional bool deprecated_use_pics = 13;
3289
3290    pub fn deprecated_use_pics(&self) -> bool {
3291        self.deprecated_use_pics.unwrap_or(false)
3292    }
3293
3294    pub fn clear_deprecated_use_pics(&mut self) {
3295        self.deprecated_use_pics = ::std::option::Option::None;
3296    }
3297
3298    pub fn has_deprecated_use_pics(&self) -> bool {
3299        self.deprecated_use_pics.is_some()
3300    }
3301
3302    // Param is passed by value, moved
3303    pub fn set_deprecated_use_pics(&mut self, v: bool) {
3304        self.deprecated_use_pics = ::std::option::Option::Some(v);
3305    }
3306
3307    // optional string vanity_url = 14;
3308
3309    pub fn vanity_url(&self) -> &str {
3310        match self.vanity_url.as_ref() {
3311            Some(v) => v,
3312            None => "",
3313        }
3314    }
3315
3316    pub fn clear_vanity_url(&mut self) {
3317        self.vanity_url = ::std::option::Option::None;
3318    }
3319
3320    pub fn has_vanity_url(&self) -> bool {
3321        self.vanity_url.is_some()
3322    }
3323
3324    // Param is passed by value, moved
3325    pub fn set_vanity_url(&mut self, v: ::std::string::String) {
3326        self.vanity_url = ::std::option::Option::Some(v);
3327    }
3328
3329    // Mutable pointer to the field.
3330    // If field is not initialized, it is initialized with default value first.
3331    pub fn mut_vanity_url(&mut self) -> &mut ::std::string::String {
3332        if self.vanity_url.is_none() {
3333            self.vanity_url = ::std::option::Option::Some(::std::string::String::new());
3334        }
3335        self.vanity_url.as_mut().unwrap()
3336    }
3337
3338    // Take field
3339    pub fn take_vanity_url(&mut self) -> ::std::string::String {
3340        self.vanity_url.take().unwrap_or_else(|| ::std::string::String::new())
3341    }
3342
3343    // optional string user_country = 16;
3344
3345    pub fn user_country(&self) -> &str {
3346        match self.user_country.as_ref() {
3347            Some(v) => v,
3348            None => "",
3349        }
3350    }
3351
3352    pub fn clear_user_country(&mut self) {
3353        self.user_country = ::std::option::Option::None;
3354    }
3355
3356    pub fn has_user_country(&self) -> bool {
3357        self.user_country.is_some()
3358    }
3359
3360    // Param is passed by value, moved
3361    pub fn set_user_country(&mut self, v: ::std::string::String) {
3362        self.user_country = ::std::option::Option::Some(v);
3363    }
3364
3365    // Mutable pointer to the field.
3366    // If field is not initialized, it is initialized with default value first.
3367    pub fn mut_user_country(&mut self) -> &mut ::std::string::String {
3368        if self.user_country.is_none() {
3369            self.user_country = ::std::option::Option::Some(::std::string::String::new());
3370        }
3371        self.user_country.as_mut().unwrap()
3372    }
3373
3374    // Take field
3375    pub fn take_user_country(&mut self) -> ::std::string::String {
3376        self.user_country.take().unwrap_or_else(|| ::std::string::String::new())
3377    }
3378
3379    // optional fixed64 client_supplied_steamid = 20;
3380
3381    pub fn client_supplied_steamid(&self) -> u64 {
3382        self.client_supplied_steamid.unwrap_or(0)
3383    }
3384
3385    pub fn clear_client_supplied_steamid(&mut self) {
3386        self.client_supplied_steamid = ::std::option::Option::None;
3387    }
3388
3389    pub fn has_client_supplied_steamid(&self) -> bool {
3390        self.client_supplied_steamid.is_some()
3391    }
3392
3393    // Param is passed by value, moved
3394    pub fn set_client_supplied_steamid(&mut self, v: u64) {
3395        self.client_supplied_steamid = ::std::option::Option::Some(v);
3396    }
3397
3398    // optional string ip_country_code = 21;
3399
3400    pub fn ip_country_code(&self) -> &str {
3401        match self.ip_country_code.as_ref() {
3402            Some(v) => v,
3403            None => "",
3404        }
3405    }
3406
3407    pub fn clear_ip_country_code(&mut self) {
3408        self.ip_country_code = ::std::option::Option::None;
3409    }
3410
3411    pub fn has_ip_country_code(&self) -> bool {
3412        self.ip_country_code.is_some()
3413    }
3414
3415    // Param is passed by value, moved
3416    pub fn set_ip_country_code(&mut self, v: ::std::string::String) {
3417        self.ip_country_code = ::std::option::Option::Some(v);
3418    }
3419
3420    // Mutable pointer to the field.
3421    // If field is not initialized, it is initialized with default value first.
3422    pub fn mut_ip_country_code(&mut self) -> &mut ::std::string::String {
3423        if self.ip_country_code.is_none() {
3424            self.ip_country_code = ::std::option::Option::Some(::std::string::String::new());
3425        }
3426        self.ip_country_code.as_mut().unwrap()
3427    }
3428
3429    // Take field
3430    pub fn take_ip_country_code(&mut self) -> ::std::string::String {
3431        self.ip_country_code.take().unwrap_or_else(|| ::std::string::String::new())
3432    }
3433
3434    // optional bytes parental_settings = 22;
3435
3436    pub fn parental_settings(&self) -> &[u8] {
3437        match self.parental_settings.as_ref() {
3438            Some(v) => v,
3439            None => &[],
3440        }
3441    }
3442
3443    pub fn clear_parental_settings(&mut self) {
3444        self.parental_settings = ::std::option::Option::None;
3445    }
3446
3447    pub fn has_parental_settings(&self) -> bool {
3448        self.parental_settings.is_some()
3449    }
3450
3451    // Param is passed by value, moved
3452    pub fn set_parental_settings(&mut self, v: ::std::vec::Vec<u8>) {
3453        self.parental_settings = ::std::option::Option::Some(v);
3454    }
3455
3456    // Mutable pointer to the field.
3457    // If field is not initialized, it is initialized with default value first.
3458    pub fn mut_parental_settings(&mut self) -> &mut ::std::vec::Vec<u8> {
3459        if self.parental_settings.is_none() {
3460            self.parental_settings = ::std::option::Option::Some(::std::vec::Vec::new());
3461        }
3462        self.parental_settings.as_mut().unwrap()
3463    }
3464
3465    // Take field
3466    pub fn take_parental_settings(&mut self) -> ::std::vec::Vec<u8> {
3467        self.parental_settings.take().unwrap_or_else(|| ::std::vec::Vec::new())
3468    }
3469
3470    // optional bytes parental_setting_signature = 23;
3471
3472    pub fn parental_setting_signature(&self) -> &[u8] {
3473        match self.parental_setting_signature.as_ref() {
3474            Some(v) => v,
3475            None => &[],
3476        }
3477    }
3478
3479    pub fn clear_parental_setting_signature(&mut self) {
3480        self.parental_setting_signature = ::std::option::Option::None;
3481    }
3482
3483    pub fn has_parental_setting_signature(&self) -> bool {
3484        self.parental_setting_signature.is_some()
3485    }
3486
3487    // Param is passed by value, moved
3488    pub fn set_parental_setting_signature(&mut self, v: ::std::vec::Vec<u8>) {
3489        self.parental_setting_signature = ::std::option::Option::Some(v);
3490    }
3491
3492    // Mutable pointer to the field.
3493    // If field is not initialized, it is initialized with default value first.
3494    pub fn mut_parental_setting_signature(&mut self) -> &mut ::std::vec::Vec<u8> {
3495        if self.parental_setting_signature.is_none() {
3496            self.parental_setting_signature = ::std::option::Option::Some(::std::vec::Vec::new());
3497        }
3498        self.parental_setting_signature.as_mut().unwrap()
3499    }
3500
3501    // Take field
3502    pub fn take_parental_setting_signature(&mut self) -> ::std::vec::Vec<u8> {
3503        self.parental_setting_signature.take().unwrap_or_else(|| ::std::vec::Vec::new())
3504    }
3505
3506    // optional int32 count_loginfailures_to_migrate = 24;
3507
3508    pub fn count_loginfailures_to_migrate(&self) -> i32 {
3509        self.count_loginfailures_to_migrate.unwrap_or(0)
3510    }
3511
3512    pub fn clear_count_loginfailures_to_migrate(&mut self) {
3513        self.count_loginfailures_to_migrate = ::std::option::Option::None;
3514    }
3515
3516    pub fn has_count_loginfailures_to_migrate(&self) -> bool {
3517        self.count_loginfailures_to_migrate.is_some()
3518    }
3519
3520    // Param is passed by value, moved
3521    pub fn set_count_loginfailures_to_migrate(&mut self, v: i32) {
3522        self.count_loginfailures_to_migrate = ::std::option::Option::Some(v);
3523    }
3524
3525    // optional int32 count_disconnects_to_migrate = 25;
3526
3527    pub fn count_disconnects_to_migrate(&self) -> i32 {
3528        self.count_disconnects_to_migrate.unwrap_or(0)
3529    }
3530
3531    pub fn clear_count_disconnects_to_migrate(&mut self) {
3532        self.count_disconnects_to_migrate = ::std::option::Option::None;
3533    }
3534
3535    pub fn has_count_disconnects_to_migrate(&self) -> bool {
3536        self.count_disconnects_to_migrate.is_some()
3537    }
3538
3539    // Param is passed by value, moved
3540    pub fn set_count_disconnects_to_migrate(&mut self, v: i32) {
3541        self.count_disconnects_to_migrate = ::std::option::Option::Some(v);
3542    }
3543
3544    // optional int32 ogs_data_report_time_window = 26;
3545
3546    pub fn ogs_data_report_time_window(&self) -> i32 {
3547        self.ogs_data_report_time_window.unwrap_or(0)
3548    }
3549
3550    pub fn clear_ogs_data_report_time_window(&mut self) {
3551        self.ogs_data_report_time_window = ::std::option::Option::None;
3552    }
3553
3554    pub fn has_ogs_data_report_time_window(&self) -> bool {
3555        self.ogs_data_report_time_window.is_some()
3556    }
3557
3558    // Param is passed by value, moved
3559    pub fn set_ogs_data_report_time_window(&mut self, v: i32) {
3560        self.ogs_data_report_time_window = ::std::option::Option::Some(v);
3561    }
3562
3563    // optional uint64 client_instance_id = 27;
3564
3565    pub fn client_instance_id(&self) -> u64 {
3566        self.client_instance_id.unwrap_or(0)
3567    }
3568
3569    pub fn clear_client_instance_id(&mut self) {
3570        self.client_instance_id = ::std::option::Option::None;
3571    }
3572
3573    pub fn has_client_instance_id(&self) -> bool {
3574        self.client_instance_id.is_some()
3575    }
3576
3577    // Param is passed by value, moved
3578    pub fn set_client_instance_id(&mut self, v: u64) {
3579        self.client_instance_id = ::std::option::Option::Some(v);
3580    }
3581
3582    // optional bool force_client_update_check = 28;
3583
3584    pub fn force_client_update_check(&self) -> bool {
3585        self.force_client_update_check.unwrap_or(false)
3586    }
3587
3588    pub fn clear_force_client_update_check(&mut self) {
3589        self.force_client_update_check = ::std::option::Option::None;
3590    }
3591
3592    pub fn has_force_client_update_check(&self) -> bool {
3593        self.force_client_update_check.is_some()
3594    }
3595
3596    // Param is passed by value, moved
3597    pub fn set_force_client_update_check(&mut self, v: bool) {
3598        self.force_client_update_check = ::std::option::Option::Some(v);
3599    }
3600
3601    // optional string agreement_session_url = 29;
3602
3603    pub fn agreement_session_url(&self) -> &str {
3604        match self.agreement_session_url.as_ref() {
3605            Some(v) => v,
3606            None => "",
3607        }
3608    }
3609
3610    pub fn clear_agreement_session_url(&mut self) {
3611        self.agreement_session_url = ::std::option::Option::None;
3612    }
3613
3614    pub fn has_agreement_session_url(&self) -> bool {
3615        self.agreement_session_url.is_some()
3616    }
3617
3618    // Param is passed by value, moved
3619    pub fn set_agreement_session_url(&mut self, v: ::std::string::String) {
3620        self.agreement_session_url = ::std::option::Option::Some(v);
3621    }
3622
3623    // Mutable pointer to the field.
3624    // If field is not initialized, it is initialized with default value first.
3625    pub fn mut_agreement_session_url(&mut self) -> &mut ::std::string::String {
3626        if self.agreement_session_url.is_none() {
3627            self.agreement_session_url = ::std::option::Option::Some(::std::string::String::new());
3628        }
3629        self.agreement_session_url.as_mut().unwrap()
3630    }
3631
3632    // Take field
3633    pub fn take_agreement_session_url(&mut self) -> ::std::string::String {
3634        self.agreement_session_url.take().unwrap_or_else(|| ::std::string::String::new())
3635    }
3636
3637    // optional uint64 token_id = 30;
3638
3639    pub fn token_id(&self) -> u64 {
3640        self.token_id.unwrap_or(0)
3641    }
3642
3643    pub fn clear_token_id(&mut self) {
3644        self.token_id = ::std::option::Option::None;
3645    }
3646
3647    pub fn has_token_id(&self) -> bool {
3648        self.token_id.is_some()
3649    }
3650
3651    // Param is passed by value, moved
3652    pub fn set_token_id(&mut self, v: u64) {
3653        self.token_id = ::std::option::Option::Some(v);
3654    }
3655
3656    // optional uint64 family_group_id = 31;
3657
3658    pub fn family_group_id(&self) -> u64 {
3659        self.family_group_id.unwrap_or(0)
3660    }
3661
3662    pub fn clear_family_group_id(&mut self) {
3663        self.family_group_id = ::std::option::Option::None;
3664    }
3665
3666    pub fn has_family_group_id(&self) -> bool {
3667        self.family_group_id.is_some()
3668    }
3669
3670    // Param is passed by value, moved
3671    pub fn set_family_group_id(&mut self, v: u64) {
3672        self.family_group_id = ::std::option::Option::Some(v);
3673    }
3674}
3675
3676impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLogonResponse {
3677    const NAME: &'static str = "CMsgClientLogonResponse";
3678
3679    fn is_initialized(&self) -> bool {
3680        true
3681    }
3682
3683    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3684        while let Some(tag) = is.read_raw_tag_or_eof()? {
3685            match tag {
3686                8 => {
3687                    self.eresult = ::std::option::Option::Some(is.read_int32()?);
3688                },
3689                16 => {
3690                    self.legacy_out_of_game_heartbeat_seconds = ::std::option::Option::Some(is.read_int32()?);
3691                },
3692                24 => {
3693                    self.heartbeat_seconds = ::std::option::Option::Some(is.read_int32()?);
3694                },
3695                32 => {
3696                    self.deprecated_public_ip = ::std::option::Option::Some(is.read_uint32()?);
3697                },
3698                45 => {
3699                    self.rtime32_server_time = ::std::option::Option::Some(is.read_fixed32()?);
3700                },
3701                48 => {
3702                    self.account_flags = ::std::option::Option::Some(is.read_uint32()?);
3703                },
3704                56 => {
3705                    self.cell_id = ::std::option::Option::Some(is.read_uint32()?);
3706                },
3707                66 => {
3708                    self.email_domain = ::std::option::Option::Some(is.read_string()?);
3709                },
3710                74 => {
3711                    self.steam2_ticket = ::std::option::Option::Some(is.read_bytes()?);
3712                },
3713                80 => {
3714                    self.eresult_extended = ::std::option::Option::Some(is.read_int32()?);
3715                },
3716                96 => {
3717                    self.cell_id_ping_threshold = ::std::option::Option::Some(is.read_uint32()?);
3718                },
3719                104 => {
3720                    self.deprecated_use_pics = ::std::option::Option::Some(is.read_bool()?);
3721                },
3722                114 => {
3723                    self.vanity_url = ::std::option::Option::Some(is.read_string()?);
3724                },
3725                122 => {
3726                    ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.public_ip)?;
3727                },
3728                130 => {
3729                    self.user_country = ::std::option::Option::Some(is.read_string()?);
3730                },
3731                161 => {
3732                    self.client_supplied_steamid = ::std::option::Option::Some(is.read_fixed64()?);
3733                },
3734                170 => {
3735                    self.ip_country_code = ::std::option::Option::Some(is.read_string()?);
3736                },
3737                178 => {
3738                    self.parental_settings = ::std::option::Option::Some(is.read_bytes()?);
3739                },
3740                186 => {
3741                    self.parental_setting_signature = ::std::option::Option::Some(is.read_bytes()?);
3742                },
3743                192 => {
3744                    self.count_loginfailures_to_migrate = ::std::option::Option::Some(is.read_int32()?);
3745                },
3746                200 => {
3747                    self.count_disconnects_to_migrate = ::std::option::Option::Some(is.read_int32()?);
3748                },
3749                208 => {
3750                    self.ogs_data_report_time_window = ::std::option::Option::Some(is.read_int32()?);
3751                },
3752                216 => {
3753                    self.client_instance_id = ::std::option::Option::Some(is.read_uint64()?);
3754                },
3755                224 => {
3756                    self.force_client_update_check = ::std::option::Option::Some(is.read_bool()?);
3757                },
3758                234 => {
3759                    self.agreement_session_url = ::std::option::Option::Some(is.read_string()?);
3760                },
3761                240 => {
3762                    self.token_id = ::std::option::Option::Some(is.read_uint64()?);
3763                },
3764                248 => {
3765                    self.family_group_id = ::std::option::Option::Some(is.read_uint64()?);
3766                },
3767                tag => {
3768                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
3769                },
3770            };
3771        }
3772        ::std::result::Result::Ok(())
3773    }
3774
3775    // Compute sizes of nested messages
3776    #[allow(unused_variables)]
3777    fn compute_size(&self) -> u64 {
3778        let mut my_size = 0;
3779        if let Some(v) = self.eresult {
3780            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
3781        }
3782        if let Some(v) = self.legacy_out_of_game_heartbeat_seconds {
3783            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
3784        }
3785        if let Some(v) = self.heartbeat_seconds {
3786            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
3787        }
3788        if let Some(v) = self.deprecated_public_ip {
3789            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
3790        }
3791        if let Some(v) = self.rtime32_server_time {
3792            my_size += 1 + 4;
3793        }
3794        if let Some(v) = self.account_flags {
3795            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
3796        }
3797        if let Some(v) = self.cell_id {
3798            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
3799        }
3800        if let Some(v) = self.email_domain.as_ref() {
3801            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
3802        }
3803        if let Some(v) = self.steam2_ticket.as_ref() {
3804            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(9, &v);
3805        }
3806        if let Some(v) = self.eresult_extended {
3807            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(10, v);
3808        }
3809        if let Some(v) = self.cell_id_ping_threshold {
3810            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(12, v);
3811        }
3812        if let Some(v) = self.deprecated_use_pics {
3813            my_size += 1 + 1;
3814        }
3815        if let Some(v) = self.vanity_url.as_ref() {
3816            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(14, &v);
3817        }
3818        if let Some(v) = self.public_ip.as_ref() {
3819            let len = v.compute_size();
3820            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
3821        }
3822        if let Some(v) = self.user_country.as_ref() {
3823            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(16, &v);
3824        }
3825        if let Some(v) = self.client_supplied_steamid {
3826            my_size += 2 + 8;
3827        }
3828        if let Some(v) = self.ip_country_code.as_ref() {
3829            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(21, &v);
3830        }
3831        if let Some(v) = self.parental_settings.as_ref() {
3832            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(22, &v);
3833        }
3834        if let Some(v) = self.parental_setting_signature.as_ref() {
3835            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(23, &v);
3836        }
3837        if let Some(v) = self.count_loginfailures_to_migrate {
3838            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(24, v);
3839        }
3840        if let Some(v) = self.count_disconnects_to_migrate {
3841            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(25, v);
3842        }
3843        if let Some(v) = self.ogs_data_report_time_window {
3844            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(26, v);
3845        }
3846        if let Some(v) = self.client_instance_id {
3847            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(27, v);
3848        }
3849        if let Some(v) = self.force_client_update_check {
3850            my_size += 2 + 1;
3851        }
3852        if let Some(v) = self.agreement_session_url.as_ref() {
3853            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(29, &v);
3854        }
3855        if let Some(v) = self.token_id {
3856            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(30, v);
3857        }
3858        if let Some(v) = self.family_group_id {
3859            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(31, v);
3860        }
3861        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
3862        self.special_fields.cached_size().set(my_size as u32);
3863        my_size
3864    }
3865
3866    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3867        if let Some(v) = self.eresult {
3868            os.write_int32(1, v)?;
3869        }
3870        if let Some(v) = self.legacy_out_of_game_heartbeat_seconds {
3871            os.write_int32(2, v)?;
3872        }
3873        if let Some(v) = self.heartbeat_seconds {
3874            os.write_int32(3, v)?;
3875        }
3876        if let Some(v) = self.deprecated_public_ip {
3877            os.write_uint32(4, v)?;
3878        }
3879        if let Some(v) = self.rtime32_server_time {
3880            os.write_fixed32(5, v)?;
3881        }
3882        if let Some(v) = self.account_flags {
3883            os.write_uint32(6, v)?;
3884        }
3885        if let Some(v) = self.cell_id {
3886            os.write_uint32(7, v)?;
3887        }
3888        if let Some(v) = self.email_domain.as_ref() {
3889            os.write_string(8, v)?;
3890        }
3891        if let Some(v) = self.steam2_ticket.as_ref() {
3892            os.write_bytes(9, v)?;
3893        }
3894        if let Some(v) = self.eresult_extended {
3895            os.write_int32(10, v)?;
3896        }
3897        if let Some(v) = self.cell_id_ping_threshold {
3898            os.write_uint32(12, v)?;
3899        }
3900        if let Some(v) = self.deprecated_use_pics {
3901            os.write_bool(13, v)?;
3902        }
3903        if let Some(v) = self.vanity_url.as_ref() {
3904            os.write_string(14, v)?;
3905        }
3906        if let Some(v) = self.public_ip.as_ref() {
3907            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(15, v, os)?;
3908        }
3909        if let Some(v) = self.user_country.as_ref() {
3910            os.write_string(16, v)?;
3911        }
3912        if let Some(v) = self.client_supplied_steamid {
3913            os.write_fixed64(20, v)?;
3914        }
3915        if let Some(v) = self.ip_country_code.as_ref() {
3916            os.write_string(21, v)?;
3917        }
3918        if let Some(v) = self.parental_settings.as_ref() {
3919            os.write_bytes(22, v)?;
3920        }
3921        if let Some(v) = self.parental_setting_signature.as_ref() {
3922            os.write_bytes(23, v)?;
3923        }
3924        if let Some(v) = self.count_loginfailures_to_migrate {
3925            os.write_int32(24, v)?;
3926        }
3927        if let Some(v) = self.count_disconnects_to_migrate {
3928            os.write_int32(25, v)?;
3929        }
3930        if let Some(v) = self.ogs_data_report_time_window {
3931            os.write_int32(26, v)?;
3932        }
3933        if let Some(v) = self.client_instance_id {
3934            os.write_uint64(27, v)?;
3935        }
3936        if let Some(v) = self.force_client_update_check {
3937            os.write_bool(28, v)?;
3938        }
3939        if let Some(v) = self.agreement_session_url.as_ref() {
3940            os.write_string(29, v)?;
3941        }
3942        if let Some(v) = self.token_id {
3943            os.write_uint64(30, v)?;
3944        }
3945        if let Some(v) = self.family_group_id {
3946            os.write_uint64(31, v)?;
3947        }
3948        os.write_unknown_fields(self.special_fields.unknown_fields())?;
3949        ::std::result::Result::Ok(())
3950    }
3951
3952    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
3953        &self.special_fields
3954    }
3955
3956    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
3957        &mut self.special_fields
3958    }
3959
3960    fn new() -> CMsgClientLogonResponse {
3961        CMsgClientLogonResponse::new()
3962    }
3963
3964    fn clear(&mut self) {
3965        self.eresult = ::std::option::Option::None;
3966        self.legacy_out_of_game_heartbeat_seconds = ::std::option::Option::None;
3967        self.heartbeat_seconds = ::std::option::Option::None;
3968        self.deprecated_public_ip = ::std::option::Option::None;
3969        self.rtime32_server_time = ::std::option::Option::None;
3970        self.account_flags = ::std::option::Option::None;
3971        self.cell_id = ::std::option::Option::None;
3972        self.email_domain = ::std::option::Option::None;
3973        self.steam2_ticket = ::std::option::Option::None;
3974        self.eresult_extended = ::std::option::Option::None;
3975        self.cell_id_ping_threshold = ::std::option::Option::None;
3976        self.deprecated_use_pics = ::std::option::Option::None;
3977        self.vanity_url = ::std::option::Option::None;
3978        self.public_ip.clear();
3979        self.user_country = ::std::option::Option::None;
3980        self.client_supplied_steamid = ::std::option::Option::None;
3981        self.ip_country_code = ::std::option::Option::None;
3982        self.parental_settings = ::std::option::Option::None;
3983        self.parental_setting_signature = ::std::option::Option::None;
3984        self.count_loginfailures_to_migrate = ::std::option::Option::None;
3985        self.count_disconnects_to_migrate = ::std::option::Option::None;
3986        self.ogs_data_report_time_window = ::std::option::Option::None;
3987        self.client_instance_id = ::std::option::Option::None;
3988        self.force_client_update_check = ::std::option::Option::None;
3989        self.agreement_session_url = ::std::option::Option::None;
3990        self.token_id = ::std::option::Option::None;
3991        self.family_group_id = ::std::option::Option::None;
3992        self.special_fields.clear();
3993    }
3994
3995    fn default_instance() -> &'static CMsgClientLogonResponse {
3996        static instance: CMsgClientLogonResponse = CMsgClientLogonResponse {
3997            eresult: ::std::option::Option::None,
3998            legacy_out_of_game_heartbeat_seconds: ::std::option::Option::None,
3999            heartbeat_seconds: ::std::option::Option::None,
4000            deprecated_public_ip: ::std::option::Option::None,
4001            rtime32_server_time: ::std::option::Option::None,
4002            account_flags: ::std::option::Option::None,
4003            cell_id: ::std::option::Option::None,
4004            email_domain: ::std::option::Option::None,
4005            steam2_ticket: ::std::option::Option::None,
4006            eresult_extended: ::std::option::Option::None,
4007            cell_id_ping_threshold: ::std::option::Option::None,
4008            deprecated_use_pics: ::std::option::Option::None,
4009            vanity_url: ::std::option::Option::None,
4010            public_ip: ::steam_vent_proto_common::protobuf::MessageField::none(),
4011            user_country: ::std::option::Option::None,
4012            client_supplied_steamid: ::std::option::Option::None,
4013            ip_country_code: ::std::option::Option::None,
4014            parental_settings: ::std::option::Option::None,
4015            parental_setting_signature: ::std::option::Option::None,
4016            count_loginfailures_to_migrate: ::std::option::Option::None,
4017            count_disconnects_to_migrate: ::std::option::Option::None,
4018            ogs_data_report_time_window: ::std::option::Option::None,
4019            client_instance_id: ::std::option::Option::None,
4020            force_client_update_check: ::std::option::Option::None,
4021            agreement_session_url: ::std::option::Option::None,
4022            token_id: ::std::option::Option::None,
4023            family_group_id: ::std::option::Option::None,
4024            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4025        };
4026        &instance
4027    }
4028}
4029
4030// @@protoc_insertion_point(message:CMsgClientRequestWebAPIAuthenticateUserNonce)
4031#[derive(PartialEq,Clone,Default,Debug)]
4032pub struct CMsgClientRequestWebAPIAuthenticateUserNonce {
4033    // message fields
4034    // @@protoc_insertion_point(field:CMsgClientRequestWebAPIAuthenticateUserNonce.token_type)
4035    pub token_type: ::std::option::Option<i32>,
4036    // special fields
4037    // @@protoc_insertion_point(special_field:CMsgClientRequestWebAPIAuthenticateUserNonce.special_fields)
4038    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4039}
4040
4041impl<'a> ::std::default::Default for &'a CMsgClientRequestWebAPIAuthenticateUserNonce {
4042    fn default() -> &'a CMsgClientRequestWebAPIAuthenticateUserNonce {
4043        <CMsgClientRequestWebAPIAuthenticateUserNonce as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4044    }
4045}
4046
4047impl CMsgClientRequestWebAPIAuthenticateUserNonce {
4048    pub fn new() -> CMsgClientRequestWebAPIAuthenticateUserNonce {
4049        ::std::default::Default::default()
4050    }
4051
4052    // optional int32 token_type = 1;
4053
4054    pub fn token_type(&self) -> i32 {
4055        self.token_type.unwrap_or(-1i32)
4056    }
4057
4058    pub fn clear_token_type(&mut self) {
4059        self.token_type = ::std::option::Option::None;
4060    }
4061
4062    pub fn has_token_type(&self) -> bool {
4063        self.token_type.is_some()
4064    }
4065
4066    // Param is passed by value, moved
4067    pub fn set_token_type(&mut self, v: i32) {
4068        self.token_type = ::std::option::Option::Some(v);
4069    }
4070}
4071
4072impl ::steam_vent_proto_common::protobuf::Message for CMsgClientRequestWebAPIAuthenticateUserNonce {
4073    const NAME: &'static str = "CMsgClientRequestWebAPIAuthenticateUserNonce";
4074
4075    fn is_initialized(&self) -> bool {
4076        true
4077    }
4078
4079    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4080        while let Some(tag) = is.read_raw_tag_or_eof()? {
4081            match tag {
4082                8 => {
4083                    self.token_type = ::std::option::Option::Some(is.read_int32()?);
4084                },
4085                tag => {
4086                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4087                },
4088            };
4089        }
4090        ::std::result::Result::Ok(())
4091    }
4092
4093    // Compute sizes of nested messages
4094    #[allow(unused_variables)]
4095    fn compute_size(&self) -> u64 {
4096        let mut my_size = 0;
4097        if let Some(v) = self.token_type {
4098            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
4099        }
4100        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4101        self.special_fields.cached_size().set(my_size as u32);
4102        my_size
4103    }
4104
4105    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4106        if let Some(v) = self.token_type {
4107            os.write_int32(1, v)?;
4108        }
4109        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4110        ::std::result::Result::Ok(())
4111    }
4112
4113    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4114        &self.special_fields
4115    }
4116
4117    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4118        &mut self.special_fields
4119    }
4120
4121    fn new() -> CMsgClientRequestWebAPIAuthenticateUserNonce {
4122        CMsgClientRequestWebAPIAuthenticateUserNonce::new()
4123    }
4124
4125    fn clear(&mut self) {
4126        self.token_type = ::std::option::Option::None;
4127        self.special_fields.clear();
4128    }
4129
4130    fn default_instance() -> &'static CMsgClientRequestWebAPIAuthenticateUserNonce {
4131        static instance: CMsgClientRequestWebAPIAuthenticateUserNonce = CMsgClientRequestWebAPIAuthenticateUserNonce {
4132            token_type: ::std::option::Option::None,
4133            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4134        };
4135        &instance
4136    }
4137}
4138
4139// @@protoc_insertion_point(message:CMsgClientRequestWebAPIAuthenticateUserNonceResponse)
4140#[derive(PartialEq,Clone,Default,Debug)]
4141pub struct CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
4142    // message fields
4143    // @@protoc_insertion_point(field:CMsgClientRequestWebAPIAuthenticateUserNonceResponse.eresult)
4144    pub eresult: ::std::option::Option<i32>,
4145    // @@protoc_insertion_point(field:CMsgClientRequestWebAPIAuthenticateUserNonceResponse.webapi_authenticate_user_nonce)
4146    pub webapi_authenticate_user_nonce: ::std::option::Option<::std::string::String>,
4147    // @@protoc_insertion_point(field:CMsgClientRequestWebAPIAuthenticateUserNonceResponse.token_type)
4148    pub token_type: ::std::option::Option<i32>,
4149    // special fields
4150    // @@protoc_insertion_point(special_field:CMsgClientRequestWebAPIAuthenticateUserNonceResponse.special_fields)
4151    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4152}
4153
4154impl<'a> ::std::default::Default for &'a CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
4155    fn default() -> &'a CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
4156        <CMsgClientRequestWebAPIAuthenticateUserNonceResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4157    }
4158}
4159
4160impl CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
4161    pub fn new() -> CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
4162        ::std::default::Default::default()
4163    }
4164
4165    // optional int32 eresult = 1;
4166
4167    pub fn eresult(&self) -> i32 {
4168        self.eresult.unwrap_or(2i32)
4169    }
4170
4171    pub fn clear_eresult(&mut self) {
4172        self.eresult = ::std::option::Option::None;
4173    }
4174
4175    pub fn has_eresult(&self) -> bool {
4176        self.eresult.is_some()
4177    }
4178
4179    // Param is passed by value, moved
4180    pub fn set_eresult(&mut self, v: i32) {
4181        self.eresult = ::std::option::Option::Some(v);
4182    }
4183
4184    // optional string webapi_authenticate_user_nonce = 11;
4185
4186    pub fn webapi_authenticate_user_nonce(&self) -> &str {
4187        match self.webapi_authenticate_user_nonce.as_ref() {
4188            Some(v) => v,
4189            None => "",
4190        }
4191    }
4192
4193    pub fn clear_webapi_authenticate_user_nonce(&mut self) {
4194        self.webapi_authenticate_user_nonce = ::std::option::Option::None;
4195    }
4196
4197    pub fn has_webapi_authenticate_user_nonce(&self) -> bool {
4198        self.webapi_authenticate_user_nonce.is_some()
4199    }
4200
4201    // Param is passed by value, moved
4202    pub fn set_webapi_authenticate_user_nonce(&mut self, v: ::std::string::String) {
4203        self.webapi_authenticate_user_nonce = ::std::option::Option::Some(v);
4204    }
4205
4206    // Mutable pointer to the field.
4207    // If field is not initialized, it is initialized with default value first.
4208    pub fn mut_webapi_authenticate_user_nonce(&mut self) -> &mut ::std::string::String {
4209        if self.webapi_authenticate_user_nonce.is_none() {
4210            self.webapi_authenticate_user_nonce = ::std::option::Option::Some(::std::string::String::new());
4211        }
4212        self.webapi_authenticate_user_nonce.as_mut().unwrap()
4213    }
4214
4215    // Take field
4216    pub fn take_webapi_authenticate_user_nonce(&mut self) -> ::std::string::String {
4217        self.webapi_authenticate_user_nonce.take().unwrap_or_else(|| ::std::string::String::new())
4218    }
4219
4220    // optional int32 token_type = 3;
4221
4222    pub fn token_type(&self) -> i32 {
4223        self.token_type.unwrap_or(-1i32)
4224    }
4225
4226    pub fn clear_token_type(&mut self) {
4227        self.token_type = ::std::option::Option::None;
4228    }
4229
4230    pub fn has_token_type(&self) -> bool {
4231        self.token_type.is_some()
4232    }
4233
4234    // Param is passed by value, moved
4235    pub fn set_token_type(&mut self, v: i32) {
4236        self.token_type = ::std::option::Option::Some(v);
4237    }
4238}
4239
4240impl ::steam_vent_proto_common::protobuf::Message for CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
4241    const NAME: &'static str = "CMsgClientRequestWebAPIAuthenticateUserNonceResponse";
4242
4243    fn is_initialized(&self) -> bool {
4244        true
4245    }
4246
4247    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4248        while let Some(tag) = is.read_raw_tag_or_eof()? {
4249            match tag {
4250                8 => {
4251                    self.eresult = ::std::option::Option::Some(is.read_int32()?);
4252                },
4253                90 => {
4254                    self.webapi_authenticate_user_nonce = ::std::option::Option::Some(is.read_string()?);
4255                },
4256                24 => {
4257                    self.token_type = ::std::option::Option::Some(is.read_int32()?);
4258                },
4259                tag => {
4260                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4261                },
4262            };
4263        }
4264        ::std::result::Result::Ok(())
4265    }
4266
4267    // Compute sizes of nested messages
4268    #[allow(unused_variables)]
4269    fn compute_size(&self) -> u64 {
4270        let mut my_size = 0;
4271        if let Some(v) = self.eresult {
4272            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
4273        }
4274        if let Some(v) = self.webapi_authenticate_user_nonce.as_ref() {
4275            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(11, &v);
4276        }
4277        if let Some(v) = self.token_type {
4278            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
4279        }
4280        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4281        self.special_fields.cached_size().set(my_size as u32);
4282        my_size
4283    }
4284
4285    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4286        if let Some(v) = self.eresult {
4287            os.write_int32(1, v)?;
4288        }
4289        if let Some(v) = self.webapi_authenticate_user_nonce.as_ref() {
4290            os.write_string(11, v)?;
4291        }
4292        if let Some(v) = self.token_type {
4293            os.write_int32(3, v)?;
4294        }
4295        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4296        ::std::result::Result::Ok(())
4297    }
4298
4299    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4300        &self.special_fields
4301    }
4302
4303    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4304        &mut self.special_fields
4305    }
4306
4307    fn new() -> CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
4308        CMsgClientRequestWebAPIAuthenticateUserNonceResponse::new()
4309    }
4310
4311    fn clear(&mut self) {
4312        self.eresult = ::std::option::Option::None;
4313        self.webapi_authenticate_user_nonce = ::std::option::Option::None;
4314        self.token_type = ::std::option::Option::None;
4315        self.special_fields.clear();
4316    }
4317
4318    fn default_instance() -> &'static CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
4319        static instance: CMsgClientRequestWebAPIAuthenticateUserNonceResponse = CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
4320            eresult: ::std::option::Option::None,
4321            webapi_authenticate_user_nonce: ::std::option::Option::None,
4322            token_type: ::std::option::Option::None,
4323            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4324        };
4325        &instance
4326    }
4327}
4328
4329// @@protoc_insertion_point(message:CMsgClientLogOff)
4330#[derive(PartialEq,Clone,Default,Debug)]
4331pub struct CMsgClientLogOff {
4332    // special fields
4333    // @@protoc_insertion_point(special_field:CMsgClientLogOff.special_fields)
4334    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4335}
4336
4337impl<'a> ::std::default::Default for &'a CMsgClientLogOff {
4338    fn default() -> &'a CMsgClientLogOff {
4339        <CMsgClientLogOff as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4340    }
4341}
4342
4343impl CMsgClientLogOff {
4344    pub fn new() -> CMsgClientLogOff {
4345        ::std::default::Default::default()
4346    }
4347}
4348
4349impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLogOff {
4350    const NAME: &'static str = "CMsgClientLogOff";
4351
4352    fn is_initialized(&self) -> bool {
4353        true
4354    }
4355
4356    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4357        while let Some(tag) = is.read_raw_tag_or_eof()? {
4358            match tag {
4359                tag => {
4360                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4361                },
4362            };
4363        }
4364        ::std::result::Result::Ok(())
4365    }
4366
4367    // Compute sizes of nested messages
4368    #[allow(unused_variables)]
4369    fn compute_size(&self) -> u64 {
4370        let mut my_size = 0;
4371        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4372        self.special_fields.cached_size().set(my_size as u32);
4373        my_size
4374    }
4375
4376    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4377        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4378        ::std::result::Result::Ok(())
4379    }
4380
4381    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4382        &self.special_fields
4383    }
4384
4385    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4386        &mut self.special_fields
4387    }
4388
4389    fn new() -> CMsgClientLogOff {
4390        CMsgClientLogOff::new()
4391    }
4392
4393    fn clear(&mut self) {
4394        self.special_fields.clear();
4395    }
4396
4397    fn default_instance() -> &'static CMsgClientLogOff {
4398        static instance: CMsgClientLogOff = CMsgClientLogOff {
4399            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4400        };
4401        &instance
4402    }
4403}
4404
4405// @@protoc_insertion_point(message:CMsgClientLoggedOff)
4406#[derive(PartialEq,Clone,Default,Debug)]
4407pub struct CMsgClientLoggedOff {
4408    // message fields
4409    // @@protoc_insertion_point(field:CMsgClientLoggedOff.eresult)
4410    pub eresult: ::std::option::Option<i32>,
4411    // special fields
4412    // @@protoc_insertion_point(special_field:CMsgClientLoggedOff.special_fields)
4413    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4414}
4415
4416impl<'a> ::std::default::Default for &'a CMsgClientLoggedOff {
4417    fn default() -> &'a CMsgClientLoggedOff {
4418        <CMsgClientLoggedOff as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4419    }
4420}
4421
4422impl CMsgClientLoggedOff {
4423    pub fn new() -> CMsgClientLoggedOff {
4424        ::std::default::Default::default()
4425    }
4426
4427    // optional int32 eresult = 1;
4428
4429    pub fn eresult(&self) -> i32 {
4430        self.eresult.unwrap_or(2i32)
4431    }
4432
4433    pub fn clear_eresult(&mut self) {
4434        self.eresult = ::std::option::Option::None;
4435    }
4436
4437    pub fn has_eresult(&self) -> bool {
4438        self.eresult.is_some()
4439    }
4440
4441    // Param is passed by value, moved
4442    pub fn set_eresult(&mut self, v: i32) {
4443        self.eresult = ::std::option::Option::Some(v);
4444    }
4445}
4446
4447impl ::steam_vent_proto_common::protobuf::Message for CMsgClientLoggedOff {
4448    const NAME: &'static str = "CMsgClientLoggedOff";
4449
4450    fn is_initialized(&self) -> bool {
4451        true
4452    }
4453
4454    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4455        while let Some(tag) = is.read_raw_tag_or_eof()? {
4456            match tag {
4457                8 => {
4458                    self.eresult = ::std::option::Option::Some(is.read_int32()?);
4459                },
4460                tag => {
4461                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4462                },
4463            };
4464        }
4465        ::std::result::Result::Ok(())
4466    }
4467
4468    // Compute sizes of nested messages
4469    #[allow(unused_variables)]
4470    fn compute_size(&self) -> u64 {
4471        let mut my_size = 0;
4472        if let Some(v) = self.eresult {
4473            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
4474        }
4475        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4476        self.special_fields.cached_size().set(my_size as u32);
4477        my_size
4478    }
4479
4480    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4481        if let Some(v) = self.eresult {
4482            os.write_int32(1, v)?;
4483        }
4484        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4485        ::std::result::Result::Ok(())
4486    }
4487
4488    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4489        &self.special_fields
4490    }
4491
4492    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4493        &mut self.special_fields
4494    }
4495
4496    fn new() -> CMsgClientLoggedOff {
4497        CMsgClientLoggedOff::new()
4498    }
4499
4500    fn clear(&mut self) {
4501        self.eresult = ::std::option::Option::None;
4502        self.special_fields.clear();
4503    }
4504
4505    fn default_instance() -> &'static CMsgClientLoggedOff {
4506        static instance: CMsgClientLoggedOff = CMsgClientLoggedOff {
4507            eresult: ::std::option::Option::None,
4508            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4509        };
4510        &instance
4511    }
4512}
4513
4514// @@protoc_insertion_point(message:CMsgClientNewLoginKey)
4515#[derive(PartialEq,Clone,Default,Debug)]
4516pub struct CMsgClientNewLoginKey {
4517    // message fields
4518    // @@protoc_insertion_point(field:CMsgClientNewLoginKey.unique_id)
4519    pub unique_id: ::std::option::Option<u32>,
4520    // @@protoc_insertion_point(field:CMsgClientNewLoginKey.login_key)
4521    pub login_key: ::std::option::Option<::std::string::String>,
4522    // special fields
4523    // @@protoc_insertion_point(special_field:CMsgClientNewLoginKey.special_fields)
4524    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4525}
4526
4527impl<'a> ::std::default::Default for &'a CMsgClientNewLoginKey {
4528    fn default() -> &'a CMsgClientNewLoginKey {
4529        <CMsgClientNewLoginKey as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4530    }
4531}
4532
4533impl CMsgClientNewLoginKey {
4534    pub fn new() -> CMsgClientNewLoginKey {
4535        ::std::default::Default::default()
4536    }
4537
4538    // optional uint32 unique_id = 1;
4539
4540    pub fn unique_id(&self) -> u32 {
4541        self.unique_id.unwrap_or(0)
4542    }
4543
4544    pub fn clear_unique_id(&mut self) {
4545        self.unique_id = ::std::option::Option::None;
4546    }
4547
4548    pub fn has_unique_id(&self) -> bool {
4549        self.unique_id.is_some()
4550    }
4551
4552    // Param is passed by value, moved
4553    pub fn set_unique_id(&mut self, v: u32) {
4554        self.unique_id = ::std::option::Option::Some(v);
4555    }
4556
4557    // optional string login_key = 2;
4558
4559    pub fn login_key(&self) -> &str {
4560        match self.login_key.as_ref() {
4561            Some(v) => v,
4562            None => "",
4563        }
4564    }
4565
4566    pub fn clear_login_key(&mut self) {
4567        self.login_key = ::std::option::Option::None;
4568    }
4569
4570    pub fn has_login_key(&self) -> bool {
4571        self.login_key.is_some()
4572    }
4573
4574    // Param is passed by value, moved
4575    pub fn set_login_key(&mut self, v: ::std::string::String) {
4576        self.login_key = ::std::option::Option::Some(v);
4577    }
4578
4579    // Mutable pointer to the field.
4580    // If field is not initialized, it is initialized with default value first.
4581    pub fn mut_login_key(&mut self) -> &mut ::std::string::String {
4582        if self.login_key.is_none() {
4583            self.login_key = ::std::option::Option::Some(::std::string::String::new());
4584        }
4585        self.login_key.as_mut().unwrap()
4586    }
4587
4588    // Take field
4589    pub fn take_login_key(&mut self) -> ::std::string::String {
4590        self.login_key.take().unwrap_or_else(|| ::std::string::String::new())
4591    }
4592}
4593
4594impl ::steam_vent_proto_common::protobuf::Message for CMsgClientNewLoginKey {
4595    const NAME: &'static str = "CMsgClientNewLoginKey";
4596
4597    fn is_initialized(&self) -> bool {
4598        true
4599    }
4600
4601    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4602        while let Some(tag) = is.read_raw_tag_or_eof()? {
4603            match tag {
4604                8 => {
4605                    self.unique_id = ::std::option::Option::Some(is.read_uint32()?);
4606                },
4607                18 => {
4608                    self.login_key = ::std::option::Option::Some(is.read_string()?);
4609                },
4610                tag => {
4611                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4612                },
4613            };
4614        }
4615        ::std::result::Result::Ok(())
4616    }
4617
4618    // Compute sizes of nested messages
4619    #[allow(unused_variables)]
4620    fn compute_size(&self) -> u64 {
4621        let mut my_size = 0;
4622        if let Some(v) = self.unique_id {
4623            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
4624        }
4625        if let Some(v) = self.login_key.as_ref() {
4626            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
4627        }
4628        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4629        self.special_fields.cached_size().set(my_size as u32);
4630        my_size
4631    }
4632
4633    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4634        if let Some(v) = self.unique_id {
4635            os.write_uint32(1, v)?;
4636        }
4637        if let Some(v) = self.login_key.as_ref() {
4638            os.write_string(2, v)?;
4639        }
4640        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4641        ::std::result::Result::Ok(())
4642    }
4643
4644    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4645        &self.special_fields
4646    }
4647
4648    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4649        &mut self.special_fields
4650    }
4651
4652    fn new() -> CMsgClientNewLoginKey {
4653        CMsgClientNewLoginKey::new()
4654    }
4655
4656    fn clear(&mut self) {
4657        self.unique_id = ::std::option::Option::None;
4658        self.login_key = ::std::option::Option::None;
4659        self.special_fields.clear();
4660    }
4661
4662    fn default_instance() -> &'static CMsgClientNewLoginKey {
4663        static instance: CMsgClientNewLoginKey = CMsgClientNewLoginKey {
4664            unique_id: ::std::option::Option::None,
4665            login_key: ::std::option::Option::None,
4666            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4667        };
4668        &instance
4669    }
4670}
4671
4672// @@protoc_insertion_point(message:CMsgClientNewLoginKeyAccepted)
4673#[derive(PartialEq,Clone,Default,Debug)]
4674pub struct CMsgClientNewLoginKeyAccepted {
4675    // message fields
4676    // @@protoc_insertion_point(field:CMsgClientNewLoginKeyAccepted.unique_id)
4677    pub unique_id: ::std::option::Option<u32>,
4678    // special fields
4679    // @@protoc_insertion_point(special_field:CMsgClientNewLoginKeyAccepted.special_fields)
4680    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4681}
4682
4683impl<'a> ::std::default::Default for &'a CMsgClientNewLoginKeyAccepted {
4684    fn default() -> &'a CMsgClientNewLoginKeyAccepted {
4685        <CMsgClientNewLoginKeyAccepted as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4686    }
4687}
4688
4689impl CMsgClientNewLoginKeyAccepted {
4690    pub fn new() -> CMsgClientNewLoginKeyAccepted {
4691        ::std::default::Default::default()
4692    }
4693
4694    // optional uint32 unique_id = 1;
4695
4696    pub fn unique_id(&self) -> u32 {
4697        self.unique_id.unwrap_or(0)
4698    }
4699
4700    pub fn clear_unique_id(&mut self) {
4701        self.unique_id = ::std::option::Option::None;
4702    }
4703
4704    pub fn has_unique_id(&self) -> bool {
4705        self.unique_id.is_some()
4706    }
4707
4708    // Param is passed by value, moved
4709    pub fn set_unique_id(&mut self, v: u32) {
4710        self.unique_id = ::std::option::Option::Some(v);
4711    }
4712}
4713
4714impl ::steam_vent_proto_common::protobuf::Message for CMsgClientNewLoginKeyAccepted {
4715    const NAME: &'static str = "CMsgClientNewLoginKeyAccepted";
4716
4717    fn is_initialized(&self) -> bool {
4718        true
4719    }
4720
4721    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4722        while let Some(tag) = is.read_raw_tag_or_eof()? {
4723            match tag {
4724                8 => {
4725                    self.unique_id = ::std::option::Option::Some(is.read_uint32()?);
4726                },
4727                tag => {
4728                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4729                },
4730            };
4731        }
4732        ::std::result::Result::Ok(())
4733    }
4734
4735    // Compute sizes of nested messages
4736    #[allow(unused_variables)]
4737    fn compute_size(&self) -> u64 {
4738        let mut my_size = 0;
4739        if let Some(v) = self.unique_id {
4740            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
4741        }
4742        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4743        self.special_fields.cached_size().set(my_size as u32);
4744        my_size
4745    }
4746
4747    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4748        if let Some(v) = self.unique_id {
4749            os.write_uint32(1, v)?;
4750        }
4751        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4752        ::std::result::Result::Ok(())
4753    }
4754
4755    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4756        &self.special_fields
4757    }
4758
4759    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4760        &mut self.special_fields
4761    }
4762
4763    fn new() -> CMsgClientNewLoginKeyAccepted {
4764        CMsgClientNewLoginKeyAccepted::new()
4765    }
4766
4767    fn clear(&mut self) {
4768        self.unique_id = ::std::option::Option::None;
4769        self.special_fields.clear();
4770    }
4771
4772    fn default_instance() -> &'static CMsgClientNewLoginKeyAccepted {
4773        static instance: CMsgClientNewLoginKeyAccepted = CMsgClientNewLoginKeyAccepted {
4774            unique_id: ::std::option::Option::None,
4775            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4776        };
4777        &instance
4778    }
4779}
4780
4781// @@protoc_insertion_point(message:CMsgClientAccountInfo)
4782#[derive(PartialEq,Clone,Default,Debug)]
4783pub struct CMsgClientAccountInfo {
4784    // message fields
4785    // @@protoc_insertion_point(field:CMsgClientAccountInfo.persona_name)
4786    pub persona_name: ::std::option::Option<::std::string::String>,
4787    // @@protoc_insertion_point(field:CMsgClientAccountInfo.ip_country)
4788    pub ip_country: ::std::option::Option<::std::string::String>,
4789    // @@protoc_insertion_point(field:CMsgClientAccountInfo.count_authed_computers)
4790    pub count_authed_computers: ::std::option::Option<i32>,
4791    // @@protoc_insertion_point(field:CMsgClientAccountInfo.account_flags)
4792    pub account_flags: ::std::option::Option<u32>,
4793    // @@protoc_insertion_point(field:CMsgClientAccountInfo.facebook_id)
4794    pub facebook_id: ::std::option::Option<u64>,
4795    // @@protoc_insertion_point(field:CMsgClientAccountInfo.facebook_name)
4796    pub facebook_name: ::std::option::Option<::std::string::String>,
4797    // @@protoc_insertion_point(field:CMsgClientAccountInfo.steamguard_machine_name_user_chosen)
4798    pub steamguard_machine_name_user_chosen: ::std::option::Option<::std::string::String>,
4799    // @@protoc_insertion_point(field:CMsgClientAccountInfo.is_phone_verified)
4800    pub is_phone_verified: ::std::option::Option<bool>,
4801    // @@protoc_insertion_point(field:CMsgClientAccountInfo.two_factor_state)
4802    pub two_factor_state: ::std::option::Option<u32>,
4803    // @@protoc_insertion_point(field:CMsgClientAccountInfo.is_phone_identifying)
4804    pub is_phone_identifying: ::std::option::Option<bool>,
4805    // @@protoc_insertion_point(field:CMsgClientAccountInfo.is_phone_needing_reverify)
4806    pub is_phone_needing_reverify: ::std::option::Option<bool>,
4807    // special fields
4808    // @@protoc_insertion_point(special_field:CMsgClientAccountInfo.special_fields)
4809    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4810}
4811
4812impl<'a> ::std::default::Default for &'a CMsgClientAccountInfo {
4813    fn default() -> &'a CMsgClientAccountInfo {
4814        <CMsgClientAccountInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4815    }
4816}
4817
4818impl CMsgClientAccountInfo {
4819    pub fn new() -> CMsgClientAccountInfo {
4820        ::std::default::Default::default()
4821    }
4822
4823    // optional string persona_name = 1;
4824
4825    pub fn persona_name(&self) -> &str {
4826        match self.persona_name.as_ref() {
4827            Some(v) => v,
4828            None => "",
4829        }
4830    }
4831
4832    pub fn clear_persona_name(&mut self) {
4833        self.persona_name = ::std::option::Option::None;
4834    }
4835
4836    pub fn has_persona_name(&self) -> bool {
4837        self.persona_name.is_some()
4838    }
4839
4840    // Param is passed by value, moved
4841    pub fn set_persona_name(&mut self, v: ::std::string::String) {
4842        self.persona_name = ::std::option::Option::Some(v);
4843    }
4844
4845    // Mutable pointer to the field.
4846    // If field is not initialized, it is initialized with default value first.
4847    pub fn mut_persona_name(&mut self) -> &mut ::std::string::String {
4848        if self.persona_name.is_none() {
4849            self.persona_name = ::std::option::Option::Some(::std::string::String::new());
4850        }
4851        self.persona_name.as_mut().unwrap()
4852    }
4853
4854    // Take field
4855    pub fn take_persona_name(&mut self) -> ::std::string::String {
4856        self.persona_name.take().unwrap_or_else(|| ::std::string::String::new())
4857    }
4858
4859    // optional string ip_country = 2;
4860
4861    pub fn ip_country(&self) -> &str {
4862        match self.ip_country.as_ref() {
4863            Some(v) => v,
4864            None => "",
4865        }
4866    }
4867
4868    pub fn clear_ip_country(&mut self) {
4869        self.ip_country = ::std::option::Option::None;
4870    }
4871
4872    pub fn has_ip_country(&self) -> bool {
4873        self.ip_country.is_some()
4874    }
4875
4876    // Param is passed by value, moved
4877    pub fn set_ip_country(&mut self, v: ::std::string::String) {
4878        self.ip_country = ::std::option::Option::Some(v);
4879    }
4880
4881    // Mutable pointer to the field.
4882    // If field is not initialized, it is initialized with default value first.
4883    pub fn mut_ip_country(&mut self) -> &mut ::std::string::String {
4884        if self.ip_country.is_none() {
4885            self.ip_country = ::std::option::Option::Some(::std::string::String::new());
4886        }
4887        self.ip_country.as_mut().unwrap()
4888    }
4889
4890    // Take field
4891    pub fn take_ip_country(&mut self) -> ::std::string::String {
4892        self.ip_country.take().unwrap_or_else(|| ::std::string::String::new())
4893    }
4894
4895    // optional int32 count_authed_computers = 5;
4896
4897    pub fn count_authed_computers(&self) -> i32 {
4898        self.count_authed_computers.unwrap_or(0)
4899    }
4900
4901    pub fn clear_count_authed_computers(&mut self) {
4902        self.count_authed_computers = ::std::option::Option::None;
4903    }
4904
4905    pub fn has_count_authed_computers(&self) -> bool {
4906        self.count_authed_computers.is_some()
4907    }
4908
4909    // Param is passed by value, moved
4910    pub fn set_count_authed_computers(&mut self, v: i32) {
4911        self.count_authed_computers = ::std::option::Option::Some(v);
4912    }
4913
4914    // optional uint32 account_flags = 7;
4915
4916    pub fn account_flags(&self) -> u32 {
4917        self.account_flags.unwrap_or(0)
4918    }
4919
4920    pub fn clear_account_flags(&mut self) {
4921        self.account_flags = ::std::option::Option::None;
4922    }
4923
4924    pub fn has_account_flags(&self) -> bool {
4925        self.account_flags.is_some()
4926    }
4927
4928    // Param is passed by value, moved
4929    pub fn set_account_flags(&mut self, v: u32) {
4930        self.account_flags = ::std::option::Option::Some(v);
4931    }
4932
4933    // optional uint64 facebook_id = 8;
4934
4935    pub fn facebook_id(&self) -> u64 {
4936        self.facebook_id.unwrap_or(0)
4937    }
4938
4939    pub fn clear_facebook_id(&mut self) {
4940        self.facebook_id = ::std::option::Option::None;
4941    }
4942
4943    pub fn has_facebook_id(&self) -> bool {
4944        self.facebook_id.is_some()
4945    }
4946
4947    // Param is passed by value, moved
4948    pub fn set_facebook_id(&mut self, v: u64) {
4949        self.facebook_id = ::std::option::Option::Some(v);
4950    }
4951
4952    // optional string facebook_name = 9;
4953
4954    pub fn facebook_name(&self) -> &str {
4955        match self.facebook_name.as_ref() {
4956            Some(v) => v,
4957            None => "",
4958        }
4959    }
4960
4961    pub fn clear_facebook_name(&mut self) {
4962        self.facebook_name = ::std::option::Option::None;
4963    }
4964
4965    pub fn has_facebook_name(&self) -> bool {
4966        self.facebook_name.is_some()
4967    }
4968
4969    // Param is passed by value, moved
4970    pub fn set_facebook_name(&mut self, v: ::std::string::String) {
4971        self.facebook_name = ::std::option::Option::Some(v);
4972    }
4973
4974    // Mutable pointer to the field.
4975    // If field is not initialized, it is initialized with default value first.
4976    pub fn mut_facebook_name(&mut self) -> &mut ::std::string::String {
4977        if self.facebook_name.is_none() {
4978            self.facebook_name = ::std::option::Option::Some(::std::string::String::new());
4979        }
4980        self.facebook_name.as_mut().unwrap()
4981    }
4982
4983    // Take field
4984    pub fn take_facebook_name(&mut self) -> ::std::string::String {
4985        self.facebook_name.take().unwrap_or_else(|| ::std::string::String::new())
4986    }
4987
4988    // optional string steamguard_machine_name_user_chosen = 15;
4989
4990    pub fn steamguard_machine_name_user_chosen(&self) -> &str {
4991        match self.steamguard_machine_name_user_chosen.as_ref() {
4992            Some(v) => v,
4993            None => "",
4994        }
4995    }
4996
4997    pub fn clear_steamguard_machine_name_user_chosen(&mut self) {
4998        self.steamguard_machine_name_user_chosen = ::std::option::Option::None;
4999    }
5000
5001    pub fn has_steamguard_machine_name_user_chosen(&self) -> bool {
5002        self.steamguard_machine_name_user_chosen.is_some()
5003    }
5004
5005    // Param is passed by value, moved
5006    pub fn set_steamguard_machine_name_user_chosen(&mut self, v: ::std::string::String) {
5007        self.steamguard_machine_name_user_chosen = ::std::option::Option::Some(v);
5008    }
5009
5010    // Mutable pointer to the field.
5011    // If field is not initialized, it is initialized with default value first.
5012    pub fn mut_steamguard_machine_name_user_chosen(&mut self) -> &mut ::std::string::String {
5013        if self.steamguard_machine_name_user_chosen.is_none() {
5014            self.steamguard_machine_name_user_chosen = ::std::option::Option::Some(::std::string::String::new());
5015        }
5016        self.steamguard_machine_name_user_chosen.as_mut().unwrap()
5017    }
5018
5019    // Take field
5020    pub fn take_steamguard_machine_name_user_chosen(&mut self) -> ::std::string::String {
5021        self.steamguard_machine_name_user_chosen.take().unwrap_or_else(|| ::std::string::String::new())
5022    }
5023
5024    // optional bool is_phone_verified = 16;
5025
5026    pub fn is_phone_verified(&self) -> bool {
5027        self.is_phone_verified.unwrap_or(false)
5028    }
5029
5030    pub fn clear_is_phone_verified(&mut self) {
5031        self.is_phone_verified = ::std::option::Option::None;
5032    }
5033
5034    pub fn has_is_phone_verified(&self) -> bool {
5035        self.is_phone_verified.is_some()
5036    }
5037
5038    // Param is passed by value, moved
5039    pub fn set_is_phone_verified(&mut self, v: bool) {
5040        self.is_phone_verified = ::std::option::Option::Some(v);
5041    }
5042
5043    // optional uint32 two_factor_state = 17;
5044
5045    pub fn two_factor_state(&self) -> u32 {
5046        self.two_factor_state.unwrap_or(0)
5047    }
5048
5049    pub fn clear_two_factor_state(&mut self) {
5050        self.two_factor_state = ::std::option::Option::None;
5051    }
5052
5053    pub fn has_two_factor_state(&self) -> bool {
5054        self.two_factor_state.is_some()
5055    }
5056
5057    // Param is passed by value, moved
5058    pub fn set_two_factor_state(&mut self, v: u32) {
5059        self.two_factor_state = ::std::option::Option::Some(v);
5060    }
5061
5062    // optional bool is_phone_identifying = 18;
5063
5064    pub fn is_phone_identifying(&self) -> bool {
5065        self.is_phone_identifying.unwrap_or(false)
5066    }
5067
5068    pub fn clear_is_phone_identifying(&mut self) {
5069        self.is_phone_identifying = ::std::option::Option::None;
5070    }
5071
5072    pub fn has_is_phone_identifying(&self) -> bool {
5073        self.is_phone_identifying.is_some()
5074    }
5075
5076    // Param is passed by value, moved
5077    pub fn set_is_phone_identifying(&mut self, v: bool) {
5078        self.is_phone_identifying = ::std::option::Option::Some(v);
5079    }
5080
5081    // optional bool is_phone_needing_reverify = 19;
5082
5083    pub fn is_phone_needing_reverify(&self) -> bool {
5084        self.is_phone_needing_reverify.unwrap_or(false)
5085    }
5086
5087    pub fn clear_is_phone_needing_reverify(&mut self) {
5088        self.is_phone_needing_reverify = ::std::option::Option::None;
5089    }
5090
5091    pub fn has_is_phone_needing_reverify(&self) -> bool {
5092        self.is_phone_needing_reverify.is_some()
5093    }
5094
5095    // Param is passed by value, moved
5096    pub fn set_is_phone_needing_reverify(&mut self, v: bool) {
5097        self.is_phone_needing_reverify = ::std::option::Option::Some(v);
5098    }
5099}
5100
5101impl ::steam_vent_proto_common::protobuf::Message for CMsgClientAccountInfo {
5102    const NAME: &'static str = "CMsgClientAccountInfo";
5103
5104    fn is_initialized(&self) -> bool {
5105        true
5106    }
5107
5108    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5109        while let Some(tag) = is.read_raw_tag_or_eof()? {
5110            match tag {
5111                10 => {
5112                    self.persona_name = ::std::option::Option::Some(is.read_string()?);
5113                },
5114                18 => {
5115                    self.ip_country = ::std::option::Option::Some(is.read_string()?);
5116                },
5117                40 => {
5118                    self.count_authed_computers = ::std::option::Option::Some(is.read_int32()?);
5119                },
5120                56 => {
5121                    self.account_flags = ::std::option::Option::Some(is.read_uint32()?);
5122                },
5123                64 => {
5124                    self.facebook_id = ::std::option::Option::Some(is.read_uint64()?);
5125                },
5126                74 => {
5127                    self.facebook_name = ::std::option::Option::Some(is.read_string()?);
5128                },
5129                122 => {
5130                    self.steamguard_machine_name_user_chosen = ::std::option::Option::Some(is.read_string()?);
5131                },
5132                128 => {
5133                    self.is_phone_verified = ::std::option::Option::Some(is.read_bool()?);
5134                },
5135                136 => {
5136                    self.two_factor_state = ::std::option::Option::Some(is.read_uint32()?);
5137                },
5138                144 => {
5139                    self.is_phone_identifying = ::std::option::Option::Some(is.read_bool()?);
5140                },
5141                152 => {
5142                    self.is_phone_needing_reverify = ::std::option::Option::Some(is.read_bool()?);
5143                },
5144                tag => {
5145                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5146                },
5147            };
5148        }
5149        ::std::result::Result::Ok(())
5150    }
5151
5152    // Compute sizes of nested messages
5153    #[allow(unused_variables)]
5154    fn compute_size(&self) -> u64 {
5155        let mut my_size = 0;
5156        if let Some(v) = self.persona_name.as_ref() {
5157            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
5158        }
5159        if let Some(v) = self.ip_country.as_ref() {
5160            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
5161        }
5162        if let Some(v) = self.count_authed_computers {
5163            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v);
5164        }
5165        if let Some(v) = self.account_flags {
5166            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
5167        }
5168        if let Some(v) = self.facebook_id {
5169            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(8, v);
5170        }
5171        if let Some(v) = self.facebook_name.as_ref() {
5172            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(9, &v);
5173        }
5174        if let Some(v) = self.steamguard_machine_name_user_chosen.as_ref() {
5175            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(15, &v);
5176        }
5177        if let Some(v) = self.is_phone_verified {
5178            my_size += 2 + 1;
5179        }
5180        if let Some(v) = self.two_factor_state {
5181            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(17, v);
5182        }
5183        if let Some(v) = self.is_phone_identifying {
5184            my_size += 2 + 1;
5185        }
5186        if let Some(v) = self.is_phone_needing_reverify {
5187            my_size += 2 + 1;
5188        }
5189        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5190        self.special_fields.cached_size().set(my_size as u32);
5191        my_size
5192    }
5193
5194    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5195        if let Some(v) = self.persona_name.as_ref() {
5196            os.write_string(1, v)?;
5197        }
5198        if let Some(v) = self.ip_country.as_ref() {
5199            os.write_string(2, v)?;
5200        }
5201        if let Some(v) = self.count_authed_computers {
5202            os.write_int32(5, v)?;
5203        }
5204        if let Some(v) = self.account_flags {
5205            os.write_uint32(7, v)?;
5206        }
5207        if let Some(v) = self.facebook_id {
5208            os.write_uint64(8, v)?;
5209        }
5210        if let Some(v) = self.facebook_name.as_ref() {
5211            os.write_string(9, v)?;
5212        }
5213        if let Some(v) = self.steamguard_machine_name_user_chosen.as_ref() {
5214            os.write_string(15, v)?;
5215        }
5216        if let Some(v) = self.is_phone_verified {
5217            os.write_bool(16, v)?;
5218        }
5219        if let Some(v) = self.two_factor_state {
5220            os.write_uint32(17, v)?;
5221        }
5222        if let Some(v) = self.is_phone_identifying {
5223            os.write_bool(18, v)?;
5224        }
5225        if let Some(v) = self.is_phone_needing_reverify {
5226            os.write_bool(19, v)?;
5227        }
5228        os.write_unknown_fields(self.special_fields.unknown_fields())?;
5229        ::std::result::Result::Ok(())
5230    }
5231
5232    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5233        &self.special_fields
5234    }
5235
5236    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5237        &mut self.special_fields
5238    }
5239
5240    fn new() -> CMsgClientAccountInfo {
5241        CMsgClientAccountInfo::new()
5242    }
5243
5244    fn clear(&mut self) {
5245        self.persona_name = ::std::option::Option::None;
5246        self.ip_country = ::std::option::Option::None;
5247        self.count_authed_computers = ::std::option::Option::None;
5248        self.account_flags = ::std::option::Option::None;
5249        self.facebook_id = ::std::option::Option::None;
5250        self.facebook_name = ::std::option::Option::None;
5251        self.steamguard_machine_name_user_chosen = ::std::option::Option::None;
5252        self.is_phone_verified = ::std::option::Option::None;
5253        self.two_factor_state = ::std::option::Option::None;
5254        self.is_phone_identifying = ::std::option::Option::None;
5255        self.is_phone_needing_reverify = ::std::option::Option::None;
5256        self.special_fields.clear();
5257    }
5258
5259    fn default_instance() -> &'static CMsgClientAccountInfo {
5260        static instance: CMsgClientAccountInfo = CMsgClientAccountInfo {
5261            persona_name: ::std::option::Option::None,
5262            ip_country: ::std::option::Option::None,
5263            count_authed_computers: ::std::option::Option::None,
5264            account_flags: ::std::option::Option::None,
5265            facebook_id: ::std::option::Option::None,
5266            facebook_name: ::std::option::Option::None,
5267            steamguard_machine_name_user_chosen: ::std::option::Option::None,
5268            is_phone_verified: ::std::option::Option::None,
5269            two_factor_state: ::std::option::Option::None,
5270            is_phone_identifying: ::std::option::Option::None,
5271            is_phone_needing_reverify: ::std::option::Option::None,
5272            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5273        };
5274        &instance
5275    }
5276}
5277
5278// @@protoc_insertion_point(message:CMsgClientChallengeRequest)
5279#[derive(PartialEq,Clone,Default,Debug)]
5280pub struct CMsgClientChallengeRequest {
5281    // message fields
5282    // @@protoc_insertion_point(field:CMsgClientChallengeRequest.steamid)
5283    pub steamid: ::std::option::Option<u64>,
5284    // special fields
5285    // @@protoc_insertion_point(special_field:CMsgClientChallengeRequest.special_fields)
5286    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5287}
5288
5289impl<'a> ::std::default::Default for &'a CMsgClientChallengeRequest {
5290    fn default() -> &'a CMsgClientChallengeRequest {
5291        <CMsgClientChallengeRequest as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5292    }
5293}
5294
5295impl CMsgClientChallengeRequest {
5296    pub fn new() -> CMsgClientChallengeRequest {
5297        ::std::default::Default::default()
5298    }
5299
5300    // optional fixed64 steamid = 1;
5301
5302    pub fn steamid(&self) -> u64 {
5303        self.steamid.unwrap_or(0)
5304    }
5305
5306    pub fn clear_steamid(&mut self) {
5307        self.steamid = ::std::option::Option::None;
5308    }
5309
5310    pub fn has_steamid(&self) -> bool {
5311        self.steamid.is_some()
5312    }
5313
5314    // Param is passed by value, moved
5315    pub fn set_steamid(&mut self, v: u64) {
5316        self.steamid = ::std::option::Option::Some(v);
5317    }
5318}
5319
5320impl ::steam_vent_proto_common::protobuf::Message for CMsgClientChallengeRequest {
5321    const NAME: &'static str = "CMsgClientChallengeRequest";
5322
5323    fn is_initialized(&self) -> bool {
5324        true
5325    }
5326
5327    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5328        while let Some(tag) = is.read_raw_tag_or_eof()? {
5329            match tag {
5330                9 => {
5331                    self.steamid = ::std::option::Option::Some(is.read_fixed64()?);
5332                },
5333                tag => {
5334                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5335                },
5336            };
5337        }
5338        ::std::result::Result::Ok(())
5339    }
5340
5341    // Compute sizes of nested messages
5342    #[allow(unused_variables)]
5343    fn compute_size(&self) -> u64 {
5344        let mut my_size = 0;
5345        if let Some(v) = self.steamid {
5346            my_size += 1 + 8;
5347        }
5348        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5349        self.special_fields.cached_size().set(my_size as u32);
5350        my_size
5351    }
5352
5353    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5354        if let Some(v) = self.steamid {
5355            os.write_fixed64(1, v)?;
5356        }
5357        os.write_unknown_fields(self.special_fields.unknown_fields())?;
5358        ::std::result::Result::Ok(())
5359    }
5360
5361    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5362        &self.special_fields
5363    }
5364
5365    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5366        &mut self.special_fields
5367    }
5368
5369    fn new() -> CMsgClientChallengeRequest {
5370        CMsgClientChallengeRequest::new()
5371    }
5372
5373    fn clear(&mut self) {
5374        self.steamid = ::std::option::Option::None;
5375        self.special_fields.clear();
5376    }
5377
5378    fn default_instance() -> &'static CMsgClientChallengeRequest {
5379        static instance: CMsgClientChallengeRequest = CMsgClientChallengeRequest {
5380            steamid: ::std::option::Option::None,
5381            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5382        };
5383        &instance
5384    }
5385}
5386
5387// @@protoc_insertion_point(message:CMsgClientChallengeResponse)
5388#[derive(PartialEq,Clone,Default,Debug)]
5389pub struct CMsgClientChallengeResponse {
5390    // message fields
5391    // @@protoc_insertion_point(field:CMsgClientChallengeResponse.challenge)
5392    pub challenge: ::std::option::Option<u64>,
5393    // special fields
5394    // @@protoc_insertion_point(special_field:CMsgClientChallengeResponse.special_fields)
5395    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5396}
5397
5398impl<'a> ::std::default::Default for &'a CMsgClientChallengeResponse {
5399    fn default() -> &'a CMsgClientChallengeResponse {
5400        <CMsgClientChallengeResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5401    }
5402}
5403
5404impl CMsgClientChallengeResponse {
5405    pub fn new() -> CMsgClientChallengeResponse {
5406        ::std::default::Default::default()
5407    }
5408
5409    // optional fixed64 challenge = 1;
5410
5411    pub fn challenge(&self) -> u64 {
5412        self.challenge.unwrap_or(0)
5413    }
5414
5415    pub fn clear_challenge(&mut self) {
5416        self.challenge = ::std::option::Option::None;
5417    }
5418
5419    pub fn has_challenge(&self) -> bool {
5420        self.challenge.is_some()
5421    }
5422
5423    // Param is passed by value, moved
5424    pub fn set_challenge(&mut self, v: u64) {
5425        self.challenge = ::std::option::Option::Some(v);
5426    }
5427}
5428
5429impl ::steam_vent_proto_common::protobuf::Message for CMsgClientChallengeResponse {
5430    const NAME: &'static str = "CMsgClientChallengeResponse";
5431
5432    fn is_initialized(&self) -> bool {
5433        true
5434    }
5435
5436    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5437        while let Some(tag) = is.read_raw_tag_or_eof()? {
5438            match tag {
5439                9 => {
5440                    self.challenge = ::std::option::Option::Some(is.read_fixed64()?);
5441                },
5442                tag => {
5443                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5444                },
5445            };
5446        }
5447        ::std::result::Result::Ok(())
5448    }
5449
5450    // Compute sizes of nested messages
5451    #[allow(unused_variables)]
5452    fn compute_size(&self) -> u64 {
5453        let mut my_size = 0;
5454        if let Some(v) = self.challenge {
5455            my_size += 1 + 8;
5456        }
5457        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5458        self.special_fields.cached_size().set(my_size as u32);
5459        my_size
5460    }
5461
5462    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5463        if let Some(v) = self.challenge {
5464            os.write_fixed64(1, v)?;
5465        }
5466        os.write_unknown_fields(self.special_fields.unknown_fields())?;
5467        ::std::result::Result::Ok(())
5468    }
5469
5470    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5471        &self.special_fields
5472    }
5473
5474    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5475        &mut self.special_fields
5476    }
5477
5478    fn new() -> CMsgClientChallengeResponse {
5479        CMsgClientChallengeResponse::new()
5480    }
5481
5482    fn clear(&mut self) {
5483        self.challenge = ::std::option::Option::None;
5484        self.special_fields.clear();
5485    }
5486
5487    fn default_instance() -> &'static CMsgClientChallengeResponse {
5488        static instance: CMsgClientChallengeResponse = CMsgClientChallengeResponse {
5489            challenge: ::std::option::Option::None,
5490            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5491        };
5492        &instance
5493    }
5494}
5495
5496
5497const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
5498
5499#[allow(unused_imports)]
5500use crate::steammessages_base::*;
5501impl ::steam_vent_proto_common::RpcMessage for CMsgClientHeartBeat {
5502    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5503        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5504    }
5505    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5506        use ::steam_vent_proto_common::protobuf::Message;
5507        self.write_to_writer(writer)
5508    }
5509    fn encode_size(&self) -> usize {
5510        use ::steam_vent_proto_common::protobuf::Message;
5511        self.compute_size() as usize
5512    }
5513}
5514impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientHeartBeat {
5515    type KindEnum = crate::enums_clientserver::EMsg;
5516    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientHeartBeat;
5517}
5518impl ::steam_vent_proto_common::RpcMessage for CMsgClientServerTimestampRequest {
5519    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5520        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5521    }
5522    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5523        use ::steam_vent_proto_common::protobuf::Message;
5524        self.write_to_writer(writer)
5525    }
5526    fn encode_size(&self) -> usize {
5527        use ::steam_vent_proto_common::protobuf::Message;
5528        self.compute_size() as usize
5529    }
5530}
5531impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientServerTimestampRequest {
5532    type KindEnum = crate::enums_clientserver::EMsg;
5533    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientServerTimestampRequest;
5534}
5535impl ::steam_vent_proto_common::RpcMessage for CMsgClientServerTimestampResponse {
5536    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5537        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5538    }
5539    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5540        use ::steam_vent_proto_common::protobuf::Message;
5541        self.write_to_writer(writer)
5542    }
5543    fn encode_size(&self) -> usize {
5544        use ::steam_vent_proto_common::protobuf::Message;
5545        self.compute_size() as usize
5546    }
5547}
5548impl ::steam_vent_proto_common::RpcMessageWithKind
5549for CMsgClientServerTimestampResponse {
5550    type KindEnum = crate::enums_clientserver::EMsg;
5551    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientServerTimestampResponse;
5552}
5553impl ::steam_vent_proto_common::RpcMessage for CMsgClientSecret {
5554    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5555        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5556    }
5557    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5558        use ::steam_vent_proto_common::protobuf::Message;
5559        self.write_to_writer(writer)
5560    }
5561    fn encode_size(&self) -> usize {
5562        use ::steam_vent_proto_common::protobuf::Message;
5563        self.compute_size() as usize
5564    }
5565}
5566impl ::steam_vent_proto_common::RpcMessage for CMsgClientHello {
5567    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5568        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5569    }
5570    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5571        use ::steam_vent_proto_common::protobuf::Message;
5572        self.write_to_writer(writer)
5573    }
5574    fn encode_size(&self) -> usize {
5575        use ::steam_vent_proto_common::protobuf::Message;
5576        self.compute_size() as usize
5577    }
5578}
5579impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientHello {
5580    type KindEnum = crate::enums_clientserver::EMsg;
5581    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientHello;
5582}
5583impl ::steam_vent_proto_common::RpcMessage for CMsgClientLogon {
5584    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5585        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5586    }
5587    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5588        use ::steam_vent_proto_common::protobuf::Message;
5589        self.write_to_writer(writer)
5590    }
5591    fn encode_size(&self) -> usize {
5592        use ::steam_vent_proto_common::protobuf::Message;
5593        self.compute_size() as usize
5594    }
5595}
5596impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientLogon {
5597    type KindEnum = crate::enums_clientserver::EMsg;
5598    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientLogon;
5599}
5600impl ::steam_vent_proto_common::RpcMessage for CMsgClientLogonResponse {
5601    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5602        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5603    }
5604    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5605        use ::steam_vent_proto_common::protobuf::Message;
5606        self.write_to_writer(writer)
5607    }
5608    fn encode_size(&self) -> usize {
5609        use ::steam_vent_proto_common::protobuf::Message;
5610        self.compute_size() as usize
5611    }
5612}
5613impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientLogonResponse {
5614    type KindEnum = crate::enums_clientserver::EMsg;
5615    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientLogOnResponse;
5616}
5617impl ::steam_vent_proto_common::RpcMessage
5618for CMsgClientRequestWebAPIAuthenticateUserNonce {
5619    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5620        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5621    }
5622    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5623        use ::steam_vent_proto_common::protobuf::Message;
5624        self.write_to_writer(writer)
5625    }
5626    fn encode_size(&self) -> usize {
5627        use ::steam_vent_proto_common::protobuf::Message;
5628        self.compute_size() as usize
5629    }
5630}
5631impl ::steam_vent_proto_common::RpcMessageWithKind
5632for CMsgClientRequestWebAPIAuthenticateUserNonce {
5633    type KindEnum = crate::enums_clientserver::EMsg;
5634    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientRequestWebAPIAuthenticateUserNonce;
5635}
5636impl ::steam_vent_proto_common::RpcMessage
5637for CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
5638    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5639        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5640    }
5641    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5642        use ::steam_vent_proto_common::protobuf::Message;
5643        self.write_to_writer(writer)
5644    }
5645    fn encode_size(&self) -> usize {
5646        use ::steam_vent_proto_common::protobuf::Message;
5647        self.compute_size() as usize
5648    }
5649}
5650impl ::steam_vent_proto_common::RpcMessageWithKind
5651for CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
5652    type KindEnum = crate::enums_clientserver::EMsg;
5653    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientRequestWebAPIAuthenticateUserNonceResponse;
5654}
5655impl ::steam_vent_proto_common::RpcMessage for CMsgClientLogOff {
5656    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5657        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5658    }
5659    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5660        use ::steam_vent_proto_common::protobuf::Message;
5661        self.write_to_writer(writer)
5662    }
5663    fn encode_size(&self) -> usize {
5664        use ::steam_vent_proto_common::protobuf::Message;
5665        self.compute_size() as usize
5666    }
5667}
5668impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientLogOff {
5669    type KindEnum = crate::enums_clientserver::EMsg;
5670    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientLogOff;
5671}
5672impl ::steam_vent_proto_common::RpcMessage for CMsgClientLoggedOff {
5673    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5674        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5675    }
5676    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5677        use ::steam_vent_proto_common::protobuf::Message;
5678        self.write_to_writer(writer)
5679    }
5680    fn encode_size(&self) -> usize {
5681        use ::steam_vent_proto_common::protobuf::Message;
5682        self.compute_size() as usize
5683    }
5684}
5685impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientLoggedOff {
5686    type KindEnum = crate::enums_clientserver::EMsg;
5687    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientLoggedOff;
5688}
5689impl ::steam_vent_proto_common::RpcMessage for CMsgClientNewLoginKey {
5690    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5691        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5692    }
5693    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5694        use ::steam_vent_proto_common::protobuf::Message;
5695        self.write_to_writer(writer)
5696    }
5697    fn encode_size(&self) -> usize {
5698        use ::steam_vent_proto_common::protobuf::Message;
5699        self.compute_size() as usize
5700    }
5701}
5702impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientNewLoginKey {
5703    type KindEnum = crate::enums_clientserver::EMsg;
5704    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientNewLoginKey;
5705}
5706impl ::steam_vent_proto_common::RpcMessage for CMsgClientNewLoginKeyAccepted {
5707    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5708        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5709    }
5710    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5711        use ::steam_vent_proto_common::protobuf::Message;
5712        self.write_to_writer(writer)
5713    }
5714    fn encode_size(&self) -> usize {
5715        use ::steam_vent_proto_common::protobuf::Message;
5716        self.compute_size() as usize
5717    }
5718}
5719impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientNewLoginKeyAccepted {
5720    type KindEnum = crate::enums_clientserver::EMsg;
5721    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientNewLoginKeyAccepted;
5722}
5723impl ::steam_vent_proto_common::RpcMessage for CMsgClientAccountInfo {
5724    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5725        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5726    }
5727    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5728        use ::steam_vent_proto_common::protobuf::Message;
5729        self.write_to_writer(writer)
5730    }
5731    fn encode_size(&self) -> usize {
5732        use ::steam_vent_proto_common::protobuf::Message;
5733        self.compute_size() as usize
5734    }
5735}
5736impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientAccountInfo {
5737    type KindEnum = crate::enums_clientserver::EMsg;
5738    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientAccountInfo;
5739}
5740impl ::steam_vent_proto_common::RpcMessage for CMsgClientChallengeRequest {
5741    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5742        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5743    }
5744    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5745        use ::steam_vent_proto_common::protobuf::Message;
5746        self.write_to_writer(writer)
5747    }
5748    fn encode_size(&self) -> usize {
5749        use ::steam_vent_proto_common::protobuf::Message;
5750        self.compute_size() as usize
5751    }
5752}
5753impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientChallengeRequest {
5754    type KindEnum = crate::enums_clientserver::EMsg;
5755    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientChallengeRequest;
5756}
5757impl ::steam_vent_proto_common::RpcMessage for CMsgClientChallengeResponse {
5758    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
5759        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
5760    }
5761    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
5762        use ::steam_vent_proto_common::protobuf::Message;
5763        self.write_to_writer(writer)
5764    }
5765    fn encode_size(&self) -> usize {
5766        use ::steam_vent_proto_common::protobuf::Message;
5767        self.compute_size() as usize
5768    }
5769}
5770impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientChallengeResponse {
5771    type KindEnum = crate::enums_clientserver::EMsg;
5772    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientChallengeResponse;
5773}