steam_vent_proto_steam/generated/
steammessages_auth_steamclient.rs

1// This file is generated by rust-protobuf 3.5.1. Do not edit
2// .proto file is parsed by pure
3// @generated
4
5// https://github.com/rust-lang/rust-clippy/issues/702
6#![allow(unknown_lints)]
7#![allow(clippy::all)]
8
9#![allow(unused_attributes)]
10#![cfg_attr(rustfmt, rustfmt::skip)]
11
12#![allow(dead_code)]
13#![allow(missing_docs)]
14#![allow(non_camel_case_types)]
15#![allow(non_snake_case)]
16#![allow(non_upper_case_globals)]
17#![allow(trivial_casts)]
18#![allow(unused_results)]
19#![allow(unused_mut)]
20
21//! Generated file from `steammessages_auth.steamclient.proto`
22// Generated for lite runtime
23
24/// Generated files are compatible only with the same version
25/// of protobuf runtime.
26const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
27
28// @@protoc_insertion_point(message:CAuthentication_GetPasswordRSAPublicKey_Request)
29#[derive(PartialEq,Clone,Default,Debug)]
30pub struct CAuthentication_GetPasswordRSAPublicKey_Request {
31    // message fields
32    // @@protoc_insertion_point(field:CAuthentication_GetPasswordRSAPublicKey_Request.account_name)
33    pub account_name: ::std::option::Option<::std::string::String>,
34    // special fields
35    // @@protoc_insertion_point(special_field:CAuthentication_GetPasswordRSAPublicKey_Request.special_fields)
36    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
37}
38
39impl<'a> ::std::default::Default for &'a CAuthentication_GetPasswordRSAPublicKey_Request {
40    fn default() -> &'a CAuthentication_GetPasswordRSAPublicKey_Request {
41        <CAuthentication_GetPasswordRSAPublicKey_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
42    }
43}
44
45impl CAuthentication_GetPasswordRSAPublicKey_Request {
46    pub fn new() -> CAuthentication_GetPasswordRSAPublicKey_Request {
47        ::std::default::Default::default()
48    }
49
50    // optional string account_name = 1;
51
52    pub fn account_name(&self) -> &str {
53        match self.account_name.as_ref() {
54            Some(v) => v,
55            None => "",
56        }
57    }
58
59    pub fn clear_account_name(&mut self) {
60        self.account_name = ::std::option::Option::None;
61    }
62
63    pub fn has_account_name(&self) -> bool {
64        self.account_name.is_some()
65    }
66
67    // Param is passed by value, moved
68    pub fn set_account_name(&mut self, v: ::std::string::String) {
69        self.account_name = ::std::option::Option::Some(v);
70    }
71
72    // Mutable pointer to the field.
73    // If field is not initialized, it is initialized with default value first.
74    pub fn mut_account_name(&mut self) -> &mut ::std::string::String {
75        if self.account_name.is_none() {
76            self.account_name = ::std::option::Option::Some(::std::string::String::new());
77        }
78        self.account_name.as_mut().unwrap()
79    }
80
81    // Take field
82    pub fn take_account_name(&mut self) -> ::std::string::String {
83        self.account_name.take().unwrap_or_else(|| ::std::string::String::new())
84    }
85}
86
87impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_GetPasswordRSAPublicKey_Request {
88    const NAME: &'static str = "CAuthentication_GetPasswordRSAPublicKey_Request";
89
90    fn is_initialized(&self) -> bool {
91        true
92    }
93
94    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
95        while let Some(tag) = is.read_raw_tag_or_eof()? {
96            match tag {
97                10 => {
98                    self.account_name = ::std::option::Option::Some(is.read_string()?);
99                },
100                tag => {
101                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
102                },
103            };
104        }
105        ::std::result::Result::Ok(())
106    }
107
108    // Compute sizes of nested messages
109    #[allow(unused_variables)]
110    fn compute_size(&self) -> u64 {
111        let mut my_size = 0;
112        if let Some(v) = self.account_name.as_ref() {
113            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
114        }
115        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
116        self.special_fields.cached_size().set(my_size as u32);
117        my_size
118    }
119
120    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
121        if let Some(v) = self.account_name.as_ref() {
122            os.write_string(1, v)?;
123        }
124        os.write_unknown_fields(self.special_fields.unknown_fields())?;
125        ::std::result::Result::Ok(())
126    }
127
128    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
129        &self.special_fields
130    }
131
132    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
133        &mut self.special_fields
134    }
135
136    fn new() -> CAuthentication_GetPasswordRSAPublicKey_Request {
137        CAuthentication_GetPasswordRSAPublicKey_Request::new()
138    }
139
140    fn clear(&mut self) {
141        self.account_name = ::std::option::Option::None;
142        self.special_fields.clear();
143    }
144
145    fn default_instance() -> &'static CAuthentication_GetPasswordRSAPublicKey_Request {
146        static instance: CAuthentication_GetPasswordRSAPublicKey_Request = CAuthentication_GetPasswordRSAPublicKey_Request {
147            account_name: ::std::option::Option::None,
148            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
149        };
150        &instance
151    }
152}
153
154// @@protoc_insertion_point(message:CAuthentication_GetPasswordRSAPublicKey_Response)
155#[derive(PartialEq,Clone,Default,Debug)]
156pub struct CAuthentication_GetPasswordRSAPublicKey_Response {
157    // message fields
158    // @@protoc_insertion_point(field:CAuthentication_GetPasswordRSAPublicKey_Response.publickey_mod)
159    pub publickey_mod: ::std::option::Option<::std::string::String>,
160    // @@protoc_insertion_point(field:CAuthentication_GetPasswordRSAPublicKey_Response.publickey_exp)
161    pub publickey_exp: ::std::option::Option<::std::string::String>,
162    // @@protoc_insertion_point(field:CAuthentication_GetPasswordRSAPublicKey_Response.timestamp)
163    pub timestamp: ::std::option::Option<u64>,
164    // special fields
165    // @@protoc_insertion_point(special_field:CAuthentication_GetPasswordRSAPublicKey_Response.special_fields)
166    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
167}
168
169impl<'a> ::std::default::Default for &'a CAuthentication_GetPasswordRSAPublicKey_Response {
170    fn default() -> &'a CAuthentication_GetPasswordRSAPublicKey_Response {
171        <CAuthentication_GetPasswordRSAPublicKey_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
172    }
173}
174
175impl CAuthentication_GetPasswordRSAPublicKey_Response {
176    pub fn new() -> CAuthentication_GetPasswordRSAPublicKey_Response {
177        ::std::default::Default::default()
178    }
179
180    // optional string publickey_mod = 1;
181
182    pub fn publickey_mod(&self) -> &str {
183        match self.publickey_mod.as_ref() {
184            Some(v) => v,
185            None => "",
186        }
187    }
188
189    pub fn clear_publickey_mod(&mut self) {
190        self.publickey_mod = ::std::option::Option::None;
191    }
192
193    pub fn has_publickey_mod(&self) -> bool {
194        self.publickey_mod.is_some()
195    }
196
197    // Param is passed by value, moved
198    pub fn set_publickey_mod(&mut self, v: ::std::string::String) {
199        self.publickey_mod = ::std::option::Option::Some(v);
200    }
201
202    // Mutable pointer to the field.
203    // If field is not initialized, it is initialized with default value first.
204    pub fn mut_publickey_mod(&mut self) -> &mut ::std::string::String {
205        if self.publickey_mod.is_none() {
206            self.publickey_mod = ::std::option::Option::Some(::std::string::String::new());
207        }
208        self.publickey_mod.as_mut().unwrap()
209    }
210
211    // Take field
212    pub fn take_publickey_mod(&mut self) -> ::std::string::String {
213        self.publickey_mod.take().unwrap_or_else(|| ::std::string::String::new())
214    }
215
216    // optional string publickey_exp = 2;
217
218    pub fn publickey_exp(&self) -> &str {
219        match self.publickey_exp.as_ref() {
220            Some(v) => v,
221            None => "",
222        }
223    }
224
225    pub fn clear_publickey_exp(&mut self) {
226        self.publickey_exp = ::std::option::Option::None;
227    }
228
229    pub fn has_publickey_exp(&self) -> bool {
230        self.publickey_exp.is_some()
231    }
232
233    // Param is passed by value, moved
234    pub fn set_publickey_exp(&mut self, v: ::std::string::String) {
235        self.publickey_exp = ::std::option::Option::Some(v);
236    }
237
238    // Mutable pointer to the field.
239    // If field is not initialized, it is initialized with default value first.
240    pub fn mut_publickey_exp(&mut self) -> &mut ::std::string::String {
241        if self.publickey_exp.is_none() {
242            self.publickey_exp = ::std::option::Option::Some(::std::string::String::new());
243        }
244        self.publickey_exp.as_mut().unwrap()
245    }
246
247    // Take field
248    pub fn take_publickey_exp(&mut self) -> ::std::string::String {
249        self.publickey_exp.take().unwrap_or_else(|| ::std::string::String::new())
250    }
251
252    // optional uint64 timestamp = 3;
253
254    pub fn timestamp(&self) -> u64 {
255        self.timestamp.unwrap_or(0)
256    }
257
258    pub fn clear_timestamp(&mut self) {
259        self.timestamp = ::std::option::Option::None;
260    }
261
262    pub fn has_timestamp(&self) -> bool {
263        self.timestamp.is_some()
264    }
265
266    // Param is passed by value, moved
267    pub fn set_timestamp(&mut self, v: u64) {
268        self.timestamp = ::std::option::Option::Some(v);
269    }
270}
271
272impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_GetPasswordRSAPublicKey_Response {
273    const NAME: &'static str = "CAuthentication_GetPasswordRSAPublicKey_Response";
274
275    fn is_initialized(&self) -> bool {
276        true
277    }
278
279    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
280        while let Some(tag) = is.read_raw_tag_or_eof()? {
281            match tag {
282                10 => {
283                    self.publickey_mod = ::std::option::Option::Some(is.read_string()?);
284                },
285                18 => {
286                    self.publickey_exp = ::std::option::Option::Some(is.read_string()?);
287                },
288                24 => {
289                    self.timestamp = ::std::option::Option::Some(is.read_uint64()?);
290                },
291                tag => {
292                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
293                },
294            };
295        }
296        ::std::result::Result::Ok(())
297    }
298
299    // Compute sizes of nested messages
300    #[allow(unused_variables)]
301    fn compute_size(&self) -> u64 {
302        let mut my_size = 0;
303        if let Some(v) = self.publickey_mod.as_ref() {
304            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
305        }
306        if let Some(v) = self.publickey_exp.as_ref() {
307            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
308        }
309        if let Some(v) = self.timestamp {
310            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
311        }
312        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
313        self.special_fields.cached_size().set(my_size as u32);
314        my_size
315    }
316
317    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
318        if let Some(v) = self.publickey_mod.as_ref() {
319            os.write_string(1, v)?;
320        }
321        if let Some(v) = self.publickey_exp.as_ref() {
322            os.write_string(2, v)?;
323        }
324        if let Some(v) = self.timestamp {
325            os.write_uint64(3, v)?;
326        }
327        os.write_unknown_fields(self.special_fields.unknown_fields())?;
328        ::std::result::Result::Ok(())
329    }
330
331    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
332        &self.special_fields
333    }
334
335    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
336        &mut self.special_fields
337    }
338
339    fn new() -> CAuthentication_GetPasswordRSAPublicKey_Response {
340        CAuthentication_GetPasswordRSAPublicKey_Response::new()
341    }
342
343    fn clear(&mut self) {
344        self.publickey_mod = ::std::option::Option::None;
345        self.publickey_exp = ::std::option::Option::None;
346        self.timestamp = ::std::option::Option::None;
347        self.special_fields.clear();
348    }
349
350    fn default_instance() -> &'static CAuthentication_GetPasswordRSAPublicKey_Response {
351        static instance: CAuthentication_GetPasswordRSAPublicKey_Response = CAuthentication_GetPasswordRSAPublicKey_Response {
352            publickey_mod: ::std::option::Option::None,
353            publickey_exp: ::std::option::Option::None,
354            timestamp: ::std::option::Option::None,
355            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
356        };
357        &instance
358    }
359}
360
361// @@protoc_insertion_point(message:CAuthentication_DeviceDetails)
362#[derive(PartialEq,Clone,Default,Debug)]
363pub struct CAuthentication_DeviceDetails {
364    // message fields
365    // @@protoc_insertion_point(field:CAuthentication_DeviceDetails.device_friendly_name)
366    pub device_friendly_name: ::std::option::Option<::std::string::String>,
367    // @@protoc_insertion_point(field:CAuthentication_DeviceDetails.platform_type)
368    pub platform_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAuthTokenPlatformType>>,
369    // @@protoc_insertion_point(field:CAuthentication_DeviceDetails.os_type)
370    pub os_type: ::std::option::Option<i32>,
371    // @@protoc_insertion_point(field:CAuthentication_DeviceDetails.gaming_device_type)
372    pub gaming_device_type: ::std::option::Option<u32>,
373    // @@protoc_insertion_point(field:CAuthentication_DeviceDetails.client_count)
374    pub client_count: ::std::option::Option<u32>,
375    // @@protoc_insertion_point(field:CAuthentication_DeviceDetails.machine_id)
376    pub machine_id: ::std::option::Option<::std::vec::Vec<u8>>,
377    // special fields
378    // @@protoc_insertion_point(special_field:CAuthentication_DeviceDetails.special_fields)
379    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
380}
381
382impl<'a> ::std::default::Default for &'a CAuthentication_DeviceDetails {
383    fn default() -> &'a CAuthentication_DeviceDetails {
384        <CAuthentication_DeviceDetails as ::steam_vent_proto_common::protobuf::Message>::default_instance()
385    }
386}
387
388impl CAuthentication_DeviceDetails {
389    pub fn new() -> CAuthentication_DeviceDetails {
390        ::std::default::Default::default()
391    }
392
393    // optional string device_friendly_name = 1;
394
395    pub fn device_friendly_name(&self) -> &str {
396        match self.device_friendly_name.as_ref() {
397            Some(v) => v,
398            None => "",
399        }
400    }
401
402    pub fn clear_device_friendly_name(&mut self) {
403        self.device_friendly_name = ::std::option::Option::None;
404    }
405
406    pub fn has_device_friendly_name(&self) -> bool {
407        self.device_friendly_name.is_some()
408    }
409
410    // Param is passed by value, moved
411    pub fn set_device_friendly_name(&mut self, v: ::std::string::String) {
412        self.device_friendly_name = ::std::option::Option::Some(v);
413    }
414
415    // Mutable pointer to the field.
416    // If field is not initialized, it is initialized with default value first.
417    pub fn mut_device_friendly_name(&mut self) -> &mut ::std::string::String {
418        if self.device_friendly_name.is_none() {
419            self.device_friendly_name = ::std::option::Option::Some(::std::string::String::new());
420        }
421        self.device_friendly_name.as_mut().unwrap()
422    }
423
424    // Take field
425    pub fn take_device_friendly_name(&mut self) -> ::std::string::String {
426        self.device_friendly_name.take().unwrap_or_else(|| ::std::string::String::new())
427    }
428
429    // optional .EAuthTokenPlatformType platform_type = 2;
430
431    pub fn platform_type(&self) -> EAuthTokenPlatformType {
432        match self.platform_type {
433            Some(e) => e.enum_value_or(EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown),
434            None => EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown,
435        }
436    }
437
438    pub fn clear_platform_type(&mut self) {
439        self.platform_type = ::std::option::Option::None;
440    }
441
442    pub fn has_platform_type(&self) -> bool {
443        self.platform_type.is_some()
444    }
445
446    // Param is passed by value, moved
447    pub fn set_platform_type(&mut self, v: EAuthTokenPlatformType) {
448        self.platform_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
449    }
450
451    // optional int32 os_type = 3;
452
453    pub fn os_type(&self) -> i32 {
454        self.os_type.unwrap_or(0)
455    }
456
457    pub fn clear_os_type(&mut self) {
458        self.os_type = ::std::option::Option::None;
459    }
460
461    pub fn has_os_type(&self) -> bool {
462        self.os_type.is_some()
463    }
464
465    // Param is passed by value, moved
466    pub fn set_os_type(&mut self, v: i32) {
467        self.os_type = ::std::option::Option::Some(v);
468    }
469
470    // optional uint32 gaming_device_type = 4;
471
472    pub fn gaming_device_type(&self) -> u32 {
473        self.gaming_device_type.unwrap_or(0)
474    }
475
476    pub fn clear_gaming_device_type(&mut self) {
477        self.gaming_device_type = ::std::option::Option::None;
478    }
479
480    pub fn has_gaming_device_type(&self) -> bool {
481        self.gaming_device_type.is_some()
482    }
483
484    // Param is passed by value, moved
485    pub fn set_gaming_device_type(&mut self, v: u32) {
486        self.gaming_device_type = ::std::option::Option::Some(v);
487    }
488
489    // optional uint32 client_count = 5;
490
491    pub fn client_count(&self) -> u32 {
492        self.client_count.unwrap_or(0)
493    }
494
495    pub fn clear_client_count(&mut self) {
496        self.client_count = ::std::option::Option::None;
497    }
498
499    pub fn has_client_count(&self) -> bool {
500        self.client_count.is_some()
501    }
502
503    // Param is passed by value, moved
504    pub fn set_client_count(&mut self, v: u32) {
505        self.client_count = ::std::option::Option::Some(v);
506    }
507
508    // optional bytes machine_id = 6;
509
510    pub fn machine_id(&self) -> &[u8] {
511        match self.machine_id.as_ref() {
512            Some(v) => v,
513            None => &[],
514        }
515    }
516
517    pub fn clear_machine_id(&mut self) {
518        self.machine_id = ::std::option::Option::None;
519    }
520
521    pub fn has_machine_id(&self) -> bool {
522        self.machine_id.is_some()
523    }
524
525    // Param is passed by value, moved
526    pub fn set_machine_id(&mut self, v: ::std::vec::Vec<u8>) {
527        self.machine_id = ::std::option::Option::Some(v);
528    }
529
530    // Mutable pointer to the field.
531    // If field is not initialized, it is initialized with default value first.
532    pub fn mut_machine_id(&mut self) -> &mut ::std::vec::Vec<u8> {
533        if self.machine_id.is_none() {
534            self.machine_id = ::std::option::Option::Some(::std::vec::Vec::new());
535        }
536        self.machine_id.as_mut().unwrap()
537    }
538
539    // Take field
540    pub fn take_machine_id(&mut self) -> ::std::vec::Vec<u8> {
541        self.machine_id.take().unwrap_or_else(|| ::std::vec::Vec::new())
542    }
543}
544
545impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_DeviceDetails {
546    const NAME: &'static str = "CAuthentication_DeviceDetails";
547
548    fn is_initialized(&self) -> bool {
549        true
550    }
551
552    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
553        while let Some(tag) = is.read_raw_tag_or_eof()? {
554            match tag {
555                10 => {
556                    self.device_friendly_name = ::std::option::Option::Some(is.read_string()?);
557                },
558                16 => {
559                    self.platform_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
560                },
561                24 => {
562                    self.os_type = ::std::option::Option::Some(is.read_int32()?);
563                },
564                32 => {
565                    self.gaming_device_type = ::std::option::Option::Some(is.read_uint32()?);
566                },
567                40 => {
568                    self.client_count = ::std::option::Option::Some(is.read_uint32()?);
569                },
570                50 => {
571                    self.machine_id = ::std::option::Option::Some(is.read_bytes()?);
572                },
573                tag => {
574                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
575                },
576            };
577        }
578        ::std::result::Result::Ok(())
579    }
580
581    // Compute sizes of nested messages
582    #[allow(unused_variables)]
583    fn compute_size(&self) -> u64 {
584        let mut my_size = 0;
585        if let Some(v) = self.device_friendly_name.as_ref() {
586            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
587        }
588        if let Some(v) = self.platform_type {
589            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v.value());
590        }
591        if let Some(v) = self.os_type {
592            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
593        }
594        if let Some(v) = self.gaming_device_type {
595            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
596        }
597        if let Some(v) = self.client_count {
598            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
599        }
600        if let Some(v) = self.machine_id.as_ref() {
601            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(6, &v);
602        }
603        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
604        self.special_fields.cached_size().set(my_size as u32);
605        my_size
606    }
607
608    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
609        if let Some(v) = self.device_friendly_name.as_ref() {
610            os.write_string(1, v)?;
611        }
612        if let Some(v) = self.platform_type {
613            os.write_enum(2, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
614        }
615        if let Some(v) = self.os_type {
616            os.write_int32(3, v)?;
617        }
618        if let Some(v) = self.gaming_device_type {
619            os.write_uint32(4, v)?;
620        }
621        if let Some(v) = self.client_count {
622            os.write_uint32(5, v)?;
623        }
624        if let Some(v) = self.machine_id.as_ref() {
625            os.write_bytes(6, v)?;
626        }
627        os.write_unknown_fields(self.special_fields.unknown_fields())?;
628        ::std::result::Result::Ok(())
629    }
630
631    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
632        &self.special_fields
633    }
634
635    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
636        &mut self.special_fields
637    }
638
639    fn new() -> CAuthentication_DeviceDetails {
640        CAuthentication_DeviceDetails::new()
641    }
642
643    fn clear(&mut self) {
644        self.device_friendly_name = ::std::option::Option::None;
645        self.platform_type = ::std::option::Option::None;
646        self.os_type = ::std::option::Option::None;
647        self.gaming_device_type = ::std::option::Option::None;
648        self.client_count = ::std::option::Option::None;
649        self.machine_id = ::std::option::Option::None;
650        self.special_fields.clear();
651    }
652
653    fn default_instance() -> &'static CAuthentication_DeviceDetails {
654        static instance: CAuthentication_DeviceDetails = CAuthentication_DeviceDetails {
655            device_friendly_name: ::std::option::Option::None,
656            platform_type: ::std::option::Option::None,
657            os_type: ::std::option::Option::None,
658            gaming_device_type: ::std::option::Option::None,
659            client_count: ::std::option::Option::None,
660            machine_id: ::std::option::Option::None,
661            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
662        };
663        &instance
664    }
665}
666
667// @@protoc_insertion_point(message:CAuthentication_BeginAuthSessionViaQR_Request)
668#[derive(PartialEq,Clone,Default,Debug)]
669pub struct CAuthentication_BeginAuthSessionViaQR_Request {
670    // message fields
671    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaQR_Request.device_friendly_name)
672    pub device_friendly_name: ::std::option::Option<::std::string::String>,
673    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaQR_Request.platform_type)
674    pub platform_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAuthTokenPlatformType>>,
675    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaQR_Request.device_details)
676    pub device_details: ::steam_vent_proto_common::protobuf::MessageField<CAuthentication_DeviceDetails>,
677    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaQR_Request.website_id)
678    pub website_id: ::std::option::Option<::std::string::String>,
679    // special fields
680    // @@protoc_insertion_point(special_field:CAuthentication_BeginAuthSessionViaQR_Request.special_fields)
681    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
682}
683
684impl<'a> ::std::default::Default for &'a CAuthentication_BeginAuthSessionViaQR_Request {
685    fn default() -> &'a CAuthentication_BeginAuthSessionViaQR_Request {
686        <CAuthentication_BeginAuthSessionViaQR_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
687    }
688}
689
690impl CAuthentication_BeginAuthSessionViaQR_Request {
691    pub fn new() -> CAuthentication_BeginAuthSessionViaQR_Request {
692        ::std::default::Default::default()
693    }
694
695    // optional string device_friendly_name = 1;
696
697    pub fn device_friendly_name(&self) -> &str {
698        match self.device_friendly_name.as_ref() {
699            Some(v) => v,
700            None => "",
701        }
702    }
703
704    pub fn clear_device_friendly_name(&mut self) {
705        self.device_friendly_name = ::std::option::Option::None;
706    }
707
708    pub fn has_device_friendly_name(&self) -> bool {
709        self.device_friendly_name.is_some()
710    }
711
712    // Param is passed by value, moved
713    pub fn set_device_friendly_name(&mut self, v: ::std::string::String) {
714        self.device_friendly_name = ::std::option::Option::Some(v);
715    }
716
717    // Mutable pointer to the field.
718    // If field is not initialized, it is initialized with default value first.
719    pub fn mut_device_friendly_name(&mut self) -> &mut ::std::string::String {
720        if self.device_friendly_name.is_none() {
721            self.device_friendly_name = ::std::option::Option::Some(::std::string::String::new());
722        }
723        self.device_friendly_name.as_mut().unwrap()
724    }
725
726    // Take field
727    pub fn take_device_friendly_name(&mut self) -> ::std::string::String {
728        self.device_friendly_name.take().unwrap_or_else(|| ::std::string::String::new())
729    }
730
731    // optional .EAuthTokenPlatformType platform_type = 2;
732
733    pub fn platform_type(&self) -> EAuthTokenPlatformType {
734        match self.platform_type {
735            Some(e) => e.enum_value_or(EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown),
736            None => EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown,
737        }
738    }
739
740    pub fn clear_platform_type(&mut self) {
741        self.platform_type = ::std::option::Option::None;
742    }
743
744    pub fn has_platform_type(&self) -> bool {
745        self.platform_type.is_some()
746    }
747
748    // Param is passed by value, moved
749    pub fn set_platform_type(&mut self, v: EAuthTokenPlatformType) {
750        self.platform_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
751    }
752
753    // optional string website_id = 4;
754
755    pub fn website_id(&self) -> &str {
756        match self.website_id.as_ref() {
757            Some(v) => v,
758            None => "Unknown",
759        }
760    }
761
762    pub fn clear_website_id(&mut self) {
763        self.website_id = ::std::option::Option::None;
764    }
765
766    pub fn has_website_id(&self) -> bool {
767        self.website_id.is_some()
768    }
769
770    // Param is passed by value, moved
771    pub fn set_website_id(&mut self, v: ::std::string::String) {
772        self.website_id = ::std::option::Option::Some(v);
773    }
774
775    // Mutable pointer to the field.
776    // If field is not initialized, it is initialized with default value first.
777    pub fn mut_website_id(&mut self) -> &mut ::std::string::String {
778        if self.website_id.is_none() {
779            self.website_id = ::std::option::Option::Some(::std::string::String::new());
780        }
781        self.website_id.as_mut().unwrap()
782    }
783
784    // Take field
785    pub fn take_website_id(&mut self) -> ::std::string::String {
786        self.website_id.take().unwrap_or_else(|| ::std::string::String::new())
787    }
788}
789
790impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_BeginAuthSessionViaQR_Request {
791    const NAME: &'static str = "CAuthentication_BeginAuthSessionViaQR_Request";
792
793    fn is_initialized(&self) -> bool {
794        true
795    }
796
797    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
798        while let Some(tag) = is.read_raw_tag_or_eof()? {
799            match tag {
800                10 => {
801                    self.device_friendly_name = ::std::option::Option::Some(is.read_string()?);
802                },
803                16 => {
804                    self.platform_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
805                },
806                26 => {
807                    ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.device_details)?;
808                },
809                34 => {
810                    self.website_id = ::std::option::Option::Some(is.read_string()?);
811                },
812                tag => {
813                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
814                },
815            };
816        }
817        ::std::result::Result::Ok(())
818    }
819
820    // Compute sizes of nested messages
821    #[allow(unused_variables)]
822    fn compute_size(&self) -> u64 {
823        let mut my_size = 0;
824        if let Some(v) = self.device_friendly_name.as_ref() {
825            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
826        }
827        if let Some(v) = self.platform_type {
828            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v.value());
829        }
830        if let Some(v) = self.device_details.as_ref() {
831            let len = v.compute_size();
832            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
833        }
834        if let Some(v) = self.website_id.as_ref() {
835            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
836        }
837        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
838        self.special_fields.cached_size().set(my_size as u32);
839        my_size
840    }
841
842    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
843        if let Some(v) = self.device_friendly_name.as_ref() {
844            os.write_string(1, v)?;
845        }
846        if let Some(v) = self.platform_type {
847            os.write_enum(2, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
848        }
849        if let Some(v) = self.device_details.as_ref() {
850            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
851        }
852        if let Some(v) = self.website_id.as_ref() {
853            os.write_string(4, v)?;
854        }
855        os.write_unknown_fields(self.special_fields.unknown_fields())?;
856        ::std::result::Result::Ok(())
857    }
858
859    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
860        &self.special_fields
861    }
862
863    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
864        &mut self.special_fields
865    }
866
867    fn new() -> CAuthentication_BeginAuthSessionViaQR_Request {
868        CAuthentication_BeginAuthSessionViaQR_Request::new()
869    }
870
871    fn clear(&mut self) {
872        self.device_friendly_name = ::std::option::Option::None;
873        self.platform_type = ::std::option::Option::None;
874        self.device_details.clear();
875        self.website_id = ::std::option::Option::None;
876        self.special_fields.clear();
877    }
878
879    fn default_instance() -> &'static CAuthentication_BeginAuthSessionViaQR_Request {
880        static instance: CAuthentication_BeginAuthSessionViaQR_Request = CAuthentication_BeginAuthSessionViaQR_Request {
881            device_friendly_name: ::std::option::Option::None,
882            platform_type: ::std::option::Option::None,
883            device_details: ::steam_vent_proto_common::protobuf::MessageField::none(),
884            website_id: ::std::option::Option::None,
885            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
886        };
887        &instance
888    }
889}
890
891// @@protoc_insertion_point(message:CAuthentication_AllowedConfirmation)
892#[derive(PartialEq,Clone,Default,Debug)]
893pub struct CAuthentication_AllowedConfirmation {
894    // message fields
895    // @@protoc_insertion_point(field:CAuthentication_AllowedConfirmation.confirmation_type)
896    pub confirmation_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAuthSessionGuardType>>,
897    // @@protoc_insertion_point(field:CAuthentication_AllowedConfirmation.associated_message)
898    pub associated_message: ::std::option::Option<::std::string::String>,
899    // special fields
900    // @@protoc_insertion_point(special_field:CAuthentication_AllowedConfirmation.special_fields)
901    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
902}
903
904impl<'a> ::std::default::Default for &'a CAuthentication_AllowedConfirmation {
905    fn default() -> &'a CAuthentication_AllowedConfirmation {
906        <CAuthentication_AllowedConfirmation as ::steam_vent_proto_common::protobuf::Message>::default_instance()
907    }
908}
909
910impl CAuthentication_AllowedConfirmation {
911    pub fn new() -> CAuthentication_AllowedConfirmation {
912        ::std::default::Default::default()
913    }
914
915    // optional .EAuthSessionGuardType confirmation_type = 1;
916
917    pub fn confirmation_type(&self) -> EAuthSessionGuardType {
918        match self.confirmation_type {
919            Some(e) => e.enum_value_or(EAuthSessionGuardType::k_EAuthSessionGuardType_Unknown),
920            None => EAuthSessionGuardType::k_EAuthSessionGuardType_Unknown,
921        }
922    }
923
924    pub fn clear_confirmation_type(&mut self) {
925        self.confirmation_type = ::std::option::Option::None;
926    }
927
928    pub fn has_confirmation_type(&self) -> bool {
929        self.confirmation_type.is_some()
930    }
931
932    // Param is passed by value, moved
933    pub fn set_confirmation_type(&mut self, v: EAuthSessionGuardType) {
934        self.confirmation_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
935    }
936
937    // optional string associated_message = 2;
938
939    pub fn associated_message(&self) -> &str {
940        match self.associated_message.as_ref() {
941            Some(v) => v,
942            None => "",
943        }
944    }
945
946    pub fn clear_associated_message(&mut self) {
947        self.associated_message = ::std::option::Option::None;
948    }
949
950    pub fn has_associated_message(&self) -> bool {
951        self.associated_message.is_some()
952    }
953
954    // Param is passed by value, moved
955    pub fn set_associated_message(&mut self, v: ::std::string::String) {
956        self.associated_message = ::std::option::Option::Some(v);
957    }
958
959    // Mutable pointer to the field.
960    // If field is not initialized, it is initialized with default value first.
961    pub fn mut_associated_message(&mut self) -> &mut ::std::string::String {
962        if self.associated_message.is_none() {
963            self.associated_message = ::std::option::Option::Some(::std::string::String::new());
964        }
965        self.associated_message.as_mut().unwrap()
966    }
967
968    // Take field
969    pub fn take_associated_message(&mut self) -> ::std::string::String {
970        self.associated_message.take().unwrap_or_else(|| ::std::string::String::new())
971    }
972}
973
974impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_AllowedConfirmation {
975    const NAME: &'static str = "CAuthentication_AllowedConfirmation";
976
977    fn is_initialized(&self) -> bool {
978        true
979    }
980
981    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
982        while let Some(tag) = is.read_raw_tag_or_eof()? {
983            match tag {
984                8 => {
985                    self.confirmation_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
986                },
987                18 => {
988                    self.associated_message = ::std::option::Option::Some(is.read_string()?);
989                },
990                tag => {
991                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
992                },
993            };
994        }
995        ::std::result::Result::Ok(())
996    }
997
998    // Compute sizes of nested messages
999    #[allow(unused_variables)]
1000    fn compute_size(&self) -> u64 {
1001        let mut my_size = 0;
1002        if let Some(v) = self.confirmation_type {
1003            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v.value());
1004        }
1005        if let Some(v) = self.associated_message.as_ref() {
1006            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
1007        }
1008        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1009        self.special_fields.cached_size().set(my_size as u32);
1010        my_size
1011    }
1012
1013    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1014        if let Some(v) = self.confirmation_type {
1015            os.write_enum(1, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
1016        }
1017        if let Some(v) = self.associated_message.as_ref() {
1018            os.write_string(2, v)?;
1019        }
1020        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1021        ::std::result::Result::Ok(())
1022    }
1023
1024    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1025        &self.special_fields
1026    }
1027
1028    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1029        &mut self.special_fields
1030    }
1031
1032    fn new() -> CAuthentication_AllowedConfirmation {
1033        CAuthentication_AllowedConfirmation::new()
1034    }
1035
1036    fn clear(&mut self) {
1037        self.confirmation_type = ::std::option::Option::None;
1038        self.associated_message = ::std::option::Option::None;
1039        self.special_fields.clear();
1040    }
1041
1042    fn default_instance() -> &'static CAuthentication_AllowedConfirmation {
1043        static instance: CAuthentication_AllowedConfirmation = CAuthentication_AllowedConfirmation {
1044            confirmation_type: ::std::option::Option::None,
1045            associated_message: ::std::option::Option::None,
1046            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1047        };
1048        &instance
1049    }
1050}
1051
1052// @@protoc_insertion_point(message:CAuthentication_BeginAuthSessionViaQR_Response)
1053#[derive(PartialEq,Clone,Default,Debug)]
1054pub struct CAuthentication_BeginAuthSessionViaQR_Response {
1055    // message fields
1056    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaQR_Response.client_id)
1057    pub client_id: ::std::option::Option<u64>,
1058    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaQR_Response.challenge_url)
1059    pub challenge_url: ::std::option::Option<::std::string::String>,
1060    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaQR_Response.request_id)
1061    pub request_id: ::std::option::Option<::std::vec::Vec<u8>>,
1062    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaQR_Response.interval)
1063    pub interval: ::std::option::Option<f32>,
1064    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaQR_Response.allowed_confirmations)
1065    pub allowed_confirmations: ::std::vec::Vec<CAuthentication_AllowedConfirmation>,
1066    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaQR_Response.version)
1067    pub version: ::std::option::Option<i32>,
1068    // special fields
1069    // @@protoc_insertion_point(special_field:CAuthentication_BeginAuthSessionViaQR_Response.special_fields)
1070    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1071}
1072
1073impl<'a> ::std::default::Default for &'a CAuthentication_BeginAuthSessionViaQR_Response {
1074    fn default() -> &'a CAuthentication_BeginAuthSessionViaQR_Response {
1075        <CAuthentication_BeginAuthSessionViaQR_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1076    }
1077}
1078
1079impl CAuthentication_BeginAuthSessionViaQR_Response {
1080    pub fn new() -> CAuthentication_BeginAuthSessionViaQR_Response {
1081        ::std::default::Default::default()
1082    }
1083
1084    // optional uint64 client_id = 1;
1085
1086    pub fn client_id(&self) -> u64 {
1087        self.client_id.unwrap_or(0)
1088    }
1089
1090    pub fn clear_client_id(&mut self) {
1091        self.client_id = ::std::option::Option::None;
1092    }
1093
1094    pub fn has_client_id(&self) -> bool {
1095        self.client_id.is_some()
1096    }
1097
1098    // Param is passed by value, moved
1099    pub fn set_client_id(&mut self, v: u64) {
1100        self.client_id = ::std::option::Option::Some(v);
1101    }
1102
1103    // optional string challenge_url = 2;
1104
1105    pub fn challenge_url(&self) -> &str {
1106        match self.challenge_url.as_ref() {
1107            Some(v) => v,
1108            None => "",
1109        }
1110    }
1111
1112    pub fn clear_challenge_url(&mut self) {
1113        self.challenge_url = ::std::option::Option::None;
1114    }
1115
1116    pub fn has_challenge_url(&self) -> bool {
1117        self.challenge_url.is_some()
1118    }
1119
1120    // Param is passed by value, moved
1121    pub fn set_challenge_url(&mut self, v: ::std::string::String) {
1122        self.challenge_url = ::std::option::Option::Some(v);
1123    }
1124
1125    // Mutable pointer to the field.
1126    // If field is not initialized, it is initialized with default value first.
1127    pub fn mut_challenge_url(&mut self) -> &mut ::std::string::String {
1128        if self.challenge_url.is_none() {
1129            self.challenge_url = ::std::option::Option::Some(::std::string::String::new());
1130        }
1131        self.challenge_url.as_mut().unwrap()
1132    }
1133
1134    // Take field
1135    pub fn take_challenge_url(&mut self) -> ::std::string::String {
1136        self.challenge_url.take().unwrap_or_else(|| ::std::string::String::new())
1137    }
1138
1139    // optional bytes request_id = 3;
1140
1141    pub fn request_id(&self) -> &[u8] {
1142        match self.request_id.as_ref() {
1143            Some(v) => v,
1144            None => &[],
1145        }
1146    }
1147
1148    pub fn clear_request_id(&mut self) {
1149        self.request_id = ::std::option::Option::None;
1150    }
1151
1152    pub fn has_request_id(&self) -> bool {
1153        self.request_id.is_some()
1154    }
1155
1156    // Param is passed by value, moved
1157    pub fn set_request_id(&mut self, v: ::std::vec::Vec<u8>) {
1158        self.request_id = ::std::option::Option::Some(v);
1159    }
1160
1161    // Mutable pointer to the field.
1162    // If field is not initialized, it is initialized with default value first.
1163    pub fn mut_request_id(&mut self) -> &mut ::std::vec::Vec<u8> {
1164        if self.request_id.is_none() {
1165            self.request_id = ::std::option::Option::Some(::std::vec::Vec::new());
1166        }
1167        self.request_id.as_mut().unwrap()
1168    }
1169
1170    // Take field
1171    pub fn take_request_id(&mut self) -> ::std::vec::Vec<u8> {
1172        self.request_id.take().unwrap_or_else(|| ::std::vec::Vec::new())
1173    }
1174
1175    // optional float interval = 4;
1176
1177    pub fn interval(&self) -> f32 {
1178        self.interval.unwrap_or(0.)
1179    }
1180
1181    pub fn clear_interval(&mut self) {
1182        self.interval = ::std::option::Option::None;
1183    }
1184
1185    pub fn has_interval(&self) -> bool {
1186        self.interval.is_some()
1187    }
1188
1189    // Param is passed by value, moved
1190    pub fn set_interval(&mut self, v: f32) {
1191        self.interval = ::std::option::Option::Some(v);
1192    }
1193
1194    // optional int32 version = 6;
1195
1196    pub fn version(&self) -> i32 {
1197        self.version.unwrap_or(0)
1198    }
1199
1200    pub fn clear_version(&mut self) {
1201        self.version = ::std::option::Option::None;
1202    }
1203
1204    pub fn has_version(&self) -> bool {
1205        self.version.is_some()
1206    }
1207
1208    // Param is passed by value, moved
1209    pub fn set_version(&mut self, v: i32) {
1210        self.version = ::std::option::Option::Some(v);
1211    }
1212}
1213
1214impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_BeginAuthSessionViaQR_Response {
1215    const NAME: &'static str = "CAuthentication_BeginAuthSessionViaQR_Response";
1216
1217    fn is_initialized(&self) -> bool {
1218        true
1219    }
1220
1221    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1222        while let Some(tag) = is.read_raw_tag_or_eof()? {
1223            match tag {
1224                8 => {
1225                    self.client_id = ::std::option::Option::Some(is.read_uint64()?);
1226                },
1227                18 => {
1228                    self.challenge_url = ::std::option::Option::Some(is.read_string()?);
1229                },
1230                26 => {
1231                    self.request_id = ::std::option::Option::Some(is.read_bytes()?);
1232                },
1233                37 => {
1234                    self.interval = ::std::option::Option::Some(is.read_float()?);
1235                },
1236                42 => {
1237                    self.allowed_confirmations.push(is.read_message()?);
1238                },
1239                48 => {
1240                    self.version = ::std::option::Option::Some(is.read_int32()?);
1241                },
1242                tag => {
1243                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1244                },
1245            };
1246        }
1247        ::std::result::Result::Ok(())
1248    }
1249
1250    // Compute sizes of nested messages
1251    #[allow(unused_variables)]
1252    fn compute_size(&self) -> u64 {
1253        let mut my_size = 0;
1254        if let Some(v) = self.client_id {
1255            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
1256        }
1257        if let Some(v) = self.challenge_url.as_ref() {
1258            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
1259        }
1260        if let Some(v) = self.request_id.as_ref() {
1261            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(3, &v);
1262        }
1263        if let Some(v) = self.interval {
1264            my_size += 1 + 4;
1265        }
1266        for value in &self.allowed_confirmations {
1267            let len = value.compute_size();
1268            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
1269        };
1270        if let Some(v) = self.version {
1271            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v);
1272        }
1273        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1274        self.special_fields.cached_size().set(my_size as u32);
1275        my_size
1276    }
1277
1278    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1279        if let Some(v) = self.client_id {
1280            os.write_uint64(1, v)?;
1281        }
1282        if let Some(v) = self.challenge_url.as_ref() {
1283            os.write_string(2, v)?;
1284        }
1285        if let Some(v) = self.request_id.as_ref() {
1286            os.write_bytes(3, v)?;
1287        }
1288        if let Some(v) = self.interval {
1289            os.write_float(4, v)?;
1290        }
1291        for v in &self.allowed_confirmations {
1292            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(5, v, os)?;
1293        };
1294        if let Some(v) = self.version {
1295            os.write_int32(6, v)?;
1296        }
1297        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1298        ::std::result::Result::Ok(())
1299    }
1300
1301    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1302        &self.special_fields
1303    }
1304
1305    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1306        &mut self.special_fields
1307    }
1308
1309    fn new() -> CAuthentication_BeginAuthSessionViaQR_Response {
1310        CAuthentication_BeginAuthSessionViaQR_Response::new()
1311    }
1312
1313    fn clear(&mut self) {
1314        self.client_id = ::std::option::Option::None;
1315        self.challenge_url = ::std::option::Option::None;
1316        self.request_id = ::std::option::Option::None;
1317        self.interval = ::std::option::Option::None;
1318        self.allowed_confirmations.clear();
1319        self.version = ::std::option::Option::None;
1320        self.special_fields.clear();
1321    }
1322
1323    fn default_instance() -> &'static CAuthentication_BeginAuthSessionViaQR_Response {
1324        static instance: CAuthentication_BeginAuthSessionViaQR_Response = CAuthentication_BeginAuthSessionViaQR_Response {
1325            client_id: ::std::option::Option::None,
1326            challenge_url: ::std::option::Option::None,
1327            request_id: ::std::option::Option::None,
1328            interval: ::std::option::Option::None,
1329            allowed_confirmations: ::std::vec::Vec::new(),
1330            version: ::std::option::Option::None,
1331            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1332        };
1333        &instance
1334    }
1335}
1336
1337// @@protoc_insertion_point(message:CAuthentication_BeginAuthSessionViaCredentials_Request)
1338#[derive(PartialEq,Clone,Default,Debug)]
1339pub struct CAuthentication_BeginAuthSessionViaCredentials_Request {
1340    // message fields
1341    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Request.device_friendly_name)
1342    pub device_friendly_name: ::std::option::Option<::std::string::String>,
1343    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Request.account_name)
1344    pub account_name: ::std::option::Option<::std::string::String>,
1345    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Request.encrypted_password)
1346    pub encrypted_password: ::std::option::Option<::std::string::String>,
1347    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Request.encryption_timestamp)
1348    pub encryption_timestamp: ::std::option::Option<u64>,
1349    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Request.remember_login)
1350    pub remember_login: ::std::option::Option<bool>,
1351    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Request.platform_type)
1352    pub platform_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAuthTokenPlatformType>>,
1353    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Request.persistence)
1354    pub persistence: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::enums::ESessionPersistence>>,
1355    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Request.website_id)
1356    pub website_id: ::std::option::Option<::std::string::String>,
1357    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Request.device_details)
1358    pub device_details: ::steam_vent_proto_common::protobuf::MessageField<CAuthentication_DeviceDetails>,
1359    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Request.guard_data)
1360    pub guard_data: ::std::option::Option<::std::string::String>,
1361    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Request.language)
1362    pub language: ::std::option::Option<u32>,
1363    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Request.qos_level)
1364    pub qos_level: ::std::option::Option<i32>,
1365    // special fields
1366    // @@protoc_insertion_point(special_field:CAuthentication_BeginAuthSessionViaCredentials_Request.special_fields)
1367    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1368}
1369
1370impl<'a> ::std::default::Default for &'a CAuthentication_BeginAuthSessionViaCredentials_Request {
1371    fn default() -> &'a CAuthentication_BeginAuthSessionViaCredentials_Request {
1372        <CAuthentication_BeginAuthSessionViaCredentials_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1373    }
1374}
1375
1376impl CAuthentication_BeginAuthSessionViaCredentials_Request {
1377    pub fn new() -> CAuthentication_BeginAuthSessionViaCredentials_Request {
1378        ::std::default::Default::default()
1379    }
1380
1381    // optional string device_friendly_name = 1;
1382
1383    pub fn device_friendly_name(&self) -> &str {
1384        match self.device_friendly_name.as_ref() {
1385            Some(v) => v,
1386            None => "",
1387        }
1388    }
1389
1390    pub fn clear_device_friendly_name(&mut self) {
1391        self.device_friendly_name = ::std::option::Option::None;
1392    }
1393
1394    pub fn has_device_friendly_name(&self) -> bool {
1395        self.device_friendly_name.is_some()
1396    }
1397
1398    // Param is passed by value, moved
1399    pub fn set_device_friendly_name(&mut self, v: ::std::string::String) {
1400        self.device_friendly_name = ::std::option::Option::Some(v);
1401    }
1402
1403    // Mutable pointer to the field.
1404    // If field is not initialized, it is initialized with default value first.
1405    pub fn mut_device_friendly_name(&mut self) -> &mut ::std::string::String {
1406        if self.device_friendly_name.is_none() {
1407            self.device_friendly_name = ::std::option::Option::Some(::std::string::String::new());
1408        }
1409        self.device_friendly_name.as_mut().unwrap()
1410    }
1411
1412    // Take field
1413    pub fn take_device_friendly_name(&mut self) -> ::std::string::String {
1414        self.device_friendly_name.take().unwrap_or_else(|| ::std::string::String::new())
1415    }
1416
1417    // optional string account_name = 2;
1418
1419    pub fn account_name(&self) -> &str {
1420        match self.account_name.as_ref() {
1421            Some(v) => v,
1422            None => "",
1423        }
1424    }
1425
1426    pub fn clear_account_name(&mut self) {
1427        self.account_name = ::std::option::Option::None;
1428    }
1429
1430    pub fn has_account_name(&self) -> bool {
1431        self.account_name.is_some()
1432    }
1433
1434    // Param is passed by value, moved
1435    pub fn set_account_name(&mut self, v: ::std::string::String) {
1436        self.account_name = ::std::option::Option::Some(v);
1437    }
1438
1439    // Mutable pointer to the field.
1440    // If field is not initialized, it is initialized with default value first.
1441    pub fn mut_account_name(&mut self) -> &mut ::std::string::String {
1442        if self.account_name.is_none() {
1443            self.account_name = ::std::option::Option::Some(::std::string::String::new());
1444        }
1445        self.account_name.as_mut().unwrap()
1446    }
1447
1448    // Take field
1449    pub fn take_account_name(&mut self) -> ::std::string::String {
1450        self.account_name.take().unwrap_or_else(|| ::std::string::String::new())
1451    }
1452
1453    // optional string encrypted_password = 3;
1454
1455    pub fn encrypted_password(&self) -> &str {
1456        match self.encrypted_password.as_ref() {
1457            Some(v) => v,
1458            None => "",
1459        }
1460    }
1461
1462    pub fn clear_encrypted_password(&mut self) {
1463        self.encrypted_password = ::std::option::Option::None;
1464    }
1465
1466    pub fn has_encrypted_password(&self) -> bool {
1467        self.encrypted_password.is_some()
1468    }
1469
1470    // Param is passed by value, moved
1471    pub fn set_encrypted_password(&mut self, v: ::std::string::String) {
1472        self.encrypted_password = ::std::option::Option::Some(v);
1473    }
1474
1475    // Mutable pointer to the field.
1476    // If field is not initialized, it is initialized with default value first.
1477    pub fn mut_encrypted_password(&mut self) -> &mut ::std::string::String {
1478        if self.encrypted_password.is_none() {
1479            self.encrypted_password = ::std::option::Option::Some(::std::string::String::new());
1480        }
1481        self.encrypted_password.as_mut().unwrap()
1482    }
1483
1484    // Take field
1485    pub fn take_encrypted_password(&mut self) -> ::std::string::String {
1486        self.encrypted_password.take().unwrap_or_else(|| ::std::string::String::new())
1487    }
1488
1489    // optional uint64 encryption_timestamp = 4;
1490
1491    pub fn encryption_timestamp(&self) -> u64 {
1492        self.encryption_timestamp.unwrap_or(0)
1493    }
1494
1495    pub fn clear_encryption_timestamp(&mut self) {
1496        self.encryption_timestamp = ::std::option::Option::None;
1497    }
1498
1499    pub fn has_encryption_timestamp(&self) -> bool {
1500        self.encryption_timestamp.is_some()
1501    }
1502
1503    // Param is passed by value, moved
1504    pub fn set_encryption_timestamp(&mut self, v: u64) {
1505        self.encryption_timestamp = ::std::option::Option::Some(v);
1506    }
1507
1508    // optional bool remember_login = 5;
1509
1510    pub fn remember_login(&self) -> bool {
1511        self.remember_login.unwrap_or(false)
1512    }
1513
1514    pub fn clear_remember_login(&mut self) {
1515        self.remember_login = ::std::option::Option::None;
1516    }
1517
1518    pub fn has_remember_login(&self) -> bool {
1519        self.remember_login.is_some()
1520    }
1521
1522    // Param is passed by value, moved
1523    pub fn set_remember_login(&mut self, v: bool) {
1524        self.remember_login = ::std::option::Option::Some(v);
1525    }
1526
1527    // optional .EAuthTokenPlatformType platform_type = 6;
1528
1529    pub fn platform_type(&self) -> EAuthTokenPlatformType {
1530        match self.platform_type {
1531            Some(e) => e.enum_value_or(EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown),
1532            None => EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown,
1533        }
1534    }
1535
1536    pub fn clear_platform_type(&mut self) {
1537        self.platform_type = ::std::option::Option::None;
1538    }
1539
1540    pub fn has_platform_type(&self) -> bool {
1541        self.platform_type.is_some()
1542    }
1543
1544    // Param is passed by value, moved
1545    pub fn set_platform_type(&mut self, v: EAuthTokenPlatformType) {
1546        self.platform_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
1547    }
1548
1549    // optional .ESessionPersistence persistence = 7;
1550
1551    pub fn persistence(&self) -> super::enums::ESessionPersistence {
1552        match self.persistence {
1553            Some(e) => e.enum_value_or(super::enums::ESessionPersistence::k_ESessionPersistence_Persistent),
1554            None => super::enums::ESessionPersistence::k_ESessionPersistence_Persistent,
1555        }
1556    }
1557
1558    pub fn clear_persistence(&mut self) {
1559        self.persistence = ::std::option::Option::None;
1560    }
1561
1562    pub fn has_persistence(&self) -> bool {
1563        self.persistence.is_some()
1564    }
1565
1566    // Param is passed by value, moved
1567    pub fn set_persistence(&mut self, v: super::enums::ESessionPersistence) {
1568        self.persistence = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
1569    }
1570
1571    // optional string website_id = 8;
1572
1573    pub fn website_id(&self) -> &str {
1574        match self.website_id.as_ref() {
1575            Some(v) => v,
1576            None => "Unknown",
1577        }
1578    }
1579
1580    pub fn clear_website_id(&mut self) {
1581        self.website_id = ::std::option::Option::None;
1582    }
1583
1584    pub fn has_website_id(&self) -> bool {
1585        self.website_id.is_some()
1586    }
1587
1588    // Param is passed by value, moved
1589    pub fn set_website_id(&mut self, v: ::std::string::String) {
1590        self.website_id = ::std::option::Option::Some(v);
1591    }
1592
1593    // Mutable pointer to the field.
1594    // If field is not initialized, it is initialized with default value first.
1595    pub fn mut_website_id(&mut self) -> &mut ::std::string::String {
1596        if self.website_id.is_none() {
1597            self.website_id = ::std::option::Option::Some(::std::string::String::new());
1598        }
1599        self.website_id.as_mut().unwrap()
1600    }
1601
1602    // Take field
1603    pub fn take_website_id(&mut self) -> ::std::string::String {
1604        self.website_id.take().unwrap_or_else(|| ::std::string::String::new())
1605    }
1606
1607    // optional string guard_data = 10;
1608
1609    pub fn guard_data(&self) -> &str {
1610        match self.guard_data.as_ref() {
1611            Some(v) => v,
1612            None => "",
1613        }
1614    }
1615
1616    pub fn clear_guard_data(&mut self) {
1617        self.guard_data = ::std::option::Option::None;
1618    }
1619
1620    pub fn has_guard_data(&self) -> bool {
1621        self.guard_data.is_some()
1622    }
1623
1624    // Param is passed by value, moved
1625    pub fn set_guard_data(&mut self, v: ::std::string::String) {
1626        self.guard_data = ::std::option::Option::Some(v);
1627    }
1628
1629    // Mutable pointer to the field.
1630    // If field is not initialized, it is initialized with default value first.
1631    pub fn mut_guard_data(&mut self) -> &mut ::std::string::String {
1632        if self.guard_data.is_none() {
1633            self.guard_data = ::std::option::Option::Some(::std::string::String::new());
1634        }
1635        self.guard_data.as_mut().unwrap()
1636    }
1637
1638    // Take field
1639    pub fn take_guard_data(&mut self) -> ::std::string::String {
1640        self.guard_data.take().unwrap_or_else(|| ::std::string::String::new())
1641    }
1642
1643    // optional uint32 language = 11;
1644
1645    pub fn language(&self) -> u32 {
1646        self.language.unwrap_or(0)
1647    }
1648
1649    pub fn clear_language(&mut self) {
1650        self.language = ::std::option::Option::None;
1651    }
1652
1653    pub fn has_language(&self) -> bool {
1654        self.language.is_some()
1655    }
1656
1657    // Param is passed by value, moved
1658    pub fn set_language(&mut self, v: u32) {
1659        self.language = ::std::option::Option::Some(v);
1660    }
1661
1662    // optional int32 qos_level = 12;
1663
1664    pub fn qos_level(&self) -> i32 {
1665        self.qos_level.unwrap_or(2i32)
1666    }
1667
1668    pub fn clear_qos_level(&mut self) {
1669        self.qos_level = ::std::option::Option::None;
1670    }
1671
1672    pub fn has_qos_level(&self) -> bool {
1673        self.qos_level.is_some()
1674    }
1675
1676    // Param is passed by value, moved
1677    pub fn set_qos_level(&mut self, v: i32) {
1678        self.qos_level = ::std::option::Option::Some(v);
1679    }
1680}
1681
1682impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_BeginAuthSessionViaCredentials_Request {
1683    const NAME: &'static str = "CAuthentication_BeginAuthSessionViaCredentials_Request";
1684
1685    fn is_initialized(&self) -> bool {
1686        true
1687    }
1688
1689    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1690        while let Some(tag) = is.read_raw_tag_or_eof()? {
1691            match tag {
1692                10 => {
1693                    self.device_friendly_name = ::std::option::Option::Some(is.read_string()?);
1694                },
1695                18 => {
1696                    self.account_name = ::std::option::Option::Some(is.read_string()?);
1697                },
1698                26 => {
1699                    self.encrypted_password = ::std::option::Option::Some(is.read_string()?);
1700                },
1701                32 => {
1702                    self.encryption_timestamp = ::std::option::Option::Some(is.read_uint64()?);
1703                },
1704                40 => {
1705                    self.remember_login = ::std::option::Option::Some(is.read_bool()?);
1706                },
1707                48 => {
1708                    self.platform_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
1709                },
1710                56 => {
1711                    self.persistence = ::std::option::Option::Some(is.read_enum_or_unknown()?);
1712                },
1713                66 => {
1714                    self.website_id = ::std::option::Option::Some(is.read_string()?);
1715                },
1716                74 => {
1717                    ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.device_details)?;
1718                },
1719                82 => {
1720                    self.guard_data = ::std::option::Option::Some(is.read_string()?);
1721                },
1722                88 => {
1723                    self.language = ::std::option::Option::Some(is.read_uint32()?);
1724                },
1725                96 => {
1726                    self.qos_level = ::std::option::Option::Some(is.read_int32()?);
1727                },
1728                tag => {
1729                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1730                },
1731            };
1732        }
1733        ::std::result::Result::Ok(())
1734    }
1735
1736    // Compute sizes of nested messages
1737    #[allow(unused_variables)]
1738    fn compute_size(&self) -> u64 {
1739        let mut my_size = 0;
1740        if let Some(v) = self.device_friendly_name.as_ref() {
1741            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
1742        }
1743        if let Some(v) = self.account_name.as_ref() {
1744            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
1745        }
1746        if let Some(v) = self.encrypted_password.as_ref() {
1747            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
1748        }
1749        if let Some(v) = self.encryption_timestamp {
1750            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(4, v);
1751        }
1752        if let Some(v) = self.remember_login {
1753            my_size += 1 + 1;
1754        }
1755        if let Some(v) = self.platform_type {
1756            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v.value());
1757        }
1758        if let Some(v) = self.persistence {
1759            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(7, v.value());
1760        }
1761        if let Some(v) = self.website_id.as_ref() {
1762            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
1763        }
1764        if let Some(v) = self.device_details.as_ref() {
1765            let len = v.compute_size();
1766            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
1767        }
1768        if let Some(v) = self.guard_data.as_ref() {
1769            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(10, &v);
1770        }
1771        if let Some(v) = self.language {
1772            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(11, v);
1773        }
1774        if let Some(v) = self.qos_level {
1775            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(12, v);
1776        }
1777        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1778        self.special_fields.cached_size().set(my_size as u32);
1779        my_size
1780    }
1781
1782    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1783        if let Some(v) = self.device_friendly_name.as_ref() {
1784            os.write_string(1, v)?;
1785        }
1786        if let Some(v) = self.account_name.as_ref() {
1787            os.write_string(2, v)?;
1788        }
1789        if let Some(v) = self.encrypted_password.as_ref() {
1790            os.write_string(3, v)?;
1791        }
1792        if let Some(v) = self.encryption_timestamp {
1793            os.write_uint64(4, v)?;
1794        }
1795        if let Some(v) = self.remember_login {
1796            os.write_bool(5, v)?;
1797        }
1798        if let Some(v) = self.platform_type {
1799            os.write_enum(6, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
1800        }
1801        if let Some(v) = self.persistence {
1802            os.write_enum(7, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
1803        }
1804        if let Some(v) = self.website_id.as_ref() {
1805            os.write_string(8, v)?;
1806        }
1807        if let Some(v) = self.device_details.as_ref() {
1808            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(9, v, os)?;
1809        }
1810        if let Some(v) = self.guard_data.as_ref() {
1811            os.write_string(10, v)?;
1812        }
1813        if let Some(v) = self.language {
1814            os.write_uint32(11, v)?;
1815        }
1816        if let Some(v) = self.qos_level {
1817            os.write_int32(12, v)?;
1818        }
1819        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1820        ::std::result::Result::Ok(())
1821    }
1822
1823    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1824        &self.special_fields
1825    }
1826
1827    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1828        &mut self.special_fields
1829    }
1830
1831    fn new() -> CAuthentication_BeginAuthSessionViaCredentials_Request {
1832        CAuthentication_BeginAuthSessionViaCredentials_Request::new()
1833    }
1834
1835    fn clear(&mut self) {
1836        self.device_friendly_name = ::std::option::Option::None;
1837        self.account_name = ::std::option::Option::None;
1838        self.encrypted_password = ::std::option::Option::None;
1839        self.encryption_timestamp = ::std::option::Option::None;
1840        self.remember_login = ::std::option::Option::None;
1841        self.platform_type = ::std::option::Option::None;
1842        self.persistence = ::std::option::Option::None;
1843        self.website_id = ::std::option::Option::None;
1844        self.device_details.clear();
1845        self.guard_data = ::std::option::Option::None;
1846        self.language = ::std::option::Option::None;
1847        self.qos_level = ::std::option::Option::None;
1848        self.special_fields.clear();
1849    }
1850
1851    fn default_instance() -> &'static CAuthentication_BeginAuthSessionViaCredentials_Request {
1852        static instance: CAuthentication_BeginAuthSessionViaCredentials_Request = CAuthentication_BeginAuthSessionViaCredentials_Request {
1853            device_friendly_name: ::std::option::Option::None,
1854            account_name: ::std::option::Option::None,
1855            encrypted_password: ::std::option::Option::None,
1856            encryption_timestamp: ::std::option::Option::None,
1857            remember_login: ::std::option::Option::None,
1858            platform_type: ::std::option::Option::None,
1859            persistence: ::std::option::Option::None,
1860            website_id: ::std::option::Option::None,
1861            device_details: ::steam_vent_proto_common::protobuf::MessageField::none(),
1862            guard_data: ::std::option::Option::None,
1863            language: ::std::option::Option::None,
1864            qos_level: ::std::option::Option::None,
1865            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1866        };
1867        &instance
1868    }
1869}
1870
1871// @@protoc_insertion_point(message:CAuthentication_BeginAuthSessionViaCredentials_Response)
1872#[derive(PartialEq,Clone,Default,Debug)]
1873pub struct CAuthentication_BeginAuthSessionViaCredentials_Response {
1874    // message fields
1875    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Response.client_id)
1876    pub client_id: ::std::option::Option<u64>,
1877    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Response.request_id)
1878    pub request_id: ::std::option::Option<::std::vec::Vec<u8>>,
1879    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Response.interval)
1880    pub interval: ::std::option::Option<f32>,
1881    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Response.allowed_confirmations)
1882    pub allowed_confirmations: ::std::vec::Vec<CAuthentication_AllowedConfirmation>,
1883    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Response.steamid)
1884    pub steamid: ::std::option::Option<u64>,
1885    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Response.weak_token)
1886    pub weak_token: ::std::option::Option<::std::string::String>,
1887    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Response.agreement_session_url)
1888    pub agreement_session_url: ::std::option::Option<::std::string::String>,
1889    // @@protoc_insertion_point(field:CAuthentication_BeginAuthSessionViaCredentials_Response.extended_error_message)
1890    pub extended_error_message: ::std::option::Option<::std::string::String>,
1891    // special fields
1892    // @@protoc_insertion_point(special_field:CAuthentication_BeginAuthSessionViaCredentials_Response.special_fields)
1893    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1894}
1895
1896impl<'a> ::std::default::Default for &'a CAuthentication_BeginAuthSessionViaCredentials_Response {
1897    fn default() -> &'a CAuthentication_BeginAuthSessionViaCredentials_Response {
1898        <CAuthentication_BeginAuthSessionViaCredentials_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1899    }
1900}
1901
1902impl CAuthentication_BeginAuthSessionViaCredentials_Response {
1903    pub fn new() -> CAuthentication_BeginAuthSessionViaCredentials_Response {
1904        ::std::default::Default::default()
1905    }
1906
1907    // optional uint64 client_id = 1;
1908
1909    pub fn client_id(&self) -> u64 {
1910        self.client_id.unwrap_or(0)
1911    }
1912
1913    pub fn clear_client_id(&mut self) {
1914        self.client_id = ::std::option::Option::None;
1915    }
1916
1917    pub fn has_client_id(&self) -> bool {
1918        self.client_id.is_some()
1919    }
1920
1921    // Param is passed by value, moved
1922    pub fn set_client_id(&mut self, v: u64) {
1923        self.client_id = ::std::option::Option::Some(v);
1924    }
1925
1926    // optional bytes request_id = 2;
1927
1928    pub fn request_id(&self) -> &[u8] {
1929        match self.request_id.as_ref() {
1930            Some(v) => v,
1931            None => &[],
1932        }
1933    }
1934
1935    pub fn clear_request_id(&mut self) {
1936        self.request_id = ::std::option::Option::None;
1937    }
1938
1939    pub fn has_request_id(&self) -> bool {
1940        self.request_id.is_some()
1941    }
1942
1943    // Param is passed by value, moved
1944    pub fn set_request_id(&mut self, v: ::std::vec::Vec<u8>) {
1945        self.request_id = ::std::option::Option::Some(v);
1946    }
1947
1948    // Mutable pointer to the field.
1949    // If field is not initialized, it is initialized with default value first.
1950    pub fn mut_request_id(&mut self) -> &mut ::std::vec::Vec<u8> {
1951        if self.request_id.is_none() {
1952            self.request_id = ::std::option::Option::Some(::std::vec::Vec::new());
1953        }
1954        self.request_id.as_mut().unwrap()
1955    }
1956
1957    // Take field
1958    pub fn take_request_id(&mut self) -> ::std::vec::Vec<u8> {
1959        self.request_id.take().unwrap_or_else(|| ::std::vec::Vec::new())
1960    }
1961
1962    // optional float interval = 3;
1963
1964    pub fn interval(&self) -> f32 {
1965        self.interval.unwrap_or(0.)
1966    }
1967
1968    pub fn clear_interval(&mut self) {
1969        self.interval = ::std::option::Option::None;
1970    }
1971
1972    pub fn has_interval(&self) -> bool {
1973        self.interval.is_some()
1974    }
1975
1976    // Param is passed by value, moved
1977    pub fn set_interval(&mut self, v: f32) {
1978        self.interval = ::std::option::Option::Some(v);
1979    }
1980
1981    // optional uint64 steamid = 5;
1982
1983    pub fn steamid(&self) -> u64 {
1984        self.steamid.unwrap_or(0)
1985    }
1986
1987    pub fn clear_steamid(&mut self) {
1988        self.steamid = ::std::option::Option::None;
1989    }
1990
1991    pub fn has_steamid(&self) -> bool {
1992        self.steamid.is_some()
1993    }
1994
1995    // Param is passed by value, moved
1996    pub fn set_steamid(&mut self, v: u64) {
1997        self.steamid = ::std::option::Option::Some(v);
1998    }
1999
2000    // optional string weak_token = 6;
2001
2002    pub fn weak_token(&self) -> &str {
2003        match self.weak_token.as_ref() {
2004            Some(v) => v,
2005            None => "",
2006        }
2007    }
2008
2009    pub fn clear_weak_token(&mut self) {
2010        self.weak_token = ::std::option::Option::None;
2011    }
2012
2013    pub fn has_weak_token(&self) -> bool {
2014        self.weak_token.is_some()
2015    }
2016
2017    // Param is passed by value, moved
2018    pub fn set_weak_token(&mut self, v: ::std::string::String) {
2019        self.weak_token = ::std::option::Option::Some(v);
2020    }
2021
2022    // Mutable pointer to the field.
2023    // If field is not initialized, it is initialized with default value first.
2024    pub fn mut_weak_token(&mut self) -> &mut ::std::string::String {
2025        if self.weak_token.is_none() {
2026            self.weak_token = ::std::option::Option::Some(::std::string::String::new());
2027        }
2028        self.weak_token.as_mut().unwrap()
2029    }
2030
2031    // Take field
2032    pub fn take_weak_token(&mut self) -> ::std::string::String {
2033        self.weak_token.take().unwrap_or_else(|| ::std::string::String::new())
2034    }
2035
2036    // optional string agreement_session_url = 7;
2037
2038    pub fn agreement_session_url(&self) -> &str {
2039        match self.agreement_session_url.as_ref() {
2040            Some(v) => v,
2041            None => "",
2042        }
2043    }
2044
2045    pub fn clear_agreement_session_url(&mut self) {
2046        self.agreement_session_url = ::std::option::Option::None;
2047    }
2048
2049    pub fn has_agreement_session_url(&self) -> bool {
2050        self.agreement_session_url.is_some()
2051    }
2052
2053    // Param is passed by value, moved
2054    pub fn set_agreement_session_url(&mut self, v: ::std::string::String) {
2055        self.agreement_session_url = ::std::option::Option::Some(v);
2056    }
2057
2058    // Mutable pointer to the field.
2059    // If field is not initialized, it is initialized with default value first.
2060    pub fn mut_agreement_session_url(&mut self) -> &mut ::std::string::String {
2061        if self.agreement_session_url.is_none() {
2062            self.agreement_session_url = ::std::option::Option::Some(::std::string::String::new());
2063        }
2064        self.agreement_session_url.as_mut().unwrap()
2065    }
2066
2067    // Take field
2068    pub fn take_agreement_session_url(&mut self) -> ::std::string::String {
2069        self.agreement_session_url.take().unwrap_or_else(|| ::std::string::String::new())
2070    }
2071
2072    // optional string extended_error_message = 8;
2073
2074    pub fn extended_error_message(&self) -> &str {
2075        match self.extended_error_message.as_ref() {
2076            Some(v) => v,
2077            None => "",
2078        }
2079    }
2080
2081    pub fn clear_extended_error_message(&mut self) {
2082        self.extended_error_message = ::std::option::Option::None;
2083    }
2084
2085    pub fn has_extended_error_message(&self) -> bool {
2086        self.extended_error_message.is_some()
2087    }
2088
2089    // Param is passed by value, moved
2090    pub fn set_extended_error_message(&mut self, v: ::std::string::String) {
2091        self.extended_error_message = ::std::option::Option::Some(v);
2092    }
2093
2094    // Mutable pointer to the field.
2095    // If field is not initialized, it is initialized with default value first.
2096    pub fn mut_extended_error_message(&mut self) -> &mut ::std::string::String {
2097        if self.extended_error_message.is_none() {
2098            self.extended_error_message = ::std::option::Option::Some(::std::string::String::new());
2099        }
2100        self.extended_error_message.as_mut().unwrap()
2101    }
2102
2103    // Take field
2104    pub fn take_extended_error_message(&mut self) -> ::std::string::String {
2105        self.extended_error_message.take().unwrap_or_else(|| ::std::string::String::new())
2106    }
2107}
2108
2109impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_BeginAuthSessionViaCredentials_Response {
2110    const NAME: &'static str = "CAuthentication_BeginAuthSessionViaCredentials_Response";
2111
2112    fn is_initialized(&self) -> bool {
2113        true
2114    }
2115
2116    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2117        while let Some(tag) = is.read_raw_tag_or_eof()? {
2118            match tag {
2119                8 => {
2120                    self.client_id = ::std::option::Option::Some(is.read_uint64()?);
2121                },
2122                18 => {
2123                    self.request_id = ::std::option::Option::Some(is.read_bytes()?);
2124                },
2125                29 => {
2126                    self.interval = ::std::option::Option::Some(is.read_float()?);
2127                },
2128                34 => {
2129                    self.allowed_confirmations.push(is.read_message()?);
2130                },
2131                40 => {
2132                    self.steamid = ::std::option::Option::Some(is.read_uint64()?);
2133                },
2134                50 => {
2135                    self.weak_token = ::std::option::Option::Some(is.read_string()?);
2136                },
2137                58 => {
2138                    self.agreement_session_url = ::std::option::Option::Some(is.read_string()?);
2139                },
2140                66 => {
2141                    self.extended_error_message = ::std::option::Option::Some(is.read_string()?);
2142                },
2143                tag => {
2144                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2145                },
2146            };
2147        }
2148        ::std::result::Result::Ok(())
2149    }
2150
2151    // Compute sizes of nested messages
2152    #[allow(unused_variables)]
2153    fn compute_size(&self) -> u64 {
2154        let mut my_size = 0;
2155        if let Some(v) = self.client_id {
2156            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
2157        }
2158        if let Some(v) = self.request_id.as_ref() {
2159            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(2, &v);
2160        }
2161        if let Some(v) = self.interval {
2162            my_size += 1 + 4;
2163        }
2164        for value in &self.allowed_confirmations {
2165            let len = value.compute_size();
2166            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
2167        };
2168        if let Some(v) = self.steamid {
2169            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(5, v);
2170        }
2171        if let Some(v) = self.weak_token.as_ref() {
2172            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
2173        }
2174        if let Some(v) = self.agreement_session_url.as_ref() {
2175            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
2176        }
2177        if let Some(v) = self.extended_error_message.as_ref() {
2178            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
2179        }
2180        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2181        self.special_fields.cached_size().set(my_size as u32);
2182        my_size
2183    }
2184
2185    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2186        if let Some(v) = self.client_id {
2187            os.write_uint64(1, v)?;
2188        }
2189        if let Some(v) = self.request_id.as_ref() {
2190            os.write_bytes(2, v)?;
2191        }
2192        if let Some(v) = self.interval {
2193            os.write_float(3, v)?;
2194        }
2195        for v in &self.allowed_confirmations {
2196            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(4, v, os)?;
2197        };
2198        if let Some(v) = self.steamid {
2199            os.write_uint64(5, v)?;
2200        }
2201        if let Some(v) = self.weak_token.as_ref() {
2202            os.write_string(6, v)?;
2203        }
2204        if let Some(v) = self.agreement_session_url.as_ref() {
2205            os.write_string(7, v)?;
2206        }
2207        if let Some(v) = self.extended_error_message.as_ref() {
2208            os.write_string(8, v)?;
2209        }
2210        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2211        ::std::result::Result::Ok(())
2212    }
2213
2214    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2215        &self.special_fields
2216    }
2217
2218    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2219        &mut self.special_fields
2220    }
2221
2222    fn new() -> CAuthentication_BeginAuthSessionViaCredentials_Response {
2223        CAuthentication_BeginAuthSessionViaCredentials_Response::new()
2224    }
2225
2226    fn clear(&mut self) {
2227        self.client_id = ::std::option::Option::None;
2228        self.request_id = ::std::option::Option::None;
2229        self.interval = ::std::option::Option::None;
2230        self.allowed_confirmations.clear();
2231        self.steamid = ::std::option::Option::None;
2232        self.weak_token = ::std::option::Option::None;
2233        self.agreement_session_url = ::std::option::Option::None;
2234        self.extended_error_message = ::std::option::Option::None;
2235        self.special_fields.clear();
2236    }
2237
2238    fn default_instance() -> &'static CAuthentication_BeginAuthSessionViaCredentials_Response {
2239        static instance: CAuthentication_BeginAuthSessionViaCredentials_Response = CAuthentication_BeginAuthSessionViaCredentials_Response {
2240            client_id: ::std::option::Option::None,
2241            request_id: ::std::option::Option::None,
2242            interval: ::std::option::Option::None,
2243            allowed_confirmations: ::std::vec::Vec::new(),
2244            steamid: ::std::option::Option::None,
2245            weak_token: ::std::option::Option::None,
2246            agreement_session_url: ::std::option::Option::None,
2247            extended_error_message: ::std::option::Option::None,
2248            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2249        };
2250        &instance
2251    }
2252}
2253
2254// @@protoc_insertion_point(message:CAuthentication_PollAuthSessionStatus_Request)
2255#[derive(PartialEq,Clone,Default,Debug)]
2256pub struct CAuthentication_PollAuthSessionStatus_Request {
2257    // message fields
2258    // @@protoc_insertion_point(field:CAuthentication_PollAuthSessionStatus_Request.client_id)
2259    pub client_id: ::std::option::Option<u64>,
2260    // @@protoc_insertion_point(field:CAuthentication_PollAuthSessionStatus_Request.request_id)
2261    pub request_id: ::std::option::Option<::std::vec::Vec<u8>>,
2262    // @@protoc_insertion_point(field:CAuthentication_PollAuthSessionStatus_Request.token_to_revoke)
2263    pub token_to_revoke: ::std::option::Option<u64>,
2264    // special fields
2265    // @@protoc_insertion_point(special_field:CAuthentication_PollAuthSessionStatus_Request.special_fields)
2266    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2267}
2268
2269impl<'a> ::std::default::Default for &'a CAuthentication_PollAuthSessionStatus_Request {
2270    fn default() -> &'a CAuthentication_PollAuthSessionStatus_Request {
2271        <CAuthentication_PollAuthSessionStatus_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2272    }
2273}
2274
2275impl CAuthentication_PollAuthSessionStatus_Request {
2276    pub fn new() -> CAuthentication_PollAuthSessionStatus_Request {
2277        ::std::default::Default::default()
2278    }
2279
2280    // optional uint64 client_id = 1;
2281
2282    pub fn client_id(&self) -> u64 {
2283        self.client_id.unwrap_or(0)
2284    }
2285
2286    pub fn clear_client_id(&mut self) {
2287        self.client_id = ::std::option::Option::None;
2288    }
2289
2290    pub fn has_client_id(&self) -> bool {
2291        self.client_id.is_some()
2292    }
2293
2294    // Param is passed by value, moved
2295    pub fn set_client_id(&mut self, v: u64) {
2296        self.client_id = ::std::option::Option::Some(v);
2297    }
2298
2299    // optional bytes request_id = 2;
2300
2301    pub fn request_id(&self) -> &[u8] {
2302        match self.request_id.as_ref() {
2303            Some(v) => v,
2304            None => &[],
2305        }
2306    }
2307
2308    pub fn clear_request_id(&mut self) {
2309        self.request_id = ::std::option::Option::None;
2310    }
2311
2312    pub fn has_request_id(&self) -> bool {
2313        self.request_id.is_some()
2314    }
2315
2316    // Param is passed by value, moved
2317    pub fn set_request_id(&mut self, v: ::std::vec::Vec<u8>) {
2318        self.request_id = ::std::option::Option::Some(v);
2319    }
2320
2321    // Mutable pointer to the field.
2322    // If field is not initialized, it is initialized with default value first.
2323    pub fn mut_request_id(&mut self) -> &mut ::std::vec::Vec<u8> {
2324        if self.request_id.is_none() {
2325            self.request_id = ::std::option::Option::Some(::std::vec::Vec::new());
2326        }
2327        self.request_id.as_mut().unwrap()
2328    }
2329
2330    // Take field
2331    pub fn take_request_id(&mut self) -> ::std::vec::Vec<u8> {
2332        self.request_id.take().unwrap_or_else(|| ::std::vec::Vec::new())
2333    }
2334
2335    // optional fixed64 token_to_revoke = 3;
2336
2337    pub fn token_to_revoke(&self) -> u64 {
2338        self.token_to_revoke.unwrap_or(0)
2339    }
2340
2341    pub fn clear_token_to_revoke(&mut self) {
2342        self.token_to_revoke = ::std::option::Option::None;
2343    }
2344
2345    pub fn has_token_to_revoke(&self) -> bool {
2346        self.token_to_revoke.is_some()
2347    }
2348
2349    // Param is passed by value, moved
2350    pub fn set_token_to_revoke(&mut self, v: u64) {
2351        self.token_to_revoke = ::std::option::Option::Some(v);
2352    }
2353}
2354
2355impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_PollAuthSessionStatus_Request {
2356    const NAME: &'static str = "CAuthentication_PollAuthSessionStatus_Request";
2357
2358    fn is_initialized(&self) -> bool {
2359        true
2360    }
2361
2362    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2363        while let Some(tag) = is.read_raw_tag_or_eof()? {
2364            match tag {
2365                8 => {
2366                    self.client_id = ::std::option::Option::Some(is.read_uint64()?);
2367                },
2368                18 => {
2369                    self.request_id = ::std::option::Option::Some(is.read_bytes()?);
2370                },
2371                25 => {
2372                    self.token_to_revoke = ::std::option::Option::Some(is.read_fixed64()?);
2373                },
2374                tag => {
2375                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2376                },
2377            };
2378        }
2379        ::std::result::Result::Ok(())
2380    }
2381
2382    // Compute sizes of nested messages
2383    #[allow(unused_variables)]
2384    fn compute_size(&self) -> u64 {
2385        let mut my_size = 0;
2386        if let Some(v) = self.client_id {
2387            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
2388        }
2389        if let Some(v) = self.request_id.as_ref() {
2390            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(2, &v);
2391        }
2392        if let Some(v) = self.token_to_revoke {
2393            my_size += 1 + 8;
2394        }
2395        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2396        self.special_fields.cached_size().set(my_size as u32);
2397        my_size
2398    }
2399
2400    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2401        if let Some(v) = self.client_id {
2402            os.write_uint64(1, v)?;
2403        }
2404        if let Some(v) = self.request_id.as_ref() {
2405            os.write_bytes(2, v)?;
2406        }
2407        if let Some(v) = self.token_to_revoke {
2408            os.write_fixed64(3, v)?;
2409        }
2410        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2411        ::std::result::Result::Ok(())
2412    }
2413
2414    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2415        &self.special_fields
2416    }
2417
2418    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2419        &mut self.special_fields
2420    }
2421
2422    fn new() -> CAuthentication_PollAuthSessionStatus_Request {
2423        CAuthentication_PollAuthSessionStatus_Request::new()
2424    }
2425
2426    fn clear(&mut self) {
2427        self.client_id = ::std::option::Option::None;
2428        self.request_id = ::std::option::Option::None;
2429        self.token_to_revoke = ::std::option::Option::None;
2430        self.special_fields.clear();
2431    }
2432
2433    fn default_instance() -> &'static CAuthentication_PollAuthSessionStatus_Request {
2434        static instance: CAuthentication_PollAuthSessionStatus_Request = CAuthentication_PollAuthSessionStatus_Request {
2435            client_id: ::std::option::Option::None,
2436            request_id: ::std::option::Option::None,
2437            token_to_revoke: ::std::option::Option::None,
2438            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2439        };
2440        &instance
2441    }
2442}
2443
2444// @@protoc_insertion_point(message:CAuthentication_PollAuthSessionStatus_Response)
2445#[derive(PartialEq,Clone,Default,Debug)]
2446pub struct CAuthentication_PollAuthSessionStatus_Response {
2447    // message fields
2448    // @@protoc_insertion_point(field:CAuthentication_PollAuthSessionStatus_Response.new_client_id)
2449    pub new_client_id: ::std::option::Option<u64>,
2450    // @@protoc_insertion_point(field:CAuthentication_PollAuthSessionStatus_Response.new_challenge_url)
2451    pub new_challenge_url: ::std::option::Option<::std::string::String>,
2452    // @@protoc_insertion_point(field:CAuthentication_PollAuthSessionStatus_Response.refresh_token)
2453    pub refresh_token: ::std::option::Option<::std::string::String>,
2454    // @@protoc_insertion_point(field:CAuthentication_PollAuthSessionStatus_Response.access_token)
2455    pub access_token: ::std::option::Option<::std::string::String>,
2456    // @@protoc_insertion_point(field:CAuthentication_PollAuthSessionStatus_Response.had_remote_interaction)
2457    pub had_remote_interaction: ::std::option::Option<bool>,
2458    // @@protoc_insertion_point(field:CAuthentication_PollAuthSessionStatus_Response.account_name)
2459    pub account_name: ::std::option::Option<::std::string::String>,
2460    // @@protoc_insertion_point(field:CAuthentication_PollAuthSessionStatus_Response.new_guard_data)
2461    pub new_guard_data: ::std::option::Option<::std::string::String>,
2462    // @@protoc_insertion_point(field:CAuthentication_PollAuthSessionStatus_Response.agreement_session_url)
2463    pub agreement_session_url: ::std::option::Option<::std::string::String>,
2464    // special fields
2465    // @@protoc_insertion_point(special_field:CAuthentication_PollAuthSessionStatus_Response.special_fields)
2466    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2467}
2468
2469impl<'a> ::std::default::Default for &'a CAuthentication_PollAuthSessionStatus_Response {
2470    fn default() -> &'a CAuthentication_PollAuthSessionStatus_Response {
2471        <CAuthentication_PollAuthSessionStatus_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2472    }
2473}
2474
2475impl CAuthentication_PollAuthSessionStatus_Response {
2476    pub fn new() -> CAuthentication_PollAuthSessionStatus_Response {
2477        ::std::default::Default::default()
2478    }
2479
2480    // optional uint64 new_client_id = 1;
2481
2482    pub fn new_client_id(&self) -> u64 {
2483        self.new_client_id.unwrap_or(0)
2484    }
2485
2486    pub fn clear_new_client_id(&mut self) {
2487        self.new_client_id = ::std::option::Option::None;
2488    }
2489
2490    pub fn has_new_client_id(&self) -> bool {
2491        self.new_client_id.is_some()
2492    }
2493
2494    // Param is passed by value, moved
2495    pub fn set_new_client_id(&mut self, v: u64) {
2496        self.new_client_id = ::std::option::Option::Some(v);
2497    }
2498
2499    // optional string new_challenge_url = 2;
2500
2501    pub fn new_challenge_url(&self) -> &str {
2502        match self.new_challenge_url.as_ref() {
2503            Some(v) => v,
2504            None => "",
2505        }
2506    }
2507
2508    pub fn clear_new_challenge_url(&mut self) {
2509        self.new_challenge_url = ::std::option::Option::None;
2510    }
2511
2512    pub fn has_new_challenge_url(&self) -> bool {
2513        self.new_challenge_url.is_some()
2514    }
2515
2516    // Param is passed by value, moved
2517    pub fn set_new_challenge_url(&mut self, v: ::std::string::String) {
2518        self.new_challenge_url = ::std::option::Option::Some(v);
2519    }
2520
2521    // Mutable pointer to the field.
2522    // If field is not initialized, it is initialized with default value first.
2523    pub fn mut_new_challenge_url(&mut self) -> &mut ::std::string::String {
2524        if self.new_challenge_url.is_none() {
2525            self.new_challenge_url = ::std::option::Option::Some(::std::string::String::new());
2526        }
2527        self.new_challenge_url.as_mut().unwrap()
2528    }
2529
2530    // Take field
2531    pub fn take_new_challenge_url(&mut self) -> ::std::string::String {
2532        self.new_challenge_url.take().unwrap_or_else(|| ::std::string::String::new())
2533    }
2534
2535    // optional string refresh_token = 3;
2536
2537    pub fn refresh_token(&self) -> &str {
2538        match self.refresh_token.as_ref() {
2539            Some(v) => v,
2540            None => "",
2541        }
2542    }
2543
2544    pub fn clear_refresh_token(&mut self) {
2545        self.refresh_token = ::std::option::Option::None;
2546    }
2547
2548    pub fn has_refresh_token(&self) -> bool {
2549        self.refresh_token.is_some()
2550    }
2551
2552    // Param is passed by value, moved
2553    pub fn set_refresh_token(&mut self, v: ::std::string::String) {
2554        self.refresh_token = ::std::option::Option::Some(v);
2555    }
2556
2557    // Mutable pointer to the field.
2558    // If field is not initialized, it is initialized with default value first.
2559    pub fn mut_refresh_token(&mut self) -> &mut ::std::string::String {
2560        if self.refresh_token.is_none() {
2561            self.refresh_token = ::std::option::Option::Some(::std::string::String::new());
2562        }
2563        self.refresh_token.as_mut().unwrap()
2564    }
2565
2566    // Take field
2567    pub fn take_refresh_token(&mut self) -> ::std::string::String {
2568        self.refresh_token.take().unwrap_or_else(|| ::std::string::String::new())
2569    }
2570
2571    // optional string access_token = 4;
2572
2573    pub fn access_token(&self) -> &str {
2574        match self.access_token.as_ref() {
2575            Some(v) => v,
2576            None => "",
2577        }
2578    }
2579
2580    pub fn clear_access_token(&mut self) {
2581        self.access_token = ::std::option::Option::None;
2582    }
2583
2584    pub fn has_access_token(&self) -> bool {
2585        self.access_token.is_some()
2586    }
2587
2588    // Param is passed by value, moved
2589    pub fn set_access_token(&mut self, v: ::std::string::String) {
2590        self.access_token = ::std::option::Option::Some(v);
2591    }
2592
2593    // Mutable pointer to the field.
2594    // If field is not initialized, it is initialized with default value first.
2595    pub fn mut_access_token(&mut self) -> &mut ::std::string::String {
2596        if self.access_token.is_none() {
2597            self.access_token = ::std::option::Option::Some(::std::string::String::new());
2598        }
2599        self.access_token.as_mut().unwrap()
2600    }
2601
2602    // Take field
2603    pub fn take_access_token(&mut self) -> ::std::string::String {
2604        self.access_token.take().unwrap_or_else(|| ::std::string::String::new())
2605    }
2606
2607    // optional bool had_remote_interaction = 5;
2608
2609    pub fn had_remote_interaction(&self) -> bool {
2610        self.had_remote_interaction.unwrap_or(false)
2611    }
2612
2613    pub fn clear_had_remote_interaction(&mut self) {
2614        self.had_remote_interaction = ::std::option::Option::None;
2615    }
2616
2617    pub fn has_had_remote_interaction(&self) -> bool {
2618        self.had_remote_interaction.is_some()
2619    }
2620
2621    // Param is passed by value, moved
2622    pub fn set_had_remote_interaction(&mut self, v: bool) {
2623        self.had_remote_interaction = ::std::option::Option::Some(v);
2624    }
2625
2626    // optional string account_name = 6;
2627
2628    pub fn account_name(&self) -> &str {
2629        match self.account_name.as_ref() {
2630            Some(v) => v,
2631            None => "",
2632        }
2633    }
2634
2635    pub fn clear_account_name(&mut self) {
2636        self.account_name = ::std::option::Option::None;
2637    }
2638
2639    pub fn has_account_name(&self) -> bool {
2640        self.account_name.is_some()
2641    }
2642
2643    // Param is passed by value, moved
2644    pub fn set_account_name(&mut self, v: ::std::string::String) {
2645        self.account_name = ::std::option::Option::Some(v);
2646    }
2647
2648    // Mutable pointer to the field.
2649    // If field is not initialized, it is initialized with default value first.
2650    pub fn mut_account_name(&mut self) -> &mut ::std::string::String {
2651        if self.account_name.is_none() {
2652            self.account_name = ::std::option::Option::Some(::std::string::String::new());
2653        }
2654        self.account_name.as_mut().unwrap()
2655    }
2656
2657    // Take field
2658    pub fn take_account_name(&mut self) -> ::std::string::String {
2659        self.account_name.take().unwrap_or_else(|| ::std::string::String::new())
2660    }
2661
2662    // optional string new_guard_data = 7;
2663
2664    pub fn new_guard_data(&self) -> &str {
2665        match self.new_guard_data.as_ref() {
2666            Some(v) => v,
2667            None => "",
2668        }
2669    }
2670
2671    pub fn clear_new_guard_data(&mut self) {
2672        self.new_guard_data = ::std::option::Option::None;
2673    }
2674
2675    pub fn has_new_guard_data(&self) -> bool {
2676        self.new_guard_data.is_some()
2677    }
2678
2679    // Param is passed by value, moved
2680    pub fn set_new_guard_data(&mut self, v: ::std::string::String) {
2681        self.new_guard_data = ::std::option::Option::Some(v);
2682    }
2683
2684    // Mutable pointer to the field.
2685    // If field is not initialized, it is initialized with default value first.
2686    pub fn mut_new_guard_data(&mut self) -> &mut ::std::string::String {
2687        if self.new_guard_data.is_none() {
2688            self.new_guard_data = ::std::option::Option::Some(::std::string::String::new());
2689        }
2690        self.new_guard_data.as_mut().unwrap()
2691    }
2692
2693    // Take field
2694    pub fn take_new_guard_data(&mut self) -> ::std::string::String {
2695        self.new_guard_data.take().unwrap_or_else(|| ::std::string::String::new())
2696    }
2697
2698    // optional string agreement_session_url = 8;
2699
2700    pub fn agreement_session_url(&self) -> &str {
2701        match self.agreement_session_url.as_ref() {
2702            Some(v) => v,
2703            None => "",
2704        }
2705    }
2706
2707    pub fn clear_agreement_session_url(&mut self) {
2708        self.agreement_session_url = ::std::option::Option::None;
2709    }
2710
2711    pub fn has_agreement_session_url(&self) -> bool {
2712        self.agreement_session_url.is_some()
2713    }
2714
2715    // Param is passed by value, moved
2716    pub fn set_agreement_session_url(&mut self, v: ::std::string::String) {
2717        self.agreement_session_url = ::std::option::Option::Some(v);
2718    }
2719
2720    // Mutable pointer to the field.
2721    // If field is not initialized, it is initialized with default value first.
2722    pub fn mut_agreement_session_url(&mut self) -> &mut ::std::string::String {
2723        if self.agreement_session_url.is_none() {
2724            self.agreement_session_url = ::std::option::Option::Some(::std::string::String::new());
2725        }
2726        self.agreement_session_url.as_mut().unwrap()
2727    }
2728
2729    // Take field
2730    pub fn take_agreement_session_url(&mut self) -> ::std::string::String {
2731        self.agreement_session_url.take().unwrap_or_else(|| ::std::string::String::new())
2732    }
2733}
2734
2735impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_PollAuthSessionStatus_Response {
2736    const NAME: &'static str = "CAuthentication_PollAuthSessionStatus_Response";
2737
2738    fn is_initialized(&self) -> bool {
2739        true
2740    }
2741
2742    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2743        while let Some(tag) = is.read_raw_tag_or_eof()? {
2744            match tag {
2745                8 => {
2746                    self.new_client_id = ::std::option::Option::Some(is.read_uint64()?);
2747                },
2748                18 => {
2749                    self.new_challenge_url = ::std::option::Option::Some(is.read_string()?);
2750                },
2751                26 => {
2752                    self.refresh_token = ::std::option::Option::Some(is.read_string()?);
2753                },
2754                34 => {
2755                    self.access_token = ::std::option::Option::Some(is.read_string()?);
2756                },
2757                40 => {
2758                    self.had_remote_interaction = ::std::option::Option::Some(is.read_bool()?);
2759                },
2760                50 => {
2761                    self.account_name = ::std::option::Option::Some(is.read_string()?);
2762                },
2763                58 => {
2764                    self.new_guard_data = ::std::option::Option::Some(is.read_string()?);
2765                },
2766                66 => {
2767                    self.agreement_session_url = ::std::option::Option::Some(is.read_string()?);
2768                },
2769                tag => {
2770                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2771                },
2772            };
2773        }
2774        ::std::result::Result::Ok(())
2775    }
2776
2777    // Compute sizes of nested messages
2778    #[allow(unused_variables)]
2779    fn compute_size(&self) -> u64 {
2780        let mut my_size = 0;
2781        if let Some(v) = self.new_client_id {
2782            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
2783        }
2784        if let Some(v) = self.new_challenge_url.as_ref() {
2785            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
2786        }
2787        if let Some(v) = self.refresh_token.as_ref() {
2788            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
2789        }
2790        if let Some(v) = self.access_token.as_ref() {
2791            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
2792        }
2793        if let Some(v) = self.had_remote_interaction {
2794            my_size += 1 + 1;
2795        }
2796        if let Some(v) = self.account_name.as_ref() {
2797            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
2798        }
2799        if let Some(v) = self.new_guard_data.as_ref() {
2800            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
2801        }
2802        if let Some(v) = self.agreement_session_url.as_ref() {
2803            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
2804        }
2805        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2806        self.special_fields.cached_size().set(my_size as u32);
2807        my_size
2808    }
2809
2810    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2811        if let Some(v) = self.new_client_id {
2812            os.write_uint64(1, v)?;
2813        }
2814        if let Some(v) = self.new_challenge_url.as_ref() {
2815            os.write_string(2, v)?;
2816        }
2817        if let Some(v) = self.refresh_token.as_ref() {
2818            os.write_string(3, v)?;
2819        }
2820        if let Some(v) = self.access_token.as_ref() {
2821            os.write_string(4, v)?;
2822        }
2823        if let Some(v) = self.had_remote_interaction {
2824            os.write_bool(5, v)?;
2825        }
2826        if let Some(v) = self.account_name.as_ref() {
2827            os.write_string(6, v)?;
2828        }
2829        if let Some(v) = self.new_guard_data.as_ref() {
2830            os.write_string(7, v)?;
2831        }
2832        if let Some(v) = self.agreement_session_url.as_ref() {
2833            os.write_string(8, v)?;
2834        }
2835        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2836        ::std::result::Result::Ok(())
2837    }
2838
2839    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2840        &self.special_fields
2841    }
2842
2843    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2844        &mut self.special_fields
2845    }
2846
2847    fn new() -> CAuthentication_PollAuthSessionStatus_Response {
2848        CAuthentication_PollAuthSessionStatus_Response::new()
2849    }
2850
2851    fn clear(&mut self) {
2852        self.new_client_id = ::std::option::Option::None;
2853        self.new_challenge_url = ::std::option::Option::None;
2854        self.refresh_token = ::std::option::Option::None;
2855        self.access_token = ::std::option::Option::None;
2856        self.had_remote_interaction = ::std::option::Option::None;
2857        self.account_name = ::std::option::Option::None;
2858        self.new_guard_data = ::std::option::Option::None;
2859        self.agreement_session_url = ::std::option::Option::None;
2860        self.special_fields.clear();
2861    }
2862
2863    fn default_instance() -> &'static CAuthentication_PollAuthSessionStatus_Response {
2864        static instance: CAuthentication_PollAuthSessionStatus_Response = CAuthentication_PollAuthSessionStatus_Response {
2865            new_client_id: ::std::option::Option::None,
2866            new_challenge_url: ::std::option::Option::None,
2867            refresh_token: ::std::option::Option::None,
2868            access_token: ::std::option::Option::None,
2869            had_remote_interaction: ::std::option::Option::None,
2870            account_name: ::std::option::Option::None,
2871            new_guard_data: ::std::option::Option::None,
2872            agreement_session_url: ::std::option::Option::None,
2873            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2874        };
2875        &instance
2876    }
2877}
2878
2879// @@protoc_insertion_point(message:CAuthentication_GetAuthSessionInfo_Request)
2880#[derive(PartialEq,Clone,Default,Debug)]
2881pub struct CAuthentication_GetAuthSessionInfo_Request {
2882    // message fields
2883    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionInfo_Request.client_id)
2884    pub client_id: ::std::option::Option<u64>,
2885    // special fields
2886    // @@protoc_insertion_point(special_field:CAuthentication_GetAuthSessionInfo_Request.special_fields)
2887    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2888}
2889
2890impl<'a> ::std::default::Default for &'a CAuthentication_GetAuthSessionInfo_Request {
2891    fn default() -> &'a CAuthentication_GetAuthSessionInfo_Request {
2892        <CAuthentication_GetAuthSessionInfo_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2893    }
2894}
2895
2896impl CAuthentication_GetAuthSessionInfo_Request {
2897    pub fn new() -> CAuthentication_GetAuthSessionInfo_Request {
2898        ::std::default::Default::default()
2899    }
2900
2901    // optional uint64 client_id = 1;
2902
2903    pub fn client_id(&self) -> u64 {
2904        self.client_id.unwrap_or(0)
2905    }
2906
2907    pub fn clear_client_id(&mut self) {
2908        self.client_id = ::std::option::Option::None;
2909    }
2910
2911    pub fn has_client_id(&self) -> bool {
2912        self.client_id.is_some()
2913    }
2914
2915    // Param is passed by value, moved
2916    pub fn set_client_id(&mut self, v: u64) {
2917        self.client_id = ::std::option::Option::Some(v);
2918    }
2919}
2920
2921impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_GetAuthSessionInfo_Request {
2922    const NAME: &'static str = "CAuthentication_GetAuthSessionInfo_Request";
2923
2924    fn is_initialized(&self) -> bool {
2925        true
2926    }
2927
2928    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2929        while let Some(tag) = is.read_raw_tag_or_eof()? {
2930            match tag {
2931                8 => {
2932                    self.client_id = ::std::option::Option::Some(is.read_uint64()?);
2933                },
2934                tag => {
2935                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2936                },
2937            };
2938        }
2939        ::std::result::Result::Ok(())
2940    }
2941
2942    // Compute sizes of nested messages
2943    #[allow(unused_variables)]
2944    fn compute_size(&self) -> u64 {
2945        let mut my_size = 0;
2946        if let Some(v) = self.client_id {
2947            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
2948        }
2949        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2950        self.special_fields.cached_size().set(my_size as u32);
2951        my_size
2952    }
2953
2954    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2955        if let Some(v) = self.client_id {
2956            os.write_uint64(1, v)?;
2957        }
2958        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2959        ::std::result::Result::Ok(())
2960    }
2961
2962    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2963        &self.special_fields
2964    }
2965
2966    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2967        &mut self.special_fields
2968    }
2969
2970    fn new() -> CAuthentication_GetAuthSessionInfo_Request {
2971        CAuthentication_GetAuthSessionInfo_Request::new()
2972    }
2973
2974    fn clear(&mut self) {
2975        self.client_id = ::std::option::Option::None;
2976        self.special_fields.clear();
2977    }
2978
2979    fn default_instance() -> &'static CAuthentication_GetAuthSessionInfo_Request {
2980        static instance: CAuthentication_GetAuthSessionInfo_Request = CAuthentication_GetAuthSessionInfo_Request {
2981            client_id: ::std::option::Option::None,
2982            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2983        };
2984        &instance
2985    }
2986}
2987
2988// @@protoc_insertion_point(message:CAuthentication_GetAuthSessionInfo_Response)
2989#[derive(PartialEq,Clone,Default,Debug)]
2990pub struct CAuthentication_GetAuthSessionInfo_Response {
2991    // message fields
2992    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionInfo_Response.ip)
2993    pub ip: ::std::option::Option<::std::string::String>,
2994    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionInfo_Response.geoloc)
2995    pub geoloc: ::std::option::Option<::std::string::String>,
2996    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionInfo_Response.city)
2997    pub city: ::std::option::Option<::std::string::String>,
2998    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionInfo_Response.state)
2999    pub state: ::std::option::Option<::std::string::String>,
3000    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionInfo_Response.country)
3001    pub country: ::std::option::Option<::std::string::String>,
3002    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionInfo_Response.platform_type)
3003    pub platform_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAuthTokenPlatformType>>,
3004    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionInfo_Response.device_friendly_name)
3005    pub device_friendly_name: ::std::option::Option<::std::string::String>,
3006    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionInfo_Response.version)
3007    pub version: ::std::option::Option<i32>,
3008    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionInfo_Response.login_history)
3009    pub login_history: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAuthSessionSecurityHistory>>,
3010    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionInfo_Response.requestor_location_mismatch)
3011    pub requestor_location_mismatch: ::std::option::Option<bool>,
3012    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionInfo_Response.high_usage_login)
3013    pub high_usage_login: ::std::option::Option<bool>,
3014    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionInfo_Response.requested_persistence)
3015    pub requested_persistence: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::enums::ESessionPersistence>>,
3016    // special fields
3017    // @@protoc_insertion_point(special_field:CAuthentication_GetAuthSessionInfo_Response.special_fields)
3018    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
3019}
3020
3021impl<'a> ::std::default::Default for &'a CAuthentication_GetAuthSessionInfo_Response {
3022    fn default() -> &'a CAuthentication_GetAuthSessionInfo_Response {
3023        <CAuthentication_GetAuthSessionInfo_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
3024    }
3025}
3026
3027impl CAuthentication_GetAuthSessionInfo_Response {
3028    pub fn new() -> CAuthentication_GetAuthSessionInfo_Response {
3029        ::std::default::Default::default()
3030    }
3031
3032    // optional string ip = 1;
3033
3034    pub fn ip(&self) -> &str {
3035        match self.ip.as_ref() {
3036            Some(v) => v,
3037            None => "",
3038        }
3039    }
3040
3041    pub fn clear_ip(&mut self) {
3042        self.ip = ::std::option::Option::None;
3043    }
3044
3045    pub fn has_ip(&self) -> bool {
3046        self.ip.is_some()
3047    }
3048
3049    // Param is passed by value, moved
3050    pub fn set_ip(&mut self, v: ::std::string::String) {
3051        self.ip = ::std::option::Option::Some(v);
3052    }
3053
3054    // Mutable pointer to the field.
3055    // If field is not initialized, it is initialized with default value first.
3056    pub fn mut_ip(&mut self) -> &mut ::std::string::String {
3057        if self.ip.is_none() {
3058            self.ip = ::std::option::Option::Some(::std::string::String::new());
3059        }
3060        self.ip.as_mut().unwrap()
3061    }
3062
3063    // Take field
3064    pub fn take_ip(&mut self) -> ::std::string::String {
3065        self.ip.take().unwrap_or_else(|| ::std::string::String::new())
3066    }
3067
3068    // optional string geoloc = 2;
3069
3070    pub fn geoloc(&self) -> &str {
3071        match self.geoloc.as_ref() {
3072            Some(v) => v,
3073            None => "",
3074        }
3075    }
3076
3077    pub fn clear_geoloc(&mut self) {
3078        self.geoloc = ::std::option::Option::None;
3079    }
3080
3081    pub fn has_geoloc(&self) -> bool {
3082        self.geoloc.is_some()
3083    }
3084
3085    // Param is passed by value, moved
3086    pub fn set_geoloc(&mut self, v: ::std::string::String) {
3087        self.geoloc = ::std::option::Option::Some(v);
3088    }
3089
3090    // Mutable pointer to the field.
3091    // If field is not initialized, it is initialized with default value first.
3092    pub fn mut_geoloc(&mut self) -> &mut ::std::string::String {
3093        if self.geoloc.is_none() {
3094            self.geoloc = ::std::option::Option::Some(::std::string::String::new());
3095        }
3096        self.geoloc.as_mut().unwrap()
3097    }
3098
3099    // Take field
3100    pub fn take_geoloc(&mut self) -> ::std::string::String {
3101        self.geoloc.take().unwrap_or_else(|| ::std::string::String::new())
3102    }
3103
3104    // optional string city = 3;
3105
3106    pub fn city(&self) -> &str {
3107        match self.city.as_ref() {
3108            Some(v) => v,
3109            None => "",
3110        }
3111    }
3112
3113    pub fn clear_city(&mut self) {
3114        self.city = ::std::option::Option::None;
3115    }
3116
3117    pub fn has_city(&self) -> bool {
3118        self.city.is_some()
3119    }
3120
3121    // Param is passed by value, moved
3122    pub fn set_city(&mut self, v: ::std::string::String) {
3123        self.city = ::std::option::Option::Some(v);
3124    }
3125
3126    // Mutable pointer to the field.
3127    // If field is not initialized, it is initialized with default value first.
3128    pub fn mut_city(&mut self) -> &mut ::std::string::String {
3129        if self.city.is_none() {
3130            self.city = ::std::option::Option::Some(::std::string::String::new());
3131        }
3132        self.city.as_mut().unwrap()
3133    }
3134
3135    // Take field
3136    pub fn take_city(&mut self) -> ::std::string::String {
3137        self.city.take().unwrap_or_else(|| ::std::string::String::new())
3138    }
3139
3140    // optional string state = 4;
3141
3142    pub fn state(&self) -> &str {
3143        match self.state.as_ref() {
3144            Some(v) => v,
3145            None => "",
3146        }
3147    }
3148
3149    pub fn clear_state(&mut self) {
3150        self.state = ::std::option::Option::None;
3151    }
3152
3153    pub fn has_state(&self) -> bool {
3154        self.state.is_some()
3155    }
3156
3157    // Param is passed by value, moved
3158    pub fn set_state(&mut self, v: ::std::string::String) {
3159        self.state = ::std::option::Option::Some(v);
3160    }
3161
3162    // Mutable pointer to the field.
3163    // If field is not initialized, it is initialized with default value first.
3164    pub fn mut_state(&mut self) -> &mut ::std::string::String {
3165        if self.state.is_none() {
3166            self.state = ::std::option::Option::Some(::std::string::String::new());
3167        }
3168        self.state.as_mut().unwrap()
3169    }
3170
3171    // Take field
3172    pub fn take_state(&mut self) -> ::std::string::String {
3173        self.state.take().unwrap_or_else(|| ::std::string::String::new())
3174    }
3175
3176    // optional string country = 5;
3177
3178    pub fn country(&self) -> &str {
3179        match self.country.as_ref() {
3180            Some(v) => v,
3181            None => "",
3182        }
3183    }
3184
3185    pub fn clear_country(&mut self) {
3186        self.country = ::std::option::Option::None;
3187    }
3188
3189    pub fn has_country(&self) -> bool {
3190        self.country.is_some()
3191    }
3192
3193    // Param is passed by value, moved
3194    pub fn set_country(&mut self, v: ::std::string::String) {
3195        self.country = ::std::option::Option::Some(v);
3196    }
3197
3198    // Mutable pointer to the field.
3199    // If field is not initialized, it is initialized with default value first.
3200    pub fn mut_country(&mut self) -> &mut ::std::string::String {
3201        if self.country.is_none() {
3202            self.country = ::std::option::Option::Some(::std::string::String::new());
3203        }
3204        self.country.as_mut().unwrap()
3205    }
3206
3207    // Take field
3208    pub fn take_country(&mut self) -> ::std::string::String {
3209        self.country.take().unwrap_or_else(|| ::std::string::String::new())
3210    }
3211
3212    // optional .EAuthTokenPlatformType platform_type = 6;
3213
3214    pub fn platform_type(&self) -> EAuthTokenPlatformType {
3215        match self.platform_type {
3216            Some(e) => e.enum_value_or(EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown),
3217            None => EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown,
3218        }
3219    }
3220
3221    pub fn clear_platform_type(&mut self) {
3222        self.platform_type = ::std::option::Option::None;
3223    }
3224
3225    pub fn has_platform_type(&self) -> bool {
3226        self.platform_type.is_some()
3227    }
3228
3229    // Param is passed by value, moved
3230    pub fn set_platform_type(&mut self, v: EAuthTokenPlatformType) {
3231        self.platform_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
3232    }
3233
3234    // optional string device_friendly_name = 7;
3235
3236    pub fn device_friendly_name(&self) -> &str {
3237        match self.device_friendly_name.as_ref() {
3238            Some(v) => v,
3239            None => "",
3240        }
3241    }
3242
3243    pub fn clear_device_friendly_name(&mut self) {
3244        self.device_friendly_name = ::std::option::Option::None;
3245    }
3246
3247    pub fn has_device_friendly_name(&self) -> bool {
3248        self.device_friendly_name.is_some()
3249    }
3250
3251    // Param is passed by value, moved
3252    pub fn set_device_friendly_name(&mut self, v: ::std::string::String) {
3253        self.device_friendly_name = ::std::option::Option::Some(v);
3254    }
3255
3256    // Mutable pointer to the field.
3257    // If field is not initialized, it is initialized with default value first.
3258    pub fn mut_device_friendly_name(&mut self) -> &mut ::std::string::String {
3259        if self.device_friendly_name.is_none() {
3260            self.device_friendly_name = ::std::option::Option::Some(::std::string::String::new());
3261        }
3262        self.device_friendly_name.as_mut().unwrap()
3263    }
3264
3265    // Take field
3266    pub fn take_device_friendly_name(&mut self) -> ::std::string::String {
3267        self.device_friendly_name.take().unwrap_or_else(|| ::std::string::String::new())
3268    }
3269
3270    // optional int32 version = 8;
3271
3272    pub fn version(&self) -> i32 {
3273        self.version.unwrap_or(0)
3274    }
3275
3276    pub fn clear_version(&mut self) {
3277        self.version = ::std::option::Option::None;
3278    }
3279
3280    pub fn has_version(&self) -> bool {
3281        self.version.is_some()
3282    }
3283
3284    // Param is passed by value, moved
3285    pub fn set_version(&mut self, v: i32) {
3286        self.version = ::std::option::Option::Some(v);
3287    }
3288
3289    // optional .EAuthSessionSecurityHistory login_history = 9;
3290
3291    pub fn login_history(&self) -> EAuthSessionSecurityHistory {
3292        match self.login_history {
3293            Some(e) => e.enum_value_or(EAuthSessionSecurityHistory::k_EAuthSessionSecurityHistory_Invalid),
3294            None => EAuthSessionSecurityHistory::k_EAuthSessionSecurityHistory_Invalid,
3295        }
3296    }
3297
3298    pub fn clear_login_history(&mut self) {
3299        self.login_history = ::std::option::Option::None;
3300    }
3301
3302    pub fn has_login_history(&self) -> bool {
3303        self.login_history.is_some()
3304    }
3305
3306    // Param is passed by value, moved
3307    pub fn set_login_history(&mut self, v: EAuthSessionSecurityHistory) {
3308        self.login_history = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
3309    }
3310
3311    // optional bool requestor_location_mismatch = 10;
3312
3313    pub fn requestor_location_mismatch(&self) -> bool {
3314        self.requestor_location_mismatch.unwrap_or(false)
3315    }
3316
3317    pub fn clear_requestor_location_mismatch(&mut self) {
3318        self.requestor_location_mismatch = ::std::option::Option::None;
3319    }
3320
3321    pub fn has_requestor_location_mismatch(&self) -> bool {
3322        self.requestor_location_mismatch.is_some()
3323    }
3324
3325    // Param is passed by value, moved
3326    pub fn set_requestor_location_mismatch(&mut self, v: bool) {
3327        self.requestor_location_mismatch = ::std::option::Option::Some(v);
3328    }
3329
3330    // optional bool high_usage_login = 11;
3331
3332    pub fn high_usage_login(&self) -> bool {
3333        self.high_usage_login.unwrap_or(false)
3334    }
3335
3336    pub fn clear_high_usage_login(&mut self) {
3337        self.high_usage_login = ::std::option::Option::None;
3338    }
3339
3340    pub fn has_high_usage_login(&self) -> bool {
3341        self.high_usage_login.is_some()
3342    }
3343
3344    // Param is passed by value, moved
3345    pub fn set_high_usage_login(&mut self, v: bool) {
3346        self.high_usage_login = ::std::option::Option::Some(v);
3347    }
3348
3349    // optional .ESessionPersistence requested_persistence = 12;
3350
3351    pub fn requested_persistence(&self) -> super::enums::ESessionPersistence {
3352        match self.requested_persistence {
3353            Some(e) => e.enum_value_or(super::enums::ESessionPersistence::k_ESessionPersistence_Invalid),
3354            None => super::enums::ESessionPersistence::k_ESessionPersistence_Invalid,
3355        }
3356    }
3357
3358    pub fn clear_requested_persistence(&mut self) {
3359        self.requested_persistence = ::std::option::Option::None;
3360    }
3361
3362    pub fn has_requested_persistence(&self) -> bool {
3363        self.requested_persistence.is_some()
3364    }
3365
3366    // Param is passed by value, moved
3367    pub fn set_requested_persistence(&mut self, v: super::enums::ESessionPersistence) {
3368        self.requested_persistence = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
3369    }
3370}
3371
3372impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_GetAuthSessionInfo_Response {
3373    const NAME: &'static str = "CAuthentication_GetAuthSessionInfo_Response";
3374
3375    fn is_initialized(&self) -> bool {
3376        true
3377    }
3378
3379    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3380        while let Some(tag) = is.read_raw_tag_or_eof()? {
3381            match tag {
3382                10 => {
3383                    self.ip = ::std::option::Option::Some(is.read_string()?);
3384                },
3385                18 => {
3386                    self.geoloc = ::std::option::Option::Some(is.read_string()?);
3387                },
3388                26 => {
3389                    self.city = ::std::option::Option::Some(is.read_string()?);
3390                },
3391                34 => {
3392                    self.state = ::std::option::Option::Some(is.read_string()?);
3393                },
3394                42 => {
3395                    self.country = ::std::option::Option::Some(is.read_string()?);
3396                },
3397                48 => {
3398                    self.platform_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
3399                },
3400                58 => {
3401                    self.device_friendly_name = ::std::option::Option::Some(is.read_string()?);
3402                },
3403                64 => {
3404                    self.version = ::std::option::Option::Some(is.read_int32()?);
3405                },
3406                72 => {
3407                    self.login_history = ::std::option::Option::Some(is.read_enum_or_unknown()?);
3408                },
3409                80 => {
3410                    self.requestor_location_mismatch = ::std::option::Option::Some(is.read_bool()?);
3411                },
3412                88 => {
3413                    self.high_usage_login = ::std::option::Option::Some(is.read_bool()?);
3414                },
3415                96 => {
3416                    self.requested_persistence = ::std::option::Option::Some(is.read_enum_or_unknown()?);
3417                },
3418                tag => {
3419                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
3420                },
3421            };
3422        }
3423        ::std::result::Result::Ok(())
3424    }
3425
3426    // Compute sizes of nested messages
3427    #[allow(unused_variables)]
3428    fn compute_size(&self) -> u64 {
3429        let mut my_size = 0;
3430        if let Some(v) = self.ip.as_ref() {
3431            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
3432        }
3433        if let Some(v) = self.geoloc.as_ref() {
3434            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
3435        }
3436        if let Some(v) = self.city.as_ref() {
3437            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
3438        }
3439        if let Some(v) = self.state.as_ref() {
3440            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
3441        }
3442        if let Some(v) = self.country.as_ref() {
3443            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
3444        }
3445        if let Some(v) = self.platform_type {
3446            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v.value());
3447        }
3448        if let Some(v) = self.device_friendly_name.as_ref() {
3449            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
3450        }
3451        if let Some(v) = self.version {
3452            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(8, v);
3453        }
3454        if let Some(v) = self.login_history {
3455            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(9, v.value());
3456        }
3457        if let Some(v) = self.requestor_location_mismatch {
3458            my_size += 1 + 1;
3459        }
3460        if let Some(v) = self.high_usage_login {
3461            my_size += 1 + 1;
3462        }
3463        if let Some(v) = self.requested_persistence {
3464            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(12, v.value());
3465        }
3466        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
3467        self.special_fields.cached_size().set(my_size as u32);
3468        my_size
3469    }
3470
3471    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3472        if let Some(v) = self.ip.as_ref() {
3473            os.write_string(1, v)?;
3474        }
3475        if let Some(v) = self.geoloc.as_ref() {
3476            os.write_string(2, v)?;
3477        }
3478        if let Some(v) = self.city.as_ref() {
3479            os.write_string(3, v)?;
3480        }
3481        if let Some(v) = self.state.as_ref() {
3482            os.write_string(4, v)?;
3483        }
3484        if let Some(v) = self.country.as_ref() {
3485            os.write_string(5, v)?;
3486        }
3487        if let Some(v) = self.platform_type {
3488            os.write_enum(6, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
3489        }
3490        if let Some(v) = self.device_friendly_name.as_ref() {
3491            os.write_string(7, v)?;
3492        }
3493        if let Some(v) = self.version {
3494            os.write_int32(8, v)?;
3495        }
3496        if let Some(v) = self.login_history {
3497            os.write_enum(9, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
3498        }
3499        if let Some(v) = self.requestor_location_mismatch {
3500            os.write_bool(10, v)?;
3501        }
3502        if let Some(v) = self.high_usage_login {
3503            os.write_bool(11, v)?;
3504        }
3505        if let Some(v) = self.requested_persistence {
3506            os.write_enum(12, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
3507        }
3508        os.write_unknown_fields(self.special_fields.unknown_fields())?;
3509        ::std::result::Result::Ok(())
3510    }
3511
3512    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
3513        &self.special_fields
3514    }
3515
3516    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
3517        &mut self.special_fields
3518    }
3519
3520    fn new() -> CAuthentication_GetAuthSessionInfo_Response {
3521        CAuthentication_GetAuthSessionInfo_Response::new()
3522    }
3523
3524    fn clear(&mut self) {
3525        self.ip = ::std::option::Option::None;
3526        self.geoloc = ::std::option::Option::None;
3527        self.city = ::std::option::Option::None;
3528        self.state = ::std::option::Option::None;
3529        self.country = ::std::option::Option::None;
3530        self.platform_type = ::std::option::Option::None;
3531        self.device_friendly_name = ::std::option::Option::None;
3532        self.version = ::std::option::Option::None;
3533        self.login_history = ::std::option::Option::None;
3534        self.requestor_location_mismatch = ::std::option::Option::None;
3535        self.high_usage_login = ::std::option::Option::None;
3536        self.requested_persistence = ::std::option::Option::None;
3537        self.special_fields.clear();
3538    }
3539
3540    fn default_instance() -> &'static CAuthentication_GetAuthSessionInfo_Response {
3541        static instance: CAuthentication_GetAuthSessionInfo_Response = CAuthentication_GetAuthSessionInfo_Response {
3542            ip: ::std::option::Option::None,
3543            geoloc: ::std::option::Option::None,
3544            city: ::std::option::Option::None,
3545            state: ::std::option::Option::None,
3546            country: ::std::option::Option::None,
3547            platform_type: ::std::option::Option::None,
3548            device_friendly_name: ::std::option::Option::None,
3549            version: ::std::option::Option::None,
3550            login_history: ::std::option::Option::None,
3551            requestor_location_mismatch: ::std::option::Option::None,
3552            high_usage_login: ::std::option::Option::None,
3553            requested_persistence: ::std::option::Option::None,
3554            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
3555        };
3556        &instance
3557    }
3558}
3559
3560// @@protoc_insertion_point(message:CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request)
3561#[derive(PartialEq,Clone,Default,Debug)]
3562pub struct CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
3563    // message fields
3564    // @@protoc_insertion_point(field:CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request.version)
3565    pub version: ::std::option::Option<i32>,
3566    // @@protoc_insertion_point(field:CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request.client_id)
3567    pub client_id: ::std::option::Option<u64>,
3568    // @@protoc_insertion_point(field:CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request.steamid)
3569    pub steamid: ::std::option::Option<u64>,
3570    // @@protoc_insertion_point(field:CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request.signature)
3571    pub signature: ::std::option::Option<::std::vec::Vec<u8>>,
3572    // @@protoc_insertion_point(field:CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request.confirm)
3573    pub confirm: ::std::option::Option<bool>,
3574    // @@protoc_insertion_point(field:CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request.persistence)
3575    pub persistence: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::enums::ESessionPersistence>>,
3576    // special fields
3577    // @@protoc_insertion_point(special_field:CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request.special_fields)
3578    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
3579}
3580
3581impl<'a> ::std::default::Default for &'a CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
3582    fn default() -> &'a CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
3583        <CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
3584    }
3585}
3586
3587impl CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
3588    pub fn new() -> CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
3589        ::std::default::Default::default()
3590    }
3591
3592    // optional int32 version = 1;
3593
3594    pub fn version(&self) -> i32 {
3595        self.version.unwrap_or(0)
3596    }
3597
3598    pub fn clear_version(&mut self) {
3599        self.version = ::std::option::Option::None;
3600    }
3601
3602    pub fn has_version(&self) -> bool {
3603        self.version.is_some()
3604    }
3605
3606    // Param is passed by value, moved
3607    pub fn set_version(&mut self, v: i32) {
3608        self.version = ::std::option::Option::Some(v);
3609    }
3610
3611    // optional uint64 client_id = 2;
3612
3613    pub fn client_id(&self) -> u64 {
3614        self.client_id.unwrap_or(0)
3615    }
3616
3617    pub fn clear_client_id(&mut self) {
3618        self.client_id = ::std::option::Option::None;
3619    }
3620
3621    pub fn has_client_id(&self) -> bool {
3622        self.client_id.is_some()
3623    }
3624
3625    // Param is passed by value, moved
3626    pub fn set_client_id(&mut self, v: u64) {
3627        self.client_id = ::std::option::Option::Some(v);
3628    }
3629
3630    // optional fixed64 steamid = 3;
3631
3632    pub fn steamid(&self) -> u64 {
3633        self.steamid.unwrap_or(0)
3634    }
3635
3636    pub fn clear_steamid(&mut self) {
3637        self.steamid = ::std::option::Option::None;
3638    }
3639
3640    pub fn has_steamid(&self) -> bool {
3641        self.steamid.is_some()
3642    }
3643
3644    // Param is passed by value, moved
3645    pub fn set_steamid(&mut self, v: u64) {
3646        self.steamid = ::std::option::Option::Some(v);
3647    }
3648
3649    // optional bytes signature = 4;
3650
3651    pub fn signature(&self) -> &[u8] {
3652        match self.signature.as_ref() {
3653            Some(v) => v,
3654            None => &[],
3655        }
3656    }
3657
3658    pub fn clear_signature(&mut self) {
3659        self.signature = ::std::option::Option::None;
3660    }
3661
3662    pub fn has_signature(&self) -> bool {
3663        self.signature.is_some()
3664    }
3665
3666    // Param is passed by value, moved
3667    pub fn set_signature(&mut self, v: ::std::vec::Vec<u8>) {
3668        self.signature = ::std::option::Option::Some(v);
3669    }
3670
3671    // Mutable pointer to the field.
3672    // If field is not initialized, it is initialized with default value first.
3673    pub fn mut_signature(&mut self) -> &mut ::std::vec::Vec<u8> {
3674        if self.signature.is_none() {
3675            self.signature = ::std::option::Option::Some(::std::vec::Vec::new());
3676        }
3677        self.signature.as_mut().unwrap()
3678    }
3679
3680    // Take field
3681    pub fn take_signature(&mut self) -> ::std::vec::Vec<u8> {
3682        self.signature.take().unwrap_or_else(|| ::std::vec::Vec::new())
3683    }
3684
3685    // optional bool confirm = 5;
3686
3687    pub fn confirm(&self) -> bool {
3688        self.confirm.unwrap_or(false)
3689    }
3690
3691    pub fn clear_confirm(&mut self) {
3692        self.confirm = ::std::option::Option::None;
3693    }
3694
3695    pub fn has_confirm(&self) -> bool {
3696        self.confirm.is_some()
3697    }
3698
3699    // Param is passed by value, moved
3700    pub fn set_confirm(&mut self, v: bool) {
3701        self.confirm = ::std::option::Option::Some(v);
3702    }
3703
3704    // optional .ESessionPersistence persistence = 6;
3705
3706    pub fn persistence(&self) -> super::enums::ESessionPersistence {
3707        match self.persistence {
3708            Some(e) => e.enum_value_or(super::enums::ESessionPersistence::k_ESessionPersistence_Persistent),
3709            None => super::enums::ESessionPersistence::k_ESessionPersistence_Persistent,
3710        }
3711    }
3712
3713    pub fn clear_persistence(&mut self) {
3714        self.persistence = ::std::option::Option::None;
3715    }
3716
3717    pub fn has_persistence(&self) -> bool {
3718        self.persistence.is_some()
3719    }
3720
3721    // Param is passed by value, moved
3722    pub fn set_persistence(&mut self, v: super::enums::ESessionPersistence) {
3723        self.persistence = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
3724    }
3725}
3726
3727impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
3728    const NAME: &'static str = "CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request";
3729
3730    fn is_initialized(&self) -> bool {
3731        true
3732    }
3733
3734    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3735        while let Some(tag) = is.read_raw_tag_or_eof()? {
3736            match tag {
3737                8 => {
3738                    self.version = ::std::option::Option::Some(is.read_int32()?);
3739                },
3740                16 => {
3741                    self.client_id = ::std::option::Option::Some(is.read_uint64()?);
3742                },
3743                25 => {
3744                    self.steamid = ::std::option::Option::Some(is.read_fixed64()?);
3745                },
3746                34 => {
3747                    self.signature = ::std::option::Option::Some(is.read_bytes()?);
3748                },
3749                40 => {
3750                    self.confirm = ::std::option::Option::Some(is.read_bool()?);
3751                },
3752                48 => {
3753                    self.persistence = ::std::option::Option::Some(is.read_enum_or_unknown()?);
3754                },
3755                tag => {
3756                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
3757                },
3758            };
3759        }
3760        ::std::result::Result::Ok(())
3761    }
3762
3763    // Compute sizes of nested messages
3764    #[allow(unused_variables)]
3765    fn compute_size(&self) -> u64 {
3766        let mut my_size = 0;
3767        if let Some(v) = self.version {
3768            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
3769        }
3770        if let Some(v) = self.client_id {
3771            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
3772        }
3773        if let Some(v) = self.steamid {
3774            my_size += 1 + 8;
3775        }
3776        if let Some(v) = self.signature.as_ref() {
3777            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(4, &v);
3778        }
3779        if let Some(v) = self.confirm {
3780            my_size += 1 + 1;
3781        }
3782        if let Some(v) = self.persistence {
3783            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v.value());
3784        }
3785        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
3786        self.special_fields.cached_size().set(my_size as u32);
3787        my_size
3788    }
3789
3790    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3791        if let Some(v) = self.version {
3792            os.write_int32(1, v)?;
3793        }
3794        if let Some(v) = self.client_id {
3795            os.write_uint64(2, v)?;
3796        }
3797        if let Some(v) = self.steamid {
3798            os.write_fixed64(3, v)?;
3799        }
3800        if let Some(v) = self.signature.as_ref() {
3801            os.write_bytes(4, v)?;
3802        }
3803        if let Some(v) = self.confirm {
3804            os.write_bool(5, v)?;
3805        }
3806        if let Some(v) = self.persistence {
3807            os.write_enum(6, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
3808        }
3809        os.write_unknown_fields(self.special_fields.unknown_fields())?;
3810        ::std::result::Result::Ok(())
3811    }
3812
3813    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
3814        &self.special_fields
3815    }
3816
3817    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
3818        &mut self.special_fields
3819    }
3820
3821    fn new() -> CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
3822        CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request::new()
3823    }
3824
3825    fn clear(&mut self) {
3826        self.version = ::std::option::Option::None;
3827        self.client_id = ::std::option::Option::None;
3828        self.steamid = ::std::option::Option::None;
3829        self.signature = ::std::option::Option::None;
3830        self.confirm = ::std::option::Option::None;
3831        self.persistence = ::std::option::Option::None;
3832        self.special_fields.clear();
3833    }
3834
3835    fn default_instance() -> &'static CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
3836        static instance: CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request = CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
3837            version: ::std::option::Option::None,
3838            client_id: ::std::option::Option::None,
3839            steamid: ::std::option::Option::None,
3840            signature: ::std::option::Option::None,
3841            confirm: ::std::option::Option::None,
3842            persistence: ::std::option::Option::None,
3843            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
3844        };
3845        &instance
3846    }
3847}
3848
3849// @@protoc_insertion_point(message:CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response)
3850#[derive(PartialEq,Clone,Default,Debug)]
3851pub struct CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response {
3852    // special fields
3853    // @@protoc_insertion_point(special_field:CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response.special_fields)
3854    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
3855}
3856
3857impl<'a> ::std::default::Default for &'a CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response {
3858    fn default() -> &'a CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response {
3859        <CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
3860    }
3861}
3862
3863impl CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response {
3864    pub fn new() -> CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response {
3865        ::std::default::Default::default()
3866    }
3867}
3868
3869impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response {
3870    const NAME: &'static str = "CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response";
3871
3872    fn is_initialized(&self) -> bool {
3873        true
3874    }
3875
3876    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3877        while let Some(tag) = is.read_raw_tag_or_eof()? {
3878            match tag {
3879                tag => {
3880                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
3881                },
3882            };
3883        }
3884        ::std::result::Result::Ok(())
3885    }
3886
3887    // Compute sizes of nested messages
3888    #[allow(unused_variables)]
3889    fn compute_size(&self) -> u64 {
3890        let mut my_size = 0;
3891        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
3892        self.special_fields.cached_size().set(my_size as u32);
3893        my_size
3894    }
3895
3896    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3897        os.write_unknown_fields(self.special_fields.unknown_fields())?;
3898        ::std::result::Result::Ok(())
3899    }
3900
3901    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
3902        &self.special_fields
3903    }
3904
3905    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
3906        &mut self.special_fields
3907    }
3908
3909    fn new() -> CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response {
3910        CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response::new()
3911    }
3912
3913    fn clear(&mut self) {
3914        self.special_fields.clear();
3915    }
3916
3917    fn default_instance() -> &'static CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response {
3918        static instance: CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response = CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response {
3919            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
3920        };
3921        &instance
3922    }
3923}
3924
3925// @@protoc_insertion_point(message:CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request)
3926#[derive(PartialEq,Clone,Default,Debug)]
3927pub struct CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
3928    // message fields
3929    // @@protoc_insertion_point(field:CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request.client_id)
3930    pub client_id: ::std::option::Option<u64>,
3931    // @@protoc_insertion_point(field:CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request.steamid)
3932    pub steamid: ::std::option::Option<u64>,
3933    // @@protoc_insertion_point(field:CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request.code)
3934    pub code: ::std::option::Option<::std::string::String>,
3935    // @@protoc_insertion_point(field:CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request.code_type)
3936    pub code_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAuthSessionGuardType>>,
3937    // special fields
3938    // @@protoc_insertion_point(special_field:CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request.special_fields)
3939    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
3940}
3941
3942impl<'a> ::std::default::Default for &'a CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
3943    fn default() -> &'a CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
3944        <CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
3945    }
3946}
3947
3948impl CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
3949    pub fn new() -> CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
3950        ::std::default::Default::default()
3951    }
3952
3953    // optional uint64 client_id = 1;
3954
3955    pub fn client_id(&self) -> u64 {
3956        self.client_id.unwrap_or(0)
3957    }
3958
3959    pub fn clear_client_id(&mut self) {
3960        self.client_id = ::std::option::Option::None;
3961    }
3962
3963    pub fn has_client_id(&self) -> bool {
3964        self.client_id.is_some()
3965    }
3966
3967    // Param is passed by value, moved
3968    pub fn set_client_id(&mut self, v: u64) {
3969        self.client_id = ::std::option::Option::Some(v);
3970    }
3971
3972    // optional fixed64 steamid = 2;
3973
3974    pub fn steamid(&self) -> u64 {
3975        self.steamid.unwrap_or(0)
3976    }
3977
3978    pub fn clear_steamid(&mut self) {
3979        self.steamid = ::std::option::Option::None;
3980    }
3981
3982    pub fn has_steamid(&self) -> bool {
3983        self.steamid.is_some()
3984    }
3985
3986    // Param is passed by value, moved
3987    pub fn set_steamid(&mut self, v: u64) {
3988        self.steamid = ::std::option::Option::Some(v);
3989    }
3990
3991    // optional string code = 3;
3992
3993    pub fn code(&self) -> &str {
3994        match self.code.as_ref() {
3995            Some(v) => v,
3996            None => "",
3997        }
3998    }
3999
4000    pub fn clear_code(&mut self) {
4001        self.code = ::std::option::Option::None;
4002    }
4003
4004    pub fn has_code(&self) -> bool {
4005        self.code.is_some()
4006    }
4007
4008    // Param is passed by value, moved
4009    pub fn set_code(&mut self, v: ::std::string::String) {
4010        self.code = ::std::option::Option::Some(v);
4011    }
4012
4013    // Mutable pointer to the field.
4014    // If field is not initialized, it is initialized with default value first.
4015    pub fn mut_code(&mut self) -> &mut ::std::string::String {
4016        if self.code.is_none() {
4017            self.code = ::std::option::Option::Some(::std::string::String::new());
4018        }
4019        self.code.as_mut().unwrap()
4020    }
4021
4022    // Take field
4023    pub fn take_code(&mut self) -> ::std::string::String {
4024        self.code.take().unwrap_or_else(|| ::std::string::String::new())
4025    }
4026
4027    // optional .EAuthSessionGuardType code_type = 4;
4028
4029    pub fn code_type(&self) -> EAuthSessionGuardType {
4030        match self.code_type {
4031            Some(e) => e.enum_value_or(EAuthSessionGuardType::k_EAuthSessionGuardType_Unknown),
4032            None => EAuthSessionGuardType::k_EAuthSessionGuardType_Unknown,
4033        }
4034    }
4035
4036    pub fn clear_code_type(&mut self) {
4037        self.code_type = ::std::option::Option::None;
4038    }
4039
4040    pub fn has_code_type(&self) -> bool {
4041        self.code_type.is_some()
4042    }
4043
4044    // Param is passed by value, moved
4045    pub fn set_code_type(&mut self, v: EAuthSessionGuardType) {
4046        self.code_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
4047    }
4048}
4049
4050impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
4051    const NAME: &'static str = "CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request";
4052
4053    fn is_initialized(&self) -> bool {
4054        true
4055    }
4056
4057    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4058        while let Some(tag) = is.read_raw_tag_or_eof()? {
4059            match tag {
4060                8 => {
4061                    self.client_id = ::std::option::Option::Some(is.read_uint64()?);
4062                },
4063                17 => {
4064                    self.steamid = ::std::option::Option::Some(is.read_fixed64()?);
4065                },
4066                26 => {
4067                    self.code = ::std::option::Option::Some(is.read_string()?);
4068                },
4069                32 => {
4070                    self.code_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
4071                },
4072                tag => {
4073                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4074                },
4075            };
4076        }
4077        ::std::result::Result::Ok(())
4078    }
4079
4080    // Compute sizes of nested messages
4081    #[allow(unused_variables)]
4082    fn compute_size(&self) -> u64 {
4083        let mut my_size = 0;
4084        if let Some(v) = self.client_id {
4085            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
4086        }
4087        if let Some(v) = self.steamid {
4088            my_size += 1 + 8;
4089        }
4090        if let Some(v) = self.code.as_ref() {
4091            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
4092        }
4093        if let Some(v) = self.code_type {
4094            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v.value());
4095        }
4096        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4097        self.special_fields.cached_size().set(my_size as u32);
4098        my_size
4099    }
4100
4101    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4102        if let Some(v) = self.client_id {
4103            os.write_uint64(1, v)?;
4104        }
4105        if let Some(v) = self.steamid {
4106            os.write_fixed64(2, v)?;
4107        }
4108        if let Some(v) = self.code.as_ref() {
4109            os.write_string(3, v)?;
4110        }
4111        if let Some(v) = self.code_type {
4112            os.write_enum(4, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
4113        }
4114        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4115        ::std::result::Result::Ok(())
4116    }
4117
4118    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4119        &self.special_fields
4120    }
4121
4122    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4123        &mut self.special_fields
4124    }
4125
4126    fn new() -> CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
4127        CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request::new()
4128    }
4129
4130    fn clear(&mut self) {
4131        self.client_id = ::std::option::Option::None;
4132        self.steamid = ::std::option::Option::None;
4133        self.code = ::std::option::Option::None;
4134        self.code_type = ::std::option::Option::None;
4135        self.special_fields.clear();
4136    }
4137
4138    fn default_instance() -> &'static CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
4139        static instance: CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request = CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
4140            client_id: ::std::option::Option::None,
4141            steamid: ::std::option::Option::None,
4142            code: ::std::option::Option::None,
4143            code_type: ::std::option::Option::None,
4144            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4145        };
4146        &instance
4147    }
4148}
4149
4150// @@protoc_insertion_point(message:CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response)
4151#[derive(PartialEq,Clone,Default,Debug)]
4152pub struct CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response {
4153    // message fields
4154    // @@protoc_insertion_point(field:CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response.agreement_session_url)
4155    pub agreement_session_url: ::std::option::Option<::std::string::String>,
4156    // special fields
4157    // @@protoc_insertion_point(special_field:CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response.special_fields)
4158    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4159}
4160
4161impl<'a> ::std::default::Default for &'a CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response {
4162    fn default() -> &'a CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response {
4163        <CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4164    }
4165}
4166
4167impl CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response {
4168    pub fn new() -> CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response {
4169        ::std::default::Default::default()
4170    }
4171
4172    // optional string agreement_session_url = 7;
4173
4174    pub fn agreement_session_url(&self) -> &str {
4175        match self.agreement_session_url.as_ref() {
4176            Some(v) => v,
4177            None => "",
4178        }
4179    }
4180
4181    pub fn clear_agreement_session_url(&mut self) {
4182        self.agreement_session_url = ::std::option::Option::None;
4183    }
4184
4185    pub fn has_agreement_session_url(&self) -> bool {
4186        self.agreement_session_url.is_some()
4187    }
4188
4189    // Param is passed by value, moved
4190    pub fn set_agreement_session_url(&mut self, v: ::std::string::String) {
4191        self.agreement_session_url = ::std::option::Option::Some(v);
4192    }
4193
4194    // Mutable pointer to the field.
4195    // If field is not initialized, it is initialized with default value first.
4196    pub fn mut_agreement_session_url(&mut self) -> &mut ::std::string::String {
4197        if self.agreement_session_url.is_none() {
4198            self.agreement_session_url = ::std::option::Option::Some(::std::string::String::new());
4199        }
4200        self.agreement_session_url.as_mut().unwrap()
4201    }
4202
4203    // Take field
4204    pub fn take_agreement_session_url(&mut self) -> ::std::string::String {
4205        self.agreement_session_url.take().unwrap_or_else(|| ::std::string::String::new())
4206    }
4207}
4208
4209impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response {
4210    const NAME: &'static str = "CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response";
4211
4212    fn is_initialized(&self) -> bool {
4213        true
4214    }
4215
4216    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4217        while let Some(tag) = is.read_raw_tag_or_eof()? {
4218            match tag {
4219                58 => {
4220                    self.agreement_session_url = ::std::option::Option::Some(is.read_string()?);
4221                },
4222                tag => {
4223                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4224                },
4225            };
4226        }
4227        ::std::result::Result::Ok(())
4228    }
4229
4230    // Compute sizes of nested messages
4231    #[allow(unused_variables)]
4232    fn compute_size(&self) -> u64 {
4233        let mut my_size = 0;
4234        if let Some(v) = self.agreement_session_url.as_ref() {
4235            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
4236        }
4237        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4238        self.special_fields.cached_size().set(my_size as u32);
4239        my_size
4240    }
4241
4242    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4243        if let Some(v) = self.agreement_session_url.as_ref() {
4244            os.write_string(7, v)?;
4245        }
4246        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4247        ::std::result::Result::Ok(())
4248    }
4249
4250    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4251        &self.special_fields
4252    }
4253
4254    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4255        &mut self.special_fields
4256    }
4257
4258    fn new() -> CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response {
4259        CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response::new()
4260    }
4261
4262    fn clear(&mut self) {
4263        self.agreement_session_url = ::std::option::Option::None;
4264        self.special_fields.clear();
4265    }
4266
4267    fn default_instance() -> &'static CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response {
4268        static instance: CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response = CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response {
4269            agreement_session_url: ::std::option::Option::None,
4270            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4271        };
4272        &instance
4273    }
4274}
4275
4276// @@protoc_insertion_point(message:CAuthentication_AccessToken_GenerateForApp_Request)
4277#[derive(PartialEq,Clone,Default,Debug)]
4278pub struct CAuthentication_AccessToken_GenerateForApp_Request {
4279    // message fields
4280    // @@protoc_insertion_point(field:CAuthentication_AccessToken_GenerateForApp_Request.refresh_token)
4281    pub refresh_token: ::std::option::Option<::std::string::String>,
4282    // @@protoc_insertion_point(field:CAuthentication_AccessToken_GenerateForApp_Request.steamid)
4283    pub steamid: ::std::option::Option<u64>,
4284    // @@protoc_insertion_point(field:CAuthentication_AccessToken_GenerateForApp_Request.renewal_type)
4285    pub renewal_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<ETokenRenewalType>>,
4286    // special fields
4287    // @@protoc_insertion_point(special_field:CAuthentication_AccessToken_GenerateForApp_Request.special_fields)
4288    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4289}
4290
4291impl<'a> ::std::default::Default for &'a CAuthentication_AccessToken_GenerateForApp_Request {
4292    fn default() -> &'a CAuthentication_AccessToken_GenerateForApp_Request {
4293        <CAuthentication_AccessToken_GenerateForApp_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4294    }
4295}
4296
4297impl CAuthentication_AccessToken_GenerateForApp_Request {
4298    pub fn new() -> CAuthentication_AccessToken_GenerateForApp_Request {
4299        ::std::default::Default::default()
4300    }
4301
4302    // optional string refresh_token = 1;
4303
4304    pub fn refresh_token(&self) -> &str {
4305        match self.refresh_token.as_ref() {
4306            Some(v) => v,
4307            None => "",
4308        }
4309    }
4310
4311    pub fn clear_refresh_token(&mut self) {
4312        self.refresh_token = ::std::option::Option::None;
4313    }
4314
4315    pub fn has_refresh_token(&self) -> bool {
4316        self.refresh_token.is_some()
4317    }
4318
4319    // Param is passed by value, moved
4320    pub fn set_refresh_token(&mut self, v: ::std::string::String) {
4321        self.refresh_token = ::std::option::Option::Some(v);
4322    }
4323
4324    // Mutable pointer to the field.
4325    // If field is not initialized, it is initialized with default value first.
4326    pub fn mut_refresh_token(&mut self) -> &mut ::std::string::String {
4327        if self.refresh_token.is_none() {
4328            self.refresh_token = ::std::option::Option::Some(::std::string::String::new());
4329        }
4330        self.refresh_token.as_mut().unwrap()
4331    }
4332
4333    // Take field
4334    pub fn take_refresh_token(&mut self) -> ::std::string::String {
4335        self.refresh_token.take().unwrap_or_else(|| ::std::string::String::new())
4336    }
4337
4338    // optional fixed64 steamid = 2;
4339
4340    pub fn steamid(&self) -> u64 {
4341        self.steamid.unwrap_or(0)
4342    }
4343
4344    pub fn clear_steamid(&mut self) {
4345        self.steamid = ::std::option::Option::None;
4346    }
4347
4348    pub fn has_steamid(&self) -> bool {
4349        self.steamid.is_some()
4350    }
4351
4352    // Param is passed by value, moved
4353    pub fn set_steamid(&mut self, v: u64) {
4354        self.steamid = ::std::option::Option::Some(v);
4355    }
4356
4357    // optional .ETokenRenewalType renewal_type = 3;
4358
4359    pub fn renewal_type(&self) -> ETokenRenewalType {
4360        match self.renewal_type {
4361            Some(e) => e.enum_value_or(ETokenRenewalType::k_ETokenRenewalType_None),
4362            None => ETokenRenewalType::k_ETokenRenewalType_None,
4363        }
4364    }
4365
4366    pub fn clear_renewal_type(&mut self) {
4367        self.renewal_type = ::std::option::Option::None;
4368    }
4369
4370    pub fn has_renewal_type(&self) -> bool {
4371        self.renewal_type.is_some()
4372    }
4373
4374    // Param is passed by value, moved
4375    pub fn set_renewal_type(&mut self, v: ETokenRenewalType) {
4376        self.renewal_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
4377    }
4378}
4379
4380impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_AccessToken_GenerateForApp_Request {
4381    const NAME: &'static str = "CAuthentication_AccessToken_GenerateForApp_Request";
4382
4383    fn is_initialized(&self) -> bool {
4384        true
4385    }
4386
4387    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4388        while let Some(tag) = is.read_raw_tag_or_eof()? {
4389            match tag {
4390                10 => {
4391                    self.refresh_token = ::std::option::Option::Some(is.read_string()?);
4392                },
4393                17 => {
4394                    self.steamid = ::std::option::Option::Some(is.read_fixed64()?);
4395                },
4396                24 => {
4397                    self.renewal_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
4398                },
4399                tag => {
4400                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4401                },
4402            };
4403        }
4404        ::std::result::Result::Ok(())
4405    }
4406
4407    // Compute sizes of nested messages
4408    #[allow(unused_variables)]
4409    fn compute_size(&self) -> u64 {
4410        let mut my_size = 0;
4411        if let Some(v) = self.refresh_token.as_ref() {
4412            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
4413        }
4414        if let Some(v) = self.steamid {
4415            my_size += 1 + 8;
4416        }
4417        if let Some(v) = self.renewal_type {
4418            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v.value());
4419        }
4420        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4421        self.special_fields.cached_size().set(my_size as u32);
4422        my_size
4423    }
4424
4425    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4426        if let Some(v) = self.refresh_token.as_ref() {
4427            os.write_string(1, v)?;
4428        }
4429        if let Some(v) = self.steamid {
4430            os.write_fixed64(2, v)?;
4431        }
4432        if let Some(v) = self.renewal_type {
4433            os.write_enum(3, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
4434        }
4435        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4436        ::std::result::Result::Ok(())
4437    }
4438
4439    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4440        &self.special_fields
4441    }
4442
4443    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4444        &mut self.special_fields
4445    }
4446
4447    fn new() -> CAuthentication_AccessToken_GenerateForApp_Request {
4448        CAuthentication_AccessToken_GenerateForApp_Request::new()
4449    }
4450
4451    fn clear(&mut self) {
4452        self.refresh_token = ::std::option::Option::None;
4453        self.steamid = ::std::option::Option::None;
4454        self.renewal_type = ::std::option::Option::None;
4455        self.special_fields.clear();
4456    }
4457
4458    fn default_instance() -> &'static CAuthentication_AccessToken_GenerateForApp_Request {
4459        static instance: CAuthentication_AccessToken_GenerateForApp_Request = CAuthentication_AccessToken_GenerateForApp_Request {
4460            refresh_token: ::std::option::Option::None,
4461            steamid: ::std::option::Option::None,
4462            renewal_type: ::std::option::Option::None,
4463            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4464        };
4465        &instance
4466    }
4467}
4468
4469// @@protoc_insertion_point(message:CAuthentication_AccessToken_GenerateForApp_Response)
4470#[derive(PartialEq,Clone,Default,Debug)]
4471pub struct CAuthentication_AccessToken_GenerateForApp_Response {
4472    // message fields
4473    // @@protoc_insertion_point(field:CAuthentication_AccessToken_GenerateForApp_Response.access_token)
4474    pub access_token: ::std::option::Option<::std::string::String>,
4475    // @@protoc_insertion_point(field:CAuthentication_AccessToken_GenerateForApp_Response.refresh_token)
4476    pub refresh_token: ::std::option::Option<::std::string::String>,
4477    // special fields
4478    // @@protoc_insertion_point(special_field:CAuthentication_AccessToken_GenerateForApp_Response.special_fields)
4479    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4480}
4481
4482impl<'a> ::std::default::Default for &'a CAuthentication_AccessToken_GenerateForApp_Response {
4483    fn default() -> &'a CAuthentication_AccessToken_GenerateForApp_Response {
4484        <CAuthentication_AccessToken_GenerateForApp_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4485    }
4486}
4487
4488impl CAuthentication_AccessToken_GenerateForApp_Response {
4489    pub fn new() -> CAuthentication_AccessToken_GenerateForApp_Response {
4490        ::std::default::Default::default()
4491    }
4492
4493    // optional string access_token = 1;
4494
4495    pub fn access_token(&self) -> &str {
4496        match self.access_token.as_ref() {
4497            Some(v) => v,
4498            None => "",
4499        }
4500    }
4501
4502    pub fn clear_access_token(&mut self) {
4503        self.access_token = ::std::option::Option::None;
4504    }
4505
4506    pub fn has_access_token(&self) -> bool {
4507        self.access_token.is_some()
4508    }
4509
4510    // Param is passed by value, moved
4511    pub fn set_access_token(&mut self, v: ::std::string::String) {
4512        self.access_token = ::std::option::Option::Some(v);
4513    }
4514
4515    // Mutable pointer to the field.
4516    // If field is not initialized, it is initialized with default value first.
4517    pub fn mut_access_token(&mut self) -> &mut ::std::string::String {
4518        if self.access_token.is_none() {
4519            self.access_token = ::std::option::Option::Some(::std::string::String::new());
4520        }
4521        self.access_token.as_mut().unwrap()
4522    }
4523
4524    // Take field
4525    pub fn take_access_token(&mut self) -> ::std::string::String {
4526        self.access_token.take().unwrap_or_else(|| ::std::string::String::new())
4527    }
4528
4529    // optional string refresh_token = 2;
4530
4531    pub fn refresh_token(&self) -> &str {
4532        match self.refresh_token.as_ref() {
4533            Some(v) => v,
4534            None => "",
4535        }
4536    }
4537
4538    pub fn clear_refresh_token(&mut self) {
4539        self.refresh_token = ::std::option::Option::None;
4540    }
4541
4542    pub fn has_refresh_token(&self) -> bool {
4543        self.refresh_token.is_some()
4544    }
4545
4546    // Param is passed by value, moved
4547    pub fn set_refresh_token(&mut self, v: ::std::string::String) {
4548        self.refresh_token = ::std::option::Option::Some(v);
4549    }
4550
4551    // Mutable pointer to the field.
4552    // If field is not initialized, it is initialized with default value first.
4553    pub fn mut_refresh_token(&mut self) -> &mut ::std::string::String {
4554        if self.refresh_token.is_none() {
4555            self.refresh_token = ::std::option::Option::Some(::std::string::String::new());
4556        }
4557        self.refresh_token.as_mut().unwrap()
4558    }
4559
4560    // Take field
4561    pub fn take_refresh_token(&mut self) -> ::std::string::String {
4562        self.refresh_token.take().unwrap_or_else(|| ::std::string::String::new())
4563    }
4564}
4565
4566impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_AccessToken_GenerateForApp_Response {
4567    const NAME: &'static str = "CAuthentication_AccessToken_GenerateForApp_Response";
4568
4569    fn is_initialized(&self) -> bool {
4570        true
4571    }
4572
4573    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4574        while let Some(tag) = is.read_raw_tag_or_eof()? {
4575            match tag {
4576                10 => {
4577                    self.access_token = ::std::option::Option::Some(is.read_string()?);
4578                },
4579                18 => {
4580                    self.refresh_token = ::std::option::Option::Some(is.read_string()?);
4581                },
4582                tag => {
4583                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4584                },
4585            };
4586        }
4587        ::std::result::Result::Ok(())
4588    }
4589
4590    // Compute sizes of nested messages
4591    #[allow(unused_variables)]
4592    fn compute_size(&self) -> u64 {
4593        let mut my_size = 0;
4594        if let Some(v) = self.access_token.as_ref() {
4595            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
4596        }
4597        if let Some(v) = self.refresh_token.as_ref() {
4598            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
4599        }
4600        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4601        self.special_fields.cached_size().set(my_size as u32);
4602        my_size
4603    }
4604
4605    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4606        if let Some(v) = self.access_token.as_ref() {
4607            os.write_string(1, v)?;
4608        }
4609        if let Some(v) = self.refresh_token.as_ref() {
4610            os.write_string(2, v)?;
4611        }
4612        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4613        ::std::result::Result::Ok(())
4614    }
4615
4616    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4617        &self.special_fields
4618    }
4619
4620    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4621        &mut self.special_fields
4622    }
4623
4624    fn new() -> CAuthentication_AccessToken_GenerateForApp_Response {
4625        CAuthentication_AccessToken_GenerateForApp_Response::new()
4626    }
4627
4628    fn clear(&mut self) {
4629        self.access_token = ::std::option::Option::None;
4630        self.refresh_token = ::std::option::Option::None;
4631        self.special_fields.clear();
4632    }
4633
4634    fn default_instance() -> &'static CAuthentication_AccessToken_GenerateForApp_Response {
4635        static instance: CAuthentication_AccessToken_GenerateForApp_Response = CAuthentication_AccessToken_GenerateForApp_Response {
4636            access_token: ::std::option::Option::None,
4637            refresh_token: ::std::option::Option::None,
4638            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4639        };
4640        &instance
4641    }
4642}
4643
4644// @@protoc_insertion_point(message:CAuthentication_RefreshToken_Enumerate_Request)
4645#[derive(PartialEq,Clone,Default,Debug)]
4646pub struct CAuthentication_RefreshToken_Enumerate_Request {
4647    // special fields
4648    // @@protoc_insertion_point(special_field:CAuthentication_RefreshToken_Enumerate_Request.special_fields)
4649    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4650}
4651
4652impl<'a> ::std::default::Default for &'a CAuthentication_RefreshToken_Enumerate_Request {
4653    fn default() -> &'a CAuthentication_RefreshToken_Enumerate_Request {
4654        <CAuthentication_RefreshToken_Enumerate_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4655    }
4656}
4657
4658impl CAuthentication_RefreshToken_Enumerate_Request {
4659    pub fn new() -> CAuthentication_RefreshToken_Enumerate_Request {
4660        ::std::default::Default::default()
4661    }
4662}
4663
4664impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_RefreshToken_Enumerate_Request {
4665    const NAME: &'static str = "CAuthentication_RefreshToken_Enumerate_Request";
4666
4667    fn is_initialized(&self) -> bool {
4668        true
4669    }
4670
4671    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4672        while let Some(tag) = is.read_raw_tag_or_eof()? {
4673            match tag {
4674                tag => {
4675                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4676                },
4677            };
4678        }
4679        ::std::result::Result::Ok(())
4680    }
4681
4682    // Compute sizes of nested messages
4683    #[allow(unused_variables)]
4684    fn compute_size(&self) -> u64 {
4685        let mut my_size = 0;
4686        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4687        self.special_fields.cached_size().set(my_size as u32);
4688        my_size
4689    }
4690
4691    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4692        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4693        ::std::result::Result::Ok(())
4694    }
4695
4696    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4697        &self.special_fields
4698    }
4699
4700    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4701        &mut self.special_fields
4702    }
4703
4704    fn new() -> CAuthentication_RefreshToken_Enumerate_Request {
4705        CAuthentication_RefreshToken_Enumerate_Request::new()
4706    }
4707
4708    fn clear(&mut self) {
4709        self.special_fields.clear();
4710    }
4711
4712    fn default_instance() -> &'static CAuthentication_RefreshToken_Enumerate_Request {
4713        static instance: CAuthentication_RefreshToken_Enumerate_Request = CAuthentication_RefreshToken_Enumerate_Request {
4714            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4715        };
4716        &instance
4717    }
4718}
4719
4720// @@protoc_insertion_point(message:CAuthentication_RefreshToken_Enumerate_Response)
4721#[derive(PartialEq,Clone,Default,Debug)]
4722pub struct CAuthentication_RefreshToken_Enumerate_Response {
4723    // message fields
4724    // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.refresh_tokens)
4725    pub refresh_tokens: ::std::vec::Vec<cauthentication_refresh_token_enumerate_response::RefreshTokenDescription>,
4726    // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.requesting_token)
4727    pub requesting_token: ::std::option::Option<u64>,
4728    // special fields
4729    // @@protoc_insertion_point(special_field:CAuthentication_RefreshToken_Enumerate_Response.special_fields)
4730    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4731}
4732
4733impl<'a> ::std::default::Default for &'a CAuthentication_RefreshToken_Enumerate_Response {
4734    fn default() -> &'a CAuthentication_RefreshToken_Enumerate_Response {
4735        <CAuthentication_RefreshToken_Enumerate_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4736    }
4737}
4738
4739impl CAuthentication_RefreshToken_Enumerate_Response {
4740    pub fn new() -> CAuthentication_RefreshToken_Enumerate_Response {
4741        ::std::default::Default::default()
4742    }
4743
4744    // optional fixed64 requesting_token = 2;
4745
4746    pub fn requesting_token(&self) -> u64 {
4747        self.requesting_token.unwrap_or(0)
4748    }
4749
4750    pub fn clear_requesting_token(&mut self) {
4751        self.requesting_token = ::std::option::Option::None;
4752    }
4753
4754    pub fn has_requesting_token(&self) -> bool {
4755        self.requesting_token.is_some()
4756    }
4757
4758    // Param is passed by value, moved
4759    pub fn set_requesting_token(&mut self, v: u64) {
4760        self.requesting_token = ::std::option::Option::Some(v);
4761    }
4762}
4763
4764impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_RefreshToken_Enumerate_Response {
4765    const NAME: &'static str = "CAuthentication_RefreshToken_Enumerate_Response";
4766
4767    fn is_initialized(&self) -> bool {
4768        true
4769    }
4770
4771    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4772        while let Some(tag) = is.read_raw_tag_or_eof()? {
4773            match tag {
4774                10 => {
4775                    self.refresh_tokens.push(is.read_message()?);
4776                },
4777                17 => {
4778                    self.requesting_token = ::std::option::Option::Some(is.read_fixed64()?);
4779                },
4780                tag => {
4781                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
4782                },
4783            };
4784        }
4785        ::std::result::Result::Ok(())
4786    }
4787
4788    // Compute sizes of nested messages
4789    #[allow(unused_variables)]
4790    fn compute_size(&self) -> u64 {
4791        let mut my_size = 0;
4792        for value in &self.refresh_tokens {
4793            let len = value.compute_size();
4794            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
4795        };
4796        if let Some(v) = self.requesting_token {
4797            my_size += 1 + 8;
4798        }
4799        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
4800        self.special_fields.cached_size().set(my_size as u32);
4801        my_size
4802    }
4803
4804    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4805        for v in &self.refresh_tokens {
4806            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
4807        };
4808        if let Some(v) = self.requesting_token {
4809            os.write_fixed64(2, v)?;
4810        }
4811        os.write_unknown_fields(self.special_fields.unknown_fields())?;
4812        ::std::result::Result::Ok(())
4813    }
4814
4815    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
4816        &self.special_fields
4817    }
4818
4819    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
4820        &mut self.special_fields
4821    }
4822
4823    fn new() -> CAuthentication_RefreshToken_Enumerate_Response {
4824        CAuthentication_RefreshToken_Enumerate_Response::new()
4825    }
4826
4827    fn clear(&mut self) {
4828        self.refresh_tokens.clear();
4829        self.requesting_token = ::std::option::Option::None;
4830        self.special_fields.clear();
4831    }
4832
4833    fn default_instance() -> &'static CAuthentication_RefreshToken_Enumerate_Response {
4834        static instance: CAuthentication_RefreshToken_Enumerate_Response = CAuthentication_RefreshToken_Enumerate_Response {
4835            refresh_tokens: ::std::vec::Vec::new(),
4836            requesting_token: ::std::option::Option::None,
4837            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
4838        };
4839        &instance
4840    }
4841}
4842
4843/// Nested message and enums of message `CAuthentication_RefreshToken_Enumerate_Response`
4844pub mod cauthentication_refresh_token_enumerate_response {
4845    // @@protoc_insertion_point(message:CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent)
4846    #[derive(PartialEq,Clone,Default,Debug)]
4847    pub struct TokenUsageEvent {
4848        // message fields
4849        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent.time)
4850        pub time: ::std::option::Option<u32>,
4851        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent.ip)
4852        pub ip: ::steam_vent_proto_common::protobuf::MessageField<super::super::steammessages_base::CMsgIPAddress>,
4853        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent.locale)
4854        pub locale: ::std::option::Option<::std::string::String>,
4855        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent.country)
4856        pub country: ::std::option::Option<::std::string::String>,
4857        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent.state)
4858        pub state: ::std::option::Option<::std::string::String>,
4859        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent.city)
4860        pub city: ::std::option::Option<::std::string::String>,
4861        // special fields
4862        // @@protoc_insertion_point(special_field:CAuthentication_RefreshToken_Enumerate_Response.TokenUsageEvent.special_fields)
4863        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
4864    }
4865
4866    impl<'a> ::std::default::Default for &'a TokenUsageEvent {
4867        fn default() -> &'a TokenUsageEvent {
4868            <TokenUsageEvent as ::steam_vent_proto_common::protobuf::Message>::default_instance()
4869        }
4870    }
4871
4872    impl TokenUsageEvent {
4873        pub fn new() -> TokenUsageEvent {
4874            ::std::default::Default::default()
4875        }
4876
4877        // optional uint32 time = 1;
4878
4879        pub fn time(&self) -> u32 {
4880            self.time.unwrap_or(0)
4881        }
4882
4883        pub fn clear_time(&mut self) {
4884            self.time = ::std::option::Option::None;
4885        }
4886
4887        pub fn has_time(&self) -> bool {
4888            self.time.is_some()
4889        }
4890
4891        // Param is passed by value, moved
4892        pub fn set_time(&mut self, v: u32) {
4893            self.time = ::std::option::Option::Some(v);
4894        }
4895
4896        // optional string locale = 3;
4897
4898        pub fn locale(&self) -> &str {
4899            match self.locale.as_ref() {
4900                Some(v) => v,
4901                None => "",
4902            }
4903        }
4904
4905        pub fn clear_locale(&mut self) {
4906            self.locale = ::std::option::Option::None;
4907        }
4908
4909        pub fn has_locale(&self) -> bool {
4910            self.locale.is_some()
4911        }
4912
4913        // Param is passed by value, moved
4914        pub fn set_locale(&mut self, v: ::std::string::String) {
4915            self.locale = ::std::option::Option::Some(v);
4916        }
4917
4918        // Mutable pointer to the field.
4919        // If field is not initialized, it is initialized with default value first.
4920        pub fn mut_locale(&mut self) -> &mut ::std::string::String {
4921            if self.locale.is_none() {
4922                self.locale = ::std::option::Option::Some(::std::string::String::new());
4923            }
4924            self.locale.as_mut().unwrap()
4925        }
4926
4927        // Take field
4928        pub fn take_locale(&mut self) -> ::std::string::String {
4929            self.locale.take().unwrap_or_else(|| ::std::string::String::new())
4930        }
4931
4932        // optional string country = 4;
4933
4934        pub fn country(&self) -> &str {
4935            match self.country.as_ref() {
4936                Some(v) => v,
4937                None => "",
4938            }
4939        }
4940
4941        pub fn clear_country(&mut self) {
4942            self.country = ::std::option::Option::None;
4943        }
4944
4945        pub fn has_country(&self) -> bool {
4946            self.country.is_some()
4947        }
4948
4949        // Param is passed by value, moved
4950        pub fn set_country(&mut self, v: ::std::string::String) {
4951            self.country = ::std::option::Option::Some(v);
4952        }
4953
4954        // Mutable pointer to the field.
4955        // If field is not initialized, it is initialized with default value first.
4956        pub fn mut_country(&mut self) -> &mut ::std::string::String {
4957            if self.country.is_none() {
4958                self.country = ::std::option::Option::Some(::std::string::String::new());
4959            }
4960            self.country.as_mut().unwrap()
4961        }
4962
4963        // Take field
4964        pub fn take_country(&mut self) -> ::std::string::String {
4965            self.country.take().unwrap_or_else(|| ::std::string::String::new())
4966        }
4967
4968        // optional string state = 5;
4969
4970        pub fn state(&self) -> &str {
4971            match self.state.as_ref() {
4972                Some(v) => v,
4973                None => "",
4974            }
4975        }
4976
4977        pub fn clear_state(&mut self) {
4978            self.state = ::std::option::Option::None;
4979        }
4980
4981        pub fn has_state(&self) -> bool {
4982            self.state.is_some()
4983        }
4984
4985        // Param is passed by value, moved
4986        pub fn set_state(&mut self, v: ::std::string::String) {
4987            self.state = ::std::option::Option::Some(v);
4988        }
4989
4990        // Mutable pointer to the field.
4991        // If field is not initialized, it is initialized with default value first.
4992        pub fn mut_state(&mut self) -> &mut ::std::string::String {
4993            if self.state.is_none() {
4994                self.state = ::std::option::Option::Some(::std::string::String::new());
4995            }
4996            self.state.as_mut().unwrap()
4997        }
4998
4999        // Take field
5000        pub fn take_state(&mut self) -> ::std::string::String {
5001            self.state.take().unwrap_or_else(|| ::std::string::String::new())
5002        }
5003
5004        // optional string city = 6;
5005
5006        pub fn city(&self) -> &str {
5007            match self.city.as_ref() {
5008                Some(v) => v,
5009                None => "",
5010            }
5011        }
5012
5013        pub fn clear_city(&mut self) {
5014            self.city = ::std::option::Option::None;
5015        }
5016
5017        pub fn has_city(&self) -> bool {
5018            self.city.is_some()
5019        }
5020
5021        // Param is passed by value, moved
5022        pub fn set_city(&mut self, v: ::std::string::String) {
5023            self.city = ::std::option::Option::Some(v);
5024        }
5025
5026        // Mutable pointer to the field.
5027        // If field is not initialized, it is initialized with default value first.
5028        pub fn mut_city(&mut self) -> &mut ::std::string::String {
5029            if self.city.is_none() {
5030                self.city = ::std::option::Option::Some(::std::string::String::new());
5031            }
5032            self.city.as_mut().unwrap()
5033        }
5034
5035        // Take field
5036        pub fn take_city(&mut self) -> ::std::string::String {
5037            self.city.take().unwrap_or_else(|| ::std::string::String::new())
5038        }
5039    }
5040
5041    impl ::steam_vent_proto_common::protobuf::Message for TokenUsageEvent {
5042        const NAME: &'static str = "TokenUsageEvent";
5043
5044        fn is_initialized(&self) -> bool {
5045            true
5046        }
5047
5048        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5049            while let Some(tag) = is.read_raw_tag_or_eof()? {
5050                match tag {
5051                    8 => {
5052                        self.time = ::std::option::Option::Some(is.read_uint32()?);
5053                    },
5054                    18 => {
5055                        ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.ip)?;
5056                    },
5057                    26 => {
5058                        self.locale = ::std::option::Option::Some(is.read_string()?);
5059                    },
5060                    34 => {
5061                        self.country = ::std::option::Option::Some(is.read_string()?);
5062                    },
5063                    42 => {
5064                        self.state = ::std::option::Option::Some(is.read_string()?);
5065                    },
5066                    50 => {
5067                        self.city = ::std::option::Option::Some(is.read_string()?);
5068                    },
5069                    tag => {
5070                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5071                    },
5072                };
5073            }
5074            ::std::result::Result::Ok(())
5075        }
5076
5077        // Compute sizes of nested messages
5078        #[allow(unused_variables)]
5079        fn compute_size(&self) -> u64 {
5080            let mut my_size = 0;
5081            if let Some(v) = self.time {
5082                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
5083            }
5084            if let Some(v) = self.ip.as_ref() {
5085                let len = v.compute_size();
5086                my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
5087            }
5088            if let Some(v) = self.locale.as_ref() {
5089                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
5090            }
5091            if let Some(v) = self.country.as_ref() {
5092                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
5093            }
5094            if let Some(v) = self.state.as_ref() {
5095                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
5096            }
5097            if let Some(v) = self.city.as_ref() {
5098                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
5099            }
5100            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5101            self.special_fields.cached_size().set(my_size as u32);
5102            my_size
5103        }
5104
5105        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5106            if let Some(v) = self.time {
5107                os.write_uint32(1, v)?;
5108            }
5109            if let Some(v) = self.ip.as_ref() {
5110                ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
5111            }
5112            if let Some(v) = self.locale.as_ref() {
5113                os.write_string(3, v)?;
5114            }
5115            if let Some(v) = self.country.as_ref() {
5116                os.write_string(4, v)?;
5117            }
5118            if let Some(v) = self.state.as_ref() {
5119                os.write_string(5, v)?;
5120            }
5121            if let Some(v) = self.city.as_ref() {
5122                os.write_string(6, v)?;
5123            }
5124            os.write_unknown_fields(self.special_fields.unknown_fields())?;
5125            ::std::result::Result::Ok(())
5126        }
5127
5128        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5129            &self.special_fields
5130        }
5131
5132        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5133            &mut self.special_fields
5134        }
5135
5136        fn new() -> TokenUsageEvent {
5137            TokenUsageEvent::new()
5138        }
5139
5140        fn clear(&mut self) {
5141            self.time = ::std::option::Option::None;
5142            self.ip.clear();
5143            self.locale = ::std::option::Option::None;
5144            self.country = ::std::option::Option::None;
5145            self.state = ::std::option::Option::None;
5146            self.city = ::std::option::Option::None;
5147            self.special_fields.clear();
5148        }
5149
5150        fn default_instance() -> &'static TokenUsageEvent {
5151            static instance: TokenUsageEvent = TokenUsageEvent {
5152                time: ::std::option::Option::None,
5153                ip: ::steam_vent_proto_common::protobuf::MessageField::none(),
5154                locale: ::std::option::Option::None,
5155                country: ::std::option::Option::None,
5156                state: ::std::option::Option::None,
5157                city: ::std::option::Option::None,
5158                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5159            };
5160            &instance
5161        }
5162    }
5163
5164    // @@protoc_insertion_point(message:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription)
5165    #[derive(PartialEq,Clone,Default,Debug)]
5166    pub struct RefreshTokenDescription {
5167        // message fields
5168        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription.token_id)
5169        pub token_id: ::std::option::Option<u64>,
5170        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription.token_description)
5171        pub token_description: ::std::option::Option<::std::string::String>,
5172        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription.time_updated)
5173        pub time_updated: ::std::option::Option<u32>,
5174        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription.platform_type)
5175        pub platform_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::EAuthTokenPlatformType>>,
5176        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription.logged_in)
5177        pub logged_in: ::std::option::Option<bool>,
5178        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription.os_platform)
5179        pub os_platform: ::std::option::Option<u32>,
5180        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription.auth_type)
5181        pub auth_type: ::std::option::Option<u32>,
5182        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription.gaming_device_type)
5183        pub gaming_device_type: ::std::option::Option<u32>,
5184        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription.first_seen)
5185        pub first_seen: ::steam_vent_proto_common::protobuf::MessageField<TokenUsageEvent>,
5186        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription.last_seen)
5187        pub last_seen: ::steam_vent_proto_common::protobuf::MessageField<TokenUsageEvent>,
5188        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription.os_type)
5189        pub os_type: ::std::option::Option<i32>,
5190        // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription.authentication_type)
5191        pub authentication_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::EAuthenticationType>>,
5192        // special fields
5193        // @@protoc_insertion_point(special_field:CAuthentication_RefreshToken_Enumerate_Response.RefreshTokenDescription.special_fields)
5194        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5195    }
5196
5197    impl<'a> ::std::default::Default for &'a RefreshTokenDescription {
5198        fn default() -> &'a RefreshTokenDescription {
5199            <RefreshTokenDescription as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5200        }
5201    }
5202
5203    impl RefreshTokenDescription {
5204        pub fn new() -> RefreshTokenDescription {
5205            ::std::default::Default::default()
5206        }
5207
5208        // optional fixed64 token_id = 1;
5209
5210        pub fn token_id(&self) -> u64 {
5211            self.token_id.unwrap_or(0)
5212        }
5213
5214        pub fn clear_token_id(&mut self) {
5215            self.token_id = ::std::option::Option::None;
5216        }
5217
5218        pub fn has_token_id(&self) -> bool {
5219            self.token_id.is_some()
5220        }
5221
5222        // Param is passed by value, moved
5223        pub fn set_token_id(&mut self, v: u64) {
5224            self.token_id = ::std::option::Option::Some(v);
5225        }
5226
5227        // optional string token_description = 2;
5228
5229        pub fn token_description(&self) -> &str {
5230            match self.token_description.as_ref() {
5231                Some(v) => v,
5232                None => "",
5233            }
5234        }
5235
5236        pub fn clear_token_description(&mut self) {
5237            self.token_description = ::std::option::Option::None;
5238        }
5239
5240        pub fn has_token_description(&self) -> bool {
5241            self.token_description.is_some()
5242        }
5243
5244        // Param is passed by value, moved
5245        pub fn set_token_description(&mut self, v: ::std::string::String) {
5246            self.token_description = ::std::option::Option::Some(v);
5247        }
5248
5249        // Mutable pointer to the field.
5250        // If field is not initialized, it is initialized with default value first.
5251        pub fn mut_token_description(&mut self) -> &mut ::std::string::String {
5252            if self.token_description.is_none() {
5253                self.token_description = ::std::option::Option::Some(::std::string::String::new());
5254            }
5255            self.token_description.as_mut().unwrap()
5256        }
5257
5258        // Take field
5259        pub fn take_token_description(&mut self) -> ::std::string::String {
5260            self.token_description.take().unwrap_or_else(|| ::std::string::String::new())
5261        }
5262
5263        // optional uint32 time_updated = 3;
5264
5265        pub fn time_updated(&self) -> u32 {
5266            self.time_updated.unwrap_or(0)
5267        }
5268
5269        pub fn clear_time_updated(&mut self) {
5270            self.time_updated = ::std::option::Option::None;
5271        }
5272
5273        pub fn has_time_updated(&self) -> bool {
5274            self.time_updated.is_some()
5275        }
5276
5277        // Param is passed by value, moved
5278        pub fn set_time_updated(&mut self, v: u32) {
5279            self.time_updated = ::std::option::Option::Some(v);
5280        }
5281
5282        // optional .EAuthTokenPlatformType platform_type = 4;
5283
5284        pub fn platform_type(&self) -> super::EAuthTokenPlatformType {
5285            match self.platform_type {
5286                Some(e) => e.enum_value_or(super::EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown),
5287                None => super::EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown,
5288            }
5289        }
5290
5291        pub fn clear_platform_type(&mut self) {
5292            self.platform_type = ::std::option::Option::None;
5293        }
5294
5295        pub fn has_platform_type(&self) -> bool {
5296            self.platform_type.is_some()
5297        }
5298
5299        // Param is passed by value, moved
5300        pub fn set_platform_type(&mut self, v: super::EAuthTokenPlatformType) {
5301            self.platform_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
5302        }
5303
5304        // optional bool logged_in = 5;
5305
5306        pub fn logged_in(&self) -> bool {
5307            self.logged_in.unwrap_or(false)
5308        }
5309
5310        pub fn clear_logged_in(&mut self) {
5311            self.logged_in = ::std::option::Option::None;
5312        }
5313
5314        pub fn has_logged_in(&self) -> bool {
5315            self.logged_in.is_some()
5316        }
5317
5318        // Param is passed by value, moved
5319        pub fn set_logged_in(&mut self, v: bool) {
5320            self.logged_in = ::std::option::Option::Some(v);
5321        }
5322
5323        // optional uint32 os_platform = 6;
5324
5325        pub fn os_platform(&self) -> u32 {
5326            self.os_platform.unwrap_or(0)
5327        }
5328
5329        pub fn clear_os_platform(&mut self) {
5330            self.os_platform = ::std::option::Option::None;
5331        }
5332
5333        pub fn has_os_platform(&self) -> bool {
5334            self.os_platform.is_some()
5335        }
5336
5337        // Param is passed by value, moved
5338        pub fn set_os_platform(&mut self, v: u32) {
5339            self.os_platform = ::std::option::Option::Some(v);
5340        }
5341
5342        // optional uint32 auth_type = 7;
5343
5344        pub fn auth_type(&self) -> u32 {
5345            self.auth_type.unwrap_or(0)
5346        }
5347
5348        pub fn clear_auth_type(&mut self) {
5349            self.auth_type = ::std::option::Option::None;
5350        }
5351
5352        pub fn has_auth_type(&self) -> bool {
5353            self.auth_type.is_some()
5354        }
5355
5356        // Param is passed by value, moved
5357        pub fn set_auth_type(&mut self, v: u32) {
5358            self.auth_type = ::std::option::Option::Some(v);
5359        }
5360
5361        // optional uint32 gaming_device_type = 8;
5362
5363        pub fn gaming_device_type(&self) -> u32 {
5364            self.gaming_device_type.unwrap_or(0)
5365        }
5366
5367        pub fn clear_gaming_device_type(&mut self) {
5368            self.gaming_device_type = ::std::option::Option::None;
5369        }
5370
5371        pub fn has_gaming_device_type(&self) -> bool {
5372            self.gaming_device_type.is_some()
5373        }
5374
5375        // Param is passed by value, moved
5376        pub fn set_gaming_device_type(&mut self, v: u32) {
5377            self.gaming_device_type = ::std::option::Option::Some(v);
5378        }
5379
5380        // optional int32 os_type = 11;
5381
5382        pub fn os_type(&self) -> i32 {
5383            self.os_type.unwrap_or(0)
5384        }
5385
5386        pub fn clear_os_type(&mut self) {
5387            self.os_type = ::std::option::Option::None;
5388        }
5389
5390        pub fn has_os_type(&self) -> bool {
5391            self.os_type.is_some()
5392        }
5393
5394        // Param is passed by value, moved
5395        pub fn set_os_type(&mut self, v: i32) {
5396            self.os_type = ::std::option::Option::Some(v);
5397        }
5398
5399        // optional .EAuthenticationType authentication_type = 12;
5400
5401        pub fn authentication_type(&self) -> super::EAuthenticationType {
5402            match self.authentication_type {
5403                Some(e) => e.enum_value_or(super::EAuthenticationType::k_EAuthenticationType_Unknown),
5404                None => super::EAuthenticationType::k_EAuthenticationType_Unknown,
5405            }
5406        }
5407
5408        pub fn clear_authentication_type(&mut self) {
5409            self.authentication_type = ::std::option::Option::None;
5410        }
5411
5412        pub fn has_authentication_type(&self) -> bool {
5413            self.authentication_type.is_some()
5414        }
5415
5416        // Param is passed by value, moved
5417        pub fn set_authentication_type(&mut self, v: super::EAuthenticationType) {
5418            self.authentication_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
5419        }
5420    }
5421
5422    impl ::steam_vent_proto_common::protobuf::Message for RefreshTokenDescription {
5423        const NAME: &'static str = "RefreshTokenDescription";
5424
5425        fn is_initialized(&self) -> bool {
5426            true
5427        }
5428
5429        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5430            while let Some(tag) = is.read_raw_tag_or_eof()? {
5431                match tag {
5432                    9 => {
5433                        self.token_id = ::std::option::Option::Some(is.read_fixed64()?);
5434                    },
5435                    18 => {
5436                        self.token_description = ::std::option::Option::Some(is.read_string()?);
5437                    },
5438                    24 => {
5439                        self.time_updated = ::std::option::Option::Some(is.read_uint32()?);
5440                    },
5441                    32 => {
5442                        self.platform_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
5443                    },
5444                    40 => {
5445                        self.logged_in = ::std::option::Option::Some(is.read_bool()?);
5446                    },
5447                    48 => {
5448                        self.os_platform = ::std::option::Option::Some(is.read_uint32()?);
5449                    },
5450                    56 => {
5451                        self.auth_type = ::std::option::Option::Some(is.read_uint32()?);
5452                    },
5453                    64 => {
5454                        self.gaming_device_type = ::std::option::Option::Some(is.read_uint32()?);
5455                    },
5456                    74 => {
5457                        ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.first_seen)?;
5458                    },
5459                    82 => {
5460                        ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.last_seen)?;
5461                    },
5462                    88 => {
5463                        self.os_type = ::std::option::Option::Some(is.read_int32()?);
5464                    },
5465                    96 => {
5466                        self.authentication_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
5467                    },
5468                    tag => {
5469                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5470                    },
5471                };
5472            }
5473            ::std::result::Result::Ok(())
5474        }
5475
5476        // Compute sizes of nested messages
5477        #[allow(unused_variables)]
5478        fn compute_size(&self) -> u64 {
5479            let mut my_size = 0;
5480            if let Some(v) = self.token_id {
5481                my_size += 1 + 8;
5482            }
5483            if let Some(v) = self.token_description.as_ref() {
5484                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
5485            }
5486            if let Some(v) = self.time_updated {
5487                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
5488            }
5489            if let Some(v) = self.platform_type {
5490                my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v.value());
5491            }
5492            if let Some(v) = self.logged_in {
5493                my_size += 1 + 1;
5494            }
5495            if let Some(v) = self.os_platform {
5496                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
5497            }
5498            if let Some(v) = self.auth_type {
5499                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
5500            }
5501            if let Some(v) = self.gaming_device_type {
5502                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(8, v);
5503            }
5504            if let Some(v) = self.first_seen.as_ref() {
5505                let len = v.compute_size();
5506                my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
5507            }
5508            if let Some(v) = self.last_seen.as_ref() {
5509                let len = v.compute_size();
5510                my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
5511            }
5512            if let Some(v) = self.os_type {
5513                my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(11, v);
5514            }
5515            if let Some(v) = self.authentication_type {
5516                my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(12, v.value());
5517            }
5518            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5519            self.special_fields.cached_size().set(my_size as u32);
5520            my_size
5521        }
5522
5523        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5524            if let Some(v) = self.token_id {
5525                os.write_fixed64(1, v)?;
5526            }
5527            if let Some(v) = self.token_description.as_ref() {
5528                os.write_string(2, v)?;
5529            }
5530            if let Some(v) = self.time_updated {
5531                os.write_uint32(3, v)?;
5532            }
5533            if let Some(v) = self.platform_type {
5534                os.write_enum(4, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
5535            }
5536            if let Some(v) = self.logged_in {
5537                os.write_bool(5, v)?;
5538            }
5539            if let Some(v) = self.os_platform {
5540                os.write_uint32(6, v)?;
5541            }
5542            if let Some(v) = self.auth_type {
5543                os.write_uint32(7, v)?;
5544            }
5545            if let Some(v) = self.gaming_device_type {
5546                os.write_uint32(8, v)?;
5547            }
5548            if let Some(v) = self.first_seen.as_ref() {
5549                ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(9, v, os)?;
5550            }
5551            if let Some(v) = self.last_seen.as_ref() {
5552                ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(10, v, os)?;
5553            }
5554            if let Some(v) = self.os_type {
5555                os.write_int32(11, v)?;
5556            }
5557            if let Some(v) = self.authentication_type {
5558                os.write_enum(12, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
5559            }
5560            os.write_unknown_fields(self.special_fields.unknown_fields())?;
5561            ::std::result::Result::Ok(())
5562        }
5563
5564        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5565            &self.special_fields
5566        }
5567
5568        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5569            &mut self.special_fields
5570        }
5571
5572        fn new() -> RefreshTokenDescription {
5573            RefreshTokenDescription::new()
5574        }
5575
5576        fn clear(&mut self) {
5577            self.token_id = ::std::option::Option::None;
5578            self.token_description = ::std::option::Option::None;
5579            self.time_updated = ::std::option::Option::None;
5580            self.platform_type = ::std::option::Option::None;
5581            self.logged_in = ::std::option::Option::None;
5582            self.os_platform = ::std::option::Option::None;
5583            self.auth_type = ::std::option::Option::None;
5584            self.gaming_device_type = ::std::option::Option::None;
5585            self.first_seen.clear();
5586            self.last_seen.clear();
5587            self.os_type = ::std::option::Option::None;
5588            self.authentication_type = ::std::option::Option::None;
5589            self.special_fields.clear();
5590        }
5591
5592        fn default_instance() -> &'static RefreshTokenDescription {
5593            static instance: RefreshTokenDescription = RefreshTokenDescription {
5594                token_id: ::std::option::Option::None,
5595                token_description: ::std::option::Option::None,
5596                time_updated: ::std::option::Option::None,
5597                platform_type: ::std::option::Option::None,
5598                logged_in: ::std::option::Option::None,
5599                os_platform: ::std::option::Option::None,
5600                auth_type: ::std::option::Option::None,
5601                gaming_device_type: ::std::option::Option::None,
5602                first_seen: ::steam_vent_proto_common::protobuf::MessageField::none(),
5603                last_seen: ::steam_vent_proto_common::protobuf::MessageField::none(),
5604                os_type: ::std::option::Option::None,
5605                authentication_type: ::std::option::Option::None,
5606                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5607            };
5608            &instance
5609        }
5610    }
5611}
5612
5613// @@protoc_insertion_point(message:CAuthentication_GetAuthSessionsForAccount_Request)
5614#[derive(PartialEq,Clone,Default,Debug)]
5615pub struct CAuthentication_GetAuthSessionsForAccount_Request {
5616    // special fields
5617    // @@protoc_insertion_point(special_field:CAuthentication_GetAuthSessionsForAccount_Request.special_fields)
5618    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5619}
5620
5621impl<'a> ::std::default::Default for &'a CAuthentication_GetAuthSessionsForAccount_Request {
5622    fn default() -> &'a CAuthentication_GetAuthSessionsForAccount_Request {
5623        <CAuthentication_GetAuthSessionsForAccount_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5624    }
5625}
5626
5627impl CAuthentication_GetAuthSessionsForAccount_Request {
5628    pub fn new() -> CAuthentication_GetAuthSessionsForAccount_Request {
5629        ::std::default::Default::default()
5630    }
5631}
5632
5633impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_GetAuthSessionsForAccount_Request {
5634    const NAME: &'static str = "CAuthentication_GetAuthSessionsForAccount_Request";
5635
5636    fn is_initialized(&self) -> bool {
5637        true
5638    }
5639
5640    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5641        while let Some(tag) = is.read_raw_tag_or_eof()? {
5642            match tag {
5643                tag => {
5644                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5645                },
5646            };
5647        }
5648        ::std::result::Result::Ok(())
5649    }
5650
5651    // Compute sizes of nested messages
5652    #[allow(unused_variables)]
5653    fn compute_size(&self) -> u64 {
5654        let mut my_size = 0;
5655        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5656        self.special_fields.cached_size().set(my_size as u32);
5657        my_size
5658    }
5659
5660    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5661        os.write_unknown_fields(self.special_fields.unknown_fields())?;
5662        ::std::result::Result::Ok(())
5663    }
5664
5665    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5666        &self.special_fields
5667    }
5668
5669    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5670        &mut self.special_fields
5671    }
5672
5673    fn new() -> CAuthentication_GetAuthSessionsForAccount_Request {
5674        CAuthentication_GetAuthSessionsForAccount_Request::new()
5675    }
5676
5677    fn clear(&mut self) {
5678        self.special_fields.clear();
5679    }
5680
5681    fn default_instance() -> &'static CAuthentication_GetAuthSessionsForAccount_Request {
5682        static instance: CAuthentication_GetAuthSessionsForAccount_Request = CAuthentication_GetAuthSessionsForAccount_Request {
5683            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5684        };
5685        &instance
5686    }
5687}
5688
5689// @@protoc_insertion_point(message:CAuthentication_GetAuthSessionsForAccount_Response)
5690#[derive(PartialEq,Clone,Default,Debug)]
5691pub struct CAuthentication_GetAuthSessionsForAccount_Response {
5692    // message fields
5693    // @@protoc_insertion_point(field:CAuthentication_GetAuthSessionsForAccount_Response.client_ids)
5694    pub client_ids: ::std::vec::Vec<u64>,
5695    // special fields
5696    // @@protoc_insertion_point(special_field:CAuthentication_GetAuthSessionsForAccount_Response.special_fields)
5697    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5698}
5699
5700impl<'a> ::std::default::Default for &'a CAuthentication_GetAuthSessionsForAccount_Response {
5701    fn default() -> &'a CAuthentication_GetAuthSessionsForAccount_Response {
5702        <CAuthentication_GetAuthSessionsForAccount_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5703    }
5704}
5705
5706impl CAuthentication_GetAuthSessionsForAccount_Response {
5707    pub fn new() -> CAuthentication_GetAuthSessionsForAccount_Response {
5708        ::std::default::Default::default()
5709    }
5710}
5711
5712impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_GetAuthSessionsForAccount_Response {
5713    const NAME: &'static str = "CAuthentication_GetAuthSessionsForAccount_Response";
5714
5715    fn is_initialized(&self) -> bool {
5716        true
5717    }
5718
5719    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5720        while let Some(tag) = is.read_raw_tag_or_eof()? {
5721            match tag {
5722                10 => {
5723                    is.read_repeated_packed_uint64_into(&mut self.client_ids)?;
5724                },
5725                8 => {
5726                    self.client_ids.push(is.read_uint64()?);
5727                },
5728                tag => {
5729                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5730                },
5731            };
5732        }
5733        ::std::result::Result::Ok(())
5734    }
5735
5736    // Compute sizes of nested messages
5737    #[allow(unused_variables)]
5738    fn compute_size(&self) -> u64 {
5739        let mut my_size = 0;
5740        for value in &self.client_ids {
5741            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, *value);
5742        };
5743        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5744        self.special_fields.cached_size().set(my_size as u32);
5745        my_size
5746    }
5747
5748    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5749        for v in &self.client_ids {
5750            os.write_uint64(1, *v)?;
5751        };
5752        os.write_unknown_fields(self.special_fields.unknown_fields())?;
5753        ::std::result::Result::Ok(())
5754    }
5755
5756    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5757        &self.special_fields
5758    }
5759
5760    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5761        &mut self.special_fields
5762    }
5763
5764    fn new() -> CAuthentication_GetAuthSessionsForAccount_Response {
5765        CAuthentication_GetAuthSessionsForAccount_Response::new()
5766    }
5767
5768    fn clear(&mut self) {
5769        self.client_ids.clear();
5770        self.special_fields.clear();
5771    }
5772
5773    fn default_instance() -> &'static CAuthentication_GetAuthSessionsForAccount_Response {
5774        static instance: CAuthentication_GetAuthSessionsForAccount_Response = CAuthentication_GetAuthSessionsForAccount_Response {
5775            client_ids: ::std::vec::Vec::new(),
5776            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5777        };
5778        &instance
5779    }
5780}
5781
5782// @@protoc_insertion_point(message:CAuthentication_MigrateMobileSession_Request)
5783#[derive(PartialEq,Clone,Default,Debug)]
5784pub struct CAuthentication_MigrateMobileSession_Request {
5785    // message fields
5786    // @@protoc_insertion_point(field:CAuthentication_MigrateMobileSession_Request.steamid)
5787    pub steamid: ::std::option::Option<u64>,
5788    // @@protoc_insertion_point(field:CAuthentication_MigrateMobileSession_Request.token)
5789    pub token: ::std::option::Option<::std::string::String>,
5790    // @@protoc_insertion_point(field:CAuthentication_MigrateMobileSession_Request.signature)
5791    pub signature: ::std::option::Option<::std::string::String>,
5792    // special fields
5793    // @@protoc_insertion_point(special_field:CAuthentication_MigrateMobileSession_Request.special_fields)
5794    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5795}
5796
5797impl<'a> ::std::default::Default for &'a CAuthentication_MigrateMobileSession_Request {
5798    fn default() -> &'a CAuthentication_MigrateMobileSession_Request {
5799        <CAuthentication_MigrateMobileSession_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5800    }
5801}
5802
5803impl CAuthentication_MigrateMobileSession_Request {
5804    pub fn new() -> CAuthentication_MigrateMobileSession_Request {
5805        ::std::default::Default::default()
5806    }
5807
5808    // optional fixed64 steamid = 1;
5809
5810    pub fn steamid(&self) -> u64 {
5811        self.steamid.unwrap_or(0)
5812    }
5813
5814    pub fn clear_steamid(&mut self) {
5815        self.steamid = ::std::option::Option::None;
5816    }
5817
5818    pub fn has_steamid(&self) -> bool {
5819        self.steamid.is_some()
5820    }
5821
5822    // Param is passed by value, moved
5823    pub fn set_steamid(&mut self, v: u64) {
5824        self.steamid = ::std::option::Option::Some(v);
5825    }
5826
5827    // optional string token = 2;
5828
5829    pub fn token(&self) -> &str {
5830        match self.token.as_ref() {
5831            Some(v) => v,
5832            None => "",
5833        }
5834    }
5835
5836    pub fn clear_token(&mut self) {
5837        self.token = ::std::option::Option::None;
5838    }
5839
5840    pub fn has_token(&self) -> bool {
5841        self.token.is_some()
5842    }
5843
5844    // Param is passed by value, moved
5845    pub fn set_token(&mut self, v: ::std::string::String) {
5846        self.token = ::std::option::Option::Some(v);
5847    }
5848
5849    // Mutable pointer to the field.
5850    // If field is not initialized, it is initialized with default value first.
5851    pub fn mut_token(&mut self) -> &mut ::std::string::String {
5852        if self.token.is_none() {
5853            self.token = ::std::option::Option::Some(::std::string::String::new());
5854        }
5855        self.token.as_mut().unwrap()
5856    }
5857
5858    // Take field
5859    pub fn take_token(&mut self) -> ::std::string::String {
5860        self.token.take().unwrap_or_else(|| ::std::string::String::new())
5861    }
5862
5863    // optional string signature = 3;
5864
5865    pub fn signature(&self) -> &str {
5866        match self.signature.as_ref() {
5867            Some(v) => v,
5868            None => "",
5869        }
5870    }
5871
5872    pub fn clear_signature(&mut self) {
5873        self.signature = ::std::option::Option::None;
5874    }
5875
5876    pub fn has_signature(&self) -> bool {
5877        self.signature.is_some()
5878    }
5879
5880    // Param is passed by value, moved
5881    pub fn set_signature(&mut self, v: ::std::string::String) {
5882        self.signature = ::std::option::Option::Some(v);
5883    }
5884
5885    // Mutable pointer to the field.
5886    // If field is not initialized, it is initialized with default value first.
5887    pub fn mut_signature(&mut self) -> &mut ::std::string::String {
5888        if self.signature.is_none() {
5889            self.signature = ::std::option::Option::Some(::std::string::String::new());
5890        }
5891        self.signature.as_mut().unwrap()
5892    }
5893
5894    // Take field
5895    pub fn take_signature(&mut self) -> ::std::string::String {
5896        self.signature.take().unwrap_or_else(|| ::std::string::String::new())
5897    }
5898}
5899
5900impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_MigrateMobileSession_Request {
5901    const NAME: &'static str = "CAuthentication_MigrateMobileSession_Request";
5902
5903    fn is_initialized(&self) -> bool {
5904        true
5905    }
5906
5907    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5908        while let Some(tag) = is.read_raw_tag_or_eof()? {
5909            match tag {
5910                9 => {
5911                    self.steamid = ::std::option::Option::Some(is.read_fixed64()?);
5912                },
5913                18 => {
5914                    self.token = ::std::option::Option::Some(is.read_string()?);
5915                },
5916                26 => {
5917                    self.signature = ::std::option::Option::Some(is.read_string()?);
5918                },
5919                tag => {
5920                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5921                },
5922            };
5923        }
5924        ::std::result::Result::Ok(())
5925    }
5926
5927    // Compute sizes of nested messages
5928    #[allow(unused_variables)]
5929    fn compute_size(&self) -> u64 {
5930        let mut my_size = 0;
5931        if let Some(v) = self.steamid {
5932            my_size += 1 + 8;
5933        }
5934        if let Some(v) = self.token.as_ref() {
5935            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
5936        }
5937        if let Some(v) = self.signature.as_ref() {
5938            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
5939        }
5940        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5941        self.special_fields.cached_size().set(my_size as u32);
5942        my_size
5943    }
5944
5945    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5946        if let Some(v) = self.steamid {
5947            os.write_fixed64(1, v)?;
5948        }
5949        if let Some(v) = self.token.as_ref() {
5950            os.write_string(2, v)?;
5951        }
5952        if let Some(v) = self.signature.as_ref() {
5953            os.write_string(3, v)?;
5954        }
5955        os.write_unknown_fields(self.special_fields.unknown_fields())?;
5956        ::std::result::Result::Ok(())
5957    }
5958
5959    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5960        &self.special_fields
5961    }
5962
5963    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5964        &mut self.special_fields
5965    }
5966
5967    fn new() -> CAuthentication_MigrateMobileSession_Request {
5968        CAuthentication_MigrateMobileSession_Request::new()
5969    }
5970
5971    fn clear(&mut self) {
5972        self.steamid = ::std::option::Option::None;
5973        self.token = ::std::option::Option::None;
5974        self.signature = ::std::option::Option::None;
5975        self.special_fields.clear();
5976    }
5977
5978    fn default_instance() -> &'static CAuthentication_MigrateMobileSession_Request {
5979        static instance: CAuthentication_MigrateMobileSession_Request = CAuthentication_MigrateMobileSession_Request {
5980            steamid: ::std::option::Option::None,
5981            token: ::std::option::Option::None,
5982            signature: ::std::option::Option::None,
5983            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5984        };
5985        &instance
5986    }
5987}
5988
5989// @@protoc_insertion_point(message:CAuthentication_MigrateMobileSession_Response)
5990#[derive(PartialEq,Clone,Default,Debug)]
5991pub struct CAuthentication_MigrateMobileSession_Response {
5992    // message fields
5993    // @@protoc_insertion_point(field:CAuthentication_MigrateMobileSession_Response.refresh_token)
5994    pub refresh_token: ::std::option::Option<::std::string::String>,
5995    // @@protoc_insertion_point(field:CAuthentication_MigrateMobileSession_Response.access_token)
5996    pub access_token: ::std::option::Option<::std::string::String>,
5997    // special fields
5998    // @@protoc_insertion_point(special_field:CAuthentication_MigrateMobileSession_Response.special_fields)
5999    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6000}
6001
6002impl<'a> ::std::default::Default for &'a CAuthentication_MigrateMobileSession_Response {
6003    fn default() -> &'a CAuthentication_MigrateMobileSession_Response {
6004        <CAuthentication_MigrateMobileSession_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6005    }
6006}
6007
6008impl CAuthentication_MigrateMobileSession_Response {
6009    pub fn new() -> CAuthentication_MigrateMobileSession_Response {
6010        ::std::default::Default::default()
6011    }
6012
6013    // optional string refresh_token = 1;
6014
6015    pub fn refresh_token(&self) -> &str {
6016        match self.refresh_token.as_ref() {
6017            Some(v) => v,
6018            None => "",
6019        }
6020    }
6021
6022    pub fn clear_refresh_token(&mut self) {
6023        self.refresh_token = ::std::option::Option::None;
6024    }
6025
6026    pub fn has_refresh_token(&self) -> bool {
6027        self.refresh_token.is_some()
6028    }
6029
6030    // Param is passed by value, moved
6031    pub fn set_refresh_token(&mut self, v: ::std::string::String) {
6032        self.refresh_token = ::std::option::Option::Some(v);
6033    }
6034
6035    // Mutable pointer to the field.
6036    // If field is not initialized, it is initialized with default value first.
6037    pub fn mut_refresh_token(&mut self) -> &mut ::std::string::String {
6038        if self.refresh_token.is_none() {
6039            self.refresh_token = ::std::option::Option::Some(::std::string::String::new());
6040        }
6041        self.refresh_token.as_mut().unwrap()
6042    }
6043
6044    // Take field
6045    pub fn take_refresh_token(&mut self) -> ::std::string::String {
6046        self.refresh_token.take().unwrap_or_else(|| ::std::string::String::new())
6047    }
6048
6049    // optional string access_token = 2;
6050
6051    pub fn access_token(&self) -> &str {
6052        match self.access_token.as_ref() {
6053            Some(v) => v,
6054            None => "",
6055        }
6056    }
6057
6058    pub fn clear_access_token(&mut self) {
6059        self.access_token = ::std::option::Option::None;
6060    }
6061
6062    pub fn has_access_token(&self) -> bool {
6063        self.access_token.is_some()
6064    }
6065
6066    // Param is passed by value, moved
6067    pub fn set_access_token(&mut self, v: ::std::string::String) {
6068        self.access_token = ::std::option::Option::Some(v);
6069    }
6070
6071    // Mutable pointer to the field.
6072    // If field is not initialized, it is initialized with default value first.
6073    pub fn mut_access_token(&mut self) -> &mut ::std::string::String {
6074        if self.access_token.is_none() {
6075            self.access_token = ::std::option::Option::Some(::std::string::String::new());
6076        }
6077        self.access_token.as_mut().unwrap()
6078    }
6079
6080    // Take field
6081    pub fn take_access_token(&mut self) -> ::std::string::String {
6082        self.access_token.take().unwrap_or_else(|| ::std::string::String::new())
6083    }
6084}
6085
6086impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_MigrateMobileSession_Response {
6087    const NAME: &'static str = "CAuthentication_MigrateMobileSession_Response";
6088
6089    fn is_initialized(&self) -> bool {
6090        true
6091    }
6092
6093    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6094        while let Some(tag) = is.read_raw_tag_or_eof()? {
6095            match tag {
6096                10 => {
6097                    self.refresh_token = ::std::option::Option::Some(is.read_string()?);
6098                },
6099                18 => {
6100                    self.access_token = ::std::option::Option::Some(is.read_string()?);
6101                },
6102                tag => {
6103                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6104                },
6105            };
6106        }
6107        ::std::result::Result::Ok(())
6108    }
6109
6110    // Compute sizes of nested messages
6111    #[allow(unused_variables)]
6112    fn compute_size(&self) -> u64 {
6113        let mut my_size = 0;
6114        if let Some(v) = self.refresh_token.as_ref() {
6115            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
6116        }
6117        if let Some(v) = self.access_token.as_ref() {
6118            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
6119        }
6120        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6121        self.special_fields.cached_size().set(my_size as u32);
6122        my_size
6123    }
6124
6125    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6126        if let Some(v) = self.refresh_token.as_ref() {
6127            os.write_string(1, v)?;
6128        }
6129        if let Some(v) = self.access_token.as_ref() {
6130            os.write_string(2, v)?;
6131        }
6132        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6133        ::std::result::Result::Ok(())
6134    }
6135
6136    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6137        &self.special_fields
6138    }
6139
6140    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6141        &mut self.special_fields
6142    }
6143
6144    fn new() -> CAuthentication_MigrateMobileSession_Response {
6145        CAuthentication_MigrateMobileSession_Response::new()
6146    }
6147
6148    fn clear(&mut self) {
6149        self.refresh_token = ::std::option::Option::None;
6150        self.access_token = ::std::option::Option::None;
6151        self.special_fields.clear();
6152    }
6153
6154    fn default_instance() -> &'static CAuthentication_MigrateMobileSession_Response {
6155        static instance: CAuthentication_MigrateMobileSession_Response = CAuthentication_MigrateMobileSession_Response {
6156            refresh_token: ::std::option::Option::None,
6157            access_token: ::std::option::Option::None,
6158            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6159        };
6160        &instance
6161    }
6162}
6163
6164// @@protoc_insertion_point(message:CAuthentication_Token_Revoke_Request)
6165#[derive(PartialEq,Clone,Default,Debug)]
6166pub struct CAuthentication_Token_Revoke_Request {
6167    // message fields
6168    // @@protoc_insertion_point(field:CAuthentication_Token_Revoke_Request.token)
6169    pub token: ::std::option::Option<::std::string::String>,
6170    // @@protoc_insertion_point(field:CAuthentication_Token_Revoke_Request.revoke_action)
6171    pub revoke_action: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAuthTokenRevokeAction>>,
6172    // special fields
6173    // @@protoc_insertion_point(special_field:CAuthentication_Token_Revoke_Request.special_fields)
6174    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6175}
6176
6177impl<'a> ::std::default::Default for &'a CAuthentication_Token_Revoke_Request {
6178    fn default() -> &'a CAuthentication_Token_Revoke_Request {
6179        <CAuthentication_Token_Revoke_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6180    }
6181}
6182
6183impl CAuthentication_Token_Revoke_Request {
6184    pub fn new() -> CAuthentication_Token_Revoke_Request {
6185        ::std::default::Default::default()
6186    }
6187
6188    // optional string token = 1;
6189
6190    pub fn token(&self) -> &str {
6191        match self.token.as_ref() {
6192            Some(v) => v,
6193            None => "",
6194        }
6195    }
6196
6197    pub fn clear_token(&mut self) {
6198        self.token = ::std::option::Option::None;
6199    }
6200
6201    pub fn has_token(&self) -> bool {
6202        self.token.is_some()
6203    }
6204
6205    // Param is passed by value, moved
6206    pub fn set_token(&mut self, v: ::std::string::String) {
6207        self.token = ::std::option::Option::Some(v);
6208    }
6209
6210    // Mutable pointer to the field.
6211    // If field is not initialized, it is initialized with default value first.
6212    pub fn mut_token(&mut self) -> &mut ::std::string::String {
6213        if self.token.is_none() {
6214            self.token = ::std::option::Option::Some(::std::string::String::new());
6215        }
6216        self.token.as_mut().unwrap()
6217    }
6218
6219    // Take field
6220    pub fn take_token(&mut self) -> ::std::string::String {
6221        self.token.take().unwrap_or_else(|| ::std::string::String::new())
6222    }
6223
6224    // optional .EAuthTokenRevokeAction revoke_action = 2;
6225
6226    pub fn revoke_action(&self) -> EAuthTokenRevokeAction {
6227        match self.revoke_action {
6228            Some(e) => e.enum_value_or(EAuthTokenRevokeAction::k_EAuthTokenRevokePermanent),
6229            None => EAuthTokenRevokeAction::k_EAuthTokenRevokePermanent,
6230        }
6231    }
6232
6233    pub fn clear_revoke_action(&mut self) {
6234        self.revoke_action = ::std::option::Option::None;
6235    }
6236
6237    pub fn has_revoke_action(&self) -> bool {
6238        self.revoke_action.is_some()
6239    }
6240
6241    // Param is passed by value, moved
6242    pub fn set_revoke_action(&mut self, v: EAuthTokenRevokeAction) {
6243        self.revoke_action = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
6244    }
6245}
6246
6247impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_Token_Revoke_Request {
6248    const NAME: &'static str = "CAuthentication_Token_Revoke_Request";
6249
6250    fn is_initialized(&self) -> bool {
6251        true
6252    }
6253
6254    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6255        while let Some(tag) = is.read_raw_tag_or_eof()? {
6256            match tag {
6257                10 => {
6258                    self.token = ::std::option::Option::Some(is.read_string()?);
6259                },
6260                16 => {
6261                    self.revoke_action = ::std::option::Option::Some(is.read_enum_or_unknown()?);
6262                },
6263                tag => {
6264                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6265                },
6266            };
6267        }
6268        ::std::result::Result::Ok(())
6269    }
6270
6271    // Compute sizes of nested messages
6272    #[allow(unused_variables)]
6273    fn compute_size(&self) -> u64 {
6274        let mut my_size = 0;
6275        if let Some(v) = self.token.as_ref() {
6276            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
6277        }
6278        if let Some(v) = self.revoke_action {
6279            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v.value());
6280        }
6281        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6282        self.special_fields.cached_size().set(my_size as u32);
6283        my_size
6284    }
6285
6286    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6287        if let Some(v) = self.token.as_ref() {
6288            os.write_string(1, v)?;
6289        }
6290        if let Some(v) = self.revoke_action {
6291            os.write_enum(2, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
6292        }
6293        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6294        ::std::result::Result::Ok(())
6295    }
6296
6297    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6298        &self.special_fields
6299    }
6300
6301    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6302        &mut self.special_fields
6303    }
6304
6305    fn new() -> CAuthentication_Token_Revoke_Request {
6306        CAuthentication_Token_Revoke_Request::new()
6307    }
6308
6309    fn clear(&mut self) {
6310        self.token = ::std::option::Option::None;
6311        self.revoke_action = ::std::option::Option::None;
6312        self.special_fields.clear();
6313    }
6314
6315    fn default_instance() -> &'static CAuthentication_Token_Revoke_Request {
6316        static instance: CAuthentication_Token_Revoke_Request = CAuthentication_Token_Revoke_Request {
6317            token: ::std::option::Option::None,
6318            revoke_action: ::std::option::Option::None,
6319            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6320        };
6321        &instance
6322    }
6323}
6324
6325// @@protoc_insertion_point(message:CAuthentication_Token_Revoke_Response)
6326#[derive(PartialEq,Clone,Default,Debug)]
6327pub struct CAuthentication_Token_Revoke_Response {
6328    // special fields
6329    // @@protoc_insertion_point(special_field:CAuthentication_Token_Revoke_Response.special_fields)
6330    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6331}
6332
6333impl<'a> ::std::default::Default for &'a CAuthentication_Token_Revoke_Response {
6334    fn default() -> &'a CAuthentication_Token_Revoke_Response {
6335        <CAuthentication_Token_Revoke_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6336    }
6337}
6338
6339impl CAuthentication_Token_Revoke_Response {
6340    pub fn new() -> CAuthentication_Token_Revoke_Response {
6341        ::std::default::Default::default()
6342    }
6343}
6344
6345impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_Token_Revoke_Response {
6346    const NAME: &'static str = "CAuthentication_Token_Revoke_Response";
6347
6348    fn is_initialized(&self) -> bool {
6349        true
6350    }
6351
6352    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6353        while let Some(tag) = is.read_raw_tag_or_eof()? {
6354            match tag {
6355                tag => {
6356                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6357                },
6358            };
6359        }
6360        ::std::result::Result::Ok(())
6361    }
6362
6363    // Compute sizes of nested messages
6364    #[allow(unused_variables)]
6365    fn compute_size(&self) -> u64 {
6366        let mut my_size = 0;
6367        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6368        self.special_fields.cached_size().set(my_size as u32);
6369        my_size
6370    }
6371
6372    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6373        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6374        ::std::result::Result::Ok(())
6375    }
6376
6377    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6378        &self.special_fields
6379    }
6380
6381    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6382        &mut self.special_fields
6383    }
6384
6385    fn new() -> CAuthentication_Token_Revoke_Response {
6386        CAuthentication_Token_Revoke_Response::new()
6387    }
6388
6389    fn clear(&mut self) {
6390        self.special_fields.clear();
6391    }
6392
6393    fn default_instance() -> &'static CAuthentication_Token_Revoke_Response {
6394        static instance: CAuthentication_Token_Revoke_Response = CAuthentication_Token_Revoke_Response {
6395            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6396        };
6397        &instance
6398    }
6399}
6400
6401// @@protoc_insertion_point(message:CAuthentication_RefreshToken_Revoke_Request)
6402#[derive(PartialEq,Clone,Default,Debug)]
6403pub struct CAuthentication_RefreshToken_Revoke_Request {
6404    // message fields
6405    // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Revoke_Request.token_id)
6406    pub token_id: ::std::option::Option<u64>,
6407    // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Revoke_Request.steamid)
6408    pub steamid: ::std::option::Option<u64>,
6409    // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Revoke_Request.revoke_action)
6410    pub revoke_action: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAuthTokenRevokeAction>>,
6411    // @@protoc_insertion_point(field:CAuthentication_RefreshToken_Revoke_Request.signature)
6412    pub signature: ::std::option::Option<::std::vec::Vec<u8>>,
6413    // special fields
6414    // @@protoc_insertion_point(special_field:CAuthentication_RefreshToken_Revoke_Request.special_fields)
6415    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6416}
6417
6418impl<'a> ::std::default::Default for &'a CAuthentication_RefreshToken_Revoke_Request {
6419    fn default() -> &'a CAuthentication_RefreshToken_Revoke_Request {
6420        <CAuthentication_RefreshToken_Revoke_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6421    }
6422}
6423
6424impl CAuthentication_RefreshToken_Revoke_Request {
6425    pub fn new() -> CAuthentication_RefreshToken_Revoke_Request {
6426        ::std::default::Default::default()
6427    }
6428
6429    // optional fixed64 token_id = 1;
6430
6431    pub fn token_id(&self) -> u64 {
6432        self.token_id.unwrap_or(0)
6433    }
6434
6435    pub fn clear_token_id(&mut self) {
6436        self.token_id = ::std::option::Option::None;
6437    }
6438
6439    pub fn has_token_id(&self) -> bool {
6440        self.token_id.is_some()
6441    }
6442
6443    // Param is passed by value, moved
6444    pub fn set_token_id(&mut self, v: u64) {
6445        self.token_id = ::std::option::Option::Some(v);
6446    }
6447
6448    // optional fixed64 steamid = 2;
6449
6450    pub fn steamid(&self) -> u64 {
6451        self.steamid.unwrap_or(0)
6452    }
6453
6454    pub fn clear_steamid(&mut self) {
6455        self.steamid = ::std::option::Option::None;
6456    }
6457
6458    pub fn has_steamid(&self) -> bool {
6459        self.steamid.is_some()
6460    }
6461
6462    // Param is passed by value, moved
6463    pub fn set_steamid(&mut self, v: u64) {
6464        self.steamid = ::std::option::Option::Some(v);
6465    }
6466
6467    // optional .EAuthTokenRevokeAction revoke_action = 3;
6468
6469    pub fn revoke_action(&self) -> EAuthTokenRevokeAction {
6470        match self.revoke_action {
6471            Some(e) => e.enum_value_or(EAuthTokenRevokeAction::k_EAuthTokenRevokePermanent),
6472            None => EAuthTokenRevokeAction::k_EAuthTokenRevokePermanent,
6473        }
6474    }
6475
6476    pub fn clear_revoke_action(&mut self) {
6477        self.revoke_action = ::std::option::Option::None;
6478    }
6479
6480    pub fn has_revoke_action(&self) -> bool {
6481        self.revoke_action.is_some()
6482    }
6483
6484    // Param is passed by value, moved
6485    pub fn set_revoke_action(&mut self, v: EAuthTokenRevokeAction) {
6486        self.revoke_action = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
6487    }
6488
6489    // optional bytes signature = 4;
6490
6491    pub fn signature(&self) -> &[u8] {
6492        match self.signature.as_ref() {
6493            Some(v) => v,
6494            None => &[],
6495        }
6496    }
6497
6498    pub fn clear_signature(&mut self) {
6499        self.signature = ::std::option::Option::None;
6500    }
6501
6502    pub fn has_signature(&self) -> bool {
6503        self.signature.is_some()
6504    }
6505
6506    // Param is passed by value, moved
6507    pub fn set_signature(&mut self, v: ::std::vec::Vec<u8>) {
6508        self.signature = ::std::option::Option::Some(v);
6509    }
6510
6511    // Mutable pointer to the field.
6512    // If field is not initialized, it is initialized with default value first.
6513    pub fn mut_signature(&mut self) -> &mut ::std::vec::Vec<u8> {
6514        if self.signature.is_none() {
6515            self.signature = ::std::option::Option::Some(::std::vec::Vec::new());
6516        }
6517        self.signature.as_mut().unwrap()
6518    }
6519
6520    // Take field
6521    pub fn take_signature(&mut self) -> ::std::vec::Vec<u8> {
6522        self.signature.take().unwrap_or_else(|| ::std::vec::Vec::new())
6523    }
6524}
6525
6526impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_RefreshToken_Revoke_Request {
6527    const NAME: &'static str = "CAuthentication_RefreshToken_Revoke_Request";
6528
6529    fn is_initialized(&self) -> bool {
6530        true
6531    }
6532
6533    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6534        while let Some(tag) = is.read_raw_tag_or_eof()? {
6535            match tag {
6536                9 => {
6537                    self.token_id = ::std::option::Option::Some(is.read_fixed64()?);
6538                },
6539                17 => {
6540                    self.steamid = ::std::option::Option::Some(is.read_fixed64()?);
6541                },
6542                24 => {
6543                    self.revoke_action = ::std::option::Option::Some(is.read_enum_or_unknown()?);
6544                },
6545                34 => {
6546                    self.signature = ::std::option::Option::Some(is.read_bytes()?);
6547                },
6548                tag => {
6549                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6550                },
6551            };
6552        }
6553        ::std::result::Result::Ok(())
6554    }
6555
6556    // Compute sizes of nested messages
6557    #[allow(unused_variables)]
6558    fn compute_size(&self) -> u64 {
6559        let mut my_size = 0;
6560        if let Some(v) = self.token_id {
6561            my_size += 1 + 8;
6562        }
6563        if let Some(v) = self.steamid {
6564            my_size += 1 + 8;
6565        }
6566        if let Some(v) = self.revoke_action {
6567            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v.value());
6568        }
6569        if let Some(v) = self.signature.as_ref() {
6570            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(4, &v);
6571        }
6572        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6573        self.special_fields.cached_size().set(my_size as u32);
6574        my_size
6575    }
6576
6577    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6578        if let Some(v) = self.token_id {
6579            os.write_fixed64(1, v)?;
6580        }
6581        if let Some(v) = self.steamid {
6582            os.write_fixed64(2, v)?;
6583        }
6584        if let Some(v) = self.revoke_action {
6585            os.write_enum(3, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
6586        }
6587        if let Some(v) = self.signature.as_ref() {
6588            os.write_bytes(4, v)?;
6589        }
6590        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6591        ::std::result::Result::Ok(())
6592    }
6593
6594    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6595        &self.special_fields
6596    }
6597
6598    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6599        &mut self.special_fields
6600    }
6601
6602    fn new() -> CAuthentication_RefreshToken_Revoke_Request {
6603        CAuthentication_RefreshToken_Revoke_Request::new()
6604    }
6605
6606    fn clear(&mut self) {
6607        self.token_id = ::std::option::Option::None;
6608        self.steamid = ::std::option::Option::None;
6609        self.revoke_action = ::std::option::Option::None;
6610        self.signature = ::std::option::Option::None;
6611        self.special_fields.clear();
6612    }
6613
6614    fn default_instance() -> &'static CAuthentication_RefreshToken_Revoke_Request {
6615        static instance: CAuthentication_RefreshToken_Revoke_Request = CAuthentication_RefreshToken_Revoke_Request {
6616            token_id: ::std::option::Option::None,
6617            steamid: ::std::option::Option::None,
6618            revoke_action: ::std::option::Option::None,
6619            signature: ::std::option::Option::None,
6620            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6621        };
6622        &instance
6623    }
6624}
6625
6626// @@protoc_insertion_point(message:CAuthentication_RefreshToken_Revoke_Response)
6627#[derive(PartialEq,Clone,Default,Debug)]
6628pub struct CAuthentication_RefreshToken_Revoke_Response {
6629    // special fields
6630    // @@protoc_insertion_point(special_field:CAuthentication_RefreshToken_Revoke_Response.special_fields)
6631    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6632}
6633
6634impl<'a> ::std::default::Default for &'a CAuthentication_RefreshToken_Revoke_Response {
6635    fn default() -> &'a CAuthentication_RefreshToken_Revoke_Response {
6636        <CAuthentication_RefreshToken_Revoke_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6637    }
6638}
6639
6640impl CAuthentication_RefreshToken_Revoke_Response {
6641    pub fn new() -> CAuthentication_RefreshToken_Revoke_Response {
6642        ::std::default::Default::default()
6643    }
6644}
6645
6646impl ::steam_vent_proto_common::protobuf::Message for CAuthentication_RefreshToken_Revoke_Response {
6647    const NAME: &'static str = "CAuthentication_RefreshToken_Revoke_Response";
6648
6649    fn is_initialized(&self) -> bool {
6650        true
6651    }
6652
6653    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6654        while let Some(tag) = is.read_raw_tag_or_eof()? {
6655            match tag {
6656                tag => {
6657                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6658                },
6659            };
6660        }
6661        ::std::result::Result::Ok(())
6662    }
6663
6664    // Compute sizes of nested messages
6665    #[allow(unused_variables)]
6666    fn compute_size(&self) -> u64 {
6667        let mut my_size = 0;
6668        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6669        self.special_fields.cached_size().set(my_size as u32);
6670        my_size
6671    }
6672
6673    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6674        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6675        ::std::result::Result::Ok(())
6676    }
6677
6678    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6679        &self.special_fields
6680    }
6681
6682    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6683        &mut self.special_fields
6684    }
6685
6686    fn new() -> CAuthentication_RefreshToken_Revoke_Response {
6687        CAuthentication_RefreshToken_Revoke_Response::new()
6688    }
6689
6690    fn clear(&mut self) {
6691        self.special_fields.clear();
6692    }
6693
6694    fn default_instance() -> &'static CAuthentication_RefreshToken_Revoke_Response {
6695        static instance: CAuthentication_RefreshToken_Revoke_Response = CAuthentication_RefreshToken_Revoke_Response {
6696            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6697        };
6698        &instance
6699    }
6700}
6701
6702// @@protoc_insertion_point(message:CAuthenticationSupport_QueryRefreshTokensByAccount_Request)
6703#[derive(PartialEq,Clone,Default,Debug)]
6704pub struct CAuthenticationSupport_QueryRefreshTokensByAccount_Request {
6705    // message fields
6706    // @@protoc_insertion_point(field:CAuthenticationSupport_QueryRefreshTokensByAccount_Request.steamid)
6707    pub steamid: ::std::option::Option<u64>,
6708    // @@protoc_insertion_point(field:CAuthenticationSupport_QueryRefreshTokensByAccount_Request.include_revoked_tokens)
6709    pub include_revoked_tokens: ::std::option::Option<bool>,
6710    // special fields
6711    // @@protoc_insertion_point(special_field:CAuthenticationSupport_QueryRefreshTokensByAccount_Request.special_fields)
6712    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6713}
6714
6715impl<'a> ::std::default::Default for &'a CAuthenticationSupport_QueryRefreshTokensByAccount_Request {
6716    fn default() -> &'a CAuthenticationSupport_QueryRefreshTokensByAccount_Request {
6717        <CAuthenticationSupport_QueryRefreshTokensByAccount_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6718    }
6719}
6720
6721impl CAuthenticationSupport_QueryRefreshTokensByAccount_Request {
6722    pub fn new() -> CAuthenticationSupport_QueryRefreshTokensByAccount_Request {
6723        ::std::default::Default::default()
6724    }
6725
6726    // optional fixed64 steamid = 1;
6727
6728    pub fn steamid(&self) -> u64 {
6729        self.steamid.unwrap_or(0)
6730    }
6731
6732    pub fn clear_steamid(&mut self) {
6733        self.steamid = ::std::option::Option::None;
6734    }
6735
6736    pub fn has_steamid(&self) -> bool {
6737        self.steamid.is_some()
6738    }
6739
6740    // Param is passed by value, moved
6741    pub fn set_steamid(&mut self, v: u64) {
6742        self.steamid = ::std::option::Option::Some(v);
6743    }
6744
6745    // optional bool include_revoked_tokens = 2;
6746
6747    pub fn include_revoked_tokens(&self) -> bool {
6748        self.include_revoked_tokens.unwrap_or(false)
6749    }
6750
6751    pub fn clear_include_revoked_tokens(&mut self) {
6752        self.include_revoked_tokens = ::std::option::Option::None;
6753    }
6754
6755    pub fn has_include_revoked_tokens(&self) -> bool {
6756        self.include_revoked_tokens.is_some()
6757    }
6758
6759    // Param is passed by value, moved
6760    pub fn set_include_revoked_tokens(&mut self, v: bool) {
6761        self.include_revoked_tokens = ::std::option::Option::Some(v);
6762    }
6763}
6764
6765impl ::steam_vent_proto_common::protobuf::Message for CAuthenticationSupport_QueryRefreshTokensByAccount_Request {
6766    const NAME: &'static str = "CAuthenticationSupport_QueryRefreshTokensByAccount_Request";
6767
6768    fn is_initialized(&self) -> bool {
6769        true
6770    }
6771
6772    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6773        while let Some(tag) = is.read_raw_tag_or_eof()? {
6774            match tag {
6775                9 => {
6776                    self.steamid = ::std::option::Option::Some(is.read_fixed64()?);
6777                },
6778                16 => {
6779                    self.include_revoked_tokens = ::std::option::Option::Some(is.read_bool()?);
6780                },
6781                tag => {
6782                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6783                },
6784            };
6785        }
6786        ::std::result::Result::Ok(())
6787    }
6788
6789    // Compute sizes of nested messages
6790    #[allow(unused_variables)]
6791    fn compute_size(&self) -> u64 {
6792        let mut my_size = 0;
6793        if let Some(v) = self.steamid {
6794            my_size += 1 + 8;
6795        }
6796        if let Some(v) = self.include_revoked_tokens {
6797            my_size += 1 + 1;
6798        }
6799        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6800        self.special_fields.cached_size().set(my_size as u32);
6801        my_size
6802    }
6803
6804    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6805        if let Some(v) = self.steamid {
6806            os.write_fixed64(1, v)?;
6807        }
6808        if let Some(v) = self.include_revoked_tokens {
6809            os.write_bool(2, v)?;
6810        }
6811        os.write_unknown_fields(self.special_fields.unknown_fields())?;
6812        ::std::result::Result::Ok(())
6813    }
6814
6815    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6816        &self.special_fields
6817    }
6818
6819    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6820        &mut self.special_fields
6821    }
6822
6823    fn new() -> CAuthenticationSupport_QueryRefreshTokensByAccount_Request {
6824        CAuthenticationSupport_QueryRefreshTokensByAccount_Request::new()
6825    }
6826
6827    fn clear(&mut self) {
6828        self.steamid = ::std::option::Option::None;
6829        self.include_revoked_tokens = ::std::option::Option::None;
6830        self.special_fields.clear();
6831    }
6832
6833    fn default_instance() -> &'static CAuthenticationSupport_QueryRefreshTokensByAccount_Request {
6834        static instance: CAuthenticationSupport_QueryRefreshTokensByAccount_Request = CAuthenticationSupport_QueryRefreshTokensByAccount_Request {
6835            steamid: ::std::option::Option::None,
6836            include_revoked_tokens: ::std::option::Option::None,
6837            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6838        };
6839        &instance
6840    }
6841}
6842
6843// @@protoc_insertion_point(message:CSupportRefreshTokenDescription)
6844#[derive(PartialEq,Clone,Default,Debug)]
6845pub struct CSupportRefreshTokenDescription {
6846    // message fields
6847    // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.token_id)
6848    pub token_id: ::std::option::Option<u64>,
6849    // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.token_description)
6850    pub token_description: ::std::option::Option<::std::string::String>,
6851    // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.time_updated)
6852    pub time_updated: ::std::option::Option<u32>,
6853    // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.platform_type)
6854    pub platform_type: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAuthTokenPlatformType>>,
6855    // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.token_state)
6856    pub token_state: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EAuthTokenState>>,
6857    // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.owner_steamid)
6858    pub owner_steamid: ::std::option::Option<u64>,
6859    // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.os_platform)
6860    pub os_platform: ::std::option::Option<u32>,
6861    // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.os_type)
6862    pub os_type: ::std::option::Option<i32>,
6863    // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.auth_type)
6864    pub auth_type: ::std::option::Option<u32>,
6865    // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.gaming_device_type)
6866    pub gaming_device_type: ::std::option::Option<u32>,
6867    // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.first_seen)
6868    pub first_seen: ::steam_vent_proto_common::protobuf::MessageField<csupport_refresh_token_description::TokenUsageEvent>,
6869    // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.last_seen)
6870    pub last_seen: ::steam_vent_proto_common::protobuf::MessageField<csupport_refresh_token_description::TokenUsageEvent>,
6871    // special fields
6872    // @@protoc_insertion_point(special_field:CSupportRefreshTokenDescription.special_fields)
6873    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6874}
6875
6876impl<'a> ::std::default::Default for &'a CSupportRefreshTokenDescription {
6877    fn default() -> &'a CSupportRefreshTokenDescription {
6878        <CSupportRefreshTokenDescription as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6879    }
6880}
6881
6882impl CSupportRefreshTokenDescription {
6883    pub fn new() -> CSupportRefreshTokenDescription {
6884        ::std::default::Default::default()
6885    }
6886
6887    // optional fixed64 token_id = 1;
6888
6889    pub fn token_id(&self) -> u64 {
6890        self.token_id.unwrap_or(0)
6891    }
6892
6893    pub fn clear_token_id(&mut self) {
6894        self.token_id = ::std::option::Option::None;
6895    }
6896
6897    pub fn has_token_id(&self) -> bool {
6898        self.token_id.is_some()
6899    }
6900
6901    // Param is passed by value, moved
6902    pub fn set_token_id(&mut self, v: u64) {
6903        self.token_id = ::std::option::Option::Some(v);
6904    }
6905
6906    // optional string token_description = 2;
6907
6908    pub fn token_description(&self) -> &str {
6909        match self.token_description.as_ref() {
6910            Some(v) => v,
6911            None => "",
6912        }
6913    }
6914
6915    pub fn clear_token_description(&mut self) {
6916        self.token_description = ::std::option::Option::None;
6917    }
6918
6919    pub fn has_token_description(&self) -> bool {
6920        self.token_description.is_some()
6921    }
6922
6923    // Param is passed by value, moved
6924    pub fn set_token_description(&mut self, v: ::std::string::String) {
6925        self.token_description = ::std::option::Option::Some(v);
6926    }
6927
6928    // Mutable pointer to the field.
6929    // If field is not initialized, it is initialized with default value first.
6930    pub fn mut_token_description(&mut self) -> &mut ::std::string::String {
6931        if self.token_description.is_none() {
6932            self.token_description = ::std::option::Option::Some(::std::string::String::new());
6933        }
6934        self.token_description.as_mut().unwrap()
6935    }
6936
6937    // Take field
6938    pub fn take_token_description(&mut self) -> ::std::string::String {
6939        self.token_description.take().unwrap_or_else(|| ::std::string::String::new())
6940    }
6941
6942    // optional uint32 time_updated = 3;
6943
6944    pub fn time_updated(&self) -> u32 {
6945        self.time_updated.unwrap_or(0)
6946    }
6947
6948    pub fn clear_time_updated(&mut self) {
6949        self.time_updated = ::std::option::Option::None;
6950    }
6951
6952    pub fn has_time_updated(&self) -> bool {
6953        self.time_updated.is_some()
6954    }
6955
6956    // Param is passed by value, moved
6957    pub fn set_time_updated(&mut self, v: u32) {
6958        self.time_updated = ::std::option::Option::Some(v);
6959    }
6960
6961    // optional .EAuthTokenPlatformType platform_type = 4;
6962
6963    pub fn platform_type(&self) -> EAuthTokenPlatformType {
6964        match self.platform_type {
6965            Some(e) => e.enum_value_or(EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown),
6966            None => EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown,
6967        }
6968    }
6969
6970    pub fn clear_platform_type(&mut self) {
6971        self.platform_type = ::std::option::Option::None;
6972    }
6973
6974    pub fn has_platform_type(&self) -> bool {
6975        self.platform_type.is_some()
6976    }
6977
6978    // Param is passed by value, moved
6979    pub fn set_platform_type(&mut self, v: EAuthTokenPlatformType) {
6980        self.platform_type = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
6981    }
6982
6983    // optional .EAuthTokenState token_state = 5;
6984
6985    pub fn token_state(&self) -> EAuthTokenState {
6986        match self.token_state {
6987            Some(e) => e.enum_value_or(EAuthTokenState::k_EAuthTokenState_Invalid),
6988            None => EAuthTokenState::k_EAuthTokenState_Invalid,
6989        }
6990    }
6991
6992    pub fn clear_token_state(&mut self) {
6993        self.token_state = ::std::option::Option::None;
6994    }
6995
6996    pub fn has_token_state(&self) -> bool {
6997        self.token_state.is_some()
6998    }
6999
7000    // Param is passed by value, moved
7001    pub fn set_token_state(&mut self, v: EAuthTokenState) {
7002        self.token_state = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
7003    }
7004
7005    // optional fixed64 owner_steamid = 6;
7006
7007    pub fn owner_steamid(&self) -> u64 {
7008        self.owner_steamid.unwrap_or(0)
7009    }
7010
7011    pub fn clear_owner_steamid(&mut self) {
7012        self.owner_steamid = ::std::option::Option::None;
7013    }
7014
7015    pub fn has_owner_steamid(&self) -> bool {
7016        self.owner_steamid.is_some()
7017    }
7018
7019    // Param is passed by value, moved
7020    pub fn set_owner_steamid(&mut self, v: u64) {
7021        self.owner_steamid = ::std::option::Option::Some(v);
7022    }
7023
7024    // optional uint32 os_platform = 7;
7025
7026    pub fn os_platform(&self) -> u32 {
7027        self.os_platform.unwrap_or(0)
7028    }
7029
7030    pub fn clear_os_platform(&mut self) {
7031        self.os_platform = ::std::option::Option::None;
7032    }
7033
7034    pub fn has_os_platform(&self) -> bool {
7035        self.os_platform.is_some()
7036    }
7037
7038    // Param is passed by value, moved
7039    pub fn set_os_platform(&mut self, v: u32) {
7040        self.os_platform = ::std::option::Option::Some(v);
7041    }
7042
7043    // optional int32 os_type = 8;
7044
7045    pub fn os_type(&self) -> i32 {
7046        self.os_type.unwrap_or(0)
7047    }
7048
7049    pub fn clear_os_type(&mut self) {
7050        self.os_type = ::std::option::Option::None;
7051    }
7052
7053    pub fn has_os_type(&self) -> bool {
7054        self.os_type.is_some()
7055    }
7056
7057    // Param is passed by value, moved
7058    pub fn set_os_type(&mut self, v: i32) {
7059        self.os_type = ::std::option::Option::Some(v);
7060    }
7061
7062    // optional uint32 auth_type = 9;
7063
7064    pub fn auth_type(&self) -> u32 {
7065        self.auth_type.unwrap_or(0)
7066    }
7067
7068    pub fn clear_auth_type(&mut self) {
7069        self.auth_type = ::std::option::Option::None;
7070    }
7071
7072    pub fn has_auth_type(&self) -> bool {
7073        self.auth_type.is_some()
7074    }
7075
7076    // Param is passed by value, moved
7077    pub fn set_auth_type(&mut self, v: u32) {
7078        self.auth_type = ::std::option::Option::Some(v);
7079    }
7080
7081    // optional uint32 gaming_device_type = 10;
7082
7083    pub fn gaming_device_type(&self) -> u32 {
7084        self.gaming_device_type.unwrap_or(0)
7085    }
7086
7087    pub fn clear_gaming_device_type(&mut self) {
7088        self.gaming_device_type = ::std::option::Option::None;
7089    }
7090
7091    pub fn has_gaming_device_type(&self) -> bool {
7092        self.gaming_device_type.is_some()
7093    }
7094
7095    // Param is passed by value, moved
7096    pub fn set_gaming_device_type(&mut self, v: u32) {
7097        self.gaming_device_type = ::std::option::Option::Some(v);
7098    }
7099}
7100
7101impl ::steam_vent_proto_common::protobuf::Message for CSupportRefreshTokenDescription {
7102    const NAME: &'static str = "CSupportRefreshTokenDescription";
7103
7104    fn is_initialized(&self) -> bool {
7105        true
7106    }
7107
7108    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7109        while let Some(tag) = is.read_raw_tag_or_eof()? {
7110            match tag {
7111                9 => {
7112                    self.token_id = ::std::option::Option::Some(is.read_fixed64()?);
7113                },
7114                18 => {
7115                    self.token_description = ::std::option::Option::Some(is.read_string()?);
7116                },
7117                24 => {
7118                    self.time_updated = ::std::option::Option::Some(is.read_uint32()?);
7119                },
7120                32 => {
7121                    self.platform_type = ::std::option::Option::Some(is.read_enum_or_unknown()?);
7122                },
7123                40 => {
7124                    self.token_state = ::std::option::Option::Some(is.read_enum_or_unknown()?);
7125                },
7126                49 => {
7127                    self.owner_steamid = ::std::option::Option::Some(is.read_fixed64()?);
7128                },
7129                56 => {
7130                    self.os_platform = ::std::option::Option::Some(is.read_uint32()?);
7131                },
7132                64 => {
7133                    self.os_type = ::std::option::Option::Some(is.read_int32()?);
7134                },
7135                72 => {
7136                    self.auth_type = ::std::option::Option::Some(is.read_uint32()?);
7137                },
7138                80 => {
7139                    self.gaming_device_type = ::std::option::Option::Some(is.read_uint32()?);
7140                },
7141                90 => {
7142                    ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.first_seen)?;
7143                },
7144                98 => {
7145                    ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.last_seen)?;
7146                },
7147                tag => {
7148                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7149                },
7150            };
7151        }
7152        ::std::result::Result::Ok(())
7153    }
7154
7155    // Compute sizes of nested messages
7156    #[allow(unused_variables)]
7157    fn compute_size(&self) -> u64 {
7158        let mut my_size = 0;
7159        if let Some(v) = self.token_id {
7160            my_size += 1 + 8;
7161        }
7162        if let Some(v) = self.token_description.as_ref() {
7163            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
7164        }
7165        if let Some(v) = self.time_updated {
7166            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
7167        }
7168        if let Some(v) = self.platform_type {
7169            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v.value());
7170        }
7171        if let Some(v) = self.token_state {
7172            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v.value());
7173        }
7174        if let Some(v) = self.owner_steamid {
7175            my_size += 1 + 8;
7176        }
7177        if let Some(v) = self.os_platform {
7178            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
7179        }
7180        if let Some(v) = self.os_type {
7181            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(8, v);
7182        }
7183        if let Some(v) = self.auth_type {
7184            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(9, v);
7185        }
7186        if let Some(v) = self.gaming_device_type {
7187            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(10, v);
7188        }
7189        if let Some(v) = self.first_seen.as_ref() {
7190            let len = v.compute_size();
7191            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
7192        }
7193        if let Some(v) = self.last_seen.as_ref() {
7194            let len = v.compute_size();
7195            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
7196        }
7197        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7198        self.special_fields.cached_size().set(my_size as u32);
7199        my_size
7200    }
7201
7202    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7203        if let Some(v) = self.token_id {
7204            os.write_fixed64(1, v)?;
7205        }
7206        if let Some(v) = self.token_description.as_ref() {
7207            os.write_string(2, v)?;
7208        }
7209        if let Some(v) = self.time_updated {
7210            os.write_uint32(3, v)?;
7211        }
7212        if let Some(v) = self.platform_type {
7213            os.write_enum(4, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
7214        }
7215        if let Some(v) = self.token_state {
7216            os.write_enum(5, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
7217        }
7218        if let Some(v) = self.owner_steamid {
7219            os.write_fixed64(6, v)?;
7220        }
7221        if let Some(v) = self.os_platform {
7222            os.write_uint32(7, v)?;
7223        }
7224        if let Some(v) = self.os_type {
7225            os.write_int32(8, v)?;
7226        }
7227        if let Some(v) = self.auth_type {
7228            os.write_uint32(9, v)?;
7229        }
7230        if let Some(v) = self.gaming_device_type {
7231            os.write_uint32(10, v)?;
7232        }
7233        if let Some(v) = self.first_seen.as_ref() {
7234            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(11, v, os)?;
7235        }
7236        if let Some(v) = self.last_seen.as_ref() {
7237            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(12, v, os)?;
7238        }
7239        os.write_unknown_fields(self.special_fields.unknown_fields())?;
7240        ::std::result::Result::Ok(())
7241    }
7242
7243    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7244        &self.special_fields
7245    }
7246
7247    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7248        &mut self.special_fields
7249    }
7250
7251    fn new() -> CSupportRefreshTokenDescription {
7252        CSupportRefreshTokenDescription::new()
7253    }
7254
7255    fn clear(&mut self) {
7256        self.token_id = ::std::option::Option::None;
7257        self.token_description = ::std::option::Option::None;
7258        self.time_updated = ::std::option::Option::None;
7259        self.platform_type = ::std::option::Option::None;
7260        self.token_state = ::std::option::Option::None;
7261        self.owner_steamid = ::std::option::Option::None;
7262        self.os_platform = ::std::option::Option::None;
7263        self.os_type = ::std::option::Option::None;
7264        self.auth_type = ::std::option::Option::None;
7265        self.gaming_device_type = ::std::option::Option::None;
7266        self.first_seen.clear();
7267        self.last_seen.clear();
7268        self.special_fields.clear();
7269    }
7270
7271    fn default_instance() -> &'static CSupportRefreshTokenDescription {
7272        static instance: CSupportRefreshTokenDescription = CSupportRefreshTokenDescription {
7273            token_id: ::std::option::Option::None,
7274            token_description: ::std::option::Option::None,
7275            time_updated: ::std::option::Option::None,
7276            platform_type: ::std::option::Option::None,
7277            token_state: ::std::option::Option::None,
7278            owner_steamid: ::std::option::Option::None,
7279            os_platform: ::std::option::Option::None,
7280            os_type: ::std::option::Option::None,
7281            auth_type: ::std::option::Option::None,
7282            gaming_device_type: ::std::option::Option::None,
7283            first_seen: ::steam_vent_proto_common::protobuf::MessageField::none(),
7284            last_seen: ::steam_vent_proto_common::protobuf::MessageField::none(),
7285            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7286        };
7287        &instance
7288    }
7289}
7290
7291/// Nested message and enums of message `CSupportRefreshTokenDescription`
7292pub mod csupport_refresh_token_description {
7293    // @@protoc_insertion_point(message:CSupportRefreshTokenDescription.TokenUsageEvent)
7294    #[derive(PartialEq,Clone,Default,Debug)]
7295    pub struct TokenUsageEvent {
7296        // message fields
7297        // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.TokenUsageEvent.time)
7298        pub time: ::std::option::Option<u32>,
7299        // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.TokenUsageEvent.ip)
7300        pub ip: ::steam_vent_proto_common::protobuf::MessageField<super::super::steammessages_base::CMsgIPAddress>,
7301        // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.TokenUsageEvent.country)
7302        pub country: ::std::option::Option<::std::string::String>,
7303        // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.TokenUsageEvent.state)
7304        pub state: ::std::option::Option<::std::string::String>,
7305        // @@protoc_insertion_point(field:CSupportRefreshTokenDescription.TokenUsageEvent.city)
7306        pub city: ::std::option::Option<::std::string::String>,
7307        // special fields
7308        // @@protoc_insertion_point(special_field:CSupportRefreshTokenDescription.TokenUsageEvent.special_fields)
7309        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7310    }
7311
7312    impl<'a> ::std::default::Default for &'a TokenUsageEvent {
7313        fn default() -> &'a TokenUsageEvent {
7314            <TokenUsageEvent as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7315        }
7316    }
7317
7318    impl TokenUsageEvent {
7319        pub fn new() -> TokenUsageEvent {
7320            ::std::default::Default::default()
7321        }
7322
7323        // optional uint32 time = 1;
7324
7325        pub fn time(&self) -> u32 {
7326            self.time.unwrap_or(0)
7327        }
7328
7329        pub fn clear_time(&mut self) {
7330            self.time = ::std::option::Option::None;
7331        }
7332
7333        pub fn has_time(&self) -> bool {
7334            self.time.is_some()
7335        }
7336
7337        // Param is passed by value, moved
7338        pub fn set_time(&mut self, v: u32) {
7339            self.time = ::std::option::Option::Some(v);
7340        }
7341
7342        // optional string country = 3;
7343
7344        pub fn country(&self) -> &str {
7345            match self.country.as_ref() {
7346                Some(v) => v,
7347                None => "",
7348            }
7349        }
7350
7351        pub fn clear_country(&mut self) {
7352            self.country = ::std::option::Option::None;
7353        }
7354
7355        pub fn has_country(&self) -> bool {
7356            self.country.is_some()
7357        }
7358
7359        // Param is passed by value, moved
7360        pub fn set_country(&mut self, v: ::std::string::String) {
7361            self.country = ::std::option::Option::Some(v);
7362        }
7363
7364        // Mutable pointer to the field.
7365        // If field is not initialized, it is initialized with default value first.
7366        pub fn mut_country(&mut self) -> &mut ::std::string::String {
7367            if self.country.is_none() {
7368                self.country = ::std::option::Option::Some(::std::string::String::new());
7369            }
7370            self.country.as_mut().unwrap()
7371        }
7372
7373        // Take field
7374        pub fn take_country(&mut self) -> ::std::string::String {
7375            self.country.take().unwrap_or_else(|| ::std::string::String::new())
7376        }
7377
7378        // optional string state = 4;
7379
7380        pub fn state(&self) -> &str {
7381            match self.state.as_ref() {
7382                Some(v) => v,
7383                None => "",
7384            }
7385        }
7386
7387        pub fn clear_state(&mut self) {
7388            self.state = ::std::option::Option::None;
7389        }
7390
7391        pub fn has_state(&self) -> bool {
7392            self.state.is_some()
7393        }
7394
7395        // Param is passed by value, moved
7396        pub fn set_state(&mut self, v: ::std::string::String) {
7397            self.state = ::std::option::Option::Some(v);
7398        }
7399
7400        // Mutable pointer to the field.
7401        // If field is not initialized, it is initialized with default value first.
7402        pub fn mut_state(&mut self) -> &mut ::std::string::String {
7403            if self.state.is_none() {
7404                self.state = ::std::option::Option::Some(::std::string::String::new());
7405            }
7406            self.state.as_mut().unwrap()
7407        }
7408
7409        // Take field
7410        pub fn take_state(&mut self) -> ::std::string::String {
7411            self.state.take().unwrap_or_else(|| ::std::string::String::new())
7412        }
7413
7414        // optional string city = 5;
7415
7416        pub fn city(&self) -> &str {
7417            match self.city.as_ref() {
7418                Some(v) => v,
7419                None => "",
7420            }
7421        }
7422
7423        pub fn clear_city(&mut self) {
7424            self.city = ::std::option::Option::None;
7425        }
7426
7427        pub fn has_city(&self) -> bool {
7428            self.city.is_some()
7429        }
7430
7431        // Param is passed by value, moved
7432        pub fn set_city(&mut self, v: ::std::string::String) {
7433            self.city = ::std::option::Option::Some(v);
7434        }
7435
7436        // Mutable pointer to the field.
7437        // If field is not initialized, it is initialized with default value first.
7438        pub fn mut_city(&mut self) -> &mut ::std::string::String {
7439            if self.city.is_none() {
7440                self.city = ::std::option::Option::Some(::std::string::String::new());
7441            }
7442            self.city.as_mut().unwrap()
7443        }
7444
7445        // Take field
7446        pub fn take_city(&mut self) -> ::std::string::String {
7447            self.city.take().unwrap_or_else(|| ::std::string::String::new())
7448        }
7449    }
7450
7451    impl ::steam_vent_proto_common::protobuf::Message for TokenUsageEvent {
7452        const NAME: &'static str = "TokenUsageEvent";
7453
7454        fn is_initialized(&self) -> bool {
7455            true
7456        }
7457
7458        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7459            while let Some(tag) = is.read_raw_tag_or_eof()? {
7460                match tag {
7461                    8 => {
7462                        self.time = ::std::option::Option::Some(is.read_uint32()?);
7463                    },
7464                    18 => {
7465                        ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.ip)?;
7466                    },
7467                    26 => {
7468                        self.country = ::std::option::Option::Some(is.read_string()?);
7469                    },
7470                    34 => {
7471                        self.state = ::std::option::Option::Some(is.read_string()?);
7472                    },
7473                    42 => {
7474                        self.city = ::std::option::Option::Some(is.read_string()?);
7475                    },
7476                    tag => {
7477                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7478                    },
7479                };
7480            }
7481            ::std::result::Result::Ok(())
7482        }
7483
7484        // Compute sizes of nested messages
7485        #[allow(unused_variables)]
7486        fn compute_size(&self) -> u64 {
7487            let mut my_size = 0;
7488            if let Some(v) = self.time {
7489                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
7490            }
7491            if let Some(v) = self.ip.as_ref() {
7492                let len = v.compute_size();
7493                my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
7494            }
7495            if let Some(v) = self.country.as_ref() {
7496                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
7497            }
7498            if let Some(v) = self.state.as_ref() {
7499                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
7500            }
7501            if let Some(v) = self.city.as_ref() {
7502                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
7503            }
7504            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7505            self.special_fields.cached_size().set(my_size as u32);
7506            my_size
7507        }
7508
7509        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7510            if let Some(v) = self.time {
7511                os.write_uint32(1, v)?;
7512            }
7513            if let Some(v) = self.ip.as_ref() {
7514                ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
7515            }
7516            if let Some(v) = self.country.as_ref() {
7517                os.write_string(3, v)?;
7518            }
7519            if let Some(v) = self.state.as_ref() {
7520                os.write_string(4, v)?;
7521            }
7522            if let Some(v) = self.city.as_ref() {
7523                os.write_string(5, v)?;
7524            }
7525            os.write_unknown_fields(self.special_fields.unknown_fields())?;
7526            ::std::result::Result::Ok(())
7527        }
7528
7529        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7530            &self.special_fields
7531        }
7532
7533        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7534            &mut self.special_fields
7535        }
7536
7537        fn new() -> TokenUsageEvent {
7538            TokenUsageEvent::new()
7539        }
7540
7541        fn clear(&mut self) {
7542            self.time = ::std::option::Option::None;
7543            self.ip.clear();
7544            self.country = ::std::option::Option::None;
7545            self.state = ::std::option::Option::None;
7546            self.city = ::std::option::Option::None;
7547            self.special_fields.clear();
7548        }
7549
7550        fn default_instance() -> &'static TokenUsageEvent {
7551            static instance: TokenUsageEvent = TokenUsageEvent {
7552                time: ::std::option::Option::None,
7553                ip: ::steam_vent_proto_common::protobuf::MessageField::none(),
7554                country: ::std::option::Option::None,
7555                state: ::std::option::Option::None,
7556                city: ::std::option::Option::None,
7557                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7558            };
7559            &instance
7560        }
7561    }
7562}
7563
7564// @@protoc_insertion_point(message:CAuthenticationSupport_QueryRefreshTokensByAccount_Response)
7565#[derive(PartialEq,Clone,Default,Debug)]
7566pub struct CAuthenticationSupport_QueryRefreshTokensByAccount_Response {
7567    // message fields
7568    // @@protoc_insertion_point(field:CAuthenticationSupport_QueryRefreshTokensByAccount_Response.refresh_tokens)
7569    pub refresh_tokens: ::std::vec::Vec<CSupportRefreshTokenDescription>,
7570    // @@protoc_insertion_point(field:CAuthenticationSupport_QueryRefreshTokensByAccount_Response.last_token_reset)
7571    pub last_token_reset: ::std::option::Option<i32>,
7572    // special fields
7573    // @@protoc_insertion_point(special_field:CAuthenticationSupport_QueryRefreshTokensByAccount_Response.special_fields)
7574    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7575}
7576
7577impl<'a> ::std::default::Default for &'a CAuthenticationSupport_QueryRefreshTokensByAccount_Response {
7578    fn default() -> &'a CAuthenticationSupport_QueryRefreshTokensByAccount_Response {
7579        <CAuthenticationSupport_QueryRefreshTokensByAccount_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7580    }
7581}
7582
7583impl CAuthenticationSupport_QueryRefreshTokensByAccount_Response {
7584    pub fn new() -> CAuthenticationSupport_QueryRefreshTokensByAccount_Response {
7585        ::std::default::Default::default()
7586    }
7587
7588    // optional int32 last_token_reset = 2;
7589
7590    pub fn last_token_reset(&self) -> i32 {
7591        self.last_token_reset.unwrap_or(0)
7592    }
7593
7594    pub fn clear_last_token_reset(&mut self) {
7595        self.last_token_reset = ::std::option::Option::None;
7596    }
7597
7598    pub fn has_last_token_reset(&self) -> bool {
7599        self.last_token_reset.is_some()
7600    }
7601
7602    // Param is passed by value, moved
7603    pub fn set_last_token_reset(&mut self, v: i32) {
7604        self.last_token_reset = ::std::option::Option::Some(v);
7605    }
7606}
7607
7608impl ::steam_vent_proto_common::protobuf::Message for CAuthenticationSupport_QueryRefreshTokensByAccount_Response {
7609    const NAME: &'static str = "CAuthenticationSupport_QueryRefreshTokensByAccount_Response";
7610
7611    fn is_initialized(&self) -> bool {
7612        true
7613    }
7614
7615    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7616        while let Some(tag) = is.read_raw_tag_or_eof()? {
7617            match tag {
7618                10 => {
7619                    self.refresh_tokens.push(is.read_message()?);
7620                },
7621                16 => {
7622                    self.last_token_reset = ::std::option::Option::Some(is.read_int32()?);
7623                },
7624                tag => {
7625                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7626                },
7627            };
7628        }
7629        ::std::result::Result::Ok(())
7630    }
7631
7632    // Compute sizes of nested messages
7633    #[allow(unused_variables)]
7634    fn compute_size(&self) -> u64 {
7635        let mut my_size = 0;
7636        for value in &self.refresh_tokens {
7637            let len = value.compute_size();
7638            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
7639        };
7640        if let Some(v) = self.last_token_reset {
7641            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
7642        }
7643        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7644        self.special_fields.cached_size().set(my_size as u32);
7645        my_size
7646    }
7647
7648    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7649        for v in &self.refresh_tokens {
7650            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
7651        };
7652        if let Some(v) = self.last_token_reset {
7653            os.write_int32(2, v)?;
7654        }
7655        os.write_unknown_fields(self.special_fields.unknown_fields())?;
7656        ::std::result::Result::Ok(())
7657    }
7658
7659    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7660        &self.special_fields
7661    }
7662
7663    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7664        &mut self.special_fields
7665    }
7666
7667    fn new() -> CAuthenticationSupport_QueryRefreshTokensByAccount_Response {
7668        CAuthenticationSupport_QueryRefreshTokensByAccount_Response::new()
7669    }
7670
7671    fn clear(&mut self) {
7672        self.refresh_tokens.clear();
7673        self.last_token_reset = ::std::option::Option::None;
7674        self.special_fields.clear();
7675    }
7676
7677    fn default_instance() -> &'static CAuthenticationSupport_QueryRefreshTokensByAccount_Response {
7678        static instance: CAuthenticationSupport_QueryRefreshTokensByAccount_Response = CAuthenticationSupport_QueryRefreshTokensByAccount_Response {
7679            refresh_tokens: ::std::vec::Vec::new(),
7680            last_token_reset: ::std::option::Option::None,
7681            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7682        };
7683        &instance
7684    }
7685}
7686
7687// @@protoc_insertion_point(message:CAuthenticationSupport_QueryRefreshTokenByID_Request)
7688#[derive(PartialEq,Clone,Default,Debug)]
7689pub struct CAuthenticationSupport_QueryRefreshTokenByID_Request {
7690    // message fields
7691    // @@protoc_insertion_point(field:CAuthenticationSupport_QueryRefreshTokenByID_Request.token_id)
7692    pub token_id: ::std::option::Option<u64>,
7693    // special fields
7694    // @@protoc_insertion_point(special_field:CAuthenticationSupport_QueryRefreshTokenByID_Request.special_fields)
7695    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7696}
7697
7698impl<'a> ::std::default::Default for &'a CAuthenticationSupport_QueryRefreshTokenByID_Request {
7699    fn default() -> &'a CAuthenticationSupport_QueryRefreshTokenByID_Request {
7700        <CAuthenticationSupport_QueryRefreshTokenByID_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7701    }
7702}
7703
7704impl CAuthenticationSupport_QueryRefreshTokenByID_Request {
7705    pub fn new() -> CAuthenticationSupport_QueryRefreshTokenByID_Request {
7706        ::std::default::Default::default()
7707    }
7708
7709    // optional fixed64 token_id = 1;
7710
7711    pub fn token_id(&self) -> u64 {
7712        self.token_id.unwrap_or(0)
7713    }
7714
7715    pub fn clear_token_id(&mut self) {
7716        self.token_id = ::std::option::Option::None;
7717    }
7718
7719    pub fn has_token_id(&self) -> bool {
7720        self.token_id.is_some()
7721    }
7722
7723    // Param is passed by value, moved
7724    pub fn set_token_id(&mut self, v: u64) {
7725        self.token_id = ::std::option::Option::Some(v);
7726    }
7727}
7728
7729impl ::steam_vent_proto_common::protobuf::Message for CAuthenticationSupport_QueryRefreshTokenByID_Request {
7730    const NAME: &'static str = "CAuthenticationSupport_QueryRefreshTokenByID_Request";
7731
7732    fn is_initialized(&self) -> bool {
7733        true
7734    }
7735
7736    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7737        while let Some(tag) = is.read_raw_tag_or_eof()? {
7738            match tag {
7739                9 => {
7740                    self.token_id = ::std::option::Option::Some(is.read_fixed64()?);
7741                },
7742                tag => {
7743                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7744                },
7745            };
7746        }
7747        ::std::result::Result::Ok(())
7748    }
7749
7750    // Compute sizes of nested messages
7751    #[allow(unused_variables)]
7752    fn compute_size(&self) -> u64 {
7753        let mut my_size = 0;
7754        if let Some(v) = self.token_id {
7755            my_size += 1 + 8;
7756        }
7757        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7758        self.special_fields.cached_size().set(my_size as u32);
7759        my_size
7760    }
7761
7762    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7763        if let Some(v) = self.token_id {
7764            os.write_fixed64(1, v)?;
7765        }
7766        os.write_unknown_fields(self.special_fields.unknown_fields())?;
7767        ::std::result::Result::Ok(())
7768    }
7769
7770    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7771        &self.special_fields
7772    }
7773
7774    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7775        &mut self.special_fields
7776    }
7777
7778    fn new() -> CAuthenticationSupport_QueryRefreshTokenByID_Request {
7779        CAuthenticationSupport_QueryRefreshTokenByID_Request::new()
7780    }
7781
7782    fn clear(&mut self) {
7783        self.token_id = ::std::option::Option::None;
7784        self.special_fields.clear();
7785    }
7786
7787    fn default_instance() -> &'static CAuthenticationSupport_QueryRefreshTokenByID_Request {
7788        static instance: CAuthenticationSupport_QueryRefreshTokenByID_Request = CAuthenticationSupport_QueryRefreshTokenByID_Request {
7789            token_id: ::std::option::Option::None,
7790            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7791        };
7792        &instance
7793    }
7794}
7795
7796// @@protoc_insertion_point(message:CAuthenticationSupport_QueryRefreshTokenByID_Response)
7797#[derive(PartialEq,Clone,Default,Debug)]
7798pub struct CAuthenticationSupport_QueryRefreshTokenByID_Response {
7799    // message fields
7800    // @@protoc_insertion_point(field:CAuthenticationSupport_QueryRefreshTokenByID_Response.refresh_tokens)
7801    pub refresh_tokens: ::std::vec::Vec<CSupportRefreshTokenDescription>,
7802    // special fields
7803    // @@protoc_insertion_point(special_field:CAuthenticationSupport_QueryRefreshTokenByID_Response.special_fields)
7804    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7805}
7806
7807impl<'a> ::std::default::Default for &'a CAuthenticationSupport_QueryRefreshTokenByID_Response {
7808    fn default() -> &'a CAuthenticationSupport_QueryRefreshTokenByID_Response {
7809        <CAuthenticationSupport_QueryRefreshTokenByID_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7810    }
7811}
7812
7813impl CAuthenticationSupport_QueryRefreshTokenByID_Response {
7814    pub fn new() -> CAuthenticationSupport_QueryRefreshTokenByID_Response {
7815        ::std::default::Default::default()
7816    }
7817}
7818
7819impl ::steam_vent_proto_common::protobuf::Message for CAuthenticationSupport_QueryRefreshTokenByID_Response {
7820    const NAME: &'static str = "CAuthenticationSupport_QueryRefreshTokenByID_Response";
7821
7822    fn is_initialized(&self) -> bool {
7823        true
7824    }
7825
7826    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7827        while let Some(tag) = is.read_raw_tag_or_eof()? {
7828            match tag {
7829                10 => {
7830                    self.refresh_tokens.push(is.read_message()?);
7831                },
7832                tag => {
7833                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7834                },
7835            };
7836        }
7837        ::std::result::Result::Ok(())
7838    }
7839
7840    // Compute sizes of nested messages
7841    #[allow(unused_variables)]
7842    fn compute_size(&self) -> u64 {
7843        let mut my_size = 0;
7844        for value in &self.refresh_tokens {
7845            let len = value.compute_size();
7846            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
7847        };
7848        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7849        self.special_fields.cached_size().set(my_size as u32);
7850        my_size
7851    }
7852
7853    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7854        for v in &self.refresh_tokens {
7855            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
7856        };
7857        os.write_unknown_fields(self.special_fields.unknown_fields())?;
7858        ::std::result::Result::Ok(())
7859    }
7860
7861    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7862        &self.special_fields
7863    }
7864
7865    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7866        &mut self.special_fields
7867    }
7868
7869    fn new() -> CAuthenticationSupport_QueryRefreshTokenByID_Response {
7870        CAuthenticationSupport_QueryRefreshTokenByID_Response::new()
7871    }
7872
7873    fn clear(&mut self) {
7874        self.refresh_tokens.clear();
7875        self.special_fields.clear();
7876    }
7877
7878    fn default_instance() -> &'static CAuthenticationSupport_QueryRefreshTokenByID_Response {
7879        static instance: CAuthenticationSupport_QueryRefreshTokenByID_Response = CAuthenticationSupport_QueryRefreshTokenByID_Response {
7880            refresh_tokens: ::std::vec::Vec::new(),
7881            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7882        };
7883        &instance
7884    }
7885}
7886
7887// @@protoc_insertion_point(message:CAuthenticationSupport_RevokeToken_Request)
7888#[derive(PartialEq,Clone,Default,Debug)]
7889pub struct CAuthenticationSupport_RevokeToken_Request {
7890    // message fields
7891    // @@protoc_insertion_point(field:CAuthenticationSupport_RevokeToken_Request.token_id)
7892    pub token_id: ::std::option::Option<u64>,
7893    // @@protoc_insertion_point(field:CAuthenticationSupport_RevokeToken_Request.steamid)
7894    pub steamid: ::std::option::Option<u64>,
7895    // special fields
7896    // @@protoc_insertion_point(special_field:CAuthenticationSupport_RevokeToken_Request.special_fields)
7897    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7898}
7899
7900impl<'a> ::std::default::Default for &'a CAuthenticationSupport_RevokeToken_Request {
7901    fn default() -> &'a CAuthenticationSupport_RevokeToken_Request {
7902        <CAuthenticationSupport_RevokeToken_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7903    }
7904}
7905
7906impl CAuthenticationSupport_RevokeToken_Request {
7907    pub fn new() -> CAuthenticationSupport_RevokeToken_Request {
7908        ::std::default::Default::default()
7909    }
7910
7911    // optional fixed64 token_id = 1;
7912
7913    pub fn token_id(&self) -> u64 {
7914        self.token_id.unwrap_or(0)
7915    }
7916
7917    pub fn clear_token_id(&mut self) {
7918        self.token_id = ::std::option::Option::None;
7919    }
7920
7921    pub fn has_token_id(&self) -> bool {
7922        self.token_id.is_some()
7923    }
7924
7925    // Param is passed by value, moved
7926    pub fn set_token_id(&mut self, v: u64) {
7927        self.token_id = ::std::option::Option::Some(v);
7928    }
7929
7930    // optional fixed64 steamid = 2;
7931
7932    pub fn steamid(&self) -> u64 {
7933        self.steamid.unwrap_or(0)
7934    }
7935
7936    pub fn clear_steamid(&mut self) {
7937        self.steamid = ::std::option::Option::None;
7938    }
7939
7940    pub fn has_steamid(&self) -> bool {
7941        self.steamid.is_some()
7942    }
7943
7944    // Param is passed by value, moved
7945    pub fn set_steamid(&mut self, v: u64) {
7946        self.steamid = ::std::option::Option::Some(v);
7947    }
7948}
7949
7950impl ::steam_vent_proto_common::protobuf::Message for CAuthenticationSupport_RevokeToken_Request {
7951    const NAME: &'static str = "CAuthenticationSupport_RevokeToken_Request";
7952
7953    fn is_initialized(&self) -> bool {
7954        true
7955    }
7956
7957    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7958        while let Some(tag) = is.read_raw_tag_or_eof()? {
7959            match tag {
7960                9 => {
7961                    self.token_id = ::std::option::Option::Some(is.read_fixed64()?);
7962                },
7963                17 => {
7964                    self.steamid = ::std::option::Option::Some(is.read_fixed64()?);
7965                },
7966                tag => {
7967                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7968                },
7969            };
7970        }
7971        ::std::result::Result::Ok(())
7972    }
7973
7974    // Compute sizes of nested messages
7975    #[allow(unused_variables)]
7976    fn compute_size(&self) -> u64 {
7977        let mut my_size = 0;
7978        if let Some(v) = self.token_id {
7979            my_size += 1 + 8;
7980        }
7981        if let Some(v) = self.steamid {
7982            my_size += 1 + 8;
7983        }
7984        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7985        self.special_fields.cached_size().set(my_size as u32);
7986        my_size
7987    }
7988
7989    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7990        if let Some(v) = self.token_id {
7991            os.write_fixed64(1, v)?;
7992        }
7993        if let Some(v) = self.steamid {
7994            os.write_fixed64(2, v)?;
7995        }
7996        os.write_unknown_fields(self.special_fields.unknown_fields())?;
7997        ::std::result::Result::Ok(())
7998    }
7999
8000    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8001        &self.special_fields
8002    }
8003
8004    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8005        &mut self.special_fields
8006    }
8007
8008    fn new() -> CAuthenticationSupport_RevokeToken_Request {
8009        CAuthenticationSupport_RevokeToken_Request::new()
8010    }
8011
8012    fn clear(&mut self) {
8013        self.token_id = ::std::option::Option::None;
8014        self.steamid = ::std::option::Option::None;
8015        self.special_fields.clear();
8016    }
8017
8018    fn default_instance() -> &'static CAuthenticationSupport_RevokeToken_Request {
8019        static instance: CAuthenticationSupport_RevokeToken_Request = CAuthenticationSupport_RevokeToken_Request {
8020            token_id: ::std::option::Option::None,
8021            steamid: ::std::option::Option::None,
8022            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8023        };
8024        &instance
8025    }
8026}
8027
8028// @@protoc_insertion_point(message:CAuthenticationSupport_RevokeToken_Response)
8029#[derive(PartialEq,Clone,Default,Debug)]
8030pub struct CAuthenticationSupport_RevokeToken_Response {
8031    // special fields
8032    // @@protoc_insertion_point(special_field:CAuthenticationSupport_RevokeToken_Response.special_fields)
8033    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8034}
8035
8036impl<'a> ::std::default::Default for &'a CAuthenticationSupport_RevokeToken_Response {
8037    fn default() -> &'a CAuthenticationSupport_RevokeToken_Response {
8038        <CAuthenticationSupport_RevokeToken_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8039    }
8040}
8041
8042impl CAuthenticationSupport_RevokeToken_Response {
8043    pub fn new() -> CAuthenticationSupport_RevokeToken_Response {
8044        ::std::default::Default::default()
8045    }
8046}
8047
8048impl ::steam_vent_proto_common::protobuf::Message for CAuthenticationSupport_RevokeToken_Response {
8049    const NAME: &'static str = "CAuthenticationSupport_RevokeToken_Response";
8050
8051    fn is_initialized(&self) -> bool {
8052        true
8053    }
8054
8055    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8056        while let Some(tag) = is.read_raw_tag_or_eof()? {
8057            match tag {
8058                tag => {
8059                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8060                },
8061            };
8062        }
8063        ::std::result::Result::Ok(())
8064    }
8065
8066    // Compute sizes of nested messages
8067    #[allow(unused_variables)]
8068    fn compute_size(&self) -> u64 {
8069        let mut my_size = 0;
8070        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
8071        self.special_fields.cached_size().set(my_size as u32);
8072        my_size
8073    }
8074
8075    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8076        os.write_unknown_fields(self.special_fields.unknown_fields())?;
8077        ::std::result::Result::Ok(())
8078    }
8079
8080    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8081        &self.special_fields
8082    }
8083
8084    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8085        &mut self.special_fields
8086    }
8087
8088    fn new() -> CAuthenticationSupport_RevokeToken_Response {
8089        CAuthenticationSupport_RevokeToken_Response::new()
8090    }
8091
8092    fn clear(&mut self) {
8093        self.special_fields.clear();
8094    }
8095
8096    fn default_instance() -> &'static CAuthenticationSupport_RevokeToken_Response {
8097        static instance: CAuthenticationSupport_RevokeToken_Response = CAuthenticationSupport_RevokeToken_Response {
8098            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8099        };
8100        &instance
8101    }
8102}
8103
8104// @@protoc_insertion_point(message:CAuthenticationSupport_GetTokenHistory_Request)
8105#[derive(PartialEq,Clone,Default,Debug)]
8106pub struct CAuthenticationSupport_GetTokenHistory_Request {
8107    // message fields
8108    // @@protoc_insertion_point(field:CAuthenticationSupport_GetTokenHistory_Request.token_id)
8109    pub token_id: ::std::option::Option<u64>,
8110    // special fields
8111    // @@protoc_insertion_point(special_field:CAuthenticationSupport_GetTokenHistory_Request.special_fields)
8112    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8113}
8114
8115impl<'a> ::std::default::Default for &'a CAuthenticationSupport_GetTokenHistory_Request {
8116    fn default() -> &'a CAuthenticationSupport_GetTokenHistory_Request {
8117        <CAuthenticationSupport_GetTokenHistory_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8118    }
8119}
8120
8121impl CAuthenticationSupport_GetTokenHistory_Request {
8122    pub fn new() -> CAuthenticationSupport_GetTokenHistory_Request {
8123        ::std::default::Default::default()
8124    }
8125
8126    // optional fixed64 token_id = 1;
8127
8128    pub fn token_id(&self) -> u64 {
8129        self.token_id.unwrap_or(0)
8130    }
8131
8132    pub fn clear_token_id(&mut self) {
8133        self.token_id = ::std::option::Option::None;
8134    }
8135
8136    pub fn has_token_id(&self) -> bool {
8137        self.token_id.is_some()
8138    }
8139
8140    // Param is passed by value, moved
8141    pub fn set_token_id(&mut self, v: u64) {
8142        self.token_id = ::std::option::Option::Some(v);
8143    }
8144}
8145
8146impl ::steam_vent_proto_common::protobuf::Message for CAuthenticationSupport_GetTokenHistory_Request {
8147    const NAME: &'static str = "CAuthenticationSupport_GetTokenHistory_Request";
8148
8149    fn is_initialized(&self) -> bool {
8150        true
8151    }
8152
8153    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8154        while let Some(tag) = is.read_raw_tag_or_eof()? {
8155            match tag {
8156                9 => {
8157                    self.token_id = ::std::option::Option::Some(is.read_fixed64()?);
8158                },
8159                tag => {
8160                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8161                },
8162            };
8163        }
8164        ::std::result::Result::Ok(())
8165    }
8166
8167    // Compute sizes of nested messages
8168    #[allow(unused_variables)]
8169    fn compute_size(&self) -> u64 {
8170        let mut my_size = 0;
8171        if let Some(v) = self.token_id {
8172            my_size += 1 + 8;
8173        }
8174        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
8175        self.special_fields.cached_size().set(my_size as u32);
8176        my_size
8177    }
8178
8179    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8180        if let Some(v) = self.token_id {
8181            os.write_fixed64(1, v)?;
8182        }
8183        os.write_unknown_fields(self.special_fields.unknown_fields())?;
8184        ::std::result::Result::Ok(())
8185    }
8186
8187    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8188        &self.special_fields
8189    }
8190
8191    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8192        &mut self.special_fields
8193    }
8194
8195    fn new() -> CAuthenticationSupport_GetTokenHistory_Request {
8196        CAuthenticationSupport_GetTokenHistory_Request::new()
8197    }
8198
8199    fn clear(&mut self) {
8200        self.token_id = ::std::option::Option::None;
8201        self.special_fields.clear();
8202    }
8203
8204    fn default_instance() -> &'static CAuthenticationSupport_GetTokenHistory_Request {
8205        static instance: CAuthenticationSupport_GetTokenHistory_Request = CAuthenticationSupport_GetTokenHistory_Request {
8206            token_id: ::std::option::Option::None,
8207            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8208        };
8209        &instance
8210    }
8211}
8212
8213// @@protoc_insertion_point(message:CSupportRefreshTokenAudit)
8214#[derive(PartialEq,Clone,Default,Debug)]
8215pub struct CSupportRefreshTokenAudit {
8216    // message fields
8217    // @@protoc_insertion_point(field:CSupportRefreshTokenAudit.action)
8218    pub action: ::std::option::Option<i32>,
8219    // @@protoc_insertion_point(field:CSupportRefreshTokenAudit.time)
8220    pub time: ::std::option::Option<u32>,
8221    // @@protoc_insertion_point(field:CSupportRefreshTokenAudit.ip)
8222    pub ip: ::steam_vent_proto_common::protobuf::MessageField<super::steammessages_base::CMsgIPAddress>,
8223    // @@protoc_insertion_point(field:CSupportRefreshTokenAudit.actor)
8224    pub actor: ::std::option::Option<u64>,
8225    // special fields
8226    // @@protoc_insertion_point(special_field:CSupportRefreshTokenAudit.special_fields)
8227    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8228}
8229
8230impl<'a> ::std::default::Default for &'a CSupportRefreshTokenAudit {
8231    fn default() -> &'a CSupportRefreshTokenAudit {
8232        <CSupportRefreshTokenAudit as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8233    }
8234}
8235
8236impl CSupportRefreshTokenAudit {
8237    pub fn new() -> CSupportRefreshTokenAudit {
8238        ::std::default::Default::default()
8239    }
8240
8241    // optional int32 action = 1;
8242
8243    pub fn action(&self) -> i32 {
8244        self.action.unwrap_or(0)
8245    }
8246
8247    pub fn clear_action(&mut self) {
8248        self.action = ::std::option::Option::None;
8249    }
8250
8251    pub fn has_action(&self) -> bool {
8252        self.action.is_some()
8253    }
8254
8255    // Param is passed by value, moved
8256    pub fn set_action(&mut self, v: i32) {
8257        self.action = ::std::option::Option::Some(v);
8258    }
8259
8260    // optional uint32 time = 2;
8261
8262    pub fn time(&self) -> u32 {
8263        self.time.unwrap_or(0)
8264    }
8265
8266    pub fn clear_time(&mut self) {
8267        self.time = ::std::option::Option::None;
8268    }
8269
8270    pub fn has_time(&self) -> bool {
8271        self.time.is_some()
8272    }
8273
8274    // Param is passed by value, moved
8275    pub fn set_time(&mut self, v: u32) {
8276        self.time = ::std::option::Option::Some(v);
8277    }
8278
8279    // optional fixed64 actor = 4;
8280
8281    pub fn actor(&self) -> u64 {
8282        self.actor.unwrap_or(0)
8283    }
8284
8285    pub fn clear_actor(&mut self) {
8286        self.actor = ::std::option::Option::None;
8287    }
8288
8289    pub fn has_actor(&self) -> bool {
8290        self.actor.is_some()
8291    }
8292
8293    // Param is passed by value, moved
8294    pub fn set_actor(&mut self, v: u64) {
8295        self.actor = ::std::option::Option::Some(v);
8296    }
8297}
8298
8299impl ::steam_vent_proto_common::protobuf::Message for CSupportRefreshTokenAudit {
8300    const NAME: &'static str = "CSupportRefreshTokenAudit";
8301
8302    fn is_initialized(&self) -> bool {
8303        true
8304    }
8305
8306    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8307        while let Some(tag) = is.read_raw_tag_or_eof()? {
8308            match tag {
8309                8 => {
8310                    self.action = ::std::option::Option::Some(is.read_int32()?);
8311                },
8312                16 => {
8313                    self.time = ::std::option::Option::Some(is.read_uint32()?);
8314                },
8315                26 => {
8316                    ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.ip)?;
8317                },
8318                33 => {
8319                    self.actor = ::std::option::Option::Some(is.read_fixed64()?);
8320                },
8321                tag => {
8322                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8323                },
8324            };
8325        }
8326        ::std::result::Result::Ok(())
8327    }
8328
8329    // Compute sizes of nested messages
8330    #[allow(unused_variables)]
8331    fn compute_size(&self) -> u64 {
8332        let mut my_size = 0;
8333        if let Some(v) = self.action {
8334            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
8335        }
8336        if let Some(v) = self.time {
8337            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
8338        }
8339        if let Some(v) = self.ip.as_ref() {
8340            let len = v.compute_size();
8341            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
8342        }
8343        if let Some(v) = self.actor {
8344            my_size += 1 + 8;
8345        }
8346        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
8347        self.special_fields.cached_size().set(my_size as u32);
8348        my_size
8349    }
8350
8351    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8352        if let Some(v) = self.action {
8353            os.write_int32(1, v)?;
8354        }
8355        if let Some(v) = self.time {
8356            os.write_uint32(2, v)?;
8357        }
8358        if let Some(v) = self.ip.as_ref() {
8359            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
8360        }
8361        if let Some(v) = self.actor {
8362            os.write_fixed64(4, v)?;
8363        }
8364        os.write_unknown_fields(self.special_fields.unknown_fields())?;
8365        ::std::result::Result::Ok(())
8366    }
8367
8368    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8369        &self.special_fields
8370    }
8371
8372    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8373        &mut self.special_fields
8374    }
8375
8376    fn new() -> CSupportRefreshTokenAudit {
8377        CSupportRefreshTokenAudit::new()
8378    }
8379
8380    fn clear(&mut self) {
8381        self.action = ::std::option::Option::None;
8382        self.time = ::std::option::Option::None;
8383        self.ip.clear();
8384        self.actor = ::std::option::Option::None;
8385        self.special_fields.clear();
8386    }
8387
8388    fn default_instance() -> &'static CSupportRefreshTokenAudit {
8389        static instance: CSupportRefreshTokenAudit = CSupportRefreshTokenAudit {
8390            action: ::std::option::Option::None,
8391            time: ::std::option::Option::None,
8392            ip: ::steam_vent_proto_common::protobuf::MessageField::none(),
8393            actor: ::std::option::Option::None,
8394            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8395        };
8396        &instance
8397    }
8398}
8399
8400// @@protoc_insertion_point(message:CAuthenticationSupport_GetTokenHistory_Response)
8401#[derive(PartialEq,Clone,Default,Debug)]
8402pub struct CAuthenticationSupport_GetTokenHistory_Response {
8403    // message fields
8404    // @@protoc_insertion_point(field:CAuthenticationSupport_GetTokenHistory_Response.history)
8405    pub history: ::std::vec::Vec<CSupportRefreshTokenAudit>,
8406    // special fields
8407    // @@protoc_insertion_point(special_field:CAuthenticationSupport_GetTokenHistory_Response.special_fields)
8408    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8409}
8410
8411impl<'a> ::std::default::Default for &'a CAuthenticationSupport_GetTokenHistory_Response {
8412    fn default() -> &'a CAuthenticationSupport_GetTokenHistory_Response {
8413        <CAuthenticationSupport_GetTokenHistory_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8414    }
8415}
8416
8417impl CAuthenticationSupport_GetTokenHistory_Response {
8418    pub fn new() -> CAuthenticationSupport_GetTokenHistory_Response {
8419        ::std::default::Default::default()
8420    }
8421}
8422
8423impl ::steam_vent_proto_common::protobuf::Message for CAuthenticationSupport_GetTokenHistory_Response {
8424    const NAME: &'static str = "CAuthenticationSupport_GetTokenHistory_Response";
8425
8426    fn is_initialized(&self) -> bool {
8427        true
8428    }
8429
8430    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8431        while let Some(tag) = is.read_raw_tag_or_eof()? {
8432            match tag {
8433                10 => {
8434                    self.history.push(is.read_message()?);
8435                },
8436                tag => {
8437                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8438                },
8439            };
8440        }
8441        ::std::result::Result::Ok(())
8442    }
8443
8444    // Compute sizes of nested messages
8445    #[allow(unused_variables)]
8446    fn compute_size(&self) -> u64 {
8447        let mut my_size = 0;
8448        for value in &self.history {
8449            let len = value.compute_size();
8450            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
8451        };
8452        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
8453        self.special_fields.cached_size().set(my_size as u32);
8454        my_size
8455    }
8456
8457    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8458        for v in &self.history {
8459            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
8460        };
8461        os.write_unknown_fields(self.special_fields.unknown_fields())?;
8462        ::std::result::Result::Ok(())
8463    }
8464
8465    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8466        &self.special_fields
8467    }
8468
8469    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8470        &mut self.special_fields
8471    }
8472
8473    fn new() -> CAuthenticationSupport_GetTokenHistory_Response {
8474        CAuthenticationSupport_GetTokenHistory_Response::new()
8475    }
8476
8477    fn clear(&mut self) {
8478        self.history.clear();
8479        self.special_fields.clear();
8480    }
8481
8482    fn default_instance() -> &'static CAuthenticationSupport_GetTokenHistory_Response {
8483        static instance: CAuthenticationSupport_GetTokenHistory_Response = CAuthenticationSupport_GetTokenHistory_Response {
8484            history: ::std::vec::Vec::new(),
8485            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8486        };
8487        &instance
8488    }
8489}
8490
8491// @@protoc_insertion_point(message:CCloudGaming_CreateNonce_Request)
8492#[derive(PartialEq,Clone,Default,Debug)]
8493pub struct CCloudGaming_CreateNonce_Request {
8494    // message fields
8495    // @@protoc_insertion_point(field:CCloudGaming_CreateNonce_Request.platform)
8496    pub platform: ::std::option::Option<::std::string::String>,
8497    // @@protoc_insertion_point(field:CCloudGaming_CreateNonce_Request.appid)
8498    pub appid: ::std::option::Option<u32>,
8499    // special fields
8500    // @@protoc_insertion_point(special_field:CCloudGaming_CreateNonce_Request.special_fields)
8501    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8502}
8503
8504impl<'a> ::std::default::Default for &'a CCloudGaming_CreateNonce_Request {
8505    fn default() -> &'a CCloudGaming_CreateNonce_Request {
8506        <CCloudGaming_CreateNonce_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8507    }
8508}
8509
8510impl CCloudGaming_CreateNonce_Request {
8511    pub fn new() -> CCloudGaming_CreateNonce_Request {
8512        ::std::default::Default::default()
8513    }
8514
8515    // optional string platform = 1;
8516
8517    pub fn platform(&self) -> &str {
8518        match self.platform.as_ref() {
8519            Some(v) => v,
8520            None => "",
8521        }
8522    }
8523
8524    pub fn clear_platform(&mut self) {
8525        self.platform = ::std::option::Option::None;
8526    }
8527
8528    pub fn has_platform(&self) -> bool {
8529        self.platform.is_some()
8530    }
8531
8532    // Param is passed by value, moved
8533    pub fn set_platform(&mut self, v: ::std::string::String) {
8534        self.platform = ::std::option::Option::Some(v);
8535    }
8536
8537    // Mutable pointer to the field.
8538    // If field is not initialized, it is initialized with default value first.
8539    pub fn mut_platform(&mut self) -> &mut ::std::string::String {
8540        if self.platform.is_none() {
8541            self.platform = ::std::option::Option::Some(::std::string::String::new());
8542        }
8543        self.platform.as_mut().unwrap()
8544    }
8545
8546    // Take field
8547    pub fn take_platform(&mut self) -> ::std::string::String {
8548        self.platform.take().unwrap_or_else(|| ::std::string::String::new())
8549    }
8550
8551    // optional uint32 appid = 2;
8552
8553    pub fn appid(&self) -> u32 {
8554        self.appid.unwrap_or(0)
8555    }
8556
8557    pub fn clear_appid(&mut self) {
8558        self.appid = ::std::option::Option::None;
8559    }
8560
8561    pub fn has_appid(&self) -> bool {
8562        self.appid.is_some()
8563    }
8564
8565    // Param is passed by value, moved
8566    pub fn set_appid(&mut self, v: u32) {
8567        self.appid = ::std::option::Option::Some(v);
8568    }
8569}
8570
8571impl ::steam_vent_proto_common::protobuf::Message for CCloudGaming_CreateNonce_Request {
8572    const NAME: &'static str = "CCloudGaming_CreateNonce_Request";
8573
8574    fn is_initialized(&self) -> bool {
8575        true
8576    }
8577
8578    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8579        while let Some(tag) = is.read_raw_tag_or_eof()? {
8580            match tag {
8581                10 => {
8582                    self.platform = ::std::option::Option::Some(is.read_string()?);
8583                },
8584                16 => {
8585                    self.appid = ::std::option::Option::Some(is.read_uint32()?);
8586                },
8587                tag => {
8588                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8589                },
8590            };
8591        }
8592        ::std::result::Result::Ok(())
8593    }
8594
8595    // Compute sizes of nested messages
8596    #[allow(unused_variables)]
8597    fn compute_size(&self) -> u64 {
8598        let mut my_size = 0;
8599        if let Some(v) = self.platform.as_ref() {
8600            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
8601        }
8602        if let Some(v) = self.appid {
8603            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
8604        }
8605        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
8606        self.special_fields.cached_size().set(my_size as u32);
8607        my_size
8608    }
8609
8610    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8611        if let Some(v) = self.platform.as_ref() {
8612            os.write_string(1, v)?;
8613        }
8614        if let Some(v) = self.appid {
8615            os.write_uint32(2, v)?;
8616        }
8617        os.write_unknown_fields(self.special_fields.unknown_fields())?;
8618        ::std::result::Result::Ok(())
8619    }
8620
8621    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8622        &self.special_fields
8623    }
8624
8625    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8626        &mut self.special_fields
8627    }
8628
8629    fn new() -> CCloudGaming_CreateNonce_Request {
8630        CCloudGaming_CreateNonce_Request::new()
8631    }
8632
8633    fn clear(&mut self) {
8634        self.platform = ::std::option::Option::None;
8635        self.appid = ::std::option::Option::None;
8636        self.special_fields.clear();
8637    }
8638
8639    fn default_instance() -> &'static CCloudGaming_CreateNonce_Request {
8640        static instance: CCloudGaming_CreateNonce_Request = CCloudGaming_CreateNonce_Request {
8641            platform: ::std::option::Option::None,
8642            appid: ::std::option::Option::None,
8643            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8644        };
8645        &instance
8646    }
8647}
8648
8649// @@protoc_insertion_point(message:CCloudGaming_CreateNonce_Response)
8650#[derive(PartialEq,Clone,Default,Debug)]
8651pub struct CCloudGaming_CreateNonce_Response {
8652    // message fields
8653    // @@protoc_insertion_point(field:CCloudGaming_CreateNonce_Response.nonce)
8654    pub nonce: ::std::option::Option<::std::string::String>,
8655    // @@protoc_insertion_point(field:CCloudGaming_CreateNonce_Response.expiry)
8656    pub expiry: ::std::option::Option<u32>,
8657    // special fields
8658    // @@protoc_insertion_point(special_field:CCloudGaming_CreateNonce_Response.special_fields)
8659    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8660}
8661
8662impl<'a> ::std::default::Default for &'a CCloudGaming_CreateNonce_Response {
8663    fn default() -> &'a CCloudGaming_CreateNonce_Response {
8664        <CCloudGaming_CreateNonce_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8665    }
8666}
8667
8668impl CCloudGaming_CreateNonce_Response {
8669    pub fn new() -> CCloudGaming_CreateNonce_Response {
8670        ::std::default::Default::default()
8671    }
8672
8673    // optional string nonce = 1;
8674
8675    pub fn nonce(&self) -> &str {
8676        match self.nonce.as_ref() {
8677            Some(v) => v,
8678            None => "",
8679        }
8680    }
8681
8682    pub fn clear_nonce(&mut self) {
8683        self.nonce = ::std::option::Option::None;
8684    }
8685
8686    pub fn has_nonce(&self) -> bool {
8687        self.nonce.is_some()
8688    }
8689
8690    // Param is passed by value, moved
8691    pub fn set_nonce(&mut self, v: ::std::string::String) {
8692        self.nonce = ::std::option::Option::Some(v);
8693    }
8694
8695    // Mutable pointer to the field.
8696    // If field is not initialized, it is initialized with default value first.
8697    pub fn mut_nonce(&mut self) -> &mut ::std::string::String {
8698        if self.nonce.is_none() {
8699            self.nonce = ::std::option::Option::Some(::std::string::String::new());
8700        }
8701        self.nonce.as_mut().unwrap()
8702    }
8703
8704    // Take field
8705    pub fn take_nonce(&mut self) -> ::std::string::String {
8706        self.nonce.take().unwrap_or_else(|| ::std::string::String::new())
8707    }
8708
8709    // optional uint32 expiry = 2;
8710
8711    pub fn expiry(&self) -> u32 {
8712        self.expiry.unwrap_or(0)
8713    }
8714
8715    pub fn clear_expiry(&mut self) {
8716        self.expiry = ::std::option::Option::None;
8717    }
8718
8719    pub fn has_expiry(&self) -> bool {
8720        self.expiry.is_some()
8721    }
8722
8723    // Param is passed by value, moved
8724    pub fn set_expiry(&mut self, v: u32) {
8725        self.expiry = ::std::option::Option::Some(v);
8726    }
8727}
8728
8729impl ::steam_vent_proto_common::protobuf::Message for CCloudGaming_CreateNonce_Response {
8730    const NAME: &'static str = "CCloudGaming_CreateNonce_Response";
8731
8732    fn is_initialized(&self) -> bool {
8733        true
8734    }
8735
8736    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8737        while let Some(tag) = is.read_raw_tag_or_eof()? {
8738            match tag {
8739                10 => {
8740                    self.nonce = ::std::option::Option::Some(is.read_string()?);
8741                },
8742                16 => {
8743                    self.expiry = ::std::option::Option::Some(is.read_uint32()?);
8744                },
8745                tag => {
8746                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8747                },
8748            };
8749        }
8750        ::std::result::Result::Ok(())
8751    }
8752
8753    // Compute sizes of nested messages
8754    #[allow(unused_variables)]
8755    fn compute_size(&self) -> u64 {
8756        let mut my_size = 0;
8757        if let Some(v) = self.nonce.as_ref() {
8758            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
8759        }
8760        if let Some(v) = self.expiry {
8761            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
8762        }
8763        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
8764        self.special_fields.cached_size().set(my_size as u32);
8765        my_size
8766    }
8767
8768    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8769        if let Some(v) = self.nonce.as_ref() {
8770            os.write_string(1, v)?;
8771        }
8772        if let Some(v) = self.expiry {
8773            os.write_uint32(2, v)?;
8774        }
8775        os.write_unknown_fields(self.special_fields.unknown_fields())?;
8776        ::std::result::Result::Ok(())
8777    }
8778
8779    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8780        &self.special_fields
8781    }
8782
8783    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8784        &mut self.special_fields
8785    }
8786
8787    fn new() -> CCloudGaming_CreateNonce_Response {
8788        CCloudGaming_CreateNonce_Response::new()
8789    }
8790
8791    fn clear(&mut self) {
8792        self.nonce = ::std::option::Option::None;
8793        self.expiry = ::std::option::Option::None;
8794        self.special_fields.clear();
8795    }
8796
8797    fn default_instance() -> &'static CCloudGaming_CreateNonce_Response {
8798        static instance: CCloudGaming_CreateNonce_Response = CCloudGaming_CreateNonce_Response {
8799            nonce: ::std::option::Option::None,
8800            expiry: ::std::option::Option::None,
8801            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8802        };
8803        &instance
8804    }
8805}
8806
8807// @@protoc_insertion_point(message:CCloudGaming_GetTimeRemaining_Request)
8808#[derive(PartialEq,Clone,Default,Debug)]
8809pub struct CCloudGaming_GetTimeRemaining_Request {
8810    // message fields
8811    // @@protoc_insertion_point(field:CCloudGaming_GetTimeRemaining_Request.platform)
8812    pub platform: ::std::option::Option<::std::string::String>,
8813    // @@protoc_insertion_point(field:CCloudGaming_GetTimeRemaining_Request.appid_list)
8814    pub appid_list: ::std::vec::Vec<u32>,
8815    // special fields
8816    // @@protoc_insertion_point(special_field:CCloudGaming_GetTimeRemaining_Request.special_fields)
8817    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8818}
8819
8820impl<'a> ::std::default::Default for &'a CCloudGaming_GetTimeRemaining_Request {
8821    fn default() -> &'a CCloudGaming_GetTimeRemaining_Request {
8822        <CCloudGaming_GetTimeRemaining_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8823    }
8824}
8825
8826impl CCloudGaming_GetTimeRemaining_Request {
8827    pub fn new() -> CCloudGaming_GetTimeRemaining_Request {
8828        ::std::default::Default::default()
8829    }
8830
8831    // optional string platform = 1;
8832
8833    pub fn platform(&self) -> &str {
8834        match self.platform.as_ref() {
8835            Some(v) => v,
8836            None => "",
8837        }
8838    }
8839
8840    pub fn clear_platform(&mut self) {
8841        self.platform = ::std::option::Option::None;
8842    }
8843
8844    pub fn has_platform(&self) -> bool {
8845        self.platform.is_some()
8846    }
8847
8848    // Param is passed by value, moved
8849    pub fn set_platform(&mut self, v: ::std::string::String) {
8850        self.platform = ::std::option::Option::Some(v);
8851    }
8852
8853    // Mutable pointer to the field.
8854    // If field is not initialized, it is initialized with default value first.
8855    pub fn mut_platform(&mut self) -> &mut ::std::string::String {
8856        if self.platform.is_none() {
8857            self.platform = ::std::option::Option::Some(::std::string::String::new());
8858        }
8859        self.platform.as_mut().unwrap()
8860    }
8861
8862    // Take field
8863    pub fn take_platform(&mut self) -> ::std::string::String {
8864        self.platform.take().unwrap_or_else(|| ::std::string::String::new())
8865    }
8866}
8867
8868impl ::steam_vent_proto_common::protobuf::Message for CCloudGaming_GetTimeRemaining_Request {
8869    const NAME: &'static str = "CCloudGaming_GetTimeRemaining_Request";
8870
8871    fn is_initialized(&self) -> bool {
8872        true
8873    }
8874
8875    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8876        while let Some(tag) = is.read_raw_tag_or_eof()? {
8877            match tag {
8878                10 => {
8879                    self.platform = ::std::option::Option::Some(is.read_string()?);
8880                },
8881                18 => {
8882                    is.read_repeated_packed_uint32_into(&mut self.appid_list)?;
8883                },
8884                16 => {
8885                    self.appid_list.push(is.read_uint32()?);
8886                },
8887                tag => {
8888                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8889                },
8890            };
8891        }
8892        ::std::result::Result::Ok(())
8893    }
8894
8895    // Compute sizes of nested messages
8896    #[allow(unused_variables)]
8897    fn compute_size(&self) -> u64 {
8898        let mut my_size = 0;
8899        if let Some(v) = self.platform.as_ref() {
8900            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
8901        }
8902        for value in &self.appid_list {
8903            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, *value);
8904        };
8905        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
8906        self.special_fields.cached_size().set(my_size as u32);
8907        my_size
8908    }
8909
8910    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8911        if let Some(v) = self.platform.as_ref() {
8912            os.write_string(1, v)?;
8913        }
8914        for v in &self.appid_list {
8915            os.write_uint32(2, *v)?;
8916        };
8917        os.write_unknown_fields(self.special_fields.unknown_fields())?;
8918        ::std::result::Result::Ok(())
8919    }
8920
8921    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8922        &self.special_fields
8923    }
8924
8925    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8926        &mut self.special_fields
8927    }
8928
8929    fn new() -> CCloudGaming_GetTimeRemaining_Request {
8930        CCloudGaming_GetTimeRemaining_Request::new()
8931    }
8932
8933    fn clear(&mut self) {
8934        self.platform = ::std::option::Option::None;
8935        self.appid_list.clear();
8936        self.special_fields.clear();
8937    }
8938
8939    fn default_instance() -> &'static CCloudGaming_GetTimeRemaining_Request {
8940        static instance: CCloudGaming_GetTimeRemaining_Request = CCloudGaming_GetTimeRemaining_Request {
8941            platform: ::std::option::Option::None,
8942            appid_list: ::std::vec::Vec::new(),
8943            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8944        };
8945        &instance
8946    }
8947}
8948
8949// @@protoc_insertion_point(message:CCloudGaming_TimeRemaining)
8950#[derive(PartialEq,Clone,Default,Debug)]
8951pub struct CCloudGaming_TimeRemaining {
8952    // message fields
8953    // @@protoc_insertion_point(field:CCloudGaming_TimeRemaining.appid)
8954    pub appid: ::std::option::Option<u32>,
8955    // @@protoc_insertion_point(field:CCloudGaming_TimeRemaining.minutes_remaining)
8956    pub minutes_remaining: ::std::option::Option<u32>,
8957    // special fields
8958    // @@protoc_insertion_point(special_field:CCloudGaming_TimeRemaining.special_fields)
8959    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8960}
8961
8962impl<'a> ::std::default::Default for &'a CCloudGaming_TimeRemaining {
8963    fn default() -> &'a CCloudGaming_TimeRemaining {
8964        <CCloudGaming_TimeRemaining as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8965    }
8966}
8967
8968impl CCloudGaming_TimeRemaining {
8969    pub fn new() -> CCloudGaming_TimeRemaining {
8970        ::std::default::Default::default()
8971    }
8972
8973    // optional uint32 appid = 1;
8974
8975    pub fn appid(&self) -> u32 {
8976        self.appid.unwrap_or(0)
8977    }
8978
8979    pub fn clear_appid(&mut self) {
8980        self.appid = ::std::option::Option::None;
8981    }
8982
8983    pub fn has_appid(&self) -> bool {
8984        self.appid.is_some()
8985    }
8986
8987    // Param is passed by value, moved
8988    pub fn set_appid(&mut self, v: u32) {
8989        self.appid = ::std::option::Option::Some(v);
8990    }
8991
8992    // optional uint32 minutes_remaining = 2;
8993
8994    pub fn minutes_remaining(&self) -> u32 {
8995        self.minutes_remaining.unwrap_or(0)
8996    }
8997
8998    pub fn clear_minutes_remaining(&mut self) {
8999        self.minutes_remaining = ::std::option::Option::None;
9000    }
9001
9002    pub fn has_minutes_remaining(&self) -> bool {
9003        self.minutes_remaining.is_some()
9004    }
9005
9006    // Param is passed by value, moved
9007    pub fn set_minutes_remaining(&mut self, v: u32) {
9008        self.minutes_remaining = ::std::option::Option::Some(v);
9009    }
9010}
9011
9012impl ::steam_vent_proto_common::protobuf::Message for CCloudGaming_TimeRemaining {
9013    const NAME: &'static str = "CCloudGaming_TimeRemaining";
9014
9015    fn is_initialized(&self) -> bool {
9016        true
9017    }
9018
9019    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9020        while let Some(tag) = is.read_raw_tag_or_eof()? {
9021            match tag {
9022                8 => {
9023                    self.appid = ::std::option::Option::Some(is.read_uint32()?);
9024                },
9025                16 => {
9026                    self.minutes_remaining = ::std::option::Option::Some(is.read_uint32()?);
9027                },
9028                tag => {
9029                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
9030                },
9031            };
9032        }
9033        ::std::result::Result::Ok(())
9034    }
9035
9036    // Compute sizes of nested messages
9037    #[allow(unused_variables)]
9038    fn compute_size(&self) -> u64 {
9039        let mut my_size = 0;
9040        if let Some(v) = self.appid {
9041            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
9042        }
9043        if let Some(v) = self.minutes_remaining {
9044            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
9045        }
9046        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
9047        self.special_fields.cached_size().set(my_size as u32);
9048        my_size
9049    }
9050
9051    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9052        if let Some(v) = self.appid {
9053            os.write_uint32(1, v)?;
9054        }
9055        if let Some(v) = self.minutes_remaining {
9056            os.write_uint32(2, v)?;
9057        }
9058        os.write_unknown_fields(self.special_fields.unknown_fields())?;
9059        ::std::result::Result::Ok(())
9060    }
9061
9062    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
9063        &self.special_fields
9064    }
9065
9066    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
9067        &mut self.special_fields
9068    }
9069
9070    fn new() -> CCloudGaming_TimeRemaining {
9071        CCloudGaming_TimeRemaining::new()
9072    }
9073
9074    fn clear(&mut self) {
9075        self.appid = ::std::option::Option::None;
9076        self.minutes_remaining = ::std::option::Option::None;
9077        self.special_fields.clear();
9078    }
9079
9080    fn default_instance() -> &'static CCloudGaming_TimeRemaining {
9081        static instance: CCloudGaming_TimeRemaining = CCloudGaming_TimeRemaining {
9082            appid: ::std::option::Option::None,
9083            minutes_remaining: ::std::option::Option::None,
9084            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
9085        };
9086        &instance
9087    }
9088}
9089
9090// @@protoc_insertion_point(message:CCloudGaming_GetTimeRemaining_Response)
9091#[derive(PartialEq,Clone,Default,Debug)]
9092pub struct CCloudGaming_GetTimeRemaining_Response {
9093    // message fields
9094    // @@protoc_insertion_point(field:CCloudGaming_GetTimeRemaining_Response.entries)
9095    pub entries: ::std::vec::Vec<CCloudGaming_TimeRemaining>,
9096    // special fields
9097    // @@protoc_insertion_point(special_field:CCloudGaming_GetTimeRemaining_Response.special_fields)
9098    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
9099}
9100
9101impl<'a> ::std::default::Default for &'a CCloudGaming_GetTimeRemaining_Response {
9102    fn default() -> &'a CCloudGaming_GetTimeRemaining_Response {
9103        <CCloudGaming_GetTimeRemaining_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
9104    }
9105}
9106
9107impl CCloudGaming_GetTimeRemaining_Response {
9108    pub fn new() -> CCloudGaming_GetTimeRemaining_Response {
9109        ::std::default::Default::default()
9110    }
9111}
9112
9113impl ::steam_vent_proto_common::protobuf::Message for CCloudGaming_GetTimeRemaining_Response {
9114    const NAME: &'static str = "CCloudGaming_GetTimeRemaining_Response";
9115
9116    fn is_initialized(&self) -> bool {
9117        true
9118    }
9119
9120    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9121        while let Some(tag) = is.read_raw_tag_or_eof()? {
9122            match tag {
9123                18 => {
9124                    self.entries.push(is.read_message()?);
9125                },
9126                tag => {
9127                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
9128                },
9129            };
9130        }
9131        ::std::result::Result::Ok(())
9132    }
9133
9134    // Compute sizes of nested messages
9135    #[allow(unused_variables)]
9136    fn compute_size(&self) -> u64 {
9137        let mut my_size = 0;
9138        for value in &self.entries {
9139            let len = value.compute_size();
9140            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
9141        };
9142        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
9143        self.special_fields.cached_size().set(my_size as u32);
9144        my_size
9145    }
9146
9147    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9148        for v in &self.entries {
9149            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
9150        };
9151        os.write_unknown_fields(self.special_fields.unknown_fields())?;
9152        ::std::result::Result::Ok(())
9153    }
9154
9155    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
9156        &self.special_fields
9157    }
9158
9159    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
9160        &mut self.special_fields
9161    }
9162
9163    fn new() -> CCloudGaming_GetTimeRemaining_Response {
9164        CCloudGaming_GetTimeRemaining_Response::new()
9165    }
9166
9167    fn clear(&mut self) {
9168        self.entries.clear();
9169        self.special_fields.clear();
9170    }
9171
9172    fn default_instance() -> &'static CCloudGaming_GetTimeRemaining_Response {
9173        static instance: CCloudGaming_GetTimeRemaining_Response = CCloudGaming_GetTimeRemaining_Response {
9174            entries: ::std::vec::Vec::new(),
9175            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
9176        };
9177        &instance
9178    }
9179}
9180
9181#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
9182// @@protoc_insertion_point(enum:EAuthTokenPlatformType)
9183pub enum EAuthTokenPlatformType {
9184    // @@protoc_insertion_point(enum_value:EAuthTokenPlatformType.k_EAuthTokenPlatformType_Unknown)
9185    k_EAuthTokenPlatformType_Unknown = 0,
9186    // @@protoc_insertion_point(enum_value:EAuthTokenPlatformType.k_EAuthTokenPlatformType_SteamClient)
9187    k_EAuthTokenPlatformType_SteamClient = 1,
9188    // @@protoc_insertion_point(enum_value:EAuthTokenPlatformType.k_EAuthTokenPlatformType_WebBrowser)
9189    k_EAuthTokenPlatformType_WebBrowser = 2,
9190    // @@protoc_insertion_point(enum_value:EAuthTokenPlatformType.k_EAuthTokenPlatformType_MobileApp)
9191    k_EAuthTokenPlatformType_MobileApp = 3,
9192}
9193
9194impl ::steam_vent_proto_common::protobuf::Enum for EAuthTokenPlatformType {
9195    const NAME: &'static str = "EAuthTokenPlatformType";
9196
9197    fn value(&self) -> i32 {
9198        *self as i32
9199    }
9200
9201    fn from_i32(value: i32) -> ::std::option::Option<EAuthTokenPlatformType> {
9202        match value {
9203            0 => ::std::option::Option::Some(EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown),
9204            1 => ::std::option::Option::Some(EAuthTokenPlatformType::k_EAuthTokenPlatformType_SteamClient),
9205            2 => ::std::option::Option::Some(EAuthTokenPlatformType::k_EAuthTokenPlatformType_WebBrowser),
9206            3 => ::std::option::Option::Some(EAuthTokenPlatformType::k_EAuthTokenPlatformType_MobileApp),
9207            _ => ::std::option::Option::None
9208        }
9209    }
9210
9211    fn from_str(str: &str) -> ::std::option::Option<EAuthTokenPlatformType> {
9212        match str {
9213            "k_EAuthTokenPlatformType_Unknown" => ::std::option::Option::Some(EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown),
9214            "k_EAuthTokenPlatformType_SteamClient" => ::std::option::Option::Some(EAuthTokenPlatformType::k_EAuthTokenPlatformType_SteamClient),
9215            "k_EAuthTokenPlatformType_WebBrowser" => ::std::option::Option::Some(EAuthTokenPlatformType::k_EAuthTokenPlatformType_WebBrowser),
9216            "k_EAuthTokenPlatformType_MobileApp" => ::std::option::Option::Some(EAuthTokenPlatformType::k_EAuthTokenPlatformType_MobileApp),
9217            _ => ::std::option::Option::None
9218        }
9219    }
9220
9221    const VALUES: &'static [EAuthTokenPlatformType] = &[
9222        EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown,
9223        EAuthTokenPlatformType::k_EAuthTokenPlatformType_SteamClient,
9224        EAuthTokenPlatformType::k_EAuthTokenPlatformType_WebBrowser,
9225        EAuthTokenPlatformType::k_EAuthTokenPlatformType_MobileApp,
9226    ];
9227}
9228
9229impl ::std::default::Default for EAuthTokenPlatformType {
9230    fn default() -> Self {
9231        EAuthTokenPlatformType::k_EAuthTokenPlatformType_Unknown
9232    }
9233}
9234
9235
9236#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
9237// @@protoc_insertion_point(enum:EAuthSessionGuardType)
9238pub enum EAuthSessionGuardType {
9239    // @@protoc_insertion_point(enum_value:EAuthSessionGuardType.k_EAuthSessionGuardType_Unknown)
9240    k_EAuthSessionGuardType_Unknown = 0,
9241    // @@protoc_insertion_point(enum_value:EAuthSessionGuardType.k_EAuthSessionGuardType_None)
9242    k_EAuthSessionGuardType_None = 1,
9243    // @@protoc_insertion_point(enum_value:EAuthSessionGuardType.k_EAuthSessionGuardType_EmailCode)
9244    k_EAuthSessionGuardType_EmailCode = 2,
9245    // @@protoc_insertion_point(enum_value:EAuthSessionGuardType.k_EAuthSessionGuardType_DeviceCode)
9246    k_EAuthSessionGuardType_DeviceCode = 3,
9247    // @@protoc_insertion_point(enum_value:EAuthSessionGuardType.k_EAuthSessionGuardType_DeviceConfirmation)
9248    k_EAuthSessionGuardType_DeviceConfirmation = 4,
9249    // @@protoc_insertion_point(enum_value:EAuthSessionGuardType.k_EAuthSessionGuardType_EmailConfirmation)
9250    k_EAuthSessionGuardType_EmailConfirmation = 5,
9251    // @@protoc_insertion_point(enum_value:EAuthSessionGuardType.k_EAuthSessionGuardType_MachineToken)
9252    k_EAuthSessionGuardType_MachineToken = 6,
9253    // @@protoc_insertion_point(enum_value:EAuthSessionGuardType.k_EAuthSessionGuardType_LegacyMachineAuth)
9254    k_EAuthSessionGuardType_LegacyMachineAuth = 7,
9255}
9256
9257impl ::steam_vent_proto_common::protobuf::Enum for EAuthSessionGuardType {
9258    const NAME: &'static str = "EAuthSessionGuardType";
9259
9260    fn value(&self) -> i32 {
9261        *self as i32
9262    }
9263
9264    fn from_i32(value: i32) -> ::std::option::Option<EAuthSessionGuardType> {
9265        match value {
9266            0 => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_Unknown),
9267            1 => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_None),
9268            2 => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_EmailCode),
9269            3 => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_DeviceCode),
9270            4 => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_DeviceConfirmation),
9271            5 => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_EmailConfirmation),
9272            6 => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_MachineToken),
9273            7 => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_LegacyMachineAuth),
9274            _ => ::std::option::Option::None
9275        }
9276    }
9277
9278    fn from_str(str: &str) -> ::std::option::Option<EAuthSessionGuardType> {
9279        match str {
9280            "k_EAuthSessionGuardType_Unknown" => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_Unknown),
9281            "k_EAuthSessionGuardType_None" => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_None),
9282            "k_EAuthSessionGuardType_EmailCode" => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_EmailCode),
9283            "k_EAuthSessionGuardType_DeviceCode" => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_DeviceCode),
9284            "k_EAuthSessionGuardType_DeviceConfirmation" => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_DeviceConfirmation),
9285            "k_EAuthSessionGuardType_EmailConfirmation" => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_EmailConfirmation),
9286            "k_EAuthSessionGuardType_MachineToken" => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_MachineToken),
9287            "k_EAuthSessionGuardType_LegacyMachineAuth" => ::std::option::Option::Some(EAuthSessionGuardType::k_EAuthSessionGuardType_LegacyMachineAuth),
9288            _ => ::std::option::Option::None
9289        }
9290    }
9291
9292    const VALUES: &'static [EAuthSessionGuardType] = &[
9293        EAuthSessionGuardType::k_EAuthSessionGuardType_Unknown,
9294        EAuthSessionGuardType::k_EAuthSessionGuardType_None,
9295        EAuthSessionGuardType::k_EAuthSessionGuardType_EmailCode,
9296        EAuthSessionGuardType::k_EAuthSessionGuardType_DeviceCode,
9297        EAuthSessionGuardType::k_EAuthSessionGuardType_DeviceConfirmation,
9298        EAuthSessionGuardType::k_EAuthSessionGuardType_EmailConfirmation,
9299        EAuthSessionGuardType::k_EAuthSessionGuardType_MachineToken,
9300        EAuthSessionGuardType::k_EAuthSessionGuardType_LegacyMachineAuth,
9301    ];
9302}
9303
9304impl ::std::default::Default for EAuthSessionGuardType {
9305    fn default() -> Self {
9306        EAuthSessionGuardType::k_EAuthSessionGuardType_Unknown
9307    }
9308}
9309
9310
9311#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
9312// @@protoc_insertion_point(enum:EAuthSessionSecurityHistory)
9313pub enum EAuthSessionSecurityHistory {
9314    // @@protoc_insertion_point(enum_value:EAuthSessionSecurityHistory.k_EAuthSessionSecurityHistory_Invalid)
9315    k_EAuthSessionSecurityHistory_Invalid = 0,
9316    // @@protoc_insertion_point(enum_value:EAuthSessionSecurityHistory.k_EAuthSessionSecurityHistory_UsedPreviously)
9317    k_EAuthSessionSecurityHistory_UsedPreviously = 1,
9318    // @@protoc_insertion_point(enum_value:EAuthSessionSecurityHistory.k_EAuthSessionSecurityHistory_NoPriorHistory)
9319    k_EAuthSessionSecurityHistory_NoPriorHistory = 2,
9320}
9321
9322impl ::steam_vent_proto_common::protobuf::Enum for EAuthSessionSecurityHistory {
9323    const NAME: &'static str = "EAuthSessionSecurityHistory";
9324
9325    fn value(&self) -> i32 {
9326        *self as i32
9327    }
9328
9329    fn from_i32(value: i32) -> ::std::option::Option<EAuthSessionSecurityHistory> {
9330        match value {
9331            0 => ::std::option::Option::Some(EAuthSessionSecurityHistory::k_EAuthSessionSecurityHistory_Invalid),
9332            1 => ::std::option::Option::Some(EAuthSessionSecurityHistory::k_EAuthSessionSecurityHistory_UsedPreviously),
9333            2 => ::std::option::Option::Some(EAuthSessionSecurityHistory::k_EAuthSessionSecurityHistory_NoPriorHistory),
9334            _ => ::std::option::Option::None
9335        }
9336    }
9337
9338    fn from_str(str: &str) -> ::std::option::Option<EAuthSessionSecurityHistory> {
9339        match str {
9340            "k_EAuthSessionSecurityHistory_Invalid" => ::std::option::Option::Some(EAuthSessionSecurityHistory::k_EAuthSessionSecurityHistory_Invalid),
9341            "k_EAuthSessionSecurityHistory_UsedPreviously" => ::std::option::Option::Some(EAuthSessionSecurityHistory::k_EAuthSessionSecurityHistory_UsedPreviously),
9342            "k_EAuthSessionSecurityHistory_NoPriorHistory" => ::std::option::Option::Some(EAuthSessionSecurityHistory::k_EAuthSessionSecurityHistory_NoPriorHistory),
9343            _ => ::std::option::Option::None
9344        }
9345    }
9346
9347    const VALUES: &'static [EAuthSessionSecurityHistory] = &[
9348        EAuthSessionSecurityHistory::k_EAuthSessionSecurityHistory_Invalid,
9349        EAuthSessionSecurityHistory::k_EAuthSessionSecurityHistory_UsedPreviously,
9350        EAuthSessionSecurityHistory::k_EAuthSessionSecurityHistory_NoPriorHistory,
9351    ];
9352}
9353
9354impl ::std::default::Default for EAuthSessionSecurityHistory {
9355    fn default() -> Self {
9356        EAuthSessionSecurityHistory::k_EAuthSessionSecurityHistory_Invalid
9357    }
9358}
9359
9360
9361#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
9362// @@protoc_insertion_point(enum:ETokenRenewalType)
9363pub enum ETokenRenewalType {
9364    // @@protoc_insertion_point(enum_value:ETokenRenewalType.k_ETokenRenewalType_None)
9365    k_ETokenRenewalType_None = 0,
9366    // @@protoc_insertion_point(enum_value:ETokenRenewalType.k_ETokenRenewalType_Allow)
9367    k_ETokenRenewalType_Allow = 1,
9368}
9369
9370impl ::steam_vent_proto_common::protobuf::Enum for ETokenRenewalType {
9371    const NAME: &'static str = "ETokenRenewalType";
9372
9373    fn value(&self) -> i32 {
9374        *self as i32
9375    }
9376
9377    fn from_i32(value: i32) -> ::std::option::Option<ETokenRenewalType> {
9378        match value {
9379            0 => ::std::option::Option::Some(ETokenRenewalType::k_ETokenRenewalType_None),
9380            1 => ::std::option::Option::Some(ETokenRenewalType::k_ETokenRenewalType_Allow),
9381            _ => ::std::option::Option::None
9382        }
9383    }
9384
9385    fn from_str(str: &str) -> ::std::option::Option<ETokenRenewalType> {
9386        match str {
9387            "k_ETokenRenewalType_None" => ::std::option::Option::Some(ETokenRenewalType::k_ETokenRenewalType_None),
9388            "k_ETokenRenewalType_Allow" => ::std::option::Option::Some(ETokenRenewalType::k_ETokenRenewalType_Allow),
9389            _ => ::std::option::Option::None
9390        }
9391    }
9392
9393    const VALUES: &'static [ETokenRenewalType] = &[
9394        ETokenRenewalType::k_ETokenRenewalType_None,
9395        ETokenRenewalType::k_ETokenRenewalType_Allow,
9396    ];
9397}
9398
9399impl ::std::default::Default for ETokenRenewalType {
9400    fn default() -> Self {
9401        ETokenRenewalType::k_ETokenRenewalType_None
9402    }
9403}
9404
9405
9406#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
9407// @@protoc_insertion_point(enum:EAuthenticationType)
9408pub enum EAuthenticationType {
9409    // @@protoc_insertion_point(enum_value:EAuthenticationType.k_EAuthenticationType_Unknown)
9410    k_EAuthenticationType_Unknown = 0,
9411    // @@protoc_insertion_point(enum_value:EAuthenticationType.k_EAuthenticationType_Password)
9412    k_EAuthenticationType_Password = 1,
9413    // @@protoc_insertion_point(enum_value:EAuthenticationType.k_EAuthenticationType_QR)
9414    k_EAuthenticationType_QR = 2,
9415    // @@protoc_insertion_point(enum_value:EAuthenticationType.k_EAuthenticationType_AccountCreation)
9416    k_EAuthenticationType_AccountCreation = 3,
9417    // @@protoc_insertion_point(enum_value:EAuthenticationType.k_EAuthenticationType_GuestAccount)
9418    k_EAuthenticationType_GuestAccount = 4,
9419}
9420
9421impl ::steam_vent_proto_common::protobuf::Enum for EAuthenticationType {
9422    const NAME: &'static str = "EAuthenticationType";
9423
9424    fn value(&self) -> i32 {
9425        *self as i32
9426    }
9427
9428    fn from_i32(value: i32) -> ::std::option::Option<EAuthenticationType> {
9429        match value {
9430            0 => ::std::option::Option::Some(EAuthenticationType::k_EAuthenticationType_Unknown),
9431            1 => ::std::option::Option::Some(EAuthenticationType::k_EAuthenticationType_Password),
9432            2 => ::std::option::Option::Some(EAuthenticationType::k_EAuthenticationType_QR),
9433            3 => ::std::option::Option::Some(EAuthenticationType::k_EAuthenticationType_AccountCreation),
9434            4 => ::std::option::Option::Some(EAuthenticationType::k_EAuthenticationType_GuestAccount),
9435            _ => ::std::option::Option::None
9436        }
9437    }
9438
9439    fn from_str(str: &str) -> ::std::option::Option<EAuthenticationType> {
9440        match str {
9441            "k_EAuthenticationType_Unknown" => ::std::option::Option::Some(EAuthenticationType::k_EAuthenticationType_Unknown),
9442            "k_EAuthenticationType_Password" => ::std::option::Option::Some(EAuthenticationType::k_EAuthenticationType_Password),
9443            "k_EAuthenticationType_QR" => ::std::option::Option::Some(EAuthenticationType::k_EAuthenticationType_QR),
9444            "k_EAuthenticationType_AccountCreation" => ::std::option::Option::Some(EAuthenticationType::k_EAuthenticationType_AccountCreation),
9445            "k_EAuthenticationType_GuestAccount" => ::std::option::Option::Some(EAuthenticationType::k_EAuthenticationType_GuestAccount),
9446            _ => ::std::option::Option::None
9447        }
9448    }
9449
9450    const VALUES: &'static [EAuthenticationType] = &[
9451        EAuthenticationType::k_EAuthenticationType_Unknown,
9452        EAuthenticationType::k_EAuthenticationType_Password,
9453        EAuthenticationType::k_EAuthenticationType_QR,
9454        EAuthenticationType::k_EAuthenticationType_AccountCreation,
9455        EAuthenticationType::k_EAuthenticationType_GuestAccount,
9456    ];
9457}
9458
9459impl ::std::default::Default for EAuthenticationType {
9460    fn default() -> Self {
9461        EAuthenticationType::k_EAuthenticationType_Unknown
9462    }
9463}
9464
9465
9466#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
9467// @@protoc_insertion_point(enum:EAuthTokenRevokeAction)
9468pub enum EAuthTokenRevokeAction {
9469    // @@protoc_insertion_point(enum_value:EAuthTokenRevokeAction.k_EAuthTokenRevokeLogout)
9470    k_EAuthTokenRevokeLogout = 0,
9471    // @@protoc_insertion_point(enum_value:EAuthTokenRevokeAction.k_EAuthTokenRevokePermanent)
9472    k_EAuthTokenRevokePermanent = 1,
9473    // @@protoc_insertion_point(enum_value:EAuthTokenRevokeAction.k_EAuthTokenRevokeReplaced)
9474    k_EAuthTokenRevokeReplaced = 2,
9475    // @@protoc_insertion_point(enum_value:EAuthTokenRevokeAction.k_EAuthTokenRevokeSupport)
9476    k_EAuthTokenRevokeSupport = 3,
9477    // @@protoc_insertion_point(enum_value:EAuthTokenRevokeAction.k_EAuthTokenRevokeConsume)
9478    k_EAuthTokenRevokeConsume = 4,
9479    // @@protoc_insertion_point(enum_value:EAuthTokenRevokeAction.k_EAuthTokenRevokeNonRememberedLogout)
9480    k_EAuthTokenRevokeNonRememberedLogout = 5,
9481    // @@protoc_insertion_point(enum_value:EAuthTokenRevokeAction.k_EAuthTokenRevokeNonRememberedPermanent)
9482    k_EAuthTokenRevokeNonRememberedPermanent = 6,
9483    // @@protoc_insertion_point(enum_value:EAuthTokenRevokeAction.k_EAuthTokenRevokeAutomatic)
9484    k_EAuthTokenRevokeAutomatic = 7,
9485}
9486
9487impl ::steam_vent_proto_common::protobuf::Enum for EAuthTokenRevokeAction {
9488    const NAME: &'static str = "EAuthTokenRevokeAction";
9489
9490    fn value(&self) -> i32 {
9491        *self as i32
9492    }
9493
9494    fn from_i32(value: i32) -> ::std::option::Option<EAuthTokenRevokeAction> {
9495        match value {
9496            0 => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeLogout),
9497            1 => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokePermanent),
9498            2 => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeReplaced),
9499            3 => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeSupport),
9500            4 => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeConsume),
9501            5 => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeNonRememberedLogout),
9502            6 => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeNonRememberedPermanent),
9503            7 => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeAutomatic),
9504            _ => ::std::option::Option::None
9505        }
9506    }
9507
9508    fn from_str(str: &str) -> ::std::option::Option<EAuthTokenRevokeAction> {
9509        match str {
9510            "k_EAuthTokenRevokeLogout" => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeLogout),
9511            "k_EAuthTokenRevokePermanent" => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokePermanent),
9512            "k_EAuthTokenRevokeReplaced" => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeReplaced),
9513            "k_EAuthTokenRevokeSupport" => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeSupport),
9514            "k_EAuthTokenRevokeConsume" => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeConsume),
9515            "k_EAuthTokenRevokeNonRememberedLogout" => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeNonRememberedLogout),
9516            "k_EAuthTokenRevokeNonRememberedPermanent" => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeNonRememberedPermanent),
9517            "k_EAuthTokenRevokeAutomatic" => ::std::option::Option::Some(EAuthTokenRevokeAction::k_EAuthTokenRevokeAutomatic),
9518            _ => ::std::option::Option::None
9519        }
9520    }
9521
9522    const VALUES: &'static [EAuthTokenRevokeAction] = &[
9523        EAuthTokenRevokeAction::k_EAuthTokenRevokeLogout,
9524        EAuthTokenRevokeAction::k_EAuthTokenRevokePermanent,
9525        EAuthTokenRevokeAction::k_EAuthTokenRevokeReplaced,
9526        EAuthTokenRevokeAction::k_EAuthTokenRevokeSupport,
9527        EAuthTokenRevokeAction::k_EAuthTokenRevokeConsume,
9528        EAuthTokenRevokeAction::k_EAuthTokenRevokeNonRememberedLogout,
9529        EAuthTokenRevokeAction::k_EAuthTokenRevokeNonRememberedPermanent,
9530        EAuthTokenRevokeAction::k_EAuthTokenRevokeAutomatic,
9531    ];
9532}
9533
9534impl ::std::default::Default for EAuthTokenRevokeAction {
9535    fn default() -> Self {
9536        EAuthTokenRevokeAction::k_EAuthTokenRevokeLogout
9537    }
9538}
9539
9540
9541#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
9542// @@protoc_insertion_point(enum:EAuthTokenState)
9543pub enum EAuthTokenState {
9544    // @@protoc_insertion_point(enum_value:EAuthTokenState.k_EAuthTokenState_Invalid)
9545    k_EAuthTokenState_Invalid = 0,
9546    // @@protoc_insertion_point(enum_value:EAuthTokenState.k_EAuthTokenState_New)
9547    k_EAuthTokenState_New = 1,
9548    // @@protoc_insertion_point(enum_value:EAuthTokenState.k_EAuthTokenState_Confirmed)
9549    k_EAuthTokenState_Confirmed = 2,
9550    // @@protoc_insertion_point(enum_value:EAuthTokenState.k_EAuthTokenState_Issued)
9551    k_EAuthTokenState_Issued = 3,
9552    // @@protoc_insertion_point(enum_value:EAuthTokenState.k_EAuthTokenState_Denied)
9553    k_EAuthTokenState_Denied = 4,
9554    // @@protoc_insertion_point(enum_value:EAuthTokenState.k_EAuthTokenState_LoggedOut)
9555    k_EAuthTokenState_LoggedOut = 5,
9556    // @@protoc_insertion_point(enum_value:EAuthTokenState.k_EAuthTokenState_Consumed)
9557    k_EAuthTokenState_Consumed = 6,
9558    // @@protoc_insertion_point(enum_value:EAuthTokenState.k_EAuthTokenState_Revoked)
9559    k_EAuthTokenState_Revoked = 99,
9560}
9561
9562impl ::steam_vent_proto_common::protobuf::Enum for EAuthTokenState {
9563    const NAME: &'static str = "EAuthTokenState";
9564
9565    fn value(&self) -> i32 {
9566        *self as i32
9567    }
9568
9569    fn from_i32(value: i32) -> ::std::option::Option<EAuthTokenState> {
9570        match value {
9571            0 => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_Invalid),
9572            1 => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_New),
9573            2 => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_Confirmed),
9574            3 => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_Issued),
9575            4 => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_Denied),
9576            5 => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_LoggedOut),
9577            6 => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_Consumed),
9578            99 => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_Revoked),
9579            _ => ::std::option::Option::None
9580        }
9581    }
9582
9583    fn from_str(str: &str) -> ::std::option::Option<EAuthTokenState> {
9584        match str {
9585            "k_EAuthTokenState_Invalid" => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_Invalid),
9586            "k_EAuthTokenState_New" => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_New),
9587            "k_EAuthTokenState_Confirmed" => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_Confirmed),
9588            "k_EAuthTokenState_Issued" => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_Issued),
9589            "k_EAuthTokenState_Denied" => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_Denied),
9590            "k_EAuthTokenState_LoggedOut" => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_LoggedOut),
9591            "k_EAuthTokenState_Consumed" => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_Consumed),
9592            "k_EAuthTokenState_Revoked" => ::std::option::Option::Some(EAuthTokenState::k_EAuthTokenState_Revoked),
9593            _ => ::std::option::Option::None
9594        }
9595    }
9596
9597    const VALUES: &'static [EAuthTokenState] = &[
9598        EAuthTokenState::k_EAuthTokenState_Invalid,
9599        EAuthTokenState::k_EAuthTokenState_New,
9600        EAuthTokenState::k_EAuthTokenState_Confirmed,
9601        EAuthTokenState::k_EAuthTokenState_Issued,
9602        EAuthTokenState::k_EAuthTokenState_Denied,
9603        EAuthTokenState::k_EAuthTokenState_LoggedOut,
9604        EAuthTokenState::k_EAuthTokenState_Consumed,
9605        EAuthTokenState::k_EAuthTokenState_Revoked,
9606    ];
9607}
9608
9609impl ::std::default::Default for EAuthTokenState {
9610    fn default() -> Self {
9611        EAuthTokenState::k_EAuthTokenState_Invalid
9612    }
9613}
9614
9615
9616
9617const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
9618
9619#[allow(unused_imports)]
9620use crate::steammessages_base::*;
9621#[allow(unused_imports)]
9622use crate::steammessages_unified_base_steamclient::*;
9623#[allow(unused_imports)]
9624use crate::enums::*;
9625impl ::steam_vent_proto_common::RpcMessage
9626for CAuthentication_GetPasswordRSAPublicKey_Request {
9627    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9628        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9629    }
9630    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9631        use ::steam_vent_proto_common::protobuf::Message;
9632        self.write_to_writer(writer)
9633    }
9634    fn encode_size(&self) -> usize {
9635        use ::steam_vent_proto_common::protobuf::Message;
9636        self.compute_size() as usize
9637    }
9638}
9639impl ::steam_vent_proto_common::RpcMessage
9640for CAuthentication_GetPasswordRSAPublicKey_Response {
9641    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9642        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9643    }
9644    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9645        use ::steam_vent_proto_common::protobuf::Message;
9646        self.write_to_writer(writer)
9647    }
9648    fn encode_size(&self) -> usize {
9649        use ::steam_vent_proto_common::protobuf::Message;
9650        self.compute_size() as usize
9651    }
9652}
9653impl ::steam_vent_proto_common::RpcMessage for CAuthentication_DeviceDetails {
9654    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9655        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9656    }
9657    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9658        use ::steam_vent_proto_common::protobuf::Message;
9659        self.write_to_writer(writer)
9660    }
9661    fn encode_size(&self) -> usize {
9662        use ::steam_vent_proto_common::protobuf::Message;
9663        self.compute_size() as usize
9664    }
9665}
9666impl ::steam_vent_proto_common::RpcMessage
9667for CAuthentication_BeginAuthSessionViaQR_Request {
9668    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9669        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9670    }
9671    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9672        use ::steam_vent_proto_common::protobuf::Message;
9673        self.write_to_writer(writer)
9674    }
9675    fn encode_size(&self) -> usize {
9676        use ::steam_vent_proto_common::protobuf::Message;
9677        self.compute_size() as usize
9678    }
9679}
9680impl ::steam_vent_proto_common::RpcMessage for CAuthentication_AllowedConfirmation {
9681    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9682        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9683    }
9684    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9685        use ::steam_vent_proto_common::protobuf::Message;
9686        self.write_to_writer(writer)
9687    }
9688    fn encode_size(&self) -> usize {
9689        use ::steam_vent_proto_common::protobuf::Message;
9690        self.compute_size() as usize
9691    }
9692}
9693impl ::steam_vent_proto_common::RpcMessage
9694for CAuthentication_BeginAuthSessionViaQR_Response {
9695    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9696        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9697    }
9698    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9699        use ::steam_vent_proto_common::protobuf::Message;
9700        self.write_to_writer(writer)
9701    }
9702    fn encode_size(&self) -> usize {
9703        use ::steam_vent_proto_common::protobuf::Message;
9704        self.compute_size() as usize
9705    }
9706}
9707impl ::steam_vent_proto_common::RpcMessage
9708for CAuthentication_BeginAuthSessionViaCredentials_Request {
9709    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9710        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9711    }
9712    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9713        use ::steam_vent_proto_common::protobuf::Message;
9714        self.write_to_writer(writer)
9715    }
9716    fn encode_size(&self) -> usize {
9717        use ::steam_vent_proto_common::protobuf::Message;
9718        self.compute_size() as usize
9719    }
9720}
9721impl ::steam_vent_proto_common::RpcMessage
9722for CAuthentication_BeginAuthSessionViaCredentials_Response {
9723    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9724        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9725    }
9726    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9727        use ::steam_vent_proto_common::protobuf::Message;
9728        self.write_to_writer(writer)
9729    }
9730    fn encode_size(&self) -> usize {
9731        use ::steam_vent_proto_common::protobuf::Message;
9732        self.compute_size() as usize
9733    }
9734}
9735impl ::steam_vent_proto_common::RpcMessage
9736for CAuthentication_PollAuthSessionStatus_Request {
9737    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9738        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9739    }
9740    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9741        use ::steam_vent_proto_common::protobuf::Message;
9742        self.write_to_writer(writer)
9743    }
9744    fn encode_size(&self) -> usize {
9745        use ::steam_vent_proto_common::protobuf::Message;
9746        self.compute_size() as usize
9747    }
9748}
9749impl ::steam_vent_proto_common::RpcMessage
9750for CAuthentication_PollAuthSessionStatus_Response {
9751    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9752        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9753    }
9754    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9755        use ::steam_vent_proto_common::protobuf::Message;
9756        self.write_to_writer(writer)
9757    }
9758    fn encode_size(&self) -> usize {
9759        use ::steam_vent_proto_common::protobuf::Message;
9760        self.compute_size() as usize
9761    }
9762}
9763impl ::steam_vent_proto_common::RpcMessage
9764for CAuthentication_GetAuthSessionInfo_Request {
9765    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9766        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9767    }
9768    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9769        use ::steam_vent_proto_common::protobuf::Message;
9770        self.write_to_writer(writer)
9771    }
9772    fn encode_size(&self) -> usize {
9773        use ::steam_vent_proto_common::protobuf::Message;
9774        self.compute_size() as usize
9775    }
9776}
9777impl ::steam_vent_proto_common::RpcMessage
9778for CAuthentication_GetAuthSessionInfo_Response {
9779    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9780        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9781    }
9782    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9783        use ::steam_vent_proto_common::protobuf::Message;
9784        self.write_to_writer(writer)
9785    }
9786    fn encode_size(&self) -> usize {
9787        use ::steam_vent_proto_common::protobuf::Message;
9788        self.compute_size() as usize
9789    }
9790}
9791impl ::steam_vent_proto_common::RpcMessage
9792for CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
9793    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9794        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9795    }
9796    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9797        use ::steam_vent_proto_common::protobuf::Message;
9798        self.write_to_writer(writer)
9799    }
9800    fn encode_size(&self) -> usize {
9801        use ::steam_vent_proto_common::protobuf::Message;
9802        self.compute_size() as usize
9803    }
9804}
9805impl ::steam_vent_proto_common::RpcMessage
9806for CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response {
9807    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9808        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9809    }
9810    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9811        use ::steam_vent_proto_common::protobuf::Message;
9812        self.write_to_writer(writer)
9813    }
9814    fn encode_size(&self) -> usize {
9815        use ::steam_vent_proto_common::protobuf::Message;
9816        self.compute_size() as usize
9817    }
9818}
9819impl ::steam_vent_proto_common::RpcMessage
9820for CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
9821    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9822        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9823    }
9824    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9825        use ::steam_vent_proto_common::protobuf::Message;
9826        self.write_to_writer(writer)
9827    }
9828    fn encode_size(&self) -> usize {
9829        use ::steam_vent_proto_common::protobuf::Message;
9830        self.compute_size() as usize
9831    }
9832}
9833impl ::steam_vent_proto_common::RpcMessage
9834for CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response {
9835    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9836        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9837    }
9838    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9839        use ::steam_vent_proto_common::protobuf::Message;
9840        self.write_to_writer(writer)
9841    }
9842    fn encode_size(&self) -> usize {
9843        use ::steam_vent_proto_common::protobuf::Message;
9844        self.compute_size() as usize
9845    }
9846}
9847impl ::steam_vent_proto_common::RpcMessage
9848for CAuthentication_AccessToken_GenerateForApp_Request {
9849    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9850        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9851    }
9852    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9853        use ::steam_vent_proto_common::protobuf::Message;
9854        self.write_to_writer(writer)
9855    }
9856    fn encode_size(&self) -> usize {
9857        use ::steam_vent_proto_common::protobuf::Message;
9858        self.compute_size() as usize
9859    }
9860}
9861impl ::steam_vent_proto_common::RpcMessage
9862for CAuthentication_AccessToken_GenerateForApp_Response {
9863    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9864        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9865    }
9866    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9867        use ::steam_vent_proto_common::protobuf::Message;
9868        self.write_to_writer(writer)
9869    }
9870    fn encode_size(&self) -> usize {
9871        use ::steam_vent_proto_common::protobuf::Message;
9872        self.compute_size() as usize
9873    }
9874}
9875impl ::steam_vent_proto_common::RpcMessage
9876for CAuthentication_RefreshToken_Enumerate_Request {
9877    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9878        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9879    }
9880    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9881        use ::steam_vent_proto_common::protobuf::Message;
9882        self.write_to_writer(writer)
9883    }
9884    fn encode_size(&self) -> usize {
9885        use ::steam_vent_proto_common::protobuf::Message;
9886        self.compute_size() as usize
9887    }
9888}
9889impl ::steam_vent_proto_common::RpcMessage
9890for CAuthentication_RefreshToken_Enumerate_Response {
9891    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9892        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9893    }
9894    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9895        use ::steam_vent_proto_common::protobuf::Message;
9896        self.write_to_writer(writer)
9897    }
9898    fn encode_size(&self) -> usize {
9899        use ::steam_vent_proto_common::protobuf::Message;
9900        self.compute_size() as usize
9901    }
9902}
9903impl ::steam_vent_proto_common::RpcMessage
9904for CAuthentication_GetAuthSessionsForAccount_Request {
9905    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9906        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9907    }
9908    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9909        use ::steam_vent_proto_common::protobuf::Message;
9910        self.write_to_writer(writer)
9911    }
9912    fn encode_size(&self) -> usize {
9913        use ::steam_vent_proto_common::protobuf::Message;
9914        self.compute_size() as usize
9915    }
9916}
9917impl ::steam_vent_proto_common::RpcMessage
9918for CAuthentication_GetAuthSessionsForAccount_Response {
9919    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9920        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9921    }
9922    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9923        use ::steam_vent_proto_common::protobuf::Message;
9924        self.write_to_writer(writer)
9925    }
9926    fn encode_size(&self) -> usize {
9927        use ::steam_vent_proto_common::protobuf::Message;
9928        self.compute_size() as usize
9929    }
9930}
9931impl ::steam_vent_proto_common::RpcMessage
9932for CAuthentication_MigrateMobileSession_Request {
9933    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9934        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9935    }
9936    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9937        use ::steam_vent_proto_common::protobuf::Message;
9938        self.write_to_writer(writer)
9939    }
9940    fn encode_size(&self) -> usize {
9941        use ::steam_vent_proto_common::protobuf::Message;
9942        self.compute_size() as usize
9943    }
9944}
9945impl ::steam_vent_proto_common::RpcMessage
9946for CAuthentication_MigrateMobileSession_Response {
9947    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9948        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9949    }
9950    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9951        use ::steam_vent_proto_common::protobuf::Message;
9952        self.write_to_writer(writer)
9953    }
9954    fn encode_size(&self) -> usize {
9955        use ::steam_vent_proto_common::protobuf::Message;
9956        self.compute_size() as usize
9957    }
9958}
9959impl ::steam_vent_proto_common::RpcMessage for CAuthentication_Token_Revoke_Request {
9960    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9961        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9962    }
9963    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9964        use ::steam_vent_proto_common::protobuf::Message;
9965        self.write_to_writer(writer)
9966    }
9967    fn encode_size(&self) -> usize {
9968        use ::steam_vent_proto_common::protobuf::Message;
9969        self.compute_size() as usize
9970    }
9971}
9972impl ::steam_vent_proto_common::RpcMessage for CAuthentication_Token_Revoke_Response {
9973    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9974        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9975    }
9976    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9977        use ::steam_vent_proto_common::protobuf::Message;
9978        self.write_to_writer(writer)
9979    }
9980    fn encode_size(&self) -> usize {
9981        use ::steam_vent_proto_common::protobuf::Message;
9982        self.compute_size() as usize
9983    }
9984}
9985impl ::steam_vent_proto_common::RpcMessage
9986for CAuthentication_RefreshToken_Revoke_Request {
9987    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
9988        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
9989    }
9990    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
9991        use ::steam_vent_proto_common::protobuf::Message;
9992        self.write_to_writer(writer)
9993    }
9994    fn encode_size(&self) -> usize {
9995        use ::steam_vent_proto_common::protobuf::Message;
9996        self.compute_size() as usize
9997    }
9998}
9999impl ::steam_vent_proto_common::RpcMessage
10000for CAuthentication_RefreshToken_Revoke_Response {
10001    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10002        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10003    }
10004    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10005        use ::steam_vent_proto_common::protobuf::Message;
10006        self.write_to_writer(writer)
10007    }
10008    fn encode_size(&self) -> usize {
10009        use ::steam_vent_proto_common::protobuf::Message;
10010        self.compute_size() as usize
10011    }
10012}
10013impl ::steam_vent_proto_common::RpcMessage
10014for CAuthenticationSupport_QueryRefreshTokensByAccount_Request {
10015    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10016        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10017    }
10018    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10019        use ::steam_vent_proto_common::protobuf::Message;
10020        self.write_to_writer(writer)
10021    }
10022    fn encode_size(&self) -> usize {
10023        use ::steam_vent_proto_common::protobuf::Message;
10024        self.compute_size() as usize
10025    }
10026}
10027impl ::steam_vent_proto_common::RpcMessage for CSupportRefreshTokenDescription {
10028    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10029        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10030    }
10031    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10032        use ::steam_vent_proto_common::protobuf::Message;
10033        self.write_to_writer(writer)
10034    }
10035    fn encode_size(&self) -> usize {
10036        use ::steam_vent_proto_common::protobuf::Message;
10037        self.compute_size() as usize
10038    }
10039}
10040impl ::steam_vent_proto_common::RpcMessage
10041for CAuthenticationSupport_QueryRefreshTokensByAccount_Response {
10042    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10043        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10044    }
10045    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10046        use ::steam_vent_proto_common::protobuf::Message;
10047        self.write_to_writer(writer)
10048    }
10049    fn encode_size(&self) -> usize {
10050        use ::steam_vent_proto_common::protobuf::Message;
10051        self.compute_size() as usize
10052    }
10053}
10054impl ::steam_vent_proto_common::RpcMessage
10055for CAuthenticationSupport_QueryRefreshTokenByID_Request {
10056    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10057        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10058    }
10059    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10060        use ::steam_vent_proto_common::protobuf::Message;
10061        self.write_to_writer(writer)
10062    }
10063    fn encode_size(&self) -> usize {
10064        use ::steam_vent_proto_common::protobuf::Message;
10065        self.compute_size() as usize
10066    }
10067}
10068impl ::steam_vent_proto_common::RpcMessage
10069for CAuthenticationSupport_QueryRefreshTokenByID_Response {
10070    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10071        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10072    }
10073    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10074        use ::steam_vent_proto_common::protobuf::Message;
10075        self.write_to_writer(writer)
10076    }
10077    fn encode_size(&self) -> usize {
10078        use ::steam_vent_proto_common::protobuf::Message;
10079        self.compute_size() as usize
10080    }
10081}
10082impl ::steam_vent_proto_common::RpcMessage
10083for CAuthenticationSupport_RevokeToken_Request {
10084    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10085        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10086    }
10087    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10088        use ::steam_vent_proto_common::protobuf::Message;
10089        self.write_to_writer(writer)
10090    }
10091    fn encode_size(&self) -> usize {
10092        use ::steam_vent_proto_common::protobuf::Message;
10093        self.compute_size() as usize
10094    }
10095}
10096impl ::steam_vent_proto_common::RpcMessage
10097for CAuthenticationSupport_RevokeToken_Response {
10098    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10099        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10100    }
10101    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10102        use ::steam_vent_proto_common::protobuf::Message;
10103        self.write_to_writer(writer)
10104    }
10105    fn encode_size(&self) -> usize {
10106        use ::steam_vent_proto_common::protobuf::Message;
10107        self.compute_size() as usize
10108    }
10109}
10110impl ::steam_vent_proto_common::RpcMessage
10111for CAuthenticationSupport_GetTokenHistory_Request {
10112    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10113        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10114    }
10115    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10116        use ::steam_vent_proto_common::protobuf::Message;
10117        self.write_to_writer(writer)
10118    }
10119    fn encode_size(&self) -> usize {
10120        use ::steam_vent_proto_common::protobuf::Message;
10121        self.compute_size() as usize
10122    }
10123}
10124impl ::steam_vent_proto_common::RpcMessage for CSupportRefreshTokenAudit {
10125    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10126        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10127    }
10128    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10129        use ::steam_vent_proto_common::protobuf::Message;
10130        self.write_to_writer(writer)
10131    }
10132    fn encode_size(&self) -> usize {
10133        use ::steam_vent_proto_common::protobuf::Message;
10134        self.compute_size() as usize
10135    }
10136}
10137impl ::steam_vent_proto_common::RpcMessage
10138for CAuthenticationSupport_GetTokenHistory_Response {
10139    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10140        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10141    }
10142    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10143        use ::steam_vent_proto_common::protobuf::Message;
10144        self.write_to_writer(writer)
10145    }
10146    fn encode_size(&self) -> usize {
10147        use ::steam_vent_proto_common::protobuf::Message;
10148        self.compute_size() as usize
10149    }
10150}
10151impl ::steam_vent_proto_common::RpcMessage for CCloudGaming_CreateNonce_Request {
10152    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10153        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10154    }
10155    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10156        use ::steam_vent_proto_common::protobuf::Message;
10157        self.write_to_writer(writer)
10158    }
10159    fn encode_size(&self) -> usize {
10160        use ::steam_vent_proto_common::protobuf::Message;
10161        self.compute_size() as usize
10162    }
10163}
10164impl ::steam_vent_proto_common::RpcMessage for CCloudGaming_CreateNonce_Response {
10165    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10166        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10167    }
10168    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10169        use ::steam_vent_proto_common::protobuf::Message;
10170        self.write_to_writer(writer)
10171    }
10172    fn encode_size(&self) -> usize {
10173        use ::steam_vent_proto_common::protobuf::Message;
10174        self.compute_size() as usize
10175    }
10176}
10177impl ::steam_vent_proto_common::RpcMessage for CCloudGaming_GetTimeRemaining_Request {
10178    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10179        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10180    }
10181    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10182        use ::steam_vent_proto_common::protobuf::Message;
10183        self.write_to_writer(writer)
10184    }
10185    fn encode_size(&self) -> usize {
10186        use ::steam_vent_proto_common::protobuf::Message;
10187        self.compute_size() as usize
10188    }
10189}
10190impl ::steam_vent_proto_common::RpcMessage for CCloudGaming_TimeRemaining {
10191    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10192        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10193    }
10194    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10195        use ::steam_vent_proto_common::protobuf::Message;
10196        self.write_to_writer(writer)
10197    }
10198    fn encode_size(&self) -> usize {
10199        use ::steam_vent_proto_common::protobuf::Message;
10200        self.compute_size() as usize
10201    }
10202}
10203impl ::steam_vent_proto_common::RpcMessage for CCloudGaming_GetTimeRemaining_Response {
10204    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
10205        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
10206    }
10207    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
10208        use ::steam_vent_proto_common::protobuf::Message;
10209        self.write_to_writer(writer)
10210    }
10211    fn encode_size(&self) -> usize {
10212        use ::steam_vent_proto_common::protobuf::Message;
10213        self.compute_size() as usize
10214    }
10215}
10216///
10217struct Authentication {}
10218impl ::steam_vent_proto_common::RpcService for Authentication {
10219    const SERVICE_NAME: &'static str = "Authentication";
10220}
10221///
10222struct AuthenticationSupport {}
10223impl ::steam_vent_proto_common::RpcService for AuthenticationSupport {
10224    const SERVICE_NAME: &'static str = "AuthenticationSupport";
10225}
10226///
10227struct CloudGaming {}
10228impl ::steam_vent_proto_common::RpcService for CloudGaming {
10229    const SERVICE_NAME: &'static str = "CloudGaming";
10230}
10231impl ::steam_vent_proto_common::RpcMethod
10232for CAuthenticationSupport_GetTokenHistory_Request {
10233    const METHOD_NAME: &'static str = "AuthenticationSupport.GetTokenHistory#1";
10234    type Response = CAuthenticationSupport_GetTokenHistory_Response;
10235}
10236impl ::steam_vent_proto_common::RpcMethod
10237for CAuthenticationSupport_QueryRefreshTokenByID_Request {
10238    const METHOD_NAME: &'static str = "AuthenticationSupport.QueryRefreshTokenByID#1";
10239    type Response = CAuthenticationSupport_QueryRefreshTokenByID_Response;
10240}
10241impl ::steam_vent_proto_common::RpcMethod
10242for CAuthenticationSupport_QueryRefreshTokensByAccount_Request {
10243    const METHOD_NAME: &'static str = "AuthenticationSupport.QueryRefreshTokensByAccount#1";
10244    type Response = CAuthenticationSupport_QueryRefreshTokensByAccount_Response;
10245}
10246impl ::steam_vent_proto_common::RpcMethod
10247for CAuthenticationSupport_RevokeToken_Request {
10248    const METHOD_NAME: &'static str = "AuthenticationSupport.RevokeToken#1";
10249    type Response = CAuthenticationSupport_RevokeToken_Response;
10250}
10251impl ::steam_vent_proto_common::RpcMethod
10252for CAuthentication_AccessToken_GenerateForApp_Request {
10253    const METHOD_NAME: &'static str = "Authentication.GenerateAccessTokenForApp#1";
10254    type Response = CAuthentication_AccessToken_GenerateForApp_Response;
10255}
10256impl ::steam_vent_proto_common::RpcMethod
10257for CAuthentication_BeginAuthSessionViaCredentials_Request {
10258    const METHOD_NAME: &'static str = "Authentication.BeginAuthSessionViaCredentials#1";
10259    type Response = CAuthentication_BeginAuthSessionViaCredentials_Response;
10260}
10261impl ::steam_vent_proto_common::RpcMethod
10262for CAuthentication_BeginAuthSessionViaQR_Request {
10263    const METHOD_NAME: &'static str = "Authentication.BeginAuthSessionViaQR#1";
10264    type Response = CAuthentication_BeginAuthSessionViaQR_Response;
10265}
10266impl ::steam_vent_proto_common::RpcMethod
10267for CAuthentication_GetAuthSessionInfo_Request {
10268    const METHOD_NAME: &'static str = "Authentication.GetAuthSessionInfo#1";
10269    type Response = CAuthentication_GetAuthSessionInfo_Response;
10270}
10271impl ::steam_vent_proto_common::RpcMethod
10272for CAuthentication_GetAuthSessionsForAccount_Request {
10273    const METHOD_NAME: &'static str = "Authentication.GetAuthSessionsForAccount#1";
10274    type Response = CAuthentication_GetAuthSessionsForAccount_Response;
10275}
10276impl ::steam_vent_proto_common::RpcMethod
10277for CAuthentication_GetPasswordRSAPublicKey_Request {
10278    const METHOD_NAME: &'static str = "Authentication.GetPasswordRSAPublicKey#1";
10279    type Response = CAuthentication_GetPasswordRSAPublicKey_Response;
10280}
10281impl ::steam_vent_proto_common::RpcMethod
10282for CAuthentication_MigrateMobileSession_Request {
10283    const METHOD_NAME: &'static str = "Authentication.MigrateMobileSession#1";
10284    type Response = CAuthentication_MigrateMobileSession_Response;
10285}
10286impl ::steam_vent_proto_common::RpcMethod
10287for CAuthentication_PollAuthSessionStatus_Request {
10288    const METHOD_NAME: &'static str = "Authentication.PollAuthSessionStatus#1";
10289    type Response = CAuthentication_PollAuthSessionStatus_Response;
10290}
10291impl ::steam_vent_proto_common::RpcMethod
10292for CAuthentication_RefreshToken_Enumerate_Request {
10293    const METHOD_NAME: &'static str = "Authentication.EnumerateTokens#1";
10294    type Response = CAuthentication_RefreshToken_Enumerate_Response;
10295}
10296impl ::steam_vent_proto_common::RpcMethod
10297for CAuthentication_RefreshToken_Revoke_Request {
10298    const METHOD_NAME: &'static str = "Authentication.RevokeRefreshToken#1";
10299    type Response = CAuthentication_RefreshToken_Revoke_Response;
10300}
10301impl ::steam_vent_proto_common::RpcMethod for CAuthentication_Token_Revoke_Request {
10302    const METHOD_NAME: &'static str = "Authentication.RevokeToken#1";
10303    type Response = CAuthentication_Token_Revoke_Response;
10304}
10305impl ::steam_vent_proto_common::RpcMethod
10306for CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
10307    const METHOD_NAME: &'static str = "Authentication.UpdateAuthSessionWithMobileConfirmation#1";
10308    type Response = CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response;
10309}
10310impl ::steam_vent_proto_common::RpcMethod
10311for CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
10312    const METHOD_NAME: &'static str = "Authentication.UpdateAuthSessionWithSteamGuardCode#1";
10313    type Response = CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response;
10314}
10315impl ::steam_vent_proto_common::RpcMethod for CCloudGaming_CreateNonce_Request {
10316    const METHOD_NAME: &'static str = "CloudGaming.CreateNonce#1";
10317    type Response = CCloudGaming_CreateNonce_Response;
10318}
10319impl ::steam_vent_proto_common::RpcMethod for CCloudGaming_GetTimeRemaining_Request {
10320    const METHOD_NAME: &'static str = "CloudGaming.GetTimeRemaining#1";
10321    type Response = CCloudGaming_GetTimeRemaining_Response;
10322}