steam_vent_proto_steam/generated/
steammessages_clientserver_ufs.rs

1// This file is generated by rust-protobuf 3.5.1. Do not edit
2// .proto file is parsed by pure
3// @generated
4
5// https://github.com/rust-lang/rust-clippy/issues/702
6#![allow(unknown_lints)]
7#![allow(clippy::all)]
8
9#![allow(unused_attributes)]
10#![cfg_attr(rustfmt, rustfmt::skip)]
11
12#![allow(dead_code)]
13#![allow(missing_docs)]
14#![allow(non_camel_case_types)]
15#![allow(non_snake_case)]
16#![allow(non_upper_case_globals)]
17#![allow(trivial_casts)]
18#![allow(unused_results)]
19#![allow(unused_mut)]
20
21//! Generated file from `steammessages_clientserver_ufs.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:CMsgClientUFSGetUGCDetails)
29#[derive(PartialEq,Clone,Default,Debug)]
30pub struct CMsgClientUFSGetUGCDetails {
31    // message fields
32    // @@protoc_insertion_point(field:CMsgClientUFSGetUGCDetails.hcontent)
33    pub hcontent: ::std::option::Option<u64>,
34    // special fields
35    // @@protoc_insertion_point(special_field:CMsgClientUFSGetUGCDetails.special_fields)
36    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
37}
38
39impl<'a> ::std::default::Default for &'a CMsgClientUFSGetUGCDetails {
40    fn default() -> &'a CMsgClientUFSGetUGCDetails {
41        <CMsgClientUFSGetUGCDetails as ::steam_vent_proto_common::protobuf::Message>::default_instance()
42    }
43}
44
45impl CMsgClientUFSGetUGCDetails {
46    pub fn new() -> CMsgClientUFSGetUGCDetails {
47        ::std::default::Default::default()
48    }
49
50    // optional fixed64 hcontent = 1;
51
52    pub fn hcontent(&self) -> u64 {
53        self.hcontent.unwrap_or(18446744073709551615u64)
54    }
55
56    pub fn clear_hcontent(&mut self) {
57        self.hcontent = ::std::option::Option::None;
58    }
59
60    pub fn has_hcontent(&self) -> bool {
61        self.hcontent.is_some()
62    }
63
64    // Param is passed by value, moved
65    pub fn set_hcontent(&mut self, v: u64) {
66        self.hcontent = ::std::option::Option::Some(v);
67    }
68}
69
70impl ::steam_vent_proto_common::protobuf::Message for CMsgClientUFSGetUGCDetails {
71    const NAME: &'static str = "CMsgClientUFSGetUGCDetails";
72
73    fn is_initialized(&self) -> bool {
74        true
75    }
76
77    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
78        while let Some(tag) = is.read_raw_tag_or_eof()? {
79            match tag {
80                9 => {
81                    self.hcontent = ::std::option::Option::Some(is.read_fixed64()?);
82                },
83                tag => {
84                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
85                },
86            };
87        }
88        ::std::result::Result::Ok(())
89    }
90
91    // Compute sizes of nested messages
92    #[allow(unused_variables)]
93    fn compute_size(&self) -> u64 {
94        let mut my_size = 0;
95        if let Some(v) = self.hcontent {
96            my_size += 1 + 8;
97        }
98        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
99        self.special_fields.cached_size().set(my_size as u32);
100        my_size
101    }
102
103    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
104        if let Some(v) = self.hcontent {
105            os.write_fixed64(1, v)?;
106        }
107        os.write_unknown_fields(self.special_fields.unknown_fields())?;
108        ::std::result::Result::Ok(())
109    }
110
111    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
112        &self.special_fields
113    }
114
115    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
116        &mut self.special_fields
117    }
118
119    fn new() -> CMsgClientUFSGetUGCDetails {
120        CMsgClientUFSGetUGCDetails::new()
121    }
122
123    fn clear(&mut self) {
124        self.hcontent = ::std::option::Option::None;
125        self.special_fields.clear();
126    }
127
128    fn default_instance() -> &'static CMsgClientUFSGetUGCDetails {
129        static instance: CMsgClientUFSGetUGCDetails = CMsgClientUFSGetUGCDetails {
130            hcontent: ::std::option::Option::None,
131            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
132        };
133        &instance
134    }
135}
136
137// @@protoc_insertion_point(message:CMsgClientUFSGetUGCDetailsResponse)
138#[derive(PartialEq,Clone,Default,Debug)]
139pub struct CMsgClientUFSGetUGCDetailsResponse {
140    // message fields
141    // @@protoc_insertion_point(field:CMsgClientUFSGetUGCDetailsResponse.eresult)
142    pub eresult: ::std::option::Option<i32>,
143    // @@protoc_insertion_point(field:CMsgClientUFSGetUGCDetailsResponse.url)
144    pub url: ::std::option::Option<::std::string::String>,
145    // @@protoc_insertion_point(field:CMsgClientUFSGetUGCDetailsResponse.app_id)
146    pub app_id: ::std::option::Option<u32>,
147    // @@protoc_insertion_point(field:CMsgClientUFSGetUGCDetailsResponse.filename)
148    pub filename: ::std::option::Option<::std::string::String>,
149    // @@protoc_insertion_point(field:CMsgClientUFSGetUGCDetailsResponse.steamid_creator)
150    pub steamid_creator: ::std::option::Option<u64>,
151    // @@protoc_insertion_point(field:CMsgClientUFSGetUGCDetailsResponse.file_size)
152    pub file_size: ::std::option::Option<u32>,
153    // @@protoc_insertion_point(field:CMsgClientUFSGetUGCDetailsResponse.compressed_file_size)
154    pub compressed_file_size: ::std::option::Option<u32>,
155    // @@protoc_insertion_point(field:CMsgClientUFSGetUGCDetailsResponse.rangecheck_host)
156    pub rangecheck_host: ::std::option::Option<::std::string::String>,
157    // @@protoc_insertion_point(field:CMsgClientUFSGetUGCDetailsResponse.file_encoded_sha1)
158    pub file_encoded_sha1: ::std::option::Option<::std::string::String>,
159    // special fields
160    // @@protoc_insertion_point(special_field:CMsgClientUFSGetUGCDetailsResponse.special_fields)
161    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
162}
163
164impl<'a> ::std::default::Default for &'a CMsgClientUFSGetUGCDetailsResponse {
165    fn default() -> &'a CMsgClientUFSGetUGCDetailsResponse {
166        <CMsgClientUFSGetUGCDetailsResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
167    }
168}
169
170impl CMsgClientUFSGetUGCDetailsResponse {
171    pub fn new() -> CMsgClientUFSGetUGCDetailsResponse {
172        ::std::default::Default::default()
173    }
174
175    // optional int32 eresult = 1;
176
177    pub fn eresult(&self) -> i32 {
178        self.eresult.unwrap_or(2i32)
179    }
180
181    pub fn clear_eresult(&mut self) {
182        self.eresult = ::std::option::Option::None;
183    }
184
185    pub fn has_eresult(&self) -> bool {
186        self.eresult.is_some()
187    }
188
189    // Param is passed by value, moved
190    pub fn set_eresult(&mut self, v: i32) {
191        self.eresult = ::std::option::Option::Some(v);
192    }
193
194    // optional string url = 2;
195
196    pub fn url(&self) -> &str {
197        match self.url.as_ref() {
198            Some(v) => v,
199            None => "",
200        }
201    }
202
203    pub fn clear_url(&mut self) {
204        self.url = ::std::option::Option::None;
205    }
206
207    pub fn has_url(&self) -> bool {
208        self.url.is_some()
209    }
210
211    // Param is passed by value, moved
212    pub fn set_url(&mut self, v: ::std::string::String) {
213        self.url = ::std::option::Option::Some(v);
214    }
215
216    // Mutable pointer to the field.
217    // If field is not initialized, it is initialized with default value first.
218    pub fn mut_url(&mut self) -> &mut ::std::string::String {
219        if self.url.is_none() {
220            self.url = ::std::option::Option::Some(::std::string::String::new());
221        }
222        self.url.as_mut().unwrap()
223    }
224
225    // Take field
226    pub fn take_url(&mut self) -> ::std::string::String {
227        self.url.take().unwrap_or_else(|| ::std::string::String::new())
228    }
229
230    // optional uint32 app_id = 3;
231
232    pub fn app_id(&self) -> u32 {
233        self.app_id.unwrap_or(0)
234    }
235
236    pub fn clear_app_id(&mut self) {
237        self.app_id = ::std::option::Option::None;
238    }
239
240    pub fn has_app_id(&self) -> bool {
241        self.app_id.is_some()
242    }
243
244    // Param is passed by value, moved
245    pub fn set_app_id(&mut self, v: u32) {
246        self.app_id = ::std::option::Option::Some(v);
247    }
248
249    // optional string filename = 4;
250
251    pub fn filename(&self) -> &str {
252        match self.filename.as_ref() {
253            Some(v) => v,
254            None => "",
255        }
256    }
257
258    pub fn clear_filename(&mut self) {
259        self.filename = ::std::option::Option::None;
260    }
261
262    pub fn has_filename(&self) -> bool {
263        self.filename.is_some()
264    }
265
266    // Param is passed by value, moved
267    pub fn set_filename(&mut self, v: ::std::string::String) {
268        self.filename = ::std::option::Option::Some(v);
269    }
270
271    // Mutable pointer to the field.
272    // If field is not initialized, it is initialized with default value first.
273    pub fn mut_filename(&mut self) -> &mut ::std::string::String {
274        if self.filename.is_none() {
275            self.filename = ::std::option::Option::Some(::std::string::String::new());
276        }
277        self.filename.as_mut().unwrap()
278    }
279
280    // Take field
281    pub fn take_filename(&mut self) -> ::std::string::String {
282        self.filename.take().unwrap_or_else(|| ::std::string::String::new())
283    }
284
285    // optional fixed64 steamid_creator = 5;
286
287    pub fn steamid_creator(&self) -> u64 {
288        self.steamid_creator.unwrap_or(0)
289    }
290
291    pub fn clear_steamid_creator(&mut self) {
292        self.steamid_creator = ::std::option::Option::None;
293    }
294
295    pub fn has_steamid_creator(&self) -> bool {
296        self.steamid_creator.is_some()
297    }
298
299    // Param is passed by value, moved
300    pub fn set_steamid_creator(&mut self, v: u64) {
301        self.steamid_creator = ::std::option::Option::Some(v);
302    }
303
304    // optional uint32 file_size = 6;
305
306    pub fn file_size(&self) -> u32 {
307        self.file_size.unwrap_or(0)
308    }
309
310    pub fn clear_file_size(&mut self) {
311        self.file_size = ::std::option::Option::None;
312    }
313
314    pub fn has_file_size(&self) -> bool {
315        self.file_size.is_some()
316    }
317
318    // Param is passed by value, moved
319    pub fn set_file_size(&mut self, v: u32) {
320        self.file_size = ::std::option::Option::Some(v);
321    }
322
323    // optional uint32 compressed_file_size = 7;
324
325    pub fn compressed_file_size(&self) -> u32 {
326        self.compressed_file_size.unwrap_or(0)
327    }
328
329    pub fn clear_compressed_file_size(&mut self) {
330        self.compressed_file_size = ::std::option::Option::None;
331    }
332
333    pub fn has_compressed_file_size(&self) -> bool {
334        self.compressed_file_size.is_some()
335    }
336
337    // Param is passed by value, moved
338    pub fn set_compressed_file_size(&mut self, v: u32) {
339        self.compressed_file_size = ::std::option::Option::Some(v);
340    }
341
342    // optional string rangecheck_host = 8;
343
344    pub fn rangecheck_host(&self) -> &str {
345        match self.rangecheck_host.as_ref() {
346            Some(v) => v,
347            None => "",
348        }
349    }
350
351    pub fn clear_rangecheck_host(&mut self) {
352        self.rangecheck_host = ::std::option::Option::None;
353    }
354
355    pub fn has_rangecheck_host(&self) -> bool {
356        self.rangecheck_host.is_some()
357    }
358
359    // Param is passed by value, moved
360    pub fn set_rangecheck_host(&mut self, v: ::std::string::String) {
361        self.rangecheck_host = ::std::option::Option::Some(v);
362    }
363
364    // Mutable pointer to the field.
365    // If field is not initialized, it is initialized with default value first.
366    pub fn mut_rangecheck_host(&mut self) -> &mut ::std::string::String {
367        if self.rangecheck_host.is_none() {
368            self.rangecheck_host = ::std::option::Option::Some(::std::string::String::new());
369        }
370        self.rangecheck_host.as_mut().unwrap()
371    }
372
373    // Take field
374    pub fn take_rangecheck_host(&mut self) -> ::std::string::String {
375        self.rangecheck_host.take().unwrap_or_else(|| ::std::string::String::new())
376    }
377
378    // optional string file_encoded_sha1 = 9;
379
380    pub fn file_encoded_sha1(&self) -> &str {
381        match self.file_encoded_sha1.as_ref() {
382            Some(v) => v,
383            None => "",
384        }
385    }
386
387    pub fn clear_file_encoded_sha1(&mut self) {
388        self.file_encoded_sha1 = ::std::option::Option::None;
389    }
390
391    pub fn has_file_encoded_sha1(&self) -> bool {
392        self.file_encoded_sha1.is_some()
393    }
394
395    // Param is passed by value, moved
396    pub fn set_file_encoded_sha1(&mut self, v: ::std::string::String) {
397        self.file_encoded_sha1 = ::std::option::Option::Some(v);
398    }
399
400    // Mutable pointer to the field.
401    // If field is not initialized, it is initialized with default value first.
402    pub fn mut_file_encoded_sha1(&mut self) -> &mut ::std::string::String {
403        if self.file_encoded_sha1.is_none() {
404            self.file_encoded_sha1 = ::std::option::Option::Some(::std::string::String::new());
405        }
406        self.file_encoded_sha1.as_mut().unwrap()
407    }
408
409    // Take field
410    pub fn take_file_encoded_sha1(&mut self) -> ::std::string::String {
411        self.file_encoded_sha1.take().unwrap_or_else(|| ::std::string::String::new())
412    }
413}
414
415impl ::steam_vent_proto_common::protobuf::Message for CMsgClientUFSGetUGCDetailsResponse {
416    const NAME: &'static str = "CMsgClientUFSGetUGCDetailsResponse";
417
418    fn is_initialized(&self) -> bool {
419        true
420    }
421
422    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
423        while let Some(tag) = is.read_raw_tag_or_eof()? {
424            match tag {
425                8 => {
426                    self.eresult = ::std::option::Option::Some(is.read_int32()?);
427                },
428                18 => {
429                    self.url = ::std::option::Option::Some(is.read_string()?);
430                },
431                24 => {
432                    self.app_id = ::std::option::Option::Some(is.read_uint32()?);
433                },
434                34 => {
435                    self.filename = ::std::option::Option::Some(is.read_string()?);
436                },
437                41 => {
438                    self.steamid_creator = ::std::option::Option::Some(is.read_fixed64()?);
439                },
440                48 => {
441                    self.file_size = ::std::option::Option::Some(is.read_uint32()?);
442                },
443                56 => {
444                    self.compressed_file_size = ::std::option::Option::Some(is.read_uint32()?);
445                },
446                66 => {
447                    self.rangecheck_host = ::std::option::Option::Some(is.read_string()?);
448                },
449                74 => {
450                    self.file_encoded_sha1 = ::std::option::Option::Some(is.read_string()?);
451                },
452                tag => {
453                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
454                },
455            };
456        }
457        ::std::result::Result::Ok(())
458    }
459
460    // Compute sizes of nested messages
461    #[allow(unused_variables)]
462    fn compute_size(&self) -> u64 {
463        let mut my_size = 0;
464        if let Some(v) = self.eresult {
465            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
466        }
467        if let Some(v) = self.url.as_ref() {
468            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
469        }
470        if let Some(v) = self.app_id {
471            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
472        }
473        if let Some(v) = self.filename.as_ref() {
474            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
475        }
476        if let Some(v) = self.steamid_creator {
477            my_size += 1 + 8;
478        }
479        if let Some(v) = self.file_size {
480            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
481        }
482        if let Some(v) = self.compressed_file_size {
483            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
484        }
485        if let Some(v) = self.rangecheck_host.as_ref() {
486            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
487        }
488        if let Some(v) = self.file_encoded_sha1.as_ref() {
489            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(9, &v);
490        }
491        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
492        self.special_fields.cached_size().set(my_size as u32);
493        my_size
494    }
495
496    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
497        if let Some(v) = self.eresult {
498            os.write_int32(1, v)?;
499        }
500        if let Some(v) = self.url.as_ref() {
501            os.write_string(2, v)?;
502        }
503        if let Some(v) = self.app_id {
504            os.write_uint32(3, v)?;
505        }
506        if let Some(v) = self.filename.as_ref() {
507            os.write_string(4, v)?;
508        }
509        if let Some(v) = self.steamid_creator {
510            os.write_fixed64(5, v)?;
511        }
512        if let Some(v) = self.file_size {
513            os.write_uint32(6, v)?;
514        }
515        if let Some(v) = self.compressed_file_size {
516            os.write_uint32(7, v)?;
517        }
518        if let Some(v) = self.rangecheck_host.as_ref() {
519            os.write_string(8, v)?;
520        }
521        if let Some(v) = self.file_encoded_sha1.as_ref() {
522            os.write_string(9, v)?;
523        }
524        os.write_unknown_fields(self.special_fields.unknown_fields())?;
525        ::std::result::Result::Ok(())
526    }
527
528    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
529        &self.special_fields
530    }
531
532    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
533        &mut self.special_fields
534    }
535
536    fn new() -> CMsgClientUFSGetUGCDetailsResponse {
537        CMsgClientUFSGetUGCDetailsResponse::new()
538    }
539
540    fn clear(&mut self) {
541        self.eresult = ::std::option::Option::None;
542        self.url = ::std::option::Option::None;
543        self.app_id = ::std::option::Option::None;
544        self.filename = ::std::option::Option::None;
545        self.steamid_creator = ::std::option::Option::None;
546        self.file_size = ::std::option::Option::None;
547        self.compressed_file_size = ::std::option::Option::None;
548        self.rangecheck_host = ::std::option::Option::None;
549        self.file_encoded_sha1 = ::std::option::Option::None;
550        self.special_fields.clear();
551    }
552
553    fn default_instance() -> &'static CMsgClientUFSGetUGCDetailsResponse {
554        static instance: CMsgClientUFSGetUGCDetailsResponse = CMsgClientUFSGetUGCDetailsResponse {
555            eresult: ::std::option::Option::None,
556            url: ::std::option::Option::None,
557            app_id: ::std::option::Option::None,
558            filename: ::std::option::Option::None,
559            steamid_creator: ::std::option::Option::None,
560            file_size: ::std::option::Option::None,
561            compressed_file_size: ::std::option::Option::None,
562            rangecheck_host: ::std::option::Option::None,
563            file_encoded_sha1: ::std::option::Option::None,
564            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
565        };
566        &instance
567    }
568}
569
570// @@protoc_insertion_point(message:CMsgClientUFSGetSingleFileInfo)
571#[derive(PartialEq,Clone,Default,Debug)]
572pub struct CMsgClientUFSGetSingleFileInfo {
573    // message fields
574    // @@protoc_insertion_point(field:CMsgClientUFSGetSingleFileInfo.app_id)
575    pub app_id: ::std::option::Option<u32>,
576    // @@protoc_insertion_point(field:CMsgClientUFSGetSingleFileInfo.file_name)
577    pub file_name: ::std::option::Option<::std::string::String>,
578    // special fields
579    // @@protoc_insertion_point(special_field:CMsgClientUFSGetSingleFileInfo.special_fields)
580    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
581}
582
583impl<'a> ::std::default::Default for &'a CMsgClientUFSGetSingleFileInfo {
584    fn default() -> &'a CMsgClientUFSGetSingleFileInfo {
585        <CMsgClientUFSGetSingleFileInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
586    }
587}
588
589impl CMsgClientUFSGetSingleFileInfo {
590    pub fn new() -> CMsgClientUFSGetSingleFileInfo {
591        ::std::default::Default::default()
592    }
593
594    // optional uint32 app_id = 1;
595
596    pub fn app_id(&self) -> u32 {
597        self.app_id.unwrap_or(0)
598    }
599
600    pub fn clear_app_id(&mut self) {
601        self.app_id = ::std::option::Option::None;
602    }
603
604    pub fn has_app_id(&self) -> bool {
605        self.app_id.is_some()
606    }
607
608    // Param is passed by value, moved
609    pub fn set_app_id(&mut self, v: u32) {
610        self.app_id = ::std::option::Option::Some(v);
611    }
612
613    // optional string file_name = 2;
614
615    pub fn file_name(&self) -> &str {
616        match self.file_name.as_ref() {
617            Some(v) => v,
618            None => "",
619        }
620    }
621
622    pub fn clear_file_name(&mut self) {
623        self.file_name = ::std::option::Option::None;
624    }
625
626    pub fn has_file_name(&self) -> bool {
627        self.file_name.is_some()
628    }
629
630    // Param is passed by value, moved
631    pub fn set_file_name(&mut self, v: ::std::string::String) {
632        self.file_name = ::std::option::Option::Some(v);
633    }
634
635    // Mutable pointer to the field.
636    // If field is not initialized, it is initialized with default value first.
637    pub fn mut_file_name(&mut self) -> &mut ::std::string::String {
638        if self.file_name.is_none() {
639            self.file_name = ::std::option::Option::Some(::std::string::String::new());
640        }
641        self.file_name.as_mut().unwrap()
642    }
643
644    // Take field
645    pub fn take_file_name(&mut self) -> ::std::string::String {
646        self.file_name.take().unwrap_or_else(|| ::std::string::String::new())
647    }
648}
649
650impl ::steam_vent_proto_common::protobuf::Message for CMsgClientUFSGetSingleFileInfo {
651    const NAME: &'static str = "CMsgClientUFSGetSingleFileInfo";
652
653    fn is_initialized(&self) -> bool {
654        true
655    }
656
657    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
658        while let Some(tag) = is.read_raw_tag_or_eof()? {
659            match tag {
660                8 => {
661                    self.app_id = ::std::option::Option::Some(is.read_uint32()?);
662                },
663                18 => {
664                    self.file_name = ::std::option::Option::Some(is.read_string()?);
665                },
666                tag => {
667                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
668                },
669            };
670        }
671        ::std::result::Result::Ok(())
672    }
673
674    // Compute sizes of nested messages
675    #[allow(unused_variables)]
676    fn compute_size(&self) -> u64 {
677        let mut my_size = 0;
678        if let Some(v) = self.app_id {
679            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
680        }
681        if let Some(v) = self.file_name.as_ref() {
682            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
683        }
684        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
685        self.special_fields.cached_size().set(my_size as u32);
686        my_size
687    }
688
689    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
690        if let Some(v) = self.app_id {
691            os.write_uint32(1, v)?;
692        }
693        if let Some(v) = self.file_name.as_ref() {
694            os.write_string(2, v)?;
695        }
696        os.write_unknown_fields(self.special_fields.unknown_fields())?;
697        ::std::result::Result::Ok(())
698    }
699
700    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
701        &self.special_fields
702    }
703
704    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
705        &mut self.special_fields
706    }
707
708    fn new() -> CMsgClientUFSGetSingleFileInfo {
709        CMsgClientUFSGetSingleFileInfo::new()
710    }
711
712    fn clear(&mut self) {
713        self.app_id = ::std::option::Option::None;
714        self.file_name = ::std::option::Option::None;
715        self.special_fields.clear();
716    }
717
718    fn default_instance() -> &'static CMsgClientUFSGetSingleFileInfo {
719        static instance: CMsgClientUFSGetSingleFileInfo = CMsgClientUFSGetSingleFileInfo {
720            app_id: ::std::option::Option::None,
721            file_name: ::std::option::Option::None,
722            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
723        };
724        &instance
725    }
726}
727
728// @@protoc_insertion_point(message:CMsgClientUFSGetSingleFileInfoResponse)
729#[derive(PartialEq,Clone,Default,Debug)]
730pub struct CMsgClientUFSGetSingleFileInfoResponse {
731    // message fields
732    // @@protoc_insertion_point(field:CMsgClientUFSGetSingleFileInfoResponse.eresult)
733    pub eresult: ::std::option::Option<i32>,
734    // @@protoc_insertion_point(field:CMsgClientUFSGetSingleFileInfoResponse.app_id)
735    pub app_id: ::std::option::Option<u32>,
736    // @@protoc_insertion_point(field:CMsgClientUFSGetSingleFileInfoResponse.file_name)
737    pub file_name: ::std::option::Option<::std::string::String>,
738    // @@protoc_insertion_point(field:CMsgClientUFSGetSingleFileInfoResponse.sha_file)
739    pub sha_file: ::std::option::Option<::std::vec::Vec<u8>>,
740    // @@protoc_insertion_point(field:CMsgClientUFSGetSingleFileInfoResponse.time_stamp)
741    pub time_stamp: ::std::option::Option<u64>,
742    // @@protoc_insertion_point(field:CMsgClientUFSGetSingleFileInfoResponse.raw_file_size)
743    pub raw_file_size: ::std::option::Option<u32>,
744    // @@protoc_insertion_point(field:CMsgClientUFSGetSingleFileInfoResponse.is_explicit_delete)
745    pub is_explicit_delete: ::std::option::Option<bool>,
746    // special fields
747    // @@protoc_insertion_point(special_field:CMsgClientUFSGetSingleFileInfoResponse.special_fields)
748    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
749}
750
751impl<'a> ::std::default::Default for &'a CMsgClientUFSGetSingleFileInfoResponse {
752    fn default() -> &'a CMsgClientUFSGetSingleFileInfoResponse {
753        <CMsgClientUFSGetSingleFileInfoResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
754    }
755}
756
757impl CMsgClientUFSGetSingleFileInfoResponse {
758    pub fn new() -> CMsgClientUFSGetSingleFileInfoResponse {
759        ::std::default::Default::default()
760    }
761
762    // optional int32 eresult = 1;
763
764    pub fn eresult(&self) -> i32 {
765        self.eresult.unwrap_or(2i32)
766    }
767
768    pub fn clear_eresult(&mut self) {
769        self.eresult = ::std::option::Option::None;
770    }
771
772    pub fn has_eresult(&self) -> bool {
773        self.eresult.is_some()
774    }
775
776    // Param is passed by value, moved
777    pub fn set_eresult(&mut self, v: i32) {
778        self.eresult = ::std::option::Option::Some(v);
779    }
780
781    // optional uint32 app_id = 2;
782
783    pub fn app_id(&self) -> u32 {
784        self.app_id.unwrap_or(0)
785    }
786
787    pub fn clear_app_id(&mut self) {
788        self.app_id = ::std::option::Option::None;
789    }
790
791    pub fn has_app_id(&self) -> bool {
792        self.app_id.is_some()
793    }
794
795    // Param is passed by value, moved
796    pub fn set_app_id(&mut self, v: u32) {
797        self.app_id = ::std::option::Option::Some(v);
798    }
799
800    // optional string file_name = 3;
801
802    pub fn file_name(&self) -> &str {
803        match self.file_name.as_ref() {
804            Some(v) => v,
805            None => "",
806        }
807    }
808
809    pub fn clear_file_name(&mut self) {
810        self.file_name = ::std::option::Option::None;
811    }
812
813    pub fn has_file_name(&self) -> bool {
814        self.file_name.is_some()
815    }
816
817    // Param is passed by value, moved
818    pub fn set_file_name(&mut self, v: ::std::string::String) {
819        self.file_name = ::std::option::Option::Some(v);
820    }
821
822    // Mutable pointer to the field.
823    // If field is not initialized, it is initialized with default value first.
824    pub fn mut_file_name(&mut self) -> &mut ::std::string::String {
825        if self.file_name.is_none() {
826            self.file_name = ::std::option::Option::Some(::std::string::String::new());
827        }
828        self.file_name.as_mut().unwrap()
829    }
830
831    // Take field
832    pub fn take_file_name(&mut self) -> ::std::string::String {
833        self.file_name.take().unwrap_or_else(|| ::std::string::String::new())
834    }
835
836    // optional bytes sha_file = 4;
837
838    pub fn sha_file(&self) -> &[u8] {
839        match self.sha_file.as_ref() {
840            Some(v) => v,
841            None => &[],
842        }
843    }
844
845    pub fn clear_sha_file(&mut self) {
846        self.sha_file = ::std::option::Option::None;
847    }
848
849    pub fn has_sha_file(&self) -> bool {
850        self.sha_file.is_some()
851    }
852
853    // Param is passed by value, moved
854    pub fn set_sha_file(&mut self, v: ::std::vec::Vec<u8>) {
855        self.sha_file = ::std::option::Option::Some(v);
856    }
857
858    // Mutable pointer to the field.
859    // If field is not initialized, it is initialized with default value first.
860    pub fn mut_sha_file(&mut self) -> &mut ::std::vec::Vec<u8> {
861        if self.sha_file.is_none() {
862            self.sha_file = ::std::option::Option::Some(::std::vec::Vec::new());
863        }
864        self.sha_file.as_mut().unwrap()
865    }
866
867    // Take field
868    pub fn take_sha_file(&mut self) -> ::std::vec::Vec<u8> {
869        self.sha_file.take().unwrap_or_else(|| ::std::vec::Vec::new())
870    }
871
872    // optional uint64 time_stamp = 5;
873
874    pub fn time_stamp(&self) -> u64 {
875        self.time_stamp.unwrap_or(0)
876    }
877
878    pub fn clear_time_stamp(&mut self) {
879        self.time_stamp = ::std::option::Option::None;
880    }
881
882    pub fn has_time_stamp(&self) -> bool {
883        self.time_stamp.is_some()
884    }
885
886    // Param is passed by value, moved
887    pub fn set_time_stamp(&mut self, v: u64) {
888        self.time_stamp = ::std::option::Option::Some(v);
889    }
890
891    // optional uint32 raw_file_size = 6;
892
893    pub fn raw_file_size(&self) -> u32 {
894        self.raw_file_size.unwrap_or(0)
895    }
896
897    pub fn clear_raw_file_size(&mut self) {
898        self.raw_file_size = ::std::option::Option::None;
899    }
900
901    pub fn has_raw_file_size(&self) -> bool {
902        self.raw_file_size.is_some()
903    }
904
905    // Param is passed by value, moved
906    pub fn set_raw_file_size(&mut self, v: u32) {
907        self.raw_file_size = ::std::option::Option::Some(v);
908    }
909
910    // optional bool is_explicit_delete = 7;
911
912    pub fn is_explicit_delete(&self) -> bool {
913        self.is_explicit_delete.unwrap_or(false)
914    }
915
916    pub fn clear_is_explicit_delete(&mut self) {
917        self.is_explicit_delete = ::std::option::Option::None;
918    }
919
920    pub fn has_is_explicit_delete(&self) -> bool {
921        self.is_explicit_delete.is_some()
922    }
923
924    // Param is passed by value, moved
925    pub fn set_is_explicit_delete(&mut self, v: bool) {
926        self.is_explicit_delete = ::std::option::Option::Some(v);
927    }
928}
929
930impl ::steam_vent_proto_common::protobuf::Message for CMsgClientUFSGetSingleFileInfoResponse {
931    const NAME: &'static str = "CMsgClientUFSGetSingleFileInfoResponse";
932
933    fn is_initialized(&self) -> bool {
934        true
935    }
936
937    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
938        while let Some(tag) = is.read_raw_tag_or_eof()? {
939            match tag {
940                8 => {
941                    self.eresult = ::std::option::Option::Some(is.read_int32()?);
942                },
943                16 => {
944                    self.app_id = ::std::option::Option::Some(is.read_uint32()?);
945                },
946                26 => {
947                    self.file_name = ::std::option::Option::Some(is.read_string()?);
948                },
949                34 => {
950                    self.sha_file = ::std::option::Option::Some(is.read_bytes()?);
951                },
952                40 => {
953                    self.time_stamp = ::std::option::Option::Some(is.read_uint64()?);
954                },
955                48 => {
956                    self.raw_file_size = ::std::option::Option::Some(is.read_uint32()?);
957                },
958                56 => {
959                    self.is_explicit_delete = ::std::option::Option::Some(is.read_bool()?);
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.eresult {
974            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
975        }
976        if let Some(v) = self.app_id {
977            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
978        }
979        if let Some(v) = self.file_name.as_ref() {
980            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
981        }
982        if let Some(v) = self.sha_file.as_ref() {
983            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(4, &v);
984        }
985        if let Some(v) = self.time_stamp {
986            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(5, v);
987        }
988        if let Some(v) = self.raw_file_size {
989            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
990        }
991        if let Some(v) = self.is_explicit_delete {
992            my_size += 1 + 1;
993        }
994        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
995        self.special_fields.cached_size().set(my_size as u32);
996        my_size
997    }
998
999    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1000        if let Some(v) = self.eresult {
1001            os.write_int32(1, v)?;
1002        }
1003        if let Some(v) = self.app_id {
1004            os.write_uint32(2, v)?;
1005        }
1006        if let Some(v) = self.file_name.as_ref() {
1007            os.write_string(3, v)?;
1008        }
1009        if let Some(v) = self.sha_file.as_ref() {
1010            os.write_bytes(4, v)?;
1011        }
1012        if let Some(v) = self.time_stamp {
1013            os.write_uint64(5, v)?;
1014        }
1015        if let Some(v) = self.raw_file_size {
1016            os.write_uint32(6, v)?;
1017        }
1018        if let Some(v) = self.is_explicit_delete {
1019            os.write_bool(7, v)?;
1020        }
1021        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1022        ::std::result::Result::Ok(())
1023    }
1024
1025    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1026        &self.special_fields
1027    }
1028
1029    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1030        &mut self.special_fields
1031    }
1032
1033    fn new() -> CMsgClientUFSGetSingleFileInfoResponse {
1034        CMsgClientUFSGetSingleFileInfoResponse::new()
1035    }
1036
1037    fn clear(&mut self) {
1038        self.eresult = ::std::option::Option::None;
1039        self.app_id = ::std::option::Option::None;
1040        self.file_name = ::std::option::Option::None;
1041        self.sha_file = ::std::option::Option::None;
1042        self.time_stamp = ::std::option::Option::None;
1043        self.raw_file_size = ::std::option::Option::None;
1044        self.is_explicit_delete = ::std::option::Option::None;
1045        self.special_fields.clear();
1046    }
1047
1048    fn default_instance() -> &'static CMsgClientUFSGetSingleFileInfoResponse {
1049        static instance: CMsgClientUFSGetSingleFileInfoResponse = CMsgClientUFSGetSingleFileInfoResponse {
1050            eresult: ::std::option::Option::None,
1051            app_id: ::std::option::Option::None,
1052            file_name: ::std::option::Option::None,
1053            sha_file: ::std::option::Option::None,
1054            time_stamp: ::std::option::Option::None,
1055            raw_file_size: ::std::option::Option::None,
1056            is_explicit_delete: ::std::option::Option::None,
1057            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1058        };
1059        &instance
1060    }
1061}
1062
1063// @@protoc_insertion_point(message:CMsgClientUFSShareFile)
1064#[derive(PartialEq,Clone,Default,Debug)]
1065pub struct CMsgClientUFSShareFile {
1066    // message fields
1067    // @@protoc_insertion_point(field:CMsgClientUFSShareFile.app_id)
1068    pub app_id: ::std::option::Option<u32>,
1069    // @@protoc_insertion_point(field:CMsgClientUFSShareFile.file_name)
1070    pub file_name: ::std::option::Option<::std::string::String>,
1071    // special fields
1072    // @@protoc_insertion_point(special_field:CMsgClientUFSShareFile.special_fields)
1073    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1074}
1075
1076impl<'a> ::std::default::Default for &'a CMsgClientUFSShareFile {
1077    fn default() -> &'a CMsgClientUFSShareFile {
1078        <CMsgClientUFSShareFile as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1079    }
1080}
1081
1082impl CMsgClientUFSShareFile {
1083    pub fn new() -> CMsgClientUFSShareFile {
1084        ::std::default::Default::default()
1085    }
1086
1087    // optional uint32 app_id = 1;
1088
1089    pub fn app_id(&self) -> u32 {
1090        self.app_id.unwrap_or(0)
1091    }
1092
1093    pub fn clear_app_id(&mut self) {
1094        self.app_id = ::std::option::Option::None;
1095    }
1096
1097    pub fn has_app_id(&self) -> bool {
1098        self.app_id.is_some()
1099    }
1100
1101    // Param is passed by value, moved
1102    pub fn set_app_id(&mut self, v: u32) {
1103        self.app_id = ::std::option::Option::Some(v);
1104    }
1105
1106    // optional string file_name = 2;
1107
1108    pub fn file_name(&self) -> &str {
1109        match self.file_name.as_ref() {
1110            Some(v) => v,
1111            None => "",
1112        }
1113    }
1114
1115    pub fn clear_file_name(&mut self) {
1116        self.file_name = ::std::option::Option::None;
1117    }
1118
1119    pub fn has_file_name(&self) -> bool {
1120        self.file_name.is_some()
1121    }
1122
1123    // Param is passed by value, moved
1124    pub fn set_file_name(&mut self, v: ::std::string::String) {
1125        self.file_name = ::std::option::Option::Some(v);
1126    }
1127
1128    // Mutable pointer to the field.
1129    // If field is not initialized, it is initialized with default value first.
1130    pub fn mut_file_name(&mut self) -> &mut ::std::string::String {
1131        if self.file_name.is_none() {
1132            self.file_name = ::std::option::Option::Some(::std::string::String::new());
1133        }
1134        self.file_name.as_mut().unwrap()
1135    }
1136
1137    // Take field
1138    pub fn take_file_name(&mut self) -> ::std::string::String {
1139        self.file_name.take().unwrap_or_else(|| ::std::string::String::new())
1140    }
1141}
1142
1143impl ::steam_vent_proto_common::protobuf::Message for CMsgClientUFSShareFile {
1144    const NAME: &'static str = "CMsgClientUFSShareFile";
1145
1146    fn is_initialized(&self) -> bool {
1147        true
1148    }
1149
1150    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1151        while let Some(tag) = is.read_raw_tag_or_eof()? {
1152            match tag {
1153                8 => {
1154                    self.app_id = ::std::option::Option::Some(is.read_uint32()?);
1155                },
1156                18 => {
1157                    self.file_name = ::std::option::Option::Some(is.read_string()?);
1158                },
1159                tag => {
1160                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1161                },
1162            };
1163        }
1164        ::std::result::Result::Ok(())
1165    }
1166
1167    // Compute sizes of nested messages
1168    #[allow(unused_variables)]
1169    fn compute_size(&self) -> u64 {
1170        let mut my_size = 0;
1171        if let Some(v) = self.app_id {
1172            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
1173        }
1174        if let Some(v) = self.file_name.as_ref() {
1175            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
1176        }
1177        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1178        self.special_fields.cached_size().set(my_size as u32);
1179        my_size
1180    }
1181
1182    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1183        if let Some(v) = self.app_id {
1184            os.write_uint32(1, v)?;
1185        }
1186        if let Some(v) = self.file_name.as_ref() {
1187            os.write_string(2, v)?;
1188        }
1189        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1190        ::std::result::Result::Ok(())
1191    }
1192
1193    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1194        &self.special_fields
1195    }
1196
1197    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1198        &mut self.special_fields
1199    }
1200
1201    fn new() -> CMsgClientUFSShareFile {
1202        CMsgClientUFSShareFile::new()
1203    }
1204
1205    fn clear(&mut self) {
1206        self.app_id = ::std::option::Option::None;
1207        self.file_name = ::std::option::Option::None;
1208        self.special_fields.clear();
1209    }
1210
1211    fn default_instance() -> &'static CMsgClientUFSShareFile {
1212        static instance: CMsgClientUFSShareFile = CMsgClientUFSShareFile {
1213            app_id: ::std::option::Option::None,
1214            file_name: ::std::option::Option::None,
1215            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1216        };
1217        &instance
1218    }
1219}
1220
1221// @@protoc_insertion_point(message:CMsgClientUFSShareFileResponse)
1222#[derive(PartialEq,Clone,Default,Debug)]
1223pub struct CMsgClientUFSShareFileResponse {
1224    // message fields
1225    // @@protoc_insertion_point(field:CMsgClientUFSShareFileResponse.eresult)
1226    pub eresult: ::std::option::Option<i32>,
1227    // @@protoc_insertion_point(field:CMsgClientUFSShareFileResponse.hcontent)
1228    pub hcontent: ::std::option::Option<u64>,
1229    // special fields
1230    // @@protoc_insertion_point(special_field:CMsgClientUFSShareFileResponse.special_fields)
1231    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1232}
1233
1234impl<'a> ::std::default::Default for &'a CMsgClientUFSShareFileResponse {
1235    fn default() -> &'a CMsgClientUFSShareFileResponse {
1236        <CMsgClientUFSShareFileResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1237    }
1238}
1239
1240impl CMsgClientUFSShareFileResponse {
1241    pub fn new() -> CMsgClientUFSShareFileResponse {
1242        ::std::default::Default::default()
1243    }
1244
1245    // optional int32 eresult = 1;
1246
1247    pub fn eresult(&self) -> i32 {
1248        self.eresult.unwrap_or(2i32)
1249    }
1250
1251    pub fn clear_eresult(&mut self) {
1252        self.eresult = ::std::option::Option::None;
1253    }
1254
1255    pub fn has_eresult(&self) -> bool {
1256        self.eresult.is_some()
1257    }
1258
1259    // Param is passed by value, moved
1260    pub fn set_eresult(&mut self, v: i32) {
1261        self.eresult = ::std::option::Option::Some(v);
1262    }
1263
1264    // optional fixed64 hcontent = 2;
1265
1266    pub fn hcontent(&self) -> u64 {
1267        self.hcontent.unwrap_or(18446744073709551615u64)
1268    }
1269
1270    pub fn clear_hcontent(&mut self) {
1271        self.hcontent = ::std::option::Option::None;
1272    }
1273
1274    pub fn has_hcontent(&self) -> bool {
1275        self.hcontent.is_some()
1276    }
1277
1278    // Param is passed by value, moved
1279    pub fn set_hcontent(&mut self, v: u64) {
1280        self.hcontent = ::std::option::Option::Some(v);
1281    }
1282}
1283
1284impl ::steam_vent_proto_common::protobuf::Message for CMsgClientUFSShareFileResponse {
1285    const NAME: &'static str = "CMsgClientUFSShareFileResponse";
1286
1287    fn is_initialized(&self) -> bool {
1288        true
1289    }
1290
1291    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1292        while let Some(tag) = is.read_raw_tag_or_eof()? {
1293            match tag {
1294                8 => {
1295                    self.eresult = ::std::option::Option::Some(is.read_int32()?);
1296                },
1297                17 => {
1298                    self.hcontent = ::std::option::Option::Some(is.read_fixed64()?);
1299                },
1300                tag => {
1301                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1302                },
1303            };
1304        }
1305        ::std::result::Result::Ok(())
1306    }
1307
1308    // Compute sizes of nested messages
1309    #[allow(unused_variables)]
1310    fn compute_size(&self) -> u64 {
1311        let mut my_size = 0;
1312        if let Some(v) = self.eresult {
1313            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
1314        }
1315        if let Some(v) = self.hcontent {
1316            my_size += 1 + 8;
1317        }
1318        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1319        self.special_fields.cached_size().set(my_size as u32);
1320        my_size
1321    }
1322
1323    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1324        if let Some(v) = self.eresult {
1325            os.write_int32(1, v)?;
1326        }
1327        if let Some(v) = self.hcontent {
1328            os.write_fixed64(2, v)?;
1329        }
1330        os.write_unknown_fields(self.special_fields.unknown_fields())?;
1331        ::std::result::Result::Ok(())
1332    }
1333
1334    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1335        &self.special_fields
1336    }
1337
1338    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1339        &mut self.special_fields
1340    }
1341
1342    fn new() -> CMsgClientUFSShareFileResponse {
1343        CMsgClientUFSShareFileResponse::new()
1344    }
1345
1346    fn clear(&mut self) {
1347        self.eresult = ::std::option::Option::None;
1348        self.hcontent = ::std::option::Option::None;
1349        self.special_fields.clear();
1350    }
1351
1352    fn default_instance() -> &'static CMsgClientUFSShareFileResponse {
1353        static instance: CMsgClientUFSShareFileResponse = CMsgClientUFSShareFileResponse {
1354            eresult: ::std::option::Option::None,
1355            hcontent: ::std::option::Option::None,
1356            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1357        };
1358        &instance
1359    }
1360}
1361
1362
1363const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
1364
1365#[allow(unused_imports)]
1366use crate::steammessages_base::*;
1367impl ::steam_vent_proto_common::RpcMessage for CMsgClientUFSGetUGCDetails {
1368    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
1369        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
1370    }
1371    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
1372        use ::steam_vent_proto_common::protobuf::Message;
1373        self.write_to_writer(writer)
1374    }
1375    fn encode_size(&self) -> usize {
1376        use ::steam_vent_proto_common::protobuf::Message;
1377        self.compute_size() as usize
1378    }
1379}
1380impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientUFSGetUGCDetails {
1381    type KindEnum = crate::enums_clientserver::EMsg;
1382    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientUFSGetUGCDetails;
1383}
1384impl ::steam_vent_proto_common::RpcMessage for CMsgClientUFSGetUGCDetailsResponse {
1385    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
1386        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
1387    }
1388    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
1389        use ::steam_vent_proto_common::protobuf::Message;
1390        self.write_to_writer(writer)
1391    }
1392    fn encode_size(&self) -> usize {
1393        use ::steam_vent_proto_common::protobuf::Message;
1394        self.compute_size() as usize
1395    }
1396}
1397impl ::steam_vent_proto_common::RpcMessageWithKind
1398for CMsgClientUFSGetUGCDetailsResponse {
1399    type KindEnum = crate::enums_clientserver::EMsg;
1400    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientUFSGetUGCDetailsResponse;
1401}
1402impl ::steam_vent_proto_common::RpcMessage for CMsgClientUFSGetSingleFileInfo {
1403    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
1404        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
1405    }
1406    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
1407        use ::steam_vent_proto_common::protobuf::Message;
1408        self.write_to_writer(writer)
1409    }
1410    fn encode_size(&self) -> usize {
1411        use ::steam_vent_proto_common::protobuf::Message;
1412        self.compute_size() as usize
1413    }
1414}
1415impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientUFSGetSingleFileInfo {
1416    type KindEnum = crate::enums_clientserver::EMsg;
1417    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientUFSGetSingleFileInfo;
1418}
1419impl ::steam_vent_proto_common::RpcMessage for CMsgClientUFSGetSingleFileInfoResponse {
1420    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
1421        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
1422    }
1423    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
1424        use ::steam_vent_proto_common::protobuf::Message;
1425        self.write_to_writer(writer)
1426    }
1427    fn encode_size(&self) -> usize {
1428        use ::steam_vent_proto_common::protobuf::Message;
1429        self.compute_size() as usize
1430    }
1431}
1432impl ::steam_vent_proto_common::RpcMessageWithKind
1433for CMsgClientUFSGetSingleFileInfoResponse {
1434    type KindEnum = crate::enums_clientserver::EMsg;
1435    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientUFSGetSingleFileInfoResponse;
1436}
1437impl ::steam_vent_proto_common::RpcMessage for CMsgClientUFSShareFile {
1438    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
1439        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
1440    }
1441    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
1442        use ::steam_vent_proto_common::protobuf::Message;
1443        self.write_to_writer(writer)
1444    }
1445    fn encode_size(&self) -> usize {
1446        use ::steam_vent_proto_common::protobuf::Message;
1447        self.compute_size() as usize
1448    }
1449}
1450impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientUFSShareFile {
1451    type KindEnum = crate::enums_clientserver::EMsg;
1452    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientUFSShareFile;
1453}
1454impl ::steam_vent_proto_common::RpcMessage for CMsgClientUFSShareFileResponse {
1455    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
1456        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
1457    }
1458    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
1459        use ::steam_vent_proto_common::protobuf::Message;
1460        self.write_to_writer(writer)
1461    }
1462    fn encode_size(&self) -> usize {
1463        use ::steam_vent_proto_common::protobuf::Message;
1464        self.compute_size() as usize
1465    }
1466}
1467impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientUFSShareFileResponse {
1468    type KindEnum = crate::enums_clientserver::EMsg;
1469    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientUFSShareFileResponse;
1470}