steam_vent_proto_steam/generated/
steammessages_contentsystem_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_contentsystem.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:CContentServerDirectory_ConnectedSteamPipeServerInfo)
29#[derive(PartialEq,Clone,Default,Debug)]
30pub struct CContentServerDirectory_ConnectedSteamPipeServerInfo {
31    // message fields
32    // @@protoc_insertion_point(field:CContentServerDirectory_ConnectedSteamPipeServerInfo.type)
33    pub type_: ::std::option::Option<::std::string::String>,
34    // @@protoc_insertion_point(field:CContentServerDirectory_ConnectedSteamPipeServerInfo.source_id)
35    pub source_id: ::std::option::Option<i32>,
36    // @@protoc_insertion_point(field:CContentServerDirectory_ConnectedSteamPipeServerInfo.hostname)
37    pub hostname: ::std::option::Option<::std::string::String>,
38    // special fields
39    // @@protoc_insertion_point(special_field:CContentServerDirectory_ConnectedSteamPipeServerInfo.special_fields)
40    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
41}
42
43impl<'a> ::std::default::Default for &'a CContentServerDirectory_ConnectedSteamPipeServerInfo {
44    fn default() -> &'a CContentServerDirectory_ConnectedSteamPipeServerInfo {
45        <CContentServerDirectory_ConnectedSteamPipeServerInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
46    }
47}
48
49impl CContentServerDirectory_ConnectedSteamPipeServerInfo {
50    pub fn new() -> CContentServerDirectory_ConnectedSteamPipeServerInfo {
51        ::std::default::Default::default()
52    }
53
54    // optional string type = 1;
55
56    pub fn type_(&self) -> &str {
57        match self.type_.as_ref() {
58            Some(v) => v,
59            None => "",
60        }
61    }
62
63    pub fn clear_type_(&mut self) {
64        self.type_ = ::std::option::Option::None;
65    }
66
67    pub fn has_type(&self) -> bool {
68        self.type_.is_some()
69    }
70
71    // Param is passed by value, moved
72    pub fn set_type(&mut self, v: ::std::string::String) {
73        self.type_ = ::std::option::Option::Some(v);
74    }
75
76    // Mutable pointer to the field.
77    // If field is not initialized, it is initialized with default value first.
78    pub fn mut_type(&mut self) -> &mut ::std::string::String {
79        if self.type_.is_none() {
80            self.type_ = ::std::option::Option::Some(::std::string::String::new());
81        }
82        self.type_.as_mut().unwrap()
83    }
84
85    // Take field
86    pub fn take_type_(&mut self) -> ::std::string::String {
87        self.type_.take().unwrap_or_else(|| ::std::string::String::new())
88    }
89
90    // optional int32 source_id = 2;
91
92    pub fn source_id(&self) -> i32 {
93        self.source_id.unwrap_or(0)
94    }
95
96    pub fn clear_source_id(&mut self) {
97        self.source_id = ::std::option::Option::None;
98    }
99
100    pub fn has_source_id(&self) -> bool {
101        self.source_id.is_some()
102    }
103
104    // Param is passed by value, moved
105    pub fn set_source_id(&mut self, v: i32) {
106        self.source_id = ::std::option::Option::Some(v);
107    }
108
109    // optional string hostname = 3;
110
111    pub fn hostname(&self) -> &str {
112        match self.hostname.as_ref() {
113            Some(v) => v,
114            None => "",
115        }
116    }
117
118    pub fn clear_hostname(&mut self) {
119        self.hostname = ::std::option::Option::None;
120    }
121
122    pub fn has_hostname(&self) -> bool {
123        self.hostname.is_some()
124    }
125
126    // Param is passed by value, moved
127    pub fn set_hostname(&mut self, v: ::std::string::String) {
128        self.hostname = ::std::option::Option::Some(v);
129    }
130
131    // Mutable pointer to the field.
132    // If field is not initialized, it is initialized with default value first.
133    pub fn mut_hostname(&mut self) -> &mut ::std::string::String {
134        if self.hostname.is_none() {
135            self.hostname = ::std::option::Option::Some(::std::string::String::new());
136        }
137        self.hostname.as_mut().unwrap()
138    }
139
140    // Take field
141    pub fn take_hostname(&mut self) -> ::std::string::String {
142        self.hostname.take().unwrap_or_else(|| ::std::string::String::new())
143    }
144}
145
146impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_ConnectedSteamPipeServerInfo {
147    const NAME: &'static str = "CContentServerDirectory_ConnectedSteamPipeServerInfo";
148
149    fn is_initialized(&self) -> bool {
150        true
151    }
152
153    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
154        while let Some(tag) = is.read_raw_tag_or_eof()? {
155            match tag {
156                10 => {
157                    self.type_ = ::std::option::Option::Some(is.read_string()?);
158                },
159                16 => {
160                    self.source_id = ::std::option::Option::Some(is.read_int32()?);
161                },
162                26 => {
163                    self.hostname = ::std::option::Option::Some(is.read_string()?);
164                },
165                tag => {
166                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
167                },
168            };
169        }
170        ::std::result::Result::Ok(())
171    }
172
173    // Compute sizes of nested messages
174    #[allow(unused_variables)]
175    fn compute_size(&self) -> u64 {
176        let mut my_size = 0;
177        if let Some(v) = self.type_.as_ref() {
178            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
179        }
180        if let Some(v) = self.source_id {
181            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
182        }
183        if let Some(v) = self.hostname.as_ref() {
184            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
185        }
186        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
187        self.special_fields.cached_size().set(my_size as u32);
188        my_size
189    }
190
191    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
192        if let Some(v) = self.type_.as_ref() {
193            os.write_string(1, v)?;
194        }
195        if let Some(v) = self.source_id {
196            os.write_int32(2, v)?;
197        }
198        if let Some(v) = self.hostname.as_ref() {
199            os.write_string(3, v)?;
200        }
201        os.write_unknown_fields(self.special_fields.unknown_fields())?;
202        ::std::result::Result::Ok(())
203    }
204
205    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
206        &self.special_fields
207    }
208
209    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
210        &mut self.special_fields
211    }
212
213    fn new() -> CContentServerDirectory_ConnectedSteamPipeServerInfo {
214        CContentServerDirectory_ConnectedSteamPipeServerInfo::new()
215    }
216
217    fn clear(&mut self) {
218        self.type_ = ::std::option::Option::None;
219        self.source_id = ::std::option::Option::None;
220        self.hostname = ::std::option::Option::None;
221        self.special_fields.clear();
222    }
223
224    fn default_instance() -> &'static CContentServerDirectory_ConnectedSteamPipeServerInfo {
225        static instance: CContentServerDirectory_ConnectedSteamPipeServerInfo = CContentServerDirectory_ConnectedSteamPipeServerInfo {
226            type_: ::std::option::Option::None,
227            source_id: ::std::option::Option::None,
228            hostname: ::std::option::Option::None,
229            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
230        };
231        &instance
232    }
233}
234
235// @@protoc_insertion_point(message:CContentServerDirectory_GetServersForSteamPipe_Request)
236#[derive(PartialEq,Clone,Default,Debug)]
237pub struct CContentServerDirectory_GetServersForSteamPipe_Request {
238    // message fields
239    // @@protoc_insertion_point(field:CContentServerDirectory_GetServersForSteamPipe_Request.cell_id)
240    pub cell_id: ::std::option::Option<u32>,
241    // @@protoc_insertion_point(field:CContentServerDirectory_GetServersForSteamPipe_Request.max_servers)
242    pub max_servers: ::std::option::Option<u32>,
243    // @@protoc_insertion_point(field:CContentServerDirectory_GetServersForSteamPipe_Request.ip_override)
244    pub ip_override: ::std::option::Option<::std::string::String>,
245    // @@protoc_insertion_point(field:CContentServerDirectory_GetServersForSteamPipe_Request.launcher_type)
246    pub launcher_type: ::std::option::Option<i32>,
247    // @@protoc_insertion_point(field:CContentServerDirectory_GetServersForSteamPipe_Request.ipv6_public)
248    pub ipv6_public: ::std::option::Option<::std::string::String>,
249    // @@protoc_insertion_point(field:CContentServerDirectory_GetServersForSteamPipe_Request.current_connections)
250    pub current_connections: ::std::vec::Vec<CContentServerDirectory_ConnectedSteamPipeServerInfo>,
251    // special fields
252    // @@protoc_insertion_point(special_field:CContentServerDirectory_GetServersForSteamPipe_Request.special_fields)
253    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
254}
255
256impl<'a> ::std::default::Default for &'a CContentServerDirectory_GetServersForSteamPipe_Request {
257    fn default() -> &'a CContentServerDirectory_GetServersForSteamPipe_Request {
258        <CContentServerDirectory_GetServersForSteamPipe_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
259    }
260}
261
262impl CContentServerDirectory_GetServersForSteamPipe_Request {
263    pub fn new() -> CContentServerDirectory_GetServersForSteamPipe_Request {
264        ::std::default::Default::default()
265    }
266
267    // optional uint32 cell_id = 1;
268
269    pub fn cell_id(&self) -> u32 {
270        self.cell_id.unwrap_or(0)
271    }
272
273    pub fn clear_cell_id(&mut self) {
274        self.cell_id = ::std::option::Option::None;
275    }
276
277    pub fn has_cell_id(&self) -> bool {
278        self.cell_id.is_some()
279    }
280
281    // Param is passed by value, moved
282    pub fn set_cell_id(&mut self, v: u32) {
283        self.cell_id = ::std::option::Option::Some(v);
284    }
285
286    // optional uint32 max_servers = 2;
287
288    pub fn max_servers(&self) -> u32 {
289        self.max_servers.unwrap_or(20u32)
290    }
291
292    pub fn clear_max_servers(&mut self) {
293        self.max_servers = ::std::option::Option::None;
294    }
295
296    pub fn has_max_servers(&self) -> bool {
297        self.max_servers.is_some()
298    }
299
300    // Param is passed by value, moved
301    pub fn set_max_servers(&mut self, v: u32) {
302        self.max_servers = ::std::option::Option::Some(v);
303    }
304
305    // optional string ip_override = 3;
306
307    pub fn ip_override(&self) -> &str {
308        match self.ip_override.as_ref() {
309            Some(v) => v,
310            None => "",
311        }
312    }
313
314    pub fn clear_ip_override(&mut self) {
315        self.ip_override = ::std::option::Option::None;
316    }
317
318    pub fn has_ip_override(&self) -> bool {
319        self.ip_override.is_some()
320    }
321
322    // Param is passed by value, moved
323    pub fn set_ip_override(&mut self, v: ::std::string::String) {
324        self.ip_override = ::std::option::Option::Some(v);
325    }
326
327    // Mutable pointer to the field.
328    // If field is not initialized, it is initialized with default value first.
329    pub fn mut_ip_override(&mut self) -> &mut ::std::string::String {
330        if self.ip_override.is_none() {
331            self.ip_override = ::std::option::Option::Some(::std::string::String::new());
332        }
333        self.ip_override.as_mut().unwrap()
334    }
335
336    // Take field
337    pub fn take_ip_override(&mut self) -> ::std::string::String {
338        self.ip_override.take().unwrap_or_else(|| ::std::string::String::new())
339    }
340
341    // optional int32 launcher_type = 4;
342
343    pub fn launcher_type(&self) -> i32 {
344        self.launcher_type.unwrap_or(0i32)
345    }
346
347    pub fn clear_launcher_type(&mut self) {
348        self.launcher_type = ::std::option::Option::None;
349    }
350
351    pub fn has_launcher_type(&self) -> bool {
352        self.launcher_type.is_some()
353    }
354
355    // Param is passed by value, moved
356    pub fn set_launcher_type(&mut self, v: i32) {
357        self.launcher_type = ::std::option::Option::Some(v);
358    }
359
360    // optional string ipv6_public = 5;
361
362    pub fn ipv6_public(&self) -> &str {
363        match self.ipv6_public.as_ref() {
364            Some(v) => v,
365            None => "",
366        }
367    }
368
369    pub fn clear_ipv6_public(&mut self) {
370        self.ipv6_public = ::std::option::Option::None;
371    }
372
373    pub fn has_ipv6_public(&self) -> bool {
374        self.ipv6_public.is_some()
375    }
376
377    // Param is passed by value, moved
378    pub fn set_ipv6_public(&mut self, v: ::std::string::String) {
379        self.ipv6_public = ::std::option::Option::Some(v);
380    }
381
382    // Mutable pointer to the field.
383    // If field is not initialized, it is initialized with default value first.
384    pub fn mut_ipv6_public(&mut self) -> &mut ::std::string::String {
385        if self.ipv6_public.is_none() {
386            self.ipv6_public = ::std::option::Option::Some(::std::string::String::new());
387        }
388        self.ipv6_public.as_mut().unwrap()
389    }
390
391    // Take field
392    pub fn take_ipv6_public(&mut self) -> ::std::string::String {
393        self.ipv6_public.take().unwrap_or_else(|| ::std::string::String::new())
394    }
395}
396
397impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_GetServersForSteamPipe_Request {
398    const NAME: &'static str = "CContentServerDirectory_GetServersForSteamPipe_Request";
399
400    fn is_initialized(&self) -> bool {
401        true
402    }
403
404    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
405        while let Some(tag) = is.read_raw_tag_or_eof()? {
406            match tag {
407                8 => {
408                    self.cell_id = ::std::option::Option::Some(is.read_uint32()?);
409                },
410                16 => {
411                    self.max_servers = ::std::option::Option::Some(is.read_uint32()?);
412                },
413                26 => {
414                    self.ip_override = ::std::option::Option::Some(is.read_string()?);
415                },
416                32 => {
417                    self.launcher_type = ::std::option::Option::Some(is.read_int32()?);
418                },
419                42 => {
420                    self.ipv6_public = ::std::option::Option::Some(is.read_string()?);
421                },
422                50 => {
423                    self.current_connections.push(is.read_message()?);
424                },
425                tag => {
426                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
427                },
428            };
429        }
430        ::std::result::Result::Ok(())
431    }
432
433    // Compute sizes of nested messages
434    #[allow(unused_variables)]
435    fn compute_size(&self) -> u64 {
436        let mut my_size = 0;
437        if let Some(v) = self.cell_id {
438            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
439        }
440        if let Some(v) = self.max_servers {
441            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
442        }
443        if let Some(v) = self.ip_override.as_ref() {
444            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
445        }
446        if let Some(v) = self.launcher_type {
447            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v);
448        }
449        if let Some(v) = self.ipv6_public.as_ref() {
450            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
451        }
452        for value in &self.current_connections {
453            let len = value.compute_size();
454            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
455        };
456        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
457        self.special_fields.cached_size().set(my_size as u32);
458        my_size
459    }
460
461    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
462        if let Some(v) = self.cell_id {
463            os.write_uint32(1, v)?;
464        }
465        if let Some(v) = self.max_servers {
466            os.write_uint32(2, v)?;
467        }
468        if let Some(v) = self.ip_override.as_ref() {
469            os.write_string(3, v)?;
470        }
471        if let Some(v) = self.launcher_type {
472            os.write_int32(4, v)?;
473        }
474        if let Some(v) = self.ipv6_public.as_ref() {
475            os.write_string(5, v)?;
476        }
477        for v in &self.current_connections {
478            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(6, v, os)?;
479        };
480        os.write_unknown_fields(self.special_fields.unknown_fields())?;
481        ::std::result::Result::Ok(())
482    }
483
484    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
485        &self.special_fields
486    }
487
488    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
489        &mut self.special_fields
490    }
491
492    fn new() -> CContentServerDirectory_GetServersForSteamPipe_Request {
493        CContentServerDirectory_GetServersForSteamPipe_Request::new()
494    }
495
496    fn clear(&mut self) {
497        self.cell_id = ::std::option::Option::None;
498        self.max_servers = ::std::option::Option::None;
499        self.ip_override = ::std::option::Option::None;
500        self.launcher_type = ::std::option::Option::None;
501        self.ipv6_public = ::std::option::Option::None;
502        self.current_connections.clear();
503        self.special_fields.clear();
504    }
505
506    fn default_instance() -> &'static CContentServerDirectory_GetServersForSteamPipe_Request {
507        static instance: CContentServerDirectory_GetServersForSteamPipe_Request = CContentServerDirectory_GetServersForSteamPipe_Request {
508            cell_id: ::std::option::Option::None,
509            max_servers: ::std::option::Option::None,
510            ip_override: ::std::option::Option::None,
511            launcher_type: ::std::option::Option::None,
512            ipv6_public: ::std::option::Option::None,
513            current_connections: ::std::vec::Vec::new(),
514            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
515        };
516        &instance
517    }
518}
519
520// @@protoc_insertion_point(message:CContentServerDirectory_ServerInfo)
521#[derive(PartialEq,Clone,Default,Debug)]
522pub struct CContentServerDirectory_ServerInfo {
523    // message fields
524    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.type)
525    pub type_: ::std::option::Option<::std::string::String>,
526    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.source_id)
527    pub source_id: ::std::option::Option<i32>,
528    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.cell_id)
529    pub cell_id: ::std::option::Option<i32>,
530    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.load)
531    pub load: ::std::option::Option<i32>,
532    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.weighted_load)
533    pub weighted_load: ::std::option::Option<f32>,
534    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.num_entries_in_client_list)
535    pub num_entries_in_client_list: ::std::option::Option<i32>,
536    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.steam_china_only)
537    pub steam_china_only: ::std::option::Option<bool>,
538    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.host)
539    pub host: ::std::option::Option<::std::string::String>,
540    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.vhost)
541    pub vhost: ::std::option::Option<::std::string::String>,
542    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.use_as_proxy)
543    pub use_as_proxy: ::std::option::Option<bool>,
544    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.proxy_request_path_template)
545    pub proxy_request_path_template: ::std::option::Option<::std::string::String>,
546    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.https_support)
547    pub https_support: ::std::option::Option<::std::string::String>,
548    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.allowed_app_ids)
549    pub allowed_app_ids: ::std::vec::Vec<u32>,
550    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.priority_class)
551    pub priority_class: ::std::option::Option<u32>,
552    // @@protoc_insertion_point(field:CContentServerDirectory_ServerInfo.bypass_proxies_of_type)
553    pub bypass_proxies_of_type: ::std::vec::Vec<::std::string::String>,
554    // special fields
555    // @@protoc_insertion_point(special_field:CContentServerDirectory_ServerInfo.special_fields)
556    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
557}
558
559impl<'a> ::std::default::Default for &'a CContentServerDirectory_ServerInfo {
560    fn default() -> &'a CContentServerDirectory_ServerInfo {
561        <CContentServerDirectory_ServerInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
562    }
563}
564
565impl CContentServerDirectory_ServerInfo {
566    pub fn new() -> CContentServerDirectory_ServerInfo {
567        ::std::default::Default::default()
568    }
569
570    // optional string type = 1;
571
572    pub fn type_(&self) -> &str {
573        match self.type_.as_ref() {
574            Some(v) => v,
575            None => "",
576        }
577    }
578
579    pub fn clear_type_(&mut self) {
580        self.type_ = ::std::option::Option::None;
581    }
582
583    pub fn has_type(&self) -> bool {
584        self.type_.is_some()
585    }
586
587    // Param is passed by value, moved
588    pub fn set_type(&mut self, v: ::std::string::String) {
589        self.type_ = ::std::option::Option::Some(v);
590    }
591
592    // Mutable pointer to the field.
593    // If field is not initialized, it is initialized with default value first.
594    pub fn mut_type(&mut self) -> &mut ::std::string::String {
595        if self.type_.is_none() {
596            self.type_ = ::std::option::Option::Some(::std::string::String::new());
597        }
598        self.type_.as_mut().unwrap()
599    }
600
601    // Take field
602    pub fn take_type_(&mut self) -> ::std::string::String {
603        self.type_.take().unwrap_or_else(|| ::std::string::String::new())
604    }
605
606    // optional int32 source_id = 2;
607
608    pub fn source_id(&self) -> i32 {
609        self.source_id.unwrap_or(0)
610    }
611
612    pub fn clear_source_id(&mut self) {
613        self.source_id = ::std::option::Option::None;
614    }
615
616    pub fn has_source_id(&self) -> bool {
617        self.source_id.is_some()
618    }
619
620    // Param is passed by value, moved
621    pub fn set_source_id(&mut self, v: i32) {
622        self.source_id = ::std::option::Option::Some(v);
623    }
624
625    // optional int32 cell_id = 3;
626
627    pub fn cell_id(&self) -> i32 {
628        self.cell_id.unwrap_or(0)
629    }
630
631    pub fn clear_cell_id(&mut self) {
632        self.cell_id = ::std::option::Option::None;
633    }
634
635    pub fn has_cell_id(&self) -> bool {
636        self.cell_id.is_some()
637    }
638
639    // Param is passed by value, moved
640    pub fn set_cell_id(&mut self, v: i32) {
641        self.cell_id = ::std::option::Option::Some(v);
642    }
643
644    // optional int32 load = 4;
645
646    pub fn load(&self) -> i32 {
647        self.load.unwrap_or(0)
648    }
649
650    pub fn clear_load(&mut self) {
651        self.load = ::std::option::Option::None;
652    }
653
654    pub fn has_load(&self) -> bool {
655        self.load.is_some()
656    }
657
658    // Param is passed by value, moved
659    pub fn set_load(&mut self, v: i32) {
660        self.load = ::std::option::Option::Some(v);
661    }
662
663    // optional float weighted_load = 5;
664
665    pub fn weighted_load(&self) -> f32 {
666        self.weighted_load.unwrap_or(0.)
667    }
668
669    pub fn clear_weighted_load(&mut self) {
670        self.weighted_load = ::std::option::Option::None;
671    }
672
673    pub fn has_weighted_load(&self) -> bool {
674        self.weighted_load.is_some()
675    }
676
677    // Param is passed by value, moved
678    pub fn set_weighted_load(&mut self, v: f32) {
679        self.weighted_load = ::std::option::Option::Some(v);
680    }
681
682    // optional int32 num_entries_in_client_list = 6;
683
684    pub fn num_entries_in_client_list(&self) -> i32 {
685        self.num_entries_in_client_list.unwrap_or(0)
686    }
687
688    pub fn clear_num_entries_in_client_list(&mut self) {
689        self.num_entries_in_client_list = ::std::option::Option::None;
690    }
691
692    pub fn has_num_entries_in_client_list(&self) -> bool {
693        self.num_entries_in_client_list.is_some()
694    }
695
696    // Param is passed by value, moved
697    pub fn set_num_entries_in_client_list(&mut self, v: i32) {
698        self.num_entries_in_client_list = ::std::option::Option::Some(v);
699    }
700
701    // optional bool steam_china_only = 7;
702
703    pub fn steam_china_only(&self) -> bool {
704        self.steam_china_only.unwrap_or(false)
705    }
706
707    pub fn clear_steam_china_only(&mut self) {
708        self.steam_china_only = ::std::option::Option::None;
709    }
710
711    pub fn has_steam_china_only(&self) -> bool {
712        self.steam_china_only.is_some()
713    }
714
715    // Param is passed by value, moved
716    pub fn set_steam_china_only(&mut self, v: bool) {
717        self.steam_china_only = ::std::option::Option::Some(v);
718    }
719
720    // optional string host = 8;
721
722    pub fn host(&self) -> &str {
723        match self.host.as_ref() {
724            Some(v) => v,
725            None => "",
726        }
727    }
728
729    pub fn clear_host(&mut self) {
730        self.host = ::std::option::Option::None;
731    }
732
733    pub fn has_host(&self) -> bool {
734        self.host.is_some()
735    }
736
737    // Param is passed by value, moved
738    pub fn set_host(&mut self, v: ::std::string::String) {
739        self.host = ::std::option::Option::Some(v);
740    }
741
742    // Mutable pointer to the field.
743    // If field is not initialized, it is initialized with default value first.
744    pub fn mut_host(&mut self) -> &mut ::std::string::String {
745        if self.host.is_none() {
746            self.host = ::std::option::Option::Some(::std::string::String::new());
747        }
748        self.host.as_mut().unwrap()
749    }
750
751    // Take field
752    pub fn take_host(&mut self) -> ::std::string::String {
753        self.host.take().unwrap_or_else(|| ::std::string::String::new())
754    }
755
756    // optional string vhost = 9;
757
758    pub fn vhost(&self) -> &str {
759        match self.vhost.as_ref() {
760            Some(v) => v,
761            None => "",
762        }
763    }
764
765    pub fn clear_vhost(&mut self) {
766        self.vhost = ::std::option::Option::None;
767    }
768
769    pub fn has_vhost(&self) -> bool {
770        self.vhost.is_some()
771    }
772
773    // Param is passed by value, moved
774    pub fn set_vhost(&mut self, v: ::std::string::String) {
775        self.vhost = ::std::option::Option::Some(v);
776    }
777
778    // Mutable pointer to the field.
779    // If field is not initialized, it is initialized with default value first.
780    pub fn mut_vhost(&mut self) -> &mut ::std::string::String {
781        if self.vhost.is_none() {
782            self.vhost = ::std::option::Option::Some(::std::string::String::new());
783        }
784        self.vhost.as_mut().unwrap()
785    }
786
787    // Take field
788    pub fn take_vhost(&mut self) -> ::std::string::String {
789        self.vhost.take().unwrap_or_else(|| ::std::string::String::new())
790    }
791
792    // optional bool use_as_proxy = 10;
793
794    pub fn use_as_proxy(&self) -> bool {
795        self.use_as_proxy.unwrap_or(false)
796    }
797
798    pub fn clear_use_as_proxy(&mut self) {
799        self.use_as_proxy = ::std::option::Option::None;
800    }
801
802    pub fn has_use_as_proxy(&self) -> bool {
803        self.use_as_proxy.is_some()
804    }
805
806    // Param is passed by value, moved
807    pub fn set_use_as_proxy(&mut self, v: bool) {
808        self.use_as_proxy = ::std::option::Option::Some(v);
809    }
810
811    // optional string proxy_request_path_template = 11;
812
813    pub fn proxy_request_path_template(&self) -> &str {
814        match self.proxy_request_path_template.as_ref() {
815            Some(v) => v,
816            None => "",
817        }
818    }
819
820    pub fn clear_proxy_request_path_template(&mut self) {
821        self.proxy_request_path_template = ::std::option::Option::None;
822    }
823
824    pub fn has_proxy_request_path_template(&self) -> bool {
825        self.proxy_request_path_template.is_some()
826    }
827
828    // Param is passed by value, moved
829    pub fn set_proxy_request_path_template(&mut self, v: ::std::string::String) {
830        self.proxy_request_path_template = ::std::option::Option::Some(v);
831    }
832
833    // Mutable pointer to the field.
834    // If field is not initialized, it is initialized with default value first.
835    pub fn mut_proxy_request_path_template(&mut self) -> &mut ::std::string::String {
836        if self.proxy_request_path_template.is_none() {
837            self.proxy_request_path_template = ::std::option::Option::Some(::std::string::String::new());
838        }
839        self.proxy_request_path_template.as_mut().unwrap()
840    }
841
842    // Take field
843    pub fn take_proxy_request_path_template(&mut self) -> ::std::string::String {
844        self.proxy_request_path_template.take().unwrap_or_else(|| ::std::string::String::new())
845    }
846
847    // optional string https_support = 12;
848
849    pub fn https_support(&self) -> &str {
850        match self.https_support.as_ref() {
851            Some(v) => v,
852            None => "",
853        }
854    }
855
856    pub fn clear_https_support(&mut self) {
857        self.https_support = ::std::option::Option::None;
858    }
859
860    pub fn has_https_support(&self) -> bool {
861        self.https_support.is_some()
862    }
863
864    // Param is passed by value, moved
865    pub fn set_https_support(&mut self, v: ::std::string::String) {
866        self.https_support = ::std::option::Option::Some(v);
867    }
868
869    // Mutable pointer to the field.
870    // If field is not initialized, it is initialized with default value first.
871    pub fn mut_https_support(&mut self) -> &mut ::std::string::String {
872        if self.https_support.is_none() {
873            self.https_support = ::std::option::Option::Some(::std::string::String::new());
874        }
875        self.https_support.as_mut().unwrap()
876    }
877
878    // Take field
879    pub fn take_https_support(&mut self) -> ::std::string::String {
880        self.https_support.take().unwrap_or_else(|| ::std::string::String::new())
881    }
882
883    // optional uint32 priority_class = 15;
884
885    pub fn priority_class(&self) -> u32 {
886        self.priority_class.unwrap_or(0)
887    }
888
889    pub fn clear_priority_class(&mut self) {
890        self.priority_class = ::std::option::Option::None;
891    }
892
893    pub fn has_priority_class(&self) -> bool {
894        self.priority_class.is_some()
895    }
896
897    // Param is passed by value, moved
898    pub fn set_priority_class(&mut self, v: u32) {
899        self.priority_class = ::std::option::Option::Some(v);
900    }
901}
902
903impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_ServerInfo {
904    const NAME: &'static str = "CContentServerDirectory_ServerInfo";
905
906    fn is_initialized(&self) -> bool {
907        true
908    }
909
910    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
911        while let Some(tag) = is.read_raw_tag_or_eof()? {
912            match tag {
913                10 => {
914                    self.type_ = ::std::option::Option::Some(is.read_string()?);
915                },
916                16 => {
917                    self.source_id = ::std::option::Option::Some(is.read_int32()?);
918                },
919                24 => {
920                    self.cell_id = ::std::option::Option::Some(is.read_int32()?);
921                },
922                32 => {
923                    self.load = ::std::option::Option::Some(is.read_int32()?);
924                },
925                45 => {
926                    self.weighted_load = ::std::option::Option::Some(is.read_float()?);
927                },
928                48 => {
929                    self.num_entries_in_client_list = ::std::option::Option::Some(is.read_int32()?);
930                },
931                56 => {
932                    self.steam_china_only = ::std::option::Option::Some(is.read_bool()?);
933                },
934                66 => {
935                    self.host = ::std::option::Option::Some(is.read_string()?);
936                },
937                74 => {
938                    self.vhost = ::std::option::Option::Some(is.read_string()?);
939                },
940                80 => {
941                    self.use_as_proxy = ::std::option::Option::Some(is.read_bool()?);
942                },
943                90 => {
944                    self.proxy_request_path_template = ::std::option::Option::Some(is.read_string()?);
945                },
946                98 => {
947                    self.https_support = ::std::option::Option::Some(is.read_string()?);
948                },
949                106 => {
950                    is.read_repeated_packed_uint32_into(&mut self.allowed_app_ids)?;
951                },
952                104 => {
953                    self.allowed_app_ids.push(is.read_uint32()?);
954                },
955                120 => {
956                    self.priority_class = ::std::option::Option::Some(is.read_uint32()?);
957                },
958                130 => {
959                    self.bypass_proxies_of_type.push(is.read_string()?);
960                },
961                tag => {
962                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
963                },
964            };
965        }
966        ::std::result::Result::Ok(())
967    }
968
969    // Compute sizes of nested messages
970    #[allow(unused_variables)]
971    fn compute_size(&self) -> u64 {
972        let mut my_size = 0;
973        if let Some(v) = self.type_.as_ref() {
974            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
975        }
976        if let Some(v) = self.source_id {
977            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
978        }
979        if let Some(v) = self.cell_id {
980            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
981        }
982        if let Some(v) = self.load {
983            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v);
984        }
985        if let Some(v) = self.weighted_load {
986            my_size += 1 + 4;
987        }
988        if let Some(v) = self.num_entries_in_client_list {
989            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v);
990        }
991        if let Some(v) = self.steam_china_only {
992            my_size += 1 + 1;
993        }
994        if let Some(v) = self.host.as_ref() {
995            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
996        }
997        if let Some(v) = self.vhost.as_ref() {
998            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(9, &v);
999        }
1000        if let Some(v) = self.use_as_proxy {
1001            my_size += 1 + 1;
1002        }
1003        if let Some(v) = self.proxy_request_path_template.as_ref() {
1004            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(11, &v);
1005        }
1006        if let Some(v) = self.https_support.as_ref() {
1007            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(12, &v);
1008        }
1009        for value in &self.allowed_app_ids {
1010            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(13, *value);
1011        };
1012        if let Some(v) = self.priority_class {
1013            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(15, v);
1014        }
1015        for value in &self.bypass_proxies_of_type {
1016            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(16, &value);
1017        };
1018        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1019        self.special_fields.cached_size().set(my_size as u32);
1020        my_size
1021    }
1022
1023    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1024        if let Some(v) = self.type_.as_ref() {
1025            os.write_string(1, v)?;
1026        }
1027        if let Some(v) = self.source_id {
1028            os.write_int32(2, v)?;
1029        }
1030        if let Some(v) = self.cell_id {
1031            os.write_int32(3, v)?;
1032        }
1033        if let Some(v) = self.load {
1034            os.write_int32(4, v)?;
1035        }
1036        if let Some(v) = self.weighted_load {
1037            os.write_float(5, v)?;
1038        }
1039        if let Some(v) = self.num_entries_in_client_list {
1040            os.write_int32(6, v)?;
1041        }
1042        if let Some(v) = self.steam_china_only {
1043            os.write_bool(7, v)?;
1044        }
1045        if let Some(v) = self.host.as_ref() {
1046            os.write_string(8, v)?;
1047        }
1048        if let Some(v) = self.vhost.as_ref() {
1049            os.write_string(9, v)?;
1050        }
1051        if let Some(v) = self.use_as_proxy {
1052            os.write_bool(10, v)?;
1053        }
1054        if let Some(v) = self.proxy_request_path_template.as_ref() {
1055            os.write_string(11, v)?;
1056        }
1057        if let Some(v) = self.https_support.as_ref() {
1058            os.write_string(12, v)?;
1059        }
1060        for v in &self.allowed_app_ids {
1061            os.write_uint32(13, *v)?;
1062        };
1063        if let Some(v) = self.priority_class {
1064            os.write_uint32(15, v)?;
1065        }
1066        for v in &self.bypass_proxies_of_type {
1067            os.write_string(16, &v)?;
1068        };
1069        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1070        ::std::result::Result::Ok(())
1071    }
1072
1073    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1074        &self.special_fields
1075    }
1076
1077    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1078        &mut self.special_fields
1079    }
1080
1081    fn new() -> CContentServerDirectory_ServerInfo {
1082        CContentServerDirectory_ServerInfo::new()
1083    }
1084
1085    fn clear(&mut self) {
1086        self.type_ = ::std::option::Option::None;
1087        self.source_id = ::std::option::Option::None;
1088        self.cell_id = ::std::option::Option::None;
1089        self.load = ::std::option::Option::None;
1090        self.weighted_load = ::std::option::Option::None;
1091        self.num_entries_in_client_list = ::std::option::Option::None;
1092        self.steam_china_only = ::std::option::Option::None;
1093        self.host = ::std::option::Option::None;
1094        self.vhost = ::std::option::Option::None;
1095        self.use_as_proxy = ::std::option::Option::None;
1096        self.proxy_request_path_template = ::std::option::Option::None;
1097        self.https_support = ::std::option::Option::None;
1098        self.allowed_app_ids.clear();
1099        self.priority_class = ::std::option::Option::None;
1100        self.bypass_proxies_of_type.clear();
1101        self.special_fields.clear();
1102    }
1103
1104    fn default_instance() -> &'static CContentServerDirectory_ServerInfo {
1105        static instance: CContentServerDirectory_ServerInfo = CContentServerDirectory_ServerInfo {
1106            type_: ::std::option::Option::None,
1107            source_id: ::std::option::Option::None,
1108            cell_id: ::std::option::Option::None,
1109            load: ::std::option::Option::None,
1110            weighted_load: ::std::option::Option::None,
1111            num_entries_in_client_list: ::std::option::Option::None,
1112            steam_china_only: ::std::option::Option::None,
1113            host: ::std::option::Option::None,
1114            vhost: ::std::option::Option::None,
1115            use_as_proxy: ::std::option::Option::None,
1116            proxy_request_path_template: ::std::option::Option::None,
1117            https_support: ::std::option::Option::None,
1118            allowed_app_ids: ::std::vec::Vec::new(),
1119            priority_class: ::std::option::Option::None,
1120            bypass_proxies_of_type: ::std::vec::Vec::new(),
1121            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1122        };
1123        &instance
1124    }
1125}
1126
1127// @@protoc_insertion_point(message:CContentServerDirectory_GetServersForSteamPipe_Response)
1128#[derive(PartialEq,Clone,Default,Debug)]
1129pub struct CContentServerDirectory_GetServersForSteamPipe_Response {
1130    // message fields
1131    // @@protoc_insertion_point(field:CContentServerDirectory_GetServersForSteamPipe_Response.servers)
1132    pub servers: ::std::vec::Vec<CContentServerDirectory_ServerInfo>,
1133    // @@protoc_insertion_point(field:CContentServerDirectory_GetServersForSteamPipe_Response.no_change)
1134    pub no_change: ::std::option::Option<bool>,
1135    // special fields
1136    // @@protoc_insertion_point(special_field:CContentServerDirectory_GetServersForSteamPipe_Response.special_fields)
1137    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1138}
1139
1140impl<'a> ::std::default::Default for &'a CContentServerDirectory_GetServersForSteamPipe_Response {
1141    fn default() -> &'a CContentServerDirectory_GetServersForSteamPipe_Response {
1142        <CContentServerDirectory_GetServersForSteamPipe_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1143    }
1144}
1145
1146impl CContentServerDirectory_GetServersForSteamPipe_Response {
1147    pub fn new() -> CContentServerDirectory_GetServersForSteamPipe_Response {
1148        ::std::default::Default::default()
1149    }
1150
1151    // optional bool no_change = 2;
1152
1153    pub fn no_change(&self) -> bool {
1154        self.no_change.unwrap_or(false)
1155    }
1156
1157    pub fn clear_no_change(&mut self) {
1158        self.no_change = ::std::option::Option::None;
1159    }
1160
1161    pub fn has_no_change(&self) -> bool {
1162        self.no_change.is_some()
1163    }
1164
1165    // Param is passed by value, moved
1166    pub fn set_no_change(&mut self, v: bool) {
1167        self.no_change = ::std::option::Option::Some(v);
1168    }
1169}
1170
1171impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_GetServersForSteamPipe_Response {
1172    const NAME: &'static str = "CContentServerDirectory_GetServersForSteamPipe_Response";
1173
1174    fn is_initialized(&self) -> bool {
1175        true
1176    }
1177
1178    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1179        while let Some(tag) = is.read_raw_tag_or_eof()? {
1180            match tag {
1181                10 => {
1182                    self.servers.push(is.read_message()?);
1183                },
1184                16 => {
1185                    self.no_change = ::std::option::Option::Some(is.read_bool()?);
1186                },
1187                tag => {
1188                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1189                },
1190            };
1191        }
1192        ::std::result::Result::Ok(())
1193    }
1194
1195    // Compute sizes of nested messages
1196    #[allow(unused_variables)]
1197    fn compute_size(&self) -> u64 {
1198        let mut my_size = 0;
1199        for value in &self.servers {
1200            let len = value.compute_size();
1201            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
1202        };
1203        if let Some(v) = self.no_change {
1204            my_size += 1 + 1;
1205        }
1206        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1207        self.special_fields.cached_size().set(my_size as u32);
1208        my_size
1209    }
1210
1211    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1212        for v in &self.servers {
1213            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
1214        };
1215        if let Some(v) = self.no_change {
1216            os.write_bool(2, v)?;
1217        }
1218        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1219        ::std::result::Result::Ok(())
1220    }
1221
1222    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1223        &self.special_fields
1224    }
1225
1226    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1227        &mut self.special_fields
1228    }
1229
1230    fn new() -> CContentServerDirectory_GetServersForSteamPipe_Response {
1231        CContentServerDirectory_GetServersForSteamPipe_Response::new()
1232    }
1233
1234    fn clear(&mut self) {
1235        self.servers.clear();
1236        self.no_change = ::std::option::Option::None;
1237        self.special_fields.clear();
1238    }
1239
1240    fn default_instance() -> &'static CContentServerDirectory_GetServersForSteamPipe_Response {
1241        static instance: CContentServerDirectory_GetServersForSteamPipe_Response = CContentServerDirectory_GetServersForSteamPipe_Response {
1242            servers: ::std::vec::Vec::new(),
1243            no_change: ::std::option::Option::None,
1244            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1245        };
1246        &instance
1247    }
1248}
1249
1250// @@protoc_insertion_point(message:CContentServerDirectory_GetDepotPatchInfo_Request)
1251#[derive(PartialEq,Clone,Default,Debug)]
1252pub struct CContentServerDirectory_GetDepotPatchInfo_Request {
1253    // message fields
1254    // @@protoc_insertion_point(field:CContentServerDirectory_GetDepotPatchInfo_Request.appid)
1255    pub appid: ::std::option::Option<u32>,
1256    // @@protoc_insertion_point(field:CContentServerDirectory_GetDepotPatchInfo_Request.depotid)
1257    pub depotid: ::std::option::Option<u32>,
1258    // @@protoc_insertion_point(field:CContentServerDirectory_GetDepotPatchInfo_Request.source_manifestid)
1259    pub source_manifestid: ::std::option::Option<u64>,
1260    // @@protoc_insertion_point(field:CContentServerDirectory_GetDepotPatchInfo_Request.target_manifestid)
1261    pub target_manifestid: ::std::option::Option<u64>,
1262    // special fields
1263    // @@protoc_insertion_point(special_field:CContentServerDirectory_GetDepotPatchInfo_Request.special_fields)
1264    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1265}
1266
1267impl<'a> ::std::default::Default for &'a CContentServerDirectory_GetDepotPatchInfo_Request {
1268    fn default() -> &'a CContentServerDirectory_GetDepotPatchInfo_Request {
1269        <CContentServerDirectory_GetDepotPatchInfo_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1270    }
1271}
1272
1273impl CContentServerDirectory_GetDepotPatchInfo_Request {
1274    pub fn new() -> CContentServerDirectory_GetDepotPatchInfo_Request {
1275        ::std::default::Default::default()
1276    }
1277
1278    // optional uint32 appid = 1;
1279
1280    pub fn appid(&self) -> u32 {
1281        self.appid.unwrap_or(0)
1282    }
1283
1284    pub fn clear_appid(&mut self) {
1285        self.appid = ::std::option::Option::None;
1286    }
1287
1288    pub fn has_appid(&self) -> bool {
1289        self.appid.is_some()
1290    }
1291
1292    // Param is passed by value, moved
1293    pub fn set_appid(&mut self, v: u32) {
1294        self.appid = ::std::option::Option::Some(v);
1295    }
1296
1297    // optional uint32 depotid = 2;
1298
1299    pub fn depotid(&self) -> u32 {
1300        self.depotid.unwrap_or(0)
1301    }
1302
1303    pub fn clear_depotid(&mut self) {
1304        self.depotid = ::std::option::Option::None;
1305    }
1306
1307    pub fn has_depotid(&self) -> bool {
1308        self.depotid.is_some()
1309    }
1310
1311    // Param is passed by value, moved
1312    pub fn set_depotid(&mut self, v: u32) {
1313        self.depotid = ::std::option::Option::Some(v);
1314    }
1315
1316    // optional uint64 source_manifestid = 3;
1317
1318    pub fn source_manifestid(&self) -> u64 {
1319        self.source_manifestid.unwrap_or(0)
1320    }
1321
1322    pub fn clear_source_manifestid(&mut self) {
1323        self.source_manifestid = ::std::option::Option::None;
1324    }
1325
1326    pub fn has_source_manifestid(&self) -> bool {
1327        self.source_manifestid.is_some()
1328    }
1329
1330    // Param is passed by value, moved
1331    pub fn set_source_manifestid(&mut self, v: u64) {
1332        self.source_manifestid = ::std::option::Option::Some(v);
1333    }
1334
1335    // optional uint64 target_manifestid = 4;
1336
1337    pub fn target_manifestid(&self) -> u64 {
1338        self.target_manifestid.unwrap_or(0)
1339    }
1340
1341    pub fn clear_target_manifestid(&mut self) {
1342        self.target_manifestid = ::std::option::Option::None;
1343    }
1344
1345    pub fn has_target_manifestid(&self) -> bool {
1346        self.target_manifestid.is_some()
1347    }
1348
1349    // Param is passed by value, moved
1350    pub fn set_target_manifestid(&mut self, v: u64) {
1351        self.target_manifestid = ::std::option::Option::Some(v);
1352    }
1353}
1354
1355impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_GetDepotPatchInfo_Request {
1356    const NAME: &'static str = "CContentServerDirectory_GetDepotPatchInfo_Request";
1357
1358    fn is_initialized(&self) -> bool {
1359        true
1360    }
1361
1362    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1363        while let Some(tag) = is.read_raw_tag_or_eof()? {
1364            match tag {
1365                8 => {
1366                    self.appid = ::std::option::Option::Some(is.read_uint32()?);
1367                },
1368                16 => {
1369                    self.depotid = ::std::option::Option::Some(is.read_uint32()?);
1370                },
1371                24 => {
1372                    self.source_manifestid = ::std::option::Option::Some(is.read_uint64()?);
1373                },
1374                32 => {
1375                    self.target_manifestid = ::std::option::Option::Some(is.read_uint64()?);
1376                },
1377                tag => {
1378                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1379                },
1380            };
1381        }
1382        ::std::result::Result::Ok(())
1383    }
1384
1385    // Compute sizes of nested messages
1386    #[allow(unused_variables)]
1387    fn compute_size(&self) -> u64 {
1388        let mut my_size = 0;
1389        if let Some(v) = self.appid {
1390            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
1391        }
1392        if let Some(v) = self.depotid {
1393            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
1394        }
1395        if let Some(v) = self.source_manifestid {
1396            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
1397        }
1398        if let Some(v) = self.target_manifestid {
1399            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(4, v);
1400        }
1401        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1402        self.special_fields.cached_size().set(my_size as u32);
1403        my_size
1404    }
1405
1406    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1407        if let Some(v) = self.appid {
1408            os.write_uint32(1, v)?;
1409        }
1410        if let Some(v) = self.depotid {
1411            os.write_uint32(2, v)?;
1412        }
1413        if let Some(v) = self.source_manifestid {
1414            os.write_uint64(3, v)?;
1415        }
1416        if let Some(v) = self.target_manifestid {
1417            os.write_uint64(4, v)?;
1418        }
1419        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1420        ::std::result::Result::Ok(())
1421    }
1422
1423    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1424        &self.special_fields
1425    }
1426
1427    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1428        &mut self.special_fields
1429    }
1430
1431    fn new() -> CContentServerDirectory_GetDepotPatchInfo_Request {
1432        CContentServerDirectory_GetDepotPatchInfo_Request::new()
1433    }
1434
1435    fn clear(&mut self) {
1436        self.appid = ::std::option::Option::None;
1437        self.depotid = ::std::option::Option::None;
1438        self.source_manifestid = ::std::option::Option::None;
1439        self.target_manifestid = ::std::option::Option::None;
1440        self.special_fields.clear();
1441    }
1442
1443    fn default_instance() -> &'static CContentServerDirectory_GetDepotPatchInfo_Request {
1444        static instance: CContentServerDirectory_GetDepotPatchInfo_Request = CContentServerDirectory_GetDepotPatchInfo_Request {
1445            appid: ::std::option::Option::None,
1446            depotid: ::std::option::Option::None,
1447            source_manifestid: ::std::option::Option::None,
1448            target_manifestid: ::std::option::Option::None,
1449            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1450        };
1451        &instance
1452    }
1453}
1454
1455// @@protoc_insertion_point(message:CContentServerDirectory_GetDepotPatchInfo_Response)
1456#[derive(PartialEq,Clone,Default,Debug)]
1457pub struct CContentServerDirectory_GetDepotPatchInfo_Response {
1458    // message fields
1459    // @@protoc_insertion_point(field:CContentServerDirectory_GetDepotPatchInfo_Response.is_available)
1460    pub is_available: ::std::option::Option<bool>,
1461    // @@protoc_insertion_point(field:CContentServerDirectory_GetDepotPatchInfo_Response.patch_size)
1462    pub patch_size: ::std::option::Option<u64>,
1463    // @@protoc_insertion_point(field:CContentServerDirectory_GetDepotPatchInfo_Response.patched_chunks_size)
1464    pub patched_chunks_size: ::std::option::Option<u64>,
1465    // special fields
1466    // @@protoc_insertion_point(special_field:CContentServerDirectory_GetDepotPatchInfo_Response.special_fields)
1467    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1468}
1469
1470impl<'a> ::std::default::Default for &'a CContentServerDirectory_GetDepotPatchInfo_Response {
1471    fn default() -> &'a CContentServerDirectory_GetDepotPatchInfo_Response {
1472        <CContentServerDirectory_GetDepotPatchInfo_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1473    }
1474}
1475
1476impl CContentServerDirectory_GetDepotPatchInfo_Response {
1477    pub fn new() -> CContentServerDirectory_GetDepotPatchInfo_Response {
1478        ::std::default::Default::default()
1479    }
1480
1481    // optional bool is_available = 1;
1482
1483    pub fn is_available(&self) -> bool {
1484        self.is_available.unwrap_or(false)
1485    }
1486
1487    pub fn clear_is_available(&mut self) {
1488        self.is_available = ::std::option::Option::None;
1489    }
1490
1491    pub fn has_is_available(&self) -> bool {
1492        self.is_available.is_some()
1493    }
1494
1495    // Param is passed by value, moved
1496    pub fn set_is_available(&mut self, v: bool) {
1497        self.is_available = ::std::option::Option::Some(v);
1498    }
1499
1500    // optional uint64 patch_size = 2;
1501
1502    pub fn patch_size(&self) -> u64 {
1503        self.patch_size.unwrap_or(0)
1504    }
1505
1506    pub fn clear_patch_size(&mut self) {
1507        self.patch_size = ::std::option::Option::None;
1508    }
1509
1510    pub fn has_patch_size(&self) -> bool {
1511        self.patch_size.is_some()
1512    }
1513
1514    // Param is passed by value, moved
1515    pub fn set_patch_size(&mut self, v: u64) {
1516        self.patch_size = ::std::option::Option::Some(v);
1517    }
1518
1519    // optional uint64 patched_chunks_size = 3;
1520
1521    pub fn patched_chunks_size(&self) -> u64 {
1522        self.patched_chunks_size.unwrap_or(0)
1523    }
1524
1525    pub fn clear_patched_chunks_size(&mut self) {
1526        self.patched_chunks_size = ::std::option::Option::None;
1527    }
1528
1529    pub fn has_patched_chunks_size(&self) -> bool {
1530        self.patched_chunks_size.is_some()
1531    }
1532
1533    // Param is passed by value, moved
1534    pub fn set_patched_chunks_size(&mut self, v: u64) {
1535        self.patched_chunks_size = ::std::option::Option::Some(v);
1536    }
1537}
1538
1539impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_GetDepotPatchInfo_Response {
1540    const NAME: &'static str = "CContentServerDirectory_GetDepotPatchInfo_Response";
1541
1542    fn is_initialized(&self) -> bool {
1543        true
1544    }
1545
1546    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1547        while let Some(tag) = is.read_raw_tag_or_eof()? {
1548            match tag {
1549                8 => {
1550                    self.is_available = ::std::option::Option::Some(is.read_bool()?);
1551                },
1552                16 => {
1553                    self.patch_size = ::std::option::Option::Some(is.read_uint64()?);
1554                },
1555                24 => {
1556                    self.patched_chunks_size = ::std::option::Option::Some(is.read_uint64()?);
1557                },
1558                tag => {
1559                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1560                },
1561            };
1562        }
1563        ::std::result::Result::Ok(())
1564    }
1565
1566    // Compute sizes of nested messages
1567    #[allow(unused_variables)]
1568    fn compute_size(&self) -> u64 {
1569        let mut my_size = 0;
1570        if let Some(v) = self.is_available {
1571            my_size += 1 + 1;
1572        }
1573        if let Some(v) = self.patch_size {
1574            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
1575        }
1576        if let Some(v) = self.patched_chunks_size {
1577            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
1578        }
1579        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1580        self.special_fields.cached_size().set(my_size as u32);
1581        my_size
1582    }
1583
1584    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1585        if let Some(v) = self.is_available {
1586            os.write_bool(1, v)?;
1587        }
1588        if let Some(v) = self.patch_size {
1589            os.write_uint64(2, v)?;
1590        }
1591        if let Some(v) = self.patched_chunks_size {
1592            os.write_uint64(3, v)?;
1593        }
1594        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1595        ::std::result::Result::Ok(())
1596    }
1597
1598    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1599        &self.special_fields
1600    }
1601
1602    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1603        &mut self.special_fields
1604    }
1605
1606    fn new() -> CContentServerDirectory_GetDepotPatchInfo_Response {
1607        CContentServerDirectory_GetDepotPatchInfo_Response::new()
1608    }
1609
1610    fn clear(&mut self) {
1611        self.is_available = ::std::option::Option::None;
1612        self.patch_size = ::std::option::Option::None;
1613        self.patched_chunks_size = ::std::option::Option::None;
1614        self.special_fields.clear();
1615    }
1616
1617    fn default_instance() -> &'static CContentServerDirectory_GetDepotPatchInfo_Response {
1618        static instance: CContentServerDirectory_GetDepotPatchInfo_Response = CContentServerDirectory_GetDepotPatchInfo_Response {
1619            is_available: ::std::option::Option::None,
1620            patch_size: ::std::option::Option::None,
1621            patched_chunks_size: ::std::option::Option::None,
1622            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1623        };
1624        &instance
1625    }
1626}
1627
1628// @@protoc_insertion_point(message:CContentServerDirectory_GetClientUpdateHosts_Request)
1629#[derive(PartialEq,Clone,Default,Debug)]
1630pub struct CContentServerDirectory_GetClientUpdateHosts_Request {
1631    // message fields
1632    // @@protoc_insertion_point(field:CContentServerDirectory_GetClientUpdateHosts_Request.cached_signature)
1633    pub cached_signature: ::std::option::Option<::std::string::String>,
1634    // special fields
1635    // @@protoc_insertion_point(special_field:CContentServerDirectory_GetClientUpdateHosts_Request.special_fields)
1636    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1637}
1638
1639impl<'a> ::std::default::Default for &'a CContentServerDirectory_GetClientUpdateHosts_Request {
1640    fn default() -> &'a CContentServerDirectory_GetClientUpdateHosts_Request {
1641        <CContentServerDirectory_GetClientUpdateHosts_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1642    }
1643}
1644
1645impl CContentServerDirectory_GetClientUpdateHosts_Request {
1646    pub fn new() -> CContentServerDirectory_GetClientUpdateHosts_Request {
1647        ::std::default::Default::default()
1648    }
1649
1650    // optional string cached_signature = 1;
1651
1652    pub fn cached_signature(&self) -> &str {
1653        match self.cached_signature.as_ref() {
1654            Some(v) => v,
1655            None => "",
1656        }
1657    }
1658
1659    pub fn clear_cached_signature(&mut self) {
1660        self.cached_signature = ::std::option::Option::None;
1661    }
1662
1663    pub fn has_cached_signature(&self) -> bool {
1664        self.cached_signature.is_some()
1665    }
1666
1667    // Param is passed by value, moved
1668    pub fn set_cached_signature(&mut self, v: ::std::string::String) {
1669        self.cached_signature = ::std::option::Option::Some(v);
1670    }
1671
1672    // Mutable pointer to the field.
1673    // If field is not initialized, it is initialized with default value first.
1674    pub fn mut_cached_signature(&mut self) -> &mut ::std::string::String {
1675        if self.cached_signature.is_none() {
1676            self.cached_signature = ::std::option::Option::Some(::std::string::String::new());
1677        }
1678        self.cached_signature.as_mut().unwrap()
1679    }
1680
1681    // Take field
1682    pub fn take_cached_signature(&mut self) -> ::std::string::String {
1683        self.cached_signature.take().unwrap_or_else(|| ::std::string::String::new())
1684    }
1685}
1686
1687impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_GetClientUpdateHosts_Request {
1688    const NAME: &'static str = "CContentServerDirectory_GetClientUpdateHosts_Request";
1689
1690    fn is_initialized(&self) -> bool {
1691        true
1692    }
1693
1694    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1695        while let Some(tag) = is.read_raw_tag_or_eof()? {
1696            match tag {
1697                10 => {
1698                    self.cached_signature = ::std::option::Option::Some(is.read_string()?);
1699                },
1700                tag => {
1701                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1702                },
1703            };
1704        }
1705        ::std::result::Result::Ok(())
1706    }
1707
1708    // Compute sizes of nested messages
1709    #[allow(unused_variables)]
1710    fn compute_size(&self) -> u64 {
1711        let mut my_size = 0;
1712        if let Some(v) = self.cached_signature.as_ref() {
1713            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
1714        }
1715        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1716        self.special_fields.cached_size().set(my_size as u32);
1717        my_size
1718    }
1719
1720    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1721        if let Some(v) = self.cached_signature.as_ref() {
1722            os.write_string(1, v)?;
1723        }
1724        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1725        ::std::result::Result::Ok(())
1726    }
1727
1728    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1729        &self.special_fields
1730    }
1731
1732    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1733        &mut self.special_fields
1734    }
1735
1736    fn new() -> CContentServerDirectory_GetClientUpdateHosts_Request {
1737        CContentServerDirectory_GetClientUpdateHosts_Request::new()
1738    }
1739
1740    fn clear(&mut self) {
1741        self.cached_signature = ::std::option::Option::None;
1742        self.special_fields.clear();
1743    }
1744
1745    fn default_instance() -> &'static CContentServerDirectory_GetClientUpdateHosts_Request {
1746        static instance: CContentServerDirectory_GetClientUpdateHosts_Request = CContentServerDirectory_GetClientUpdateHosts_Request {
1747            cached_signature: ::std::option::Option::None,
1748            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1749        };
1750        &instance
1751    }
1752}
1753
1754// @@protoc_insertion_point(message:CContentServerDirectory_GetClientUpdateHosts_Response)
1755#[derive(PartialEq,Clone,Default,Debug)]
1756pub struct CContentServerDirectory_GetClientUpdateHosts_Response {
1757    // message fields
1758    // @@protoc_insertion_point(field:CContentServerDirectory_GetClientUpdateHosts_Response.hosts_kv)
1759    pub hosts_kv: ::std::option::Option<::std::string::String>,
1760    // @@protoc_insertion_point(field:CContentServerDirectory_GetClientUpdateHosts_Response.valid_until_time)
1761    pub valid_until_time: ::std::option::Option<u64>,
1762    // @@protoc_insertion_point(field:CContentServerDirectory_GetClientUpdateHosts_Response.ip_country)
1763    pub ip_country: ::std::option::Option<::std::string::String>,
1764    // special fields
1765    // @@protoc_insertion_point(special_field:CContentServerDirectory_GetClientUpdateHosts_Response.special_fields)
1766    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1767}
1768
1769impl<'a> ::std::default::Default for &'a CContentServerDirectory_GetClientUpdateHosts_Response {
1770    fn default() -> &'a CContentServerDirectory_GetClientUpdateHosts_Response {
1771        <CContentServerDirectory_GetClientUpdateHosts_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1772    }
1773}
1774
1775impl CContentServerDirectory_GetClientUpdateHosts_Response {
1776    pub fn new() -> CContentServerDirectory_GetClientUpdateHosts_Response {
1777        ::std::default::Default::default()
1778    }
1779
1780    // optional string hosts_kv = 1;
1781
1782    pub fn hosts_kv(&self) -> &str {
1783        match self.hosts_kv.as_ref() {
1784            Some(v) => v,
1785            None => "",
1786        }
1787    }
1788
1789    pub fn clear_hosts_kv(&mut self) {
1790        self.hosts_kv = ::std::option::Option::None;
1791    }
1792
1793    pub fn has_hosts_kv(&self) -> bool {
1794        self.hosts_kv.is_some()
1795    }
1796
1797    // Param is passed by value, moved
1798    pub fn set_hosts_kv(&mut self, v: ::std::string::String) {
1799        self.hosts_kv = ::std::option::Option::Some(v);
1800    }
1801
1802    // Mutable pointer to the field.
1803    // If field is not initialized, it is initialized with default value first.
1804    pub fn mut_hosts_kv(&mut self) -> &mut ::std::string::String {
1805        if self.hosts_kv.is_none() {
1806            self.hosts_kv = ::std::option::Option::Some(::std::string::String::new());
1807        }
1808        self.hosts_kv.as_mut().unwrap()
1809    }
1810
1811    // Take field
1812    pub fn take_hosts_kv(&mut self) -> ::std::string::String {
1813        self.hosts_kv.take().unwrap_or_else(|| ::std::string::String::new())
1814    }
1815
1816    // optional uint64 valid_until_time = 2;
1817
1818    pub fn valid_until_time(&self) -> u64 {
1819        self.valid_until_time.unwrap_or(0)
1820    }
1821
1822    pub fn clear_valid_until_time(&mut self) {
1823        self.valid_until_time = ::std::option::Option::None;
1824    }
1825
1826    pub fn has_valid_until_time(&self) -> bool {
1827        self.valid_until_time.is_some()
1828    }
1829
1830    // Param is passed by value, moved
1831    pub fn set_valid_until_time(&mut self, v: u64) {
1832        self.valid_until_time = ::std::option::Option::Some(v);
1833    }
1834
1835    // optional string ip_country = 3;
1836
1837    pub fn ip_country(&self) -> &str {
1838        match self.ip_country.as_ref() {
1839            Some(v) => v,
1840            None => "",
1841        }
1842    }
1843
1844    pub fn clear_ip_country(&mut self) {
1845        self.ip_country = ::std::option::Option::None;
1846    }
1847
1848    pub fn has_ip_country(&self) -> bool {
1849        self.ip_country.is_some()
1850    }
1851
1852    // Param is passed by value, moved
1853    pub fn set_ip_country(&mut self, v: ::std::string::String) {
1854        self.ip_country = ::std::option::Option::Some(v);
1855    }
1856
1857    // Mutable pointer to the field.
1858    // If field is not initialized, it is initialized with default value first.
1859    pub fn mut_ip_country(&mut self) -> &mut ::std::string::String {
1860        if self.ip_country.is_none() {
1861            self.ip_country = ::std::option::Option::Some(::std::string::String::new());
1862        }
1863        self.ip_country.as_mut().unwrap()
1864    }
1865
1866    // Take field
1867    pub fn take_ip_country(&mut self) -> ::std::string::String {
1868        self.ip_country.take().unwrap_or_else(|| ::std::string::String::new())
1869    }
1870}
1871
1872impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_GetClientUpdateHosts_Response {
1873    const NAME: &'static str = "CContentServerDirectory_GetClientUpdateHosts_Response";
1874
1875    fn is_initialized(&self) -> bool {
1876        true
1877    }
1878
1879    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1880        while let Some(tag) = is.read_raw_tag_or_eof()? {
1881            match tag {
1882                10 => {
1883                    self.hosts_kv = ::std::option::Option::Some(is.read_string()?);
1884                },
1885                16 => {
1886                    self.valid_until_time = ::std::option::Option::Some(is.read_uint64()?);
1887                },
1888                26 => {
1889                    self.ip_country = ::std::option::Option::Some(is.read_string()?);
1890                },
1891                tag => {
1892                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1893                },
1894            };
1895        }
1896        ::std::result::Result::Ok(())
1897    }
1898
1899    // Compute sizes of nested messages
1900    #[allow(unused_variables)]
1901    fn compute_size(&self) -> u64 {
1902        let mut my_size = 0;
1903        if let Some(v) = self.hosts_kv.as_ref() {
1904            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
1905        }
1906        if let Some(v) = self.valid_until_time {
1907            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
1908        }
1909        if let Some(v) = self.ip_country.as_ref() {
1910            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
1911        }
1912        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1913        self.special_fields.cached_size().set(my_size as u32);
1914        my_size
1915    }
1916
1917    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1918        if let Some(v) = self.hosts_kv.as_ref() {
1919            os.write_string(1, v)?;
1920        }
1921        if let Some(v) = self.valid_until_time {
1922            os.write_uint64(2, v)?;
1923        }
1924        if let Some(v) = self.ip_country.as_ref() {
1925            os.write_string(3, v)?;
1926        }
1927        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1928        ::std::result::Result::Ok(())
1929    }
1930
1931    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1932        &self.special_fields
1933    }
1934
1935    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1936        &mut self.special_fields
1937    }
1938
1939    fn new() -> CContentServerDirectory_GetClientUpdateHosts_Response {
1940        CContentServerDirectory_GetClientUpdateHosts_Response::new()
1941    }
1942
1943    fn clear(&mut self) {
1944        self.hosts_kv = ::std::option::Option::None;
1945        self.valid_until_time = ::std::option::Option::None;
1946        self.ip_country = ::std::option::Option::None;
1947        self.special_fields.clear();
1948    }
1949
1950    fn default_instance() -> &'static CContentServerDirectory_GetClientUpdateHosts_Response {
1951        static instance: CContentServerDirectory_GetClientUpdateHosts_Response = CContentServerDirectory_GetClientUpdateHosts_Response {
1952            hosts_kv: ::std::option::Option::None,
1953            valid_until_time: ::std::option::Option::None,
1954            ip_country: ::std::option::Option::None,
1955            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1956        };
1957        &instance
1958    }
1959}
1960
1961// @@protoc_insertion_point(message:CContentServerDirectory_GetManifestRequestCode_Request)
1962#[derive(PartialEq,Clone,Default,Debug)]
1963pub struct CContentServerDirectory_GetManifestRequestCode_Request {
1964    // message fields
1965    // @@protoc_insertion_point(field:CContentServerDirectory_GetManifestRequestCode_Request.app_id)
1966    pub app_id: ::std::option::Option<u32>,
1967    // @@protoc_insertion_point(field:CContentServerDirectory_GetManifestRequestCode_Request.depot_id)
1968    pub depot_id: ::std::option::Option<u32>,
1969    // @@protoc_insertion_point(field:CContentServerDirectory_GetManifestRequestCode_Request.manifest_id)
1970    pub manifest_id: ::std::option::Option<u64>,
1971    // @@protoc_insertion_point(field:CContentServerDirectory_GetManifestRequestCode_Request.app_branch)
1972    pub app_branch: ::std::option::Option<::std::string::String>,
1973    // @@protoc_insertion_point(field:CContentServerDirectory_GetManifestRequestCode_Request.branch_password_hash)
1974    pub branch_password_hash: ::std::option::Option<::std::string::String>,
1975    // special fields
1976    // @@protoc_insertion_point(special_field:CContentServerDirectory_GetManifestRequestCode_Request.special_fields)
1977    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1978}
1979
1980impl<'a> ::std::default::Default for &'a CContentServerDirectory_GetManifestRequestCode_Request {
1981    fn default() -> &'a CContentServerDirectory_GetManifestRequestCode_Request {
1982        <CContentServerDirectory_GetManifestRequestCode_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1983    }
1984}
1985
1986impl CContentServerDirectory_GetManifestRequestCode_Request {
1987    pub fn new() -> CContentServerDirectory_GetManifestRequestCode_Request {
1988        ::std::default::Default::default()
1989    }
1990
1991    // optional uint32 app_id = 1;
1992
1993    pub fn app_id(&self) -> u32 {
1994        self.app_id.unwrap_or(0)
1995    }
1996
1997    pub fn clear_app_id(&mut self) {
1998        self.app_id = ::std::option::Option::None;
1999    }
2000
2001    pub fn has_app_id(&self) -> bool {
2002        self.app_id.is_some()
2003    }
2004
2005    // Param is passed by value, moved
2006    pub fn set_app_id(&mut self, v: u32) {
2007        self.app_id = ::std::option::Option::Some(v);
2008    }
2009
2010    // optional uint32 depot_id = 2;
2011
2012    pub fn depot_id(&self) -> u32 {
2013        self.depot_id.unwrap_or(0)
2014    }
2015
2016    pub fn clear_depot_id(&mut self) {
2017        self.depot_id = ::std::option::Option::None;
2018    }
2019
2020    pub fn has_depot_id(&self) -> bool {
2021        self.depot_id.is_some()
2022    }
2023
2024    // Param is passed by value, moved
2025    pub fn set_depot_id(&mut self, v: u32) {
2026        self.depot_id = ::std::option::Option::Some(v);
2027    }
2028
2029    // optional uint64 manifest_id = 3;
2030
2031    pub fn manifest_id(&self) -> u64 {
2032        self.manifest_id.unwrap_or(0)
2033    }
2034
2035    pub fn clear_manifest_id(&mut self) {
2036        self.manifest_id = ::std::option::Option::None;
2037    }
2038
2039    pub fn has_manifest_id(&self) -> bool {
2040        self.manifest_id.is_some()
2041    }
2042
2043    // Param is passed by value, moved
2044    pub fn set_manifest_id(&mut self, v: u64) {
2045        self.manifest_id = ::std::option::Option::Some(v);
2046    }
2047
2048    // optional string app_branch = 4;
2049
2050    pub fn app_branch(&self) -> &str {
2051        match self.app_branch.as_ref() {
2052            Some(v) => v,
2053            None => "",
2054        }
2055    }
2056
2057    pub fn clear_app_branch(&mut self) {
2058        self.app_branch = ::std::option::Option::None;
2059    }
2060
2061    pub fn has_app_branch(&self) -> bool {
2062        self.app_branch.is_some()
2063    }
2064
2065    // Param is passed by value, moved
2066    pub fn set_app_branch(&mut self, v: ::std::string::String) {
2067        self.app_branch = ::std::option::Option::Some(v);
2068    }
2069
2070    // Mutable pointer to the field.
2071    // If field is not initialized, it is initialized with default value first.
2072    pub fn mut_app_branch(&mut self) -> &mut ::std::string::String {
2073        if self.app_branch.is_none() {
2074            self.app_branch = ::std::option::Option::Some(::std::string::String::new());
2075        }
2076        self.app_branch.as_mut().unwrap()
2077    }
2078
2079    // Take field
2080    pub fn take_app_branch(&mut self) -> ::std::string::String {
2081        self.app_branch.take().unwrap_or_else(|| ::std::string::String::new())
2082    }
2083
2084    // optional string branch_password_hash = 5;
2085
2086    pub fn branch_password_hash(&self) -> &str {
2087        match self.branch_password_hash.as_ref() {
2088            Some(v) => v,
2089            None => "",
2090        }
2091    }
2092
2093    pub fn clear_branch_password_hash(&mut self) {
2094        self.branch_password_hash = ::std::option::Option::None;
2095    }
2096
2097    pub fn has_branch_password_hash(&self) -> bool {
2098        self.branch_password_hash.is_some()
2099    }
2100
2101    // Param is passed by value, moved
2102    pub fn set_branch_password_hash(&mut self, v: ::std::string::String) {
2103        self.branch_password_hash = ::std::option::Option::Some(v);
2104    }
2105
2106    // Mutable pointer to the field.
2107    // If field is not initialized, it is initialized with default value first.
2108    pub fn mut_branch_password_hash(&mut self) -> &mut ::std::string::String {
2109        if self.branch_password_hash.is_none() {
2110            self.branch_password_hash = ::std::option::Option::Some(::std::string::String::new());
2111        }
2112        self.branch_password_hash.as_mut().unwrap()
2113    }
2114
2115    // Take field
2116    pub fn take_branch_password_hash(&mut self) -> ::std::string::String {
2117        self.branch_password_hash.take().unwrap_or_else(|| ::std::string::String::new())
2118    }
2119}
2120
2121impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_GetManifestRequestCode_Request {
2122    const NAME: &'static str = "CContentServerDirectory_GetManifestRequestCode_Request";
2123
2124    fn is_initialized(&self) -> bool {
2125        true
2126    }
2127
2128    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2129        while let Some(tag) = is.read_raw_tag_or_eof()? {
2130            match tag {
2131                8 => {
2132                    self.app_id = ::std::option::Option::Some(is.read_uint32()?);
2133                },
2134                16 => {
2135                    self.depot_id = ::std::option::Option::Some(is.read_uint32()?);
2136                },
2137                24 => {
2138                    self.manifest_id = ::std::option::Option::Some(is.read_uint64()?);
2139                },
2140                34 => {
2141                    self.app_branch = ::std::option::Option::Some(is.read_string()?);
2142                },
2143                42 => {
2144                    self.branch_password_hash = ::std::option::Option::Some(is.read_string()?);
2145                },
2146                tag => {
2147                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2148                },
2149            };
2150        }
2151        ::std::result::Result::Ok(())
2152    }
2153
2154    // Compute sizes of nested messages
2155    #[allow(unused_variables)]
2156    fn compute_size(&self) -> u64 {
2157        let mut my_size = 0;
2158        if let Some(v) = self.app_id {
2159            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
2160        }
2161        if let Some(v) = self.depot_id {
2162            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
2163        }
2164        if let Some(v) = self.manifest_id {
2165            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
2166        }
2167        if let Some(v) = self.app_branch.as_ref() {
2168            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
2169        }
2170        if let Some(v) = self.branch_password_hash.as_ref() {
2171            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
2172        }
2173        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2174        self.special_fields.cached_size().set(my_size as u32);
2175        my_size
2176    }
2177
2178    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2179        if let Some(v) = self.app_id {
2180            os.write_uint32(1, v)?;
2181        }
2182        if let Some(v) = self.depot_id {
2183            os.write_uint32(2, v)?;
2184        }
2185        if let Some(v) = self.manifest_id {
2186            os.write_uint64(3, v)?;
2187        }
2188        if let Some(v) = self.app_branch.as_ref() {
2189            os.write_string(4, v)?;
2190        }
2191        if let Some(v) = self.branch_password_hash.as_ref() {
2192            os.write_string(5, v)?;
2193        }
2194        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2195        ::std::result::Result::Ok(())
2196    }
2197
2198    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2199        &self.special_fields
2200    }
2201
2202    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2203        &mut self.special_fields
2204    }
2205
2206    fn new() -> CContentServerDirectory_GetManifestRequestCode_Request {
2207        CContentServerDirectory_GetManifestRequestCode_Request::new()
2208    }
2209
2210    fn clear(&mut self) {
2211        self.app_id = ::std::option::Option::None;
2212        self.depot_id = ::std::option::Option::None;
2213        self.manifest_id = ::std::option::Option::None;
2214        self.app_branch = ::std::option::Option::None;
2215        self.branch_password_hash = ::std::option::Option::None;
2216        self.special_fields.clear();
2217    }
2218
2219    fn default_instance() -> &'static CContentServerDirectory_GetManifestRequestCode_Request {
2220        static instance: CContentServerDirectory_GetManifestRequestCode_Request = CContentServerDirectory_GetManifestRequestCode_Request {
2221            app_id: ::std::option::Option::None,
2222            depot_id: ::std::option::Option::None,
2223            manifest_id: ::std::option::Option::None,
2224            app_branch: ::std::option::Option::None,
2225            branch_password_hash: ::std::option::Option::None,
2226            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2227        };
2228        &instance
2229    }
2230}
2231
2232// @@protoc_insertion_point(message:CContentServerDirectory_GetManifestRequestCode_Response)
2233#[derive(PartialEq,Clone,Default,Debug)]
2234pub struct CContentServerDirectory_GetManifestRequestCode_Response {
2235    // message fields
2236    // @@protoc_insertion_point(field:CContentServerDirectory_GetManifestRequestCode_Response.manifest_request_code)
2237    pub manifest_request_code: ::std::option::Option<u64>,
2238    // special fields
2239    // @@protoc_insertion_point(special_field:CContentServerDirectory_GetManifestRequestCode_Response.special_fields)
2240    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2241}
2242
2243impl<'a> ::std::default::Default for &'a CContentServerDirectory_GetManifestRequestCode_Response {
2244    fn default() -> &'a CContentServerDirectory_GetManifestRequestCode_Response {
2245        <CContentServerDirectory_GetManifestRequestCode_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2246    }
2247}
2248
2249impl CContentServerDirectory_GetManifestRequestCode_Response {
2250    pub fn new() -> CContentServerDirectory_GetManifestRequestCode_Response {
2251        ::std::default::Default::default()
2252    }
2253
2254    // optional uint64 manifest_request_code = 1;
2255
2256    pub fn manifest_request_code(&self) -> u64 {
2257        self.manifest_request_code.unwrap_or(0)
2258    }
2259
2260    pub fn clear_manifest_request_code(&mut self) {
2261        self.manifest_request_code = ::std::option::Option::None;
2262    }
2263
2264    pub fn has_manifest_request_code(&self) -> bool {
2265        self.manifest_request_code.is_some()
2266    }
2267
2268    // Param is passed by value, moved
2269    pub fn set_manifest_request_code(&mut self, v: u64) {
2270        self.manifest_request_code = ::std::option::Option::Some(v);
2271    }
2272}
2273
2274impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_GetManifestRequestCode_Response {
2275    const NAME: &'static str = "CContentServerDirectory_GetManifestRequestCode_Response";
2276
2277    fn is_initialized(&self) -> bool {
2278        true
2279    }
2280
2281    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2282        while let Some(tag) = is.read_raw_tag_or_eof()? {
2283            match tag {
2284                8 => {
2285                    self.manifest_request_code = ::std::option::Option::Some(is.read_uint64()?);
2286                },
2287                tag => {
2288                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2289                },
2290            };
2291        }
2292        ::std::result::Result::Ok(())
2293    }
2294
2295    // Compute sizes of nested messages
2296    #[allow(unused_variables)]
2297    fn compute_size(&self) -> u64 {
2298        let mut my_size = 0;
2299        if let Some(v) = self.manifest_request_code {
2300            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
2301        }
2302        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2303        self.special_fields.cached_size().set(my_size as u32);
2304        my_size
2305    }
2306
2307    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2308        if let Some(v) = self.manifest_request_code {
2309            os.write_uint64(1, v)?;
2310        }
2311        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2312        ::std::result::Result::Ok(())
2313    }
2314
2315    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2316        &self.special_fields
2317    }
2318
2319    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2320        &mut self.special_fields
2321    }
2322
2323    fn new() -> CContentServerDirectory_GetManifestRequestCode_Response {
2324        CContentServerDirectory_GetManifestRequestCode_Response::new()
2325    }
2326
2327    fn clear(&mut self) {
2328        self.manifest_request_code = ::std::option::Option::None;
2329        self.special_fields.clear();
2330    }
2331
2332    fn default_instance() -> &'static CContentServerDirectory_GetManifestRequestCode_Response {
2333        static instance: CContentServerDirectory_GetManifestRequestCode_Response = CContentServerDirectory_GetManifestRequestCode_Response {
2334            manifest_request_code: ::std::option::Option::None,
2335            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2336        };
2337        &instance
2338    }
2339}
2340
2341// @@protoc_insertion_point(message:CContentServerDirectory_GetCDNAuthToken_Request)
2342#[derive(PartialEq,Clone,Default,Debug)]
2343pub struct CContentServerDirectory_GetCDNAuthToken_Request {
2344    // message fields
2345    // @@protoc_insertion_point(field:CContentServerDirectory_GetCDNAuthToken_Request.depot_id)
2346    pub depot_id: ::std::option::Option<u32>,
2347    // @@protoc_insertion_point(field:CContentServerDirectory_GetCDNAuthToken_Request.host_name)
2348    pub host_name: ::std::option::Option<::std::string::String>,
2349    // @@protoc_insertion_point(field:CContentServerDirectory_GetCDNAuthToken_Request.app_id)
2350    pub app_id: ::std::option::Option<u32>,
2351    // special fields
2352    // @@protoc_insertion_point(special_field:CContentServerDirectory_GetCDNAuthToken_Request.special_fields)
2353    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2354}
2355
2356impl<'a> ::std::default::Default for &'a CContentServerDirectory_GetCDNAuthToken_Request {
2357    fn default() -> &'a CContentServerDirectory_GetCDNAuthToken_Request {
2358        <CContentServerDirectory_GetCDNAuthToken_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2359    }
2360}
2361
2362impl CContentServerDirectory_GetCDNAuthToken_Request {
2363    pub fn new() -> CContentServerDirectory_GetCDNAuthToken_Request {
2364        ::std::default::Default::default()
2365    }
2366
2367    // optional uint32 depot_id = 1;
2368
2369    pub fn depot_id(&self) -> u32 {
2370        self.depot_id.unwrap_or(0)
2371    }
2372
2373    pub fn clear_depot_id(&mut self) {
2374        self.depot_id = ::std::option::Option::None;
2375    }
2376
2377    pub fn has_depot_id(&self) -> bool {
2378        self.depot_id.is_some()
2379    }
2380
2381    // Param is passed by value, moved
2382    pub fn set_depot_id(&mut self, v: u32) {
2383        self.depot_id = ::std::option::Option::Some(v);
2384    }
2385
2386    // optional string host_name = 2;
2387
2388    pub fn host_name(&self) -> &str {
2389        match self.host_name.as_ref() {
2390            Some(v) => v,
2391            None => "",
2392        }
2393    }
2394
2395    pub fn clear_host_name(&mut self) {
2396        self.host_name = ::std::option::Option::None;
2397    }
2398
2399    pub fn has_host_name(&self) -> bool {
2400        self.host_name.is_some()
2401    }
2402
2403    // Param is passed by value, moved
2404    pub fn set_host_name(&mut self, v: ::std::string::String) {
2405        self.host_name = ::std::option::Option::Some(v);
2406    }
2407
2408    // Mutable pointer to the field.
2409    // If field is not initialized, it is initialized with default value first.
2410    pub fn mut_host_name(&mut self) -> &mut ::std::string::String {
2411        if self.host_name.is_none() {
2412            self.host_name = ::std::option::Option::Some(::std::string::String::new());
2413        }
2414        self.host_name.as_mut().unwrap()
2415    }
2416
2417    // Take field
2418    pub fn take_host_name(&mut self) -> ::std::string::String {
2419        self.host_name.take().unwrap_or_else(|| ::std::string::String::new())
2420    }
2421
2422    // optional uint32 app_id = 3;
2423
2424    pub fn app_id(&self) -> u32 {
2425        self.app_id.unwrap_or(0)
2426    }
2427
2428    pub fn clear_app_id(&mut self) {
2429        self.app_id = ::std::option::Option::None;
2430    }
2431
2432    pub fn has_app_id(&self) -> bool {
2433        self.app_id.is_some()
2434    }
2435
2436    // Param is passed by value, moved
2437    pub fn set_app_id(&mut self, v: u32) {
2438        self.app_id = ::std::option::Option::Some(v);
2439    }
2440}
2441
2442impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_GetCDNAuthToken_Request {
2443    const NAME: &'static str = "CContentServerDirectory_GetCDNAuthToken_Request";
2444
2445    fn is_initialized(&self) -> bool {
2446        true
2447    }
2448
2449    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2450        while let Some(tag) = is.read_raw_tag_or_eof()? {
2451            match tag {
2452                8 => {
2453                    self.depot_id = ::std::option::Option::Some(is.read_uint32()?);
2454                },
2455                18 => {
2456                    self.host_name = ::std::option::Option::Some(is.read_string()?);
2457                },
2458                24 => {
2459                    self.app_id = ::std::option::Option::Some(is.read_uint32()?);
2460                },
2461                tag => {
2462                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2463                },
2464            };
2465        }
2466        ::std::result::Result::Ok(())
2467    }
2468
2469    // Compute sizes of nested messages
2470    #[allow(unused_variables)]
2471    fn compute_size(&self) -> u64 {
2472        let mut my_size = 0;
2473        if let Some(v) = self.depot_id {
2474            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
2475        }
2476        if let Some(v) = self.host_name.as_ref() {
2477            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
2478        }
2479        if let Some(v) = self.app_id {
2480            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
2481        }
2482        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2483        self.special_fields.cached_size().set(my_size as u32);
2484        my_size
2485    }
2486
2487    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2488        if let Some(v) = self.depot_id {
2489            os.write_uint32(1, v)?;
2490        }
2491        if let Some(v) = self.host_name.as_ref() {
2492            os.write_string(2, v)?;
2493        }
2494        if let Some(v) = self.app_id {
2495            os.write_uint32(3, v)?;
2496        }
2497        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2498        ::std::result::Result::Ok(())
2499    }
2500
2501    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2502        &self.special_fields
2503    }
2504
2505    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2506        &mut self.special_fields
2507    }
2508
2509    fn new() -> CContentServerDirectory_GetCDNAuthToken_Request {
2510        CContentServerDirectory_GetCDNAuthToken_Request::new()
2511    }
2512
2513    fn clear(&mut self) {
2514        self.depot_id = ::std::option::Option::None;
2515        self.host_name = ::std::option::Option::None;
2516        self.app_id = ::std::option::Option::None;
2517        self.special_fields.clear();
2518    }
2519
2520    fn default_instance() -> &'static CContentServerDirectory_GetCDNAuthToken_Request {
2521        static instance: CContentServerDirectory_GetCDNAuthToken_Request = CContentServerDirectory_GetCDNAuthToken_Request {
2522            depot_id: ::std::option::Option::None,
2523            host_name: ::std::option::Option::None,
2524            app_id: ::std::option::Option::None,
2525            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2526        };
2527        &instance
2528    }
2529}
2530
2531// @@protoc_insertion_point(message:CContentServerDirectory_GetCDNAuthToken_Response)
2532#[derive(PartialEq,Clone,Default,Debug)]
2533pub struct CContentServerDirectory_GetCDNAuthToken_Response {
2534    // message fields
2535    // @@protoc_insertion_point(field:CContentServerDirectory_GetCDNAuthToken_Response.token)
2536    pub token: ::std::option::Option<::std::string::String>,
2537    // @@protoc_insertion_point(field:CContentServerDirectory_GetCDNAuthToken_Response.expiration_time)
2538    pub expiration_time: ::std::option::Option<u32>,
2539    // special fields
2540    // @@protoc_insertion_point(special_field:CContentServerDirectory_GetCDNAuthToken_Response.special_fields)
2541    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2542}
2543
2544impl<'a> ::std::default::Default for &'a CContentServerDirectory_GetCDNAuthToken_Response {
2545    fn default() -> &'a CContentServerDirectory_GetCDNAuthToken_Response {
2546        <CContentServerDirectory_GetCDNAuthToken_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2547    }
2548}
2549
2550impl CContentServerDirectory_GetCDNAuthToken_Response {
2551    pub fn new() -> CContentServerDirectory_GetCDNAuthToken_Response {
2552        ::std::default::Default::default()
2553    }
2554
2555    // optional string token = 1;
2556
2557    pub fn token(&self) -> &str {
2558        match self.token.as_ref() {
2559            Some(v) => v,
2560            None => "",
2561        }
2562    }
2563
2564    pub fn clear_token(&mut self) {
2565        self.token = ::std::option::Option::None;
2566    }
2567
2568    pub fn has_token(&self) -> bool {
2569        self.token.is_some()
2570    }
2571
2572    // Param is passed by value, moved
2573    pub fn set_token(&mut self, v: ::std::string::String) {
2574        self.token = ::std::option::Option::Some(v);
2575    }
2576
2577    // Mutable pointer to the field.
2578    // If field is not initialized, it is initialized with default value first.
2579    pub fn mut_token(&mut self) -> &mut ::std::string::String {
2580        if self.token.is_none() {
2581            self.token = ::std::option::Option::Some(::std::string::String::new());
2582        }
2583        self.token.as_mut().unwrap()
2584    }
2585
2586    // Take field
2587    pub fn take_token(&mut self) -> ::std::string::String {
2588        self.token.take().unwrap_or_else(|| ::std::string::String::new())
2589    }
2590
2591    // optional uint32 expiration_time = 2;
2592
2593    pub fn expiration_time(&self) -> u32 {
2594        self.expiration_time.unwrap_or(0)
2595    }
2596
2597    pub fn clear_expiration_time(&mut self) {
2598        self.expiration_time = ::std::option::Option::None;
2599    }
2600
2601    pub fn has_expiration_time(&self) -> bool {
2602        self.expiration_time.is_some()
2603    }
2604
2605    // Param is passed by value, moved
2606    pub fn set_expiration_time(&mut self, v: u32) {
2607        self.expiration_time = ::std::option::Option::Some(v);
2608    }
2609}
2610
2611impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_GetCDNAuthToken_Response {
2612    const NAME: &'static str = "CContentServerDirectory_GetCDNAuthToken_Response";
2613
2614    fn is_initialized(&self) -> bool {
2615        true
2616    }
2617
2618    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2619        while let Some(tag) = is.read_raw_tag_or_eof()? {
2620            match tag {
2621                10 => {
2622                    self.token = ::std::option::Option::Some(is.read_string()?);
2623                },
2624                16 => {
2625                    self.expiration_time = ::std::option::Option::Some(is.read_uint32()?);
2626                },
2627                tag => {
2628                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2629                },
2630            };
2631        }
2632        ::std::result::Result::Ok(())
2633    }
2634
2635    // Compute sizes of nested messages
2636    #[allow(unused_variables)]
2637    fn compute_size(&self) -> u64 {
2638        let mut my_size = 0;
2639        if let Some(v) = self.token.as_ref() {
2640            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
2641        }
2642        if let Some(v) = self.expiration_time {
2643            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
2644        }
2645        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2646        self.special_fields.cached_size().set(my_size as u32);
2647        my_size
2648    }
2649
2650    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2651        if let Some(v) = self.token.as_ref() {
2652            os.write_string(1, v)?;
2653        }
2654        if let Some(v) = self.expiration_time {
2655            os.write_uint32(2, v)?;
2656        }
2657        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2658        ::std::result::Result::Ok(())
2659    }
2660
2661    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2662        &self.special_fields
2663    }
2664
2665    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2666        &mut self.special_fields
2667    }
2668
2669    fn new() -> CContentServerDirectory_GetCDNAuthToken_Response {
2670        CContentServerDirectory_GetCDNAuthToken_Response::new()
2671    }
2672
2673    fn clear(&mut self) {
2674        self.token = ::std::option::Option::None;
2675        self.expiration_time = ::std::option::Option::None;
2676        self.special_fields.clear();
2677    }
2678
2679    fn default_instance() -> &'static CContentServerDirectory_GetCDNAuthToken_Response {
2680        static instance: CContentServerDirectory_GetCDNAuthToken_Response = CContentServerDirectory_GetCDNAuthToken_Response {
2681            token: ::std::option::Option::None,
2682            expiration_time: ::std::option::Option::None,
2683            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2684        };
2685        &instance
2686    }
2687}
2688
2689// @@protoc_insertion_point(message:CContentServerDirectory_RequestPeerContentServer_Request)
2690#[derive(PartialEq,Clone,Default,Debug)]
2691pub struct CContentServerDirectory_RequestPeerContentServer_Request {
2692    // message fields
2693    // @@protoc_insertion_point(field:CContentServerDirectory_RequestPeerContentServer_Request.remote_client_id)
2694    pub remote_client_id: ::std::option::Option<u64>,
2695    // @@protoc_insertion_point(field:CContentServerDirectory_RequestPeerContentServer_Request.steamid)
2696    pub steamid: ::std::option::Option<u64>,
2697    // @@protoc_insertion_point(field:CContentServerDirectory_RequestPeerContentServer_Request.server_remote_client_id)
2698    pub server_remote_client_id: ::std::option::Option<u64>,
2699    // @@protoc_insertion_point(field:CContentServerDirectory_RequestPeerContentServer_Request.app_id)
2700    pub app_id: ::std::option::Option<u32>,
2701    // @@protoc_insertion_point(field:CContentServerDirectory_RequestPeerContentServer_Request.current_build_id)
2702    pub current_build_id: ::std::option::Option<u32>,
2703    // special fields
2704    // @@protoc_insertion_point(special_field:CContentServerDirectory_RequestPeerContentServer_Request.special_fields)
2705    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2706}
2707
2708impl<'a> ::std::default::Default for &'a CContentServerDirectory_RequestPeerContentServer_Request {
2709    fn default() -> &'a CContentServerDirectory_RequestPeerContentServer_Request {
2710        <CContentServerDirectory_RequestPeerContentServer_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2711    }
2712}
2713
2714impl CContentServerDirectory_RequestPeerContentServer_Request {
2715    pub fn new() -> CContentServerDirectory_RequestPeerContentServer_Request {
2716        ::std::default::Default::default()
2717    }
2718
2719    // optional uint64 remote_client_id = 1;
2720
2721    pub fn remote_client_id(&self) -> u64 {
2722        self.remote_client_id.unwrap_or(0)
2723    }
2724
2725    pub fn clear_remote_client_id(&mut self) {
2726        self.remote_client_id = ::std::option::Option::None;
2727    }
2728
2729    pub fn has_remote_client_id(&self) -> bool {
2730        self.remote_client_id.is_some()
2731    }
2732
2733    // Param is passed by value, moved
2734    pub fn set_remote_client_id(&mut self, v: u64) {
2735        self.remote_client_id = ::std::option::Option::Some(v);
2736    }
2737
2738    // optional uint64 steamid = 2;
2739
2740    pub fn steamid(&self) -> u64 {
2741        self.steamid.unwrap_or(0)
2742    }
2743
2744    pub fn clear_steamid(&mut self) {
2745        self.steamid = ::std::option::Option::None;
2746    }
2747
2748    pub fn has_steamid(&self) -> bool {
2749        self.steamid.is_some()
2750    }
2751
2752    // Param is passed by value, moved
2753    pub fn set_steamid(&mut self, v: u64) {
2754        self.steamid = ::std::option::Option::Some(v);
2755    }
2756
2757    // optional uint64 server_remote_client_id = 3;
2758
2759    pub fn server_remote_client_id(&self) -> u64 {
2760        self.server_remote_client_id.unwrap_or(0)
2761    }
2762
2763    pub fn clear_server_remote_client_id(&mut self) {
2764        self.server_remote_client_id = ::std::option::Option::None;
2765    }
2766
2767    pub fn has_server_remote_client_id(&self) -> bool {
2768        self.server_remote_client_id.is_some()
2769    }
2770
2771    // Param is passed by value, moved
2772    pub fn set_server_remote_client_id(&mut self, v: u64) {
2773        self.server_remote_client_id = ::std::option::Option::Some(v);
2774    }
2775
2776    // optional uint32 app_id = 4;
2777
2778    pub fn app_id(&self) -> u32 {
2779        self.app_id.unwrap_or(0)
2780    }
2781
2782    pub fn clear_app_id(&mut self) {
2783        self.app_id = ::std::option::Option::None;
2784    }
2785
2786    pub fn has_app_id(&self) -> bool {
2787        self.app_id.is_some()
2788    }
2789
2790    // Param is passed by value, moved
2791    pub fn set_app_id(&mut self, v: u32) {
2792        self.app_id = ::std::option::Option::Some(v);
2793    }
2794
2795    // optional uint32 current_build_id = 5;
2796
2797    pub fn current_build_id(&self) -> u32 {
2798        self.current_build_id.unwrap_or(0)
2799    }
2800
2801    pub fn clear_current_build_id(&mut self) {
2802        self.current_build_id = ::std::option::Option::None;
2803    }
2804
2805    pub fn has_current_build_id(&self) -> bool {
2806        self.current_build_id.is_some()
2807    }
2808
2809    // Param is passed by value, moved
2810    pub fn set_current_build_id(&mut self, v: u32) {
2811        self.current_build_id = ::std::option::Option::Some(v);
2812    }
2813}
2814
2815impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_RequestPeerContentServer_Request {
2816    const NAME: &'static str = "CContentServerDirectory_RequestPeerContentServer_Request";
2817
2818    fn is_initialized(&self) -> bool {
2819        true
2820    }
2821
2822    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2823        while let Some(tag) = is.read_raw_tag_or_eof()? {
2824            match tag {
2825                8 => {
2826                    self.remote_client_id = ::std::option::Option::Some(is.read_uint64()?);
2827                },
2828                16 => {
2829                    self.steamid = ::std::option::Option::Some(is.read_uint64()?);
2830                },
2831                24 => {
2832                    self.server_remote_client_id = ::std::option::Option::Some(is.read_uint64()?);
2833                },
2834                32 => {
2835                    self.app_id = ::std::option::Option::Some(is.read_uint32()?);
2836                },
2837                40 => {
2838                    self.current_build_id = ::std::option::Option::Some(is.read_uint32()?);
2839                },
2840                tag => {
2841                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2842                },
2843            };
2844        }
2845        ::std::result::Result::Ok(())
2846    }
2847
2848    // Compute sizes of nested messages
2849    #[allow(unused_variables)]
2850    fn compute_size(&self) -> u64 {
2851        let mut my_size = 0;
2852        if let Some(v) = self.remote_client_id {
2853            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
2854        }
2855        if let Some(v) = self.steamid {
2856            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
2857        }
2858        if let Some(v) = self.server_remote_client_id {
2859            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
2860        }
2861        if let Some(v) = self.app_id {
2862            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
2863        }
2864        if let Some(v) = self.current_build_id {
2865            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
2866        }
2867        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2868        self.special_fields.cached_size().set(my_size as u32);
2869        my_size
2870    }
2871
2872    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2873        if let Some(v) = self.remote_client_id {
2874            os.write_uint64(1, v)?;
2875        }
2876        if let Some(v) = self.steamid {
2877            os.write_uint64(2, v)?;
2878        }
2879        if let Some(v) = self.server_remote_client_id {
2880            os.write_uint64(3, v)?;
2881        }
2882        if let Some(v) = self.app_id {
2883            os.write_uint32(4, v)?;
2884        }
2885        if let Some(v) = self.current_build_id {
2886            os.write_uint32(5, v)?;
2887        }
2888        os.write_unknown_fields(self.special_fields.unknown_fields())?;
2889        ::std::result::Result::Ok(())
2890    }
2891
2892    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2893        &self.special_fields
2894    }
2895
2896    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2897        &mut self.special_fields
2898    }
2899
2900    fn new() -> CContentServerDirectory_RequestPeerContentServer_Request {
2901        CContentServerDirectory_RequestPeerContentServer_Request::new()
2902    }
2903
2904    fn clear(&mut self) {
2905        self.remote_client_id = ::std::option::Option::None;
2906        self.steamid = ::std::option::Option::None;
2907        self.server_remote_client_id = ::std::option::Option::None;
2908        self.app_id = ::std::option::Option::None;
2909        self.current_build_id = ::std::option::Option::None;
2910        self.special_fields.clear();
2911    }
2912
2913    fn default_instance() -> &'static CContentServerDirectory_RequestPeerContentServer_Request {
2914        static instance: CContentServerDirectory_RequestPeerContentServer_Request = CContentServerDirectory_RequestPeerContentServer_Request {
2915            remote_client_id: ::std::option::Option::None,
2916            steamid: ::std::option::Option::None,
2917            server_remote_client_id: ::std::option::Option::None,
2918            app_id: ::std::option::Option::None,
2919            current_build_id: ::std::option::Option::None,
2920            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2921        };
2922        &instance
2923    }
2924}
2925
2926// @@protoc_insertion_point(message:CContentServerDirectory_RequestPeerContentServer_Response)
2927#[derive(PartialEq,Clone,Default,Debug)]
2928pub struct CContentServerDirectory_RequestPeerContentServer_Response {
2929    // message fields
2930    // @@protoc_insertion_point(field:CContentServerDirectory_RequestPeerContentServer_Response.server_port)
2931    pub server_port: ::std::option::Option<u32>,
2932    // @@protoc_insertion_point(field:CContentServerDirectory_RequestPeerContentServer_Response.installed_depots)
2933    pub installed_depots: ::std::vec::Vec<u32>,
2934    // @@protoc_insertion_point(field:CContentServerDirectory_RequestPeerContentServer_Response.access_token)
2935    pub access_token: ::std::option::Option<u64>,
2936    // special fields
2937    // @@protoc_insertion_point(special_field:CContentServerDirectory_RequestPeerContentServer_Response.special_fields)
2938    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2939}
2940
2941impl<'a> ::std::default::Default for &'a CContentServerDirectory_RequestPeerContentServer_Response {
2942    fn default() -> &'a CContentServerDirectory_RequestPeerContentServer_Response {
2943        <CContentServerDirectory_RequestPeerContentServer_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2944    }
2945}
2946
2947impl CContentServerDirectory_RequestPeerContentServer_Response {
2948    pub fn new() -> CContentServerDirectory_RequestPeerContentServer_Response {
2949        ::std::default::Default::default()
2950    }
2951
2952    // optional uint32 server_port = 1;
2953
2954    pub fn server_port(&self) -> u32 {
2955        self.server_port.unwrap_or(0)
2956    }
2957
2958    pub fn clear_server_port(&mut self) {
2959        self.server_port = ::std::option::Option::None;
2960    }
2961
2962    pub fn has_server_port(&self) -> bool {
2963        self.server_port.is_some()
2964    }
2965
2966    // Param is passed by value, moved
2967    pub fn set_server_port(&mut self, v: u32) {
2968        self.server_port = ::std::option::Option::Some(v);
2969    }
2970
2971    // optional uint64 access_token = 3;
2972
2973    pub fn access_token(&self) -> u64 {
2974        self.access_token.unwrap_or(0)
2975    }
2976
2977    pub fn clear_access_token(&mut self) {
2978        self.access_token = ::std::option::Option::None;
2979    }
2980
2981    pub fn has_access_token(&self) -> bool {
2982        self.access_token.is_some()
2983    }
2984
2985    // Param is passed by value, moved
2986    pub fn set_access_token(&mut self, v: u64) {
2987        self.access_token = ::std::option::Option::Some(v);
2988    }
2989}
2990
2991impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_RequestPeerContentServer_Response {
2992    const NAME: &'static str = "CContentServerDirectory_RequestPeerContentServer_Response";
2993
2994    fn is_initialized(&self) -> bool {
2995        true
2996    }
2997
2998    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2999        while let Some(tag) = is.read_raw_tag_or_eof()? {
3000            match tag {
3001                8 => {
3002                    self.server_port = ::std::option::Option::Some(is.read_uint32()?);
3003                },
3004                18 => {
3005                    is.read_repeated_packed_uint32_into(&mut self.installed_depots)?;
3006                },
3007                16 => {
3008                    self.installed_depots.push(is.read_uint32()?);
3009                },
3010                24 => {
3011                    self.access_token = ::std::option::Option::Some(is.read_uint64()?);
3012                },
3013                tag => {
3014                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
3015                },
3016            };
3017        }
3018        ::std::result::Result::Ok(())
3019    }
3020
3021    // Compute sizes of nested messages
3022    #[allow(unused_variables)]
3023    fn compute_size(&self) -> u64 {
3024        let mut my_size = 0;
3025        if let Some(v) = self.server_port {
3026            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
3027        }
3028        for value in &self.installed_depots {
3029            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, *value);
3030        };
3031        if let Some(v) = self.access_token {
3032            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
3033        }
3034        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
3035        self.special_fields.cached_size().set(my_size as u32);
3036        my_size
3037    }
3038
3039    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3040        if let Some(v) = self.server_port {
3041            os.write_uint32(1, v)?;
3042        }
3043        for v in &self.installed_depots {
3044            os.write_uint32(2, *v)?;
3045        };
3046        if let Some(v) = self.access_token {
3047            os.write_uint64(3, v)?;
3048        }
3049        os.write_unknown_fields(self.special_fields.unknown_fields())?;
3050        ::std::result::Result::Ok(())
3051    }
3052
3053    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
3054        &self.special_fields
3055    }
3056
3057    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
3058        &mut self.special_fields
3059    }
3060
3061    fn new() -> CContentServerDirectory_RequestPeerContentServer_Response {
3062        CContentServerDirectory_RequestPeerContentServer_Response::new()
3063    }
3064
3065    fn clear(&mut self) {
3066        self.server_port = ::std::option::Option::None;
3067        self.installed_depots.clear();
3068        self.access_token = ::std::option::Option::None;
3069        self.special_fields.clear();
3070    }
3071
3072    fn default_instance() -> &'static CContentServerDirectory_RequestPeerContentServer_Response {
3073        static instance: CContentServerDirectory_RequestPeerContentServer_Response = CContentServerDirectory_RequestPeerContentServer_Response {
3074            server_port: ::std::option::Option::None,
3075            installed_depots: ::std::vec::Vec::new(),
3076            access_token: ::std::option::Option::None,
3077            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
3078        };
3079        &instance
3080    }
3081}
3082
3083// @@protoc_insertion_point(message:CContentServerDirectory_GetPeerContentInfo_Request)
3084#[derive(PartialEq,Clone,Default,Debug)]
3085pub struct CContentServerDirectory_GetPeerContentInfo_Request {
3086    // message fields
3087    // @@protoc_insertion_point(field:CContentServerDirectory_GetPeerContentInfo_Request.remote_client_id)
3088    pub remote_client_id: ::std::option::Option<u64>,
3089    // @@protoc_insertion_point(field:CContentServerDirectory_GetPeerContentInfo_Request.steamid)
3090    pub steamid: ::std::option::Option<u64>,
3091    // @@protoc_insertion_point(field:CContentServerDirectory_GetPeerContentInfo_Request.server_remote_client_id)
3092    pub server_remote_client_id: ::std::option::Option<u64>,
3093    // special fields
3094    // @@protoc_insertion_point(special_field:CContentServerDirectory_GetPeerContentInfo_Request.special_fields)
3095    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
3096}
3097
3098impl<'a> ::std::default::Default for &'a CContentServerDirectory_GetPeerContentInfo_Request {
3099    fn default() -> &'a CContentServerDirectory_GetPeerContentInfo_Request {
3100        <CContentServerDirectory_GetPeerContentInfo_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
3101    }
3102}
3103
3104impl CContentServerDirectory_GetPeerContentInfo_Request {
3105    pub fn new() -> CContentServerDirectory_GetPeerContentInfo_Request {
3106        ::std::default::Default::default()
3107    }
3108
3109    // optional uint64 remote_client_id = 1;
3110
3111    pub fn remote_client_id(&self) -> u64 {
3112        self.remote_client_id.unwrap_or(0)
3113    }
3114
3115    pub fn clear_remote_client_id(&mut self) {
3116        self.remote_client_id = ::std::option::Option::None;
3117    }
3118
3119    pub fn has_remote_client_id(&self) -> bool {
3120        self.remote_client_id.is_some()
3121    }
3122
3123    // Param is passed by value, moved
3124    pub fn set_remote_client_id(&mut self, v: u64) {
3125        self.remote_client_id = ::std::option::Option::Some(v);
3126    }
3127
3128    // optional uint64 steamid = 2;
3129
3130    pub fn steamid(&self) -> u64 {
3131        self.steamid.unwrap_or(0)
3132    }
3133
3134    pub fn clear_steamid(&mut self) {
3135        self.steamid = ::std::option::Option::None;
3136    }
3137
3138    pub fn has_steamid(&self) -> bool {
3139        self.steamid.is_some()
3140    }
3141
3142    // Param is passed by value, moved
3143    pub fn set_steamid(&mut self, v: u64) {
3144        self.steamid = ::std::option::Option::Some(v);
3145    }
3146
3147    // optional uint64 server_remote_client_id = 3;
3148
3149    pub fn server_remote_client_id(&self) -> u64 {
3150        self.server_remote_client_id.unwrap_or(0)
3151    }
3152
3153    pub fn clear_server_remote_client_id(&mut self) {
3154        self.server_remote_client_id = ::std::option::Option::None;
3155    }
3156
3157    pub fn has_server_remote_client_id(&self) -> bool {
3158        self.server_remote_client_id.is_some()
3159    }
3160
3161    // Param is passed by value, moved
3162    pub fn set_server_remote_client_id(&mut self, v: u64) {
3163        self.server_remote_client_id = ::std::option::Option::Some(v);
3164    }
3165}
3166
3167impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_GetPeerContentInfo_Request {
3168    const NAME: &'static str = "CContentServerDirectory_GetPeerContentInfo_Request";
3169
3170    fn is_initialized(&self) -> bool {
3171        true
3172    }
3173
3174    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3175        while let Some(tag) = is.read_raw_tag_or_eof()? {
3176            match tag {
3177                8 => {
3178                    self.remote_client_id = ::std::option::Option::Some(is.read_uint64()?);
3179                },
3180                16 => {
3181                    self.steamid = ::std::option::Option::Some(is.read_uint64()?);
3182                },
3183                24 => {
3184                    self.server_remote_client_id = ::std::option::Option::Some(is.read_uint64()?);
3185                },
3186                tag => {
3187                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
3188                },
3189            };
3190        }
3191        ::std::result::Result::Ok(())
3192    }
3193
3194    // Compute sizes of nested messages
3195    #[allow(unused_variables)]
3196    fn compute_size(&self) -> u64 {
3197        let mut my_size = 0;
3198        if let Some(v) = self.remote_client_id {
3199            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
3200        }
3201        if let Some(v) = self.steamid {
3202            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
3203        }
3204        if let Some(v) = self.server_remote_client_id {
3205            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
3206        }
3207        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
3208        self.special_fields.cached_size().set(my_size as u32);
3209        my_size
3210    }
3211
3212    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3213        if let Some(v) = self.remote_client_id {
3214            os.write_uint64(1, v)?;
3215        }
3216        if let Some(v) = self.steamid {
3217            os.write_uint64(2, v)?;
3218        }
3219        if let Some(v) = self.server_remote_client_id {
3220            os.write_uint64(3, v)?;
3221        }
3222        os.write_unknown_fields(self.special_fields.unknown_fields())?;
3223        ::std::result::Result::Ok(())
3224    }
3225
3226    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
3227        &self.special_fields
3228    }
3229
3230    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
3231        &mut self.special_fields
3232    }
3233
3234    fn new() -> CContentServerDirectory_GetPeerContentInfo_Request {
3235        CContentServerDirectory_GetPeerContentInfo_Request::new()
3236    }
3237
3238    fn clear(&mut self) {
3239        self.remote_client_id = ::std::option::Option::None;
3240        self.steamid = ::std::option::Option::None;
3241        self.server_remote_client_id = ::std::option::Option::None;
3242        self.special_fields.clear();
3243    }
3244
3245    fn default_instance() -> &'static CContentServerDirectory_GetPeerContentInfo_Request {
3246        static instance: CContentServerDirectory_GetPeerContentInfo_Request = CContentServerDirectory_GetPeerContentInfo_Request {
3247            remote_client_id: ::std::option::Option::None,
3248            steamid: ::std::option::Option::None,
3249            server_remote_client_id: ::std::option::Option::None,
3250            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
3251        };
3252        &instance
3253    }
3254}
3255
3256// @@protoc_insertion_point(message:CContentServerDirectory_GetPeerContentInfo_Response)
3257#[derive(PartialEq,Clone,Default,Debug)]
3258pub struct CContentServerDirectory_GetPeerContentInfo_Response {
3259    // message fields
3260    // @@protoc_insertion_point(field:CContentServerDirectory_GetPeerContentInfo_Response.appids)
3261    pub appids: ::std::vec::Vec<u32>,
3262    // @@protoc_insertion_point(field:CContentServerDirectory_GetPeerContentInfo_Response.ip_public)
3263    pub ip_public: ::std::option::Option<::std::string::String>,
3264    // special fields
3265    // @@protoc_insertion_point(special_field:CContentServerDirectory_GetPeerContentInfo_Response.special_fields)
3266    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
3267}
3268
3269impl<'a> ::std::default::Default for &'a CContentServerDirectory_GetPeerContentInfo_Response {
3270    fn default() -> &'a CContentServerDirectory_GetPeerContentInfo_Response {
3271        <CContentServerDirectory_GetPeerContentInfo_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
3272    }
3273}
3274
3275impl CContentServerDirectory_GetPeerContentInfo_Response {
3276    pub fn new() -> CContentServerDirectory_GetPeerContentInfo_Response {
3277        ::std::default::Default::default()
3278    }
3279
3280    // optional string ip_public = 2;
3281
3282    pub fn ip_public(&self) -> &str {
3283        match self.ip_public.as_ref() {
3284            Some(v) => v,
3285            None => "",
3286        }
3287    }
3288
3289    pub fn clear_ip_public(&mut self) {
3290        self.ip_public = ::std::option::Option::None;
3291    }
3292
3293    pub fn has_ip_public(&self) -> bool {
3294        self.ip_public.is_some()
3295    }
3296
3297    // Param is passed by value, moved
3298    pub fn set_ip_public(&mut self, v: ::std::string::String) {
3299        self.ip_public = ::std::option::Option::Some(v);
3300    }
3301
3302    // Mutable pointer to the field.
3303    // If field is not initialized, it is initialized with default value first.
3304    pub fn mut_ip_public(&mut self) -> &mut ::std::string::String {
3305        if self.ip_public.is_none() {
3306            self.ip_public = ::std::option::Option::Some(::std::string::String::new());
3307        }
3308        self.ip_public.as_mut().unwrap()
3309    }
3310
3311    // Take field
3312    pub fn take_ip_public(&mut self) -> ::std::string::String {
3313        self.ip_public.take().unwrap_or_else(|| ::std::string::String::new())
3314    }
3315}
3316
3317impl ::steam_vent_proto_common::protobuf::Message for CContentServerDirectory_GetPeerContentInfo_Response {
3318    const NAME: &'static str = "CContentServerDirectory_GetPeerContentInfo_Response";
3319
3320    fn is_initialized(&self) -> bool {
3321        true
3322    }
3323
3324    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3325        while let Some(tag) = is.read_raw_tag_or_eof()? {
3326            match tag {
3327                10 => {
3328                    is.read_repeated_packed_uint32_into(&mut self.appids)?;
3329                },
3330                8 => {
3331                    self.appids.push(is.read_uint32()?);
3332                },
3333                18 => {
3334                    self.ip_public = ::std::option::Option::Some(is.read_string()?);
3335                },
3336                tag => {
3337                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
3338                },
3339            };
3340        }
3341        ::std::result::Result::Ok(())
3342    }
3343
3344    // Compute sizes of nested messages
3345    #[allow(unused_variables)]
3346    fn compute_size(&self) -> u64 {
3347        let mut my_size = 0;
3348        for value in &self.appids {
3349            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, *value);
3350        };
3351        if let Some(v) = self.ip_public.as_ref() {
3352            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
3353        }
3354        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
3355        self.special_fields.cached_size().set(my_size as u32);
3356        my_size
3357    }
3358
3359    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3360        for v in &self.appids {
3361            os.write_uint32(1, *v)?;
3362        };
3363        if let Some(v) = self.ip_public.as_ref() {
3364            os.write_string(2, v)?;
3365        }
3366        os.write_unknown_fields(self.special_fields.unknown_fields())?;
3367        ::std::result::Result::Ok(())
3368    }
3369
3370    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
3371        &self.special_fields
3372    }
3373
3374    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
3375        &mut self.special_fields
3376    }
3377
3378    fn new() -> CContentServerDirectory_GetPeerContentInfo_Response {
3379        CContentServerDirectory_GetPeerContentInfo_Response::new()
3380    }
3381
3382    fn clear(&mut self) {
3383        self.appids.clear();
3384        self.ip_public = ::std::option::Option::None;
3385        self.special_fields.clear();
3386    }
3387
3388    fn default_instance() -> &'static CContentServerDirectory_GetPeerContentInfo_Response {
3389        static instance: CContentServerDirectory_GetPeerContentInfo_Response = CContentServerDirectory_GetPeerContentInfo_Response {
3390            appids: ::std::vec::Vec::new(),
3391            ip_public: ::std::option::Option::None,
3392            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
3393        };
3394        &instance
3395    }
3396}
3397
3398
3399const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
3400
3401#[allow(unused_imports)]
3402use crate::steammessages_base::*;
3403#[allow(unused_imports)]
3404use crate::steammessages_unified_base_steamclient::*;
3405impl ::steam_vent_proto_common::RpcMessage
3406for CContentServerDirectory_ConnectedSteamPipeServerInfo {
3407    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3408        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3409    }
3410    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3411        use ::steam_vent_proto_common::protobuf::Message;
3412        self.write_to_writer(writer)
3413    }
3414    fn encode_size(&self) -> usize {
3415        use ::steam_vent_proto_common::protobuf::Message;
3416        self.compute_size() as usize
3417    }
3418}
3419impl ::steam_vent_proto_common::RpcMessage
3420for CContentServerDirectory_GetServersForSteamPipe_Request {
3421    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3422        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3423    }
3424    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3425        use ::steam_vent_proto_common::protobuf::Message;
3426        self.write_to_writer(writer)
3427    }
3428    fn encode_size(&self) -> usize {
3429        use ::steam_vent_proto_common::protobuf::Message;
3430        self.compute_size() as usize
3431    }
3432}
3433impl ::steam_vent_proto_common::RpcMessage for CContentServerDirectory_ServerInfo {
3434    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3435        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3436    }
3437    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3438        use ::steam_vent_proto_common::protobuf::Message;
3439        self.write_to_writer(writer)
3440    }
3441    fn encode_size(&self) -> usize {
3442        use ::steam_vent_proto_common::protobuf::Message;
3443        self.compute_size() as usize
3444    }
3445}
3446impl ::steam_vent_proto_common::RpcMessage
3447for CContentServerDirectory_GetServersForSteamPipe_Response {
3448    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3449        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3450    }
3451    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3452        use ::steam_vent_proto_common::protobuf::Message;
3453        self.write_to_writer(writer)
3454    }
3455    fn encode_size(&self) -> usize {
3456        use ::steam_vent_proto_common::protobuf::Message;
3457        self.compute_size() as usize
3458    }
3459}
3460impl ::steam_vent_proto_common::RpcMessage
3461for CContentServerDirectory_GetDepotPatchInfo_Request {
3462    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3463        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3464    }
3465    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3466        use ::steam_vent_proto_common::protobuf::Message;
3467        self.write_to_writer(writer)
3468    }
3469    fn encode_size(&self) -> usize {
3470        use ::steam_vent_proto_common::protobuf::Message;
3471        self.compute_size() as usize
3472    }
3473}
3474impl ::steam_vent_proto_common::RpcMessage
3475for CContentServerDirectory_GetDepotPatchInfo_Response {
3476    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3477        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3478    }
3479    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3480        use ::steam_vent_proto_common::protobuf::Message;
3481        self.write_to_writer(writer)
3482    }
3483    fn encode_size(&self) -> usize {
3484        use ::steam_vent_proto_common::protobuf::Message;
3485        self.compute_size() as usize
3486    }
3487}
3488impl ::steam_vent_proto_common::RpcMessage
3489for CContentServerDirectory_GetClientUpdateHosts_Request {
3490    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3491        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3492    }
3493    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3494        use ::steam_vent_proto_common::protobuf::Message;
3495        self.write_to_writer(writer)
3496    }
3497    fn encode_size(&self) -> usize {
3498        use ::steam_vent_proto_common::protobuf::Message;
3499        self.compute_size() as usize
3500    }
3501}
3502impl ::steam_vent_proto_common::RpcMessage
3503for CContentServerDirectory_GetClientUpdateHosts_Response {
3504    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3505        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3506    }
3507    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3508        use ::steam_vent_proto_common::protobuf::Message;
3509        self.write_to_writer(writer)
3510    }
3511    fn encode_size(&self) -> usize {
3512        use ::steam_vent_proto_common::protobuf::Message;
3513        self.compute_size() as usize
3514    }
3515}
3516impl ::steam_vent_proto_common::RpcMessage
3517for CContentServerDirectory_GetManifestRequestCode_Request {
3518    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3519        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3520    }
3521    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3522        use ::steam_vent_proto_common::protobuf::Message;
3523        self.write_to_writer(writer)
3524    }
3525    fn encode_size(&self) -> usize {
3526        use ::steam_vent_proto_common::protobuf::Message;
3527        self.compute_size() as usize
3528    }
3529}
3530impl ::steam_vent_proto_common::RpcMessage
3531for CContentServerDirectory_GetManifestRequestCode_Response {
3532    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3533        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3534    }
3535    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3536        use ::steam_vent_proto_common::protobuf::Message;
3537        self.write_to_writer(writer)
3538    }
3539    fn encode_size(&self) -> usize {
3540        use ::steam_vent_proto_common::protobuf::Message;
3541        self.compute_size() as usize
3542    }
3543}
3544impl ::steam_vent_proto_common::RpcMessage
3545for CContentServerDirectory_GetCDNAuthToken_Request {
3546    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3547        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3548    }
3549    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3550        use ::steam_vent_proto_common::protobuf::Message;
3551        self.write_to_writer(writer)
3552    }
3553    fn encode_size(&self) -> usize {
3554        use ::steam_vent_proto_common::protobuf::Message;
3555        self.compute_size() as usize
3556    }
3557}
3558impl ::steam_vent_proto_common::RpcMessage
3559for CContentServerDirectory_GetCDNAuthToken_Response {
3560    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3561        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3562    }
3563    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3564        use ::steam_vent_proto_common::protobuf::Message;
3565        self.write_to_writer(writer)
3566    }
3567    fn encode_size(&self) -> usize {
3568        use ::steam_vent_proto_common::protobuf::Message;
3569        self.compute_size() as usize
3570    }
3571}
3572impl ::steam_vent_proto_common::RpcMessage
3573for CContentServerDirectory_RequestPeerContentServer_Request {
3574    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3575        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3576    }
3577    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3578        use ::steam_vent_proto_common::protobuf::Message;
3579        self.write_to_writer(writer)
3580    }
3581    fn encode_size(&self) -> usize {
3582        use ::steam_vent_proto_common::protobuf::Message;
3583        self.compute_size() as usize
3584    }
3585}
3586impl ::steam_vent_proto_common::RpcMessage
3587for CContentServerDirectory_RequestPeerContentServer_Response {
3588    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3589        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3590    }
3591    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3592        use ::steam_vent_proto_common::protobuf::Message;
3593        self.write_to_writer(writer)
3594    }
3595    fn encode_size(&self) -> usize {
3596        use ::steam_vent_proto_common::protobuf::Message;
3597        self.compute_size() as usize
3598    }
3599}
3600impl ::steam_vent_proto_common::RpcMessage
3601for CContentServerDirectory_GetPeerContentInfo_Request {
3602    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3603        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3604    }
3605    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3606        use ::steam_vent_proto_common::protobuf::Message;
3607        self.write_to_writer(writer)
3608    }
3609    fn encode_size(&self) -> usize {
3610        use ::steam_vent_proto_common::protobuf::Message;
3611        self.compute_size() as usize
3612    }
3613}
3614impl ::steam_vent_proto_common::RpcMessage
3615for CContentServerDirectory_GetPeerContentInfo_Response {
3616    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
3617        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
3618    }
3619    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
3620        use ::steam_vent_proto_common::protobuf::Message;
3621        self.write_to_writer(writer)
3622    }
3623    fn encode_size(&self) -> usize {
3624        use ::steam_vent_proto_common::protobuf::Message;
3625        self.compute_size() as usize
3626    }
3627}
3628///
3629struct ContentServerDirectory {}
3630impl ::steam_vent_proto_common::RpcService for ContentServerDirectory {
3631    const SERVICE_NAME: &'static str = "ContentServerDirectory";
3632}
3633impl ::steam_vent_proto_common::RpcMethod
3634for CContentServerDirectory_GetCDNAuthToken_Request {
3635    const METHOD_NAME: &'static str = "ContentServerDirectory.GetCDNAuthToken#1";
3636    type Response = CContentServerDirectory_GetCDNAuthToken_Response;
3637}
3638impl ::steam_vent_proto_common::RpcMethod
3639for CContentServerDirectory_GetClientUpdateHosts_Request {
3640    const METHOD_NAME: &'static str = "ContentServerDirectory.GetClientUpdateHosts#1";
3641    type Response = CContentServerDirectory_GetClientUpdateHosts_Response;
3642}
3643impl ::steam_vent_proto_common::RpcMethod
3644for CContentServerDirectory_GetDepotPatchInfo_Request {
3645    const METHOD_NAME: &'static str = "ContentServerDirectory.GetDepotPatchInfo#1";
3646    type Response = CContentServerDirectory_GetDepotPatchInfo_Response;
3647}
3648impl ::steam_vent_proto_common::RpcMethod
3649for CContentServerDirectory_GetManifestRequestCode_Request {
3650    const METHOD_NAME: &'static str = "ContentServerDirectory.GetManifestRequestCode#1";
3651    type Response = CContentServerDirectory_GetManifestRequestCode_Response;
3652}
3653impl ::steam_vent_proto_common::RpcMethod
3654for CContentServerDirectory_GetPeerContentInfo_Request {
3655    const METHOD_NAME: &'static str = "ContentServerDirectory.GetPeerContentInfo#1";
3656    type Response = CContentServerDirectory_GetPeerContentInfo_Response;
3657}
3658impl ::steam_vent_proto_common::RpcMethod
3659for CContentServerDirectory_GetServersForSteamPipe_Request {
3660    const METHOD_NAME: &'static str = "ContentServerDirectory.GetServersForSteamPipe#1";
3661    type Response = CContentServerDirectory_GetServersForSteamPipe_Response;
3662}
3663impl ::steam_vent_proto_common::RpcMethod
3664for CContentServerDirectory_RequestPeerContentServer_Request {
3665    const METHOD_NAME: &'static str = "ContentServerDirectory.RequestPeerContentServer#1";
3666    type Response = CContentServerDirectory_RequestPeerContentServer_Response;
3667}