1#![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
21const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
27
28#[derive(PartialEq,Clone,Default,Debug)]
30pub struct CPublishedFile_Vote_Request {
31 pub publishedfileid: ::std::option::Option<u64>,
34 pub vote_up: ::std::option::Option<bool>,
36 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
39}
40
41impl<'a> ::std::default::Default for &'a CPublishedFile_Vote_Request {
42 fn default() -> &'a CPublishedFile_Vote_Request {
43 <CPublishedFile_Vote_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
44 }
45}
46
47impl CPublishedFile_Vote_Request {
48 pub fn new() -> CPublishedFile_Vote_Request {
49 ::std::default::Default::default()
50 }
51
52 pub fn publishedfileid(&self) -> u64 {
55 self.publishedfileid.unwrap_or(0)
56 }
57
58 pub fn clear_publishedfileid(&mut self) {
59 self.publishedfileid = ::std::option::Option::None;
60 }
61
62 pub fn has_publishedfileid(&self) -> bool {
63 self.publishedfileid.is_some()
64 }
65
66 pub fn set_publishedfileid(&mut self, v: u64) {
68 self.publishedfileid = ::std::option::Option::Some(v);
69 }
70
71 pub fn vote_up(&self) -> bool {
74 self.vote_up.unwrap_or(false)
75 }
76
77 pub fn clear_vote_up(&mut self) {
78 self.vote_up = ::std::option::Option::None;
79 }
80
81 pub fn has_vote_up(&self) -> bool {
82 self.vote_up.is_some()
83 }
84
85 pub fn set_vote_up(&mut self, v: bool) {
87 self.vote_up = ::std::option::Option::Some(v);
88 }
89}
90
91impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_Vote_Request {
92 const NAME: &'static str = "CPublishedFile_Vote_Request";
93
94 fn is_initialized(&self) -> bool {
95 true
96 }
97
98 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
99 while let Some(tag) = is.read_raw_tag_or_eof()? {
100 match tag {
101 8 => {
102 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
103 },
104 16 => {
105 self.vote_up = ::std::option::Option::Some(is.read_bool()?);
106 },
107 tag => {
108 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
109 },
110 };
111 }
112 ::std::result::Result::Ok(())
113 }
114
115 #[allow(unused_variables)]
117 fn compute_size(&self) -> u64 {
118 let mut my_size = 0;
119 if let Some(v) = self.publishedfileid {
120 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
121 }
122 if let Some(v) = self.vote_up {
123 my_size += 1 + 1;
124 }
125 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
126 self.special_fields.cached_size().set(my_size as u32);
127 my_size
128 }
129
130 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
131 if let Some(v) = self.publishedfileid {
132 os.write_uint64(1, v)?;
133 }
134 if let Some(v) = self.vote_up {
135 os.write_bool(2, v)?;
136 }
137 os.write_unknown_fields(self.special_fields.unknown_fields())?;
138 ::std::result::Result::Ok(())
139 }
140
141 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
142 &self.special_fields
143 }
144
145 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
146 &mut self.special_fields
147 }
148
149 fn new() -> CPublishedFile_Vote_Request {
150 CPublishedFile_Vote_Request::new()
151 }
152
153 fn clear(&mut self) {
154 self.publishedfileid = ::std::option::Option::None;
155 self.vote_up = ::std::option::Option::None;
156 self.special_fields.clear();
157 }
158
159 fn default_instance() -> &'static CPublishedFile_Vote_Request {
160 static instance: CPublishedFile_Vote_Request = CPublishedFile_Vote_Request {
161 publishedfileid: ::std::option::Option::None,
162 vote_up: ::std::option::Option::None,
163 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
164 };
165 &instance
166 }
167}
168
169#[derive(PartialEq,Clone,Default,Debug)]
171pub struct CPublishedFile_Vote_Response {
172 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
175}
176
177impl<'a> ::std::default::Default for &'a CPublishedFile_Vote_Response {
178 fn default() -> &'a CPublishedFile_Vote_Response {
179 <CPublishedFile_Vote_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
180 }
181}
182
183impl CPublishedFile_Vote_Response {
184 pub fn new() -> CPublishedFile_Vote_Response {
185 ::std::default::Default::default()
186 }
187}
188
189impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_Vote_Response {
190 const NAME: &'static str = "CPublishedFile_Vote_Response";
191
192 fn is_initialized(&self) -> bool {
193 true
194 }
195
196 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
197 while let Some(tag) = is.read_raw_tag_or_eof()? {
198 match tag {
199 tag => {
200 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
201 },
202 };
203 }
204 ::std::result::Result::Ok(())
205 }
206
207 #[allow(unused_variables)]
209 fn compute_size(&self) -> u64 {
210 let mut my_size = 0;
211 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
212 self.special_fields.cached_size().set(my_size as u32);
213 my_size
214 }
215
216 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
217 os.write_unknown_fields(self.special_fields.unknown_fields())?;
218 ::std::result::Result::Ok(())
219 }
220
221 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
222 &self.special_fields
223 }
224
225 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
226 &mut self.special_fields
227 }
228
229 fn new() -> CPublishedFile_Vote_Response {
230 CPublishedFile_Vote_Response::new()
231 }
232
233 fn clear(&mut self) {
234 self.special_fields.clear();
235 }
236
237 fn default_instance() -> &'static CPublishedFile_Vote_Response {
238 static instance: CPublishedFile_Vote_Response = CPublishedFile_Vote_Response {
239 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
240 };
241 &instance
242 }
243}
244
245#[derive(PartialEq,Clone,Default,Debug)]
247pub struct CPublishedFile_Subscribe_Request {
248 pub publishedfileid: ::std::option::Option<u64>,
251 pub list_type: ::std::option::Option<u32>,
253 pub appid: ::std::option::Option<i32>,
255 pub notify_client: ::std::option::Option<bool>,
257 pub include_dependencies: ::std::option::Option<bool>,
259 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
262}
263
264impl<'a> ::std::default::Default for &'a CPublishedFile_Subscribe_Request {
265 fn default() -> &'a CPublishedFile_Subscribe_Request {
266 <CPublishedFile_Subscribe_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
267 }
268}
269
270impl CPublishedFile_Subscribe_Request {
271 pub fn new() -> CPublishedFile_Subscribe_Request {
272 ::std::default::Default::default()
273 }
274
275 pub fn publishedfileid(&self) -> u64 {
278 self.publishedfileid.unwrap_or(0)
279 }
280
281 pub fn clear_publishedfileid(&mut self) {
282 self.publishedfileid = ::std::option::Option::None;
283 }
284
285 pub fn has_publishedfileid(&self) -> bool {
286 self.publishedfileid.is_some()
287 }
288
289 pub fn set_publishedfileid(&mut self, v: u64) {
291 self.publishedfileid = ::std::option::Option::Some(v);
292 }
293
294 pub fn list_type(&self) -> u32 {
297 self.list_type.unwrap_or(0)
298 }
299
300 pub fn clear_list_type(&mut self) {
301 self.list_type = ::std::option::Option::None;
302 }
303
304 pub fn has_list_type(&self) -> bool {
305 self.list_type.is_some()
306 }
307
308 pub fn set_list_type(&mut self, v: u32) {
310 self.list_type = ::std::option::Option::Some(v);
311 }
312
313 pub fn appid(&self) -> i32 {
316 self.appid.unwrap_or(0)
317 }
318
319 pub fn clear_appid(&mut self) {
320 self.appid = ::std::option::Option::None;
321 }
322
323 pub fn has_appid(&self) -> bool {
324 self.appid.is_some()
325 }
326
327 pub fn set_appid(&mut self, v: i32) {
329 self.appid = ::std::option::Option::Some(v);
330 }
331
332 pub fn notify_client(&self) -> bool {
335 self.notify_client.unwrap_or(false)
336 }
337
338 pub fn clear_notify_client(&mut self) {
339 self.notify_client = ::std::option::Option::None;
340 }
341
342 pub fn has_notify_client(&self) -> bool {
343 self.notify_client.is_some()
344 }
345
346 pub fn set_notify_client(&mut self, v: bool) {
348 self.notify_client = ::std::option::Option::Some(v);
349 }
350
351 pub fn include_dependencies(&self) -> bool {
354 self.include_dependencies.unwrap_or(false)
355 }
356
357 pub fn clear_include_dependencies(&mut self) {
358 self.include_dependencies = ::std::option::Option::None;
359 }
360
361 pub fn has_include_dependencies(&self) -> bool {
362 self.include_dependencies.is_some()
363 }
364
365 pub fn set_include_dependencies(&mut self, v: bool) {
367 self.include_dependencies = ::std::option::Option::Some(v);
368 }
369}
370
371impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_Subscribe_Request {
372 const NAME: &'static str = "CPublishedFile_Subscribe_Request";
373
374 fn is_initialized(&self) -> bool {
375 true
376 }
377
378 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
379 while let Some(tag) = is.read_raw_tag_or_eof()? {
380 match tag {
381 8 => {
382 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
383 },
384 16 => {
385 self.list_type = ::std::option::Option::Some(is.read_uint32()?);
386 },
387 24 => {
388 self.appid = ::std::option::Option::Some(is.read_int32()?);
389 },
390 32 => {
391 self.notify_client = ::std::option::Option::Some(is.read_bool()?);
392 },
393 40 => {
394 self.include_dependencies = ::std::option::Option::Some(is.read_bool()?);
395 },
396 tag => {
397 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
398 },
399 };
400 }
401 ::std::result::Result::Ok(())
402 }
403
404 #[allow(unused_variables)]
406 fn compute_size(&self) -> u64 {
407 let mut my_size = 0;
408 if let Some(v) = self.publishedfileid {
409 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
410 }
411 if let Some(v) = self.list_type {
412 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
413 }
414 if let Some(v) = self.appid {
415 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
416 }
417 if let Some(v) = self.notify_client {
418 my_size += 1 + 1;
419 }
420 if let Some(v) = self.include_dependencies {
421 my_size += 1 + 1;
422 }
423 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
424 self.special_fields.cached_size().set(my_size as u32);
425 my_size
426 }
427
428 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
429 if let Some(v) = self.publishedfileid {
430 os.write_uint64(1, v)?;
431 }
432 if let Some(v) = self.list_type {
433 os.write_uint32(2, v)?;
434 }
435 if let Some(v) = self.appid {
436 os.write_int32(3, v)?;
437 }
438 if let Some(v) = self.notify_client {
439 os.write_bool(4, v)?;
440 }
441 if let Some(v) = self.include_dependencies {
442 os.write_bool(5, v)?;
443 }
444 os.write_unknown_fields(self.special_fields.unknown_fields())?;
445 ::std::result::Result::Ok(())
446 }
447
448 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
449 &self.special_fields
450 }
451
452 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
453 &mut self.special_fields
454 }
455
456 fn new() -> CPublishedFile_Subscribe_Request {
457 CPublishedFile_Subscribe_Request::new()
458 }
459
460 fn clear(&mut self) {
461 self.publishedfileid = ::std::option::Option::None;
462 self.list_type = ::std::option::Option::None;
463 self.appid = ::std::option::Option::None;
464 self.notify_client = ::std::option::Option::None;
465 self.include_dependencies = ::std::option::Option::None;
466 self.special_fields.clear();
467 }
468
469 fn default_instance() -> &'static CPublishedFile_Subscribe_Request {
470 static instance: CPublishedFile_Subscribe_Request = CPublishedFile_Subscribe_Request {
471 publishedfileid: ::std::option::Option::None,
472 list_type: ::std::option::Option::None,
473 appid: ::std::option::Option::None,
474 notify_client: ::std::option::Option::None,
475 include_dependencies: ::std::option::Option::None,
476 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
477 };
478 &instance
479 }
480}
481
482#[derive(PartialEq,Clone,Default,Debug)]
484pub struct CPublishedFile_Subscribe_Response {
485 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
488}
489
490impl<'a> ::std::default::Default for &'a CPublishedFile_Subscribe_Response {
491 fn default() -> &'a CPublishedFile_Subscribe_Response {
492 <CPublishedFile_Subscribe_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
493 }
494}
495
496impl CPublishedFile_Subscribe_Response {
497 pub fn new() -> CPublishedFile_Subscribe_Response {
498 ::std::default::Default::default()
499 }
500}
501
502impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_Subscribe_Response {
503 const NAME: &'static str = "CPublishedFile_Subscribe_Response";
504
505 fn is_initialized(&self) -> bool {
506 true
507 }
508
509 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
510 while let Some(tag) = is.read_raw_tag_or_eof()? {
511 match tag {
512 tag => {
513 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
514 },
515 };
516 }
517 ::std::result::Result::Ok(())
518 }
519
520 #[allow(unused_variables)]
522 fn compute_size(&self) -> u64 {
523 let mut my_size = 0;
524 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
525 self.special_fields.cached_size().set(my_size as u32);
526 my_size
527 }
528
529 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
530 os.write_unknown_fields(self.special_fields.unknown_fields())?;
531 ::std::result::Result::Ok(())
532 }
533
534 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
535 &self.special_fields
536 }
537
538 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
539 &mut self.special_fields
540 }
541
542 fn new() -> CPublishedFile_Subscribe_Response {
543 CPublishedFile_Subscribe_Response::new()
544 }
545
546 fn clear(&mut self) {
547 self.special_fields.clear();
548 }
549
550 fn default_instance() -> &'static CPublishedFile_Subscribe_Response {
551 static instance: CPublishedFile_Subscribe_Response = CPublishedFile_Subscribe_Response {
552 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
553 };
554 &instance
555 }
556}
557
558#[derive(PartialEq,Clone,Default,Debug)]
560pub struct CPublishedFile_Unsubscribe_Request {
561 pub publishedfileid: ::std::option::Option<u64>,
564 pub list_type: ::std::option::Option<u32>,
566 pub appid: ::std::option::Option<i32>,
568 pub notify_client: ::std::option::Option<bool>,
570 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
573}
574
575impl<'a> ::std::default::Default for &'a CPublishedFile_Unsubscribe_Request {
576 fn default() -> &'a CPublishedFile_Unsubscribe_Request {
577 <CPublishedFile_Unsubscribe_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
578 }
579}
580
581impl CPublishedFile_Unsubscribe_Request {
582 pub fn new() -> CPublishedFile_Unsubscribe_Request {
583 ::std::default::Default::default()
584 }
585
586 pub fn publishedfileid(&self) -> u64 {
589 self.publishedfileid.unwrap_or(0)
590 }
591
592 pub fn clear_publishedfileid(&mut self) {
593 self.publishedfileid = ::std::option::Option::None;
594 }
595
596 pub fn has_publishedfileid(&self) -> bool {
597 self.publishedfileid.is_some()
598 }
599
600 pub fn set_publishedfileid(&mut self, v: u64) {
602 self.publishedfileid = ::std::option::Option::Some(v);
603 }
604
605 pub fn list_type(&self) -> u32 {
608 self.list_type.unwrap_or(0)
609 }
610
611 pub fn clear_list_type(&mut self) {
612 self.list_type = ::std::option::Option::None;
613 }
614
615 pub fn has_list_type(&self) -> bool {
616 self.list_type.is_some()
617 }
618
619 pub fn set_list_type(&mut self, v: u32) {
621 self.list_type = ::std::option::Option::Some(v);
622 }
623
624 pub fn appid(&self) -> i32 {
627 self.appid.unwrap_or(0)
628 }
629
630 pub fn clear_appid(&mut self) {
631 self.appid = ::std::option::Option::None;
632 }
633
634 pub fn has_appid(&self) -> bool {
635 self.appid.is_some()
636 }
637
638 pub fn set_appid(&mut self, v: i32) {
640 self.appid = ::std::option::Option::Some(v);
641 }
642
643 pub fn notify_client(&self) -> bool {
646 self.notify_client.unwrap_or(false)
647 }
648
649 pub fn clear_notify_client(&mut self) {
650 self.notify_client = ::std::option::Option::None;
651 }
652
653 pub fn has_notify_client(&self) -> bool {
654 self.notify_client.is_some()
655 }
656
657 pub fn set_notify_client(&mut self, v: bool) {
659 self.notify_client = ::std::option::Option::Some(v);
660 }
661}
662
663impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_Unsubscribe_Request {
664 const NAME: &'static str = "CPublishedFile_Unsubscribe_Request";
665
666 fn is_initialized(&self) -> bool {
667 true
668 }
669
670 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
671 while let Some(tag) = is.read_raw_tag_or_eof()? {
672 match tag {
673 8 => {
674 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
675 },
676 16 => {
677 self.list_type = ::std::option::Option::Some(is.read_uint32()?);
678 },
679 24 => {
680 self.appid = ::std::option::Option::Some(is.read_int32()?);
681 },
682 32 => {
683 self.notify_client = ::std::option::Option::Some(is.read_bool()?);
684 },
685 tag => {
686 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
687 },
688 };
689 }
690 ::std::result::Result::Ok(())
691 }
692
693 #[allow(unused_variables)]
695 fn compute_size(&self) -> u64 {
696 let mut my_size = 0;
697 if let Some(v) = self.publishedfileid {
698 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
699 }
700 if let Some(v) = self.list_type {
701 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
702 }
703 if let Some(v) = self.appid {
704 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
705 }
706 if let Some(v) = self.notify_client {
707 my_size += 1 + 1;
708 }
709 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
710 self.special_fields.cached_size().set(my_size as u32);
711 my_size
712 }
713
714 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
715 if let Some(v) = self.publishedfileid {
716 os.write_uint64(1, v)?;
717 }
718 if let Some(v) = self.list_type {
719 os.write_uint32(2, v)?;
720 }
721 if let Some(v) = self.appid {
722 os.write_int32(3, v)?;
723 }
724 if let Some(v) = self.notify_client {
725 os.write_bool(4, v)?;
726 }
727 os.write_unknown_fields(self.special_fields.unknown_fields())?;
728 ::std::result::Result::Ok(())
729 }
730
731 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
732 &self.special_fields
733 }
734
735 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
736 &mut self.special_fields
737 }
738
739 fn new() -> CPublishedFile_Unsubscribe_Request {
740 CPublishedFile_Unsubscribe_Request::new()
741 }
742
743 fn clear(&mut self) {
744 self.publishedfileid = ::std::option::Option::None;
745 self.list_type = ::std::option::Option::None;
746 self.appid = ::std::option::Option::None;
747 self.notify_client = ::std::option::Option::None;
748 self.special_fields.clear();
749 }
750
751 fn default_instance() -> &'static CPublishedFile_Unsubscribe_Request {
752 static instance: CPublishedFile_Unsubscribe_Request = CPublishedFile_Unsubscribe_Request {
753 publishedfileid: ::std::option::Option::None,
754 list_type: ::std::option::Option::None,
755 appid: ::std::option::Option::None,
756 notify_client: ::std::option::Option::None,
757 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
758 };
759 &instance
760 }
761}
762
763#[derive(PartialEq,Clone,Default,Debug)]
765pub struct CPublishedFile_Unsubscribe_Response {
766 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
769}
770
771impl<'a> ::std::default::Default for &'a CPublishedFile_Unsubscribe_Response {
772 fn default() -> &'a CPublishedFile_Unsubscribe_Response {
773 <CPublishedFile_Unsubscribe_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
774 }
775}
776
777impl CPublishedFile_Unsubscribe_Response {
778 pub fn new() -> CPublishedFile_Unsubscribe_Response {
779 ::std::default::Default::default()
780 }
781}
782
783impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_Unsubscribe_Response {
784 const NAME: &'static str = "CPublishedFile_Unsubscribe_Response";
785
786 fn is_initialized(&self) -> bool {
787 true
788 }
789
790 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
791 while let Some(tag) = is.read_raw_tag_or_eof()? {
792 match tag {
793 tag => {
794 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
795 },
796 };
797 }
798 ::std::result::Result::Ok(())
799 }
800
801 #[allow(unused_variables)]
803 fn compute_size(&self) -> u64 {
804 let mut my_size = 0;
805 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
806 self.special_fields.cached_size().set(my_size as u32);
807 my_size
808 }
809
810 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
811 os.write_unknown_fields(self.special_fields.unknown_fields())?;
812 ::std::result::Result::Ok(())
813 }
814
815 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
816 &self.special_fields
817 }
818
819 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
820 &mut self.special_fields
821 }
822
823 fn new() -> CPublishedFile_Unsubscribe_Response {
824 CPublishedFile_Unsubscribe_Response::new()
825 }
826
827 fn clear(&mut self) {
828 self.special_fields.clear();
829 }
830
831 fn default_instance() -> &'static CPublishedFile_Unsubscribe_Response {
832 static instance: CPublishedFile_Unsubscribe_Response = CPublishedFile_Unsubscribe_Response {
833 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
834 };
835 &instance
836 }
837}
838
839#[derive(PartialEq,Clone,Default,Debug)]
841pub struct CPublishedFile_CanSubscribe_Request {
842 pub publishedfileid: ::std::option::Option<u64>,
845 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
848}
849
850impl<'a> ::std::default::Default for &'a CPublishedFile_CanSubscribe_Request {
851 fn default() -> &'a CPublishedFile_CanSubscribe_Request {
852 <CPublishedFile_CanSubscribe_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
853 }
854}
855
856impl CPublishedFile_CanSubscribe_Request {
857 pub fn new() -> CPublishedFile_CanSubscribe_Request {
858 ::std::default::Default::default()
859 }
860
861 pub fn publishedfileid(&self) -> u64 {
864 self.publishedfileid.unwrap_or(0)
865 }
866
867 pub fn clear_publishedfileid(&mut self) {
868 self.publishedfileid = ::std::option::Option::None;
869 }
870
871 pub fn has_publishedfileid(&self) -> bool {
872 self.publishedfileid.is_some()
873 }
874
875 pub fn set_publishedfileid(&mut self, v: u64) {
877 self.publishedfileid = ::std::option::Option::Some(v);
878 }
879}
880
881impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_CanSubscribe_Request {
882 const NAME: &'static str = "CPublishedFile_CanSubscribe_Request";
883
884 fn is_initialized(&self) -> bool {
885 true
886 }
887
888 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
889 while let Some(tag) = is.read_raw_tag_or_eof()? {
890 match tag {
891 8 => {
892 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
893 },
894 tag => {
895 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
896 },
897 };
898 }
899 ::std::result::Result::Ok(())
900 }
901
902 #[allow(unused_variables)]
904 fn compute_size(&self) -> u64 {
905 let mut my_size = 0;
906 if let Some(v) = self.publishedfileid {
907 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
908 }
909 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
910 self.special_fields.cached_size().set(my_size as u32);
911 my_size
912 }
913
914 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
915 if let Some(v) = self.publishedfileid {
916 os.write_uint64(1, v)?;
917 }
918 os.write_unknown_fields(self.special_fields.unknown_fields())?;
919 ::std::result::Result::Ok(())
920 }
921
922 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
923 &self.special_fields
924 }
925
926 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
927 &mut self.special_fields
928 }
929
930 fn new() -> CPublishedFile_CanSubscribe_Request {
931 CPublishedFile_CanSubscribe_Request::new()
932 }
933
934 fn clear(&mut self) {
935 self.publishedfileid = ::std::option::Option::None;
936 self.special_fields.clear();
937 }
938
939 fn default_instance() -> &'static CPublishedFile_CanSubscribe_Request {
940 static instance: CPublishedFile_CanSubscribe_Request = CPublishedFile_CanSubscribe_Request {
941 publishedfileid: ::std::option::Option::None,
942 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
943 };
944 &instance
945 }
946}
947
948#[derive(PartialEq,Clone,Default,Debug)]
950pub struct CPublishedFile_CanSubscribe_Response {
951 pub can_subscribe: ::std::option::Option<bool>,
954 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
957}
958
959impl<'a> ::std::default::Default for &'a CPublishedFile_CanSubscribe_Response {
960 fn default() -> &'a CPublishedFile_CanSubscribe_Response {
961 <CPublishedFile_CanSubscribe_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
962 }
963}
964
965impl CPublishedFile_CanSubscribe_Response {
966 pub fn new() -> CPublishedFile_CanSubscribe_Response {
967 ::std::default::Default::default()
968 }
969
970 pub fn can_subscribe(&self) -> bool {
973 self.can_subscribe.unwrap_or(false)
974 }
975
976 pub fn clear_can_subscribe(&mut self) {
977 self.can_subscribe = ::std::option::Option::None;
978 }
979
980 pub fn has_can_subscribe(&self) -> bool {
981 self.can_subscribe.is_some()
982 }
983
984 pub fn set_can_subscribe(&mut self, v: bool) {
986 self.can_subscribe = ::std::option::Option::Some(v);
987 }
988}
989
990impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_CanSubscribe_Response {
991 const NAME: &'static str = "CPublishedFile_CanSubscribe_Response";
992
993 fn is_initialized(&self) -> bool {
994 true
995 }
996
997 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
998 while let Some(tag) = is.read_raw_tag_or_eof()? {
999 match tag {
1000 8 => {
1001 self.can_subscribe = ::std::option::Option::Some(is.read_bool()?);
1002 },
1003 tag => {
1004 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1005 },
1006 };
1007 }
1008 ::std::result::Result::Ok(())
1009 }
1010
1011 #[allow(unused_variables)]
1013 fn compute_size(&self) -> u64 {
1014 let mut my_size = 0;
1015 if let Some(v) = self.can_subscribe {
1016 my_size += 1 + 1;
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.can_subscribe {
1025 os.write_bool(1, v)?;
1026 }
1027 os.write_unknown_fields(self.special_fields.unknown_fields())?;
1028 ::std::result::Result::Ok(())
1029 }
1030
1031 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1032 &self.special_fields
1033 }
1034
1035 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1036 &mut self.special_fields
1037 }
1038
1039 fn new() -> CPublishedFile_CanSubscribe_Response {
1040 CPublishedFile_CanSubscribe_Response::new()
1041 }
1042
1043 fn clear(&mut self) {
1044 self.can_subscribe = ::std::option::Option::None;
1045 self.special_fields.clear();
1046 }
1047
1048 fn default_instance() -> &'static CPublishedFile_CanSubscribe_Response {
1049 static instance: CPublishedFile_CanSubscribe_Response = CPublishedFile_CanSubscribe_Response {
1050 can_subscribe: ::std::option::Option::None,
1051 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1052 };
1053 &instance
1054 }
1055}
1056
1057#[derive(PartialEq,Clone,Default,Debug)]
1059pub struct CPublishedFile_GetSubSectionData_Request {
1060 pub publishedfileid: ::std::option::Option<u64>,
1063 pub for_table_of_contents: ::std::option::Option<bool>,
1065 pub specific_sectionid: ::std::option::Option<u64>,
1067 pub desired_revision: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EPublishedFileRevision>>,
1069 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1072}
1073
1074impl<'a> ::std::default::Default for &'a CPublishedFile_GetSubSectionData_Request {
1075 fn default() -> &'a CPublishedFile_GetSubSectionData_Request {
1076 <CPublishedFile_GetSubSectionData_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1077 }
1078}
1079
1080impl CPublishedFile_GetSubSectionData_Request {
1081 pub fn new() -> CPublishedFile_GetSubSectionData_Request {
1082 ::std::default::Default::default()
1083 }
1084
1085 pub fn publishedfileid(&self) -> u64 {
1088 self.publishedfileid.unwrap_or(0)
1089 }
1090
1091 pub fn clear_publishedfileid(&mut self) {
1092 self.publishedfileid = ::std::option::Option::None;
1093 }
1094
1095 pub fn has_publishedfileid(&self) -> bool {
1096 self.publishedfileid.is_some()
1097 }
1098
1099 pub fn set_publishedfileid(&mut self, v: u64) {
1101 self.publishedfileid = ::std::option::Option::Some(v);
1102 }
1103
1104 pub fn for_table_of_contents(&self) -> bool {
1107 self.for_table_of_contents.unwrap_or(false)
1108 }
1109
1110 pub fn clear_for_table_of_contents(&mut self) {
1111 self.for_table_of_contents = ::std::option::Option::None;
1112 }
1113
1114 pub fn has_for_table_of_contents(&self) -> bool {
1115 self.for_table_of_contents.is_some()
1116 }
1117
1118 pub fn set_for_table_of_contents(&mut self, v: bool) {
1120 self.for_table_of_contents = ::std::option::Option::Some(v);
1121 }
1122
1123 pub fn specific_sectionid(&self) -> u64 {
1126 self.specific_sectionid.unwrap_or(0)
1127 }
1128
1129 pub fn clear_specific_sectionid(&mut self) {
1130 self.specific_sectionid = ::std::option::Option::None;
1131 }
1132
1133 pub fn has_specific_sectionid(&self) -> bool {
1134 self.specific_sectionid.is_some()
1135 }
1136
1137 pub fn set_specific_sectionid(&mut self, v: u64) {
1139 self.specific_sectionid = ::std::option::Option::Some(v);
1140 }
1141
1142 pub fn desired_revision(&self) -> EPublishedFileRevision {
1145 match self.desired_revision {
1146 Some(e) => e.enum_value_or(EPublishedFileRevision::k_EPublishedFileRevision_Default),
1147 None => EPublishedFileRevision::k_EPublishedFileRevision_Default,
1148 }
1149 }
1150
1151 pub fn clear_desired_revision(&mut self) {
1152 self.desired_revision = ::std::option::Option::None;
1153 }
1154
1155 pub fn has_desired_revision(&self) -> bool {
1156 self.desired_revision.is_some()
1157 }
1158
1159 pub fn set_desired_revision(&mut self, v: EPublishedFileRevision) {
1161 self.desired_revision = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
1162 }
1163}
1164
1165impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetSubSectionData_Request {
1166 const NAME: &'static str = "CPublishedFile_GetSubSectionData_Request";
1167
1168 fn is_initialized(&self) -> bool {
1169 true
1170 }
1171
1172 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1173 while let Some(tag) = is.read_raw_tag_or_eof()? {
1174 match tag {
1175 8 => {
1176 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
1177 },
1178 16 => {
1179 self.for_table_of_contents = ::std::option::Option::Some(is.read_bool()?);
1180 },
1181 24 => {
1182 self.specific_sectionid = ::std::option::Option::Some(is.read_uint64()?);
1183 },
1184 32 => {
1185 self.desired_revision = ::std::option::Option::Some(is.read_enum_or_unknown()?);
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 #[allow(unused_variables)]
1197 fn compute_size(&self) -> u64 {
1198 let mut my_size = 0;
1199 if let Some(v) = self.publishedfileid {
1200 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
1201 }
1202 if let Some(v) = self.for_table_of_contents {
1203 my_size += 1 + 1;
1204 }
1205 if let Some(v) = self.specific_sectionid {
1206 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
1207 }
1208 if let Some(v) = self.desired_revision {
1209 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v.value());
1210 }
1211 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1212 self.special_fields.cached_size().set(my_size as u32);
1213 my_size
1214 }
1215
1216 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1217 if let Some(v) = self.publishedfileid {
1218 os.write_uint64(1, v)?;
1219 }
1220 if let Some(v) = self.for_table_of_contents {
1221 os.write_bool(2, v)?;
1222 }
1223 if let Some(v) = self.specific_sectionid {
1224 os.write_uint64(3, v)?;
1225 }
1226 if let Some(v) = self.desired_revision {
1227 os.write_enum(4, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
1228 }
1229 os.write_unknown_fields(self.special_fields.unknown_fields())?;
1230 ::std::result::Result::Ok(())
1231 }
1232
1233 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1234 &self.special_fields
1235 }
1236
1237 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1238 &mut self.special_fields
1239 }
1240
1241 fn new() -> CPublishedFile_GetSubSectionData_Request {
1242 CPublishedFile_GetSubSectionData_Request::new()
1243 }
1244
1245 fn clear(&mut self) {
1246 self.publishedfileid = ::std::option::Option::None;
1247 self.for_table_of_contents = ::std::option::Option::None;
1248 self.specific_sectionid = ::std::option::Option::None;
1249 self.desired_revision = ::std::option::Option::None;
1250 self.special_fields.clear();
1251 }
1252
1253 fn default_instance() -> &'static CPublishedFile_GetSubSectionData_Request {
1254 static instance: CPublishedFile_GetSubSectionData_Request = CPublishedFile_GetSubSectionData_Request {
1255 publishedfileid: ::std::option::Option::None,
1256 for_table_of_contents: ::std::option::Option::None,
1257 specific_sectionid: ::std::option::Option::None,
1258 desired_revision: ::std::option::Option::None,
1259 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1260 };
1261 &instance
1262 }
1263}
1264
1265#[derive(PartialEq,Clone,Default,Debug)]
1267pub struct PublishedFileSubSection {
1268 pub sectionid: ::std::option::Option<u64>,
1271 pub title: ::std::option::Option<::std::string::String>,
1273 pub description_text: ::std::option::Option<::std::string::String>,
1275 pub sort_order: ::std::option::Option<u32>,
1277 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1280}
1281
1282impl<'a> ::std::default::Default for &'a PublishedFileSubSection {
1283 fn default() -> &'a PublishedFileSubSection {
1284 <PublishedFileSubSection as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1285 }
1286}
1287
1288impl PublishedFileSubSection {
1289 pub fn new() -> PublishedFileSubSection {
1290 ::std::default::Default::default()
1291 }
1292
1293 pub fn sectionid(&self) -> u64 {
1296 self.sectionid.unwrap_or(0)
1297 }
1298
1299 pub fn clear_sectionid(&mut self) {
1300 self.sectionid = ::std::option::Option::None;
1301 }
1302
1303 pub fn has_sectionid(&self) -> bool {
1304 self.sectionid.is_some()
1305 }
1306
1307 pub fn set_sectionid(&mut self, v: u64) {
1309 self.sectionid = ::std::option::Option::Some(v);
1310 }
1311
1312 pub fn title(&self) -> &str {
1315 match self.title.as_ref() {
1316 Some(v) => v,
1317 None => "",
1318 }
1319 }
1320
1321 pub fn clear_title(&mut self) {
1322 self.title = ::std::option::Option::None;
1323 }
1324
1325 pub fn has_title(&self) -> bool {
1326 self.title.is_some()
1327 }
1328
1329 pub fn set_title(&mut self, v: ::std::string::String) {
1331 self.title = ::std::option::Option::Some(v);
1332 }
1333
1334 pub fn mut_title(&mut self) -> &mut ::std::string::String {
1337 if self.title.is_none() {
1338 self.title = ::std::option::Option::Some(::std::string::String::new());
1339 }
1340 self.title.as_mut().unwrap()
1341 }
1342
1343 pub fn take_title(&mut self) -> ::std::string::String {
1345 self.title.take().unwrap_or_else(|| ::std::string::String::new())
1346 }
1347
1348 pub fn description_text(&self) -> &str {
1351 match self.description_text.as_ref() {
1352 Some(v) => v,
1353 None => "",
1354 }
1355 }
1356
1357 pub fn clear_description_text(&mut self) {
1358 self.description_text = ::std::option::Option::None;
1359 }
1360
1361 pub fn has_description_text(&self) -> bool {
1362 self.description_text.is_some()
1363 }
1364
1365 pub fn set_description_text(&mut self, v: ::std::string::String) {
1367 self.description_text = ::std::option::Option::Some(v);
1368 }
1369
1370 pub fn mut_description_text(&mut self) -> &mut ::std::string::String {
1373 if self.description_text.is_none() {
1374 self.description_text = ::std::option::Option::Some(::std::string::String::new());
1375 }
1376 self.description_text.as_mut().unwrap()
1377 }
1378
1379 pub fn take_description_text(&mut self) -> ::std::string::String {
1381 self.description_text.take().unwrap_or_else(|| ::std::string::String::new())
1382 }
1383
1384 pub fn sort_order(&self) -> u32 {
1387 self.sort_order.unwrap_or(0)
1388 }
1389
1390 pub fn clear_sort_order(&mut self) {
1391 self.sort_order = ::std::option::Option::None;
1392 }
1393
1394 pub fn has_sort_order(&self) -> bool {
1395 self.sort_order.is_some()
1396 }
1397
1398 pub fn set_sort_order(&mut self, v: u32) {
1400 self.sort_order = ::std::option::Option::Some(v);
1401 }
1402}
1403
1404impl ::steam_vent_proto_common::protobuf::Message for PublishedFileSubSection {
1405 const NAME: &'static str = "PublishedFileSubSection";
1406
1407 fn is_initialized(&self) -> bool {
1408 true
1409 }
1410
1411 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1412 while let Some(tag) = is.read_raw_tag_or_eof()? {
1413 match tag {
1414 8 => {
1415 self.sectionid = ::std::option::Option::Some(is.read_uint64()?);
1416 },
1417 18 => {
1418 self.title = ::std::option::Option::Some(is.read_string()?);
1419 },
1420 26 => {
1421 self.description_text = ::std::option::Option::Some(is.read_string()?);
1422 },
1423 32 => {
1424 self.sort_order = ::std::option::Option::Some(is.read_uint32()?);
1425 },
1426 tag => {
1427 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1428 },
1429 };
1430 }
1431 ::std::result::Result::Ok(())
1432 }
1433
1434 #[allow(unused_variables)]
1436 fn compute_size(&self) -> u64 {
1437 let mut my_size = 0;
1438 if let Some(v) = self.sectionid {
1439 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
1440 }
1441 if let Some(v) = self.title.as_ref() {
1442 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
1443 }
1444 if let Some(v) = self.description_text.as_ref() {
1445 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
1446 }
1447 if let Some(v) = self.sort_order {
1448 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
1449 }
1450 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1451 self.special_fields.cached_size().set(my_size as u32);
1452 my_size
1453 }
1454
1455 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1456 if let Some(v) = self.sectionid {
1457 os.write_uint64(1, v)?;
1458 }
1459 if let Some(v) = self.title.as_ref() {
1460 os.write_string(2, v)?;
1461 }
1462 if let Some(v) = self.description_text.as_ref() {
1463 os.write_string(3, v)?;
1464 }
1465 if let Some(v) = self.sort_order {
1466 os.write_uint32(4, v)?;
1467 }
1468 os.write_unknown_fields(self.special_fields.unknown_fields())?;
1469 ::std::result::Result::Ok(())
1470 }
1471
1472 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1473 &self.special_fields
1474 }
1475
1476 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1477 &mut self.special_fields
1478 }
1479
1480 fn new() -> PublishedFileSubSection {
1481 PublishedFileSubSection::new()
1482 }
1483
1484 fn clear(&mut self) {
1485 self.sectionid = ::std::option::Option::None;
1486 self.title = ::std::option::Option::None;
1487 self.description_text = ::std::option::Option::None;
1488 self.sort_order = ::std::option::Option::None;
1489 self.special_fields.clear();
1490 }
1491
1492 fn default_instance() -> &'static PublishedFileSubSection {
1493 static instance: PublishedFileSubSection = PublishedFileSubSection {
1494 sectionid: ::std::option::Option::None,
1495 title: ::std::option::Option::None,
1496 description_text: ::std::option::Option::None,
1497 sort_order: ::std::option::Option::None,
1498 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1499 };
1500 &instance
1501 }
1502}
1503
1504#[derive(PartialEq,Clone,Default,Debug)]
1506pub struct CPublishedFile_GetSubSectionData_Response {
1507 pub sub_sections: ::std::vec::Vec<PublishedFileSubSection>,
1510 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1513}
1514
1515impl<'a> ::std::default::Default for &'a CPublishedFile_GetSubSectionData_Response {
1516 fn default() -> &'a CPublishedFile_GetSubSectionData_Response {
1517 <CPublishedFile_GetSubSectionData_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1518 }
1519}
1520
1521impl CPublishedFile_GetSubSectionData_Response {
1522 pub fn new() -> CPublishedFile_GetSubSectionData_Response {
1523 ::std::default::Default::default()
1524 }
1525}
1526
1527impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetSubSectionData_Response {
1528 const NAME: &'static str = "CPublishedFile_GetSubSectionData_Response";
1529
1530 fn is_initialized(&self) -> bool {
1531 true
1532 }
1533
1534 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1535 while let Some(tag) = is.read_raw_tag_or_eof()? {
1536 match tag {
1537 10 => {
1538 self.sub_sections.push(is.read_message()?);
1539 },
1540 tag => {
1541 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
1542 },
1543 };
1544 }
1545 ::std::result::Result::Ok(())
1546 }
1547
1548 #[allow(unused_variables)]
1550 fn compute_size(&self) -> u64 {
1551 let mut my_size = 0;
1552 for value in &self.sub_sections {
1553 let len = value.compute_size();
1554 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
1555 };
1556 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
1557 self.special_fields.cached_size().set(my_size as u32);
1558 my_size
1559 }
1560
1561 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
1562 for v in &self.sub_sections {
1563 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
1564 };
1565 os.write_unknown_fields(self.special_fields.unknown_fields())?;
1566 ::std::result::Result::Ok(())
1567 }
1568
1569 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
1570 &self.special_fields
1571 }
1572
1573 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
1574 &mut self.special_fields
1575 }
1576
1577 fn new() -> CPublishedFile_GetSubSectionData_Response {
1578 CPublishedFile_GetSubSectionData_Response::new()
1579 }
1580
1581 fn clear(&mut self) {
1582 self.sub_sections.clear();
1583 self.special_fields.clear();
1584 }
1585
1586 fn default_instance() -> &'static CPublishedFile_GetSubSectionData_Response {
1587 static instance: CPublishedFile_GetSubSectionData_Response = CPublishedFile_GetSubSectionData_Response {
1588 sub_sections: ::std::vec::Vec::new(),
1589 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
1590 };
1591 &instance
1592 }
1593}
1594
1595#[derive(PartialEq,Clone,Default,Debug)]
1597pub struct CPublishedFile_Publish_Request {
1598 pub appid: ::std::option::Option<u32>,
1601 pub consumer_appid: ::std::option::Option<u32>,
1603 pub cloudfilename: ::std::option::Option<::std::string::String>,
1605 pub preview_cloudfilename: ::std::option::Option<::std::string::String>,
1607 pub title: ::std::option::Option<::std::string::String>,
1609 pub file_description: ::std::option::Option<::std::string::String>,
1611 pub file_type: ::std::option::Option<u32>,
1613 pub consumer_shortcut_name: ::std::option::Option<::std::string::String>,
1615 pub youtube_username: ::std::option::Option<::std::string::String>,
1617 pub youtube_videoid: ::std::option::Option<::std::string::String>,
1619 pub visibility: ::std::option::Option<u32>,
1621 pub redirect_uri: ::std::option::Option<::std::string::String>,
1623 pub tags: ::std::vec::Vec<::std::string::String>,
1625 pub collection_type: ::std::option::Option<::std::string::String>,
1627 pub game_type: ::std::option::Option<::std::string::String>,
1629 pub url: ::std::option::Option<::std::string::String>,
1631 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
1634}
1635
1636impl<'a> ::std::default::Default for &'a CPublishedFile_Publish_Request {
1637 fn default() -> &'a CPublishedFile_Publish_Request {
1638 <CPublishedFile_Publish_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
1639 }
1640}
1641
1642impl CPublishedFile_Publish_Request {
1643 pub fn new() -> CPublishedFile_Publish_Request {
1644 ::std::default::Default::default()
1645 }
1646
1647 pub fn appid(&self) -> u32 {
1650 self.appid.unwrap_or(0)
1651 }
1652
1653 pub fn clear_appid(&mut self) {
1654 self.appid = ::std::option::Option::None;
1655 }
1656
1657 pub fn has_appid(&self) -> bool {
1658 self.appid.is_some()
1659 }
1660
1661 pub fn set_appid(&mut self, v: u32) {
1663 self.appid = ::std::option::Option::Some(v);
1664 }
1665
1666 pub fn consumer_appid(&self) -> u32 {
1669 self.consumer_appid.unwrap_or(0)
1670 }
1671
1672 pub fn clear_consumer_appid(&mut self) {
1673 self.consumer_appid = ::std::option::Option::None;
1674 }
1675
1676 pub fn has_consumer_appid(&self) -> bool {
1677 self.consumer_appid.is_some()
1678 }
1679
1680 pub fn set_consumer_appid(&mut self, v: u32) {
1682 self.consumer_appid = ::std::option::Option::Some(v);
1683 }
1684
1685 pub fn cloudfilename(&self) -> &str {
1688 match self.cloudfilename.as_ref() {
1689 Some(v) => v,
1690 None => "",
1691 }
1692 }
1693
1694 pub fn clear_cloudfilename(&mut self) {
1695 self.cloudfilename = ::std::option::Option::None;
1696 }
1697
1698 pub fn has_cloudfilename(&self) -> bool {
1699 self.cloudfilename.is_some()
1700 }
1701
1702 pub fn set_cloudfilename(&mut self, v: ::std::string::String) {
1704 self.cloudfilename = ::std::option::Option::Some(v);
1705 }
1706
1707 pub fn mut_cloudfilename(&mut self) -> &mut ::std::string::String {
1710 if self.cloudfilename.is_none() {
1711 self.cloudfilename = ::std::option::Option::Some(::std::string::String::new());
1712 }
1713 self.cloudfilename.as_mut().unwrap()
1714 }
1715
1716 pub fn take_cloudfilename(&mut self) -> ::std::string::String {
1718 self.cloudfilename.take().unwrap_or_else(|| ::std::string::String::new())
1719 }
1720
1721 pub fn preview_cloudfilename(&self) -> &str {
1724 match self.preview_cloudfilename.as_ref() {
1725 Some(v) => v,
1726 None => "",
1727 }
1728 }
1729
1730 pub fn clear_preview_cloudfilename(&mut self) {
1731 self.preview_cloudfilename = ::std::option::Option::None;
1732 }
1733
1734 pub fn has_preview_cloudfilename(&self) -> bool {
1735 self.preview_cloudfilename.is_some()
1736 }
1737
1738 pub fn set_preview_cloudfilename(&mut self, v: ::std::string::String) {
1740 self.preview_cloudfilename = ::std::option::Option::Some(v);
1741 }
1742
1743 pub fn mut_preview_cloudfilename(&mut self) -> &mut ::std::string::String {
1746 if self.preview_cloudfilename.is_none() {
1747 self.preview_cloudfilename = ::std::option::Option::Some(::std::string::String::new());
1748 }
1749 self.preview_cloudfilename.as_mut().unwrap()
1750 }
1751
1752 pub fn take_preview_cloudfilename(&mut self) -> ::std::string::String {
1754 self.preview_cloudfilename.take().unwrap_or_else(|| ::std::string::String::new())
1755 }
1756
1757 pub fn title(&self) -> &str {
1760 match self.title.as_ref() {
1761 Some(v) => v,
1762 None => "",
1763 }
1764 }
1765
1766 pub fn clear_title(&mut self) {
1767 self.title = ::std::option::Option::None;
1768 }
1769
1770 pub fn has_title(&self) -> bool {
1771 self.title.is_some()
1772 }
1773
1774 pub fn set_title(&mut self, v: ::std::string::String) {
1776 self.title = ::std::option::Option::Some(v);
1777 }
1778
1779 pub fn mut_title(&mut self) -> &mut ::std::string::String {
1782 if self.title.is_none() {
1783 self.title = ::std::option::Option::Some(::std::string::String::new());
1784 }
1785 self.title.as_mut().unwrap()
1786 }
1787
1788 pub fn take_title(&mut self) -> ::std::string::String {
1790 self.title.take().unwrap_or_else(|| ::std::string::String::new())
1791 }
1792
1793 pub fn file_description(&self) -> &str {
1796 match self.file_description.as_ref() {
1797 Some(v) => v,
1798 None => "",
1799 }
1800 }
1801
1802 pub fn clear_file_description(&mut self) {
1803 self.file_description = ::std::option::Option::None;
1804 }
1805
1806 pub fn has_file_description(&self) -> bool {
1807 self.file_description.is_some()
1808 }
1809
1810 pub fn set_file_description(&mut self, v: ::std::string::String) {
1812 self.file_description = ::std::option::Option::Some(v);
1813 }
1814
1815 pub fn mut_file_description(&mut self) -> &mut ::std::string::String {
1818 if self.file_description.is_none() {
1819 self.file_description = ::std::option::Option::Some(::std::string::String::new());
1820 }
1821 self.file_description.as_mut().unwrap()
1822 }
1823
1824 pub fn take_file_description(&mut self) -> ::std::string::String {
1826 self.file_description.take().unwrap_or_else(|| ::std::string::String::new())
1827 }
1828
1829 pub fn file_type(&self) -> u32 {
1832 self.file_type.unwrap_or(0)
1833 }
1834
1835 pub fn clear_file_type(&mut self) {
1836 self.file_type = ::std::option::Option::None;
1837 }
1838
1839 pub fn has_file_type(&self) -> bool {
1840 self.file_type.is_some()
1841 }
1842
1843 pub fn set_file_type(&mut self, v: u32) {
1845 self.file_type = ::std::option::Option::Some(v);
1846 }
1847
1848 pub fn consumer_shortcut_name(&self) -> &str {
1851 match self.consumer_shortcut_name.as_ref() {
1852 Some(v) => v,
1853 None => "",
1854 }
1855 }
1856
1857 pub fn clear_consumer_shortcut_name(&mut self) {
1858 self.consumer_shortcut_name = ::std::option::Option::None;
1859 }
1860
1861 pub fn has_consumer_shortcut_name(&self) -> bool {
1862 self.consumer_shortcut_name.is_some()
1863 }
1864
1865 pub fn set_consumer_shortcut_name(&mut self, v: ::std::string::String) {
1867 self.consumer_shortcut_name = ::std::option::Option::Some(v);
1868 }
1869
1870 pub fn mut_consumer_shortcut_name(&mut self) -> &mut ::std::string::String {
1873 if self.consumer_shortcut_name.is_none() {
1874 self.consumer_shortcut_name = ::std::option::Option::Some(::std::string::String::new());
1875 }
1876 self.consumer_shortcut_name.as_mut().unwrap()
1877 }
1878
1879 pub fn take_consumer_shortcut_name(&mut self) -> ::std::string::String {
1881 self.consumer_shortcut_name.take().unwrap_or_else(|| ::std::string::String::new())
1882 }
1883
1884 pub fn youtube_username(&self) -> &str {
1887 match self.youtube_username.as_ref() {
1888 Some(v) => v,
1889 None => "",
1890 }
1891 }
1892
1893 pub fn clear_youtube_username(&mut self) {
1894 self.youtube_username = ::std::option::Option::None;
1895 }
1896
1897 pub fn has_youtube_username(&self) -> bool {
1898 self.youtube_username.is_some()
1899 }
1900
1901 pub fn set_youtube_username(&mut self, v: ::std::string::String) {
1903 self.youtube_username = ::std::option::Option::Some(v);
1904 }
1905
1906 pub fn mut_youtube_username(&mut self) -> &mut ::std::string::String {
1909 if self.youtube_username.is_none() {
1910 self.youtube_username = ::std::option::Option::Some(::std::string::String::new());
1911 }
1912 self.youtube_username.as_mut().unwrap()
1913 }
1914
1915 pub fn take_youtube_username(&mut self) -> ::std::string::String {
1917 self.youtube_username.take().unwrap_or_else(|| ::std::string::String::new())
1918 }
1919
1920 pub fn youtube_videoid(&self) -> &str {
1923 match self.youtube_videoid.as_ref() {
1924 Some(v) => v,
1925 None => "",
1926 }
1927 }
1928
1929 pub fn clear_youtube_videoid(&mut self) {
1930 self.youtube_videoid = ::std::option::Option::None;
1931 }
1932
1933 pub fn has_youtube_videoid(&self) -> bool {
1934 self.youtube_videoid.is_some()
1935 }
1936
1937 pub fn set_youtube_videoid(&mut self, v: ::std::string::String) {
1939 self.youtube_videoid = ::std::option::Option::Some(v);
1940 }
1941
1942 pub fn mut_youtube_videoid(&mut self) -> &mut ::std::string::String {
1945 if self.youtube_videoid.is_none() {
1946 self.youtube_videoid = ::std::option::Option::Some(::std::string::String::new());
1947 }
1948 self.youtube_videoid.as_mut().unwrap()
1949 }
1950
1951 pub fn take_youtube_videoid(&mut self) -> ::std::string::String {
1953 self.youtube_videoid.take().unwrap_or_else(|| ::std::string::String::new())
1954 }
1955
1956 pub fn visibility(&self) -> u32 {
1959 self.visibility.unwrap_or(0)
1960 }
1961
1962 pub fn clear_visibility(&mut self) {
1963 self.visibility = ::std::option::Option::None;
1964 }
1965
1966 pub fn has_visibility(&self) -> bool {
1967 self.visibility.is_some()
1968 }
1969
1970 pub fn set_visibility(&mut self, v: u32) {
1972 self.visibility = ::std::option::Option::Some(v);
1973 }
1974
1975 pub fn redirect_uri(&self) -> &str {
1978 match self.redirect_uri.as_ref() {
1979 Some(v) => v,
1980 None => "",
1981 }
1982 }
1983
1984 pub fn clear_redirect_uri(&mut self) {
1985 self.redirect_uri = ::std::option::Option::None;
1986 }
1987
1988 pub fn has_redirect_uri(&self) -> bool {
1989 self.redirect_uri.is_some()
1990 }
1991
1992 pub fn set_redirect_uri(&mut self, v: ::std::string::String) {
1994 self.redirect_uri = ::std::option::Option::Some(v);
1995 }
1996
1997 pub fn mut_redirect_uri(&mut self) -> &mut ::std::string::String {
2000 if self.redirect_uri.is_none() {
2001 self.redirect_uri = ::std::option::Option::Some(::std::string::String::new());
2002 }
2003 self.redirect_uri.as_mut().unwrap()
2004 }
2005
2006 pub fn take_redirect_uri(&mut self) -> ::std::string::String {
2008 self.redirect_uri.take().unwrap_or_else(|| ::std::string::String::new())
2009 }
2010
2011 pub fn collection_type(&self) -> &str {
2014 match self.collection_type.as_ref() {
2015 Some(v) => v,
2016 None => "",
2017 }
2018 }
2019
2020 pub fn clear_collection_type(&mut self) {
2021 self.collection_type = ::std::option::Option::None;
2022 }
2023
2024 pub fn has_collection_type(&self) -> bool {
2025 self.collection_type.is_some()
2026 }
2027
2028 pub fn set_collection_type(&mut self, v: ::std::string::String) {
2030 self.collection_type = ::std::option::Option::Some(v);
2031 }
2032
2033 pub fn mut_collection_type(&mut self) -> &mut ::std::string::String {
2036 if self.collection_type.is_none() {
2037 self.collection_type = ::std::option::Option::Some(::std::string::String::new());
2038 }
2039 self.collection_type.as_mut().unwrap()
2040 }
2041
2042 pub fn take_collection_type(&mut self) -> ::std::string::String {
2044 self.collection_type.take().unwrap_or_else(|| ::std::string::String::new())
2045 }
2046
2047 pub fn game_type(&self) -> &str {
2050 match self.game_type.as_ref() {
2051 Some(v) => v,
2052 None => "",
2053 }
2054 }
2055
2056 pub fn clear_game_type(&mut self) {
2057 self.game_type = ::std::option::Option::None;
2058 }
2059
2060 pub fn has_game_type(&self) -> bool {
2061 self.game_type.is_some()
2062 }
2063
2064 pub fn set_game_type(&mut self, v: ::std::string::String) {
2066 self.game_type = ::std::option::Option::Some(v);
2067 }
2068
2069 pub fn mut_game_type(&mut self) -> &mut ::std::string::String {
2072 if self.game_type.is_none() {
2073 self.game_type = ::std::option::Option::Some(::std::string::String::new());
2074 }
2075 self.game_type.as_mut().unwrap()
2076 }
2077
2078 pub fn take_game_type(&mut self) -> ::std::string::String {
2080 self.game_type.take().unwrap_or_else(|| ::std::string::String::new())
2081 }
2082
2083 pub fn url(&self) -> &str {
2086 match self.url.as_ref() {
2087 Some(v) => v,
2088 None => "",
2089 }
2090 }
2091
2092 pub fn clear_url(&mut self) {
2093 self.url = ::std::option::Option::None;
2094 }
2095
2096 pub fn has_url(&self) -> bool {
2097 self.url.is_some()
2098 }
2099
2100 pub fn set_url(&mut self, v: ::std::string::String) {
2102 self.url = ::std::option::Option::Some(v);
2103 }
2104
2105 pub fn mut_url(&mut self) -> &mut ::std::string::String {
2108 if self.url.is_none() {
2109 self.url = ::std::option::Option::Some(::std::string::String::new());
2110 }
2111 self.url.as_mut().unwrap()
2112 }
2113
2114 pub fn take_url(&mut self) -> ::std::string::String {
2116 self.url.take().unwrap_or_else(|| ::std::string::String::new())
2117 }
2118}
2119
2120impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_Publish_Request {
2121 const NAME: &'static str = "CPublishedFile_Publish_Request";
2122
2123 fn is_initialized(&self) -> bool {
2124 true
2125 }
2126
2127 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2128 while let Some(tag) = is.read_raw_tag_or_eof()? {
2129 match tag {
2130 8 => {
2131 self.appid = ::std::option::Option::Some(is.read_uint32()?);
2132 },
2133 16 => {
2134 self.consumer_appid = ::std::option::Option::Some(is.read_uint32()?);
2135 },
2136 26 => {
2137 self.cloudfilename = ::std::option::Option::Some(is.read_string()?);
2138 },
2139 34 => {
2140 self.preview_cloudfilename = ::std::option::Option::Some(is.read_string()?);
2141 },
2142 42 => {
2143 self.title = ::std::option::Option::Some(is.read_string()?);
2144 },
2145 50 => {
2146 self.file_description = ::std::option::Option::Some(is.read_string()?);
2147 },
2148 56 => {
2149 self.file_type = ::std::option::Option::Some(is.read_uint32()?);
2150 },
2151 66 => {
2152 self.consumer_shortcut_name = ::std::option::Option::Some(is.read_string()?);
2153 },
2154 74 => {
2155 self.youtube_username = ::std::option::Option::Some(is.read_string()?);
2156 },
2157 82 => {
2158 self.youtube_videoid = ::std::option::Option::Some(is.read_string()?);
2159 },
2160 88 => {
2161 self.visibility = ::std::option::Option::Some(is.read_uint32()?);
2162 },
2163 98 => {
2164 self.redirect_uri = ::std::option::Option::Some(is.read_string()?);
2165 },
2166 106 => {
2167 self.tags.push(is.read_string()?);
2168 },
2169 114 => {
2170 self.collection_type = ::std::option::Option::Some(is.read_string()?);
2171 },
2172 122 => {
2173 self.game_type = ::std::option::Option::Some(is.read_string()?);
2174 },
2175 130 => {
2176 self.url = ::std::option::Option::Some(is.read_string()?);
2177 },
2178 tag => {
2179 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2180 },
2181 };
2182 }
2183 ::std::result::Result::Ok(())
2184 }
2185
2186 #[allow(unused_variables)]
2188 fn compute_size(&self) -> u64 {
2189 let mut my_size = 0;
2190 if let Some(v) = self.appid {
2191 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
2192 }
2193 if let Some(v) = self.consumer_appid {
2194 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
2195 }
2196 if let Some(v) = self.cloudfilename.as_ref() {
2197 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
2198 }
2199 if let Some(v) = self.preview_cloudfilename.as_ref() {
2200 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
2201 }
2202 if let Some(v) = self.title.as_ref() {
2203 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
2204 }
2205 if let Some(v) = self.file_description.as_ref() {
2206 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
2207 }
2208 if let Some(v) = self.file_type {
2209 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
2210 }
2211 if let Some(v) = self.consumer_shortcut_name.as_ref() {
2212 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
2213 }
2214 if let Some(v) = self.youtube_username.as_ref() {
2215 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(9, &v);
2216 }
2217 if let Some(v) = self.youtube_videoid.as_ref() {
2218 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(10, &v);
2219 }
2220 if let Some(v) = self.visibility {
2221 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(11, v);
2222 }
2223 if let Some(v) = self.redirect_uri.as_ref() {
2224 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(12, &v);
2225 }
2226 for value in &self.tags {
2227 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(13, &value);
2228 };
2229 if let Some(v) = self.collection_type.as_ref() {
2230 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(14, &v);
2231 }
2232 if let Some(v) = self.game_type.as_ref() {
2233 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(15, &v);
2234 }
2235 if let Some(v) = self.url.as_ref() {
2236 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(16, &v);
2237 }
2238 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2239 self.special_fields.cached_size().set(my_size as u32);
2240 my_size
2241 }
2242
2243 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2244 if let Some(v) = self.appid {
2245 os.write_uint32(1, v)?;
2246 }
2247 if let Some(v) = self.consumer_appid {
2248 os.write_uint32(2, v)?;
2249 }
2250 if let Some(v) = self.cloudfilename.as_ref() {
2251 os.write_string(3, v)?;
2252 }
2253 if let Some(v) = self.preview_cloudfilename.as_ref() {
2254 os.write_string(4, v)?;
2255 }
2256 if let Some(v) = self.title.as_ref() {
2257 os.write_string(5, v)?;
2258 }
2259 if let Some(v) = self.file_description.as_ref() {
2260 os.write_string(6, v)?;
2261 }
2262 if let Some(v) = self.file_type {
2263 os.write_uint32(7, v)?;
2264 }
2265 if let Some(v) = self.consumer_shortcut_name.as_ref() {
2266 os.write_string(8, v)?;
2267 }
2268 if let Some(v) = self.youtube_username.as_ref() {
2269 os.write_string(9, v)?;
2270 }
2271 if let Some(v) = self.youtube_videoid.as_ref() {
2272 os.write_string(10, v)?;
2273 }
2274 if let Some(v) = self.visibility {
2275 os.write_uint32(11, v)?;
2276 }
2277 if let Some(v) = self.redirect_uri.as_ref() {
2278 os.write_string(12, v)?;
2279 }
2280 for v in &self.tags {
2281 os.write_string(13, &v)?;
2282 };
2283 if let Some(v) = self.collection_type.as_ref() {
2284 os.write_string(14, v)?;
2285 }
2286 if let Some(v) = self.game_type.as_ref() {
2287 os.write_string(15, v)?;
2288 }
2289 if let Some(v) = self.url.as_ref() {
2290 os.write_string(16, v)?;
2291 }
2292 os.write_unknown_fields(self.special_fields.unknown_fields())?;
2293 ::std::result::Result::Ok(())
2294 }
2295
2296 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2297 &self.special_fields
2298 }
2299
2300 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2301 &mut self.special_fields
2302 }
2303
2304 fn new() -> CPublishedFile_Publish_Request {
2305 CPublishedFile_Publish_Request::new()
2306 }
2307
2308 fn clear(&mut self) {
2309 self.appid = ::std::option::Option::None;
2310 self.consumer_appid = ::std::option::Option::None;
2311 self.cloudfilename = ::std::option::Option::None;
2312 self.preview_cloudfilename = ::std::option::Option::None;
2313 self.title = ::std::option::Option::None;
2314 self.file_description = ::std::option::Option::None;
2315 self.file_type = ::std::option::Option::None;
2316 self.consumer_shortcut_name = ::std::option::Option::None;
2317 self.youtube_username = ::std::option::Option::None;
2318 self.youtube_videoid = ::std::option::Option::None;
2319 self.visibility = ::std::option::Option::None;
2320 self.redirect_uri = ::std::option::Option::None;
2321 self.tags.clear();
2322 self.collection_type = ::std::option::Option::None;
2323 self.game_type = ::std::option::Option::None;
2324 self.url = ::std::option::Option::None;
2325 self.special_fields.clear();
2326 }
2327
2328 fn default_instance() -> &'static CPublishedFile_Publish_Request {
2329 static instance: CPublishedFile_Publish_Request = CPublishedFile_Publish_Request {
2330 appid: ::std::option::Option::None,
2331 consumer_appid: ::std::option::Option::None,
2332 cloudfilename: ::std::option::Option::None,
2333 preview_cloudfilename: ::std::option::Option::None,
2334 title: ::std::option::Option::None,
2335 file_description: ::std::option::Option::None,
2336 file_type: ::std::option::Option::None,
2337 consumer_shortcut_name: ::std::option::Option::None,
2338 youtube_username: ::std::option::Option::None,
2339 youtube_videoid: ::std::option::Option::None,
2340 visibility: ::std::option::Option::None,
2341 redirect_uri: ::std::option::Option::None,
2342 tags: ::std::vec::Vec::new(),
2343 collection_type: ::std::option::Option::None,
2344 game_type: ::std::option::Option::None,
2345 url: ::std::option::Option::None,
2346 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2347 };
2348 &instance
2349 }
2350}
2351
2352#[derive(PartialEq,Clone,Default,Debug)]
2354pub struct CPublishedFile_Publish_Response {
2355 pub publishedfileid: ::std::option::Option<u64>,
2358 pub redirect_uri: ::std::option::Option<::std::string::String>,
2360 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2363}
2364
2365impl<'a> ::std::default::Default for &'a CPublishedFile_Publish_Response {
2366 fn default() -> &'a CPublishedFile_Publish_Response {
2367 <CPublishedFile_Publish_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2368 }
2369}
2370
2371impl CPublishedFile_Publish_Response {
2372 pub fn new() -> CPublishedFile_Publish_Response {
2373 ::std::default::Default::default()
2374 }
2375
2376 pub fn publishedfileid(&self) -> u64 {
2379 self.publishedfileid.unwrap_or(0)
2380 }
2381
2382 pub fn clear_publishedfileid(&mut self) {
2383 self.publishedfileid = ::std::option::Option::None;
2384 }
2385
2386 pub fn has_publishedfileid(&self) -> bool {
2387 self.publishedfileid.is_some()
2388 }
2389
2390 pub fn set_publishedfileid(&mut self, v: u64) {
2392 self.publishedfileid = ::std::option::Option::Some(v);
2393 }
2394
2395 pub fn redirect_uri(&self) -> &str {
2398 match self.redirect_uri.as_ref() {
2399 Some(v) => v,
2400 None => "",
2401 }
2402 }
2403
2404 pub fn clear_redirect_uri(&mut self) {
2405 self.redirect_uri = ::std::option::Option::None;
2406 }
2407
2408 pub fn has_redirect_uri(&self) -> bool {
2409 self.redirect_uri.is_some()
2410 }
2411
2412 pub fn set_redirect_uri(&mut self, v: ::std::string::String) {
2414 self.redirect_uri = ::std::option::Option::Some(v);
2415 }
2416
2417 pub fn mut_redirect_uri(&mut self) -> &mut ::std::string::String {
2420 if self.redirect_uri.is_none() {
2421 self.redirect_uri = ::std::option::Option::Some(::std::string::String::new());
2422 }
2423 self.redirect_uri.as_mut().unwrap()
2424 }
2425
2426 pub fn take_redirect_uri(&mut self) -> ::std::string::String {
2428 self.redirect_uri.take().unwrap_or_else(|| ::std::string::String::new())
2429 }
2430}
2431
2432impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_Publish_Response {
2433 const NAME: &'static str = "CPublishedFile_Publish_Response";
2434
2435 fn is_initialized(&self) -> bool {
2436 true
2437 }
2438
2439 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2440 while let Some(tag) = is.read_raw_tag_or_eof()? {
2441 match tag {
2442 8 => {
2443 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
2444 },
2445 18 => {
2446 self.redirect_uri = ::std::option::Option::Some(is.read_string()?);
2447 },
2448 tag => {
2449 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2450 },
2451 };
2452 }
2453 ::std::result::Result::Ok(())
2454 }
2455
2456 #[allow(unused_variables)]
2458 fn compute_size(&self) -> u64 {
2459 let mut my_size = 0;
2460 if let Some(v) = self.publishedfileid {
2461 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
2462 }
2463 if let Some(v) = self.redirect_uri.as_ref() {
2464 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
2465 }
2466 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2467 self.special_fields.cached_size().set(my_size as u32);
2468 my_size
2469 }
2470
2471 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2472 if let Some(v) = self.publishedfileid {
2473 os.write_uint64(1, v)?;
2474 }
2475 if let Some(v) = self.redirect_uri.as_ref() {
2476 os.write_string(2, v)?;
2477 }
2478 os.write_unknown_fields(self.special_fields.unknown_fields())?;
2479 ::std::result::Result::Ok(())
2480 }
2481
2482 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
2483 &self.special_fields
2484 }
2485
2486 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
2487 &mut self.special_fields
2488 }
2489
2490 fn new() -> CPublishedFile_Publish_Response {
2491 CPublishedFile_Publish_Response::new()
2492 }
2493
2494 fn clear(&mut self) {
2495 self.publishedfileid = ::std::option::Option::None;
2496 self.redirect_uri = ::std::option::Option::None;
2497 self.special_fields.clear();
2498 }
2499
2500 fn default_instance() -> &'static CPublishedFile_Publish_Response {
2501 static instance: CPublishedFile_Publish_Response = CPublishedFile_Publish_Response {
2502 publishedfileid: ::std::option::Option::None,
2503 redirect_uri: ::std::option::Option::None,
2504 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
2505 };
2506 &instance
2507 }
2508}
2509
2510#[derive(PartialEq,Clone,Default,Debug)]
2512pub struct CPublishedFile_GetDetails_Request {
2513 pub publishedfileids: ::std::vec::Vec<u64>,
2516 pub includetags: ::std::option::Option<bool>,
2518 pub includeadditionalpreviews: ::std::option::Option<bool>,
2520 pub includechildren: ::std::option::Option<bool>,
2522 pub includekvtags: ::std::option::Option<bool>,
2524 pub includevotes: ::std::option::Option<bool>,
2526 pub short_description: ::std::option::Option<bool>,
2528 pub includeforsaledata: ::std::option::Option<bool>,
2530 pub includemetadata: ::std::option::Option<bool>,
2532 pub language: ::std::option::Option<i32>,
2534 pub return_playtime_stats: ::std::option::Option<u32>,
2536 pub appid: ::std::option::Option<u32>,
2538 pub strip_description_bbcode: ::std::option::Option<bool>,
2540 pub desired_revision: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EPublishedFileRevision>>,
2542 pub includereactions: ::std::option::Option<bool>,
2544 pub admin_query: ::std::option::Option<bool>,
2546 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
2549}
2550
2551impl<'a> ::std::default::Default for &'a CPublishedFile_GetDetails_Request {
2552 fn default() -> &'a CPublishedFile_GetDetails_Request {
2553 <CPublishedFile_GetDetails_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
2554 }
2555}
2556
2557impl CPublishedFile_GetDetails_Request {
2558 pub fn new() -> CPublishedFile_GetDetails_Request {
2559 ::std::default::Default::default()
2560 }
2561
2562 pub fn includetags(&self) -> bool {
2565 self.includetags.unwrap_or(false)
2566 }
2567
2568 pub fn clear_includetags(&mut self) {
2569 self.includetags = ::std::option::Option::None;
2570 }
2571
2572 pub fn has_includetags(&self) -> bool {
2573 self.includetags.is_some()
2574 }
2575
2576 pub fn set_includetags(&mut self, v: bool) {
2578 self.includetags = ::std::option::Option::Some(v);
2579 }
2580
2581 pub fn includeadditionalpreviews(&self) -> bool {
2584 self.includeadditionalpreviews.unwrap_or(false)
2585 }
2586
2587 pub fn clear_includeadditionalpreviews(&mut self) {
2588 self.includeadditionalpreviews = ::std::option::Option::None;
2589 }
2590
2591 pub fn has_includeadditionalpreviews(&self) -> bool {
2592 self.includeadditionalpreviews.is_some()
2593 }
2594
2595 pub fn set_includeadditionalpreviews(&mut self, v: bool) {
2597 self.includeadditionalpreviews = ::std::option::Option::Some(v);
2598 }
2599
2600 pub fn includechildren(&self) -> bool {
2603 self.includechildren.unwrap_or(false)
2604 }
2605
2606 pub fn clear_includechildren(&mut self) {
2607 self.includechildren = ::std::option::Option::None;
2608 }
2609
2610 pub fn has_includechildren(&self) -> bool {
2611 self.includechildren.is_some()
2612 }
2613
2614 pub fn set_includechildren(&mut self, v: bool) {
2616 self.includechildren = ::std::option::Option::Some(v);
2617 }
2618
2619 pub fn includekvtags(&self) -> bool {
2622 self.includekvtags.unwrap_or(false)
2623 }
2624
2625 pub fn clear_includekvtags(&mut self) {
2626 self.includekvtags = ::std::option::Option::None;
2627 }
2628
2629 pub fn has_includekvtags(&self) -> bool {
2630 self.includekvtags.is_some()
2631 }
2632
2633 pub fn set_includekvtags(&mut self, v: bool) {
2635 self.includekvtags = ::std::option::Option::Some(v);
2636 }
2637
2638 pub fn includevotes(&self) -> bool {
2641 self.includevotes.unwrap_or(false)
2642 }
2643
2644 pub fn clear_includevotes(&mut self) {
2645 self.includevotes = ::std::option::Option::None;
2646 }
2647
2648 pub fn has_includevotes(&self) -> bool {
2649 self.includevotes.is_some()
2650 }
2651
2652 pub fn set_includevotes(&mut self, v: bool) {
2654 self.includevotes = ::std::option::Option::Some(v);
2655 }
2656
2657 pub fn short_description(&self) -> bool {
2660 self.short_description.unwrap_or(false)
2661 }
2662
2663 pub fn clear_short_description(&mut self) {
2664 self.short_description = ::std::option::Option::None;
2665 }
2666
2667 pub fn has_short_description(&self) -> bool {
2668 self.short_description.is_some()
2669 }
2670
2671 pub fn set_short_description(&mut self, v: bool) {
2673 self.short_description = ::std::option::Option::Some(v);
2674 }
2675
2676 pub fn includeforsaledata(&self) -> bool {
2679 self.includeforsaledata.unwrap_or(false)
2680 }
2681
2682 pub fn clear_includeforsaledata(&mut self) {
2683 self.includeforsaledata = ::std::option::Option::None;
2684 }
2685
2686 pub fn has_includeforsaledata(&self) -> bool {
2687 self.includeforsaledata.is_some()
2688 }
2689
2690 pub fn set_includeforsaledata(&mut self, v: bool) {
2692 self.includeforsaledata = ::std::option::Option::Some(v);
2693 }
2694
2695 pub fn includemetadata(&self) -> bool {
2698 self.includemetadata.unwrap_or(false)
2699 }
2700
2701 pub fn clear_includemetadata(&mut self) {
2702 self.includemetadata = ::std::option::Option::None;
2703 }
2704
2705 pub fn has_includemetadata(&self) -> bool {
2706 self.includemetadata.is_some()
2707 }
2708
2709 pub fn set_includemetadata(&mut self, v: bool) {
2711 self.includemetadata = ::std::option::Option::Some(v);
2712 }
2713
2714 pub fn language(&self) -> i32 {
2717 self.language.unwrap_or(0i32)
2718 }
2719
2720 pub fn clear_language(&mut self) {
2721 self.language = ::std::option::Option::None;
2722 }
2723
2724 pub fn has_language(&self) -> bool {
2725 self.language.is_some()
2726 }
2727
2728 pub fn set_language(&mut self, v: i32) {
2730 self.language = ::std::option::Option::Some(v);
2731 }
2732
2733 pub fn return_playtime_stats(&self) -> u32 {
2736 self.return_playtime_stats.unwrap_or(0)
2737 }
2738
2739 pub fn clear_return_playtime_stats(&mut self) {
2740 self.return_playtime_stats = ::std::option::Option::None;
2741 }
2742
2743 pub fn has_return_playtime_stats(&self) -> bool {
2744 self.return_playtime_stats.is_some()
2745 }
2746
2747 pub fn set_return_playtime_stats(&mut self, v: u32) {
2749 self.return_playtime_stats = ::std::option::Option::Some(v);
2750 }
2751
2752 pub fn appid(&self) -> u32 {
2755 self.appid.unwrap_or(0)
2756 }
2757
2758 pub fn clear_appid(&mut self) {
2759 self.appid = ::std::option::Option::None;
2760 }
2761
2762 pub fn has_appid(&self) -> bool {
2763 self.appid.is_some()
2764 }
2765
2766 pub fn set_appid(&mut self, v: u32) {
2768 self.appid = ::std::option::Option::Some(v);
2769 }
2770
2771 pub fn strip_description_bbcode(&self) -> bool {
2774 self.strip_description_bbcode.unwrap_or(false)
2775 }
2776
2777 pub fn clear_strip_description_bbcode(&mut self) {
2778 self.strip_description_bbcode = ::std::option::Option::None;
2779 }
2780
2781 pub fn has_strip_description_bbcode(&self) -> bool {
2782 self.strip_description_bbcode.is_some()
2783 }
2784
2785 pub fn set_strip_description_bbcode(&mut self, v: bool) {
2787 self.strip_description_bbcode = ::std::option::Option::Some(v);
2788 }
2789
2790 pub fn desired_revision(&self) -> EPublishedFileRevision {
2793 match self.desired_revision {
2794 Some(e) => e.enum_value_or(EPublishedFileRevision::k_EPublishedFileRevision_Default),
2795 None => EPublishedFileRevision::k_EPublishedFileRevision_Default,
2796 }
2797 }
2798
2799 pub fn clear_desired_revision(&mut self) {
2800 self.desired_revision = ::std::option::Option::None;
2801 }
2802
2803 pub fn has_desired_revision(&self) -> bool {
2804 self.desired_revision.is_some()
2805 }
2806
2807 pub fn set_desired_revision(&mut self, v: EPublishedFileRevision) {
2809 self.desired_revision = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
2810 }
2811
2812 pub fn includereactions(&self) -> bool {
2815 self.includereactions.unwrap_or(false)
2816 }
2817
2818 pub fn clear_includereactions(&mut self) {
2819 self.includereactions = ::std::option::Option::None;
2820 }
2821
2822 pub fn has_includereactions(&self) -> bool {
2823 self.includereactions.is_some()
2824 }
2825
2826 pub fn set_includereactions(&mut self, v: bool) {
2828 self.includereactions = ::std::option::Option::Some(v);
2829 }
2830
2831 pub fn admin_query(&self) -> bool {
2834 self.admin_query.unwrap_or(false)
2835 }
2836
2837 pub fn clear_admin_query(&mut self) {
2838 self.admin_query = ::std::option::Option::None;
2839 }
2840
2841 pub fn has_admin_query(&self) -> bool {
2842 self.admin_query.is_some()
2843 }
2844
2845 pub fn set_admin_query(&mut self, v: bool) {
2847 self.admin_query = ::std::option::Option::Some(v);
2848 }
2849}
2850
2851impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetDetails_Request {
2852 const NAME: &'static str = "CPublishedFile_GetDetails_Request";
2853
2854 fn is_initialized(&self) -> bool {
2855 true
2856 }
2857
2858 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2859 while let Some(tag) = is.read_raw_tag_or_eof()? {
2860 match tag {
2861 10 => {
2862 is.read_repeated_packed_fixed64_into(&mut self.publishedfileids)?;
2863 },
2864 9 => {
2865 self.publishedfileids.push(is.read_fixed64()?);
2866 },
2867 16 => {
2868 self.includetags = ::std::option::Option::Some(is.read_bool()?);
2869 },
2870 24 => {
2871 self.includeadditionalpreviews = ::std::option::Option::Some(is.read_bool()?);
2872 },
2873 32 => {
2874 self.includechildren = ::std::option::Option::Some(is.read_bool()?);
2875 },
2876 40 => {
2877 self.includekvtags = ::std::option::Option::Some(is.read_bool()?);
2878 },
2879 48 => {
2880 self.includevotes = ::std::option::Option::Some(is.read_bool()?);
2881 },
2882 64 => {
2883 self.short_description = ::std::option::Option::Some(is.read_bool()?);
2884 },
2885 80 => {
2886 self.includeforsaledata = ::std::option::Option::Some(is.read_bool()?);
2887 },
2888 88 => {
2889 self.includemetadata = ::std::option::Option::Some(is.read_bool()?);
2890 },
2891 96 => {
2892 self.language = ::std::option::Option::Some(is.read_int32()?);
2893 },
2894 104 => {
2895 self.return_playtime_stats = ::std::option::Option::Some(is.read_uint32()?);
2896 },
2897 112 => {
2898 self.appid = ::std::option::Option::Some(is.read_uint32()?);
2899 },
2900 120 => {
2901 self.strip_description_bbcode = ::std::option::Option::Some(is.read_bool()?);
2902 },
2903 128 => {
2904 self.desired_revision = ::std::option::Option::Some(is.read_enum_or_unknown()?);
2905 },
2906 136 => {
2907 self.includereactions = ::std::option::Option::Some(is.read_bool()?);
2908 },
2909 144 => {
2910 self.admin_query = ::std::option::Option::Some(is.read_bool()?);
2911 },
2912 tag => {
2913 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
2914 },
2915 };
2916 }
2917 ::std::result::Result::Ok(())
2918 }
2919
2920 #[allow(unused_variables)]
2922 fn compute_size(&self) -> u64 {
2923 let mut my_size = 0;
2924 my_size += 9 * self.publishedfileids.len() as u64;
2925 if let Some(v) = self.includetags {
2926 my_size += 1 + 1;
2927 }
2928 if let Some(v) = self.includeadditionalpreviews {
2929 my_size += 1 + 1;
2930 }
2931 if let Some(v) = self.includechildren {
2932 my_size += 1 + 1;
2933 }
2934 if let Some(v) = self.includekvtags {
2935 my_size += 1 + 1;
2936 }
2937 if let Some(v) = self.includevotes {
2938 my_size += 1 + 1;
2939 }
2940 if let Some(v) = self.short_description {
2941 my_size += 1 + 1;
2942 }
2943 if let Some(v) = self.includeforsaledata {
2944 my_size += 1 + 1;
2945 }
2946 if let Some(v) = self.includemetadata {
2947 my_size += 1 + 1;
2948 }
2949 if let Some(v) = self.language {
2950 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(12, v);
2951 }
2952 if let Some(v) = self.return_playtime_stats {
2953 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(13, v);
2954 }
2955 if let Some(v) = self.appid {
2956 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(14, v);
2957 }
2958 if let Some(v) = self.strip_description_bbcode {
2959 my_size += 1 + 1;
2960 }
2961 if let Some(v) = self.desired_revision {
2962 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(16, v.value());
2963 }
2964 if let Some(v) = self.includereactions {
2965 my_size += 2 + 1;
2966 }
2967 if let Some(v) = self.admin_query {
2968 my_size += 2 + 1;
2969 }
2970 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
2971 self.special_fields.cached_size().set(my_size as u32);
2972 my_size
2973 }
2974
2975 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
2976 for v in &self.publishedfileids {
2977 os.write_fixed64(1, *v)?;
2978 };
2979 if let Some(v) = self.includetags {
2980 os.write_bool(2, v)?;
2981 }
2982 if let Some(v) = self.includeadditionalpreviews {
2983 os.write_bool(3, v)?;
2984 }
2985 if let Some(v) = self.includechildren {
2986 os.write_bool(4, v)?;
2987 }
2988 if let Some(v) = self.includekvtags {
2989 os.write_bool(5, v)?;
2990 }
2991 if let Some(v) = self.includevotes {
2992 os.write_bool(6, v)?;
2993 }
2994 if let Some(v) = self.short_description {
2995 os.write_bool(8, v)?;
2996 }
2997 if let Some(v) = self.includeforsaledata {
2998 os.write_bool(10, v)?;
2999 }
3000 if let Some(v) = self.includemetadata {
3001 os.write_bool(11, v)?;
3002 }
3003 if let Some(v) = self.language {
3004 os.write_int32(12, v)?;
3005 }
3006 if let Some(v) = self.return_playtime_stats {
3007 os.write_uint32(13, v)?;
3008 }
3009 if let Some(v) = self.appid {
3010 os.write_uint32(14, v)?;
3011 }
3012 if let Some(v) = self.strip_description_bbcode {
3013 os.write_bool(15, v)?;
3014 }
3015 if let Some(v) = self.desired_revision {
3016 os.write_enum(16, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
3017 }
3018 if let Some(v) = self.includereactions {
3019 os.write_bool(17, v)?;
3020 }
3021 if let Some(v) = self.admin_query {
3022 os.write_bool(18, v)?;
3023 }
3024 os.write_unknown_fields(self.special_fields.unknown_fields())?;
3025 ::std::result::Result::Ok(())
3026 }
3027
3028 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
3029 &self.special_fields
3030 }
3031
3032 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
3033 &mut self.special_fields
3034 }
3035
3036 fn new() -> CPublishedFile_GetDetails_Request {
3037 CPublishedFile_GetDetails_Request::new()
3038 }
3039
3040 fn clear(&mut self) {
3041 self.publishedfileids.clear();
3042 self.includetags = ::std::option::Option::None;
3043 self.includeadditionalpreviews = ::std::option::Option::None;
3044 self.includechildren = ::std::option::Option::None;
3045 self.includekvtags = ::std::option::Option::None;
3046 self.includevotes = ::std::option::Option::None;
3047 self.short_description = ::std::option::Option::None;
3048 self.includeforsaledata = ::std::option::Option::None;
3049 self.includemetadata = ::std::option::Option::None;
3050 self.language = ::std::option::Option::None;
3051 self.return_playtime_stats = ::std::option::Option::None;
3052 self.appid = ::std::option::Option::None;
3053 self.strip_description_bbcode = ::std::option::Option::None;
3054 self.desired_revision = ::std::option::Option::None;
3055 self.includereactions = ::std::option::Option::None;
3056 self.admin_query = ::std::option::Option::None;
3057 self.special_fields.clear();
3058 }
3059
3060 fn default_instance() -> &'static CPublishedFile_GetDetails_Request {
3061 static instance: CPublishedFile_GetDetails_Request = CPublishedFile_GetDetails_Request {
3062 publishedfileids: ::std::vec::Vec::new(),
3063 includetags: ::std::option::Option::None,
3064 includeadditionalpreviews: ::std::option::Option::None,
3065 includechildren: ::std::option::Option::None,
3066 includekvtags: ::std::option::Option::None,
3067 includevotes: ::std::option::Option::None,
3068 short_description: ::std::option::Option::None,
3069 includeforsaledata: ::std::option::Option::None,
3070 includemetadata: ::std::option::Option::None,
3071 language: ::std::option::Option::None,
3072 return_playtime_stats: ::std::option::Option::None,
3073 appid: ::std::option::Option::None,
3074 strip_description_bbcode: ::std::option::Option::None,
3075 desired_revision: ::std::option::Option::None,
3076 includereactions: ::std::option::Option::None,
3077 admin_query: ::std::option::Option::None,
3078 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
3079 };
3080 &instance
3081 }
3082}
3083
3084#[derive(PartialEq,Clone,Default,Debug)]
3086pub struct PublishedFileAuthorSnapshot {
3087 pub timestamp: ::std::option::Option<u32>,
3090 pub game_branch_min: ::std::option::Option<::std::string::String>,
3092 pub game_branch_max: ::std::option::Option<::std::string::String>,
3094 pub manifestid: ::std::option::Option<u64>,
3096 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
3099}
3100
3101impl<'a> ::std::default::Default for &'a PublishedFileAuthorSnapshot {
3102 fn default() -> &'a PublishedFileAuthorSnapshot {
3103 <PublishedFileAuthorSnapshot as ::steam_vent_proto_common::protobuf::Message>::default_instance()
3104 }
3105}
3106
3107impl PublishedFileAuthorSnapshot {
3108 pub fn new() -> PublishedFileAuthorSnapshot {
3109 ::std::default::Default::default()
3110 }
3111
3112 pub fn timestamp(&self) -> u32 {
3115 self.timestamp.unwrap_or(0)
3116 }
3117
3118 pub fn clear_timestamp(&mut self) {
3119 self.timestamp = ::std::option::Option::None;
3120 }
3121
3122 pub fn has_timestamp(&self) -> bool {
3123 self.timestamp.is_some()
3124 }
3125
3126 pub fn set_timestamp(&mut self, v: u32) {
3128 self.timestamp = ::std::option::Option::Some(v);
3129 }
3130
3131 pub fn game_branch_min(&self) -> &str {
3134 match self.game_branch_min.as_ref() {
3135 Some(v) => v,
3136 None => "",
3137 }
3138 }
3139
3140 pub fn clear_game_branch_min(&mut self) {
3141 self.game_branch_min = ::std::option::Option::None;
3142 }
3143
3144 pub fn has_game_branch_min(&self) -> bool {
3145 self.game_branch_min.is_some()
3146 }
3147
3148 pub fn set_game_branch_min(&mut self, v: ::std::string::String) {
3150 self.game_branch_min = ::std::option::Option::Some(v);
3151 }
3152
3153 pub fn mut_game_branch_min(&mut self) -> &mut ::std::string::String {
3156 if self.game_branch_min.is_none() {
3157 self.game_branch_min = ::std::option::Option::Some(::std::string::String::new());
3158 }
3159 self.game_branch_min.as_mut().unwrap()
3160 }
3161
3162 pub fn take_game_branch_min(&mut self) -> ::std::string::String {
3164 self.game_branch_min.take().unwrap_or_else(|| ::std::string::String::new())
3165 }
3166
3167 pub fn game_branch_max(&self) -> &str {
3170 match self.game_branch_max.as_ref() {
3171 Some(v) => v,
3172 None => "",
3173 }
3174 }
3175
3176 pub fn clear_game_branch_max(&mut self) {
3177 self.game_branch_max = ::std::option::Option::None;
3178 }
3179
3180 pub fn has_game_branch_max(&self) -> bool {
3181 self.game_branch_max.is_some()
3182 }
3183
3184 pub fn set_game_branch_max(&mut self, v: ::std::string::String) {
3186 self.game_branch_max = ::std::option::Option::Some(v);
3187 }
3188
3189 pub fn mut_game_branch_max(&mut self) -> &mut ::std::string::String {
3192 if self.game_branch_max.is_none() {
3193 self.game_branch_max = ::std::option::Option::Some(::std::string::String::new());
3194 }
3195 self.game_branch_max.as_mut().unwrap()
3196 }
3197
3198 pub fn take_game_branch_max(&mut self) -> ::std::string::String {
3200 self.game_branch_max.take().unwrap_or_else(|| ::std::string::String::new())
3201 }
3202
3203 pub fn manifestid(&self) -> u64 {
3206 self.manifestid.unwrap_or(0)
3207 }
3208
3209 pub fn clear_manifestid(&mut self) {
3210 self.manifestid = ::std::option::Option::None;
3211 }
3212
3213 pub fn has_manifestid(&self) -> bool {
3214 self.manifestid.is_some()
3215 }
3216
3217 pub fn set_manifestid(&mut self, v: u64) {
3219 self.manifestid = ::std::option::Option::Some(v);
3220 }
3221}
3222
3223impl ::steam_vent_proto_common::protobuf::Message for PublishedFileAuthorSnapshot {
3224 const NAME: &'static str = "PublishedFileAuthorSnapshot";
3225
3226 fn is_initialized(&self) -> bool {
3227 true
3228 }
3229
3230 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3231 while let Some(tag) = is.read_raw_tag_or_eof()? {
3232 match tag {
3233 8 => {
3234 self.timestamp = ::std::option::Option::Some(is.read_uint32()?);
3235 },
3236 18 => {
3237 self.game_branch_min = ::std::option::Option::Some(is.read_string()?);
3238 },
3239 26 => {
3240 self.game_branch_max = ::std::option::Option::Some(is.read_string()?);
3241 },
3242 33 => {
3243 self.manifestid = ::std::option::Option::Some(is.read_fixed64()?);
3244 },
3245 tag => {
3246 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
3247 },
3248 };
3249 }
3250 ::std::result::Result::Ok(())
3251 }
3252
3253 #[allow(unused_variables)]
3255 fn compute_size(&self) -> u64 {
3256 let mut my_size = 0;
3257 if let Some(v) = self.timestamp {
3258 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
3259 }
3260 if let Some(v) = self.game_branch_min.as_ref() {
3261 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
3262 }
3263 if let Some(v) = self.game_branch_max.as_ref() {
3264 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
3265 }
3266 if let Some(v) = self.manifestid {
3267 my_size += 1 + 8;
3268 }
3269 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
3270 self.special_fields.cached_size().set(my_size as u32);
3271 my_size
3272 }
3273
3274 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
3275 if let Some(v) = self.timestamp {
3276 os.write_uint32(1, v)?;
3277 }
3278 if let Some(v) = self.game_branch_min.as_ref() {
3279 os.write_string(2, v)?;
3280 }
3281 if let Some(v) = self.game_branch_max.as_ref() {
3282 os.write_string(3, v)?;
3283 }
3284 if let Some(v) = self.manifestid {
3285 os.write_fixed64(4, v)?;
3286 }
3287 os.write_unknown_fields(self.special_fields.unknown_fields())?;
3288 ::std::result::Result::Ok(())
3289 }
3290
3291 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
3292 &self.special_fields
3293 }
3294
3295 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
3296 &mut self.special_fields
3297 }
3298
3299 fn new() -> PublishedFileAuthorSnapshot {
3300 PublishedFileAuthorSnapshot::new()
3301 }
3302
3303 fn clear(&mut self) {
3304 self.timestamp = ::std::option::Option::None;
3305 self.game_branch_min = ::std::option::Option::None;
3306 self.game_branch_max = ::std::option::Option::None;
3307 self.manifestid = ::std::option::Option::None;
3308 self.special_fields.clear();
3309 }
3310
3311 fn default_instance() -> &'static PublishedFileAuthorSnapshot {
3312 static instance: PublishedFileAuthorSnapshot = PublishedFileAuthorSnapshot {
3313 timestamp: ::std::option::Option::None,
3314 game_branch_min: ::std::option::Option::None,
3315 game_branch_max: ::std::option::Option::None,
3316 manifestid: ::std::option::Option::None,
3317 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
3318 };
3319 &instance
3320 }
3321}
3322
3323#[derive(PartialEq,Clone,Default,Debug)]
3325pub struct PublishedFileDetails {
3326 pub result: ::std::option::Option<u32>,
3329 pub publishedfileid: ::std::option::Option<u64>,
3331 pub creator: ::std::option::Option<u64>,
3333 pub creator_appid: ::std::option::Option<u32>,
3335 pub consumer_appid: ::std::option::Option<u32>,
3337 pub consumer_shortcutid: ::std::option::Option<u32>,
3339 pub filename: ::std::option::Option<::std::string::String>,
3341 pub file_size: ::std::option::Option<u64>,
3343 pub preview_file_size: ::std::option::Option<u64>,
3345 pub file_url: ::std::option::Option<::std::string::String>,
3347 pub preview_url: ::std::option::Option<::std::string::String>,
3349 pub youtubevideoid: ::std::option::Option<::std::string::String>,
3351 pub url: ::std::option::Option<::std::string::String>,
3353 pub hcontent_file: ::std::option::Option<u64>,
3355 pub hcontent_preview: ::std::option::Option<u64>,
3357 pub title: ::std::option::Option<::std::string::String>,
3359 pub file_description: ::std::option::Option<::std::string::String>,
3361 pub short_description: ::std::option::Option<::std::string::String>,
3363 pub time_created: ::std::option::Option<u32>,
3365 pub time_updated: ::std::option::Option<u32>,
3367 pub visibility: ::std::option::Option<u32>,
3369 pub flags: ::std::option::Option<u32>,
3371 pub workshop_file: ::std::option::Option<bool>,
3373 pub workshop_accepted: ::std::option::Option<bool>,
3375 pub show_subscribe_all: ::std::option::Option<bool>,
3377 pub num_comments_developer: ::std::option::Option<i32>,
3379 pub num_comments_public: ::std::option::Option<i32>,
3381 pub banned: ::std::option::Option<bool>,
3383 pub ban_reason: ::std::option::Option<::std::string::String>,
3385 pub banner: ::std::option::Option<u64>,
3387 pub can_be_deleted: ::std::option::Option<bool>,
3389 pub incompatible: ::std::option::Option<bool>,
3391 pub app_name: ::std::option::Option<::std::string::String>,
3393 pub file_type: ::std::option::Option<u32>,
3395 pub can_subscribe: ::std::option::Option<bool>,
3397 pub subscriptions: ::std::option::Option<u32>,
3399 pub favorited: ::std::option::Option<u32>,
3401 pub followers: ::std::option::Option<u32>,
3403 pub lifetime_subscriptions: ::std::option::Option<u32>,
3405 pub lifetime_favorited: ::std::option::Option<u32>,
3407 pub lifetime_followers: ::std::option::Option<u32>,
3409 pub lifetime_playtime: ::std::option::Option<u64>,
3411 pub lifetime_playtime_sessions: ::std::option::Option<u64>,
3413 pub views: ::std::option::Option<u32>,
3415 pub image_width: ::std::option::Option<u32>,
3417 pub image_height: ::std::option::Option<u32>,
3419 pub image_url: ::std::option::Option<::std::string::String>,
3421 pub spoiler_tag: ::std::option::Option<bool>,
3423 pub shortcutid: ::std::option::Option<u32>,
3425 pub shortcutname: ::std::option::Option<::std::string::String>,
3427 pub num_children: ::std::option::Option<u32>,
3429 pub num_reports: ::std::option::Option<u32>,
3431 pub previews: ::std::vec::Vec<published_file_details::Preview>,
3433 pub tags: ::std::vec::Vec<published_file_details::Tag>,
3435 pub children: ::std::vec::Vec<published_file_details::Child>,
3437 pub kvtags: ::std::vec::Vec<published_file_details::KVTag>,
3439 pub vote_data: ::steam_vent_proto_common::protobuf::MessageField<published_file_details::VoteData>,
3441 pub playtime_stats: ::steam_vent_proto_common::protobuf::MessageField<published_file_details::PlaytimeStats>,
3443 pub time_subscribed: ::std::option::Option<u32>,
3445 pub for_sale_data: ::steam_vent_proto_common::protobuf::MessageField<published_file_details::ForSaleData>,
3447 pub metadata: ::std::option::Option<::std::string::String>,
3449 pub language: ::std::option::Option<i32>,
3451 pub maybe_inappropriate_sex: ::std::option::Option<bool>,
3453 pub maybe_inappropriate_violence: ::std::option::Option<bool>,
3455 pub content_descriptorids: ::std::vec::Vec<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::enums_productinfo::EContentDescriptorID>>,
3457 pub revision_change_number: ::std::option::Option<u64>,
3459 pub revision: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EPublishedFileRevision>>,
3461 pub available_revisions: ::std::vec::Vec<::steam_vent_proto_common::protobuf::EnumOrUnknown<EPublishedFileRevision>>,
3463 pub reactions: ::std::vec::Vec<published_file_details::Reaction>,
3465 pub ban_text_check_result: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::steammessages_base::EBanContentCheckResult>>,
3467 pub search_score: ::std::option::Option<f32>,
3469 pub external_asset_id: ::std::option::Option<u64>,
3471 pub author_snapshots: ::std::vec::Vec<PublishedFileAuthorSnapshot>,
3473 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
3476}
3477
3478impl<'a> ::std::default::Default for &'a PublishedFileDetails {
3479 fn default() -> &'a PublishedFileDetails {
3480 <PublishedFileDetails as ::steam_vent_proto_common::protobuf::Message>::default_instance()
3481 }
3482}
3483
3484impl PublishedFileDetails {
3485 pub fn new() -> PublishedFileDetails {
3486 ::std::default::Default::default()
3487 }
3488
3489 pub fn result(&self) -> u32 {
3492 self.result.unwrap_or(0)
3493 }
3494
3495 pub fn clear_result(&mut self) {
3496 self.result = ::std::option::Option::None;
3497 }
3498
3499 pub fn has_result(&self) -> bool {
3500 self.result.is_some()
3501 }
3502
3503 pub fn set_result(&mut self, v: u32) {
3505 self.result = ::std::option::Option::Some(v);
3506 }
3507
3508 pub fn publishedfileid(&self) -> u64 {
3511 self.publishedfileid.unwrap_or(0)
3512 }
3513
3514 pub fn clear_publishedfileid(&mut self) {
3515 self.publishedfileid = ::std::option::Option::None;
3516 }
3517
3518 pub fn has_publishedfileid(&self) -> bool {
3519 self.publishedfileid.is_some()
3520 }
3521
3522 pub fn set_publishedfileid(&mut self, v: u64) {
3524 self.publishedfileid = ::std::option::Option::Some(v);
3525 }
3526
3527 pub fn creator(&self) -> u64 {
3530 self.creator.unwrap_or(0)
3531 }
3532
3533 pub fn clear_creator(&mut self) {
3534 self.creator = ::std::option::Option::None;
3535 }
3536
3537 pub fn has_creator(&self) -> bool {
3538 self.creator.is_some()
3539 }
3540
3541 pub fn set_creator(&mut self, v: u64) {
3543 self.creator = ::std::option::Option::Some(v);
3544 }
3545
3546 pub fn creator_appid(&self) -> u32 {
3549 self.creator_appid.unwrap_or(0)
3550 }
3551
3552 pub fn clear_creator_appid(&mut self) {
3553 self.creator_appid = ::std::option::Option::None;
3554 }
3555
3556 pub fn has_creator_appid(&self) -> bool {
3557 self.creator_appid.is_some()
3558 }
3559
3560 pub fn set_creator_appid(&mut self, v: u32) {
3562 self.creator_appid = ::std::option::Option::Some(v);
3563 }
3564
3565 pub fn consumer_appid(&self) -> u32 {
3568 self.consumer_appid.unwrap_or(0)
3569 }
3570
3571 pub fn clear_consumer_appid(&mut self) {
3572 self.consumer_appid = ::std::option::Option::None;
3573 }
3574
3575 pub fn has_consumer_appid(&self) -> bool {
3576 self.consumer_appid.is_some()
3577 }
3578
3579 pub fn set_consumer_appid(&mut self, v: u32) {
3581 self.consumer_appid = ::std::option::Option::Some(v);
3582 }
3583
3584 pub fn consumer_shortcutid(&self) -> u32 {
3587 self.consumer_shortcutid.unwrap_or(0)
3588 }
3589
3590 pub fn clear_consumer_shortcutid(&mut self) {
3591 self.consumer_shortcutid = ::std::option::Option::None;
3592 }
3593
3594 pub fn has_consumer_shortcutid(&self) -> bool {
3595 self.consumer_shortcutid.is_some()
3596 }
3597
3598 pub fn set_consumer_shortcutid(&mut self, v: u32) {
3600 self.consumer_shortcutid = ::std::option::Option::Some(v);
3601 }
3602
3603 pub fn filename(&self) -> &str {
3606 match self.filename.as_ref() {
3607 Some(v) => v,
3608 None => "",
3609 }
3610 }
3611
3612 pub fn clear_filename(&mut self) {
3613 self.filename = ::std::option::Option::None;
3614 }
3615
3616 pub fn has_filename(&self) -> bool {
3617 self.filename.is_some()
3618 }
3619
3620 pub fn set_filename(&mut self, v: ::std::string::String) {
3622 self.filename = ::std::option::Option::Some(v);
3623 }
3624
3625 pub fn mut_filename(&mut self) -> &mut ::std::string::String {
3628 if self.filename.is_none() {
3629 self.filename = ::std::option::Option::Some(::std::string::String::new());
3630 }
3631 self.filename.as_mut().unwrap()
3632 }
3633
3634 pub fn take_filename(&mut self) -> ::std::string::String {
3636 self.filename.take().unwrap_or_else(|| ::std::string::String::new())
3637 }
3638
3639 pub fn file_size(&self) -> u64 {
3642 self.file_size.unwrap_or(0)
3643 }
3644
3645 pub fn clear_file_size(&mut self) {
3646 self.file_size = ::std::option::Option::None;
3647 }
3648
3649 pub fn has_file_size(&self) -> bool {
3650 self.file_size.is_some()
3651 }
3652
3653 pub fn set_file_size(&mut self, v: u64) {
3655 self.file_size = ::std::option::Option::Some(v);
3656 }
3657
3658 pub fn preview_file_size(&self) -> u64 {
3661 self.preview_file_size.unwrap_or(0)
3662 }
3663
3664 pub fn clear_preview_file_size(&mut self) {
3665 self.preview_file_size = ::std::option::Option::None;
3666 }
3667
3668 pub fn has_preview_file_size(&self) -> bool {
3669 self.preview_file_size.is_some()
3670 }
3671
3672 pub fn set_preview_file_size(&mut self, v: u64) {
3674 self.preview_file_size = ::std::option::Option::Some(v);
3675 }
3676
3677 pub fn file_url(&self) -> &str {
3680 match self.file_url.as_ref() {
3681 Some(v) => v,
3682 None => "",
3683 }
3684 }
3685
3686 pub fn clear_file_url(&mut self) {
3687 self.file_url = ::std::option::Option::None;
3688 }
3689
3690 pub fn has_file_url(&self) -> bool {
3691 self.file_url.is_some()
3692 }
3693
3694 pub fn set_file_url(&mut self, v: ::std::string::String) {
3696 self.file_url = ::std::option::Option::Some(v);
3697 }
3698
3699 pub fn mut_file_url(&mut self) -> &mut ::std::string::String {
3702 if self.file_url.is_none() {
3703 self.file_url = ::std::option::Option::Some(::std::string::String::new());
3704 }
3705 self.file_url.as_mut().unwrap()
3706 }
3707
3708 pub fn take_file_url(&mut self) -> ::std::string::String {
3710 self.file_url.take().unwrap_or_else(|| ::std::string::String::new())
3711 }
3712
3713 pub fn preview_url(&self) -> &str {
3716 match self.preview_url.as_ref() {
3717 Some(v) => v,
3718 None => "",
3719 }
3720 }
3721
3722 pub fn clear_preview_url(&mut self) {
3723 self.preview_url = ::std::option::Option::None;
3724 }
3725
3726 pub fn has_preview_url(&self) -> bool {
3727 self.preview_url.is_some()
3728 }
3729
3730 pub fn set_preview_url(&mut self, v: ::std::string::String) {
3732 self.preview_url = ::std::option::Option::Some(v);
3733 }
3734
3735 pub fn mut_preview_url(&mut self) -> &mut ::std::string::String {
3738 if self.preview_url.is_none() {
3739 self.preview_url = ::std::option::Option::Some(::std::string::String::new());
3740 }
3741 self.preview_url.as_mut().unwrap()
3742 }
3743
3744 pub fn take_preview_url(&mut self) -> ::std::string::String {
3746 self.preview_url.take().unwrap_or_else(|| ::std::string::String::new())
3747 }
3748
3749 pub fn youtubevideoid(&self) -> &str {
3752 match self.youtubevideoid.as_ref() {
3753 Some(v) => v,
3754 None => "",
3755 }
3756 }
3757
3758 pub fn clear_youtubevideoid(&mut self) {
3759 self.youtubevideoid = ::std::option::Option::None;
3760 }
3761
3762 pub fn has_youtubevideoid(&self) -> bool {
3763 self.youtubevideoid.is_some()
3764 }
3765
3766 pub fn set_youtubevideoid(&mut self, v: ::std::string::String) {
3768 self.youtubevideoid = ::std::option::Option::Some(v);
3769 }
3770
3771 pub fn mut_youtubevideoid(&mut self) -> &mut ::std::string::String {
3774 if self.youtubevideoid.is_none() {
3775 self.youtubevideoid = ::std::option::Option::Some(::std::string::String::new());
3776 }
3777 self.youtubevideoid.as_mut().unwrap()
3778 }
3779
3780 pub fn take_youtubevideoid(&mut self) -> ::std::string::String {
3782 self.youtubevideoid.take().unwrap_or_else(|| ::std::string::String::new())
3783 }
3784
3785 pub fn url(&self) -> &str {
3788 match self.url.as_ref() {
3789 Some(v) => v,
3790 None => "",
3791 }
3792 }
3793
3794 pub fn clear_url(&mut self) {
3795 self.url = ::std::option::Option::None;
3796 }
3797
3798 pub fn has_url(&self) -> bool {
3799 self.url.is_some()
3800 }
3801
3802 pub fn set_url(&mut self, v: ::std::string::String) {
3804 self.url = ::std::option::Option::Some(v);
3805 }
3806
3807 pub fn mut_url(&mut self) -> &mut ::std::string::String {
3810 if self.url.is_none() {
3811 self.url = ::std::option::Option::Some(::std::string::String::new());
3812 }
3813 self.url.as_mut().unwrap()
3814 }
3815
3816 pub fn take_url(&mut self) -> ::std::string::String {
3818 self.url.take().unwrap_or_else(|| ::std::string::String::new())
3819 }
3820
3821 pub fn hcontent_file(&self) -> u64 {
3824 self.hcontent_file.unwrap_or(0)
3825 }
3826
3827 pub fn clear_hcontent_file(&mut self) {
3828 self.hcontent_file = ::std::option::Option::None;
3829 }
3830
3831 pub fn has_hcontent_file(&self) -> bool {
3832 self.hcontent_file.is_some()
3833 }
3834
3835 pub fn set_hcontent_file(&mut self, v: u64) {
3837 self.hcontent_file = ::std::option::Option::Some(v);
3838 }
3839
3840 pub fn hcontent_preview(&self) -> u64 {
3843 self.hcontent_preview.unwrap_or(0)
3844 }
3845
3846 pub fn clear_hcontent_preview(&mut self) {
3847 self.hcontent_preview = ::std::option::Option::None;
3848 }
3849
3850 pub fn has_hcontent_preview(&self) -> bool {
3851 self.hcontent_preview.is_some()
3852 }
3853
3854 pub fn set_hcontent_preview(&mut self, v: u64) {
3856 self.hcontent_preview = ::std::option::Option::Some(v);
3857 }
3858
3859 pub fn title(&self) -> &str {
3862 match self.title.as_ref() {
3863 Some(v) => v,
3864 None => "",
3865 }
3866 }
3867
3868 pub fn clear_title(&mut self) {
3869 self.title = ::std::option::Option::None;
3870 }
3871
3872 pub fn has_title(&self) -> bool {
3873 self.title.is_some()
3874 }
3875
3876 pub fn set_title(&mut self, v: ::std::string::String) {
3878 self.title = ::std::option::Option::Some(v);
3879 }
3880
3881 pub fn mut_title(&mut self) -> &mut ::std::string::String {
3884 if self.title.is_none() {
3885 self.title = ::std::option::Option::Some(::std::string::String::new());
3886 }
3887 self.title.as_mut().unwrap()
3888 }
3889
3890 pub fn take_title(&mut self) -> ::std::string::String {
3892 self.title.take().unwrap_or_else(|| ::std::string::String::new())
3893 }
3894
3895 pub fn file_description(&self) -> &str {
3898 match self.file_description.as_ref() {
3899 Some(v) => v,
3900 None => "",
3901 }
3902 }
3903
3904 pub fn clear_file_description(&mut self) {
3905 self.file_description = ::std::option::Option::None;
3906 }
3907
3908 pub fn has_file_description(&self) -> bool {
3909 self.file_description.is_some()
3910 }
3911
3912 pub fn set_file_description(&mut self, v: ::std::string::String) {
3914 self.file_description = ::std::option::Option::Some(v);
3915 }
3916
3917 pub fn mut_file_description(&mut self) -> &mut ::std::string::String {
3920 if self.file_description.is_none() {
3921 self.file_description = ::std::option::Option::Some(::std::string::String::new());
3922 }
3923 self.file_description.as_mut().unwrap()
3924 }
3925
3926 pub fn take_file_description(&mut self) -> ::std::string::String {
3928 self.file_description.take().unwrap_or_else(|| ::std::string::String::new())
3929 }
3930
3931 pub fn short_description(&self) -> &str {
3934 match self.short_description.as_ref() {
3935 Some(v) => v,
3936 None => "",
3937 }
3938 }
3939
3940 pub fn clear_short_description(&mut self) {
3941 self.short_description = ::std::option::Option::None;
3942 }
3943
3944 pub fn has_short_description(&self) -> bool {
3945 self.short_description.is_some()
3946 }
3947
3948 pub fn set_short_description(&mut self, v: ::std::string::String) {
3950 self.short_description = ::std::option::Option::Some(v);
3951 }
3952
3953 pub fn mut_short_description(&mut self) -> &mut ::std::string::String {
3956 if self.short_description.is_none() {
3957 self.short_description = ::std::option::Option::Some(::std::string::String::new());
3958 }
3959 self.short_description.as_mut().unwrap()
3960 }
3961
3962 pub fn take_short_description(&mut self) -> ::std::string::String {
3964 self.short_description.take().unwrap_or_else(|| ::std::string::String::new())
3965 }
3966
3967 pub fn time_created(&self) -> u32 {
3970 self.time_created.unwrap_or(0)
3971 }
3972
3973 pub fn clear_time_created(&mut self) {
3974 self.time_created = ::std::option::Option::None;
3975 }
3976
3977 pub fn has_time_created(&self) -> bool {
3978 self.time_created.is_some()
3979 }
3980
3981 pub fn set_time_created(&mut self, v: u32) {
3983 self.time_created = ::std::option::Option::Some(v);
3984 }
3985
3986 pub fn time_updated(&self) -> u32 {
3989 self.time_updated.unwrap_or(0)
3990 }
3991
3992 pub fn clear_time_updated(&mut self) {
3993 self.time_updated = ::std::option::Option::None;
3994 }
3995
3996 pub fn has_time_updated(&self) -> bool {
3997 self.time_updated.is_some()
3998 }
3999
4000 pub fn set_time_updated(&mut self, v: u32) {
4002 self.time_updated = ::std::option::Option::Some(v);
4003 }
4004
4005 pub fn visibility(&self) -> u32 {
4008 self.visibility.unwrap_or(0)
4009 }
4010
4011 pub fn clear_visibility(&mut self) {
4012 self.visibility = ::std::option::Option::None;
4013 }
4014
4015 pub fn has_visibility(&self) -> bool {
4016 self.visibility.is_some()
4017 }
4018
4019 pub fn set_visibility(&mut self, v: u32) {
4021 self.visibility = ::std::option::Option::Some(v);
4022 }
4023
4024 pub fn flags(&self) -> u32 {
4027 self.flags.unwrap_or(0)
4028 }
4029
4030 pub fn clear_flags(&mut self) {
4031 self.flags = ::std::option::Option::None;
4032 }
4033
4034 pub fn has_flags(&self) -> bool {
4035 self.flags.is_some()
4036 }
4037
4038 pub fn set_flags(&mut self, v: u32) {
4040 self.flags = ::std::option::Option::Some(v);
4041 }
4042
4043 pub fn workshop_file(&self) -> bool {
4046 self.workshop_file.unwrap_or(false)
4047 }
4048
4049 pub fn clear_workshop_file(&mut self) {
4050 self.workshop_file = ::std::option::Option::None;
4051 }
4052
4053 pub fn has_workshop_file(&self) -> bool {
4054 self.workshop_file.is_some()
4055 }
4056
4057 pub fn set_workshop_file(&mut self, v: bool) {
4059 self.workshop_file = ::std::option::Option::Some(v);
4060 }
4061
4062 pub fn workshop_accepted(&self) -> bool {
4065 self.workshop_accepted.unwrap_or(false)
4066 }
4067
4068 pub fn clear_workshop_accepted(&mut self) {
4069 self.workshop_accepted = ::std::option::Option::None;
4070 }
4071
4072 pub fn has_workshop_accepted(&self) -> bool {
4073 self.workshop_accepted.is_some()
4074 }
4075
4076 pub fn set_workshop_accepted(&mut self, v: bool) {
4078 self.workshop_accepted = ::std::option::Option::Some(v);
4079 }
4080
4081 pub fn show_subscribe_all(&self) -> bool {
4084 self.show_subscribe_all.unwrap_or(false)
4085 }
4086
4087 pub fn clear_show_subscribe_all(&mut self) {
4088 self.show_subscribe_all = ::std::option::Option::None;
4089 }
4090
4091 pub fn has_show_subscribe_all(&self) -> bool {
4092 self.show_subscribe_all.is_some()
4093 }
4094
4095 pub fn set_show_subscribe_all(&mut self, v: bool) {
4097 self.show_subscribe_all = ::std::option::Option::Some(v);
4098 }
4099
4100 pub fn num_comments_developer(&self) -> i32 {
4103 self.num_comments_developer.unwrap_or(0)
4104 }
4105
4106 pub fn clear_num_comments_developer(&mut self) {
4107 self.num_comments_developer = ::std::option::Option::None;
4108 }
4109
4110 pub fn has_num_comments_developer(&self) -> bool {
4111 self.num_comments_developer.is_some()
4112 }
4113
4114 pub fn set_num_comments_developer(&mut self, v: i32) {
4116 self.num_comments_developer = ::std::option::Option::Some(v);
4117 }
4118
4119 pub fn num_comments_public(&self) -> i32 {
4122 self.num_comments_public.unwrap_or(0)
4123 }
4124
4125 pub fn clear_num_comments_public(&mut self) {
4126 self.num_comments_public = ::std::option::Option::None;
4127 }
4128
4129 pub fn has_num_comments_public(&self) -> bool {
4130 self.num_comments_public.is_some()
4131 }
4132
4133 pub fn set_num_comments_public(&mut self, v: i32) {
4135 self.num_comments_public = ::std::option::Option::Some(v);
4136 }
4137
4138 pub fn banned(&self) -> bool {
4141 self.banned.unwrap_or(false)
4142 }
4143
4144 pub fn clear_banned(&mut self) {
4145 self.banned = ::std::option::Option::None;
4146 }
4147
4148 pub fn has_banned(&self) -> bool {
4149 self.banned.is_some()
4150 }
4151
4152 pub fn set_banned(&mut self, v: bool) {
4154 self.banned = ::std::option::Option::Some(v);
4155 }
4156
4157 pub fn ban_reason(&self) -> &str {
4160 match self.ban_reason.as_ref() {
4161 Some(v) => v,
4162 None => "",
4163 }
4164 }
4165
4166 pub fn clear_ban_reason(&mut self) {
4167 self.ban_reason = ::std::option::Option::None;
4168 }
4169
4170 pub fn has_ban_reason(&self) -> bool {
4171 self.ban_reason.is_some()
4172 }
4173
4174 pub fn set_ban_reason(&mut self, v: ::std::string::String) {
4176 self.ban_reason = ::std::option::Option::Some(v);
4177 }
4178
4179 pub fn mut_ban_reason(&mut self) -> &mut ::std::string::String {
4182 if self.ban_reason.is_none() {
4183 self.ban_reason = ::std::option::Option::Some(::std::string::String::new());
4184 }
4185 self.ban_reason.as_mut().unwrap()
4186 }
4187
4188 pub fn take_ban_reason(&mut self) -> ::std::string::String {
4190 self.ban_reason.take().unwrap_or_else(|| ::std::string::String::new())
4191 }
4192
4193 pub fn banner(&self) -> u64 {
4196 self.banner.unwrap_or(0)
4197 }
4198
4199 pub fn clear_banner(&mut self) {
4200 self.banner = ::std::option::Option::None;
4201 }
4202
4203 pub fn has_banner(&self) -> bool {
4204 self.banner.is_some()
4205 }
4206
4207 pub fn set_banner(&mut self, v: u64) {
4209 self.banner = ::std::option::Option::Some(v);
4210 }
4211
4212 pub fn can_be_deleted(&self) -> bool {
4215 self.can_be_deleted.unwrap_or(false)
4216 }
4217
4218 pub fn clear_can_be_deleted(&mut self) {
4219 self.can_be_deleted = ::std::option::Option::None;
4220 }
4221
4222 pub fn has_can_be_deleted(&self) -> bool {
4223 self.can_be_deleted.is_some()
4224 }
4225
4226 pub fn set_can_be_deleted(&mut self, v: bool) {
4228 self.can_be_deleted = ::std::option::Option::Some(v);
4229 }
4230
4231 pub fn incompatible(&self) -> bool {
4234 self.incompatible.unwrap_or(false)
4235 }
4236
4237 pub fn clear_incompatible(&mut self) {
4238 self.incompatible = ::std::option::Option::None;
4239 }
4240
4241 pub fn has_incompatible(&self) -> bool {
4242 self.incompatible.is_some()
4243 }
4244
4245 pub fn set_incompatible(&mut self, v: bool) {
4247 self.incompatible = ::std::option::Option::Some(v);
4248 }
4249
4250 pub fn app_name(&self) -> &str {
4253 match self.app_name.as_ref() {
4254 Some(v) => v,
4255 None => "",
4256 }
4257 }
4258
4259 pub fn clear_app_name(&mut self) {
4260 self.app_name = ::std::option::Option::None;
4261 }
4262
4263 pub fn has_app_name(&self) -> bool {
4264 self.app_name.is_some()
4265 }
4266
4267 pub fn set_app_name(&mut self, v: ::std::string::String) {
4269 self.app_name = ::std::option::Option::Some(v);
4270 }
4271
4272 pub fn mut_app_name(&mut self) -> &mut ::std::string::String {
4275 if self.app_name.is_none() {
4276 self.app_name = ::std::option::Option::Some(::std::string::String::new());
4277 }
4278 self.app_name.as_mut().unwrap()
4279 }
4280
4281 pub fn take_app_name(&mut self) -> ::std::string::String {
4283 self.app_name.take().unwrap_or_else(|| ::std::string::String::new())
4284 }
4285
4286 pub fn file_type(&self) -> u32 {
4289 self.file_type.unwrap_or(0)
4290 }
4291
4292 pub fn clear_file_type(&mut self) {
4293 self.file_type = ::std::option::Option::None;
4294 }
4295
4296 pub fn has_file_type(&self) -> bool {
4297 self.file_type.is_some()
4298 }
4299
4300 pub fn set_file_type(&mut self, v: u32) {
4302 self.file_type = ::std::option::Option::Some(v);
4303 }
4304
4305 pub fn can_subscribe(&self) -> bool {
4308 self.can_subscribe.unwrap_or(false)
4309 }
4310
4311 pub fn clear_can_subscribe(&mut self) {
4312 self.can_subscribe = ::std::option::Option::None;
4313 }
4314
4315 pub fn has_can_subscribe(&self) -> bool {
4316 self.can_subscribe.is_some()
4317 }
4318
4319 pub fn set_can_subscribe(&mut self, v: bool) {
4321 self.can_subscribe = ::std::option::Option::Some(v);
4322 }
4323
4324 pub fn subscriptions(&self) -> u32 {
4327 self.subscriptions.unwrap_or(0)
4328 }
4329
4330 pub fn clear_subscriptions(&mut self) {
4331 self.subscriptions = ::std::option::Option::None;
4332 }
4333
4334 pub fn has_subscriptions(&self) -> bool {
4335 self.subscriptions.is_some()
4336 }
4337
4338 pub fn set_subscriptions(&mut self, v: u32) {
4340 self.subscriptions = ::std::option::Option::Some(v);
4341 }
4342
4343 pub fn favorited(&self) -> u32 {
4346 self.favorited.unwrap_or(0)
4347 }
4348
4349 pub fn clear_favorited(&mut self) {
4350 self.favorited = ::std::option::Option::None;
4351 }
4352
4353 pub fn has_favorited(&self) -> bool {
4354 self.favorited.is_some()
4355 }
4356
4357 pub fn set_favorited(&mut self, v: u32) {
4359 self.favorited = ::std::option::Option::Some(v);
4360 }
4361
4362 pub fn followers(&self) -> u32 {
4365 self.followers.unwrap_or(0)
4366 }
4367
4368 pub fn clear_followers(&mut self) {
4369 self.followers = ::std::option::Option::None;
4370 }
4371
4372 pub fn has_followers(&self) -> bool {
4373 self.followers.is_some()
4374 }
4375
4376 pub fn set_followers(&mut self, v: u32) {
4378 self.followers = ::std::option::Option::Some(v);
4379 }
4380
4381 pub fn lifetime_subscriptions(&self) -> u32 {
4384 self.lifetime_subscriptions.unwrap_or(0)
4385 }
4386
4387 pub fn clear_lifetime_subscriptions(&mut self) {
4388 self.lifetime_subscriptions = ::std::option::Option::None;
4389 }
4390
4391 pub fn has_lifetime_subscriptions(&self) -> bool {
4392 self.lifetime_subscriptions.is_some()
4393 }
4394
4395 pub fn set_lifetime_subscriptions(&mut self, v: u32) {
4397 self.lifetime_subscriptions = ::std::option::Option::Some(v);
4398 }
4399
4400 pub fn lifetime_favorited(&self) -> u32 {
4403 self.lifetime_favorited.unwrap_or(0)
4404 }
4405
4406 pub fn clear_lifetime_favorited(&mut self) {
4407 self.lifetime_favorited = ::std::option::Option::None;
4408 }
4409
4410 pub fn has_lifetime_favorited(&self) -> bool {
4411 self.lifetime_favorited.is_some()
4412 }
4413
4414 pub fn set_lifetime_favorited(&mut self, v: u32) {
4416 self.lifetime_favorited = ::std::option::Option::Some(v);
4417 }
4418
4419 pub fn lifetime_followers(&self) -> u32 {
4422 self.lifetime_followers.unwrap_or(0)
4423 }
4424
4425 pub fn clear_lifetime_followers(&mut self) {
4426 self.lifetime_followers = ::std::option::Option::None;
4427 }
4428
4429 pub fn has_lifetime_followers(&self) -> bool {
4430 self.lifetime_followers.is_some()
4431 }
4432
4433 pub fn set_lifetime_followers(&mut self, v: u32) {
4435 self.lifetime_followers = ::std::option::Option::Some(v);
4436 }
4437
4438 pub fn lifetime_playtime(&self) -> u64 {
4441 self.lifetime_playtime.unwrap_or(0)
4442 }
4443
4444 pub fn clear_lifetime_playtime(&mut self) {
4445 self.lifetime_playtime = ::std::option::Option::None;
4446 }
4447
4448 pub fn has_lifetime_playtime(&self) -> bool {
4449 self.lifetime_playtime.is_some()
4450 }
4451
4452 pub fn set_lifetime_playtime(&mut self, v: u64) {
4454 self.lifetime_playtime = ::std::option::Option::Some(v);
4455 }
4456
4457 pub fn lifetime_playtime_sessions(&self) -> u64 {
4460 self.lifetime_playtime_sessions.unwrap_or(0)
4461 }
4462
4463 pub fn clear_lifetime_playtime_sessions(&mut self) {
4464 self.lifetime_playtime_sessions = ::std::option::Option::None;
4465 }
4466
4467 pub fn has_lifetime_playtime_sessions(&self) -> bool {
4468 self.lifetime_playtime_sessions.is_some()
4469 }
4470
4471 pub fn set_lifetime_playtime_sessions(&mut self, v: u64) {
4473 self.lifetime_playtime_sessions = ::std::option::Option::Some(v);
4474 }
4475
4476 pub fn views(&self) -> u32 {
4479 self.views.unwrap_or(0)
4480 }
4481
4482 pub fn clear_views(&mut self) {
4483 self.views = ::std::option::Option::None;
4484 }
4485
4486 pub fn has_views(&self) -> bool {
4487 self.views.is_some()
4488 }
4489
4490 pub fn set_views(&mut self, v: u32) {
4492 self.views = ::std::option::Option::Some(v);
4493 }
4494
4495 pub fn image_width(&self) -> u32 {
4498 self.image_width.unwrap_or(0)
4499 }
4500
4501 pub fn clear_image_width(&mut self) {
4502 self.image_width = ::std::option::Option::None;
4503 }
4504
4505 pub fn has_image_width(&self) -> bool {
4506 self.image_width.is_some()
4507 }
4508
4509 pub fn set_image_width(&mut self, v: u32) {
4511 self.image_width = ::std::option::Option::Some(v);
4512 }
4513
4514 pub fn image_height(&self) -> u32 {
4517 self.image_height.unwrap_or(0)
4518 }
4519
4520 pub fn clear_image_height(&mut self) {
4521 self.image_height = ::std::option::Option::None;
4522 }
4523
4524 pub fn has_image_height(&self) -> bool {
4525 self.image_height.is_some()
4526 }
4527
4528 pub fn set_image_height(&mut self, v: u32) {
4530 self.image_height = ::std::option::Option::Some(v);
4531 }
4532
4533 pub fn image_url(&self) -> &str {
4536 match self.image_url.as_ref() {
4537 Some(v) => v,
4538 None => "",
4539 }
4540 }
4541
4542 pub fn clear_image_url(&mut self) {
4543 self.image_url = ::std::option::Option::None;
4544 }
4545
4546 pub fn has_image_url(&self) -> bool {
4547 self.image_url.is_some()
4548 }
4549
4550 pub fn set_image_url(&mut self, v: ::std::string::String) {
4552 self.image_url = ::std::option::Option::Some(v);
4553 }
4554
4555 pub fn mut_image_url(&mut self) -> &mut ::std::string::String {
4558 if self.image_url.is_none() {
4559 self.image_url = ::std::option::Option::Some(::std::string::String::new());
4560 }
4561 self.image_url.as_mut().unwrap()
4562 }
4563
4564 pub fn take_image_url(&mut self) -> ::std::string::String {
4566 self.image_url.take().unwrap_or_else(|| ::std::string::String::new())
4567 }
4568
4569 pub fn spoiler_tag(&self) -> bool {
4572 self.spoiler_tag.unwrap_or(false)
4573 }
4574
4575 pub fn clear_spoiler_tag(&mut self) {
4576 self.spoiler_tag = ::std::option::Option::None;
4577 }
4578
4579 pub fn has_spoiler_tag(&self) -> bool {
4580 self.spoiler_tag.is_some()
4581 }
4582
4583 pub fn set_spoiler_tag(&mut self, v: bool) {
4585 self.spoiler_tag = ::std::option::Option::Some(v);
4586 }
4587
4588 pub fn shortcutid(&self) -> u32 {
4591 self.shortcutid.unwrap_or(0)
4592 }
4593
4594 pub fn clear_shortcutid(&mut self) {
4595 self.shortcutid = ::std::option::Option::None;
4596 }
4597
4598 pub fn has_shortcutid(&self) -> bool {
4599 self.shortcutid.is_some()
4600 }
4601
4602 pub fn set_shortcutid(&mut self, v: u32) {
4604 self.shortcutid = ::std::option::Option::Some(v);
4605 }
4606
4607 pub fn shortcutname(&self) -> &str {
4610 match self.shortcutname.as_ref() {
4611 Some(v) => v,
4612 None => "",
4613 }
4614 }
4615
4616 pub fn clear_shortcutname(&mut self) {
4617 self.shortcutname = ::std::option::Option::None;
4618 }
4619
4620 pub fn has_shortcutname(&self) -> bool {
4621 self.shortcutname.is_some()
4622 }
4623
4624 pub fn set_shortcutname(&mut self, v: ::std::string::String) {
4626 self.shortcutname = ::std::option::Option::Some(v);
4627 }
4628
4629 pub fn mut_shortcutname(&mut self) -> &mut ::std::string::String {
4632 if self.shortcutname.is_none() {
4633 self.shortcutname = ::std::option::Option::Some(::std::string::String::new());
4634 }
4635 self.shortcutname.as_mut().unwrap()
4636 }
4637
4638 pub fn take_shortcutname(&mut self) -> ::std::string::String {
4640 self.shortcutname.take().unwrap_or_else(|| ::std::string::String::new())
4641 }
4642
4643 pub fn num_children(&self) -> u32 {
4646 self.num_children.unwrap_or(0)
4647 }
4648
4649 pub fn clear_num_children(&mut self) {
4650 self.num_children = ::std::option::Option::None;
4651 }
4652
4653 pub fn has_num_children(&self) -> bool {
4654 self.num_children.is_some()
4655 }
4656
4657 pub fn set_num_children(&mut self, v: u32) {
4659 self.num_children = ::std::option::Option::Some(v);
4660 }
4661
4662 pub fn num_reports(&self) -> u32 {
4665 self.num_reports.unwrap_or(0)
4666 }
4667
4668 pub fn clear_num_reports(&mut self) {
4669 self.num_reports = ::std::option::Option::None;
4670 }
4671
4672 pub fn has_num_reports(&self) -> bool {
4673 self.num_reports.is_some()
4674 }
4675
4676 pub fn set_num_reports(&mut self, v: u32) {
4678 self.num_reports = ::std::option::Option::Some(v);
4679 }
4680
4681 pub fn time_subscribed(&self) -> u32 {
4684 self.time_subscribed.unwrap_or(0)
4685 }
4686
4687 pub fn clear_time_subscribed(&mut self) {
4688 self.time_subscribed = ::std::option::Option::None;
4689 }
4690
4691 pub fn has_time_subscribed(&self) -> bool {
4692 self.time_subscribed.is_some()
4693 }
4694
4695 pub fn set_time_subscribed(&mut self, v: u32) {
4697 self.time_subscribed = ::std::option::Option::Some(v);
4698 }
4699
4700 pub fn metadata(&self) -> &str {
4703 match self.metadata.as_ref() {
4704 Some(v) => v,
4705 None => "",
4706 }
4707 }
4708
4709 pub fn clear_metadata(&mut self) {
4710 self.metadata = ::std::option::Option::None;
4711 }
4712
4713 pub fn has_metadata(&self) -> bool {
4714 self.metadata.is_some()
4715 }
4716
4717 pub fn set_metadata(&mut self, v: ::std::string::String) {
4719 self.metadata = ::std::option::Option::Some(v);
4720 }
4721
4722 pub fn mut_metadata(&mut self) -> &mut ::std::string::String {
4725 if self.metadata.is_none() {
4726 self.metadata = ::std::option::Option::Some(::std::string::String::new());
4727 }
4728 self.metadata.as_mut().unwrap()
4729 }
4730
4731 pub fn take_metadata(&mut self) -> ::std::string::String {
4733 self.metadata.take().unwrap_or_else(|| ::std::string::String::new())
4734 }
4735
4736 pub fn language(&self) -> i32 {
4739 self.language.unwrap_or(0i32)
4740 }
4741
4742 pub fn clear_language(&mut self) {
4743 self.language = ::std::option::Option::None;
4744 }
4745
4746 pub fn has_language(&self) -> bool {
4747 self.language.is_some()
4748 }
4749
4750 pub fn set_language(&mut self, v: i32) {
4752 self.language = ::std::option::Option::Some(v);
4753 }
4754
4755 pub fn maybe_inappropriate_sex(&self) -> bool {
4758 self.maybe_inappropriate_sex.unwrap_or(false)
4759 }
4760
4761 pub fn clear_maybe_inappropriate_sex(&mut self) {
4762 self.maybe_inappropriate_sex = ::std::option::Option::None;
4763 }
4764
4765 pub fn has_maybe_inappropriate_sex(&self) -> bool {
4766 self.maybe_inappropriate_sex.is_some()
4767 }
4768
4769 pub fn set_maybe_inappropriate_sex(&mut self, v: bool) {
4771 self.maybe_inappropriate_sex = ::std::option::Option::Some(v);
4772 }
4773
4774 pub fn maybe_inappropriate_violence(&self) -> bool {
4777 self.maybe_inappropriate_violence.unwrap_or(false)
4778 }
4779
4780 pub fn clear_maybe_inappropriate_violence(&mut self) {
4781 self.maybe_inappropriate_violence = ::std::option::Option::None;
4782 }
4783
4784 pub fn has_maybe_inappropriate_violence(&self) -> bool {
4785 self.maybe_inappropriate_violence.is_some()
4786 }
4787
4788 pub fn set_maybe_inappropriate_violence(&mut self, v: bool) {
4790 self.maybe_inappropriate_violence = ::std::option::Option::Some(v);
4791 }
4792
4793 pub fn revision_change_number(&self) -> u64 {
4796 self.revision_change_number.unwrap_or(0)
4797 }
4798
4799 pub fn clear_revision_change_number(&mut self) {
4800 self.revision_change_number = ::std::option::Option::None;
4801 }
4802
4803 pub fn has_revision_change_number(&self) -> bool {
4804 self.revision_change_number.is_some()
4805 }
4806
4807 pub fn set_revision_change_number(&mut self, v: u64) {
4809 self.revision_change_number = ::std::option::Option::Some(v);
4810 }
4811
4812 pub fn revision(&self) -> EPublishedFileRevision {
4815 match self.revision {
4816 Some(e) => e.enum_value_or(EPublishedFileRevision::k_EPublishedFileRevision_Default),
4817 None => EPublishedFileRevision::k_EPublishedFileRevision_Default,
4818 }
4819 }
4820
4821 pub fn clear_revision(&mut self) {
4822 self.revision = ::std::option::Option::None;
4823 }
4824
4825 pub fn has_revision(&self) -> bool {
4826 self.revision.is_some()
4827 }
4828
4829 pub fn set_revision(&mut self, v: EPublishedFileRevision) {
4831 self.revision = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
4832 }
4833
4834 pub fn ban_text_check_result(&self) -> super::steammessages_base::EBanContentCheckResult {
4837 match self.ban_text_check_result {
4838 Some(e) => e.enum_value_or(super::steammessages_base::EBanContentCheckResult::k_EBanContentCheckResult_NotScanned),
4839 None => super::steammessages_base::EBanContentCheckResult::k_EBanContentCheckResult_NotScanned,
4840 }
4841 }
4842
4843 pub fn clear_ban_text_check_result(&mut self) {
4844 self.ban_text_check_result = ::std::option::Option::None;
4845 }
4846
4847 pub fn has_ban_text_check_result(&self) -> bool {
4848 self.ban_text_check_result.is_some()
4849 }
4850
4851 pub fn set_ban_text_check_result(&mut self, v: super::steammessages_base::EBanContentCheckResult) {
4853 self.ban_text_check_result = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
4854 }
4855
4856 pub fn search_score(&self) -> f32 {
4859 self.search_score.unwrap_or(0.)
4860 }
4861
4862 pub fn clear_search_score(&mut self) {
4863 self.search_score = ::std::option::Option::None;
4864 }
4865
4866 pub fn has_search_score(&self) -> bool {
4867 self.search_score.is_some()
4868 }
4869
4870 pub fn set_search_score(&mut self, v: f32) {
4872 self.search_score = ::std::option::Option::Some(v);
4873 }
4874
4875 pub fn external_asset_id(&self) -> u64 {
4878 self.external_asset_id.unwrap_or(0)
4879 }
4880
4881 pub fn clear_external_asset_id(&mut self) {
4882 self.external_asset_id = ::std::option::Option::None;
4883 }
4884
4885 pub fn has_external_asset_id(&self) -> bool {
4886 self.external_asset_id.is_some()
4887 }
4888
4889 pub fn set_external_asset_id(&mut self, v: u64) {
4891 self.external_asset_id = ::std::option::Option::Some(v);
4892 }
4893}
4894
4895impl ::steam_vent_proto_common::protobuf::Message for PublishedFileDetails {
4896 const NAME: &'static str = "PublishedFileDetails";
4897
4898 fn is_initialized(&self) -> bool {
4899 true
4900 }
4901
4902 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
4903 while let Some(tag) = is.read_raw_tag_or_eof()? {
4904 match tag {
4905 8 => {
4906 self.result = ::std::option::Option::Some(is.read_uint32()?);
4907 },
4908 16 => {
4909 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
4910 },
4911 25 => {
4912 self.creator = ::std::option::Option::Some(is.read_fixed64()?);
4913 },
4914 32 => {
4915 self.creator_appid = ::std::option::Option::Some(is.read_uint32()?);
4916 },
4917 40 => {
4918 self.consumer_appid = ::std::option::Option::Some(is.read_uint32()?);
4919 },
4920 48 => {
4921 self.consumer_shortcutid = ::std::option::Option::Some(is.read_uint32()?);
4922 },
4923 58 => {
4924 self.filename = ::std::option::Option::Some(is.read_string()?);
4925 },
4926 64 => {
4927 self.file_size = ::std::option::Option::Some(is.read_uint64()?);
4928 },
4929 72 => {
4930 self.preview_file_size = ::std::option::Option::Some(is.read_uint64()?);
4931 },
4932 82 => {
4933 self.file_url = ::std::option::Option::Some(is.read_string()?);
4934 },
4935 90 => {
4936 self.preview_url = ::std::option::Option::Some(is.read_string()?);
4937 },
4938 98 => {
4939 self.youtubevideoid = ::std::option::Option::Some(is.read_string()?);
4940 },
4941 106 => {
4942 self.url = ::std::option::Option::Some(is.read_string()?);
4943 },
4944 113 => {
4945 self.hcontent_file = ::std::option::Option::Some(is.read_fixed64()?);
4946 },
4947 121 => {
4948 self.hcontent_preview = ::std::option::Option::Some(is.read_fixed64()?);
4949 },
4950 130 => {
4951 self.title = ::std::option::Option::Some(is.read_string()?);
4952 },
4953 138 => {
4954 self.file_description = ::std::option::Option::Some(is.read_string()?);
4955 },
4956 146 => {
4957 self.short_description = ::std::option::Option::Some(is.read_string()?);
4958 },
4959 152 => {
4960 self.time_created = ::std::option::Option::Some(is.read_uint32()?);
4961 },
4962 160 => {
4963 self.time_updated = ::std::option::Option::Some(is.read_uint32()?);
4964 },
4965 168 => {
4966 self.visibility = ::std::option::Option::Some(is.read_uint32()?);
4967 },
4968 176 => {
4969 self.flags = ::std::option::Option::Some(is.read_uint32()?);
4970 },
4971 184 => {
4972 self.workshop_file = ::std::option::Option::Some(is.read_bool()?);
4973 },
4974 192 => {
4975 self.workshop_accepted = ::std::option::Option::Some(is.read_bool()?);
4976 },
4977 200 => {
4978 self.show_subscribe_all = ::std::option::Option::Some(is.read_bool()?);
4979 },
4980 208 => {
4981 self.num_comments_developer = ::std::option::Option::Some(is.read_int32()?);
4982 },
4983 216 => {
4984 self.num_comments_public = ::std::option::Option::Some(is.read_int32()?);
4985 },
4986 224 => {
4987 self.banned = ::std::option::Option::Some(is.read_bool()?);
4988 },
4989 234 => {
4990 self.ban_reason = ::std::option::Option::Some(is.read_string()?);
4991 },
4992 241 => {
4993 self.banner = ::std::option::Option::Some(is.read_fixed64()?);
4994 },
4995 248 => {
4996 self.can_be_deleted = ::std::option::Option::Some(is.read_bool()?);
4997 },
4998 256 => {
4999 self.incompatible = ::std::option::Option::Some(is.read_bool()?);
5000 },
5001 266 => {
5002 self.app_name = ::std::option::Option::Some(is.read_string()?);
5003 },
5004 272 => {
5005 self.file_type = ::std::option::Option::Some(is.read_uint32()?);
5006 },
5007 280 => {
5008 self.can_subscribe = ::std::option::Option::Some(is.read_bool()?);
5009 },
5010 288 => {
5011 self.subscriptions = ::std::option::Option::Some(is.read_uint32()?);
5012 },
5013 296 => {
5014 self.favorited = ::std::option::Option::Some(is.read_uint32()?);
5015 },
5016 304 => {
5017 self.followers = ::std::option::Option::Some(is.read_uint32()?);
5018 },
5019 312 => {
5020 self.lifetime_subscriptions = ::std::option::Option::Some(is.read_uint32()?);
5021 },
5022 320 => {
5023 self.lifetime_favorited = ::std::option::Option::Some(is.read_uint32()?);
5024 },
5025 328 => {
5026 self.lifetime_followers = ::std::option::Option::Some(is.read_uint32()?);
5027 },
5028 496 => {
5029 self.lifetime_playtime = ::std::option::Option::Some(is.read_uint64()?);
5030 },
5031 504 => {
5032 self.lifetime_playtime_sessions = ::std::option::Option::Some(is.read_uint64()?);
5033 },
5034 336 => {
5035 self.views = ::std::option::Option::Some(is.read_uint32()?);
5036 },
5037 344 => {
5038 self.image_width = ::std::option::Option::Some(is.read_uint32()?);
5039 },
5040 352 => {
5041 self.image_height = ::std::option::Option::Some(is.read_uint32()?);
5042 },
5043 362 => {
5044 self.image_url = ::std::option::Option::Some(is.read_string()?);
5045 },
5046 368 => {
5047 self.spoiler_tag = ::std::option::Option::Some(is.read_bool()?);
5048 },
5049 376 => {
5050 self.shortcutid = ::std::option::Option::Some(is.read_uint32()?);
5051 },
5052 386 => {
5053 self.shortcutname = ::std::option::Option::Some(is.read_string()?);
5054 },
5055 392 => {
5056 self.num_children = ::std::option::Option::Some(is.read_uint32()?);
5057 },
5058 400 => {
5059 self.num_reports = ::std::option::Option::Some(is.read_uint32()?);
5060 },
5061 410 => {
5062 self.previews.push(is.read_message()?);
5063 },
5064 418 => {
5065 self.tags.push(is.read_message()?);
5066 },
5067 426 => {
5068 self.children.push(is.read_message()?);
5069 },
5070 434 => {
5071 self.kvtags.push(is.read_message()?);
5072 },
5073 442 => {
5074 ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.vote_data)?;
5075 },
5076 514 => {
5077 ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.playtime_stats)?;
5078 },
5079 448 => {
5080 self.time_subscribed = ::std::option::Option::Some(is.read_uint32()?);
5081 },
5082 458 => {
5083 ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.for_sale_data)?;
5084 },
5085 466 => {
5086 self.metadata = ::std::option::Option::Some(is.read_string()?);
5087 },
5088 488 => {
5089 self.language = ::std::option::Option::Some(is.read_int32()?);
5090 },
5091 520 => {
5092 self.maybe_inappropriate_sex = ::std::option::Option::Some(is.read_bool()?);
5093 },
5094 528 => {
5095 self.maybe_inappropriate_violence = ::std::option::Option::Some(is.read_bool()?);
5096 },
5097 576 => {
5098 self.content_descriptorids.push(is.read_enum_or_unknown()?);
5099 },
5100 578 => {
5101 ::steam_vent_proto_common::protobuf::rt::read_repeated_packed_enum_or_unknown_into(is, &mut self.content_descriptorids)?
5102 },
5103 536 => {
5104 self.revision_change_number = ::std::option::Option::Some(is.read_uint64()?);
5105 },
5106 544 => {
5107 self.revision = ::std::option::Option::Some(is.read_enum_or_unknown()?);
5108 },
5109 552 => {
5110 self.available_revisions.push(is.read_enum_or_unknown()?);
5111 },
5112 554 => {
5113 ::steam_vent_proto_common::protobuf::rt::read_repeated_packed_enum_or_unknown_into(is, &mut self.available_revisions)?
5114 },
5115 562 => {
5116 self.reactions.push(is.read_message()?);
5117 },
5118 568 => {
5119 self.ban_text_check_result = ::std::option::Option::Some(is.read_enum_or_unknown()?);
5120 },
5121 589 => {
5122 self.search_score = ::std::option::Option::Some(is.read_float()?);
5123 },
5124 592 => {
5125 self.external_asset_id = ::std::option::Option::Some(is.read_uint64()?);
5126 },
5127 602 => {
5128 self.author_snapshots.push(is.read_message()?);
5129 },
5130 tag => {
5131 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5132 },
5133 };
5134 }
5135 ::std::result::Result::Ok(())
5136 }
5137
5138 #[allow(unused_variables)]
5140 fn compute_size(&self) -> u64 {
5141 let mut my_size = 0;
5142 if let Some(v) = self.result {
5143 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
5144 }
5145 if let Some(v) = self.publishedfileid {
5146 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
5147 }
5148 if let Some(v) = self.creator {
5149 my_size += 1 + 8;
5150 }
5151 if let Some(v) = self.creator_appid {
5152 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
5153 }
5154 if let Some(v) = self.consumer_appid {
5155 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
5156 }
5157 if let Some(v) = self.consumer_shortcutid {
5158 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
5159 }
5160 if let Some(v) = self.filename.as_ref() {
5161 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
5162 }
5163 if let Some(v) = self.file_size {
5164 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(8, v);
5165 }
5166 if let Some(v) = self.preview_file_size {
5167 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(9, v);
5168 }
5169 if let Some(v) = self.file_url.as_ref() {
5170 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(10, &v);
5171 }
5172 if let Some(v) = self.preview_url.as_ref() {
5173 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(11, &v);
5174 }
5175 if let Some(v) = self.youtubevideoid.as_ref() {
5176 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(12, &v);
5177 }
5178 if let Some(v) = self.url.as_ref() {
5179 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(13, &v);
5180 }
5181 if let Some(v) = self.hcontent_file {
5182 my_size += 1 + 8;
5183 }
5184 if let Some(v) = self.hcontent_preview {
5185 my_size += 1 + 8;
5186 }
5187 if let Some(v) = self.title.as_ref() {
5188 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(16, &v);
5189 }
5190 if let Some(v) = self.file_description.as_ref() {
5191 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(17, &v);
5192 }
5193 if let Some(v) = self.short_description.as_ref() {
5194 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(18, &v);
5195 }
5196 if let Some(v) = self.time_created {
5197 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(19, v);
5198 }
5199 if let Some(v) = self.time_updated {
5200 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(20, v);
5201 }
5202 if let Some(v) = self.visibility {
5203 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(21, v);
5204 }
5205 if let Some(v) = self.flags {
5206 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(22, v);
5207 }
5208 if let Some(v) = self.workshop_file {
5209 my_size += 2 + 1;
5210 }
5211 if let Some(v) = self.workshop_accepted {
5212 my_size += 2 + 1;
5213 }
5214 if let Some(v) = self.show_subscribe_all {
5215 my_size += 2 + 1;
5216 }
5217 if let Some(v) = self.num_comments_developer {
5218 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(26, v);
5219 }
5220 if let Some(v) = self.num_comments_public {
5221 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(27, v);
5222 }
5223 if let Some(v) = self.banned {
5224 my_size += 2 + 1;
5225 }
5226 if let Some(v) = self.ban_reason.as_ref() {
5227 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(29, &v);
5228 }
5229 if let Some(v) = self.banner {
5230 my_size += 2 + 8;
5231 }
5232 if let Some(v) = self.can_be_deleted {
5233 my_size += 2 + 1;
5234 }
5235 if let Some(v) = self.incompatible {
5236 my_size += 2 + 1;
5237 }
5238 if let Some(v) = self.app_name.as_ref() {
5239 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(33, &v);
5240 }
5241 if let Some(v) = self.file_type {
5242 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(34, v);
5243 }
5244 if let Some(v) = self.can_subscribe {
5245 my_size += 2 + 1;
5246 }
5247 if let Some(v) = self.subscriptions {
5248 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(36, v);
5249 }
5250 if let Some(v) = self.favorited {
5251 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(37, v);
5252 }
5253 if let Some(v) = self.followers {
5254 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(38, v);
5255 }
5256 if let Some(v) = self.lifetime_subscriptions {
5257 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(39, v);
5258 }
5259 if let Some(v) = self.lifetime_favorited {
5260 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(40, v);
5261 }
5262 if let Some(v) = self.lifetime_followers {
5263 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(41, v);
5264 }
5265 if let Some(v) = self.lifetime_playtime {
5266 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(62, v);
5267 }
5268 if let Some(v) = self.lifetime_playtime_sessions {
5269 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(63, v);
5270 }
5271 if let Some(v) = self.views {
5272 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(42, v);
5273 }
5274 if let Some(v) = self.image_width {
5275 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(43, v);
5276 }
5277 if let Some(v) = self.image_height {
5278 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(44, v);
5279 }
5280 if let Some(v) = self.image_url.as_ref() {
5281 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(45, &v);
5282 }
5283 if let Some(v) = self.spoiler_tag {
5284 my_size += 2 + 1;
5285 }
5286 if let Some(v) = self.shortcutid {
5287 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(47, v);
5288 }
5289 if let Some(v) = self.shortcutname.as_ref() {
5290 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(48, &v);
5291 }
5292 if let Some(v) = self.num_children {
5293 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(49, v);
5294 }
5295 if let Some(v) = self.num_reports {
5296 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(50, v);
5297 }
5298 for value in &self.previews {
5299 let len = value.compute_size();
5300 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
5301 };
5302 for value in &self.tags {
5303 let len = value.compute_size();
5304 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
5305 };
5306 for value in &self.children {
5307 let len = value.compute_size();
5308 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
5309 };
5310 for value in &self.kvtags {
5311 let len = value.compute_size();
5312 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
5313 };
5314 if let Some(v) = self.vote_data.as_ref() {
5315 let len = v.compute_size();
5316 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
5317 }
5318 if let Some(v) = self.playtime_stats.as_ref() {
5319 let len = v.compute_size();
5320 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
5321 }
5322 if let Some(v) = self.time_subscribed {
5323 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(56, v);
5324 }
5325 if let Some(v) = self.for_sale_data.as_ref() {
5326 let len = v.compute_size();
5327 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
5328 }
5329 if let Some(v) = self.metadata.as_ref() {
5330 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(58, &v);
5331 }
5332 if let Some(v) = self.language {
5333 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(61, v);
5334 }
5335 if let Some(v) = self.maybe_inappropriate_sex {
5336 my_size += 2 + 1;
5337 }
5338 if let Some(v) = self.maybe_inappropriate_violence {
5339 my_size += 2 + 1;
5340 }
5341 for value in &self.content_descriptorids {
5342 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(72, value.value());
5343 };
5344 if let Some(v) = self.revision_change_number {
5345 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(67, v);
5346 }
5347 if let Some(v) = self.revision {
5348 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(68, v.value());
5349 }
5350 for value in &self.available_revisions {
5351 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(69, value.value());
5352 };
5353 for value in &self.reactions {
5354 let len = value.compute_size();
5355 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
5356 };
5357 if let Some(v) = self.ban_text_check_result {
5358 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(71, v.value());
5359 }
5360 if let Some(v) = self.search_score {
5361 my_size += 2 + 4;
5362 }
5363 if let Some(v) = self.external_asset_id {
5364 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(74, v);
5365 }
5366 for value in &self.author_snapshots {
5367 let len = value.compute_size();
5368 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
5369 };
5370 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5371 self.special_fields.cached_size().set(my_size as u32);
5372 my_size
5373 }
5374
5375 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5376 if let Some(v) = self.result {
5377 os.write_uint32(1, v)?;
5378 }
5379 if let Some(v) = self.publishedfileid {
5380 os.write_uint64(2, v)?;
5381 }
5382 if let Some(v) = self.creator {
5383 os.write_fixed64(3, v)?;
5384 }
5385 if let Some(v) = self.creator_appid {
5386 os.write_uint32(4, v)?;
5387 }
5388 if let Some(v) = self.consumer_appid {
5389 os.write_uint32(5, v)?;
5390 }
5391 if let Some(v) = self.consumer_shortcutid {
5392 os.write_uint32(6, v)?;
5393 }
5394 if let Some(v) = self.filename.as_ref() {
5395 os.write_string(7, v)?;
5396 }
5397 if let Some(v) = self.file_size {
5398 os.write_uint64(8, v)?;
5399 }
5400 if let Some(v) = self.preview_file_size {
5401 os.write_uint64(9, v)?;
5402 }
5403 if let Some(v) = self.file_url.as_ref() {
5404 os.write_string(10, v)?;
5405 }
5406 if let Some(v) = self.preview_url.as_ref() {
5407 os.write_string(11, v)?;
5408 }
5409 if let Some(v) = self.youtubevideoid.as_ref() {
5410 os.write_string(12, v)?;
5411 }
5412 if let Some(v) = self.url.as_ref() {
5413 os.write_string(13, v)?;
5414 }
5415 if let Some(v) = self.hcontent_file {
5416 os.write_fixed64(14, v)?;
5417 }
5418 if let Some(v) = self.hcontent_preview {
5419 os.write_fixed64(15, v)?;
5420 }
5421 if let Some(v) = self.title.as_ref() {
5422 os.write_string(16, v)?;
5423 }
5424 if let Some(v) = self.file_description.as_ref() {
5425 os.write_string(17, v)?;
5426 }
5427 if let Some(v) = self.short_description.as_ref() {
5428 os.write_string(18, v)?;
5429 }
5430 if let Some(v) = self.time_created {
5431 os.write_uint32(19, v)?;
5432 }
5433 if let Some(v) = self.time_updated {
5434 os.write_uint32(20, v)?;
5435 }
5436 if let Some(v) = self.visibility {
5437 os.write_uint32(21, v)?;
5438 }
5439 if let Some(v) = self.flags {
5440 os.write_uint32(22, v)?;
5441 }
5442 if let Some(v) = self.workshop_file {
5443 os.write_bool(23, v)?;
5444 }
5445 if let Some(v) = self.workshop_accepted {
5446 os.write_bool(24, v)?;
5447 }
5448 if let Some(v) = self.show_subscribe_all {
5449 os.write_bool(25, v)?;
5450 }
5451 if let Some(v) = self.num_comments_developer {
5452 os.write_int32(26, v)?;
5453 }
5454 if let Some(v) = self.num_comments_public {
5455 os.write_int32(27, v)?;
5456 }
5457 if let Some(v) = self.banned {
5458 os.write_bool(28, v)?;
5459 }
5460 if let Some(v) = self.ban_reason.as_ref() {
5461 os.write_string(29, v)?;
5462 }
5463 if let Some(v) = self.banner {
5464 os.write_fixed64(30, v)?;
5465 }
5466 if let Some(v) = self.can_be_deleted {
5467 os.write_bool(31, v)?;
5468 }
5469 if let Some(v) = self.incompatible {
5470 os.write_bool(32, v)?;
5471 }
5472 if let Some(v) = self.app_name.as_ref() {
5473 os.write_string(33, v)?;
5474 }
5475 if let Some(v) = self.file_type {
5476 os.write_uint32(34, v)?;
5477 }
5478 if let Some(v) = self.can_subscribe {
5479 os.write_bool(35, v)?;
5480 }
5481 if let Some(v) = self.subscriptions {
5482 os.write_uint32(36, v)?;
5483 }
5484 if let Some(v) = self.favorited {
5485 os.write_uint32(37, v)?;
5486 }
5487 if let Some(v) = self.followers {
5488 os.write_uint32(38, v)?;
5489 }
5490 if let Some(v) = self.lifetime_subscriptions {
5491 os.write_uint32(39, v)?;
5492 }
5493 if let Some(v) = self.lifetime_favorited {
5494 os.write_uint32(40, v)?;
5495 }
5496 if let Some(v) = self.lifetime_followers {
5497 os.write_uint32(41, v)?;
5498 }
5499 if let Some(v) = self.lifetime_playtime {
5500 os.write_uint64(62, v)?;
5501 }
5502 if let Some(v) = self.lifetime_playtime_sessions {
5503 os.write_uint64(63, v)?;
5504 }
5505 if let Some(v) = self.views {
5506 os.write_uint32(42, v)?;
5507 }
5508 if let Some(v) = self.image_width {
5509 os.write_uint32(43, v)?;
5510 }
5511 if let Some(v) = self.image_height {
5512 os.write_uint32(44, v)?;
5513 }
5514 if let Some(v) = self.image_url.as_ref() {
5515 os.write_string(45, v)?;
5516 }
5517 if let Some(v) = self.spoiler_tag {
5518 os.write_bool(46, v)?;
5519 }
5520 if let Some(v) = self.shortcutid {
5521 os.write_uint32(47, v)?;
5522 }
5523 if let Some(v) = self.shortcutname.as_ref() {
5524 os.write_string(48, v)?;
5525 }
5526 if let Some(v) = self.num_children {
5527 os.write_uint32(49, v)?;
5528 }
5529 if let Some(v) = self.num_reports {
5530 os.write_uint32(50, v)?;
5531 }
5532 for v in &self.previews {
5533 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(51, v, os)?;
5534 };
5535 for v in &self.tags {
5536 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(52, v, os)?;
5537 };
5538 for v in &self.children {
5539 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(53, v, os)?;
5540 };
5541 for v in &self.kvtags {
5542 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(54, v, os)?;
5543 };
5544 if let Some(v) = self.vote_data.as_ref() {
5545 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(55, v, os)?;
5546 }
5547 if let Some(v) = self.playtime_stats.as_ref() {
5548 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(64, v, os)?;
5549 }
5550 if let Some(v) = self.time_subscribed {
5551 os.write_uint32(56, v)?;
5552 }
5553 if let Some(v) = self.for_sale_data.as_ref() {
5554 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(57, v, os)?;
5555 }
5556 if let Some(v) = self.metadata.as_ref() {
5557 os.write_string(58, v)?;
5558 }
5559 if let Some(v) = self.language {
5560 os.write_int32(61, v)?;
5561 }
5562 if let Some(v) = self.maybe_inappropriate_sex {
5563 os.write_bool(65, v)?;
5564 }
5565 if let Some(v) = self.maybe_inappropriate_violence {
5566 os.write_bool(66, v)?;
5567 }
5568 for v in &self.content_descriptorids {
5569 os.write_enum(72, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(v))?;
5570 };
5571 if let Some(v) = self.revision_change_number {
5572 os.write_uint64(67, v)?;
5573 }
5574 if let Some(v) = self.revision {
5575 os.write_enum(68, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
5576 }
5577 for v in &self.available_revisions {
5578 os.write_enum(69, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(v))?;
5579 };
5580 for v in &self.reactions {
5581 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(70, v, os)?;
5582 };
5583 if let Some(v) = self.ban_text_check_result {
5584 os.write_enum(71, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
5585 }
5586 if let Some(v) = self.search_score {
5587 os.write_float(73, v)?;
5588 }
5589 if let Some(v) = self.external_asset_id {
5590 os.write_uint64(74, v)?;
5591 }
5592 for v in &self.author_snapshots {
5593 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(75, v, os)?;
5594 };
5595 os.write_unknown_fields(self.special_fields.unknown_fields())?;
5596 ::std::result::Result::Ok(())
5597 }
5598
5599 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5600 &self.special_fields
5601 }
5602
5603 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5604 &mut self.special_fields
5605 }
5606
5607 fn new() -> PublishedFileDetails {
5608 PublishedFileDetails::new()
5609 }
5610
5611 fn clear(&mut self) {
5612 self.result = ::std::option::Option::None;
5613 self.publishedfileid = ::std::option::Option::None;
5614 self.creator = ::std::option::Option::None;
5615 self.creator_appid = ::std::option::Option::None;
5616 self.consumer_appid = ::std::option::Option::None;
5617 self.consumer_shortcutid = ::std::option::Option::None;
5618 self.filename = ::std::option::Option::None;
5619 self.file_size = ::std::option::Option::None;
5620 self.preview_file_size = ::std::option::Option::None;
5621 self.file_url = ::std::option::Option::None;
5622 self.preview_url = ::std::option::Option::None;
5623 self.youtubevideoid = ::std::option::Option::None;
5624 self.url = ::std::option::Option::None;
5625 self.hcontent_file = ::std::option::Option::None;
5626 self.hcontent_preview = ::std::option::Option::None;
5627 self.title = ::std::option::Option::None;
5628 self.file_description = ::std::option::Option::None;
5629 self.short_description = ::std::option::Option::None;
5630 self.time_created = ::std::option::Option::None;
5631 self.time_updated = ::std::option::Option::None;
5632 self.visibility = ::std::option::Option::None;
5633 self.flags = ::std::option::Option::None;
5634 self.workshop_file = ::std::option::Option::None;
5635 self.workshop_accepted = ::std::option::Option::None;
5636 self.show_subscribe_all = ::std::option::Option::None;
5637 self.num_comments_developer = ::std::option::Option::None;
5638 self.num_comments_public = ::std::option::Option::None;
5639 self.banned = ::std::option::Option::None;
5640 self.ban_reason = ::std::option::Option::None;
5641 self.banner = ::std::option::Option::None;
5642 self.can_be_deleted = ::std::option::Option::None;
5643 self.incompatible = ::std::option::Option::None;
5644 self.app_name = ::std::option::Option::None;
5645 self.file_type = ::std::option::Option::None;
5646 self.can_subscribe = ::std::option::Option::None;
5647 self.subscriptions = ::std::option::Option::None;
5648 self.favorited = ::std::option::Option::None;
5649 self.followers = ::std::option::Option::None;
5650 self.lifetime_subscriptions = ::std::option::Option::None;
5651 self.lifetime_favorited = ::std::option::Option::None;
5652 self.lifetime_followers = ::std::option::Option::None;
5653 self.lifetime_playtime = ::std::option::Option::None;
5654 self.lifetime_playtime_sessions = ::std::option::Option::None;
5655 self.views = ::std::option::Option::None;
5656 self.image_width = ::std::option::Option::None;
5657 self.image_height = ::std::option::Option::None;
5658 self.image_url = ::std::option::Option::None;
5659 self.spoiler_tag = ::std::option::Option::None;
5660 self.shortcutid = ::std::option::Option::None;
5661 self.shortcutname = ::std::option::Option::None;
5662 self.num_children = ::std::option::Option::None;
5663 self.num_reports = ::std::option::Option::None;
5664 self.previews.clear();
5665 self.tags.clear();
5666 self.children.clear();
5667 self.kvtags.clear();
5668 self.vote_data.clear();
5669 self.playtime_stats.clear();
5670 self.time_subscribed = ::std::option::Option::None;
5671 self.for_sale_data.clear();
5672 self.metadata = ::std::option::Option::None;
5673 self.language = ::std::option::Option::None;
5674 self.maybe_inappropriate_sex = ::std::option::Option::None;
5675 self.maybe_inappropriate_violence = ::std::option::Option::None;
5676 self.content_descriptorids.clear();
5677 self.revision_change_number = ::std::option::Option::None;
5678 self.revision = ::std::option::Option::None;
5679 self.available_revisions.clear();
5680 self.reactions.clear();
5681 self.ban_text_check_result = ::std::option::Option::None;
5682 self.search_score = ::std::option::Option::None;
5683 self.external_asset_id = ::std::option::Option::None;
5684 self.author_snapshots.clear();
5685 self.special_fields.clear();
5686 }
5687
5688 fn default_instance() -> &'static PublishedFileDetails {
5689 static instance: PublishedFileDetails = PublishedFileDetails {
5690 result: ::std::option::Option::None,
5691 publishedfileid: ::std::option::Option::None,
5692 creator: ::std::option::Option::None,
5693 creator_appid: ::std::option::Option::None,
5694 consumer_appid: ::std::option::Option::None,
5695 consumer_shortcutid: ::std::option::Option::None,
5696 filename: ::std::option::Option::None,
5697 file_size: ::std::option::Option::None,
5698 preview_file_size: ::std::option::Option::None,
5699 file_url: ::std::option::Option::None,
5700 preview_url: ::std::option::Option::None,
5701 youtubevideoid: ::std::option::Option::None,
5702 url: ::std::option::Option::None,
5703 hcontent_file: ::std::option::Option::None,
5704 hcontent_preview: ::std::option::Option::None,
5705 title: ::std::option::Option::None,
5706 file_description: ::std::option::Option::None,
5707 short_description: ::std::option::Option::None,
5708 time_created: ::std::option::Option::None,
5709 time_updated: ::std::option::Option::None,
5710 visibility: ::std::option::Option::None,
5711 flags: ::std::option::Option::None,
5712 workshop_file: ::std::option::Option::None,
5713 workshop_accepted: ::std::option::Option::None,
5714 show_subscribe_all: ::std::option::Option::None,
5715 num_comments_developer: ::std::option::Option::None,
5716 num_comments_public: ::std::option::Option::None,
5717 banned: ::std::option::Option::None,
5718 ban_reason: ::std::option::Option::None,
5719 banner: ::std::option::Option::None,
5720 can_be_deleted: ::std::option::Option::None,
5721 incompatible: ::std::option::Option::None,
5722 app_name: ::std::option::Option::None,
5723 file_type: ::std::option::Option::None,
5724 can_subscribe: ::std::option::Option::None,
5725 subscriptions: ::std::option::Option::None,
5726 favorited: ::std::option::Option::None,
5727 followers: ::std::option::Option::None,
5728 lifetime_subscriptions: ::std::option::Option::None,
5729 lifetime_favorited: ::std::option::Option::None,
5730 lifetime_followers: ::std::option::Option::None,
5731 lifetime_playtime: ::std::option::Option::None,
5732 lifetime_playtime_sessions: ::std::option::Option::None,
5733 views: ::std::option::Option::None,
5734 image_width: ::std::option::Option::None,
5735 image_height: ::std::option::Option::None,
5736 image_url: ::std::option::Option::None,
5737 spoiler_tag: ::std::option::Option::None,
5738 shortcutid: ::std::option::Option::None,
5739 shortcutname: ::std::option::Option::None,
5740 num_children: ::std::option::Option::None,
5741 num_reports: ::std::option::Option::None,
5742 previews: ::std::vec::Vec::new(),
5743 tags: ::std::vec::Vec::new(),
5744 children: ::std::vec::Vec::new(),
5745 kvtags: ::std::vec::Vec::new(),
5746 vote_data: ::steam_vent_proto_common::protobuf::MessageField::none(),
5747 playtime_stats: ::steam_vent_proto_common::protobuf::MessageField::none(),
5748 time_subscribed: ::std::option::Option::None,
5749 for_sale_data: ::steam_vent_proto_common::protobuf::MessageField::none(),
5750 metadata: ::std::option::Option::None,
5751 language: ::std::option::Option::None,
5752 maybe_inappropriate_sex: ::std::option::Option::None,
5753 maybe_inappropriate_violence: ::std::option::Option::None,
5754 content_descriptorids: ::std::vec::Vec::new(),
5755 revision_change_number: ::std::option::Option::None,
5756 revision: ::std::option::Option::None,
5757 available_revisions: ::std::vec::Vec::new(),
5758 reactions: ::std::vec::Vec::new(),
5759 ban_text_check_result: ::std::option::Option::None,
5760 search_score: ::std::option::Option::None,
5761 external_asset_id: ::std::option::Option::None,
5762 author_snapshots: ::std::vec::Vec::new(),
5763 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5764 };
5765 &instance
5766 }
5767}
5768
5769pub mod published_file_details {
5771 #[derive(PartialEq,Clone,Default,Debug)]
5773 pub struct Tag {
5774 pub tag: ::std::option::Option<::std::string::String>,
5777 pub adminonly: ::std::option::Option<bool>,
5779 pub display_name: ::std::option::Option<::std::string::String>,
5781 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
5784 }
5785
5786 impl<'a> ::std::default::Default for &'a Tag {
5787 fn default() -> &'a Tag {
5788 <Tag as ::steam_vent_proto_common::protobuf::Message>::default_instance()
5789 }
5790 }
5791
5792 impl Tag {
5793 pub fn new() -> Tag {
5794 ::std::default::Default::default()
5795 }
5796
5797 pub fn tag(&self) -> &str {
5800 match self.tag.as_ref() {
5801 Some(v) => v,
5802 None => "",
5803 }
5804 }
5805
5806 pub fn clear_tag(&mut self) {
5807 self.tag = ::std::option::Option::None;
5808 }
5809
5810 pub fn has_tag(&self) -> bool {
5811 self.tag.is_some()
5812 }
5813
5814 pub fn set_tag(&mut self, v: ::std::string::String) {
5816 self.tag = ::std::option::Option::Some(v);
5817 }
5818
5819 pub fn mut_tag(&mut self) -> &mut ::std::string::String {
5822 if self.tag.is_none() {
5823 self.tag = ::std::option::Option::Some(::std::string::String::new());
5824 }
5825 self.tag.as_mut().unwrap()
5826 }
5827
5828 pub fn take_tag(&mut self) -> ::std::string::String {
5830 self.tag.take().unwrap_or_else(|| ::std::string::String::new())
5831 }
5832
5833 pub fn adminonly(&self) -> bool {
5836 self.adminonly.unwrap_or(false)
5837 }
5838
5839 pub fn clear_adminonly(&mut self) {
5840 self.adminonly = ::std::option::Option::None;
5841 }
5842
5843 pub fn has_adminonly(&self) -> bool {
5844 self.adminonly.is_some()
5845 }
5846
5847 pub fn set_adminonly(&mut self, v: bool) {
5849 self.adminonly = ::std::option::Option::Some(v);
5850 }
5851
5852 pub fn display_name(&self) -> &str {
5855 match self.display_name.as_ref() {
5856 Some(v) => v,
5857 None => "",
5858 }
5859 }
5860
5861 pub fn clear_display_name(&mut self) {
5862 self.display_name = ::std::option::Option::None;
5863 }
5864
5865 pub fn has_display_name(&self) -> bool {
5866 self.display_name.is_some()
5867 }
5868
5869 pub fn set_display_name(&mut self, v: ::std::string::String) {
5871 self.display_name = ::std::option::Option::Some(v);
5872 }
5873
5874 pub fn mut_display_name(&mut self) -> &mut ::std::string::String {
5877 if self.display_name.is_none() {
5878 self.display_name = ::std::option::Option::Some(::std::string::String::new());
5879 }
5880 self.display_name.as_mut().unwrap()
5881 }
5882
5883 pub fn take_display_name(&mut self) -> ::std::string::String {
5885 self.display_name.take().unwrap_or_else(|| ::std::string::String::new())
5886 }
5887 }
5888
5889 impl ::steam_vent_proto_common::protobuf::Message for Tag {
5890 const NAME: &'static str = "Tag";
5891
5892 fn is_initialized(&self) -> bool {
5893 true
5894 }
5895
5896 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5897 while let Some(tag) = is.read_raw_tag_or_eof()? {
5898 match tag {
5899 10 => {
5900 self.tag = ::std::option::Option::Some(is.read_string()?);
5901 },
5902 16 => {
5903 self.adminonly = ::std::option::Option::Some(is.read_bool()?);
5904 },
5905 26 => {
5906 self.display_name = ::std::option::Option::Some(is.read_string()?);
5907 },
5908 tag => {
5909 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
5910 },
5911 };
5912 }
5913 ::std::result::Result::Ok(())
5914 }
5915
5916 #[allow(unused_variables)]
5918 fn compute_size(&self) -> u64 {
5919 let mut my_size = 0;
5920 if let Some(v) = self.tag.as_ref() {
5921 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
5922 }
5923 if let Some(v) = self.adminonly {
5924 my_size += 1 + 1;
5925 }
5926 if let Some(v) = self.display_name.as_ref() {
5927 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
5928 }
5929 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
5930 self.special_fields.cached_size().set(my_size as u32);
5931 my_size
5932 }
5933
5934 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
5935 if let Some(v) = self.tag.as_ref() {
5936 os.write_string(1, v)?;
5937 }
5938 if let Some(v) = self.adminonly {
5939 os.write_bool(2, v)?;
5940 }
5941 if let Some(v) = self.display_name.as_ref() {
5942 os.write_string(3, v)?;
5943 }
5944 os.write_unknown_fields(self.special_fields.unknown_fields())?;
5945 ::std::result::Result::Ok(())
5946 }
5947
5948 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
5949 &self.special_fields
5950 }
5951
5952 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
5953 &mut self.special_fields
5954 }
5955
5956 fn new() -> Tag {
5957 Tag::new()
5958 }
5959
5960 fn clear(&mut self) {
5961 self.tag = ::std::option::Option::None;
5962 self.adminonly = ::std::option::Option::None;
5963 self.display_name = ::std::option::Option::None;
5964 self.special_fields.clear();
5965 }
5966
5967 fn default_instance() -> &'static Tag {
5968 static instance: Tag = Tag {
5969 tag: ::std::option::Option::None,
5970 adminonly: ::std::option::Option::None,
5971 display_name: ::std::option::Option::None,
5972 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
5973 };
5974 &instance
5975 }
5976 }
5977
5978 #[derive(PartialEq,Clone,Default,Debug)]
5980 pub struct Preview {
5981 pub previewid: ::std::option::Option<u64>,
5984 pub sortorder: ::std::option::Option<u32>,
5986 pub url: ::std::option::Option<::std::string::String>,
5988 pub size: ::std::option::Option<u32>,
5990 pub filename: ::std::option::Option<::std::string::String>,
5992 pub youtubevideoid: ::std::option::Option<::std::string::String>,
5994 pub preview_type: ::std::option::Option<u32>,
5996 pub external_reference: ::std::option::Option<::std::string::String>,
5998 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6001 }
6002
6003 impl<'a> ::std::default::Default for &'a Preview {
6004 fn default() -> &'a Preview {
6005 <Preview as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6006 }
6007 }
6008
6009 impl Preview {
6010 pub fn new() -> Preview {
6011 ::std::default::Default::default()
6012 }
6013
6014 pub fn previewid(&self) -> u64 {
6017 self.previewid.unwrap_or(0)
6018 }
6019
6020 pub fn clear_previewid(&mut self) {
6021 self.previewid = ::std::option::Option::None;
6022 }
6023
6024 pub fn has_previewid(&self) -> bool {
6025 self.previewid.is_some()
6026 }
6027
6028 pub fn set_previewid(&mut self, v: u64) {
6030 self.previewid = ::std::option::Option::Some(v);
6031 }
6032
6033 pub fn sortorder(&self) -> u32 {
6036 self.sortorder.unwrap_or(0)
6037 }
6038
6039 pub fn clear_sortorder(&mut self) {
6040 self.sortorder = ::std::option::Option::None;
6041 }
6042
6043 pub fn has_sortorder(&self) -> bool {
6044 self.sortorder.is_some()
6045 }
6046
6047 pub fn set_sortorder(&mut self, v: u32) {
6049 self.sortorder = ::std::option::Option::Some(v);
6050 }
6051
6052 pub fn url(&self) -> &str {
6055 match self.url.as_ref() {
6056 Some(v) => v,
6057 None => "",
6058 }
6059 }
6060
6061 pub fn clear_url(&mut self) {
6062 self.url = ::std::option::Option::None;
6063 }
6064
6065 pub fn has_url(&self) -> bool {
6066 self.url.is_some()
6067 }
6068
6069 pub fn set_url(&mut self, v: ::std::string::String) {
6071 self.url = ::std::option::Option::Some(v);
6072 }
6073
6074 pub fn mut_url(&mut self) -> &mut ::std::string::String {
6077 if self.url.is_none() {
6078 self.url = ::std::option::Option::Some(::std::string::String::new());
6079 }
6080 self.url.as_mut().unwrap()
6081 }
6082
6083 pub fn take_url(&mut self) -> ::std::string::String {
6085 self.url.take().unwrap_or_else(|| ::std::string::String::new())
6086 }
6087
6088 pub fn size(&self) -> u32 {
6091 self.size.unwrap_or(0)
6092 }
6093
6094 pub fn clear_size(&mut self) {
6095 self.size = ::std::option::Option::None;
6096 }
6097
6098 pub fn has_size(&self) -> bool {
6099 self.size.is_some()
6100 }
6101
6102 pub fn set_size(&mut self, v: u32) {
6104 self.size = ::std::option::Option::Some(v);
6105 }
6106
6107 pub fn filename(&self) -> &str {
6110 match self.filename.as_ref() {
6111 Some(v) => v,
6112 None => "",
6113 }
6114 }
6115
6116 pub fn clear_filename(&mut self) {
6117 self.filename = ::std::option::Option::None;
6118 }
6119
6120 pub fn has_filename(&self) -> bool {
6121 self.filename.is_some()
6122 }
6123
6124 pub fn set_filename(&mut self, v: ::std::string::String) {
6126 self.filename = ::std::option::Option::Some(v);
6127 }
6128
6129 pub fn mut_filename(&mut self) -> &mut ::std::string::String {
6132 if self.filename.is_none() {
6133 self.filename = ::std::option::Option::Some(::std::string::String::new());
6134 }
6135 self.filename.as_mut().unwrap()
6136 }
6137
6138 pub fn take_filename(&mut self) -> ::std::string::String {
6140 self.filename.take().unwrap_or_else(|| ::std::string::String::new())
6141 }
6142
6143 pub fn youtubevideoid(&self) -> &str {
6146 match self.youtubevideoid.as_ref() {
6147 Some(v) => v,
6148 None => "",
6149 }
6150 }
6151
6152 pub fn clear_youtubevideoid(&mut self) {
6153 self.youtubevideoid = ::std::option::Option::None;
6154 }
6155
6156 pub fn has_youtubevideoid(&self) -> bool {
6157 self.youtubevideoid.is_some()
6158 }
6159
6160 pub fn set_youtubevideoid(&mut self, v: ::std::string::String) {
6162 self.youtubevideoid = ::std::option::Option::Some(v);
6163 }
6164
6165 pub fn mut_youtubevideoid(&mut self) -> &mut ::std::string::String {
6168 if self.youtubevideoid.is_none() {
6169 self.youtubevideoid = ::std::option::Option::Some(::std::string::String::new());
6170 }
6171 self.youtubevideoid.as_mut().unwrap()
6172 }
6173
6174 pub fn take_youtubevideoid(&mut self) -> ::std::string::String {
6176 self.youtubevideoid.take().unwrap_or_else(|| ::std::string::String::new())
6177 }
6178
6179 pub fn preview_type(&self) -> u32 {
6182 self.preview_type.unwrap_or(0)
6183 }
6184
6185 pub fn clear_preview_type(&mut self) {
6186 self.preview_type = ::std::option::Option::None;
6187 }
6188
6189 pub fn has_preview_type(&self) -> bool {
6190 self.preview_type.is_some()
6191 }
6192
6193 pub fn set_preview_type(&mut self, v: u32) {
6195 self.preview_type = ::std::option::Option::Some(v);
6196 }
6197
6198 pub fn external_reference(&self) -> &str {
6201 match self.external_reference.as_ref() {
6202 Some(v) => v,
6203 None => "",
6204 }
6205 }
6206
6207 pub fn clear_external_reference(&mut self) {
6208 self.external_reference = ::std::option::Option::None;
6209 }
6210
6211 pub fn has_external_reference(&self) -> bool {
6212 self.external_reference.is_some()
6213 }
6214
6215 pub fn set_external_reference(&mut self, v: ::std::string::String) {
6217 self.external_reference = ::std::option::Option::Some(v);
6218 }
6219
6220 pub fn mut_external_reference(&mut self) -> &mut ::std::string::String {
6223 if self.external_reference.is_none() {
6224 self.external_reference = ::std::option::Option::Some(::std::string::String::new());
6225 }
6226 self.external_reference.as_mut().unwrap()
6227 }
6228
6229 pub fn take_external_reference(&mut self) -> ::std::string::String {
6231 self.external_reference.take().unwrap_or_else(|| ::std::string::String::new())
6232 }
6233 }
6234
6235 impl ::steam_vent_proto_common::protobuf::Message for Preview {
6236 const NAME: &'static str = "Preview";
6237
6238 fn is_initialized(&self) -> bool {
6239 true
6240 }
6241
6242 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6243 while let Some(tag) = is.read_raw_tag_or_eof()? {
6244 match tag {
6245 8 => {
6246 self.previewid = ::std::option::Option::Some(is.read_uint64()?);
6247 },
6248 16 => {
6249 self.sortorder = ::std::option::Option::Some(is.read_uint32()?);
6250 },
6251 26 => {
6252 self.url = ::std::option::Option::Some(is.read_string()?);
6253 },
6254 32 => {
6255 self.size = ::std::option::Option::Some(is.read_uint32()?);
6256 },
6257 42 => {
6258 self.filename = ::std::option::Option::Some(is.read_string()?);
6259 },
6260 50 => {
6261 self.youtubevideoid = ::std::option::Option::Some(is.read_string()?);
6262 },
6263 56 => {
6264 self.preview_type = ::std::option::Option::Some(is.read_uint32()?);
6265 },
6266 66 => {
6267 self.external_reference = ::std::option::Option::Some(is.read_string()?);
6268 },
6269 tag => {
6270 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6271 },
6272 };
6273 }
6274 ::std::result::Result::Ok(())
6275 }
6276
6277 #[allow(unused_variables)]
6279 fn compute_size(&self) -> u64 {
6280 let mut my_size = 0;
6281 if let Some(v) = self.previewid {
6282 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
6283 }
6284 if let Some(v) = self.sortorder {
6285 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
6286 }
6287 if let Some(v) = self.url.as_ref() {
6288 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
6289 }
6290 if let Some(v) = self.size {
6291 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
6292 }
6293 if let Some(v) = self.filename.as_ref() {
6294 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
6295 }
6296 if let Some(v) = self.youtubevideoid.as_ref() {
6297 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
6298 }
6299 if let Some(v) = self.preview_type {
6300 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
6301 }
6302 if let Some(v) = self.external_reference.as_ref() {
6303 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
6304 }
6305 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6306 self.special_fields.cached_size().set(my_size as u32);
6307 my_size
6308 }
6309
6310 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6311 if let Some(v) = self.previewid {
6312 os.write_uint64(1, v)?;
6313 }
6314 if let Some(v) = self.sortorder {
6315 os.write_uint32(2, v)?;
6316 }
6317 if let Some(v) = self.url.as_ref() {
6318 os.write_string(3, v)?;
6319 }
6320 if let Some(v) = self.size {
6321 os.write_uint32(4, v)?;
6322 }
6323 if let Some(v) = self.filename.as_ref() {
6324 os.write_string(5, v)?;
6325 }
6326 if let Some(v) = self.youtubevideoid.as_ref() {
6327 os.write_string(6, v)?;
6328 }
6329 if let Some(v) = self.preview_type {
6330 os.write_uint32(7, v)?;
6331 }
6332 if let Some(v) = self.external_reference.as_ref() {
6333 os.write_string(8, v)?;
6334 }
6335 os.write_unknown_fields(self.special_fields.unknown_fields())?;
6336 ::std::result::Result::Ok(())
6337 }
6338
6339 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6340 &self.special_fields
6341 }
6342
6343 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6344 &mut self.special_fields
6345 }
6346
6347 fn new() -> Preview {
6348 Preview::new()
6349 }
6350
6351 fn clear(&mut self) {
6352 self.previewid = ::std::option::Option::None;
6353 self.sortorder = ::std::option::Option::None;
6354 self.url = ::std::option::Option::None;
6355 self.size = ::std::option::Option::None;
6356 self.filename = ::std::option::Option::None;
6357 self.youtubevideoid = ::std::option::Option::None;
6358 self.preview_type = ::std::option::Option::None;
6359 self.external_reference = ::std::option::Option::None;
6360 self.special_fields.clear();
6361 }
6362
6363 fn default_instance() -> &'static Preview {
6364 static instance: Preview = Preview {
6365 previewid: ::std::option::Option::None,
6366 sortorder: ::std::option::Option::None,
6367 url: ::std::option::Option::None,
6368 size: ::std::option::Option::None,
6369 filename: ::std::option::Option::None,
6370 youtubevideoid: ::std::option::Option::None,
6371 preview_type: ::std::option::Option::None,
6372 external_reference: ::std::option::Option::None,
6373 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6374 };
6375 &instance
6376 }
6377 }
6378
6379 #[derive(PartialEq,Clone,Default,Debug)]
6381 pub struct Child {
6382 pub publishedfileid: ::std::option::Option<u64>,
6385 pub sortorder: ::std::option::Option<u32>,
6387 pub file_type: ::std::option::Option<u32>,
6389 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6392 }
6393
6394 impl<'a> ::std::default::Default for &'a Child {
6395 fn default() -> &'a Child {
6396 <Child as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6397 }
6398 }
6399
6400 impl Child {
6401 pub fn new() -> Child {
6402 ::std::default::Default::default()
6403 }
6404
6405 pub fn publishedfileid(&self) -> u64 {
6408 self.publishedfileid.unwrap_or(0)
6409 }
6410
6411 pub fn clear_publishedfileid(&mut self) {
6412 self.publishedfileid = ::std::option::Option::None;
6413 }
6414
6415 pub fn has_publishedfileid(&self) -> bool {
6416 self.publishedfileid.is_some()
6417 }
6418
6419 pub fn set_publishedfileid(&mut self, v: u64) {
6421 self.publishedfileid = ::std::option::Option::Some(v);
6422 }
6423
6424 pub fn sortorder(&self) -> u32 {
6427 self.sortorder.unwrap_or(0)
6428 }
6429
6430 pub fn clear_sortorder(&mut self) {
6431 self.sortorder = ::std::option::Option::None;
6432 }
6433
6434 pub fn has_sortorder(&self) -> bool {
6435 self.sortorder.is_some()
6436 }
6437
6438 pub fn set_sortorder(&mut self, v: u32) {
6440 self.sortorder = ::std::option::Option::Some(v);
6441 }
6442
6443 pub fn file_type(&self) -> u32 {
6446 self.file_type.unwrap_or(0)
6447 }
6448
6449 pub fn clear_file_type(&mut self) {
6450 self.file_type = ::std::option::Option::None;
6451 }
6452
6453 pub fn has_file_type(&self) -> bool {
6454 self.file_type.is_some()
6455 }
6456
6457 pub fn set_file_type(&mut self, v: u32) {
6459 self.file_type = ::std::option::Option::Some(v);
6460 }
6461 }
6462
6463 impl ::steam_vent_proto_common::protobuf::Message for Child {
6464 const NAME: &'static str = "Child";
6465
6466 fn is_initialized(&self) -> bool {
6467 true
6468 }
6469
6470 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6471 while let Some(tag) = is.read_raw_tag_or_eof()? {
6472 match tag {
6473 8 => {
6474 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
6475 },
6476 16 => {
6477 self.sortorder = ::std::option::Option::Some(is.read_uint32()?);
6478 },
6479 24 => {
6480 self.file_type = ::std::option::Option::Some(is.read_uint32()?);
6481 },
6482 tag => {
6483 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6484 },
6485 };
6486 }
6487 ::std::result::Result::Ok(())
6488 }
6489
6490 #[allow(unused_variables)]
6492 fn compute_size(&self) -> u64 {
6493 let mut my_size = 0;
6494 if let Some(v) = self.publishedfileid {
6495 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
6496 }
6497 if let Some(v) = self.sortorder {
6498 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
6499 }
6500 if let Some(v) = self.file_type {
6501 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
6502 }
6503 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6504 self.special_fields.cached_size().set(my_size as u32);
6505 my_size
6506 }
6507
6508 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6509 if let Some(v) = self.publishedfileid {
6510 os.write_uint64(1, v)?;
6511 }
6512 if let Some(v) = self.sortorder {
6513 os.write_uint32(2, v)?;
6514 }
6515 if let Some(v) = self.file_type {
6516 os.write_uint32(3, v)?;
6517 }
6518 os.write_unknown_fields(self.special_fields.unknown_fields())?;
6519 ::std::result::Result::Ok(())
6520 }
6521
6522 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6523 &self.special_fields
6524 }
6525
6526 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6527 &mut self.special_fields
6528 }
6529
6530 fn new() -> Child {
6531 Child::new()
6532 }
6533
6534 fn clear(&mut self) {
6535 self.publishedfileid = ::std::option::Option::None;
6536 self.sortorder = ::std::option::Option::None;
6537 self.file_type = ::std::option::Option::None;
6538 self.special_fields.clear();
6539 }
6540
6541 fn default_instance() -> &'static Child {
6542 static instance: Child = Child {
6543 publishedfileid: ::std::option::Option::None,
6544 sortorder: ::std::option::Option::None,
6545 file_type: ::std::option::Option::None,
6546 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6547 };
6548 &instance
6549 }
6550 }
6551
6552 #[derive(PartialEq,Clone,Default,Debug)]
6554 pub struct KVTag {
6555 pub key: ::std::option::Option<::std::string::String>,
6558 pub value: ::std::option::Option<::std::string::String>,
6560 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6563 }
6564
6565 impl<'a> ::std::default::Default for &'a KVTag {
6566 fn default() -> &'a KVTag {
6567 <KVTag as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6568 }
6569 }
6570
6571 impl KVTag {
6572 pub fn new() -> KVTag {
6573 ::std::default::Default::default()
6574 }
6575
6576 pub fn key(&self) -> &str {
6579 match self.key.as_ref() {
6580 Some(v) => v,
6581 None => "",
6582 }
6583 }
6584
6585 pub fn clear_key(&mut self) {
6586 self.key = ::std::option::Option::None;
6587 }
6588
6589 pub fn has_key(&self) -> bool {
6590 self.key.is_some()
6591 }
6592
6593 pub fn set_key(&mut self, v: ::std::string::String) {
6595 self.key = ::std::option::Option::Some(v);
6596 }
6597
6598 pub fn mut_key(&mut self) -> &mut ::std::string::String {
6601 if self.key.is_none() {
6602 self.key = ::std::option::Option::Some(::std::string::String::new());
6603 }
6604 self.key.as_mut().unwrap()
6605 }
6606
6607 pub fn take_key(&mut self) -> ::std::string::String {
6609 self.key.take().unwrap_or_else(|| ::std::string::String::new())
6610 }
6611
6612 pub fn value(&self) -> &str {
6615 match self.value.as_ref() {
6616 Some(v) => v,
6617 None => "",
6618 }
6619 }
6620
6621 pub fn clear_value(&mut self) {
6622 self.value = ::std::option::Option::None;
6623 }
6624
6625 pub fn has_value(&self) -> bool {
6626 self.value.is_some()
6627 }
6628
6629 pub fn set_value(&mut self, v: ::std::string::String) {
6631 self.value = ::std::option::Option::Some(v);
6632 }
6633
6634 pub fn mut_value(&mut self) -> &mut ::std::string::String {
6637 if self.value.is_none() {
6638 self.value = ::std::option::Option::Some(::std::string::String::new());
6639 }
6640 self.value.as_mut().unwrap()
6641 }
6642
6643 pub fn take_value(&mut self) -> ::std::string::String {
6645 self.value.take().unwrap_or_else(|| ::std::string::String::new())
6646 }
6647 }
6648
6649 impl ::steam_vent_proto_common::protobuf::Message for KVTag {
6650 const NAME: &'static str = "KVTag";
6651
6652 fn is_initialized(&self) -> bool {
6653 true
6654 }
6655
6656 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6657 while let Some(tag) = is.read_raw_tag_or_eof()? {
6658 match tag {
6659 10 => {
6660 self.key = ::std::option::Option::Some(is.read_string()?);
6661 },
6662 18 => {
6663 self.value = ::std::option::Option::Some(is.read_string()?);
6664 },
6665 tag => {
6666 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6667 },
6668 };
6669 }
6670 ::std::result::Result::Ok(())
6671 }
6672
6673 #[allow(unused_variables)]
6675 fn compute_size(&self) -> u64 {
6676 let mut my_size = 0;
6677 if let Some(v) = self.key.as_ref() {
6678 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
6679 }
6680 if let Some(v) = self.value.as_ref() {
6681 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
6682 }
6683 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6684 self.special_fields.cached_size().set(my_size as u32);
6685 my_size
6686 }
6687
6688 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6689 if let Some(v) = self.key.as_ref() {
6690 os.write_string(1, v)?;
6691 }
6692 if let Some(v) = self.value.as_ref() {
6693 os.write_string(2, v)?;
6694 }
6695 os.write_unknown_fields(self.special_fields.unknown_fields())?;
6696 ::std::result::Result::Ok(())
6697 }
6698
6699 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6700 &self.special_fields
6701 }
6702
6703 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6704 &mut self.special_fields
6705 }
6706
6707 fn new() -> KVTag {
6708 KVTag::new()
6709 }
6710
6711 fn clear(&mut self) {
6712 self.key = ::std::option::Option::None;
6713 self.value = ::std::option::Option::None;
6714 self.special_fields.clear();
6715 }
6716
6717 fn default_instance() -> &'static KVTag {
6718 static instance: KVTag = KVTag {
6719 key: ::std::option::Option::None,
6720 value: ::std::option::Option::None,
6721 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6722 };
6723 &instance
6724 }
6725 }
6726
6727 #[derive(PartialEq,Clone,Default,Debug)]
6729 pub struct VoteData {
6730 pub score: ::std::option::Option<f32>,
6733 pub votes_up: ::std::option::Option<u32>,
6735 pub votes_down: ::std::option::Option<u32>,
6737 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6740 }
6741
6742 impl<'a> ::std::default::Default for &'a VoteData {
6743 fn default() -> &'a VoteData {
6744 <VoteData as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6745 }
6746 }
6747
6748 impl VoteData {
6749 pub fn new() -> VoteData {
6750 ::std::default::Default::default()
6751 }
6752
6753 pub fn score(&self) -> f32 {
6756 self.score.unwrap_or(0.)
6757 }
6758
6759 pub fn clear_score(&mut self) {
6760 self.score = ::std::option::Option::None;
6761 }
6762
6763 pub fn has_score(&self) -> bool {
6764 self.score.is_some()
6765 }
6766
6767 pub fn set_score(&mut self, v: f32) {
6769 self.score = ::std::option::Option::Some(v);
6770 }
6771
6772 pub fn votes_up(&self) -> u32 {
6775 self.votes_up.unwrap_or(0)
6776 }
6777
6778 pub fn clear_votes_up(&mut self) {
6779 self.votes_up = ::std::option::Option::None;
6780 }
6781
6782 pub fn has_votes_up(&self) -> bool {
6783 self.votes_up.is_some()
6784 }
6785
6786 pub fn set_votes_up(&mut self, v: u32) {
6788 self.votes_up = ::std::option::Option::Some(v);
6789 }
6790
6791 pub fn votes_down(&self) -> u32 {
6794 self.votes_down.unwrap_or(0)
6795 }
6796
6797 pub fn clear_votes_down(&mut self) {
6798 self.votes_down = ::std::option::Option::None;
6799 }
6800
6801 pub fn has_votes_down(&self) -> bool {
6802 self.votes_down.is_some()
6803 }
6804
6805 pub fn set_votes_down(&mut self, v: u32) {
6807 self.votes_down = ::std::option::Option::Some(v);
6808 }
6809 }
6810
6811 impl ::steam_vent_proto_common::protobuf::Message for VoteData {
6812 const NAME: &'static str = "VoteData";
6813
6814 fn is_initialized(&self) -> bool {
6815 true
6816 }
6817
6818 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6819 while let Some(tag) = is.read_raw_tag_or_eof()? {
6820 match tag {
6821 13 => {
6822 self.score = ::std::option::Option::Some(is.read_float()?);
6823 },
6824 16 => {
6825 self.votes_up = ::std::option::Option::Some(is.read_uint32()?);
6826 },
6827 24 => {
6828 self.votes_down = ::std::option::Option::Some(is.read_uint32()?);
6829 },
6830 tag => {
6831 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
6832 },
6833 };
6834 }
6835 ::std::result::Result::Ok(())
6836 }
6837
6838 #[allow(unused_variables)]
6840 fn compute_size(&self) -> u64 {
6841 let mut my_size = 0;
6842 if let Some(v) = self.score {
6843 my_size += 1 + 4;
6844 }
6845 if let Some(v) = self.votes_up {
6846 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
6847 }
6848 if let Some(v) = self.votes_down {
6849 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
6850 }
6851 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
6852 self.special_fields.cached_size().set(my_size as u32);
6853 my_size
6854 }
6855
6856 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
6857 if let Some(v) = self.score {
6858 os.write_float(1, v)?;
6859 }
6860 if let Some(v) = self.votes_up {
6861 os.write_uint32(2, v)?;
6862 }
6863 if let Some(v) = self.votes_down {
6864 os.write_uint32(3, v)?;
6865 }
6866 os.write_unknown_fields(self.special_fields.unknown_fields())?;
6867 ::std::result::Result::Ok(())
6868 }
6869
6870 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
6871 &self.special_fields
6872 }
6873
6874 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
6875 &mut self.special_fields
6876 }
6877
6878 fn new() -> VoteData {
6879 VoteData::new()
6880 }
6881
6882 fn clear(&mut self) {
6883 self.score = ::std::option::Option::None;
6884 self.votes_up = ::std::option::Option::None;
6885 self.votes_down = ::std::option::Option::None;
6886 self.special_fields.clear();
6887 }
6888
6889 fn default_instance() -> &'static VoteData {
6890 static instance: VoteData = VoteData {
6891 score: ::std::option::Option::None,
6892 votes_up: ::std::option::Option::None,
6893 votes_down: ::std::option::Option::None,
6894 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
6895 };
6896 &instance
6897 }
6898 }
6899
6900 #[derive(PartialEq,Clone,Default,Debug)]
6902 pub struct ForSaleData {
6903 pub is_for_sale: ::std::option::Option<bool>,
6906 pub price_category: ::std::option::Option<u32>,
6908 pub estatus: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::EPublishedFileForSaleStatus>>,
6910 pub price_category_floor: ::std::option::Option<u32>,
6912 pub price_is_pay_what_you_want: ::std::option::Option<bool>,
6914 pub discount_percentage: ::std::option::Option<u32>,
6916 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
6919 }
6920
6921 impl<'a> ::std::default::Default for &'a ForSaleData {
6922 fn default() -> &'a ForSaleData {
6923 <ForSaleData as ::steam_vent_proto_common::protobuf::Message>::default_instance()
6924 }
6925 }
6926
6927 impl ForSaleData {
6928 pub fn new() -> ForSaleData {
6929 ::std::default::Default::default()
6930 }
6931
6932 pub fn is_for_sale(&self) -> bool {
6935 self.is_for_sale.unwrap_or(false)
6936 }
6937
6938 pub fn clear_is_for_sale(&mut self) {
6939 self.is_for_sale = ::std::option::Option::None;
6940 }
6941
6942 pub fn has_is_for_sale(&self) -> bool {
6943 self.is_for_sale.is_some()
6944 }
6945
6946 pub fn set_is_for_sale(&mut self, v: bool) {
6948 self.is_for_sale = ::std::option::Option::Some(v);
6949 }
6950
6951 pub fn price_category(&self) -> u32 {
6954 self.price_category.unwrap_or(0)
6955 }
6956
6957 pub fn clear_price_category(&mut self) {
6958 self.price_category = ::std::option::Option::None;
6959 }
6960
6961 pub fn has_price_category(&self) -> bool {
6962 self.price_category.is_some()
6963 }
6964
6965 pub fn set_price_category(&mut self, v: u32) {
6967 self.price_category = ::std::option::Option::Some(v);
6968 }
6969
6970 pub fn estatus(&self) -> super::EPublishedFileForSaleStatus {
6973 match self.estatus {
6974 Some(e) => e.enum_value_or(super::EPublishedFileForSaleStatus::k_PFFSS_NotForSale),
6975 None => super::EPublishedFileForSaleStatus::k_PFFSS_NotForSale,
6976 }
6977 }
6978
6979 pub fn clear_estatus(&mut self) {
6980 self.estatus = ::std::option::Option::None;
6981 }
6982
6983 pub fn has_estatus(&self) -> bool {
6984 self.estatus.is_some()
6985 }
6986
6987 pub fn set_estatus(&mut self, v: super::EPublishedFileForSaleStatus) {
6989 self.estatus = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
6990 }
6991
6992 pub fn price_category_floor(&self) -> u32 {
6995 self.price_category_floor.unwrap_or(0)
6996 }
6997
6998 pub fn clear_price_category_floor(&mut self) {
6999 self.price_category_floor = ::std::option::Option::None;
7000 }
7001
7002 pub fn has_price_category_floor(&self) -> bool {
7003 self.price_category_floor.is_some()
7004 }
7005
7006 pub fn set_price_category_floor(&mut self, v: u32) {
7008 self.price_category_floor = ::std::option::Option::Some(v);
7009 }
7010
7011 pub fn price_is_pay_what_you_want(&self) -> bool {
7014 self.price_is_pay_what_you_want.unwrap_or(false)
7015 }
7016
7017 pub fn clear_price_is_pay_what_you_want(&mut self) {
7018 self.price_is_pay_what_you_want = ::std::option::Option::None;
7019 }
7020
7021 pub fn has_price_is_pay_what_you_want(&self) -> bool {
7022 self.price_is_pay_what_you_want.is_some()
7023 }
7024
7025 pub fn set_price_is_pay_what_you_want(&mut self, v: bool) {
7027 self.price_is_pay_what_you_want = ::std::option::Option::Some(v);
7028 }
7029
7030 pub fn discount_percentage(&self) -> u32 {
7033 self.discount_percentage.unwrap_or(0)
7034 }
7035
7036 pub fn clear_discount_percentage(&mut self) {
7037 self.discount_percentage = ::std::option::Option::None;
7038 }
7039
7040 pub fn has_discount_percentage(&self) -> bool {
7041 self.discount_percentage.is_some()
7042 }
7043
7044 pub fn set_discount_percentage(&mut self, v: u32) {
7046 self.discount_percentage = ::std::option::Option::Some(v);
7047 }
7048 }
7049
7050 impl ::steam_vent_proto_common::protobuf::Message for ForSaleData {
7051 const NAME: &'static str = "ForSaleData";
7052
7053 fn is_initialized(&self) -> bool {
7054 true
7055 }
7056
7057 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7058 while let Some(tag) = is.read_raw_tag_or_eof()? {
7059 match tag {
7060 8 => {
7061 self.is_for_sale = ::std::option::Option::Some(is.read_bool()?);
7062 },
7063 16 => {
7064 self.price_category = ::std::option::Option::Some(is.read_uint32()?);
7065 },
7066 24 => {
7067 self.estatus = ::std::option::Option::Some(is.read_enum_or_unknown()?);
7068 },
7069 32 => {
7070 self.price_category_floor = ::std::option::Option::Some(is.read_uint32()?);
7071 },
7072 40 => {
7073 self.price_is_pay_what_you_want = ::std::option::Option::Some(is.read_bool()?);
7074 },
7075 48 => {
7076 self.discount_percentage = ::std::option::Option::Some(is.read_uint32()?);
7077 },
7078 tag => {
7079 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7080 },
7081 };
7082 }
7083 ::std::result::Result::Ok(())
7084 }
7085
7086 #[allow(unused_variables)]
7088 fn compute_size(&self) -> u64 {
7089 let mut my_size = 0;
7090 if let Some(v) = self.is_for_sale {
7091 my_size += 1 + 1;
7092 }
7093 if let Some(v) = self.price_category {
7094 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
7095 }
7096 if let Some(v) = self.estatus {
7097 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v.value());
7098 }
7099 if let Some(v) = self.price_category_floor {
7100 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
7101 }
7102 if let Some(v) = self.price_is_pay_what_you_want {
7103 my_size += 1 + 1;
7104 }
7105 if let Some(v) = self.discount_percentage {
7106 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
7107 }
7108 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7109 self.special_fields.cached_size().set(my_size as u32);
7110 my_size
7111 }
7112
7113 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7114 if let Some(v) = self.is_for_sale {
7115 os.write_bool(1, v)?;
7116 }
7117 if let Some(v) = self.price_category {
7118 os.write_uint32(2, v)?;
7119 }
7120 if let Some(v) = self.estatus {
7121 os.write_enum(3, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
7122 }
7123 if let Some(v) = self.price_category_floor {
7124 os.write_uint32(4, v)?;
7125 }
7126 if let Some(v) = self.price_is_pay_what_you_want {
7127 os.write_bool(5, v)?;
7128 }
7129 if let Some(v) = self.discount_percentage {
7130 os.write_uint32(6, v)?;
7131 }
7132 os.write_unknown_fields(self.special_fields.unknown_fields())?;
7133 ::std::result::Result::Ok(())
7134 }
7135
7136 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7137 &self.special_fields
7138 }
7139
7140 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7141 &mut self.special_fields
7142 }
7143
7144 fn new() -> ForSaleData {
7145 ForSaleData::new()
7146 }
7147
7148 fn clear(&mut self) {
7149 self.is_for_sale = ::std::option::Option::None;
7150 self.price_category = ::std::option::Option::None;
7151 self.estatus = ::std::option::Option::None;
7152 self.price_category_floor = ::std::option::Option::None;
7153 self.price_is_pay_what_you_want = ::std::option::Option::None;
7154 self.discount_percentage = ::std::option::Option::None;
7155 self.special_fields.clear();
7156 }
7157
7158 fn default_instance() -> &'static ForSaleData {
7159 static instance: ForSaleData = ForSaleData {
7160 is_for_sale: ::std::option::Option::None,
7161 price_category: ::std::option::Option::None,
7162 estatus: ::std::option::Option::None,
7163 price_category_floor: ::std::option::Option::None,
7164 price_is_pay_what_you_want: ::std::option::Option::None,
7165 discount_percentage: ::std::option::Option::None,
7166 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7167 };
7168 &instance
7169 }
7170 }
7171
7172 #[derive(PartialEq,Clone,Default,Debug)]
7174 pub struct PlaytimeStats {
7175 pub playtime_seconds: ::std::option::Option<u64>,
7178 pub num_sessions: ::std::option::Option<u64>,
7180 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7183 }
7184
7185 impl<'a> ::std::default::Default for &'a PlaytimeStats {
7186 fn default() -> &'a PlaytimeStats {
7187 <PlaytimeStats as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7188 }
7189 }
7190
7191 impl PlaytimeStats {
7192 pub fn new() -> PlaytimeStats {
7193 ::std::default::Default::default()
7194 }
7195
7196 pub fn playtime_seconds(&self) -> u64 {
7199 self.playtime_seconds.unwrap_or(0)
7200 }
7201
7202 pub fn clear_playtime_seconds(&mut self) {
7203 self.playtime_seconds = ::std::option::Option::None;
7204 }
7205
7206 pub fn has_playtime_seconds(&self) -> bool {
7207 self.playtime_seconds.is_some()
7208 }
7209
7210 pub fn set_playtime_seconds(&mut self, v: u64) {
7212 self.playtime_seconds = ::std::option::Option::Some(v);
7213 }
7214
7215 pub fn num_sessions(&self) -> u64 {
7218 self.num_sessions.unwrap_or(0)
7219 }
7220
7221 pub fn clear_num_sessions(&mut self) {
7222 self.num_sessions = ::std::option::Option::None;
7223 }
7224
7225 pub fn has_num_sessions(&self) -> bool {
7226 self.num_sessions.is_some()
7227 }
7228
7229 pub fn set_num_sessions(&mut self, v: u64) {
7231 self.num_sessions = ::std::option::Option::Some(v);
7232 }
7233 }
7234
7235 impl ::steam_vent_proto_common::protobuf::Message for PlaytimeStats {
7236 const NAME: &'static str = "PlaytimeStats";
7237
7238 fn is_initialized(&self) -> bool {
7239 true
7240 }
7241
7242 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7243 while let Some(tag) = is.read_raw_tag_or_eof()? {
7244 match tag {
7245 8 => {
7246 self.playtime_seconds = ::std::option::Option::Some(is.read_uint64()?);
7247 },
7248 16 => {
7249 self.num_sessions = ::std::option::Option::Some(is.read_uint64()?);
7250 },
7251 tag => {
7252 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7253 },
7254 };
7255 }
7256 ::std::result::Result::Ok(())
7257 }
7258
7259 #[allow(unused_variables)]
7261 fn compute_size(&self) -> u64 {
7262 let mut my_size = 0;
7263 if let Some(v) = self.playtime_seconds {
7264 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
7265 }
7266 if let Some(v) = self.num_sessions {
7267 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
7268 }
7269 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7270 self.special_fields.cached_size().set(my_size as u32);
7271 my_size
7272 }
7273
7274 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7275 if let Some(v) = self.playtime_seconds {
7276 os.write_uint64(1, v)?;
7277 }
7278 if let Some(v) = self.num_sessions {
7279 os.write_uint64(2, v)?;
7280 }
7281 os.write_unknown_fields(self.special_fields.unknown_fields())?;
7282 ::std::result::Result::Ok(())
7283 }
7284
7285 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7286 &self.special_fields
7287 }
7288
7289 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7290 &mut self.special_fields
7291 }
7292
7293 fn new() -> PlaytimeStats {
7294 PlaytimeStats::new()
7295 }
7296
7297 fn clear(&mut self) {
7298 self.playtime_seconds = ::std::option::Option::None;
7299 self.num_sessions = ::std::option::Option::None;
7300 self.special_fields.clear();
7301 }
7302
7303 fn default_instance() -> &'static PlaytimeStats {
7304 static instance: PlaytimeStats = PlaytimeStats {
7305 playtime_seconds: ::std::option::Option::None,
7306 num_sessions: ::std::option::Option::None,
7307 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7308 };
7309 &instance
7310 }
7311 }
7312
7313 #[derive(PartialEq,Clone,Default,Debug)]
7315 pub struct Reaction {
7316 pub reactionid: ::std::option::Option<u32>,
7319 pub count: ::std::option::Option<u32>,
7321 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7324 }
7325
7326 impl<'a> ::std::default::Default for &'a Reaction {
7327 fn default() -> &'a Reaction {
7328 <Reaction as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7329 }
7330 }
7331
7332 impl Reaction {
7333 pub fn new() -> Reaction {
7334 ::std::default::Default::default()
7335 }
7336
7337 pub fn reactionid(&self) -> u32 {
7340 self.reactionid.unwrap_or(0)
7341 }
7342
7343 pub fn clear_reactionid(&mut self) {
7344 self.reactionid = ::std::option::Option::None;
7345 }
7346
7347 pub fn has_reactionid(&self) -> bool {
7348 self.reactionid.is_some()
7349 }
7350
7351 pub fn set_reactionid(&mut self, v: u32) {
7353 self.reactionid = ::std::option::Option::Some(v);
7354 }
7355
7356 pub fn count(&self) -> u32 {
7359 self.count.unwrap_or(0)
7360 }
7361
7362 pub fn clear_count(&mut self) {
7363 self.count = ::std::option::Option::None;
7364 }
7365
7366 pub fn has_count(&self) -> bool {
7367 self.count.is_some()
7368 }
7369
7370 pub fn set_count(&mut self, v: u32) {
7372 self.count = ::std::option::Option::Some(v);
7373 }
7374 }
7375
7376 impl ::steam_vent_proto_common::protobuf::Message for Reaction {
7377 const NAME: &'static str = "Reaction";
7378
7379 fn is_initialized(&self) -> bool {
7380 true
7381 }
7382
7383 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7384 while let Some(tag) = is.read_raw_tag_or_eof()? {
7385 match tag {
7386 8 => {
7387 self.reactionid = ::std::option::Option::Some(is.read_uint32()?);
7388 },
7389 16 => {
7390 self.count = ::std::option::Option::Some(is.read_uint32()?);
7391 },
7392 tag => {
7393 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7394 },
7395 };
7396 }
7397 ::std::result::Result::Ok(())
7398 }
7399
7400 #[allow(unused_variables)]
7402 fn compute_size(&self) -> u64 {
7403 let mut my_size = 0;
7404 if let Some(v) = self.reactionid {
7405 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
7406 }
7407 if let Some(v) = self.count {
7408 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
7409 }
7410 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7411 self.special_fields.cached_size().set(my_size as u32);
7412 my_size
7413 }
7414
7415 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7416 if let Some(v) = self.reactionid {
7417 os.write_uint32(1, v)?;
7418 }
7419 if let Some(v) = self.count {
7420 os.write_uint32(2, v)?;
7421 }
7422 os.write_unknown_fields(self.special_fields.unknown_fields())?;
7423 ::std::result::Result::Ok(())
7424 }
7425
7426 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7427 &self.special_fields
7428 }
7429
7430 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7431 &mut self.special_fields
7432 }
7433
7434 fn new() -> Reaction {
7435 Reaction::new()
7436 }
7437
7438 fn clear(&mut self) {
7439 self.reactionid = ::std::option::Option::None;
7440 self.count = ::std::option::Option::None;
7441 self.special_fields.clear();
7442 }
7443
7444 fn default_instance() -> &'static Reaction {
7445 static instance: Reaction = Reaction {
7446 reactionid: ::std::option::Option::None,
7447 count: ::std::option::Option::None,
7448 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7449 };
7450 &instance
7451 }
7452 }
7453}
7454
7455#[derive(PartialEq,Clone,Default,Debug)]
7457pub struct CPublishedFile_GetDetails_Response {
7458 pub publishedfiledetails: ::std::vec::Vec<PublishedFileDetails>,
7461 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7464}
7465
7466impl<'a> ::std::default::Default for &'a CPublishedFile_GetDetails_Response {
7467 fn default() -> &'a CPublishedFile_GetDetails_Response {
7468 <CPublishedFile_GetDetails_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7469 }
7470}
7471
7472impl CPublishedFile_GetDetails_Response {
7473 pub fn new() -> CPublishedFile_GetDetails_Response {
7474 ::std::default::Default::default()
7475 }
7476}
7477
7478impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetDetails_Response {
7479 const NAME: &'static str = "CPublishedFile_GetDetails_Response";
7480
7481 fn is_initialized(&self) -> bool {
7482 true
7483 }
7484
7485 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7486 while let Some(tag) = is.read_raw_tag_or_eof()? {
7487 match tag {
7488 10 => {
7489 self.publishedfiledetails.push(is.read_message()?);
7490 },
7491 tag => {
7492 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7493 },
7494 };
7495 }
7496 ::std::result::Result::Ok(())
7497 }
7498
7499 #[allow(unused_variables)]
7501 fn compute_size(&self) -> u64 {
7502 let mut my_size = 0;
7503 for value in &self.publishedfiledetails {
7504 let len = value.compute_size();
7505 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
7506 };
7507 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7508 self.special_fields.cached_size().set(my_size as u32);
7509 my_size
7510 }
7511
7512 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7513 for v in &self.publishedfiledetails {
7514 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
7515 };
7516 os.write_unknown_fields(self.special_fields.unknown_fields())?;
7517 ::std::result::Result::Ok(())
7518 }
7519
7520 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7521 &self.special_fields
7522 }
7523
7524 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7525 &mut self.special_fields
7526 }
7527
7528 fn new() -> CPublishedFile_GetDetails_Response {
7529 CPublishedFile_GetDetails_Response::new()
7530 }
7531
7532 fn clear(&mut self) {
7533 self.publishedfiledetails.clear();
7534 self.special_fields.clear();
7535 }
7536
7537 fn default_instance() -> &'static CPublishedFile_GetDetails_Response {
7538 static instance: CPublishedFile_GetDetails_Response = CPublishedFile_GetDetails_Response {
7539 publishedfiledetails: ::std::vec::Vec::new(),
7540 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7541 };
7542 &instance
7543 }
7544}
7545
7546#[derive(PartialEq,Clone,Default,Debug)]
7548pub struct CPublishedFile_GetItemInfo_Request {
7549 pub appid: ::std::option::Option<u32>,
7552 pub last_time_updated: ::std::option::Option<u32>,
7554 pub workshop_items: ::std::vec::Vec<cpublished_file_get_item_info_request::WorkshopItem>,
7556 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7559}
7560
7561impl<'a> ::std::default::Default for &'a CPublishedFile_GetItemInfo_Request {
7562 fn default() -> &'a CPublishedFile_GetItemInfo_Request {
7563 <CPublishedFile_GetItemInfo_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7564 }
7565}
7566
7567impl CPublishedFile_GetItemInfo_Request {
7568 pub fn new() -> CPublishedFile_GetItemInfo_Request {
7569 ::std::default::Default::default()
7570 }
7571
7572 pub fn appid(&self) -> u32 {
7575 self.appid.unwrap_or(0)
7576 }
7577
7578 pub fn clear_appid(&mut self) {
7579 self.appid = ::std::option::Option::None;
7580 }
7581
7582 pub fn has_appid(&self) -> bool {
7583 self.appid.is_some()
7584 }
7585
7586 pub fn set_appid(&mut self, v: u32) {
7588 self.appid = ::std::option::Option::Some(v);
7589 }
7590
7591 pub fn last_time_updated(&self) -> u32 {
7594 self.last_time_updated.unwrap_or(0)
7595 }
7596
7597 pub fn clear_last_time_updated(&mut self) {
7598 self.last_time_updated = ::std::option::Option::None;
7599 }
7600
7601 pub fn has_last_time_updated(&self) -> bool {
7602 self.last_time_updated.is_some()
7603 }
7604
7605 pub fn set_last_time_updated(&mut self, v: u32) {
7607 self.last_time_updated = ::std::option::Option::Some(v);
7608 }
7609}
7610
7611impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetItemInfo_Request {
7612 const NAME: &'static str = "CPublishedFile_GetItemInfo_Request";
7613
7614 fn is_initialized(&self) -> bool {
7615 true
7616 }
7617
7618 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7619 while let Some(tag) = is.read_raw_tag_or_eof()? {
7620 match tag {
7621 8 => {
7622 self.appid = ::std::option::Option::Some(is.read_uint32()?);
7623 },
7624 16 => {
7625 self.last_time_updated = ::std::option::Option::Some(is.read_uint32()?);
7626 },
7627 26 => {
7628 self.workshop_items.push(is.read_message()?);
7629 },
7630 tag => {
7631 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7632 },
7633 };
7634 }
7635 ::std::result::Result::Ok(())
7636 }
7637
7638 #[allow(unused_variables)]
7640 fn compute_size(&self) -> u64 {
7641 let mut my_size = 0;
7642 if let Some(v) = self.appid {
7643 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
7644 }
7645 if let Some(v) = self.last_time_updated {
7646 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
7647 }
7648 for value in &self.workshop_items {
7649 let len = value.compute_size();
7650 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
7651 };
7652 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7653 self.special_fields.cached_size().set(my_size as u32);
7654 my_size
7655 }
7656
7657 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7658 if let Some(v) = self.appid {
7659 os.write_uint32(1, v)?;
7660 }
7661 if let Some(v) = self.last_time_updated {
7662 os.write_uint32(2, v)?;
7663 }
7664 for v in &self.workshop_items {
7665 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
7666 };
7667 os.write_unknown_fields(self.special_fields.unknown_fields())?;
7668 ::std::result::Result::Ok(())
7669 }
7670
7671 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7672 &self.special_fields
7673 }
7674
7675 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7676 &mut self.special_fields
7677 }
7678
7679 fn new() -> CPublishedFile_GetItemInfo_Request {
7680 CPublishedFile_GetItemInfo_Request::new()
7681 }
7682
7683 fn clear(&mut self) {
7684 self.appid = ::std::option::Option::None;
7685 self.last_time_updated = ::std::option::Option::None;
7686 self.workshop_items.clear();
7687 self.special_fields.clear();
7688 }
7689
7690 fn default_instance() -> &'static CPublishedFile_GetItemInfo_Request {
7691 static instance: CPublishedFile_GetItemInfo_Request = CPublishedFile_GetItemInfo_Request {
7692 appid: ::std::option::Option::None,
7693 last_time_updated: ::std::option::Option::None,
7694 workshop_items: ::std::vec::Vec::new(),
7695 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7696 };
7697 &instance
7698 }
7699}
7700
7701pub mod cpublished_file_get_item_info_request {
7703 #[derive(PartialEq,Clone,Default,Debug)]
7705 pub struct WorkshopItem {
7706 pub published_file_id: ::std::option::Option<u64>,
7709 pub time_updated: ::std::option::Option<u32>,
7711 pub desired_revision: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::EPublishedFileRevision>>,
7713 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7716 }
7717
7718 impl<'a> ::std::default::Default for &'a WorkshopItem {
7719 fn default() -> &'a WorkshopItem {
7720 <WorkshopItem as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7721 }
7722 }
7723
7724 impl WorkshopItem {
7725 pub fn new() -> WorkshopItem {
7726 ::std::default::Default::default()
7727 }
7728
7729 pub fn published_file_id(&self) -> u64 {
7732 self.published_file_id.unwrap_or(0)
7733 }
7734
7735 pub fn clear_published_file_id(&mut self) {
7736 self.published_file_id = ::std::option::Option::None;
7737 }
7738
7739 pub fn has_published_file_id(&self) -> bool {
7740 self.published_file_id.is_some()
7741 }
7742
7743 pub fn set_published_file_id(&mut self, v: u64) {
7745 self.published_file_id = ::std::option::Option::Some(v);
7746 }
7747
7748 pub fn time_updated(&self) -> u32 {
7751 self.time_updated.unwrap_or(0)
7752 }
7753
7754 pub fn clear_time_updated(&mut self) {
7755 self.time_updated = ::std::option::Option::None;
7756 }
7757
7758 pub fn has_time_updated(&self) -> bool {
7759 self.time_updated.is_some()
7760 }
7761
7762 pub fn set_time_updated(&mut self, v: u32) {
7764 self.time_updated = ::std::option::Option::Some(v);
7765 }
7766
7767 pub fn desired_revision(&self) -> super::EPublishedFileRevision {
7770 match self.desired_revision {
7771 Some(e) => e.enum_value_or(super::EPublishedFileRevision::k_EPublishedFileRevision_Default),
7772 None => super::EPublishedFileRevision::k_EPublishedFileRevision_Default,
7773 }
7774 }
7775
7776 pub fn clear_desired_revision(&mut self) {
7777 self.desired_revision = ::std::option::Option::None;
7778 }
7779
7780 pub fn has_desired_revision(&self) -> bool {
7781 self.desired_revision.is_some()
7782 }
7783
7784 pub fn set_desired_revision(&mut self, v: super::EPublishedFileRevision) {
7786 self.desired_revision = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
7787 }
7788 }
7789
7790 impl ::steam_vent_proto_common::protobuf::Message for WorkshopItem {
7791 const NAME: &'static str = "WorkshopItem";
7792
7793 fn is_initialized(&self) -> bool {
7794 true
7795 }
7796
7797 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7798 while let Some(tag) = is.read_raw_tag_or_eof()? {
7799 match tag {
7800 9 => {
7801 self.published_file_id = ::std::option::Option::Some(is.read_fixed64()?);
7802 },
7803 16 => {
7804 self.time_updated = ::std::option::Option::Some(is.read_uint32()?);
7805 },
7806 24 => {
7807 self.desired_revision = ::std::option::Option::Some(is.read_enum_or_unknown()?);
7808 },
7809 tag => {
7810 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7811 },
7812 };
7813 }
7814 ::std::result::Result::Ok(())
7815 }
7816
7817 #[allow(unused_variables)]
7819 fn compute_size(&self) -> u64 {
7820 let mut my_size = 0;
7821 if let Some(v) = self.published_file_id {
7822 my_size += 1 + 8;
7823 }
7824 if let Some(v) = self.time_updated {
7825 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
7826 }
7827 if let Some(v) = self.desired_revision {
7828 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v.value());
7829 }
7830 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7831 self.special_fields.cached_size().set(my_size as u32);
7832 my_size
7833 }
7834
7835 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7836 if let Some(v) = self.published_file_id {
7837 os.write_fixed64(1, v)?;
7838 }
7839 if let Some(v) = self.time_updated {
7840 os.write_uint32(2, v)?;
7841 }
7842 if let Some(v) = self.desired_revision {
7843 os.write_enum(3, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
7844 }
7845 os.write_unknown_fields(self.special_fields.unknown_fields())?;
7846 ::std::result::Result::Ok(())
7847 }
7848
7849 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7850 &self.special_fields
7851 }
7852
7853 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7854 &mut self.special_fields
7855 }
7856
7857 fn new() -> WorkshopItem {
7858 WorkshopItem::new()
7859 }
7860
7861 fn clear(&mut self) {
7862 self.published_file_id = ::std::option::Option::None;
7863 self.time_updated = ::std::option::Option::None;
7864 self.desired_revision = ::std::option::Option::None;
7865 self.special_fields.clear();
7866 }
7867
7868 fn default_instance() -> &'static WorkshopItem {
7869 static instance: WorkshopItem = WorkshopItem {
7870 published_file_id: ::std::option::Option::None,
7871 time_updated: ::std::option::Option::None,
7872 desired_revision: ::std::option::Option::None,
7873 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
7874 };
7875 &instance
7876 }
7877 }
7878}
7879
7880#[derive(PartialEq,Clone,Default,Debug)]
7882pub struct CPublishedFile_GetItemInfo_Response {
7883 pub update_time: ::std::option::Option<u32>,
7886 pub workshop_items: ::std::vec::Vec<cpublished_file_get_item_info_response::WorkshopItemInfo>,
7888 pub private_items: ::std::vec::Vec<u64>,
7890 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
7893}
7894
7895impl<'a> ::std::default::Default for &'a CPublishedFile_GetItemInfo_Response {
7896 fn default() -> &'a CPublishedFile_GetItemInfo_Response {
7897 <CPublishedFile_GetItemInfo_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
7898 }
7899}
7900
7901impl CPublishedFile_GetItemInfo_Response {
7902 pub fn new() -> CPublishedFile_GetItemInfo_Response {
7903 ::std::default::Default::default()
7904 }
7905
7906 pub fn update_time(&self) -> u32 {
7909 self.update_time.unwrap_or(0)
7910 }
7911
7912 pub fn clear_update_time(&mut self) {
7913 self.update_time = ::std::option::Option::None;
7914 }
7915
7916 pub fn has_update_time(&self) -> bool {
7917 self.update_time.is_some()
7918 }
7919
7920 pub fn set_update_time(&mut self, v: u32) {
7922 self.update_time = ::std::option::Option::Some(v);
7923 }
7924}
7925
7926impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetItemInfo_Response {
7927 const NAME: &'static str = "CPublishedFile_GetItemInfo_Response";
7928
7929 fn is_initialized(&self) -> bool {
7930 true
7931 }
7932
7933 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7934 while let Some(tag) = is.read_raw_tag_or_eof()? {
7935 match tag {
7936 8 => {
7937 self.update_time = ::std::option::Option::Some(is.read_uint32()?);
7938 },
7939 18 => {
7940 self.workshop_items.push(is.read_message()?);
7941 },
7942 26 => {
7943 is.read_repeated_packed_fixed64_into(&mut self.private_items)?;
7944 },
7945 25 => {
7946 self.private_items.push(is.read_fixed64()?);
7947 },
7948 tag => {
7949 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
7950 },
7951 };
7952 }
7953 ::std::result::Result::Ok(())
7954 }
7955
7956 #[allow(unused_variables)]
7958 fn compute_size(&self) -> u64 {
7959 let mut my_size = 0;
7960 if let Some(v) = self.update_time {
7961 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
7962 }
7963 for value in &self.workshop_items {
7964 let len = value.compute_size();
7965 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
7966 };
7967 my_size += 9 * self.private_items.len() as u64;
7968 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
7969 self.special_fields.cached_size().set(my_size as u32);
7970 my_size
7971 }
7972
7973 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
7974 if let Some(v) = self.update_time {
7975 os.write_uint32(1, v)?;
7976 }
7977 for v in &self.workshop_items {
7978 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
7979 };
7980 for v in &self.private_items {
7981 os.write_fixed64(3, *v)?;
7982 };
7983 os.write_unknown_fields(self.special_fields.unknown_fields())?;
7984 ::std::result::Result::Ok(())
7985 }
7986
7987 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
7988 &self.special_fields
7989 }
7990
7991 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
7992 &mut self.special_fields
7993 }
7994
7995 fn new() -> CPublishedFile_GetItemInfo_Response {
7996 CPublishedFile_GetItemInfo_Response::new()
7997 }
7998
7999 fn clear(&mut self) {
8000 self.update_time = ::std::option::Option::None;
8001 self.workshop_items.clear();
8002 self.private_items.clear();
8003 self.special_fields.clear();
8004 }
8005
8006 fn default_instance() -> &'static CPublishedFile_GetItemInfo_Response {
8007 static instance: CPublishedFile_GetItemInfo_Response = CPublishedFile_GetItemInfo_Response {
8008 update_time: ::std::option::Option::None,
8009 workshop_items: ::std::vec::Vec::new(),
8010 private_items: ::std::vec::Vec::new(),
8011 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8012 };
8013 &instance
8014 }
8015}
8016
8017pub mod cpublished_file_get_item_info_response {
8019 #[derive(PartialEq,Clone,Default,Debug)]
8021 pub struct WorkshopItemInfo {
8022 pub published_file_id: ::std::option::Option<u64>,
8025 pub time_updated: ::std::option::Option<u32>,
8027 pub manifest_id: ::std::option::Option<u64>,
8029 pub flags: ::std::option::Option<u32>,
8031 pub revision: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::EPublishedFileRevision>>,
8033 pub author_snapshots: ::std::vec::Vec<super::PublishedFileAuthorSnapshot>,
8035 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8038 }
8039
8040 impl<'a> ::std::default::Default for &'a WorkshopItemInfo {
8041 fn default() -> &'a WorkshopItemInfo {
8042 <WorkshopItemInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8043 }
8044 }
8045
8046 impl WorkshopItemInfo {
8047 pub fn new() -> WorkshopItemInfo {
8048 ::std::default::Default::default()
8049 }
8050
8051 pub fn published_file_id(&self) -> u64 {
8054 self.published_file_id.unwrap_or(0)
8055 }
8056
8057 pub fn clear_published_file_id(&mut self) {
8058 self.published_file_id = ::std::option::Option::None;
8059 }
8060
8061 pub fn has_published_file_id(&self) -> bool {
8062 self.published_file_id.is_some()
8063 }
8064
8065 pub fn set_published_file_id(&mut self, v: u64) {
8067 self.published_file_id = ::std::option::Option::Some(v);
8068 }
8069
8070 pub fn time_updated(&self) -> u32 {
8073 self.time_updated.unwrap_or(0)
8074 }
8075
8076 pub fn clear_time_updated(&mut self) {
8077 self.time_updated = ::std::option::Option::None;
8078 }
8079
8080 pub fn has_time_updated(&self) -> bool {
8081 self.time_updated.is_some()
8082 }
8083
8084 pub fn set_time_updated(&mut self, v: u32) {
8086 self.time_updated = ::std::option::Option::Some(v);
8087 }
8088
8089 pub fn manifest_id(&self) -> u64 {
8092 self.manifest_id.unwrap_or(0)
8093 }
8094
8095 pub fn clear_manifest_id(&mut self) {
8096 self.manifest_id = ::std::option::Option::None;
8097 }
8098
8099 pub fn has_manifest_id(&self) -> bool {
8100 self.manifest_id.is_some()
8101 }
8102
8103 pub fn set_manifest_id(&mut self, v: u64) {
8105 self.manifest_id = ::std::option::Option::Some(v);
8106 }
8107
8108 pub fn flags(&self) -> u32 {
8111 self.flags.unwrap_or(0)
8112 }
8113
8114 pub fn clear_flags(&mut self) {
8115 self.flags = ::std::option::Option::None;
8116 }
8117
8118 pub fn has_flags(&self) -> bool {
8119 self.flags.is_some()
8120 }
8121
8122 pub fn set_flags(&mut self, v: u32) {
8124 self.flags = ::std::option::Option::Some(v);
8125 }
8126
8127 pub fn revision(&self) -> super::EPublishedFileRevision {
8130 match self.revision {
8131 Some(e) => e.enum_value_or(super::EPublishedFileRevision::k_EPublishedFileRevision_Default),
8132 None => super::EPublishedFileRevision::k_EPublishedFileRevision_Default,
8133 }
8134 }
8135
8136 pub fn clear_revision(&mut self) {
8137 self.revision = ::std::option::Option::None;
8138 }
8139
8140 pub fn has_revision(&self) -> bool {
8141 self.revision.is_some()
8142 }
8143
8144 pub fn set_revision(&mut self, v: super::EPublishedFileRevision) {
8146 self.revision = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
8147 }
8148 }
8149
8150 impl ::steam_vent_proto_common::protobuf::Message for WorkshopItemInfo {
8151 const NAME: &'static str = "WorkshopItemInfo";
8152
8153 fn is_initialized(&self) -> bool {
8154 true
8155 }
8156
8157 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8158 while let Some(tag) = is.read_raw_tag_or_eof()? {
8159 match tag {
8160 9 => {
8161 self.published_file_id = ::std::option::Option::Some(is.read_fixed64()?);
8162 },
8163 16 => {
8164 self.time_updated = ::std::option::Option::Some(is.read_uint32()?);
8165 },
8166 25 => {
8167 self.manifest_id = ::std::option::Option::Some(is.read_fixed64()?);
8168 },
8169 32 => {
8170 self.flags = ::std::option::Option::Some(is.read_uint32()?);
8171 },
8172 40 => {
8173 self.revision = ::std::option::Option::Some(is.read_enum_or_unknown()?);
8174 },
8175 50 => {
8176 self.author_snapshots.push(is.read_message()?);
8177 },
8178 tag => {
8179 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
8180 },
8181 };
8182 }
8183 ::std::result::Result::Ok(())
8184 }
8185
8186 #[allow(unused_variables)]
8188 fn compute_size(&self) -> u64 {
8189 let mut my_size = 0;
8190 if let Some(v) = self.published_file_id {
8191 my_size += 1 + 8;
8192 }
8193 if let Some(v) = self.time_updated {
8194 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
8195 }
8196 if let Some(v) = self.manifest_id {
8197 my_size += 1 + 8;
8198 }
8199 if let Some(v) = self.flags {
8200 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
8201 }
8202 if let Some(v) = self.revision {
8203 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v.value());
8204 }
8205 for value in &self.author_snapshots {
8206 let len = value.compute_size();
8207 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
8208 };
8209 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
8210 self.special_fields.cached_size().set(my_size as u32);
8211 my_size
8212 }
8213
8214 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8215 if let Some(v) = self.published_file_id {
8216 os.write_fixed64(1, v)?;
8217 }
8218 if let Some(v) = self.time_updated {
8219 os.write_uint32(2, v)?;
8220 }
8221 if let Some(v) = self.manifest_id {
8222 os.write_fixed64(3, v)?;
8223 }
8224 if let Some(v) = self.flags {
8225 os.write_uint32(4, v)?;
8226 }
8227 if let Some(v) = self.revision {
8228 os.write_enum(5, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
8229 }
8230 for v in &self.author_snapshots {
8231 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(6, v, os)?;
8232 };
8233 os.write_unknown_fields(self.special_fields.unknown_fields())?;
8234 ::std::result::Result::Ok(())
8235 }
8236
8237 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
8238 &self.special_fields
8239 }
8240
8241 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
8242 &mut self.special_fields
8243 }
8244
8245 fn new() -> WorkshopItemInfo {
8246 WorkshopItemInfo::new()
8247 }
8248
8249 fn clear(&mut self) {
8250 self.published_file_id = ::std::option::Option::None;
8251 self.time_updated = ::std::option::Option::None;
8252 self.manifest_id = ::std::option::Option::None;
8253 self.flags = ::std::option::Option::None;
8254 self.revision = ::std::option::Option::None;
8255 self.author_snapshots.clear();
8256 self.special_fields.clear();
8257 }
8258
8259 fn default_instance() -> &'static WorkshopItemInfo {
8260 static instance: WorkshopItemInfo = WorkshopItemInfo {
8261 published_file_id: ::std::option::Option::None,
8262 time_updated: ::std::option::Option::None,
8263 manifest_id: ::std::option::Option::None,
8264 flags: ::std::option::Option::None,
8265 revision: ::std::option::Option::None,
8266 author_snapshots: ::std::vec::Vec::new(),
8267 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
8268 };
8269 &instance
8270 }
8271 }
8272}
8273
8274#[derive(PartialEq,Clone,Default,Debug)]
8276pub struct CPublishedFile_GetUserFiles_Request {
8277 pub steamid: ::std::option::Option<u64>,
8280 pub appid: ::std::option::Option<u32>,
8282 pub shortcutid: ::std::option::Option<u32>,
8284 pub page: ::std::option::Option<u32>,
8286 pub numperpage: ::std::option::Option<u32>,
8288 pub type_: ::std::option::Option<::std::string::String>,
8290 pub sortmethod: ::std::option::Option<::std::string::String>,
8292 pub privacy: ::std::option::Option<u32>,
8294 pub requiredtags: ::std::vec::Vec<::std::string::String>,
8296 pub excludedtags: ::std::vec::Vec<::std::string::String>,
8298 pub required_kv_tags: ::std::vec::Vec<cpublished_file_get_user_files_request::KVTag>,
8300 pub filetype: ::std::option::Option<u32>,
8302 pub creator_appid: ::std::option::Option<u32>,
8304 pub match_cloud_filename: ::std::option::Option<::std::string::String>,
8306 pub cache_max_age_seconds: ::std::option::Option<u32>,
8308 pub language: ::std::option::Option<i32>,
8310 pub taggroups: ::std::vec::Vec<cpublished_file_get_user_files_request::TagGroup>,
8312 pub excluded_content_descriptors: ::std::vec::Vec<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::enums_productinfo::EContentDescriptorID>>,
8314 pub admin_query: ::std::option::Option<bool>,
8316 pub totalonly: ::std::option::Option<bool>,
8318 pub ids_only: ::std::option::Option<bool>,
8320 pub return_vote_data: ::std::option::Option<bool>,
8322 pub return_tags: ::std::option::Option<bool>,
8324 pub return_kv_tags: ::std::option::Option<bool>,
8326 pub return_previews: ::std::option::Option<bool>,
8328 pub return_children: ::std::option::Option<bool>,
8330 pub return_short_description: ::std::option::Option<bool>,
8332 pub return_for_sale_data: ::std::option::Option<bool>,
8334 pub return_metadata: ::std::option::Option<bool>,
8336 pub return_playtime_stats: ::std::option::Option<u32>,
8338 pub strip_description_bbcode: ::std::option::Option<bool>,
8340 pub return_reactions: ::std::option::Option<bool>,
8342 pub startindex_override: ::std::option::Option<u32>,
8344 pub desired_revision: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EPublishedFileRevision>>,
8346 pub return_apps: ::std::option::Option<bool>,
8348 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
8351}
8352
8353impl<'a> ::std::default::Default for &'a CPublishedFile_GetUserFiles_Request {
8354 fn default() -> &'a CPublishedFile_GetUserFiles_Request {
8355 <CPublishedFile_GetUserFiles_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
8356 }
8357}
8358
8359impl CPublishedFile_GetUserFiles_Request {
8360 pub fn new() -> CPublishedFile_GetUserFiles_Request {
8361 ::std::default::Default::default()
8362 }
8363
8364 pub fn steamid(&self) -> u64 {
8367 self.steamid.unwrap_or(0)
8368 }
8369
8370 pub fn clear_steamid(&mut self) {
8371 self.steamid = ::std::option::Option::None;
8372 }
8373
8374 pub fn has_steamid(&self) -> bool {
8375 self.steamid.is_some()
8376 }
8377
8378 pub fn set_steamid(&mut self, v: u64) {
8380 self.steamid = ::std::option::Option::Some(v);
8381 }
8382
8383 pub fn appid(&self) -> u32 {
8386 self.appid.unwrap_or(0)
8387 }
8388
8389 pub fn clear_appid(&mut self) {
8390 self.appid = ::std::option::Option::None;
8391 }
8392
8393 pub fn has_appid(&self) -> bool {
8394 self.appid.is_some()
8395 }
8396
8397 pub fn set_appid(&mut self, v: u32) {
8399 self.appid = ::std::option::Option::Some(v);
8400 }
8401
8402 pub fn shortcutid(&self) -> u32 {
8405 self.shortcutid.unwrap_or(0)
8406 }
8407
8408 pub fn clear_shortcutid(&mut self) {
8409 self.shortcutid = ::std::option::Option::None;
8410 }
8411
8412 pub fn has_shortcutid(&self) -> bool {
8413 self.shortcutid.is_some()
8414 }
8415
8416 pub fn set_shortcutid(&mut self, v: u32) {
8418 self.shortcutid = ::std::option::Option::Some(v);
8419 }
8420
8421 pub fn page(&self) -> u32 {
8424 self.page.unwrap_or(1u32)
8425 }
8426
8427 pub fn clear_page(&mut self) {
8428 self.page = ::std::option::Option::None;
8429 }
8430
8431 pub fn has_page(&self) -> bool {
8432 self.page.is_some()
8433 }
8434
8435 pub fn set_page(&mut self, v: u32) {
8437 self.page = ::std::option::Option::Some(v);
8438 }
8439
8440 pub fn numperpage(&self) -> u32 {
8443 self.numperpage.unwrap_or(1u32)
8444 }
8445
8446 pub fn clear_numperpage(&mut self) {
8447 self.numperpage = ::std::option::Option::None;
8448 }
8449
8450 pub fn has_numperpage(&self) -> bool {
8451 self.numperpage.is_some()
8452 }
8453
8454 pub fn set_numperpage(&mut self, v: u32) {
8456 self.numperpage = ::std::option::Option::Some(v);
8457 }
8458
8459 pub fn type_(&self) -> &str {
8462 match self.type_.as_ref() {
8463 Some(v) => v,
8464 None => "myfiles",
8465 }
8466 }
8467
8468 pub fn clear_type_(&mut self) {
8469 self.type_ = ::std::option::Option::None;
8470 }
8471
8472 pub fn has_type(&self) -> bool {
8473 self.type_.is_some()
8474 }
8475
8476 pub fn set_type(&mut self, v: ::std::string::String) {
8478 self.type_ = ::std::option::Option::Some(v);
8479 }
8480
8481 pub fn mut_type(&mut self) -> &mut ::std::string::String {
8484 if self.type_.is_none() {
8485 self.type_ = ::std::option::Option::Some(::std::string::String::new());
8486 }
8487 self.type_.as_mut().unwrap()
8488 }
8489
8490 pub fn take_type_(&mut self) -> ::std::string::String {
8492 self.type_.take().unwrap_or_else(|| ::std::string::String::new())
8493 }
8494
8495 pub fn sortmethod(&self) -> &str {
8498 match self.sortmethod.as_ref() {
8499 Some(v) => v,
8500 None => "lastupdated",
8501 }
8502 }
8503
8504 pub fn clear_sortmethod(&mut self) {
8505 self.sortmethod = ::std::option::Option::None;
8506 }
8507
8508 pub fn has_sortmethod(&self) -> bool {
8509 self.sortmethod.is_some()
8510 }
8511
8512 pub fn set_sortmethod(&mut self, v: ::std::string::String) {
8514 self.sortmethod = ::std::option::Option::Some(v);
8515 }
8516
8517 pub fn mut_sortmethod(&mut self) -> &mut ::std::string::String {
8520 if self.sortmethod.is_none() {
8521 self.sortmethod = ::std::option::Option::Some(::std::string::String::new());
8522 }
8523 self.sortmethod.as_mut().unwrap()
8524 }
8525
8526 pub fn take_sortmethod(&mut self) -> ::std::string::String {
8528 self.sortmethod.take().unwrap_or_else(|| ::std::string::String::new())
8529 }
8530
8531 pub fn privacy(&self) -> u32 {
8534 self.privacy.unwrap_or(0)
8535 }
8536
8537 pub fn clear_privacy(&mut self) {
8538 self.privacy = ::std::option::Option::None;
8539 }
8540
8541 pub fn has_privacy(&self) -> bool {
8542 self.privacy.is_some()
8543 }
8544
8545 pub fn set_privacy(&mut self, v: u32) {
8547 self.privacy = ::std::option::Option::Some(v);
8548 }
8549
8550 pub fn filetype(&self) -> u32 {
8553 self.filetype.unwrap_or(0)
8554 }
8555
8556 pub fn clear_filetype(&mut self) {
8557 self.filetype = ::std::option::Option::None;
8558 }
8559
8560 pub fn has_filetype(&self) -> bool {
8561 self.filetype.is_some()
8562 }
8563
8564 pub fn set_filetype(&mut self, v: u32) {
8566 self.filetype = ::std::option::Option::Some(v);
8567 }
8568
8569 pub fn creator_appid(&self) -> u32 {
8572 self.creator_appid.unwrap_or(0)
8573 }
8574
8575 pub fn clear_creator_appid(&mut self) {
8576 self.creator_appid = ::std::option::Option::None;
8577 }
8578
8579 pub fn has_creator_appid(&self) -> bool {
8580 self.creator_appid.is_some()
8581 }
8582
8583 pub fn set_creator_appid(&mut self, v: u32) {
8585 self.creator_appid = ::std::option::Option::Some(v);
8586 }
8587
8588 pub fn match_cloud_filename(&self) -> &str {
8591 match self.match_cloud_filename.as_ref() {
8592 Some(v) => v,
8593 None => "",
8594 }
8595 }
8596
8597 pub fn clear_match_cloud_filename(&mut self) {
8598 self.match_cloud_filename = ::std::option::Option::None;
8599 }
8600
8601 pub fn has_match_cloud_filename(&self) -> bool {
8602 self.match_cloud_filename.is_some()
8603 }
8604
8605 pub fn set_match_cloud_filename(&mut self, v: ::std::string::String) {
8607 self.match_cloud_filename = ::std::option::Option::Some(v);
8608 }
8609
8610 pub fn mut_match_cloud_filename(&mut self) -> &mut ::std::string::String {
8613 if self.match_cloud_filename.is_none() {
8614 self.match_cloud_filename = ::std::option::Option::Some(::std::string::String::new());
8615 }
8616 self.match_cloud_filename.as_mut().unwrap()
8617 }
8618
8619 pub fn take_match_cloud_filename(&mut self) -> ::std::string::String {
8621 self.match_cloud_filename.take().unwrap_or_else(|| ::std::string::String::new())
8622 }
8623
8624 pub fn cache_max_age_seconds(&self) -> u32 {
8627 self.cache_max_age_seconds.unwrap_or(0u32)
8628 }
8629
8630 pub fn clear_cache_max_age_seconds(&mut self) {
8631 self.cache_max_age_seconds = ::std::option::Option::None;
8632 }
8633
8634 pub fn has_cache_max_age_seconds(&self) -> bool {
8635 self.cache_max_age_seconds.is_some()
8636 }
8637
8638 pub fn set_cache_max_age_seconds(&mut self, v: u32) {
8640 self.cache_max_age_seconds = ::std::option::Option::Some(v);
8641 }
8642
8643 pub fn language(&self) -> i32 {
8646 self.language.unwrap_or(0i32)
8647 }
8648
8649 pub fn clear_language(&mut self) {
8650 self.language = ::std::option::Option::None;
8651 }
8652
8653 pub fn has_language(&self) -> bool {
8654 self.language.is_some()
8655 }
8656
8657 pub fn set_language(&mut self, v: i32) {
8659 self.language = ::std::option::Option::Some(v);
8660 }
8661
8662 pub fn admin_query(&self) -> bool {
8665 self.admin_query.unwrap_or(false)
8666 }
8667
8668 pub fn clear_admin_query(&mut self) {
8669 self.admin_query = ::std::option::Option::None;
8670 }
8671
8672 pub fn has_admin_query(&self) -> bool {
8673 self.admin_query.is_some()
8674 }
8675
8676 pub fn set_admin_query(&mut self, v: bool) {
8678 self.admin_query = ::std::option::Option::Some(v);
8679 }
8680
8681 pub fn totalonly(&self) -> bool {
8684 self.totalonly.unwrap_or(false)
8685 }
8686
8687 pub fn clear_totalonly(&mut self) {
8688 self.totalonly = ::std::option::Option::None;
8689 }
8690
8691 pub fn has_totalonly(&self) -> bool {
8692 self.totalonly.is_some()
8693 }
8694
8695 pub fn set_totalonly(&mut self, v: bool) {
8697 self.totalonly = ::std::option::Option::Some(v);
8698 }
8699
8700 pub fn ids_only(&self) -> bool {
8703 self.ids_only.unwrap_or(false)
8704 }
8705
8706 pub fn clear_ids_only(&mut self) {
8707 self.ids_only = ::std::option::Option::None;
8708 }
8709
8710 pub fn has_ids_only(&self) -> bool {
8711 self.ids_only.is_some()
8712 }
8713
8714 pub fn set_ids_only(&mut self, v: bool) {
8716 self.ids_only = ::std::option::Option::Some(v);
8717 }
8718
8719 pub fn return_vote_data(&self) -> bool {
8722 self.return_vote_data.unwrap_or(true)
8723 }
8724
8725 pub fn clear_return_vote_data(&mut self) {
8726 self.return_vote_data = ::std::option::Option::None;
8727 }
8728
8729 pub fn has_return_vote_data(&self) -> bool {
8730 self.return_vote_data.is_some()
8731 }
8732
8733 pub fn set_return_vote_data(&mut self, v: bool) {
8735 self.return_vote_data = ::std::option::Option::Some(v);
8736 }
8737
8738 pub fn return_tags(&self) -> bool {
8741 self.return_tags.unwrap_or(false)
8742 }
8743
8744 pub fn clear_return_tags(&mut self) {
8745 self.return_tags = ::std::option::Option::None;
8746 }
8747
8748 pub fn has_return_tags(&self) -> bool {
8749 self.return_tags.is_some()
8750 }
8751
8752 pub fn set_return_tags(&mut self, v: bool) {
8754 self.return_tags = ::std::option::Option::Some(v);
8755 }
8756
8757 pub fn return_kv_tags(&self) -> bool {
8760 self.return_kv_tags.unwrap_or(true)
8761 }
8762
8763 pub fn clear_return_kv_tags(&mut self) {
8764 self.return_kv_tags = ::std::option::Option::None;
8765 }
8766
8767 pub fn has_return_kv_tags(&self) -> bool {
8768 self.return_kv_tags.is_some()
8769 }
8770
8771 pub fn set_return_kv_tags(&mut self, v: bool) {
8773 self.return_kv_tags = ::std::option::Option::Some(v);
8774 }
8775
8776 pub fn return_previews(&self) -> bool {
8779 self.return_previews.unwrap_or(false)
8780 }
8781
8782 pub fn clear_return_previews(&mut self) {
8783 self.return_previews = ::std::option::Option::None;
8784 }
8785
8786 pub fn has_return_previews(&self) -> bool {
8787 self.return_previews.is_some()
8788 }
8789
8790 pub fn set_return_previews(&mut self, v: bool) {
8792 self.return_previews = ::std::option::Option::Some(v);
8793 }
8794
8795 pub fn return_children(&self) -> bool {
8798 self.return_children.unwrap_or(false)
8799 }
8800
8801 pub fn clear_return_children(&mut self) {
8802 self.return_children = ::std::option::Option::None;
8803 }
8804
8805 pub fn has_return_children(&self) -> bool {
8806 self.return_children.is_some()
8807 }
8808
8809 pub fn set_return_children(&mut self, v: bool) {
8811 self.return_children = ::std::option::Option::Some(v);
8812 }
8813
8814 pub fn return_short_description(&self) -> bool {
8817 self.return_short_description.unwrap_or(true)
8818 }
8819
8820 pub fn clear_return_short_description(&mut self) {
8821 self.return_short_description = ::std::option::Option::None;
8822 }
8823
8824 pub fn has_return_short_description(&self) -> bool {
8825 self.return_short_description.is_some()
8826 }
8827
8828 pub fn set_return_short_description(&mut self, v: bool) {
8830 self.return_short_description = ::std::option::Option::Some(v);
8831 }
8832
8833 pub fn return_for_sale_data(&self) -> bool {
8836 self.return_for_sale_data.unwrap_or(false)
8837 }
8838
8839 pub fn clear_return_for_sale_data(&mut self) {
8840 self.return_for_sale_data = ::std::option::Option::None;
8841 }
8842
8843 pub fn has_return_for_sale_data(&self) -> bool {
8844 self.return_for_sale_data.is_some()
8845 }
8846
8847 pub fn set_return_for_sale_data(&mut self, v: bool) {
8849 self.return_for_sale_data = ::std::option::Option::Some(v);
8850 }
8851
8852 pub fn return_metadata(&self) -> bool {
8855 self.return_metadata.unwrap_or(false)
8856 }
8857
8858 pub fn clear_return_metadata(&mut self) {
8859 self.return_metadata = ::std::option::Option::None;
8860 }
8861
8862 pub fn has_return_metadata(&self) -> bool {
8863 self.return_metadata.is_some()
8864 }
8865
8866 pub fn set_return_metadata(&mut self, v: bool) {
8868 self.return_metadata = ::std::option::Option::Some(v);
8869 }
8870
8871 pub fn return_playtime_stats(&self) -> u32 {
8874 self.return_playtime_stats.unwrap_or(0)
8875 }
8876
8877 pub fn clear_return_playtime_stats(&mut self) {
8878 self.return_playtime_stats = ::std::option::Option::None;
8879 }
8880
8881 pub fn has_return_playtime_stats(&self) -> bool {
8882 self.return_playtime_stats.is_some()
8883 }
8884
8885 pub fn set_return_playtime_stats(&mut self, v: u32) {
8887 self.return_playtime_stats = ::std::option::Option::Some(v);
8888 }
8889
8890 pub fn strip_description_bbcode(&self) -> bool {
8893 self.strip_description_bbcode.unwrap_or(false)
8894 }
8895
8896 pub fn clear_strip_description_bbcode(&mut self) {
8897 self.strip_description_bbcode = ::std::option::Option::None;
8898 }
8899
8900 pub fn has_strip_description_bbcode(&self) -> bool {
8901 self.strip_description_bbcode.is_some()
8902 }
8903
8904 pub fn set_strip_description_bbcode(&mut self, v: bool) {
8906 self.strip_description_bbcode = ::std::option::Option::Some(v);
8907 }
8908
8909 pub fn return_reactions(&self) -> bool {
8912 self.return_reactions.unwrap_or(false)
8913 }
8914
8915 pub fn clear_return_reactions(&mut self) {
8916 self.return_reactions = ::std::option::Option::None;
8917 }
8918
8919 pub fn has_return_reactions(&self) -> bool {
8920 self.return_reactions.is_some()
8921 }
8922
8923 pub fn set_return_reactions(&mut self, v: bool) {
8925 self.return_reactions = ::std::option::Option::Some(v);
8926 }
8927
8928 pub fn startindex_override(&self) -> u32 {
8931 self.startindex_override.unwrap_or(0)
8932 }
8933
8934 pub fn clear_startindex_override(&mut self) {
8935 self.startindex_override = ::std::option::Option::None;
8936 }
8937
8938 pub fn has_startindex_override(&self) -> bool {
8939 self.startindex_override.is_some()
8940 }
8941
8942 pub fn set_startindex_override(&mut self, v: u32) {
8944 self.startindex_override = ::std::option::Option::Some(v);
8945 }
8946
8947 pub fn desired_revision(&self) -> EPublishedFileRevision {
8950 match self.desired_revision {
8951 Some(e) => e.enum_value_or(EPublishedFileRevision::k_EPublishedFileRevision_Default),
8952 None => EPublishedFileRevision::k_EPublishedFileRevision_Default,
8953 }
8954 }
8955
8956 pub fn clear_desired_revision(&mut self) {
8957 self.desired_revision = ::std::option::Option::None;
8958 }
8959
8960 pub fn has_desired_revision(&self) -> bool {
8961 self.desired_revision.is_some()
8962 }
8963
8964 pub fn set_desired_revision(&mut self, v: EPublishedFileRevision) {
8966 self.desired_revision = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
8967 }
8968
8969 pub fn return_apps(&self) -> bool {
8972 self.return_apps.unwrap_or(false)
8973 }
8974
8975 pub fn clear_return_apps(&mut self) {
8976 self.return_apps = ::std::option::Option::None;
8977 }
8978
8979 pub fn has_return_apps(&self) -> bool {
8980 self.return_apps.is_some()
8981 }
8982
8983 pub fn set_return_apps(&mut self, v: bool) {
8985 self.return_apps = ::std::option::Option::Some(v);
8986 }
8987}
8988
8989impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetUserFiles_Request {
8990 const NAME: &'static str = "CPublishedFile_GetUserFiles_Request";
8991
8992 fn is_initialized(&self) -> bool {
8993 true
8994 }
8995
8996 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
8997 while let Some(tag) = is.read_raw_tag_or_eof()? {
8998 match tag {
8999 9 => {
9000 self.steamid = ::std::option::Option::Some(is.read_fixed64()?);
9001 },
9002 16 => {
9003 self.appid = ::std::option::Option::Some(is.read_uint32()?);
9004 },
9005 24 => {
9006 self.shortcutid = ::std::option::Option::Some(is.read_uint32()?);
9007 },
9008 32 => {
9009 self.page = ::std::option::Option::Some(is.read_uint32()?);
9010 },
9011 40 => {
9012 self.numperpage = ::std::option::Option::Some(is.read_uint32()?);
9013 },
9014 50 => {
9015 self.type_ = ::std::option::Option::Some(is.read_string()?);
9016 },
9017 58 => {
9018 self.sortmethod = ::std::option::Option::Some(is.read_string()?);
9019 },
9020 72 => {
9021 self.privacy = ::std::option::Option::Some(is.read_uint32()?);
9022 },
9023 82 => {
9024 self.requiredtags.push(is.read_string()?);
9025 },
9026 90 => {
9027 self.excludedtags.push(is.read_string()?);
9028 },
9029 242 => {
9030 self.required_kv_tags.push(is.read_message()?);
9031 },
9032 112 => {
9033 self.filetype = ::std::option::Option::Some(is.read_uint32()?);
9034 },
9035 120 => {
9036 self.creator_appid = ::std::option::Option::Some(is.read_uint32()?);
9037 },
9038 130 => {
9039 self.match_cloud_filename = ::std::option::Option::Some(is.read_string()?);
9040 },
9041 216 => {
9042 self.cache_max_age_seconds = ::std::option::Option::Some(is.read_uint32()?);
9043 },
9044 232 => {
9045 self.language = ::std::option::Option::Some(is.read_int32()?);
9046 },
9047 274 => {
9048 self.taggroups.push(is.read_message()?);
9049 },
9050 296 => {
9051 self.excluded_content_descriptors.push(is.read_enum_or_unknown()?);
9052 },
9053 298 => {
9054 ::steam_vent_proto_common::protobuf::rt::read_repeated_packed_enum_or_unknown_into(is, &mut self.excluded_content_descriptors)?
9055 },
9056 304 => {
9057 self.admin_query = ::std::option::Option::Some(is.read_bool()?);
9058 },
9059 136 => {
9060 self.totalonly = ::std::option::Option::Some(is.read_bool()?);
9061 },
9062 144 => {
9063 self.ids_only = ::std::option::Option::Some(is.read_bool()?);
9064 },
9065 152 => {
9066 self.return_vote_data = ::std::option::Option::Some(is.read_bool()?);
9067 },
9068 160 => {
9069 self.return_tags = ::std::option::Option::Some(is.read_bool()?);
9070 },
9071 168 => {
9072 self.return_kv_tags = ::std::option::Option::Some(is.read_bool()?);
9073 },
9074 176 => {
9075 self.return_previews = ::std::option::Option::Some(is.read_bool()?);
9076 },
9077 184 => {
9078 self.return_children = ::std::option::Option::Some(is.read_bool()?);
9079 },
9080 192 => {
9081 self.return_short_description = ::std::option::Option::Some(is.read_bool()?);
9082 },
9083 208 => {
9084 self.return_for_sale_data = ::std::option::Option::Some(is.read_bool()?);
9085 },
9086 224 => {
9087 self.return_metadata = ::std::option::Option::Some(is.read_bool()?);
9088 },
9089 248 => {
9090 self.return_playtime_stats = ::std::option::Option::Some(is.read_uint32()?);
9091 },
9092 256 => {
9093 self.strip_description_bbcode = ::std::option::Option::Some(is.read_bool()?);
9094 },
9095 280 => {
9096 self.return_reactions = ::std::option::Option::Some(is.read_bool()?);
9097 },
9098 200 => {
9099 self.startindex_override = ::std::option::Option::Some(is.read_uint32()?);
9100 },
9101 264 => {
9102 self.desired_revision = ::std::option::Option::Some(is.read_enum_or_unknown()?);
9103 },
9104 288 => {
9105 self.return_apps = ::std::option::Option::Some(is.read_bool()?);
9106 },
9107 tag => {
9108 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
9109 },
9110 };
9111 }
9112 ::std::result::Result::Ok(())
9113 }
9114
9115 #[allow(unused_variables)]
9117 fn compute_size(&self) -> u64 {
9118 let mut my_size = 0;
9119 if let Some(v) = self.steamid {
9120 my_size += 1 + 8;
9121 }
9122 if let Some(v) = self.appid {
9123 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
9124 }
9125 if let Some(v) = self.shortcutid {
9126 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
9127 }
9128 if let Some(v) = self.page {
9129 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
9130 }
9131 if let Some(v) = self.numperpage {
9132 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
9133 }
9134 if let Some(v) = self.type_.as_ref() {
9135 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
9136 }
9137 if let Some(v) = self.sortmethod.as_ref() {
9138 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
9139 }
9140 if let Some(v) = self.privacy {
9141 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(9, v);
9142 }
9143 for value in &self.requiredtags {
9144 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(10, &value);
9145 };
9146 for value in &self.excludedtags {
9147 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(11, &value);
9148 };
9149 for value in &self.required_kv_tags {
9150 let len = value.compute_size();
9151 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
9152 };
9153 if let Some(v) = self.filetype {
9154 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(14, v);
9155 }
9156 if let Some(v) = self.creator_appid {
9157 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(15, v);
9158 }
9159 if let Some(v) = self.match_cloud_filename.as_ref() {
9160 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(16, &v);
9161 }
9162 if let Some(v) = self.cache_max_age_seconds {
9163 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(27, v);
9164 }
9165 if let Some(v) = self.language {
9166 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(29, v);
9167 }
9168 for value in &self.taggroups {
9169 let len = value.compute_size();
9170 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
9171 };
9172 for value in &self.excluded_content_descriptors {
9173 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(37, value.value());
9174 };
9175 if let Some(v) = self.admin_query {
9176 my_size += 2 + 1;
9177 }
9178 if let Some(v) = self.totalonly {
9179 my_size += 2 + 1;
9180 }
9181 if let Some(v) = self.ids_only {
9182 my_size += 2 + 1;
9183 }
9184 if let Some(v) = self.return_vote_data {
9185 my_size += 2 + 1;
9186 }
9187 if let Some(v) = self.return_tags {
9188 my_size += 2 + 1;
9189 }
9190 if let Some(v) = self.return_kv_tags {
9191 my_size += 2 + 1;
9192 }
9193 if let Some(v) = self.return_previews {
9194 my_size += 2 + 1;
9195 }
9196 if let Some(v) = self.return_children {
9197 my_size += 2 + 1;
9198 }
9199 if let Some(v) = self.return_short_description {
9200 my_size += 2 + 1;
9201 }
9202 if let Some(v) = self.return_for_sale_data {
9203 my_size += 2 + 1;
9204 }
9205 if let Some(v) = self.return_metadata {
9206 my_size += 2 + 1;
9207 }
9208 if let Some(v) = self.return_playtime_stats {
9209 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(31, v);
9210 }
9211 if let Some(v) = self.strip_description_bbcode {
9212 my_size += 2 + 1;
9213 }
9214 if let Some(v) = self.return_reactions {
9215 my_size += 2 + 1;
9216 }
9217 if let Some(v) = self.startindex_override {
9218 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(25, v);
9219 }
9220 if let Some(v) = self.desired_revision {
9221 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(33, v.value());
9222 }
9223 if let Some(v) = self.return_apps {
9224 my_size += 2 + 1;
9225 }
9226 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
9227 self.special_fields.cached_size().set(my_size as u32);
9228 my_size
9229 }
9230
9231 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9232 if let Some(v) = self.steamid {
9233 os.write_fixed64(1, v)?;
9234 }
9235 if let Some(v) = self.appid {
9236 os.write_uint32(2, v)?;
9237 }
9238 if let Some(v) = self.shortcutid {
9239 os.write_uint32(3, v)?;
9240 }
9241 if let Some(v) = self.page {
9242 os.write_uint32(4, v)?;
9243 }
9244 if let Some(v) = self.numperpage {
9245 os.write_uint32(5, v)?;
9246 }
9247 if let Some(v) = self.type_.as_ref() {
9248 os.write_string(6, v)?;
9249 }
9250 if let Some(v) = self.sortmethod.as_ref() {
9251 os.write_string(7, v)?;
9252 }
9253 if let Some(v) = self.privacy {
9254 os.write_uint32(9, v)?;
9255 }
9256 for v in &self.requiredtags {
9257 os.write_string(10, &v)?;
9258 };
9259 for v in &self.excludedtags {
9260 os.write_string(11, &v)?;
9261 };
9262 for v in &self.required_kv_tags {
9263 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(30, v, os)?;
9264 };
9265 if let Some(v) = self.filetype {
9266 os.write_uint32(14, v)?;
9267 }
9268 if let Some(v) = self.creator_appid {
9269 os.write_uint32(15, v)?;
9270 }
9271 if let Some(v) = self.match_cloud_filename.as_ref() {
9272 os.write_string(16, v)?;
9273 }
9274 if let Some(v) = self.cache_max_age_seconds {
9275 os.write_uint32(27, v)?;
9276 }
9277 if let Some(v) = self.language {
9278 os.write_int32(29, v)?;
9279 }
9280 for v in &self.taggroups {
9281 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(34, v, os)?;
9282 };
9283 for v in &self.excluded_content_descriptors {
9284 os.write_enum(37, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(v))?;
9285 };
9286 if let Some(v) = self.admin_query {
9287 os.write_bool(38, v)?;
9288 }
9289 if let Some(v) = self.totalonly {
9290 os.write_bool(17, v)?;
9291 }
9292 if let Some(v) = self.ids_only {
9293 os.write_bool(18, v)?;
9294 }
9295 if let Some(v) = self.return_vote_data {
9296 os.write_bool(19, v)?;
9297 }
9298 if let Some(v) = self.return_tags {
9299 os.write_bool(20, v)?;
9300 }
9301 if let Some(v) = self.return_kv_tags {
9302 os.write_bool(21, v)?;
9303 }
9304 if let Some(v) = self.return_previews {
9305 os.write_bool(22, v)?;
9306 }
9307 if let Some(v) = self.return_children {
9308 os.write_bool(23, v)?;
9309 }
9310 if let Some(v) = self.return_short_description {
9311 os.write_bool(24, v)?;
9312 }
9313 if let Some(v) = self.return_for_sale_data {
9314 os.write_bool(26, v)?;
9315 }
9316 if let Some(v) = self.return_metadata {
9317 os.write_bool(28, v)?;
9318 }
9319 if let Some(v) = self.return_playtime_stats {
9320 os.write_uint32(31, v)?;
9321 }
9322 if let Some(v) = self.strip_description_bbcode {
9323 os.write_bool(32, v)?;
9324 }
9325 if let Some(v) = self.return_reactions {
9326 os.write_bool(35, v)?;
9327 }
9328 if let Some(v) = self.startindex_override {
9329 os.write_uint32(25, v)?;
9330 }
9331 if let Some(v) = self.desired_revision {
9332 os.write_enum(33, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
9333 }
9334 if let Some(v) = self.return_apps {
9335 os.write_bool(36, v)?;
9336 }
9337 os.write_unknown_fields(self.special_fields.unknown_fields())?;
9338 ::std::result::Result::Ok(())
9339 }
9340
9341 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
9342 &self.special_fields
9343 }
9344
9345 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
9346 &mut self.special_fields
9347 }
9348
9349 fn new() -> CPublishedFile_GetUserFiles_Request {
9350 CPublishedFile_GetUserFiles_Request::new()
9351 }
9352
9353 fn clear(&mut self) {
9354 self.steamid = ::std::option::Option::None;
9355 self.appid = ::std::option::Option::None;
9356 self.shortcutid = ::std::option::Option::None;
9357 self.page = ::std::option::Option::None;
9358 self.numperpage = ::std::option::Option::None;
9359 self.type_ = ::std::option::Option::None;
9360 self.sortmethod = ::std::option::Option::None;
9361 self.privacy = ::std::option::Option::None;
9362 self.requiredtags.clear();
9363 self.excludedtags.clear();
9364 self.required_kv_tags.clear();
9365 self.filetype = ::std::option::Option::None;
9366 self.creator_appid = ::std::option::Option::None;
9367 self.match_cloud_filename = ::std::option::Option::None;
9368 self.cache_max_age_seconds = ::std::option::Option::None;
9369 self.language = ::std::option::Option::None;
9370 self.taggroups.clear();
9371 self.excluded_content_descriptors.clear();
9372 self.admin_query = ::std::option::Option::None;
9373 self.totalonly = ::std::option::Option::None;
9374 self.ids_only = ::std::option::Option::None;
9375 self.return_vote_data = ::std::option::Option::None;
9376 self.return_tags = ::std::option::Option::None;
9377 self.return_kv_tags = ::std::option::Option::None;
9378 self.return_previews = ::std::option::Option::None;
9379 self.return_children = ::std::option::Option::None;
9380 self.return_short_description = ::std::option::Option::None;
9381 self.return_for_sale_data = ::std::option::Option::None;
9382 self.return_metadata = ::std::option::Option::None;
9383 self.return_playtime_stats = ::std::option::Option::None;
9384 self.strip_description_bbcode = ::std::option::Option::None;
9385 self.return_reactions = ::std::option::Option::None;
9386 self.startindex_override = ::std::option::Option::None;
9387 self.desired_revision = ::std::option::Option::None;
9388 self.return_apps = ::std::option::Option::None;
9389 self.special_fields.clear();
9390 }
9391
9392 fn default_instance() -> &'static CPublishedFile_GetUserFiles_Request {
9393 static instance: CPublishedFile_GetUserFiles_Request = CPublishedFile_GetUserFiles_Request {
9394 steamid: ::std::option::Option::None,
9395 appid: ::std::option::Option::None,
9396 shortcutid: ::std::option::Option::None,
9397 page: ::std::option::Option::None,
9398 numperpage: ::std::option::Option::None,
9399 type_: ::std::option::Option::None,
9400 sortmethod: ::std::option::Option::None,
9401 privacy: ::std::option::Option::None,
9402 requiredtags: ::std::vec::Vec::new(),
9403 excludedtags: ::std::vec::Vec::new(),
9404 required_kv_tags: ::std::vec::Vec::new(),
9405 filetype: ::std::option::Option::None,
9406 creator_appid: ::std::option::Option::None,
9407 match_cloud_filename: ::std::option::Option::None,
9408 cache_max_age_seconds: ::std::option::Option::None,
9409 language: ::std::option::Option::None,
9410 taggroups: ::std::vec::Vec::new(),
9411 excluded_content_descriptors: ::std::vec::Vec::new(),
9412 admin_query: ::std::option::Option::None,
9413 totalonly: ::std::option::Option::None,
9414 ids_only: ::std::option::Option::None,
9415 return_vote_data: ::std::option::Option::None,
9416 return_tags: ::std::option::Option::None,
9417 return_kv_tags: ::std::option::Option::None,
9418 return_previews: ::std::option::Option::None,
9419 return_children: ::std::option::Option::None,
9420 return_short_description: ::std::option::Option::None,
9421 return_for_sale_data: ::std::option::Option::None,
9422 return_metadata: ::std::option::Option::None,
9423 return_playtime_stats: ::std::option::Option::None,
9424 strip_description_bbcode: ::std::option::Option::None,
9425 return_reactions: ::std::option::Option::None,
9426 startindex_override: ::std::option::Option::None,
9427 desired_revision: ::std::option::Option::None,
9428 return_apps: ::std::option::Option::None,
9429 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
9430 };
9431 &instance
9432 }
9433}
9434
9435pub mod cpublished_file_get_user_files_request {
9437 #[derive(PartialEq,Clone,Default,Debug)]
9439 pub struct KVTag {
9440 pub key: ::std::option::Option<::std::string::String>,
9443 pub value: ::std::option::Option<::std::string::String>,
9445 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
9448 }
9449
9450 impl<'a> ::std::default::Default for &'a KVTag {
9451 fn default() -> &'a KVTag {
9452 <KVTag as ::steam_vent_proto_common::protobuf::Message>::default_instance()
9453 }
9454 }
9455
9456 impl KVTag {
9457 pub fn new() -> KVTag {
9458 ::std::default::Default::default()
9459 }
9460
9461 pub fn key(&self) -> &str {
9464 match self.key.as_ref() {
9465 Some(v) => v,
9466 None => "",
9467 }
9468 }
9469
9470 pub fn clear_key(&mut self) {
9471 self.key = ::std::option::Option::None;
9472 }
9473
9474 pub fn has_key(&self) -> bool {
9475 self.key.is_some()
9476 }
9477
9478 pub fn set_key(&mut self, v: ::std::string::String) {
9480 self.key = ::std::option::Option::Some(v);
9481 }
9482
9483 pub fn mut_key(&mut self) -> &mut ::std::string::String {
9486 if self.key.is_none() {
9487 self.key = ::std::option::Option::Some(::std::string::String::new());
9488 }
9489 self.key.as_mut().unwrap()
9490 }
9491
9492 pub fn take_key(&mut self) -> ::std::string::String {
9494 self.key.take().unwrap_or_else(|| ::std::string::String::new())
9495 }
9496
9497 pub fn value(&self) -> &str {
9500 match self.value.as_ref() {
9501 Some(v) => v,
9502 None => "",
9503 }
9504 }
9505
9506 pub fn clear_value(&mut self) {
9507 self.value = ::std::option::Option::None;
9508 }
9509
9510 pub fn has_value(&self) -> bool {
9511 self.value.is_some()
9512 }
9513
9514 pub fn set_value(&mut self, v: ::std::string::String) {
9516 self.value = ::std::option::Option::Some(v);
9517 }
9518
9519 pub fn mut_value(&mut self) -> &mut ::std::string::String {
9522 if self.value.is_none() {
9523 self.value = ::std::option::Option::Some(::std::string::String::new());
9524 }
9525 self.value.as_mut().unwrap()
9526 }
9527
9528 pub fn take_value(&mut self) -> ::std::string::String {
9530 self.value.take().unwrap_or_else(|| ::std::string::String::new())
9531 }
9532 }
9533
9534 impl ::steam_vent_proto_common::protobuf::Message for KVTag {
9535 const NAME: &'static str = "KVTag";
9536
9537 fn is_initialized(&self) -> bool {
9538 true
9539 }
9540
9541 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9542 while let Some(tag) = is.read_raw_tag_or_eof()? {
9543 match tag {
9544 10 => {
9545 self.key = ::std::option::Option::Some(is.read_string()?);
9546 },
9547 18 => {
9548 self.value = ::std::option::Option::Some(is.read_string()?);
9549 },
9550 tag => {
9551 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
9552 },
9553 };
9554 }
9555 ::std::result::Result::Ok(())
9556 }
9557
9558 #[allow(unused_variables)]
9560 fn compute_size(&self) -> u64 {
9561 let mut my_size = 0;
9562 if let Some(v) = self.key.as_ref() {
9563 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
9564 }
9565 if let Some(v) = self.value.as_ref() {
9566 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
9567 }
9568 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
9569 self.special_fields.cached_size().set(my_size as u32);
9570 my_size
9571 }
9572
9573 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9574 if let Some(v) = self.key.as_ref() {
9575 os.write_string(1, v)?;
9576 }
9577 if let Some(v) = self.value.as_ref() {
9578 os.write_string(2, v)?;
9579 }
9580 os.write_unknown_fields(self.special_fields.unknown_fields())?;
9581 ::std::result::Result::Ok(())
9582 }
9583
9584 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
9585 &self.special_fields
9586 }
9587
9588 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
9589 &mut self.special_fields
9590 }
9591
9592 fn new() -> KVTag {
9593 KVTag::new()
9594 }
9595
9596 fn clear(&mut self) {
9597 self.key = ::std::option::Option::None;
9598 self.value = ::std::option::Option::None;
9599 self.special_fields.clear();
9600 }
9601
9602 fn default_instance() -> &'static KVTag {
9603 static instance: KVTag = KVTag {
9604 key: ::std::option::Option::None,
9605 value: ::std::option::Option::None,
9606 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
9607 };
9608 &instance
9609 }
9610 }
9611
9612 #[derive(PartialEq,Clone,Default,Debug)]
9614 pub struct TagGroup {
9615 pub tags: ::std::vec::Vec<::std::string::String>,
9618 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
9621 }
9622
9623 impl<'a> ::std::default::Default for &'a TagGroup {
9624 fn default() -> &'a TagGroup {
9625 <TagGroup as ::steam_vent_proto_common::protobuf::Message>::default_instance()
9626 }
9627 }
9628
9629 impl TagGroup {
9630 pub fn new() -> TagGroup {
9631 ::std::default::Default::default()
9632 }
9633 }
9634
9635 impl ::steam_vent_proto_common::protobuf::Message for TagGroup {
9636 const NAME: &'static str = "TagGroup";
9637
9638 fn is_initialized(&self) -> bool {
9639 true
9640 }
9641
9642 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9643 while let Some(tag) = is.read_raw_tag_or_eof()? {
9644 match tag {
9645 10 => {
9646 self.tags.push(is.read_string()?);
9647 },
9648 tag => {
9649 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
9650 },
9651 };
9652 }
9653 ::std::result::Result::Ok(())
9654 }
9655
9656 #[allow(unused_variables)]
9658 fn compute_size(&self) -> u64 {
9659 let mut my_size = 0;
9660 for value in &self.tags {
9661 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &value);
9662 };
9663 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
9664 self.special_fields.cached_size().set(my_size as u32);
9665 my_size
9666 }
9667
9668 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9669 for v in &self.tags {
9670 os.write_string(1, &v)?;
9671 };
9672 os.write_unknown_fields(self.special_fields.unknown_fields())?;
9673 ::std::result::Result::Ok(())
9674 }
9675
9676 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
9677 &self.special_fields
9678 }
9679
9680 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
9681 &mut self.special_fields
9682 }
9683
9684 fn new() -> TagGroup {
9685 TagGroup::new()
9686 }
9687
9688 fn clear(&mut self) {
9689 self.tags.clear();
9690 self.special_fields.clear();
9691 }
9692
9693 fn default_instance() -> &'static TagGroup {
9694 static instance: TagGroup = TagGroup {
9695 tags: ::std::vec::Vec::new(),
9696 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
9697 };
9698 &instance
9699 }
9700 }
9701}
9702
9703#[derive(PartialEq,Clone,Default,Debug)]
9705pub struct CPublishedFile_GetUserFiles_Response {
9706 pub total: ::std::option::Option<u32>,
9709 pub startindex: ::std::option::Option<u32>,
9711 pub publishedfiledetails: ::std::vec::Vec<PublishedFileDetails>,
9713 pub apps: ::std::vec::Vec<cpublished_file_get_user_files_response::App>,
9715 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
9718}
9719
9720impl<'a> ::std::default::Default for &'a CPublishedFile_GetUserFiles_Response {
9721 fn default() -> &'a CPublishedFile_GetUserFiles_Response {
9722 <CPublishedFile_GetUserFiles_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
9723 }
9724}
9725
9726impl CPublishedFile_GetUserFiles_Response {
9727 pub fn new() -> CPublishedFile_GetUserFiles_Response {
9728 ::std::default::Default::default()
9729 }
9730
9731 pub fn total(&self) -> u32 {
9734 self.total.unwrap_or(0)
9735 }
9736
9737 pub fn clear_total(&mut self) {
9738 self.total = ::std::option::Option::None;
9739 }
9740
9741 pub fn has_total(&self) -> bool {
9742 self.total.is_some()
9743 }
9744
9745 pub fn set_total(&mut self, v: u32) {
9747 self.total = ::std::option::Option::Some(v);
9748 }
9749
9750 pub fn startindex(&self) -> u32 {
9753 self.startindex.unwrap_or(0)
9754 }
9755
9756 pub fn clear_startindex(&mut self) {
9757 self.startindex = ::std::option::Option::None;
9758 }
9759
9760 pub fn has_startindex(&self) -> bool {
9761 self.startindex.is_some()
9762 }
9763
9764 pub fn set_startindex(&mut self, v: u32) {
9766 self.startindex = ::std::option::Option::Some(v);
9767 }
9768}
9769
9770impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetUserFiles_Response {
9771 const NAME: &'static str = "CPublishedFile_GetUserFiles_Response";
9772
9773 fn is_initialized(&self) -> bool {
9774 true
9775 }
9776
9777 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9778 while let Some(tag) = is.read_raw_tag_or_eof()? {
9779 match tag {
9780 8 => {
9781 self.total = ::std::option::Option::Some(is.read_uint32()?);
9782 },
9783 16 => {
9784 self.startindex = ::std::option::Option::Some(is.read_uint32()?);
9785 },
9786 26 => {
9787 self.publishedfiledetails.push(is.read_message()?);
9788 },
9789 34 => {
9790 self.apps.push(is.read_message()?);
9791 },
9792 tag => {
9793 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
9794 },
9795 };
9796 }
9797 ::std::result::Result::Ok(())
9798 }
9799
9800 #[allow(unused_variables)]
9802 fn compute_size(&self) -> u64 {
9803 let mut my_size = 0;
9804 if let Some(v) = self.total {
9805 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
9806 }
9807 if let Some(v) = self.startindex {
9808 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
9809 }
9810 for value in &self.publishedfiledetails {
9811 let len = value.compute_size();
9812 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
9813 };
9814 for value in &self.apps {
9815 let len = value.compute_size();
9816 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
9817 };
9818 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
9819 self.special_fields.cached_size().set(my_size as u32);
9820 my_size
9821 }
9822
9823 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
9824 if let Some(v) = self.total {
9825 os.write_uint32(1, v)?;
9826 }
9827 if let Some(v) = self.startindex {
9828 os.write_uint32(2, v)?;
9829 }
9830 for v in &self.publishedfiledetails {
9831 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
9832 };
9833 for v in &self.apps {
9834 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(4, v, os)?;
9835 };
9836 os.write_unknown_fields(self.special_fields.unknown_fields())?;
9837 ::std::result::Result::Ok(())
9838 }
9839
9840 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
9841 &self.special_fields
9842 }
9843
9844 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
9845 &mut self.special_fields
9846 }
9847
9848 fn new() -> CPublishedFile_GetUserFiles_Response {
9849 CPublishedFile_GetUserFiles_Response::new()
9850 }
9851
9852 fn clear(&mut self) {
9853 self.total = ::std::option::Option::None;
9854 self.startindex = ::std::option::Option::None;
9855 self.publishedfiledetails.clear();
9856 self.apps.clear();
9857 self.special_fields.clear();
9858 }
9859
9860 fn default_instance() -> &'static CPublishedFile_GetUserFiles_Response {
9861 static instance: CPublishedFile_GetUserFiles_Response = CPublishedFile_GetUserFiles_Response {
9862 total: ::std::option::Option::None,
9863 startindex: ::std::option::Option::None,
9864 publishedfiledetails: ::std::vec::Vec::new(),
9865 apps: ::std::vec::Vec::new(),
9866 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
9867 };
9868 &instance
9869 }
9870}
9871
9872pub mod cpublished_file_get_user_files_response {
9874 #[derive(PartialEq,Clone,Default,Debug)]
9876 pub struct App {
9877 pub appid: ::std::option::Option<u32>,
9880 pub name: ::std::option::Option<::std::string::String>,
9882 pub shortcutid: ::std::option::Option<u32>,
9884 pub private: ::std::option::Option<bool>,
9886 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
9889 }
9890
9891 impl<'a> ::std::default::Default for &'a App {
9892 fn default() -> &'a App {
9893 <App as ::steam_vent_proto_common::protobuf::Message>::default_instance()
9894 }
9895 }
9896
9897 impl App {
9898 pub fn new() -> App {
9899 ::std::default::Default::default()
9900 }
9901
9902 pub fn appid(&self) -> u32 {
9905 self.appid.unwrap_or(0)
9906 }
9907
9908 pub fn clear_appid(&mut self) {
9909 self.appid = ::std::option::Option::None;
9910 }
9911
9912 pub fn has_appid(&self) -> bool {
9913 self.appid.is_some()
9914 }
9915
9916 pub fn set_appid(&mut self, v: u32) {
9918 self.appid = ::std::option::Option::Some(v);
9919 }
9920
9921 pub fn name(&self) -> &str {
9924 match self.name.as_ref() {
9925 Some(v) => v,
9926 None => "",
9927 }
9928 }
9929
9930 pub fn clear_name(&mut self) {
9931 self.name = ::std::option::Option::None;
9932 }
9933
9934 pub fn has_name(&self) -> bool {
9935 self.name.is_some()
9936 }
9937
9938 pub fn set_name(&mut self, v: ::std::string::String) {
9940 self.name = ::std::option::Option::Some(v);
9941 }
9942
9943 pub fn mut_name(&mut self) -> &mut ::std::string::String {
9946 if self.name.is_none() {
9947 self.name = ::std::option::Option::Some(::std::string::String::new());
9948 }
9949 self.name.as_mut().unwrap()
9950 }
9951
9952 pub fn take_name(&mut self) -> ::std::string::String {
9954 self.name.take().unwrap_or_else(|| ::std::string::String::new())
9955 }
9956
9957 pub fn shortcutid(&self) -> u32 {
9960 self.shortcutid.unwrap_or(0)
9961 }
9962
9963 pub fn clear_shortcutid(&mut self) {
9964 self.shortcutid = ::std::option::Option::None;
9965 }
9966
9967 pub fn has_shortcutid(&self) -> bool {
9968 self.shortcutid.is_some()
9969 }
9970
9971 pub fn set_shortcutid(&mut self, v: u32) {
9973 self.shortcutid = ::std::option::Option::Some(v);
9974 }
9975
9976 pub fn private(&self) -> bool {
9979 self.private.unwrap_or(false)
9980 }
9981
9982 pub fn clear_private(&mut self) {
9983 self.private = ::std::option::Option::None;
9984 }
9985
9986 pub fn has_private(&self) -> bool {
9987 self.private.is_some()
9988 }
9989
9990 pub fn set_private(&mut self, v: bool) {
9992 self.private = ::std::option::Option::Some(v);
9993 }
9994 }
9995
9996 impl ::steam_vent_proto_common::protobuf::Message for App {
9997 const NAME: &'static str = "App";
9998
9999 fn is_initialized(&self) -> bool {
10000 true
10001 }
10002
10003 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10004 while let Some(tag) = is.read_raw_tag_or_eof()? {
10005 match tag {
10006 8 => {
10007 self.appid = ::std::option::Option::Some(is.read_uint32()?);
10008 },
10009 18 => {
10010 self.name = ::std::option::Option::Some(is.read_string()?);
10011 },
10012 24 => {
10013 self.shortcutid = ::std::option::Option::Some(is.read_uint32()?);
10014 },
10015 32 => {
10016 self.private = ::std::option::Option::Some(is.read_bool()?);
10017 },
10018 tag => {
10019 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
10020 },
10021 };
10022 }
10023 ::std::result::Result::Ok(())
10024 }
10025
10026 #[allow(unused_variables)]
10028 fn compute_size(&self) -> u64 {
10029 let mut my_size = 0;
10030 if let Some(v) = self.appid {
10031 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
10032 }
10033 if let Some(v) = self.name.as_ref() {
10034 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
10035 }
10036 if let Some(v) = self.shortcutid {
10037 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
10038 }
10039 if let Some(v) = self.private {
10040 my_size += 1 + 1;
10041 }
10042 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
10043 self.special_fields.cached_size().set(my_size as u32);
10044 my_size
10045 }
10046
10047 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10048 if let Some(v) = self.appid {
10049 os.write_uint32(1, v)?;
10050 }
10051 if let Some(v) = self.name.as_ref() {
10052 os.write_string(2, v)?;
10053 }
10054 if let Some(v) = self.shortcutid {
10055 os.write_uint32(3, v)?;
10056 }
10057 if let Some(v) = self.private {
10058 os.write_bool(4, v)?;
10059 }
10060 os.write_unknown_fields(self.special_fields.unknown_fields())?;
10061 ::std::result::Result::Ok(())
10062 }
10063
10064 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
10065 &self.special_fields
10066 }
10067
10068 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
10069 &mut self.special_fields
10070 }
10071
10072 fn new() -> App {
10073 App::new()
10074 }
10075
10076 fn clear(&mut self) {
10077 self.appid = ::std::option::Option::None;
10078 self.name = ::std::option::Option::None;
10079 self.shortcutid = ::std::option::Option::None;
10080 self.private = ::std::option::Option::None;
10081 self.special_fields.clear();
10082 }
10083
10084 fn default_instance() -> &'static App {
10085 static instance: App = App {
10086 appid: ::std::option::Option::None,
10087 name: ::std::option::Option::None,
10088 shortcutid: ::std::option::Option::None,
10089 private: ::std::option::Option::None,
10090 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
10091 };
10092 &instance
10093 }
10094 }
10095}
10096
10097#[derive(PartialEq,Clone,Default,Debug)]
10099pub struct CPublishedFile_AreFilesInSubscriptionList_Request {
10100 pub appid: ::std::option::Option<u32>,
10103 pub publishedfileids: ::std::vec::Vec<u64>,
10105 pub listtype: ::std::option::Option<u32>,
10107 pub filetype: ::std::option::Option<u32>,
10109 pub workshopfiletype: ::std::option::Option<u32>,
10111 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
10114}
10115
10116impl<'a> ::std::default::Default for &'a CPublishedFile_AreFilesInSubscriptionList_Request {
10117 fn default() -> &'a CPublishedFile_AreFilesInSubscriptionList_Request {
10118 <CPublishedFile_AreFilesInSubscriptionList_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
10119 }
10120}
10121
10122impl CPublishedFile_AreFilesInSubscriptionList_Request {
10123 pub fn new() -> CPublishedFile_AreFilesInSubscriptionList_Request {
10124 ::std::default::Default::default()
10125 }
10126
10127 pub fn appid(&self) -> u32 {
10130 self.appid.unwrap_or(0)
10131 }
10132
10133 pub fn clear_appid(&mut self) {
10134 self.appid = ::std::option::Option::None;
10135 }
10136
10137 pub fn has_appid(&self) -> bool {
10138 self.appid.is_some()
10139 }
10140
10141 pub fn set_appid(&mut self, v: u32) {
10143 self.appid = ::std::option::Option::Some(v);
10144 }
10145
10146 pub fn listtype(&self) -> u32 {
10149 self.listtype.unwrap_or(0)
10150 }
10151
10152 pub fn clear_listtype(&mut self) {
10153 self.listtype = ::std::option::Option::None;
10154 }
10155
10156 pub fn has_listtype(&self) -> bool {
10157 self.listtype.is_some()
10158 }
10159
10160 pub fn set_listtype(&mut self, v: u32) {
10162 self.listtype = ::std::option::Option::Some(v);
10163 }
10164
10165 pub fn filetype(&self) -> u32 {
10168 self.filetype.unwrap_or(0)
10169 }
10170
10171 pub fn clear_filetype(&mut self) {
10172 self.filetype = ::std::option::Option::None;
10173 }
10174
10175 pub fn has_filetype(&self) -> bool {
10176 self.filetype.is_some()
10177 }
10178
10179 pub fn set_filetype(&mut self, v: u32) {
10181 self.filetype = ::std::option::Option::Some(v);
10182 }
10183
10184 pub fn workshopfiletype(&self) -> u32 {
10187 self.workshopfiletype.unwrap_or(0)
10188 }
10189
10190 pub fn clear_workshopfiletype(&mut self) {
10191 self.workshopfiletype = ::std::option::Option::None;
10192 }
10193
10194 pub fn has_workshopfiletype(&self) -> bool {
10195 self.workshopfiletype.is_some()
10196 }
10197
10198 pub fn set_workshopfiletype(&mut self, v: u32) {
10200 self.workshopfiletype = ::std::option::Option::Some(v);
10201 }
10202}
10203
10204impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_AreFilesInSubscriptionList_Request {
10205 const NAME: &'static str = "CPublishedFile_AreFilesInSubscriptionList_Request";
10206
10207 fn is_initialized(&self) -> bool {
10208 true
10209 }
10210
10211 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10212 while let Some(tag) = is.read_raw_tag_or_eof()? {
10213 match tag {
10214 8 => {
10215 self.appid = ::std::option::Option::Some(is.read_uint32()?);
10216 },
10217 18 => {
10218 is.read_repeated_packed_fixed64_into(&mut self.publishedfileids)?;
10219 },
10220 17 => {
10221 self.publishedfileids.push(is.read_fixed64()?);
10222 },
10223 24 => {
10224 self.listtype = ::std::option::Option::Some(is.read_uint32()?);
10225 },
10226 32 => {
10227 self.filetype = ::std::option::Option::Some(is.read_uint32()?);
10228 },
10229 40 => {
10230 self.workshopfiletype = ::std::option::Option::Some(is.read_uint32()?);
10231 },
10232 tag => {
10233 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
10234 },
10235 };
10236 }
10237 ::std::result::Result::Ok(())
10238 }
10239
10240 #[allow(unused_variables)]
10242 fn compute_size(&self) -> u64 {
10243 let mut my_size = 0;
10244 if let Some(v) = self.appid {
10245 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
10246 }
10247 my_size += 9 * self.publishedfileids.len() as u64;
10248 if let Some(v) = self.listtype {
10249 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
10250 }
10251 if let Some(v) = self.filetype {
10252 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
10253 }
10254 if let Some(v) = self.workshopfiletype {
10255 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
10256 }
10257 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
10258 self.special_fields.cached_size().set(my_size as u32);
10259 my_size
10260 }
10261
10262 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10263 if let Some(v) = self.appid {
10264 os.write_uint32(1, v)?;
10265 }
10266 for v in &self.publishedfileids {
10267 os.write_fixed64(2, *v)?;
10268 };
10269 if let Some(v) = self.listtype {
10270 os.write_uint32(3, v)?;
10271 }
10272 if let Some(v) = self.filetype {
10273 os.write_uint32(4, v)?;
10274 }
10275 if let Some(v) = self.workshopfiletype {
10276 os.write_uint32(5, v)?;
10277 }
10278 os.write_unknown_fields(self.special_fields.unknown_fields())?;
10279 ::std::result::Result::Ok(())
10280 }
10281
10282 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
10283 &self.special_fields
10284 }
10285
10286 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
10287 &mut self.special_fields
10288 }
10289
10290 fn new() -> CPublishedFile_AreFilesInSubscriptionList_Request {
10291 CPublishedFile_AreFilesInSubscriptionList_Request::new()
10292 }
10293
10294 fn clear(&mut self) {
10295 self.appid = ::std::option::Option::None;
10296 self.publishedfileids.clear();
10297 self.listtype = ::std::option::Option::None;
10298 self.filetype = ::std::option::Option::None;
10299 self.workshopfiletype = ::std::option::Option::None;
10300 self.special_fields.clear();
10301 }
10302
10303 fn default_instance() -> &'static CPublishedFile_AreFilesInSubscriptionList_Request {
10304 static instance: CPublishedFile_AreFilesInSubscriptionList_Request = CPublishedFile_AreFilesInSubscriptionList_Request {
10305 appid: ::std::option::Option::None,
10306 publishedfileids: ::std::vec::Vec::new(),
10307 listtype: ::std::option::Option::None,
10308 filetype: ::std::option::Option::None,
10309 workshopfiletype: ::std::option::Option::None,
10310 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
10311 };
10312 &instance
10313 }
10314}
10315
10316#[derive(PartialEq,Clone,Default,Debug)]
10318pub struct CPublishedFile_AreFilesInSubscriptionList_Response {
10319 pub files: ::std::vec::Vec<cpublished_file_are_files_in_subscription_list_response::InList>,
10322 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
10325}
10326
10327impl<'a> ::std::default::Default for &'a CPublishedFile_AreFilesInSubscriptionList_Response {
10328 fn default() -> &'a CPublishedFile_AreFilesInSubscriptionList_Response {
10329 <CPublishedFile_AreFilesInSubscriptionList_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
10330 }
10331}
10332
10333impl CPublishedFile_AreFilesInSubscriptionList_Response {
10334 pub fn new() -> CPublishedFile_AreFilesInSubscriptionList_Response {
10335 ::std::default::Default::default()
10336 }
10337}
10338
10339impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_AreFilesInSubscriptionList_Response {
10340 const NAME: &'static str = "CPublishedFile_AreFilesInSubscriptionList_Response";
10341
10342 fn is_initialized(&self) -> bool {
10343 true
10344 }
10345
10346 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10347 while let Some(tag) = is.read_raw_tag_or_eof()? {
10348 match tag {
10349 10 => {
10350 self.files.push(is.read_message()?);
10351 },
10352 tag => {
10353 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
10354 },
10355 };
10356 }
10357 ::std::result::Result::Ok(())
10358 }
10359
10360 #[allow(unused_variables)]
10362 fn compute_size(&self) -> u64 {
10363 let mut my_size = 0;
10364 for value in &self.files {
10365 let len = value.compute_size();
10366 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
10367 };
10368 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
10369 self.special_fields.cached_size().set(my_size as u32);
10370 my_size
10371 }
10372
10373 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10374 for v in &self.files {
10375 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
10376 };
10377 os.write_unknown_fields(self.special_fields.unknown_fields())?;
10378 ::std::result::Result::Ok(())
10379 }
10380
10381 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
10382 &self.special_fields
10383 }
10384
10385 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
10386 &mut self.special_fields
10387 }
10388
10389 fn new() -> CPublishedFile_AreFilesInSubscriptionList_Response {
10390 CPublishedFile_AreFilesInSubscriptionList_Response::new()
10391 }
10392
10393 fn clear(&mut self) {
10394 self.files.clear();
10395 self.special_fields.clear();
10396 }
10397
10398 fn default_instance() -> &'static CPublishedFile_AreFilesInSubscriptionList_Response {
10399 static instance: CPublishedFile_AreFilesInSubscriptionList_Response = CPublishedFile_AreFilesInSubscriptionList_Response {
10400 files: ::std::vec::Vec::new(),
10401 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
10402 };
10403 &instance
10404 }
10405}
10406
10407pub mod cpublished_file_are_files_in_subscription_list_response {
10409 #[derive(PartialEq,Clone,Default,Debug)]
10411 pub struct InList {
10412 pub publishedfileid: ::std::option::Option<u64>,
10415 pub inlist: ::std::option::Option<bool>,
10417 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
10420 }
10421
10422 impl<'a> ::std::default::Default for &'a InList {
10423 fn default() -> &'a InList {
10424 <InList as ::steam_vent_proto_common::protobuf::Message>::default_instance()
10425 }
10426 }
10427
10428 impl InList {
10429 pub fn new() -> InList {
10430 ::std::default::Default::default()
10431 }
10432
10433 pub fn publishedfileid(&self) -> u64 {
10436 self.publishedfileid.unwrap_or(0)
10437 }
10438
10439 pub fn clear_publishedfileid(&mut self) {
10440 self.publishedfileid = ::std::option::Option::None;
10441 }
10442
10443 pub fn has_publishedfileid(&self) -> bool {
10444 self.publishedfileid.is_some()
10445 }
10446
10447 pub fn set_publishedfileid(&mut self, v: u64) {
10449 self.publishedfileid = ::std::option::Option::Some(v);
10450 }
10451
10452 pub fn inlist(&self) -> bool {
10455 self.inlist.unwrap_or(false)
10456 }
10457
10458 pub fn clear_inlist(&mut self) {
10459 self.inlist = ::std::option::Option::None;
10460 }
10461
10462 pub fn has_inlist(&self) -> bool {
10463 self.inlist.is_some()
10464 }
10465
10466 pub fn set_inlist(&mut self, v: bool) {
10468 self.inlist = ::std::option::Option::Some(v);
10469 }
10470 }
10471
10472 impl ::steam_vent_proto_common::protobuf::Message for InList {
10473 const NAME: &'static str = "InList";
10474
10475 fn is_initialized(&self) -> bool {
10476 true
10477 }
10478
10479 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10480 while let Some(tag) = is.read_raw_tag_or_eof()? {
10481 match tag {
10482 9 => {
10483 self.publishedfileid = ::std::option::Option::Some(is.read_fixed64()?);
10484 },
10485 16 => {
10486 self.inlist = ::std::option::Option::Some(is.read_bool()?);
10487 },
10488 tag => {
10489 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
10490 },
10491 };
10492 }
10493 ::std::result::Result::Ok(())
10494 }
10495
10496 #[allow(unused_variables)]
10498 fn compute_size(&self) -> u64 {
10499 let mut my_size = 0;
10500 if let Some(v) = self.publishedfileid {
10501 my_size += 1 + 8;
10502 }
10503 if let Some(v) = self.inlist {
10504 my_size += 1 + 1;
10505 }
10506 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
10507 self.special_fields.cached_size().set(my_size as u32);
10508 my_size
10509 }
10510
10511 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10512 if let Some(v) = self.publishedfileid {
10513 os.write_fixed64(1, v)?;
10514 }
10515 if let Some(v) = self.inlist {
10516 os.write_bool(2, v)?;
10517 }
10518 os.write_unknown_fields(self.special_fields.unknown_fields())?;
10519 ::std::result::Result::Ok(())
10520 }
10521
10522 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
10523 &self.special_fields
10524 }
10525
10526 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
10527 &mut self.special_fields
10528 }
10529
10530 fn new() -> InList {
10531 InList::new()
10532 }
10533
10534 fn clear(&mut self) {
10535 self.publishedfileid = ::std::option::Option::None;
10536 self.inlist = ::std::option::Option::None;
10537 self.special_fields.clear();
10538 }
10539
10540 fn default_instance() -> &'static InList {
10541 static instance: InList = InList {
10542 publishedfileid: ::std::option::Option::None,
10543 inlist: ::std::option::Option::None,
10544 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
10545 };
10546 &instance
10547 }
10548 }
10549}
10550
10551#[derive(PartialEq,Clone,Default,Debug)]
10553pub struct CPublishedFile_Update_Request {
10554 pub appid: ::std::option::Option<u32>,
10557 pub publishedfileid: ::std::option::Option<u64>,
10559 pub title: ::std::option::Option<::std::string::String>,
10561 pub file_description: ::std::option::Option<::std::string::String>,
10563 pub visibility: ::std::option::Option<u32>,
10565 pub tags: ::std::vec::Vec<::std::string::String>,
10567 pub filename: ::std::option::Option<::std::string::String>,
10569 pub preview_filename: ::std::option::Option<::std::string::String>,
10571 pub spoiler_tag: ::std::option::Option<bool>,
10573 pub image_width: ::std::option::Option<u32>,
10575 pub image_height: ::std::option::Option<u32>,
10577 pub language: ::std::option::Option<i32>,
10579 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
10582}
10583
10584impl<'a> ::std::default::Default for &'a CPublishedFile_Update_Request {
10585 fn default() -> &'a CPublishedFile_Update_Request {
10586 <CPublishedFile_Update_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
10587 }
10588}
10589
10590impl CPublishedFile_Update_Request {
10591 pub fn new() -> CPublishedFile_Update_Request {
10592 ::std::default::Default::default()
10593 }
10594
10595 pub fn appid(&self) -> u32 {
10598 self.appid.unwrap_or(0)
10599 }
10600
10601 pub fn clear_appid(&mut self) {
10602 self.appid = ::std::option::Option::None;
10603 }
10604
10605 pub fn has_appid(&self) -> bool {
10606 self.appid.is_some()
10607 }
10608
10609 pub fn set_appid(&mut self, v: u32) {
10611 self.appid = ::std::option::Option::Some(v);
10612 }
10613
10614 pub fn publishedfileid(&self) -> u64 {
10617 self.publishedfileid.unwrap_or(0)
10618 }
10619
10620 pub fn clear_publishedfileid(&mut self) {
10621 self.publishedfileid = ::std::option::Option::None;
10622 }
10623
10624 pub fn has_publishedfileid(&self) -> bool {
10625 self.publishedfileid.is_some()
10626 }
10627
10628 pub fn set_publishedfileid(&mut self, v: u64) {
10630 self.publishedfileid = ::std::option::Option::Some(v);
10631 }
10632
10633 pub fn title(&self) -> &str {
10636 match self.title.as_ref() {
10637 Some(v) => v,
10638 None => "",
10639 }
10640 }
10641
10642 pub fn clear_title(&mut self) {
10643 self.title = ::std::option::Option::None;
10644 }
10645
10646 pub fn has_title(&self) -> bool {
10647 self.title.is_some()
10648 }
10649
10650 pub fn set_title(&mut self, v: ::std::string::String) {
10652 self.title = ::std::option::Option::Some(v);
10653 }
10654
10655 pub fn mut_title(&mut self) -> &mut ::std::string::String {
10658 if self.title.is_none() {
10659 self.title = ::std::option::Option::Some(::std::string::String::new());
10660 }
10661 self.title.as_mut().unwrap()
10662 }
10663
10664 pub fn take_title(&mut self) -> ::std::string::String {
10666 self.title.take().unwrap_or_else(|| ::std::string::String::new())
10667 }
10668
10669 pub fn file_description(&self) -> &str {
10672 match self.file_description.as_ref() {
10673 Some(v) => v,
10674 None => "",
10675 }
10676 }
10677
10678 pub fn clear_file_description(&mut self) {
10679 self.file_description = ::std::option::Option::None;
10680 }
10681
10682 pub fn has_file_description(&self) -> bool {
10683 self.file_description.is_some()
10684 }
10685
10686 pub fn set_file_description(&mut self, v: ::std::string::String) {
10688 self.file_description = ::std::option::Option::Some(v);
10689 }
10690
10691 pub fn mut_file_description(&mut self) -> &mut ::std::string::String {
10694 if self.file_description.is_none() {
10695 self.file_description = ::std::option::Option::Some(::std::string::String::new());
10696 }
10697 self.file_description.as_mut().unwrap()
10698 }
10699
10700 pub fn take_file_description(&mut self) -> ::std::string::String {
10702 self.file_description.take().unwrap_or_else(|| ::std::string::String::new())
10703 }
10704
10705 pub fn visibility(&self) -> u32 {
10708 self.visibility.unwrap_or(0)
10709 }
10710
10711 pub fn clear_visibility(&mut self) {
10712 self.visibility = ::std::option::Option::None;
10713 }
10714
10715 pub fn has_visibility(&self) -> bool {
10716 self.visibility.is_some()
10717 }
10718
10719 pub fn set_visibility(&mut self, v: u32) {
10721 self.visibility = ::std::option::Option::Some(v);
10722 }
10723
10724 pub fn filename(&self) -> &str {
10727 match self.filename.as_ref() {
10728 Some(v) => v,
10729 None => "",
10730 }
10731 }
10732
10733 pub fn clear_filename(&mut self) {
10734 self.filename = ::std::option::Option::None;
10735 }
10736
10737 pub fn has_filename(&self) -> bool {
10738 self.filename.is_some()
10739 }
10740
10741 pub fn set_filename(&mut self, v: ::std::string::String) {
10743 self.filename = ::std::option::Option::Some(v);
10744 }
10745
10746 pub fn mut_filename(&mut self) -> &mut ::std::string::String {
10749 if self.filename.is_none() {
10750 self.filename = ::std::option::Option::Some(::std::string::String::new());
10751 }
10752 self.filename.as_mut().unwrap()
10753 }
10754
10755 pub fn take_filename(&mut self) -> ::std::string::String {
10757 self.filename.take().unwrap_or_else(|| ::std::string::String::new())
10758 }
10759
10760 pub fn preview_filename(&self) -> &str {
10763 match self.preview_filename.as_ref() {
10764 Some(v) => v,
10765 None => "",
10766 }
10767 }
10768
10769 pub fn clear_preview_filename(&mut self) {
10770 self.preview_filename = ::std::option::Option::None;
10771 }
10772
10773 pub fn has_preview_filename(&self) -> bool {
10774 self.preview_filename.is_some()
10775 }
10776
10777 pub fn set_preview_filename(&mut self, v: ::std::string::String) {
10779 self.preview_filename = ::std::option::Option::Some(v);
10780 }
10781
10782 pub fn mut_preview_filename(&mut self) -> &mut ::std::string::String {
10785 if self.preview_filename.is_none() {
10786 self.preview_filename = ::std::option::Option::Some(::std::string::String::new());
10787 }
10788 self.preview_filename.as_mut().unwrap()
10789 }
10790
10791 pub fn take_preview_filename(&mut self) -> ::std::string::String {
10793 self.preview_filename.take().unwrap_or_else(|| ::std::string::String::new())
10794 }
10795
10796 pub fn spoiler_tag(&self) -> bool {
10799 self.spoiler_tag.unwrap_or(false)
10800 }
10801
10802 pub fn clear_spoiler_tag(&mut self) {
10803 self.spoiler_tag = ::std::option::Option::None;
10804 }
10805
10806 pub fn has_spoiler_tag(&self) -> bool {
10807 self.spoiler_tag.is_some()
10808 }
10809
10810 pub fn set_spoiler_tag(&mut self, v: bool) {
10812 self.spoiler_tag = ::std::option::Option::Some(v);
10813 }
10814
10815 pub fn image_width(&self) -> u32 {
10818 self.image_width.unwrap_or(0)
10819 }
10820
10821 pub fn clear_image_width(&mut self) {
10822 self.image_width = ::std::option::Option::None;
10823 }
10824
10825 pub fn has_image_width(&self) -> bool {
10826 self.image_width.is_some()
10827 }
10828
10829 pub fn set_image_width(&mut self, v: u32) {
10831 self.image_width = ::std::option::Option::Some(v);
10832 }
10833
10834 pub fn image_height(&self) -> u32 {
10837 self.image_height.unwrap_or(0)
10838 }
10839
10840 pub fn clear_image_height(&mut self) {
10841 self.image_height = ::std::option::Option::None;
10842 }
10843
10844 pub fn has_image_height(&self) -> bool {
10845 self.image_height.is_some()
10846 }
10847
10848 pub fn set_image_height(&mut self, v: u32) {
10850 self.image_height = ::std::option::Option::Some(v);
10851 }
10852
10853 pub fn language(&self) -> i32 {
10856 self.language.unwrap_or(0)
10857 }
10858
10859 pub fn clear_language(&mut self) {
10860 self.language = ::std::option::Option::None;
10861 }
10862
10863 pub fn has_language(&self) -> bool {
10864 self.language.is_some()
10865 }
10866
10867 pub fn set_language(&mut self, v: i32) {
10869 self.language = ::std::option::Option::Some(v);
10870 }
10871}
10872
10873impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_Update_Request {
10874 const NAME: &'static str = "CPublishedFile_Update_Request";
10875
10876 fn is_initialized(&self) -> bool {
10877 true
10878 }
10879
10880 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10881 while let Some(tag) = is.read_raw_tag_or_eof()? {
10882 match tag {
10883 8 => {
10884 self.appid = ::std::option::Option::Some(is.read_uint32()?);
10885 },
10886 17 => {
10887 self.publishedfileid = ::std::option::Option::Some(is.read_fixed64()?);
10888 },
10889 26 => {
10890 self.title = ::std::option::Option::Some(is.read_string()?);
10891 },
10892 34 => {
10893 self.file_description = ::std::option::Option::Some(is.read_string()?);
10894 },
10895 40 => {
10896 self.visibility = ::std::option::Option::Some(is.read_uint32()?);
10897 },
10898 50 => {
10899 self.tags.push(is.read_string()?);
10900 },
10901 58 => {
10902 self.filename = ::std::option::Option::Some(is.read_string()?);
10903 },
10904 66 => {
10905 self.preview_filename = ::std::option::Option::Some(is.read_string()?);
10906 },
10907 80 => {
10908 self.spoiler_tag = ::std::option::Option::Some(is.read_bool()?);
10909 },
10910 120 => {
10911 self.image_width = ::std::option::Option::Some(is.read_uint32()?);
10912 },
10913 128 => {
10914 self.image_height = ::std::option::Option::Some(is.read_uint32()?);
10915 },
10916 136 => {
10917 self.language = ::std::option::Option::Some(is.read_int32()?);
10918 },
10919 tag => {
10920 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
10921 },
10922 };
10923 }
10924 ::std::result::Result::Ok(())
10925 }
10926
10927 #[allow(unused_variables)]
10929 fn compute_size(&self) -> u64 {
10930 let mut my_size = 0;
10931 if let Some(v) = self.appid {
10932 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
10933 }
10934 if let Some(v) = self.publishedfileid {
10935 my_size += 1 + 8;
10936 }
10937 if let Some(v) = self.title.as_ref() {
10938 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
10939 }
10940 if let Some(v) = self.file_description.as_ref() {
10941 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
10942 }
10943 if let Some(v) = self.visibility {
10944 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
10945 }
10946 for value in &self.tags {
10947 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &value);
10948 };
10949 if let Some(v) = self.filename.as_ref() {
10950 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &v);
10951 }
10952 if let Some(v) = self.preview_filename.as_ref() {
10953 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
10954 }
10955 if let Some(v) = self.spoiler_tag {
10956 my_size += 1 + 1;
10957 }
10958 if let Some(v) = self.image_width {
10959 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(15, v);
10960 }
10961 if let Some(v) = self.image_height {
10962 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(16, v);
10963 }
10964 if let Some(v) = self.language {
10965 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(17, v);
10966 }
10967 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
10968 self.special_fields.cached_size().set(my_size as u32);
10969 my_size
10970 }
10971
10972 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
10973 if let Some(v) = self.appid {
10974 os.write_uint32(1, v)?;
10975 }
10976 if let Some(v) = self.publishedfileid {
10977 os.write_fixed64(2, v)?;
10978 }
10979 if let Some(v) = self.title.as_ref() {
10980 os.write_string(3, v)?;
10981 }
10982 if let Some(v) = self.file_description.as_ref() {
10983 os.write_string(4, v)?;
10984 }
10985 if let Some(v) = self.visibility {
10986 os.write_uint32(5, v)?;
10987 }
10988 for v in &self.tags {
10989 os.write_string(6, &v)?;
10990 };
10991 if let Some(v) = self.filename.as_ref() {
10992 os.write_string(7, v)?;
10993 }
10994 if let Some(v) = self.preview_filename.as_ref() {
10995 os.write_string(8, v)?;
10996 }
10997 if let Some(v) = self.spoiler_tag {
10998 os.write_bool(10, v)?;
10999 }
11000 if let Some(v) = self.image_width {
11001 os.write_uint32(15, v)?;
11002 }
11003 if let Some(v) = self.image_height {
11004 os.write_uint32(16, v)?;
11005 }
11006 if let Some(v) = self.language {
11007 os.write_int32(17, v)?;
11008 }
11009 os.write_unknown_fields(self.special_fields.unknown_fields())?;
11010 ::std::result::Result::Ok(())
11011 }
11012
11013 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
11014 &self.special_fields
11015 }
11016
11017 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
11018 &mut self.special_fields
11019 }
11020
11021 fn new() -> CPublishedFile_Update_Request {
11022 CPublishedFile_Update_Request::new()
11023 }
11024
11025 fn clear(&mut self) {
11026 self.appid = ::std::option::Option::None;
11027 self.publishedfileid = ::std::option::Option::None;
11028 self.title = ::std::option::Option::None;
11029 self.file_description = ::std::option::Option::None;
11030 self.visibility = ::std::option::Option::None;
11031 self.tags.clear();
11032 self.filename = ::std::option::Option::None;
11033 self.preview_filename = ::std::option::Option::None;
11034 self.spoiler_tag = ::std::option::Option::None;
11035 self.image_width = ::std::option::Option::None;
11036 self.image_height = ::std::option::Option::None;
11037 self.language = ::std::option::Option::None;
11038 self.special_fields.clear();
11039 }
11040
11041 fn default_instance() -> &'static CPublishedFile_Update_Request {
11042 static instance: CPublishedFile_Update_Request = CPublishedFile_Update_Request {
11043 appid: ::std::option::Option::None,
11044 publishedfileid: ::std::option::Option::None,
11045 title: ::std::option::Option::None,
11046 file_description: ::std::option::Option::None,
11047 visibility: ::std::option::Option::None,
11048 tags: ::std::vec::Vec::new(),
11049 filename: ::std::option::Option::None,
11050 preview_filename: ::std::option::Option::None,
11051 spoiler_tag: ::std::option::Option::None,
11052 image_width: ::std::option::Option::None,
11053 image_height: ::std::option::Option::None,
11054 language: ::std::option::Option::None,
11055 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
11056 };
11057 &instance
11058 }
11059}
11060
11061#[derive(PartialEq,Clone,Default,Debug)]
11063pub struct CPublishedFile_Update_Response {
11064 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
11067}
11068
11069impl<'a> ::std::default::Default for &'a CPublishedFile_Update_Response {
11070 fn default() -> &'a CPublishedFile_Update_Response {
11071 <CPublishedFile_Update_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
11072 }
11073}
11074
11075impl CPublishedFile_Update_Response {
11076 pub fn new() -> CPublishedFile_Update_Response {
11077 ::std::default::Default::default()
11078 }
11079}
11080
11081impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_Update_Response {
11082 const NAME: &'static str = "CPublishedFile_Update_Response";
11083
11084 fn is_initialized(&self) -> bool {
11085 true
11086 }
11087
11088 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11089 while let Some(tag) = is.read_raw_tag_or_eof()? {
11090 match tag {
11091 tag => {
11092 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
11093 },
11094 };
11095 }
11096 ::std::result::Result::Ok(())
11097 }
11098
11099 #[allow(unused_variables)]
11101 fn compute_size(&self) -> u64 {
11102 let mut my_size = 0;
11103 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
11104 self.special_fields.cached_size().set(my_size as u32);
11105 my_size
11106 }
11107
11108 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11109 os.write_unknown_fields(self.special_fields.unknown_fields())?;
11110 ::std::result::Result::Ok(())
11111 }
11112
11113 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
11114 &self.special_fields
11115 }
11116
11117 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
11118 &mut self.special_fields
11119 }
11120
11121 fn new() -> CPublishedFile_Update_Response {
11122 CPublishedFile_Update_Response::new()
11123 }
11124
11125 fn clear(&mut self) {
11126 self.special_fields.clear();
11127 }
11128
11129 fn default_instance() -> &'static CPublishedFile_Update_Response {
11130 static instance: CPublishedFile_Update_Response = CPublishedFile_Update_Response {
11131 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
11132 };
11133 &instance
11134 }
11135}
11136
11137#[derive(PartialEq,Clone,Default,Debug)]
11139pub struct CPublishedFile_Delete_Request {
11140 pub publishedfileid: ::std::option::Option<u64>,
11143 pub appid: ::std::option::Option<u32>,
11145 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
11148}
11149
11150impl<'a> ::std::default::Default for &'a CPublishedFile_Delete_Request {
11151 fn default() -> &'a CPublishedFile_Delete_Request {
11152 <CPublishedFile_Delete_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
11153 }
11154}
11155
11156impl CPublishedFile_Delete_Request {
11157 pub fn new() -> CPublishedFile_Delete_Request {
11158 ::std::default::Default::default()
11159 }
11160
11161 pub fn publishedfileid(&self) -> u64 {
11164 self.publishedfileid.unwrap_or(0)
11165 }
11166
11167 pub fn clear_publishedfileid(&mut self) {
11168 self.publishedfileid = ::std::option::Option::None;
11169 }
11170
11171 pub fn has_publishedfileid(&self) -> bool {
11172 self.publishedfileid.is_some()
11173 }
11174
11175 pub fn set_publishedfileid(&mut self, v: u64) {
11177 self.publishedfileid = ::std::option::Option::Some(v);
11178 }
11179
11180 pub fn appid(&self) -> u32 {
11183 self.appid.unwrap_or(0)
11184 }
11185
11186 pub fn clear_appid(&mut self) {
11187 self.appid = ::std::option::Option::None;
11188 }
11189
11190 pub fn has_appid(&self) -> bool {
11191 self.appid.is_some()
11192 }
11193
11194 pub fn set_appid(&mut self, v: u32) {
11196 self.appid = ::std::option::Option::Some(v);
11197 }
11198}
11199
11200impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_Delete_Request {
11201 const NAME: &'static str = "CPublishedFile_Delete_Request";
11202
11203 fn is_initialized(&self) -> bool {
11204 true
11205 }
11206
11207 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11208 while let Some(tag) = is.read_raw_tag_or_eof()? {
11209 match tag {
11210 9 => {
11211 self.publishedfileid = ::std::option::Option::Some(is.read_fixed64()?);
11212 },
11213 40 => {
11214 self.appid = ::std::option::Option::Some(is.read_uint32()?);
11215 },
11216 tag => {
11217 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
11218 },
11219 };
11220 }
11221 ::std::result::Result::Ok(())
11222 }
11223
11224 #[allow(unused_variables)]
11226 fn compute_size(&self) -> u64 {
11227 let mut my_size = 0;
11228 if let Some(v) = self.publishedfileid {
11229 my_size += 1 + 8;
11230 }
11231 if let Some(v) = self.appid {
11232 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
11233 }
11234 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
11235 self.special_fields.cached_size().set(my_size as u32);
11236 my_size
11237 }
11238
11239 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11240 if let Some(v) = self.publishedfileid {
11241 os.write_fixed64(1, v)?;
11242 }
11243 if let Some(v) = self.appid {
11244 os.write_uint32(5, v)?;
11245 }
11246 os.write_unknown_fields(self.special_fields.unknown_fields())?;
11247 ::std::result::Result::Ok(())
11248 }
11249
11250 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
11251 &self.special_fields
11252 }
11253
11254 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
11255 &mut self.special_fields
11256 }
11257
11258 fn new() -> CPublishedFile_Delete_Request {
11259 CPublishedFile_Delete_Request::new()
11260 }
11261
11262 fn clear(&mut self) {
11263 self.publishedfileid = ::std::option::Option::None;
11264 self.appid = ::std::option::Option::None;
11265 self.special_fields.clear();
11266 }
11267
11268 fn default_instance() -> &'static CPublishedFile_Delete_Request {
11269 static instance: CPublishedFile_Delete_Request = CPublishedFile_Delete_Request {
11270 publishedfileid: ::std::option::Option::None,
11271 appid: ::std::option::Option::None,
11272 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
11273 };
11274 &instance
11275 }
11276}
11277
11278#[derive(PartialEq,Clone,Default,Debug)]
11280pub struct CPublishedFile_Delete_Response {
11281 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
11284}
11285
11286impl<'a> ::std::default::Default for &'a CPublishedFile_Delete_Response {
11287 fn default() -> &'a CPublishedFile_Delete_Response {
11288 <CPublishedFile_Delete_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
11289 }
11290}
11291
11292impl CPublishedFile_Delete_Response {
11293 pub fn new() -> CPublishedFile_Delete_Response {
11294 ::std::default::Default::default()
11295 }
11296}
11297
11298impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_Delete_Response {
11299 const NAME: &'static str = "CPublishedFile_Delete_Response";
11300
11301 fn is_initialized(&self) -> bool {
11302 true
11303 }
11304
11305 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11306 while let Some(tag) = is.read_raw_tag_or_eof()? {
11307 match tag {
11308 tag => {
11309 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
11310 },
11311 };
11312 }
11313 ::std::result::Result::Ok(())
11314 }
11315
11316 #[allow(unused_variables)]
11318 fn compute_size(&self) -> u64 {
11319 let mut my_size = 0;
11320 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
11321 self.special_fields.cached_size().set(my_size as u32);
11322 my_size
11323 }
11324
11325 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11326 os.write_unknown_fields(self.special_fields.unknown_fields())?;
11327 ::std::result::Result::Ok(())
11328 }
11329
11330 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
11331 &self.special_fields
11332 }
11333
11334 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
11335 &mut self.special_fields
11336 }
11337
11338 fn new() -> CPublishedFile_Delete_Response {
11339 CPublishedFile_Delete_Response::new()
11340 }
11341
11342 fn clear(&mut self) {
11343 self.special_fields.clear();
11344 }
11345
11346 fn default_instance() -> &'static CPublishedFile_Delete_Response {
11347 static instance: CPublishedFile_Delete_Response = CPublishedFile_Delete_Response {
11348 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
11349 };
11350 &instance
11351 }
11352}
11353
11354#[derive(PartialEq,Clone,Default,Debug)]
11356pub struct CPublishedFile_GetChangeHistoryEntry_Request {
11357 pub publishedfileid: ::std::option::Option<u64>,
11360 pub timestamp: ::std::option::Option<u32>,
11362 pub language: ::std::option::Option<i32>,
11364 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
11367}
11368
11369impl<'a> ::std::default::Default for &'a CPublishedFile_GetChangeHistoryEntry_Request {
11370 fn default() -> &'a CPublishedFile_GetChangeHistoryEntry_Request {
11371 <CPublishedFile_GetChangeHistoryEntry_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
11372 }
11373}
11374
11375impl CPublishedFile_GetChangeHistoryEntry_Request {
11376 pub fn new() -> CPublishedFile_GetChangeHistoryEntry_Request {
11377 ::std::default::Default::default()
11378 }
11379
11380 pub fn publishedfileid(&self) -> u64 {
11383 self.publishedfileid.unwrap_or(0)
11384 }
11385
11386 pub fn clear_publishedfileid(&mut self) {
11387 self.publishedfileid = ::std::option::Option::None;
11388 }
11389
11390 pub fn has_publishedfileid(&self) -> bool {
11391 self.publishedfileid.is_some()
11392 }
11393
11394 pub fn set_publishedfileid(&mut self, v: u64) {
11396 self.publishedfileid = ::std::option::Option::Some(v);
11397 }
11398
11399 pub fn timestamp(&self) -> u32 {
11402 self.timestamp.unwrap_or(0)
11403 }
11404
11405 pub fn clear_timestamp(&mut self) {
11406 self.timestamp = ::std::option::Option::None;
11407 }
11408
11409 pub fn has_timestamp(&self) -> bool {
11410 self.timestamp.is_some()
11411 }
11412
11413 pub fn set_timestamp(&mut self, v: u32) {
11415 self.timestamp = ::std::option::Option::Some(v);
11416 }
11417
11418 pub fn language(&self) -> i32 {
11421 self.language.unwrap_or(0)
11422 }
11423
11424 pub fn clear_language(&mut self) {
11425 self.language = ::std::option::Option::None;
11426 }
11427
11428 pub fn has_language(&self) -> bool {
11429 self.language.is_some()
11430 }
11431
11432 pub fn set_language(&mut self, v: i32) {
11434 self.language = ::std::option::Option::Some(v);
11435 }
11436}
11437
11438impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetChangeHistoryEntry_Request {
11439 const NAME: &'static str = "CPublishedFile_GetChangeHistoryEntry_Request";
11440
11441 fn is_initialized(&self) -> bool {
11442 true
11443 }
11444
11445 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11446 while let Some(tag) = is.read_raw_tag_or_eof()? {
11447 match tag {
11448 9 => {
11449 self.publishedfileid = ::std::option::Option::Some(is.read_fixed64()?);
11450 },
11451 16 => {
11452 self.timestamp = ::std::option::Option::Some(is.read_uint32()?);
11453 },
11454 24 => {
11455 self.language = ::std::option::Option::Some(is.read_int32()?);
11456 },
11457 tag => {
11458 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
11459 },
11460 };
11461 }
11462 ::std::result::Result::Ok(())
11463 }
11464
11465 #[allow(unused_variables)]
11467 fn compute_size(&self) -> u64 {
11468 let mut my_size = 0;
11469 if let Some(v) = self.publishedfileid {
11470 my_size += 1 + 8;
11471 }
11472 if let Some(v) = self.timestamp {
11473 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
11474 }
11475 if let Some(v) = self.language {
11476 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
11477 }
11478 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
11479 self.special_fields.cached_size().set(my_size as u32);
11480 my_size
11481 }
11482
11483 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11484 if let Some(v) = self.publishedfileid {
11485 os.write_fixed64(1, v)?;
11486 }
11487 if let Some(v) = self.timestamp {
11488 os.write_uint32(2, v)?;
11489 }
11490 if let Some(v) = self.language {
11491 os.write_int32(3, v)?;
11492 }
11493 os.write_unknown_fields(self.special_fields.unknown_fields())?;
11494 ::std::result::Result::Ok(())
11495 }
11496
11497 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
11498 &self.special_fields
11499 }
11500
11501 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
11502 &mut self.special_fields
11503 }
11504
11505 fn new() -> CPublishedFile_GetChangeHistoryEntry_Request {
11506 CPublishedFile_GetChangeHistoryEntry_Request::new()
11507 }
11508
11509 fn clear(&mut self) {
11510 self.publishedfileid = ::std::option::Option::None;
11511 self.timestamp = ::std::option::Option::None;
11512 self.language = ::std::option::Option::None;
11513 self.special_fields.clear();
11514 }
11515
11516 fn default_instance() -> &'static CPublishedFile_GetChangeHistoryEntry_Request {
11517 static instance: CPublishedFile_GetChangeHistoryEntry_Request = CPublishedFile_GetChangeHistoryEntry_Request {
11518 publishedfileid: ::std::option::Option::None,
11519 timestamp: ::std::option::Option::None,
11520 language: ::std::option::Option::None,
11521 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
11522 };
11523 &instance
11524 }
11525}
11526
11527#[derive(PartialEq,Clone,Default,Debug)]
11529pub struct CPublishedFile_GetChangeHistoryEntry_Response {
11530 pub change_description: ::std::option::Option<::std::string::String>,
11533 pub language: ::std::option::Option<i32>,
11535 pub saved_snapshot: ::std::option::Option<bool>,
11537 pub snapshot_game_branch_min: ::std::option::Option<::std::string::String>,
11539 pub snapshot_game_branch_max: ::std::option::Option<::std::string::String>,
11541 pub manifest_id: ::std::option::Option<u64>,
11543 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
11546}
11547
11548impl<'a> ::std::default::Default for &'a CPublishedFile_GetChangeHistoryEntry_Response {
11549 fn default() -> &'a CPublishedFile_GetChangeHistoryEntry_Response {
11550 <CPublishedFile_GetChangeHistoryEntry_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
11551 }
11552}
11553
11554impl CPublishedFile_GetChangeHistoryEntry_Response {
11555 pub fn new() -> CPublishedFile_GetChangeHistoryEntry_Response {
11556 ::std::default::Default::default()
11557 }
11558
11559 pub fn change_description(&self) -> &str {
11562 match self.change_description.as_ref() {
11563 Some(v) => v,
11564 None => "",
11565 }
11566 }
11567
11568 pub fn clear_change_description(&mut self) {
11569 self.change_description = ::std::option::Option::None;
11570 }
11571
11572 pub fn has_change_description(&self) -> bool {
11573 self.change_description.is_some()
11574 }
11575
11576 pub fn set_change_description(&mut self, v: ::std::string::String) {
11578 self.change_description = ::std::option::Option::Some(v);
11579 }
11580
11581 pub fn mut_change_description(&mut self) -> &mut ::std::string::String {
11584 if self.change_description.is_none() {
11585 self.change_description = ::std::option::Option::Some(::std::string::String::new());
11586 }
11587 self.change_description.as_mut().unwrap()
11588 }
11589
11590 pub fn take_change_description(&mut self) -> ::std::string::String {
11592 self.change_description.take().unwrap_or_else(|| ::std::string::String::new())
11593 }
11594
11595 pub fn language(&self) -> i32 {
11598 self.language.unwrap_or(0)
11599 }
11600
11601 pub fn clear_language(&mut self) {
11602 self.language = ::std::option::Option::None;
11603 }
11604
11605 pub fn has_language(&self) -> bool {
11606 self.language.is_some()
11607 }
11608
11609 pub fn set_language(&mut self, v: i32) {
11611 self.language = ::std::option::Option::Some(v);
11612 }
11613
11614 pub fn saved_snapshot(&self) -> bool {
11617 self.saved_snapshot.unwrap_or(false)
11618 }
11619
11620 pub fn clear_saved_snapshot(&mut self) {
11621 self.saved_snapshot = ::std::option::Option::None;
11622 }
11623
11624 pub fn has_saved_snapshot(&self) -> bool {
11625 self.saved_snapshot.is_some()
11626 }
11627
11628 pub fn set_saved_snapshot(&mut self, v: bool) {
11630 self.saved_snapshot = ::std::option::Option::Some(v);
11631 }
11632
11633 pub fn snapshot_game_branch_min(&self) -> &str {
11636 match self.snapshot_game_branch_min.as_ref() {
11637 Some(v) => v,
11638 None => "",
11639 }
11640 }
11641
11642 pub fn clear_snapshot_game_branch_min(&mut self) {
11643 self.snapshot_game_branch_min = ::std::option::Option::None;
11644 }
11645
11646 pub fn has_snapshot_game_branch_min(&self) -> bool {
11647 self.snapshot_game_branch_min.is_some()
11648 }
11649
11650 pub fn set_snapshot_game_branch_min(&mut self, v: ::std::string::String) {
11652 self.snapshot_game_branch_min = ::std::option::Option::Some(v);
11653 }
11654
11655 pub fn mut_snapshot_game_branch_min(&mut self) -> &mut ::std::string::String {
11658 if self.snapshot_game_branch_min.is_none() {
11659 self.snapshot_game_branch_min = ::std::option::Option::Some(::std::string::String::new());
11660 }
11661 self.snapshot_game_branch_min.as_mut().unwrap()
11662 }
11663
11664 pub fn take_snapshot_game_branch_min(&mut self) -> ::std::string::String {
11666 self.snapshot_game_branch_min.take().unwrap_or_else(|| ::std::string::String::new())
11667 }
11668
11669 pub fn snapshot_game_branch_max(&self) -> &str {
11672 match self.snapshot_game_branch_max.as_ref() {
11673 Some(v) => v,
11674 None => "",
11675 }
11676 }
11677
11678 pub fn clear_snapshot_game_branch_max(&mut self) {
11679 self.snapshot_game_branch_max = ::std::option::Option::None;
11680 }
11681
11682 pub fn has_snapshot_game_branch_max(&self) -> bool {
11683 self.snapshot_game_branch_max.is_some()
11684 }
11685
11686 pub fn set_snapshot_game_branch_max(&mut self, v: ::std::string::String) {
11688 self.snapshot_game_branch_max = ::std::option::Option::Some(v);
11689 }
11690
11691 pub fn mut_snapshot_game_branch_max(&mut self) -> &mut ::std::string::String {
11694 if self.snapshot_game_branch_max.is_none() {
11695 self.snapshot_game_branch_max = ::std::option::Option::Some(::std::string::String::new());
11696 }
11697 self.snapshot_game_branch_max.as_mut().unwrap()
11698 }
11699
11700 pub fn take_snapshot_game_branch_max(&mut self) -> ::std::string::String {
11702 self.snapshot_game_branch_max.take().unwrap_or_else(|| ::std::string::String::new())
11703 }
11704
11705 pub fn manifest_id(&self) -> u64 {
11708 self.manifest_id.unwrap_or(0)
11709 }
11710
11711 pub fn clear_manifest_id(&mut self) {
11712 self.manifest_id = ::std::option::Option::None;
11713 }
11714
11715 pub fn has_manifest_id(&self) -> bool {
11716 self.manifest_id.is_some()
11717 }
11718
11719 pub fn set_manifest_id(&mut self, v: u64) {
11721 self.manifest_id = ::std::option::Option::Some(v);
11722 }
11723}
11724
11725impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetChangeHistoryEntry_Response {
11726 const NAME: &'static str = "CPublishedFile_GetChangeHistoryEntry_Response";
11727
11728 fn is_initialized(&self) -> bool {
11729 true
11730 }
11731
11732 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11733 while let Some(tag) = is.read_raw_tag_or_eof()? {
11734 match tag {
11735 10 => {
11736 self.change_description = ::std::option::Option::Some(is.read_string()?);
11737 },
11738 16 => {
11739 self.language = ::std::option::Option::Some(is.read_int32()?);
11740 },
11741 24 => {
11742 self.saved_snapshot = ::std::option::Option::Some(is.read_bool()?);
11743 },
11744 34 => {
11745 self.snapshot_game_branch_min = ::std::option::Option::Some(is.read_string()?);
11746 },
11747 42 => {
11748 self.snapshot_game_branch_max = ::std::option::Option::Some(is.read_string()?);
11749 },
11750 49 => {
11751 self.manifest_id = ::std::option::Option::Some(is.read_fixed64()?);
11752 },
11753 tag => {
11754 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
11755 },
11756 };
11757 }
11758 ::std::result::Result::Ok(())
11759 }
11760
11761 #[allow(unused_variables)]
11763 fn compute_size(&self) -> u64 {
11764 let mut my_size = 0;
11765 if let Some(v) = self.change_description.as_ref() {
11766 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
11767 }
11768 if let Some(v) = self.language {
11769 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, v);
11770 }
11771 if let Some(v) = self.saved_snapshot {
11772 my_size += 1 + 1;
11773 }
11774 if let Some(v) = self.snapshot_game_branch_min.as_ref() {
11775 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
11776 }
11777 if let Some(v) = self.snapshot_game_branch_max.as_ref() {
11778 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
11779 }
11780 if let Some(v) = self.manifest_id {
11781 my_size += 1 + 8;
11782 }
11783 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
11784 self.special_fields.cached_size().set(my_size as u32);
11785 my_size
11786 }
11787
11788 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11789 if let Some(v) = self.change_description.as_ref() {
11790 os.write_string(1, v)?;
11791 }
11792 if let Some(v) = self.language {
11793 os.write_int32(2, v)?;
11794 }
11795 if let Some(v) = self.saved_snapshot {
11796 os.write_bool(3, v)?;
11797 }
11798 if let Some(v) = self.snapshot_game_branch_min.as_ref() {
11799 os.write_string(4, v)?;
11800 }
11801 if let Some(v) = self.snapshot_game_branch_max.as_ref() {
11802 os.write_string(5, v)?;
11803 }
11804 if let Some(v) = self.manifest_id {
11805 os.write_fixed64(6, v)?;
11806 }
11807 os.write_unknown_fields(self.special_fields.unknown_fields())?;
11808 ::std::result::Result::Ok(())
11809 }
11810
11811 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
11812 &self.special_fields
11813 }
11814
11815 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
11816 &mut self.special_fields
11817 }
11818
11819 fn new() -> CPublishedFile_GetChangeHistoryEntry_Response {
11820 CPublishedFile_GetChangeHistoryEntry_Response::new()
11821 }
11822
11823 fn clear(&mut self) {
11824 self.change_description = ::std::option::Option::None;
11825 self.language = ::std::option::Option::None;
11826 self.saved_snapshot = ::std::option::Option::None;
11827 self.snapshot_game_branch_min = ::std::option::Option::None;
11828 self.snapshot_game_branch_max = ::std::option::Option::None;
11829 self.manifest_id = ::std::option::Option::None;
11830 self.special_fields.clear();
11831 }
11832
11833 fn default_instance() -> &'static CPublishedFile_GetChangeHistoryEntry_Response {
11834 static instance: CPublishedFile_GetChangeHistoryEntry_Response = CPublishedFile_GetChangeHistoryEntry_Response {
11835 change_description: ::std::option::Option::None,
11836 language: ::std::option::Option::None,
11837 saved_snapshot: ::std::option::Option::None,
11838 snapshot_game_branch_min: ::std::option::Option::None,
11839 snapshot_game_branch_max: ::std::option::Option::None,
11840 manifest_id: ::std::option::Option::None,
11841 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
11842 };
11843 &instance
11844 }
11845}
11846
11847#[derive(PartialEq,Clone,Default,Debug)]
11849pub struct CPublishedFile_GetChangeHistory_Request {
11850 pub publishedfileid: ::std::option::Option<u64>,
11853 pub total_only: ::std::option::Option<bool>,
11855 pub startindex: ::std::option::Option<u32>,
11857 pub count: ::std::option::Option<u32>,
11859 pub language: ::std::option::Option<i32>,
11861 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
11864}
11865
11866impl<'a> ::std::default::Default for &'a CPublishedFile_GetChangeHistory_Request {
11867 fn default() -> &'a CPublishedFile_GetChangeHistory_Request {
11868 <CPublishedFile_GetChangeHistory_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
11869 }
11870}
11871
11872impl CPublishedFile_GetChangeHistory_Request {
11873 pub fn new() -> CPublishedFile_GetChangeHistory_Request {
11874 ::std::default::Default::default()
11875 }
11876
11877 pub fn publishedfileid(&self) -> u64 {
11880 self.publishedfileid.unwrap_or(0)
11881 }
11882
11883 pub fn clear_publishedfileid(&mut self) {
11884 self.publishedfileid = ::std::option::Option::None;
11885 }
11886
11887 pub fn has_publishedfileid(&self) -> bool {
11888 self.publishedfileid.is_some()
11889 }
11890
11891 pub fn set_publishedfileid(&mut self, v: u64) {
11893 self.publishedfileid = ::std::option::Option::Some(v);
11894 }
11895
11896 pub fn total_only(&self) -> bool {
11899 self.total_only.unwrap_or(false)
11900 }
11901
11902 pub fn clear_total_only(&mut self) {
11903 self.total_only = ::std::option::Option::None;
11904 }
11905
11906 pub fn has_total_only(&self) -> bool {
11907 self.total_only.is_some()
11908 }
11909
11910 pub fn set_total_only(&mut self, v: bool) {
11912 self.total_only = ::std::option::Option::Some(v);
11913 }
11914
11915 pub fn startindex(&self) -> u32 {
11918 self.startindex.unwrap_or(0)
11919 }
11920
11921 pub fn clear_startindex(&mut self) {
11922 self.startindex = ::std::option::Option::None;
11923 }
11924
11925 pub fn has_startindex(&self) -> bool {
11926 self.startindex.is_some()
11927 }
11928
11929 pub fn set_startindex(&mut self, v: u32) {
11931 self.startindex = ::std::option::Option::Some(v);
11932 }
11933
11934 pub fn count(&self) -> u32 {
11937 self.count.unwrap_or(0)
11938 }
11939
11940 pub fn clear_count(&mut self) {
11941 self.count = ::std::option::Option::None;
11942 }
11943
11944 pub fn has_count(&self) -> bool {
11945 self.count.is_some()
11946 }
11947
11948 pub fn set_count(&mut self, v: u32) {
11950 self.count = ::std::option::Option::Some(v);
11951 }
11952
11953 pub fn language(&self) -> i32 {
11956 self.language.unwrap_or(0i32)
11957 }
11958
11959 pub fn clear_language(&mut self) {
11960 self.language = ::std::option::Option::None;
11961 }
11962
11963 pub fn has_language(&self) -> bool {
11964 self.language.is_some()
11965 }
11966
11967 pub fn set_language(&mut self, v: i32) {
11969 self.language = ::std::option::Option::Some(v);
11970 }
11971}
11972
11973impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetChangeHistory_Request {
11974 const NAME: &'static str = "CPublishedFile_GetChangeHistory_Request";
11975
11976 fn is_initialized(&self) -> bool {
11977 true
11978 }
11979
11980 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
11981 while let Some(tag) = is.read_raw_tag_or_eof()? {
11982 match tag {
11983 9 => {
11984 self.publishedfileid = ::std::option::Option::Some(is.read_fixed64()?);
11985 },
11986 16 => {
11987 self.total_only = ::std::option::Option::Some(is.read_bool()?);
11988 },
11989 24 => {
11990 self.startindex = ::std::option::Option::Some(is.read_uint32()?);
11991 },
11992 32 => {
11993 self.count = ::std::option::Option::Some(is.read_uint32()?);
11994 },
11995 40 => {
11996 self.language = ::std::option::Option::Some(is.read_int32()?);
11997 },
11998 tag => {
11999 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
12000 },
12001 };
12002 }
12003 ::std::result::Result::Ok(())
12004 }
12005
12006 #[allow(unused_variables)]
12008 fn compute_size(&self) -> u64 {
12009 let mut my_size = 0;
12010 if let Some(v) = self.publishedfileid {
12011 my_size += 1 + 8;
12012 }
12013 if let Some(v) = self.total_only {
12014 my_size += 1 + 1;
12015 }
12016 if let Some(v) = self.startindex {
12017 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
12018 }
12019 if let Some(v) = self.count {
12020 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
12021 }
12022 if let Some(v) = self.language {
12023 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v);
12024 }
12025 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
12026 self.special_fields.cached_size().set(my_size as u32);
12027 my_size
12028 }
12029
12030 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12031 if let Some(v) = self.publishedfileid {
12032 os.write_fixed64(1, v)?;
12033 }
12034 if let Some(v) = self.total_only {
12035 os.write_bool(2, v)?;
12036 }
12037 if let Some(v) = self.startindex {
12038 os.write_uint32(3, v)?;
12039 }
12040 if let Some(v) = self.count {
12041 os.write_uint32(4, v)?;
12042 }
12043 if let Some(v) = self.language {
12044 os.write_int32(5, v)?;
12045 }
12046 os.write_unknown_fields(self.special_fields.unknown_fields())?;
12047 ::std::result::Result::Ok(())
12048 }
12049
12050 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
12051 &self.special_fields
12052 }
12053
12054 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
12055 &mut self.special_fields
12056 }
12057
12058 fn new() -> CPublishedFile_GetChangeHistory_Request {
12059 CPublishedFile_GetChangeHistory_Request::new()
12060 }
12061
12062 fn clear(&mut self) {
12063 self.publishedfileid = ::std::option::Option::None;
12064 self.total_only = ::std::option::Option::None;
12065 self.startindex = ::std::option::Option::None;
12066 self.count = ::std::option::Option::None;
12067 self.language = ::std::option::Option::None;
12068 self.special_fields.clear();
12069 }
12070
12071 fn default_instance() -> &'static CPublishedFile_GetChangeHistory_Request {
12072 static instance: CPublishedFile_GetChangeHistory_Request = CPublishedFile_GetChangeHistory_Request {
12073 publishedfileid: ::std::option::Option::None,
12074 total_only: ::std::option::Option::None,
12075 startindex: ::std::option::Option::None,
12076 count: ::std::option::Option::None,
12077 language: ::std::option::Option::None,
12078 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
12079 };
12080 &instance
12081 }
12082}
12083
12084#[derive(PartialEq,Clone,Default,Debug)]
12086pub struct CPublishedFile_GetChangeHistory_Response {
12087 pub changes: ::std::vec::Vec<cpublished_file_get_change_history_response::ChangeLog>,
12090 pub total: ::std::option::Option<u32>,
12092 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
12095}
12096
12097impl<'a> ::std::default::Default for &'a CPublishedFile_GetChangeHistory_Response {
12098 fn default() -> &'a CPublishedFile_GetChangeHistory_Response {
12099 <CPublishedFile_GetChangeHistory_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
12100 }
12101}
12102
12103impl CPublishedFile_GetChangeHistory_Response {
12104 pub fn new() -> CPublishedFile_GetChangeHistory_Response {
12105 ::std::default::Default::default()
12106 }
12107
12108 pub fn total(&self) -> u32 {
12111 self.total.unwrap_or(0)
12112 }
12113
12114 pub fn clear_total(&mut self) {
12115 self.total = ::std::option::Option::None;
12116 }
12117
12118 pub fn has_total(&self) -> bool {
12119 self.total.is_some()
12120 }
12121
12122 pub fn set_total(&mut self, v: u32) {
12124 self.total = ::std::option::Option::Some(v);
12125 }
12126}
12127
12128impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetChangeHistory_Response {
12129 const NAME: &'static str = "CPublishedFile_GetChangeHistory_Response";
12130
12131 fn is_initialized(&self) -> bool {
12132 true
12133 }
12134
12135 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12136 while let Some(tag) = is.read_raw_tag_or_eof()? {
12137 match tag {
12138 10 => {
12139 self.changes.push(is.read_message()?);
12140 },
12141 16 => {
12142 self.total = ::std::option::Option::Some(is.read_uint32()?);
12143 },
12144 tag => {
12145 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
12146 },
12147 };
12148 }
12149 ::std::result::Result::Ok(())
12150 }
12151
12152 #[allow(unused_variables)]
12154 fn compute_size(&self) -> u64 {
12155 let mut my_size = 0;
12156 for value in &self.changes {
12157 let len = value.compute_size();
12158 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
12159 };
12160 if let Some(v) = self.total {
12161 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
12162 }
12163 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
12164 self.special_fields.cached_size().set(my_size as u32);
12165 my_size
12166 }
12167
12168 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12169 for v in &self.changes {
12170 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
12171 };
12172 if let Some(v) = self.total {
12173 os.write_uint32(2, v)?;
12174 }
12175 os.write_unknown_fields(self.special_fields.unknown_fields())?;
12176 ::std::result::Result::Ok(())
12177 }
12178
12179 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
12180 &self.special_fields
12181 }
12182
12183 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
12184 &mut self.special_fields
12185 }
12186
12187 fn new() -> CPublishedFile_GetChangeHistory_Response {
12188 CPublishedFile_GetChangeHistory_Response::new()
12189 }
12190
12191 fn clear(&mut self) {
12192 self.changes.clear();
12193 self.total = ::std::option::Option::None;
12194 self.special_fields.clear();
12195 }
12196
12197 fn default_instance() -> &'static CPublishedFile_GetChangeHistory_Response {
12198 static instance: CPublishedFile_GetChangeHistory_Response = CPublishedFile_GetChangeHistory_Response {
12199 changes: ::std::vec::Vec::new(),
12200 total: ::std::option::Option::None,
12201 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
12202 };
12203 &instance
12204 }
12205}
12206
12207pub mod cpublished_file_get_change_history_response {
12209 #[derive(PartialEq,Clone,Default,Debug)]
12211 pub struct ChangeLog {
12212 pub timestamp: ::std::option::Option<u32>,
12215 pub change_description: ::std::option::Option<::std::string::String>,
12217 pub language: ::std::option::Option<i32>,
12219 pub saved_snapshot: ::std::option::Option<bool>,
12221 pub snapshot_game_branch_min: ::std::option::Option<::std::string::String>,
12223 pub snapshot_game_branch_max: ::std::option::Option<::std::string::String>,
12225 pub manifest_id: ::std::option::Option<u64>,
12227 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
12230 }
12231
12232 impl<'a> ::std::default::Default for &'a ChangeLog {
12233 fn default() -> &'a ChangeLog {
12234 <ChangeLog as ::steam_vent_proto_common::protobuf::Message>::default_instance()
12235 }
12236 }
12237
12238 impl ChangeLog {
12239 pub fn new() -> ChangeLog {
12240 ::std::default::Default::default()
12241 }
12242
12243 pub fn timestamp(&self) -> u32 {
12246 self.timestamp.unwrap_or(0)
12247 }
12248
12249 pub fn clear_timestamp(&mut self) {
12250 self.timestamp = ::std::option::Option::None;
12251 }
12252
12253 pub fn has_timestamp(&self) -> bool {
12254 self.timestamp.is_some()
12255 }
12256
12257 pub fn set_timestamp(&mut self, v: u32) {
12259 self.timestamp = ::std::option::Option::Some(v);
12260 }
12261
12262 pub fn change_description(&self) -> &str {
12265 match self.change_description.as_ref() {
12266 Some(v) => v,
12267 None => "",
12268 }
12269 }
12270
12271 pub fn clear_change_description(&mut self) {
12272 self.change_description = ::std::option::Option::None;
12273 }
12274
12275 pub fn has_change_description(&self) -> bool {
12276 self.change_description.is_some()
12277 }
12278
12279 pub fn set_change_description(&mut self, v: ::std::string::String) {
12281 self.change_description = ::std::option::Option::Some(v);
12282 }
12283
12284 pub fn mut_change_description(&mut self) -> &mut ::std::string::String {
12287 if self.change_description.is_none() {
12288 self.change_description = ::std::option::Option::Some(::std::string::String::new());
12289 }
12290 self.change_description.as_mut().unwrap()
12291 }
12292
12293 pub fn take_change_description(&mut self) -> ::std::string::String {
12295 self.change_description.take().unwrap_or_else(|| ::std::string::String::new())
12296 }
12297
12298 pub fn language(&self) -> i32 {
12301 self.language.unwrap_or(0)
12302 }
12303
12304 pub fn clear_language(&mut self) {
12305 self.language = ::std::option::Option::None;
12306 }
12307
12308 pub fn has_language(&self) -> bool {
12309 self.language.is_some()
12310 }
12311
12312 pub fn set_language(&mut self, v: i32) {
12314 self.language = ::std::option::Option::Some(v);
12315 }
12316
12317 pub fn saved_snapshot(&self) -> bool {
12320 self.saved_snapshot.unwrap_or(false)
12321 }
12322
12323 pub fn clear_saved_snapshot(&mut self) {
12324 self.saved_snapshot = ::std::option::Option::None;
12325 }
12326
12327 pub fn has_saved_snapshot(&self) -> bool {
12328 self.saved_snapshot.is_some()
12329 }
12330
12331 pub fn set_saved_snapshot(&mut self, v: bool) {
12333 self.saved_snapshot = ::std::option::Option::Some(v);
12334 }
12335
12336 pub fn snapshot_game_branch_min(&self) -> &str {
12339 match self.snapshot_game_branch_min.as_ref() {
12340 Some(v) => v,
12341 None => "",
12342 }
12343 }
12344
12345 pub fn clear_snapshot_game_branch_min(&mut self) {
12346 self.snapshot_game_branch_min = ::std::option::Option::None;
12347 }
12348
12349 pub fn has_snapshot_game_branch_min(&self) -> bool {
12350 self.snapshot_game_branch_min.is_some()
12351 }
12352
12353 pub fn set_snapshot_game_branch_min(&mut self, v: ::std::string::String) {
12355 self.snapshot_game_branch_min = ::std::option::Option::Some(v);
12356 }
12357
12358 pub fn mut_snapshot_game_branch_min(&mut self) -> &mut ::std::string::String {
12361 if self.snapshot_game_branch_min.is_none() {
12362 self.snapshot_game_branch_min = ::std::option::Option::Some(::std::string::String::new());
12363 }
12364 self.snapshot_game_branch_min.as_mut().unwrap()
12365 }
12366
12367 pub fn take_snapshot_game_branch_min(&mut self) -> ::std::string::String {
12369 self.snapshot_game_branch_min.take().unwrap_or_else(|| ::std::string::String::new())
12370 }
12371
12372 pub fn snapshot_game_branch_max(&self) -> &str {
12375 match self.snapshot_game_branch_max.as_ref() {
12376 Some(v) => v,
12377 None => "",
12378 }
12379 }
12380
12381 pub fn clear_snapshot_game_branch_max(&mut self) {
12382 self.snapshot_game_branch_max = ::std::option::Option::None;
12383 }
12384
12385 pub fn has_snapshot_game_branch_max(&self) -> bool {
12386 self.snapshot_game_branch_max.is_some()
12387 }
12388
12389 pub fn set_snapshot_game_branch_max(&mut self, v: ::std::string::String) {
12391 self.snapshot_game_branch_max = ::std::option::Option::Some(v);
12392 }
12393
12394 pub fn mut_snapshot_game_branch_max(&mut self) -> &mut ::std::string::String {
12397 if self.snapshot_game_branch_max.is_none() {
12398 self.snapshot_game_branch_max = ::std::option::Option::Some(::std::string::String::new());
12399 }
12400 self.snapshot_game_branch_max.as_mut().unwrap()
12401 }
12402
12403 pub fn take_snapshot_game_branch_max(&mut self) -> ::std::string::String {
12405 self.snapshot_game_branch_max.take().unwrap_or_else(|| ::std::string::String::new())
12406 }
12407
12408 pub fn manifest_id(&self) -> u64 {
12411 self.manifest_id.unwrap_or(0)
12412 }
12413
12414 pub fn clear_manifest_id(&mut self) {
12415 self.manifest_id = ::std::option::Option::None;
12416 }
12417
12418 pub fn has_manifest_id(&self) -> bool {
12419 self.manifest_id.is_some()
12420 }
12421
12422 pub fn set_manifest_id(&mut self, v: u64) {
12424 self.manifest_id = ::std::option::Option::Some(v);
12425 }
12426 }
12427
12428 impl ::steam_vent_proto_common::protobuf::Message for ChangeLog {
12429 const NAME: &'static str = "ChangeLog";
12430
12431 fn is_initialized(&self) -> bool {
12432 true
12433 }
12434
12435 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12436 while let Some(tag) = is.read_raw_tag_or_eof()? {
12437 match tag {
12438 8 => {
12439 self.timestamp = ::std::option::Option::Some(is.read_uint32()?);
12440 },
12441 18 => {
12442 self.change_description = ::std::option::Option::Some(is.read_string()?);
12443 },
12444 24 => {
12445 self.language = ::std::option::Option::Some(is.read_int32()?);
12446 },
12447 32 => {
12448 self.saved_snapshot = ::std::option::Option::Some(is.read_bool()?);
12449 },
12450 42 => {
12451 self.snapshot_game_branch_min = ::std::option::Option::Some(is.read_string()?);
12452 },
12453 50 => {
12454 self.snapshot_game_branch_max = ::std::option::Option::Some(is.read_string()?);
12455 },
12456 57 => {
12457 self.manifest_id = ::std::option::Option::Some(is.read_fixed64()?);
12458 },
12459 tag => {
12460 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
12461 },
12462 };
12463 }
12464 ::std::result::Result::Ok(())
12465 }
12466
12467 #[allow(unused_variables)]
12469 fn compute_size(&self) -> u64 {
12470 let mut my_size = 0;
12471 if let Some(v) = self.timestamp {
12472 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
12473 }
12474 if let Some(v) = self.change_description.as_ref() {
12475 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
12476 }
12477 if let Some(v) = self.language {
12478 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, v);
12479 }
12480 if let Some(v) = self.saved_snapshot {
12481 my_size += 1 + 1;
12482 }
12483 if let Some(v) = self.snapshot_game_branch_min.as_ref() {
12484 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
12485 }
12486 if let Some(v) = self.snapshot_game_branch_max.as_ref() {
12487 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &v);
12488 }
12489 if let Some(v) = self.manifest_id {
12490 my_size += 1 + 8;
12491 }
12492 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
12493 self.special_fields.cached_size().set(my_size as u32);
12494 my_size
12495 }
12496
12497 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12498 if let Some(v) = self.timestamp {
12499 os.write_uint32(1, v)?;
12500 }
12501 if let Some(v) = self.change_description.as_ref() {
12502 os.write_string(2, v)?;
12503 }
12504 if let Some(v) = self.language {
12505 os.write_int32(3, v)?;
12506 }
12507 if let Some(v) = self.saved_snapshot {
12508 os.write_bool(4, v)?;
12509 }
12510 if let Some(v) = self.snapshot_game_branch_min.as_ref() {
12511 os.write_string(5, v)?;
12512 }
12513 if let Some(v) = self.snapshot_game_branch_max.as_ref() {
12514 os.write_string(6, v)?;
12515 }
12516 if let Some(v) = self.manifest_id {
12517 os.write_fixed64(7, v)?;
12518 }
12519 os.write_unknown_fields(self.special_fields.unknown_fields())?;
12520 ::std::result::Result::Ok(())
12521 }
12522
12523 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
12524 &self.special_fields
12525 }
12526
12527 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
12528 &mut self.special_fields
12529 }
12530
12531 fn new() -> ChangeLog {
12532 ChangeLog::new()
12533 }
12534
12535 fn clear(&mut self) {
12536 self.timestamp = ::std::option::Option::None;
12537 self.change_description = ::std::option::Option::None;
12538 self.language = ::std::option::Option::None;
12539 self.saved_snapshot = ::std::option::Option::None;
12540 self.snapshot_game_branch_min = ::std::option::Option::None;
12541 self.snapshot_game_branch_max = ::std::option::Option::None;
12542 self.manifest_id = ::std::option::Option::None;
12543 self.special_fields.clear();
12544 }
12545
12546 fn default_instance() -> &'static ChangeLog {
12547 static instance: ChangeLog = ChangeLog {
12548 timestamp: ::std::option::Option::None,
12549 change_description: ::std::option::Option::None,
12550 language: ::std::option::Option::None,
12551 saved_snapshot: ::std::option::Option::None,
12552 snapshot_game_branch_min: ::std::option::Option::None,
12553 snapshot_game_branch_max: ::std::option::Option::None,
12554 manifest_id: ::std::option::Option::None,
12555 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
12556 };
12557 &instance
12558 }
12559 }
12560}
12561
12562#[derive(PartialEq,Clone,Default,Debug)]
12564pub struct CPublishedFile_RefreshVotingQueue_Request {
12565 pub appid: ::std::option::Option<u32>,
12568 pub matching_file_type: ::std::option::Option<u32>,
12570 pub tags: ::std::vec::Vec<::std::string::String>,
12572 pub match_all_tags: ::std::option::Option<bool>,
12574 pub excluded_tags: ::std::vec::Vec<::std::string::String>,
12576 pub desired_queue_size: ::std::option::Option<u32>,
12578 pub desired_revision: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EPublishedFileRevision>>,
12580 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
12583}
12584
12585impl<'a> ::std::default::Default for &'a CPublishedFile_RefreshVotingQueue_Request {
12586 fn default() -> &'a CPublishedFile_RefreshVotingQueue_Request {
12587 <CPublishedFile_RefreshVotingQueue_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
12588 }
12589}
12590
12591impl CPublishedFile_RefreshVotingQueue_Request {
12592 pub fn new() -> CPublishedFile_RefreshVotingQueue_Request {
12593 ::std::default::Default::default()
12594 }
12595
12596 pub fn appid(&self) -> u32 {
12599 self.appid.unwrap_or(0)
12600 }
12601
12602 pub fn clear_appid(&mut self) {
12603 self.appid = ::std::option::Option::None;
12604 }
12605
12606 pub fn has_appid(&self) -> bool {
12607 self.appid.is_some()
12608 }
12609
12610 pub fn set_appid(&mut self, v: u32) {
12612 self.appid = ::std::option::Option::Some(v);
12613 }
12614
12615 pub fn matching_file_type(&self) -> u32 {
12618 self.matching_file_type.unwrap_or(0)
12619 }
12620
12621 pub fn clear_matching_file_type(&mut self) {
12622 self.matching_file_type = ::std::option::Option::None;
12623 }
12624
12625 pub fn has_matching_file_type(&self) -> bool {
12626 self.matching_file_type.is_some()
12627 }
12628
12629 pub fn set_matching_file_type(&mut self, v: u32) {
12631 self.matching_file_type = ::std::option::Option::Some(v);
12632 }
12633
12634 pub fn match_all_tags(&self) -> bool {
12637 self.match_all_tags.unwrap_or(true)
12638 }
12639
12640 pub fn clear_match_all_tags(&mut self) {
12641 self.match_all_tags = ::std::option::Option::None;
12642 }
12643
12644 pub fn has_match_all_tags(&self) -> bool {
12645 self.match_all_tags.is_some()
12646 }
12647
12648 pub fn set_match_all_tags(&mut self, v: bool) {
12650 self.match_all_tags = ::std::option::Option::Some(v);
12651 }
12652
12653 pub fn desired_queue_size(&self) -> u32 {
12656 self.desired_queue_size.unwrap_or(0)
12657 }
12658
12659 pub fn clear_desired_queue_size(&mut self) {
12660 self.desired_queue_size = ::std::option::Option::None;
12661 }
12662
12663 pub fn has_desired_queue_size(&self) -> bool {
12664 self.desired_queue_size.is_some()
12665 }
12666
12667 pub fn set_desired_queue_size(&mut self, v: u32) {
12669 self.desired_queue_size = ::std::option::Option::Some(v);
12670 }
12671
12672 pub fn desired_revision(&self) -> EPublishedFileRevision {
12675 match self.desired_revision {
12676 Some(e) => e.enum_value_or(EPublishedFileRevision::k_EPublishedFileRevision_Default),
12677 None => EPublishedFileRevision::k_EPublishedFileRevision_Default,
12678 }
12679 }
12680
12681 pub fn clear_desired_revision(&mut self) {
12682 self.desired_revision = ::std::option::Option::None;
12683 }
12684
12685 pub fn has_desired_revision(&self) -> bool {
12686 self.desired_revision.is_some()
12687 }
12688
12689 pub fn set_desired_revision(&mut self, v: EPublishedFileRevision) {
12691 self.desired_revision = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
12692 }
12693}
12694
12695impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_RefreshVotingQueue_Request {
12696 const NAME: &'static str = "CPublishedFile_RefreshVotingQueue_Request";
12697
12698 fn is_initialized(&self) -> bool {
12699 true
12700 }
12701
12702 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12703 while let Some(tag) = is.read_raw_tag_or_eof()? {
12704 match tag {
12705 8 => {
12706 self.appid = ::std::option::Option::Some(is.read_uint32()?);
12707 },
12708 16 => {
12709 self.matching_file_type = ::std::option::Option::Some(is.read_uint32()?);
12710 },
12711 26 => {
12712 self.tags.push(is.read_string()?);
12713 },
12714 32 => {
12715 self.match_all_tags = ::std::option::Option::Some(is.read_bool()?);
12716 },
12717 42 => {
12718 self.excluded_tags.push(is.read_string()?);
12719 },
12720 48 => {
12721 self.desired_queue_size = ::std::option::Option::Some(is.read_uint32()?);
12722 },
12723 64 => {
12724 self.desired_revision = ::std::option::Option::Some(is.read_enum_or_unknown()?);
12725 },
12726 tag => {
12727 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
12728 },
12729 };
12730 }
12731 ::std::result::Result::Ok(())
12732 }
12733
12734 #[allow(unused_variables)]
12736 fn compute_size(&self) -> u64 {
12737 let mut my_size = 0;
12738 if let Some(v) = self.appid {
12739 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
12740 }
12741 if let Some(v) = self.matching_file_type {
12742 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
12743 }
12744 for value in &self.tags {
12745 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &value);
12746 };
12747 if let Some(v) = self.match_all_tags {
12748 my_size += 1 + 1;
12749 }
12750 for value in &self.excluded_tags {
12751 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &value);
12752 };
12753 if let Some(v) = self.desired_queue_size {
12754 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
12755 }
12756 if let Some(v) = self.desired_revision {
12757 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(8, v.value());
12758 }
12759 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
12760 self.special_fields.cached_size().set(my_size as u32);
12761 my_size
12762 }
12763
12764 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12765 if let Some(v) = self.appid {
12766 os.write_uint32(1, v)?;
12767 }
12768 if let Some(v) = self.matching_file_type {
12769 os.write_uint32(2, v)?;
12770 }
12771 for v in &self.tags {
12772 os.write_string(3, &v)?;
12773 };
12774 if let Some(v) = self.match_all_tags {
12775 os.write_bool(4, v)?;
12776 }
12777 for v in &self.excluded_tags {
12778 os.write_string(5, &v)?;
12779 };
12780 if let Some(v) = self.desired_queue_size {
12781 os.write_uint32(6, v)?;
12782 }
12783 if let Some(v) = self.desired_revision {
12784 os.write_enum(8, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
12785 }
12786 os.write_unknown_fields(self.special_fields.unknown_fields())?;
12787 ::std::result::Result::Ok(())
12788 }
12789
12790 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
12791 &self.special_fields
12792 }
12793
12794 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
12795 &mut self.special_fields
12796 }
12797
12798 fn new() -> CPublishedFile_RefreshVotingQueue_Request {
12799 CPublishedFile_RefreshVotingQueue_Request::new()
12800 }
12801
12802 fn clear(&mut self) {
12803 self.appid = ::std::option::Option::None;
12804 self.matching_file_type = ::std::option::Option::None;
12805 self.tags.clear();
12806 self.match_all_tags = ::std::option::Option::None;
12807 self.excluded_tags.clear();
12808 self.desired_queue_size = ::std::option::Option::None;
12809 self.desired_revision = ::std::option::Option::None;
12810 self.special_fields.clear();
12811 }
12812
12813 fn default_instance() -> &'static CPublishedFile_RefreshVotingQueue_Request {
12814 static instance: CPublishedFile_RefreshVotingQueue_Request = CPublishedFile_RefreshVotingQueue_Request {
12815 appid: ::std::option::Option::None,
12816 matching_file_type: ::std::option::Option::None,
12817 tags: ::std::vec::Vec::new(),
12818 match_all_tags: ::std::option::Option::None,
12819 excluded_tags: ::std::vec::Vec::new(),
12820 desired_queue_size: ::std::option::Option::None,
12821 desired_revision: ::std::option::Option::None,
12822 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
12823 };
12824 &instance
12825 }
12826}
12827
12828#[derive(PartialEq,Clone,Default,Debug)]
12830pub struct CPublishedFile_RefreshVotingQueue_Response {
12831 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
12834}
12835
12836impl<'a> ::std::default::Default for &'a CPublishedFile_RefreshVotingQueue_Response {
12837 fn default() -> &'a CPublishedFile_RefreshVotingQueue_Response {
12838 <CPublishedFile_RefreshVotingQueue_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
12839 }
12840}
12841
12842impl CPublishedFile_RefreshVotingQueue_Response {
12843 pub fn new() -> CPublishedFile_RefreshVotingQueue_Response {
12844 ::std::default::Default::default()
12845 }
12846}
12847
12848impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_RefreshVotingQueue_Response {
12849 const NAME: &'static str = "CPublishedFile_RefreshVotingQueue_Response";
12850
12851 fn is_initialized(&self) -> bool {
12852 true
12853 }
12854
12855 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12856 while let Some(tag) = is.read_raw_tag_or_eof()? {
12857 match tag {
12858 tag => {
12859 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
12860 },
12861 };
12862 }
12863 ::std::result::Result::Ok(())
12864 }
12865
12866 #[allow(unused_variables)]
12868 fn compute_size(&self) -> u64 {
12869 let mut my_size = 0;
12870 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
12871 self.special_fields.cached_size().set(my_size as u32);
12872 my_size
12873 }
12874
12875 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
12876 os.write_unknown_fields(self.special_fields.unknown_fields())?;
12877 ::std::result::Result::Ok(())
12878 }
12879
12880 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
12881 &self.special_fields
12882 }
12883
12884 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
12885 &mut self.special_fields
12886 }
12887
12888 fn new() -> CPublishedFile_RefreshVotingQueue_Response {
12889 CPublishedFile_RefreshVotingQueue_Response::new()
12890 }
12891
12892 fn clear(&mut self) {
12893 self.special_fields.clear();
12894 }
12895
12896 fn default_instance() -> &'static CPublishedFile_RefreshVotingQueue_Response {
12897 static instance: CPublishedFile_RefreshVotingQueue_Response = CPublishedFile_RefreshVotingQueue_Response {
12898 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
12899 };
12900 &instance
12901 }
12902}
12903
12904#[derive(PartialEq,Clone,Default,Debug)]
12906pub struct CPublishedFile_QueryFiles_Request {
12907 pub query_type: ::std::option::Option<u32>,
12910 pub page: ::std::option::Option<u32>,
12912 pub cursor: ::std::option::Option<::std::string::String>,
12914 pub numperpage: ::std::option::Option<u32>,
12916 pub creator_appid: ::std::option::Option<u32>,
12918 pub appid: ::std::option::Option<u32>,
12920 pub requiredtags: ::std::vec::Vec<::std::string::String>,
12922 pub excludedtags: ::std::vec::Vec<::std::string::String>,
12924 pub match_all_tags: ::std::option::Option<bool>,
12926 pub required_flags: ::std::vec::Vec<::std::string::String>,
12928 pub omitted_flags: ::std::vec::Vec<::std::string::String>,
12930 pub search_text: ::std::option::Option<::std::string::String>,
12932 pub filetype: ::std::option::Option<u32>,
12934 pub child_publishedfileid: ::std::option::Option<u64>,
12936 pub days: ::std::option::Option<u32>,
12938 pub include_recent_votes_only: ::std::option::Option<bool>,
12940 pub cache_max_age_seconds: ::std::option::Option<u32>,
12942 pub language: ::std::option::Option<i32>,
12944 pub required_kv_tags: ::std::vec::Vec<cpublished_file_query_files_request::KVTag>,
12946 pub taggroups: ::std::vec::Vec<cpublished_file_query_files_request::TagGroup>,
12948 pub date_range_created: ::steam_vent_proto_common::protobuf::MessageField<cpublished_file_query_files_request::DateRange>,
12950 pub date_range_updated: ::steam_vent_proto_common::protobuf::MessageField<cpublished_file_query_files_request::DateRange>,
12952 pub excluded_content_descriptors: ::std::vec::Vec<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::enums_productinfo::EContentDescriptorID>>,
12954 pub admin_query: ::std::option::Option<bool>,
12956 pub totalonly: ::std::option::Option<bool>,
12958 pub ids_only: ::std::option::Option<bool>,
12960 pub return_vote_data: ::std::option::Option<bool>,
12962 pub return_tags: ::std::option::Option<bool>,
12964 pub return_kv_tags: ::std::option::Option<bool>,
12966 pub return_previews: ::std::option::Option<bool>,
12968 pub return_children: ::std::option::Option<bool>,
12970 pub return_short_description: ::std::option::Option<bool>,
12972 pub return_for_sale_data: ::std::option::Option<bool>,
12974 pub return_metadata: ::std::option::Option<bool>,
12976 pub return_playtime_stats: ::std::option::Option<u32>,
12978 pub return_details: ::std::option::Option<bool>,
12980 pub strip_description_bbcode: ::std::option::Option<bool>,
12982 pub desired_revision: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EPublishedFileRevision>>,
12984 pub return_reactions: ::std::option::Option<bool>,
12986 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
12989}
12990
12991impl<'a> ::std::default::Default for &'a CPublishedFile_QueryFiles_Request {
12992 fn default() -> &'a CPublishedFile_QueryFiles_Request {
12993 <CPublishedFile_QueryFiles_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
12994 }
12995}
12996
12997impl CPublishedFile_QueryFiles_Request {
12998 pub fn new() -> CPublishedFile_QueryFiles_Request {
12999 ::std::default::Default::default()
13000 }
13001
13002 pub fn query_type(&self) -> u32 {
13005 self.query_type.unwrap_or(0)
13006 }
13007
13008 pub fn clear_query_type(&mut self) {
13009 self.query_type = ::std::option::Option::None;
13010 }
13011
13012 pub fn has_query_type(&self) -> bool {
13013 self.query_type.is_some()
13014 }
13015
13016 pub fn set_query_type(&mut self, v: u32) {
13018 self.query_type = ::std::option::Option::Some(v);
13019 }
13020
13021 pub fn page(&self) -> u32 {
13024 self.page.unwrap_or(0)
13025 }
13026
13027 pub fn clear_page(&mut self) {
13028 self.page = ::std::option::Option::None;
13029 }
13030
13031 pub fn has_page(&self) -> bool {
13032 self.page.is_some()
13033 }
13034
13035 pub fn set_page(&mut self, v: u32) {
13037 self.page = ::std::option::Option::Some(v);
13038 }
13039
13040 pub fn cursor(&self) -> &str {
13043 match self.cursor.as_ref() {
13044 Some(v) => v,
13045 None => "",
13046 }
13047 }
13048
13049 pub fn clear_cursor(&mut self) {
13050 self.cursor = ::std::option::Option::None;
13051 }
13052
13053 pub fn has_cursor(&self) -> bool {
13054 self.cursor.is_some()
13055 }
13056
13057 pub fn set_cursor(&mut self, v: ::std::string::String) {
13059 self.cursor = ::std::option::Option::Some(v);
13060 }
13061
13062 pub fn mut_cursor(&mut self) -> &mut ::std::string::String {
13065 if self.cursor.is_none() {
13066 self.cursor = ::std::option::Option::Some(::std::string::String::new());
13067 }
13068 self.cursor.as_mut().unwrap()
13069 }
13070
13071 pub fn take_cursor(&mut self) -> ::std::string::String {
13073 self.cursor.take().unwrap_or_else(|| ::std::string::String::new())
13074 }
13075
13076 pub fn numperpage(&self) -> u32 {
13079 self.numperpage.unwrap_or(1u32)
13080 }
13081
13082 pub fn clear_numperpage(&mut self) {
13083 self.numperpage = ::std::option::Option::None;
13084 }
13085
13086 pub fn has_numperpage(&self) -> bool {
13087 self.numperpage.is_some()
13088 }
13089
13090 pub fn set_numperpage(&mut self, v: u32) {
13092 self.numperpage = ::std::option::Option::Some(v);
13093 }
13094
13095 pub fn creator_appid(&self) -> u32 {
13098 self.creator_appid.unwrap_or(0)
13099 }
13100
13101 pub fn clear_creator_appid(&mut self) {
13102 self.creator_appid = ::std::option::Option::None;
13103 }
13104
13105 pub fn has_creator_appid(&self) -> bool {
13106 self.creator_appid.is_some()
13107 }
13108
13109 pub fn set_creator_appid(&mut self, v: u32) {
13111 self.creator_appid = ::std::option::Option::Some(v);
13112 }
13113
13114 pub fn appid(&self) -> u32 {
13117 self.appid.unwrap_or(0)
13118 }
13119
13120 pub fn clear_appid(&mut self) {
13121 self.appid = ::std::option::Option::None;
13122 }
13123
13124 pub fn has_appid(&self) -> bool {
13125 self.appid.is_some()
13126 }
13127
13128 pub fn set_appid(&mut self, v: u32) {
13130 self.appid = ::std::option::Option::Some(v);
13131 }
13132
13133 pub fn match_all_tags(&self) -> bool {
13136 self.match_all_tags.unwrap_or(true)
13137 }
13138
13139 pub fn clear_match_all_tags(&mut self) {
13140 self.match_all_tags = ::std::option::Option::None;
13141 }
13142
13143 pub fn has_match_all_tags(&self) -> bool {
13144 self.match_all_tags.is_some()
13145 }
13146
13147 pub fn set_match_all_tags(&mut self, v: bool) {
13149 self.match_all_tags = ::std::option::Option::Some(v);
13150 }
13151
13152 pub fn search_text(&self) -> &str {
13155 match self.search_text.as_ref() {
13156 Some(v) => v,
13157 None => "",
13158 }
13159 }
13160
13161 pub fn clear_search_text(&mut self) {
13162 self.search_text = ::std::option::Option::None;
13163 }
13164
13165 pub fn has_search_text(&self) -> bool {
13166 self.search_text.is_some()
13167 }
13168
13169 pub fn set_search_text(&mut self, v: ::std::string::String) {
13171 self.search_text = ::std::option::Option::Some(v);
13172 }
13173
13174 pub fn mut_search_text(&mut self) -> &mut ::std::string::String {
13177 if self.search_text.is_none() {
13178 self.search_text = ::std::option::Option::Some(::std::string::String::new());
13179 }
13180 self.search_text.as_mut().unwrap()
13181 }
13182
13183 pub fn take_search_text(&mut self) -> ::std::string::String {
13185 self.search_text.take().unwrap_or_else(|| ::std::string::String::new())
13186 }
13187
13188 pub fn filetype(&self) -> u32 {
13191 self.filetype.unwrap_or(0)
13192 }
13193
13194 pub fn clear_filetype(&mut self) {
13195 self.filetype = ::std::option::Option::None;
13196 }
13197
13198 pub fn has_filetype(&self) -> bool {
13199 self.filetype.is_some()
13200 }
13201
13202 pub fn set_filetype(&mut self, v: u32) {
13204 self.filetype = ::std::option::Option::Some(v);
13205 }
13206
13207 pub fn child_publishedfileid(&self) -> u64 {
13210 self.child_publishedfileid.unwrap_or(0)
13211 }
13212
13213 pub fn clear_child_publishedfileid(&mut self) {
13214 self.child_publishedfileid = ::std::option::Option::None;
13215 }
13216
13217 pub fn has_child_publishedfileid(&self) -> bool {
13218 self.child_publishedfileid.is_some()
13219 }
13220
13221 pub fn set_child_publishedfileid(&mut self, v: u64) {
13223 self.child_publishedfileid = ::std::option::Option::Some(v);
13224 }
13225
13226 pub fn days(&self) -> u32 {
13229 self.days.unwrap_or(0)
13230 }
13231
13232 pub fn clear_days(&mut self) {
13233 self.days = ::std::option::Option::None;
13234 }
13235
13236 pub fn has_days(&self) -> bool {
13237 self.days.is_some()
13238 }
13239
13240 pub fn set_days(&mut self, v: u32) {
13242 self.days = ::std::option::Option::Some(v);
13243 }
13244
13245 pub fn include_recent_votes_only(&self) -> bool {
13248 self.include_recent_votes_only.unwrap_or(false)
13249 }
13250
13251 pub fn clear_include_recent_votes_only(&mut self) {
13252 self.include_recent_votes_only = ::std::option::Option::None;
13253 }
13254
13255 pub fn has_include_recent_votes_only(&self) -> bool {
13256 self.include_recent_votes_only.is_some()
13257 }
13258
13259 pub fn set_include_recent_votes_only(&mut self, v: bool) {
13261 self.include_recent_votes_only = ::std::option::Option::Some(v);
13262 }
13263
13264 pub fn cache_max_age_seconds(&self) -> u32 {
13267 self.cache_max_age_seconds.unwrap_or(0u32)
13268 }
13269
13270 pub fn clear_cache_max_age_seconds(&mut self) {
13271 self.cache_max_age_seconds = ::std::option::Option::None;
13272 }
13273
13274 pub fn has_cache_max_age_seconds(&self) -> bool {
13275 self.cache_max_age_seconds.is_some()
13276 }
13277
13278 pub fn set_cache_max_age_seconds(&mut self, v: u32) {
13280 self.cache_max_age_seconds = ::std::option::Option::Some(v);
13281 }
13282
13283 pub fn language(&self) -> i32 {
13286 self.language.unwrap_or(0i32)
13287 }
13288
13289 pub fn clear_language(&mut self) {
13290 self.language = ::std::option::Option::None;
13291 }
13292
13293 pub fn has_language(&self) -> bool {
13294 self.language.is_some()
13295 }
13296
13297 pub fn set_language(&mut self, v: i32) {
13299 self.language = ::std::option::Option::Some(v);
13300 }
13301
13302 pub fn admin_query(&self) -> bool {
13305 self.admin_query.unwrap_or(false)
13306 }
13307
13308 pub fn clear_admin_query(&mut self) {
13309 self.admin_query = ::std::option::Option::None;
13310 }
13311
13312 pub fn has_admin_query(&self) -> bool {
13313 self.admin_query.is_some()
13314 }
13315
13316 pub fn set_admin_query(&mut self, v: bool) {
13318 self.admin_query = ::std::option::Option::Some(v);
13319 }
13320
13321 pub fn totalonly(&self) -> bool {
13324 self.totalonly.unwrap_or(false)
13325 }
13326
13327 pub fn clear_totalonly(&mut self) {
13328 self.totalonly = ::std::option::Option::None;
13329 }
13330
13331 pub fn has_totalonly(&self) -> bool {
13332 self.totalonly.is_some()
13333 }
13334
13335 pub fn set_totalonly(&mut self, v: bool) {
13337 self.totalonly = ::std::option::Option::Some(v);
13338 }
13339
13340 pub fn ids_only(&self) -> bool {
13343 self.ids_only.unwrap_or(false)
13344 }
13345
13346 pub fn clear_ids_only(&mut self) {
13347 self.ids_only = ::std::option::Option::None;
13348 }
13349
13350 pub fn has_ids_only(&self) -> bool {
13351 self.ids_only.is_some()
13352 }
13353
13354 pub fn set_ids_only(&mut self, v: bool) {
13356 self.ids_only = ::std::option::Option::Some(v);
13357 }
13358
13359 pub fn return_vote_data(&self) -> bool {
13362 self.return_vote_data.unwrap_or(false)
13363 }
13364
13365 pub fn clear_return_vote_data(&mut self) {
13366 self.return_vote_data = ::std::option::Option::None;
13367 }
13368
13369 pub fn has_return_vote_data(&self) -> bool {
13370 self.return_vote_data.is_some()
13371 }
13372
13373 pub fn set_return_vote_data(&mut self, v: bool) {
13375 self.return_vote_data = ::std::option::Option::Some(v);
13376 }
13377
13378 pub fn return_tags(&self) -> bool {
13381 self.return_tags.unwrap_or(false)
13382 }
13383
13384 pub fn clear_return_tags(&mut self) {
13385 self.return_tags = ::std::option::Option::None;
13386 }
13387
13388 pub fn has_return_tags(&self) -> bool {
13389 self.return_tags.is_some()
13390 }
13391
13392 pub fn set_return_tags(&mut self, v: bool) {
13394 self.return_tags = ::std::option::Option::Some(v);
13395 }
13396
13397 pub fn return_kv_tags(&self) -> bool {
13400 self.return_kv_tags.unwrap_or(false)
13401 }
13402
13403 pub fn clear_return_kv_tags(&mut self) {
13404 self.return_kv_tags = ::std::option::Option::None;
13405 }
13406
13407 pub fn has_return_kv_tags(&self) -> bool {
13408 self.return_kv_tags.is_some()
13409 }
13410
13411 pub fn set_return_kv_tags(&mut self, v: bool) {
13413 self.return_kv_tags = ::std::option::Option::Some(v);
13414 }
13415
13416 pub fn return_previews(&self) -> bool {
13419 self.return_previews.unwrap_or(false)
13420 }
13421
13422 pub fn clear_return_previews(&mut self) {
13423 self.return_previews = ::std::option::Option::None;
13424 }
13425
13426 pub fn has_return_previews(&self) -> bool {
13427 self.return_previews.is_some()
13428 }
13429
13430 pub fn set_return_previews(&mut self, v: bool) {
13432 self.return_previews = ::std::option::Option::Some(v);
13433 }
13434
13435 pub fn return_children(&self) -> bool {
13438 self.return_children.unwrap_or(false)
13439 }
13440
13441 pub fn clear_return_children(&mut self) {
13442 self.return_children = ::std::option::Option::None;
13443 }
13444
13445 pub fn has_return_children(&self) -> bool {
13446 self.return_children.is_some()
13447 }
13448
13449 pub fn set_return_children(&mut self, v: bool) {
13451 self.return_children = ::std::option::Option::Some(v);
13452 }
13453
13454 pub fn return_short_description(&self) -> bool {
13457 self.return_short_description.unwrap_or(false)
13458 }
13459
13460 pub fn clear_return_short_description(&mut self) {
13461 self.return_short_description = ::std::option::Option::None;
13462 }
13463
13464 pub fn has_return_short_description(&self) -> bool {
13465 self.return_short_description.is_some()
13466 }
13467
13468 pub fn set_return_short_description(&mut self, v: bool) {
13470 self.return_short_description = ::std::option::Option::Some(v);
13471 }
13472
13473 pub fn return_for_sale_data(&self) -> bool {
13476 self.return_for_sale_data.unwrap_or(false)
13477 }
13478
13479 pub fn clear_return_for_sale_data(&mut self) {
13480 self.return_for_sale_data = ::std::option::Option::None;
13481 }
13482
13483 pub fn has_return_for_sale_data(&self) -> bool {
13484 self.return_for_sale_data.is_some()
13485 }
13486
13487 pub fn set_return_for_sale_data(&mut self, v: bool) {
13489 self.return_for_sale_data = ::std::option::Option::Some(v);
13490 }
13491
13492 pub fn return_metadata(&self) -> bool {
13495 self.return_metadata.unwrap_or(false)
13496 }
13497
13498 pub fn clear_return_metadata(&mut self) {
13499 self.return_metadata = ::std::option::Option::None;
13500 }
13501
13502 pub fn has_return_metadata(&self) -> bool {
13503 self.return_metadata.is_some()
13504 }
13505
13506 pub fn set_return_metadata(&mut self, v: bool) {
13508 self.return_metadata = ::std::option::Option::Some(v);
13509 }
13510
13511 pub fn return_playtime_stats(&self) -> u32 {
13514 self.return_playtime_stats.unwrap_or(0)
13515 }
13516
13517 pub fn clear_return_playtime_stats(&mut self) {
13518 self.return_playtime_stats = ::std::option::Option::None;
13519 }
13520
13521 pub fn has_return_playtime_stats(&self) -> bool {
13522 self.return_playtime_stats.is_some()
13523 }
13524
13525 pub fn set_return_playtime_stats(&mut self, v: u32) {
13527 self.return_playtime_stats = ::std::option::Option::Some(v);
13528 }
13529
13530 pub fn return_details(&self) -> bool {
13533 self.return_details.unwrap_or(false)
13534 }
13535
13536 pub fn clear_return_details(&mut self) {
13537 self.return_details = ::std::option::Option::None;
13538 }
13539
13540 pub fn has_return_details(&self) -> bool {
13541 self.return_details.is_some()
13542 }
13543
13544 pub fn set_return_details(&mut self, v: bool) {
13546 self.return_details = ::std::option::Option::Some(v);
13547 }
13548
13549 pub fn strip_description_bbcode(&self) -> bool {
13552 self.strip_description_bbcode.unwrap_or(false)
13553 }
13554
13555 pub fn clear_strip_description_bbcode(&mut self) {
13556 self.strip_description_bbcode = ::std::option::Option::None;
13557 }
13558
13559 pub fn has_strip_description_bbcode(&self) -> bool {
13560 self.strip_description_bbcode.is_some()
13561 }
13562
13563 pub fn set_strip_description_bbcode(&mut self, v: bool) {
13565 self.strip_description_bbcode = ::std::option::Option::Some(v);
13566 }
13567
13568 pub fn desired_revision(&self) -> EPublishedFileRevision {
13571 match self.desired_revision {
13572 Some(e) => e.enum_value_or(EPublishedFileRevision::k_EPublishedFileRevision_Default),
13573 None => EPublishedFileRevision::k_EPublishedFileRevision_Default,
13574 }
13575 }
13576
13577 pub fn clear_desired_revision(&mut self) {
13578 self.desired_revision = ::std::option::Option::None;
13579 }
13580
13581 pub fn has_desired_revision(&self) -> bool {
13582 self.desired_revision.is_some()
13583 }
13584
13585 pub fn set_desired_revision(&mut self, v: EPublishedFileRevision) {
13587 self.desired_revision = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
13588 }
13589
13590 pub fn return_reactions(&self) -> bool {
13593 self.return_reactions.unwrap_or(false)
13594 }
13595
13596 pub fn clear_return_reactions(&mut self) {
13597 self.return_reactions = ::std::option::Option::None;
13598 }
13599
13600 pub fn has_return_reactions(&self) -> bool {
13601 self.return_reactions.is_some()
13602 }
13603
13604 pub fn set_return_reactions(&mut self, v: bool) {
13606 self.return_reactions = ::std::option::Option::Some(v);
13607 }
13608}
13609
13610impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_QueryFiles_Request {
13611 const NAME: &'static str = "CPublishedFile_QueryFiles_Request";
13612
13613 fn is_initialized(&self) -> bool {
13614 true
13615 }
13616
13617 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
13618 while let Some(tag) = is.read_raw_tag_or_eof()? {
13619 match tag {
13620 8 => {
13621 self.query_type = ::std::option::Option::Some(is.read_uint32()?);
13622 },
13623 16 => {
13624 self.page = ::std::option::Option::Some(is.read_uint32()?);
13625 },
13626 314 => {
13627 self.cursor = ::std::option::Option::Some(is.read_string()?);
13628 },
13629 24 => {
13630 self.numperpage = ::std::option::Option::Some(is.read_uint32()?);
13631 },
13632 32 => {
13633 self.creator_appid = ::std::option::Option::Some(is.read_uint32()?);
13634 },
13635 40 => {
13636 self.appid = ::std::option::Option::Some(is.read_uint32()?);
13637 },
13638 50 => {
13639 self.requiredtags.push(is.read_string()?);
13640 },
13641 58 => {
13642 self.excludedtags.push(is.read_string()?);
13643 },
13644 64 => {
13645 self.match_all_tags = ::std::option::Option::Some(is.read_bool()?);
13646 },
13647 74 => {
13648 self.required_flags.push(is.read_string()?);
13649 },
13650 82 => {
13651 self.omitted_flags.push(is.read_string()?);
13652 },
13653 90 => {
13654 self.search_text = ::std::option::Option::Some(is.read_string()?);
13655 },
13656 96 => {
13657 self.filetype = ::std::option::Option::Some(is.read_uint32()?);
13658 },
13659 105 => {
13660 self.child_publishedfileid = ::std::option::Option::Some(is.read_fixed64()?);
13661 },
13662 112 => {
13663 self.days = ::std::option::Option::Some(is.read_uint32()?);
13664 },
13665 120 => {
13666 self.include_recent_votes_only = ::std::option::Option::Some(is.read_bool()?);
13667 },
13668 248 => {
13669 self.cache_max_age_seconds = ::std::option::Option::Some(is.read_uint32()?);
13670 },
13671 264 => {
13672 self.language = ::std::option::Option::Some(is.read_int32()?);
13673 },
13674 274 => {
13675 self.required_kv_tags.push(is.read_message()?);
13676 },
13677 338 => {
13678 self.taggroups.push(is.read_message()?);
13679 },
13680 354 => {
13681 ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.date_range_created)?;
13682 },
13683 362 => {
13684 ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.date_range_updated)?;
13685 },
13686 368 => {
13687 self.excluded_content_descriptors.push(is.read_enum_or_unknown()?);
13688 },
13689 370 => {
13690 ::steam_vent_proto_common::protobuf::rt::read_repeated_packed_enum_or_unknown_into(is, &mut self.excluded_content_descriptors)?
13691 },
13692 376 => {
13693 self.admin_query = ::std::option::Option::Some(is.read_bool()?);
13694 },
13695 128 => {
13696 self.totalonly = ::std::option::Option::Some(is.read_bool()?);
13697 },
13698 280 => {
13699 self.ids_only = ::std::option::Option::Some(is.read_bool()?);
13700 },
13701 136 => {
13702 self.return_vote_data = ::std::option::Option::Some(is.read_bool()?);
13703 },
13704 144 => {
13705 self.return_tags = ::std::option::Option::Some(is.read_bool()?);
13706 },
13707 152 => {
13708 self.return_kv_tags = ::std::option::Option::Some(is.read_bool()?);
13709 },
13710 160 => {
13711 self.return_previews = ::std::option::Option::Some(is.read_bool()?);
13712 },
13713 168 => {
13714 self.return_children = ::std::option::Option::Some(is.read_bool()?);
13715 },
13716 176 => {
13717 self.return_short_description = ::std::option::Option::Some(is.read_bool()?);
13718 },
13719 240 => {
13720 self.return_for_sale_data = ::std::option::Option::Some(is.read_bool()?);
13721 },
13722 256 => {
13723 self.return_metadata = ::std::option::Option::Some(is.read_bool()?);
13724 },
13725 288 => {
13726 self.return_playtime_stats = ::std::option::Option::Some(is.read_uint32()?);
13727 },
13728 296 => {
13729 self.return_details = ::std::option::Option::Some(is.read_bool()?);
13730 },
13731 304 => {
13732 self.strip_description_bbcode = ::std::option::Option::Some(is.read_bool()?);
13733 },
13734 320 => {
13735 self.desired_revision = ::std::option::Option::Some(is.read_enum_or_unknown()?);
13736 },
13737 344 => {
13738 self.return_reactions = ::std::option::Option::Some(is.read_bool()?);
13739 },
13740 tag => {
13741 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
13742 },
13743 };
13744 }
13745 ::std::result::Result::Ok(())
13746 }
13747
13748 #[allow(unused_variables)]
13750 fn compute_size(&self) -> u64 {
13751 let mut my_size = 0;
13752 if let Some(v) = self.query_type {
13753 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
13754 }
13755 if let Some(v) = self.page {
13756 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
13757 }
13758 if let Some(v) = self.cursor.as_ref() {
13759 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(39, &v);
13760 }
13761 if let Some(v) = self.numperpage {
13762 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
13763 }
13764 if let Some(v) = self.creator_appid {
13765 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
13766 }
13767 if let Some(v) = self.appid {
13768 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
13769 }
13770 for value in &self.requiredtags {
13771 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(6, &value);
13772 };
13773 for value in &self.excludedtags {
13774 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(7, &value);
13775 };
13776 if let Some(v) = self.match_all_tags {
13777 my_size += 1 + 1;
13778 }
13779 for value in &self.required_flags {
13780 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(9, &value);
13781 };
13782 for value in &self.omitted_flags {
13783 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(10, &value);
13784 };
13785 if let Some(v) = self.search_text.as_ref() {
13786 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(11, &v);
13787 }
13788 if let Some(v) = self.filetype {
13789 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(12, v);
13790 }
13791 if let Some(v) = self.child_publishedfileid {
13792 my_size += 1 + 8;
13793 }
13794 if let Some(v) = self.days {
13795 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(14, v);
13796 }
13797 if let Some(v) = self.include_recent_votes_only {
13798 my_size += 1 + 1;
13799 }
13800 if let Some(v) = self.cache_max_age_seconds {
13801 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(31, v);
13802 }
13803 if let Some(v) = self.language {
13804 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(33, v);
13805 }
13806 for value in &self.required_kv_tags {
13807 let len = value.compute_size();
13808 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
13809 };
13810 for value in &self.taggroups {
13811 let len = value.compute_size();
13812 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
13813 };
13814 if let Some(v) = self.date_range_created.as_ref() {
13815 let len = v.compute_size();
13816 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
13817 }
13818 if let Some(v) = self.date_range_updated.as_ref() {
13819 let len = v.compute_size();
13820 my_size += 2 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
13821 }
13822 for value in &self.excluded_content_descriptors {
13823 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(46, value.value());
13824 };
13825 if let Some(v) = self.admin_query {
13826 my_size += 2 + 1;
13827 }
13828 if let Some(v) = self.totalonly {
13829 my_size += 2 + 1;
13830 }
13831 if let Some(v) = self.ids_only {
13832 my_size += 2 + 1;
13833 }
13834 if let Some(v) = self.return_vote_data {
13835 my_size += 2 + 1;
13836 }
13837 if let Some(v) = self.return_tags {
13838 my_size += 2 + 1;
13839 }
13840 if let Some(v) = self.return_kv_tags {
13841 my_size += 2 + 1;
13842 }
13843 if let Some(v) = self.return_previews {
13844 my_size += 2 + 1;
13845 }
13846 if let Some(v) = self.return_children {
13847 my_size += 2 + 1;
13848 }
13849 if let Some(v) = self.return_short_description {
13850 my_size += 2 + 1;
13851 }
13852 if let Some(v) = self.return_for_sale_data {
13853 my_size += 2 + 1;
13854 }
13855 if let Some(v) = self.return_metadata {
13856 my_size += 2 + 1;
13857 }
13858 if let Some(v) = self.return_playtime_stats {
13859 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(36, v);
13860 }
13861 if let Some(v) = self.return_details {
13862 my_size += 2 + 1;
13863 }
13864 if let Some(v) = self.strip_description_bbcode {
13865 my_size += 2 + 1;
13866 }
13867 if let Some(v) = self.desired_revision {
13868 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(40, v.value());
13869 }
13870 if let Some(v) = self.return_reactions {
13871 my_size += 2 + 1;
13872 }
13873 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
13874 self.special_fields.cached_size().set(my_size as u32);
13875 my_size
13876 }
13877
13878 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
13879 if let Some(v) = self.query_type {
13880 os.write_uint32(1, v)?;
13881 }
13882 if let Some(v) = self.page {
13883 os.write_uint32(2, v)?;
13884 }
13885 if let Some(v) = self.cursor.as_ref() {
13886 os.write_string(39, v)?;
13887 }
13888 if let Some(v) = self.numperpage {
13889 os.write_uint32(3, v)?;
13890 }
13891 if let Some(v) = self.creator_appid {
13892 os.write_uint32(4, v)?;
13893 }
13894 if let Some(v) = self.appid {
13895 os.write_uint32(5, v)?;
13896 }
13897 for v in &self.requiredtags {
13898 os.write_string(6, &v)?;
13899 };
13900 for v in &self.excludedtags {
13901 os.write_string(7, &v)?;
13902 };
13903 if let Some(v) = self.match_all_tags {
13904 os.write_bool(8, v)?;
13905 }
13906 for v in &self.required_flags {
13907 os.write_string(9, &v)?;
13908 };
13909 for v in &self.omitted_flags {
13910 os.write_string(10, &v)?;
13911 };
13912 if let Some(v) = self.search_text.as_ref() {
13913 os.write_string(11, v)?;
13914 }
13915 if let Some(v) = self.filetype {
13916 os.write_uint32(12, v)?;
13917 }
13918 if let Some(v) = self.child_publishedfileid {
13919 os.write_fixed64(13, v)?;
13920 }
13921 if let Some(v) = self.days {
13922 os.write_uint32(14, v)?;
13923 }
13924 if let Some(v) = self.include_recent_votes_only {
13925 os.write_bool(15, v)?;
13926 }
13927 if let Some(v) = self.cache_max_age_seconds {
13928 os.write_uint32(31, v)?;
13929 }
13930 if let Some(v) = self.language {
13931 os.write_int32(33, v)?;
13932 }
13933 for v in &self.required_kv_tags {
13934 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(34, v, os)?;
13935 };
13936 for v in &self.taggroups {
13937 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(42, v, os)?;
13938 };
13939 if let Some(v) = self.date_range_created.as_ref() {
13940 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(44, v, os)?;
13941 }
13942 if let Some(v) = self.date_range_updated.as_ref() {
13943 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(45, v, os)?;
13944 }
13945 for v in &self.excluded_content_descriptors {
13946 os.write_enum(46, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(v))?;
13947 };
13948 if let Some(v) = self.admin_query {
13949 os.write_bool(47, v)?;
13950 }
13951 if let Some(v) = self.totalonly {
13952 os.write_bool(16, v)?;
13953 }
13954 if let Some(v) = self.ids_only {
13955 os.write_bool(35, v)?;
13956 }
13957 if let Some(v) = self.return_vote_data {
13958 os.write_bool(17, v)?;
13959 }
13960 if let Some(v) = self.return_tags {
13961 os.write_bool(18, v)?;
13962 }
13963 if let Some(v) = self.return_kv_tags {
13964 os.write_bool(19, v)?;
13965 }
13966 if let Some(v) = self.return_previews {
13967 os.write_bool(20, v)?;
13968 }
13969 if let Some(v) = self.return_children {
13970 os.write_bool(21, v)?;
13971 }
13972 if let Some(v) = self.return_short_description {
13973 os.write_bool(22, v)?;
13974 }
13975 if let Some(v) = self.return_for_sale_data {
13976 os.write_bool(30, v)?;
13977 }
13978 if let Some(v) = self.return_metadata {
13979 os.write_bool(32, v)?;
13980 }
13981 if let Some(v) = self.return_playtime_stats {
13982 os.write_uint32(36, v)?;
13983 }
13984 if let Some(v) = self.return_details {
13985 os.write_bool(37, v)?;
13986 }
13987 if let Some(v) = self.strip_description_bbcode {
13988 os.write_bool(38, v)?;
13989 }
13990 if let Some(v) = self.desired_revision {
13991 os.write_enum(40, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
13992 }
13993 if let Some(v) = self.return_reactions {
13994 os.write_bool(43, v)?;
13995 }
13996 os.write_unknown_fields(self.special_fields.unknown_fields())?;
13997 ::std::result::Result::Ok(())
13998 }
13999
14000 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
14001 &self.special_fields
14002 }
14003
14004 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
14005 &mut self.special_fields
14006 }
14007
14008 fn new() -> CPublishedFile_QueryFiles_Request {
14009 CPublishedFile_QueryFiles_Request::new()
14010 }
14011
14012 fn clear(&mut self) {
14013 self.query_type = ::std::option::Option::None;
14014 self.page = ::std::option::Option::None;
14015 self.cursor = ::std::option::Option::None;
14016 self.numperpage = ::std::option::Option::None;
14017 self.creator_appid = ::std::option::Option::None;
14018 self.appid = ::std::option::Option::None;
14019 self.requiredtags.clear();
14020 self.excludedtags.clear();
14021 self.match_all_tags = ::std::option::Option::None;
14022 self.required_flags.clear();
14023 self.omitted_flags.clear();
14024 self.search_text = ::std::option::Option::None;
14025 self.filetype = ::std::option::Option::None;
14026 self.child_publishedfileid = ::std::option::Option::None;
14027 self.days = ::std::option::Option::None;
14028 self.include_recent_votes_only = ::std::option::Option::None;
14029 self.cache_max_age_seconds = ::std::option::Option::None;
14030 self.language = ::std::option::Option::None;
14031 self.required_kv_tags.clear();
14032 self.taggroups.clear();
14033 self.date_range_created.clear();
14034 self.date_range_updated.clear();
14035 self.excluded_content_descriptors.clear();
14036 self.admin_query = ::std::option::Option::None;
14037 self.totalonly = ::std::option::Option::None;
14038 self.ids_only = ::std::option::Option::None;
14039 self.return_vote_data = ::std::option::Option::None;
14040 self.return_tags = ::std::option::Option::None;
14041 self.return_kv_tags = ::std::option::Option::None;
14042 self.return_previews = ::std::option::Option::None;
14043 self.return_children = ::std::option::Option::None;
14044 self.return_short_description = ::std::option::Option::None;
14045 self.return_for_sale_data = ::std::option::Option::None;
14046 self.return_metadata = ::std::option::Option::None;
14047 self.return_playtime_stats = ::std::option::Option::None;
14048 self.return_details = ::std::option::Option::None;
14049 self.strip_description_bbcode = ::std::option::Option::None;
14050 self.desired_revision = ::std::option::Option::None;
14051 self.return_reactions = ::std::option::Option::None;
14052 self.special_fields.clear();
14053 }
14054
14055 fn default_instance() -> &'static CPublishedFile_QueryFiles_Request {
14056 static instance: CPublishedFile_QueryFiles_Request = CPublishedFile_QueryFiles_Request {
14057 query_type: ::std::option::Option::None,
14058 page: ::std::option::Option::None,
14059 cursor: ::std::option::Option::None,
14060 numperpage: ::std::option::Option::None,
14061 creator_appid: ::std::option::Option::None,
14062 appid: ::std::option::Option::None,
14063 requiredtags: ::std::vec::Vec::new(),
14064 excludedtags: ::std::vec::Vec::new(),
14065 match_all_tags: ::std::option::Option::None,
14066 required_flags: ::std::vec::Vec::new(),
14067 omitted_flags: ::std::vec::Vec::new(),
14068 search_text: ::std::option::Option::None,
14069 filetype: ::std::option::Option::None,
14070 child_publishedfileid: ::std::option::Option::None,
14071 days: ::std::option::Option::None,
14072 include_recent_votes_only: ::std::option::Option::None,
14073 cache_max_age_seconds: ::std::option::Option::None,
14074 language: ::std::option::Option::None,
14075 required_kv_tags: ::std::vec::Vec::new(),
14076 taggroups: ::std::vec::Vec::new(),
14077 date_range_created: ::steam_vent_proto_common::protobuf::MessageField::none(),
14078 date_range_updated: ::steam_vent_proto_common::protobuf::MessageField::none(),
14079 excluded_content_descriptors: ::std::vec::Vec::new(),
14080 admin_query: ::std::option::Option::None,
14081 totalonly: ::std::option::Option::None,
14082 ids_only: ::std::option::Option::None,
14083 return_vote_data: ::std::option::Option::None,
14084 return_tags: ::std::option::Option::None,
14085 return_kv_tags: ::std::option::Option::None,
14086 return_previews: ::std::option::Option::None,
14087 return_children: ::std::option::Option::None,
14088 return_short_description: ::std::option::Option::None,
14089 return_for_sale_data: ::std::option::Option::None,
14090 return_metadata: ::std::option::Option::None,
14091 return_playtime_stats: ::std::option::Option::None,
14092 return_details: ::std::option::Option::None,
14093 strip_description_bbcode: ::std::option::Option::None,
14094 desired_revision: ::std::option::Option::None,
14095 return_reactions: ::std::option::Option::None,
14096 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
14097 };
14098 &instance
14099 }
14100}
14101
14102pub mod cpublished_file_query_files_request {
14104 #[derive(PartialEq,Clone,Default,Debug)]
14106 pub struct KVTag {
14107 pub key: ::std::option::Option<::std::string::String>,
14110 pub value: ::std::option::Option<::std::string::String>,
14112 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
14115 }
14116
14117 impl<'a> ::std::default::Default for &'a KVTag {
14118 fn default() -> &'a KVTag {
14119 <KVTag as ::steam_vent_proto_common::protobuf::Message>::default_instance()
14120 }
14121 }
14122
14123 impl KVTag {
14124 pub fn new() -> KVTag {
14125 ::std::default::Default::default()
14126 }
14127
14128 pub fn key(&self) -> &str {
14131 match self.key.as_ref() {
14132 Some(v) => v,
14133 None => "",
14134 }
14135 }
14136
14137 pub fn clear_key(&mut self) {
14138 self.key = ::std::option::Option::None;
14139 }
14140
14141 pub fn has_key(&self) -> bool {
14142 self.key.is_some()
14143 }
14144
14145 pub fn set_key(&mut self, v: ::std::string::String) {
14147 self.key = ::std::option::Option::Some(v);
14148 }
14149
14150 pub fn mut_key(&mut self) -> &mut ::std::string::String {
14153 if self.key.is_none() {
14154 self.key = ::std::option::Option::Some(::std::string::String::new());
14155 }
14156 self.key.as_mut().unwrap()
14157 }
14158
14159 pub fn take_key(&mut self) -> ::std::string::String {
14161 self.key.take().unwrap_or_else(|| ::std::string::String::new())
14162 }
14163
14164 pub fn value(&self) -> &str {
14167 match self.value.as_ref() {
14168 Some(v) => v,
14169 None => "",
14170 }
14171 }
14172
14173 pub fn clear_value(&mut self) {
14174 self.value = ::std::option::Option::None;
14175 }
14176
14177 pub fn has_value(&self) -> bool {
14178 self.value.is_some()
14179 }
14180
14181 pub fn set_value(&mut self, v: ::std::string::String) {
14183 self.value = ::std::option::Option::Some(v);
14184 }
14185
14186 pub fn mut_value(&mut self) -> &mut ::std::string::String {
14189 if self.value.is_none() {
14190 self.value = ::std::option::Option::Some(::std::string::String::new());
14191 }
14192 self.value.as_mut().unwrap()
14193 }
14194
14195 pub fn take_value(&mut self) -> ::std::string::String {
14197 self.value.take().unwrap_or_else(|| ::std::string::String::new())
14198 }
14199 }
14200
14201 impl ::steam_vent_proto_common::protobuf::Message for KVTag {
14202 const NAME: &'static str = "KVTag";
14203
14204 fn is_initialized(&self) -> bool {
14205 true
14206 }
14207
14208 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14209 while let Some(tag) = is.read_raw_tag_or_eof()? {
14210 match tag {
14211 10 => {
14212 self.key = ::std::option::Option::Some(is.read_string()?);
14213 },
14214 18 => {
14215 self.value = ::std::option::Option::Some(is.read_string()?);
14216 },
14217 tag => {
14218 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
14219 },
14220 };
14221 }
14222 ::std::result::Result::Ok(())
14223 }
14224
14225 #[allow(unused_variables)]
14227 fn compute_size(&self) -> u64 {
14228 let mut my_size = 0;
14229 if let Some(v) = self.key.as_ref() {
14230 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
14231 }
14232 if let Some(v) = self.value.as_ref() {
14233 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
14234 }
14235 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
14236 self.special_fields.cached_size().set(my_size as u32);
14237 my_size
14238 }
14239
14240 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14241 if let Some(v) = self.key.as_ref() {
14242 os.write_string(1, v)?;
14243 }
14244 if let Some(v) = self.value.as_ref() {
14245 os.write_string(2, v)?;
14246 }
14247 os.write_unknown_fields(self.special_fields.unknown_fields())?;
14248 ::std::result::Result::Ok(())
14249 }
14250
14251 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
14252 &self.special_fields
14253 }
14254
14255 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
14256 &mut self.special_fields
14257 }
14258
14259 fn new() -> KVTag {
14260 KVTag::new()
14261 }
14262
14263 fn clear(&mut self) {
14264 self.key = ::std::option::Option::None;
14265 self.value = ::std::option::Option::None;
14266 self.special_fields.clear();
14267 }
14268
14269 fn default_instance() -> &'static KVTag {
14270 static instance: KVTag = KVTag {
14271 key: ::std::option::Option::None,
14272 value: ::std::option::Option::None,
14273 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
14274 };
14275 &instance
14276 }
14277 }
14278
14279 #[derive(PartialEq,Clone,Default,Debug)]
14281 pub struct TagGroup {
14282 pub tags: ::std::vec::Vec<::std::string::String>,
14285 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
14288 }
14289
14290 impl<'a> ::std::default::Default for &'a TagGroup {
14291 fn default() -> &'a TagGroup {
14292 <TagGroup as ::steam_vent_proto_common::protobuf::Message>::default_instance()
14293 }
14294 }
14295
14296 impl TagGroup {
14297 pub fn new() -> TagGroup {
14298 ::std::default::Default::default()
14299 }
14300 }
14301
14302 impl ::steam_vent_proto_common::protobuf::Message for TagGroup {
14303 const NAME: &'static str = "TagGroup";
14304
14305 fn is_initialized(&self) -> bool {
14306 true
14307 }
14308
14309 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14310 while let Some(tag) = is.read_raw_tag_or_eof()? {
14311 match tag {
14312 10 => {
14313 self.tags.push(is.read_string()?);
14314 },
14315 tag => {
14316 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
14317 },
14318 };
14319 }
14320 ::std::result::Result::Ok(())
14321 }
14322
14323 #[allow(unused_variables)]
14325 fn compute_size(&self) -> u64 {
14326 let mut my_size = 0;
14327 for value in &self.tags {
14328 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &value);
14329 };
14330 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
14331 self.special_fields.cached_size().set(my_size as u32);
14332 my_size
14333 }
14334
14335 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14336 for v in &self.tags {
14337 os.write_string(1, &v)?;
14338 };
14339 os.write_unknown_fields(self.special_fields.unknown_fields())?;
14340 ::std::result::Result::Ok(())
14341 }
14342
14343 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
14344 &self.special_fields
14345 }
14346
14347 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
14348 &mut self.special_fields
14349 }
14350
14351 fn new() -> TagGroup {
14352 TagGroup::new()
14353 }
14354
14355 fn clear(&mut self) {
14356 self.tags.clear();
14357 self.special_fields.clear();
14358 }
14359
14360 fn default_instance() -> &'static TagGroup {
14361 static instance: TagGroup = TagGroup {
14362 tags: ::std::vec::Vec::new(),
14363 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
14364 };
14365 &instance
14366 }
14367 }
14368
14369 #[derive(PartialEq,Clone,Default,Debug)]
14371 pub struct DateRange {
14372 pub timestamp_start: ::std::option::Option<u32>,
14375 pub timestamp_end: ::std::option::Option<u32>,
14377 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
14380 }
14381
14382 impl<'a> ::std::default::Default for &'a DateRange {
14383 fn default() -> &'a DateRange {
14384 <DateRange as ::steam_vent_proto_common::protobuf::Message>::default_instance()
14385 }
14386 }
14387
14388 impl DateRange {
14389 pub fn new() -> DateRange {
14390 ::std::default::Default::default()
14391 }
14392
14393 pub fn timestamp_start(&self) -> u32 {
14396 self.timestamp_start.unwrap_or(0)
14397 }
14398
14399 pub fn clear_timestamp_start(&mut self) {
14400 self.timestamp_start = ::std::option::Option::None;
14401 }
14402
14403 pub fn has_timestamp_start(&self) -> bool {
14404 self.timestamp_start.is_some()
14405 }
14406
14407 pub fn set_timestamp_start(&mut self, v: u32) {
14409 self.timestamp_start = ::std::option::Option::Some(v);
14410 }
14411
14412 pub fn timestamp_end(&self) -> u32 {
14415 self.timestamp_end.unwrap_or(0)
14416 }
14417
14418 pub fn clear_timestamp_end(&mut self) {
14419 self.timestamp_end = ::std::option::Option::None;
14420 }
14421
14422 pub fn has_timestamp_end(&self) -> bool {
14423 self.timestamp_end.is_some()
14424 }
14425
14426 pub fn set_timestamp_end(&mut self, v: u32) {
14428 self.timestamp_end = ::std::option::Option::Some(v);
14429 }
14430 }
14431
14432 impl ::steam_vent_proto_common::protobuf::Message for DateRange {
14433 const NAME: &'static str = "DateRange";
14434
14435 fn is_initialized(&self) -> bool {
14436 true
14437 }
14438
14439 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14440 while let Some(tag) = is.read_raw_tag_or_eof()? {
14441 match tag {
14442 8 => {
14443 self.timestamp_start = ::std::option::Option::Some(is.read_uint32()?);
14444 },
14445 16 => {
14446 self.timestamp_end = ::std::option::Option::Some(is.read_uint32()?);
14447 },
14448 tag => {
14449 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
14450 },
14451 };
14452 }
14453 ::std::result::Result::Ok(())
14454 }
14455
14456 #[allow(unused_variables)]
14458 fn compute_size(&self) -> u64 {
14459 let mut my_size = 0;
14460 if let Some(v) = self.timestamp_start {
14461 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
14462 }
14463 if let Some(v) = self.timestamp_end {
14464 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
14465 }
14466 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
14467 self.special_fields.cached_size().set(my_size as u32);
14468 my_size
14469 }
14470
14471 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14472 if let Some(v) = self.timestamp_start {
14473 os.write_uint32(1, v)?;
14474 }
14475 if let Some(v) = self.timestamp_end {
14476 os.write_uint32(2, v)?;
14477 }
14478 os.write_unknown_fields(self.special_fields.unknown_fields())?;
14479 ::std::result::Result::Ok(())
14480 }
14481
14482 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
14483 &self.special_fields
14484 }
14485
14486 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
14487 &mut self.special_fields
14488 }
14489
14490 fn new() -> DateRange {
14491 DateRange::new()
14492 }
14493
14494 fn clear(&mut self) {
14495 self.timestamp_start = ::std::option::Option::None;
14496 self.timestamp_end = ::std::option::Option::None;
14497 self.special_fields.clear();
14498 }
14499
14500 fn default_instance() -> &'static DateRange {
14501 static instance: DateRange = DateRange {
14502 timestamp_start: ::std::option::Option::None,
14503 timestamp_end: ::std::option::Option::None,
14504 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
14505 };
14506 &instance
14507 }
14508 }
14509}
14510
14511#[derive(PartialEq,Clone,Default,Debug)]
14513pub struct CPublishedFile_QueryFiles_Response {
14514 pub total: ::std::option::Option<u32>,
14517 pub publishedfiledetails: ::std::vec::Vec<PublishedFileDetails>,
14519 pub next_cursor: ::std::option::Option<::std::string::String>,
14521 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
14524}
14525
14526impl<'a> ::std::default::Default for &'a CPublishedFile_QueryFiles_Response {
14527 fn default() -> &'a CPublishedFile_QueryFiles_Response {
14528 <CPublishedFile_QueryFiles_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
14529 }
14530}
14531
14532impl CPublishedFile_QueryFiles_Response {
14533 pub fn new() -> CPublishedFile_QueryFiles_Response {
14534 ::std::default::Default::default()
14535 }
14536
14537 pub fn total(&self) -> u32 {
14540 self.total.unwrap_or(0)
14541 }
14542
14543 pub fn clear_total(&mut self) {
14544 self.total = ::std::option::Option::None;
14545 }
14546
14547 pub fn has_total(&self) -> bool {
14548 self.total.is_some()
14549 }
14550
14551 pub fn set_total(&mut self, v: u32) {
14553 self.total = ::std::option::Option::Some(v);
14554 }
14555
14556 pub fn next_cursor(&self) -> &str {
14559 match self.next_cursor.as_ref() {
14560 Some(v) => v,
14561 None => "",
14562 }
14563 }
14564
14565 pub fn clear_next_cursor(&mut self) {
14566 self.next_cursor = ::std::option::Option::None;
14567 }
14568
14569 pub fn has_next_cursor(&self) -> bool {
14570 self.next_cursor.is_some()
14571 }
14572
14573 pub fn set_next_cursor(&mut self, v: ::std::string::String) {
14575 self.next_cursor = ::std::option::Option::Some(v);
14576 }
14577
14578 pub fn mut_next_cursor(&mut self) -> &mut ::std::string::String {
14581 if self.next_cursor.is_none() {
14582 self.next_cursor = ::std::option::Option::Some(::std::string::String::new());
14583 }
14584 self.next_cursor.as_mut().unwrap()
14585 }
14586
14587 pub fn take_next_cursor(&mut self) -> ::std::string::String {
14589 self.next_cursor.take().unwrap_or_else(|| ::std::string::String::new())
14590 }
14591}
14592
14593impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_QueryFiles_Response {
14594 const NAME: &'static str = "CPublishedFile_QueryFiles_Response";
14595
14596 fn is_initialized(&self) -> bool {
14597 true
14598 }
14599
14600 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14601 while let Some(tag) = is.read_raw_tag_or_eof()? {
14602 match tag {
14603 8 => {
14604 self.total = ::std::option::Option::Some(is.read_uint32()?);
14605 },
14606 18 => {
14607 self.publishedfiledetails.push(is.read_message()?);
14608 },
14609 26 => {
14610 self.next_cursor = ::std::option::Option::Some(is.read_string()?);
14611 },
14612 tag => {
14613 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
14614 },
14615 };
14616 }
14617 ::std::result::Result::Ok(())
14618 }
14619
14620 #[allow(unused_variables)]
14622 fn compute_size(&self) -> u64 {
14623 let mut my_size = 0;
14624 if let Some(v) = self.total {
14625 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
14626 }
14627 for value in &self.publishedfiledetails {
14628 let len = value.compute_size();
14629 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
14630 };
14631 if let Some(v) = self.next_cursor.as_ref() {
14632 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
14633 }
14634 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
14635 self.special_fields.cached_size().set(my_size as u32);
14636 my_size
14637 }
14638
14639 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14640 if let Some(v) = self.total {
14641 os.write_uint32(1, v)?;
14642 }
14643 for v in &self.publishedfiledetails {
14644 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
14645 };
14646 if let Some(v) = self.next_cursor.as_ref() {
14647 os.write_string(3, v)?;
14648 }
14649 os.write_unknown_fields(self.special_fields.unknown_fields())?;
14650 ::std::result::Result::Ok(())
14651 }
14652
14653 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
14654 &self.special_fields
14655 }
14656
14657 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
14658 &mut self.special_fields
14659 }
14660
14661 fn new() -> CPublishedFile_QueryFiles_Response {
14662 CPublishedFile_QueryFiles_Response::new()
14663 }
14664
14665 fn clear(&mut self) {
14666 self.total = ::std::option::Option::None;
14667 self.publishedfiledetails.clear();
14668 self.next_cursor = ::std::option::Option::None;
14669 self.special_fields.clear();
14670 }
14671
14672 fn default_instance() -> &'static CPublishedFile_QueryFiles_Response {
14673 static instance: CPublishedFile_QueryFiles_Response = CPublishedFile_QueryFiles_Response {
14674 total: ::std::option::Option::None,
14675 publishedfiledetails: ::std::vec::Vec::new(),
14676 next_cursor: ::std::option::Option::None,
14677 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
14678 };
14679 &instance
14680 }
14681}
14682
14683#[derive(PartialEq,Clone,Default,Debug)]
14685pub struct CPublishedFile_AddAppRelationship_Request {
14686 pub publishedfileid: ::std::option::Option<u64>,
14689 pub appid: ::std::option::Option<u32>,
14691 pub relationship: ::std::option::Option<u32>,
14693 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
14696}
14697
14698impl<'a> ::std::default::Default for &'a CPublishedFile_AddAppRelationship_Request {
14699 fn default() -> &'a CPublishedFile_AddAppRelationship_Request {
14700 <CPublishedFile_AddAppRelationship_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
14701 }
14702}
14703
14704impl CPublishedFile_AddAppRelationship_Request {
14705 pub fn new() -> CPublishedFile_AddAppRelationship_Request {
14706 ::std::default::Default::default()
14707 }
14708
14709 pub fn publishedfileid(&self) -> u64 {
14712 self.publishedfileid.unwrap_or(0)
14713 }
14714
14715 pub fn clear_publishedfileid(&mut self) {
14716 self.publishedfileid = ::std::option::Option::None;
14717 }
14718
14719 pub fn has_publishedfileid(&self) -> bool {
14720 self.publishedfileid.is_some()
14721 }
14722
14723 pub fn set_publishedfileid(&mut self, v: u64) {
14725 self.publishedfileid = ::std::option::Option::Some(v);
14726 }
14727
14728 pub fn appid(&self) -> u32 {
14731 self.appid.unwrap_or(0)
14732 }
14733
14734 pub fn clear_appid(&mut self) {
14735 self.appid = ::std::option::Option::None;
14736 }
14737
14738 pub fn has_appid(&self) -> bool {
14739 self.appid.is_some()
14740 }
14741
14742 pub fn set_appid(&mut self, v: u32) {
14744 self.appid = ::std::option::Option::Some(v);
14745 }
14746
14747 pub fn relationship(&self) -> u32 {
14750 self.relationship.unwrap_or(0)
14751 }
14752
14753 pub fn clear_relationship(&mut self) {
14754 self.relationship = ::std::option::Option::None;
14755 }
14756
14757 pub fn has_relationship(&self) -> bool {
14758 self.relationship.is_some()
14759 }
14760
14761 pub fn set_relationship(&mut self, v: u32) {
14763 self.relationship = ::std::option::Option::Some(v);
14764 }
14765}
14766
14767impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_AddAppRelationship_Request {
14768 const NAME: &'static str = "CPublishedFile_AddAppRelationship_Request";
14769
14770 fn is_initialized(&self) -> bool {
14771 true
14772 }
14773
14774 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14775 while let Some(tag) = is.read_raw_tag_or_eof()? {
14776 match tag {
14777 8 => {
14778 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
14779 },
14780 16 => {
14781 self.appid = ::std::option::Option::Some(is.read_uint32()?);
14782 },
14783 24 => {
14784 self.relationship = ::std::option::Option::Some(is.read_uint32()?);
14785 },
14786 tag => {
14787 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
14788 },
14789 };
14790 }
14791 ::std::result::Result::Ok(())
14792 }
14793
14794 #[allow(unused_variables)]
14796 fn compute_size(&self) -> u64 {
14797 let mut my_size = 0;
14798 if let Some(v) = self.publishedfileid {
14799 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
14800 }
14801 if let Some(v) = self.appid {
14802 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
14803 }
14804 if let Some(v) = self.relationship {
14805 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
14806 }
14807 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
14808 self.special_fields.cached_size().set(my_size as u32);
14809 my_size
14810 }
14811
14812 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14813 if let Some(v) = self.publishedfileid {
14814 os.write_uint64(1, v)?;
14815 }
14816 if let Some(v) = self.appid {
14817 os.write_uint32(2, v)?;
14818 }
14819 if let Some(v) = self.relationship {
14820 os.write_uint32(3, v)?;
14821 }
14822 os.write_unknown_fields(self.special_fields.unknown_fields())?;
14823 ::std::result::Result::Ok(())
14824 }
14825
14826 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
14827 &self.special_fields
14828 }
14829
14830 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
14831 &mut self.special_fields
14832 }
14833
14834 fn new() -> CPublishedFile_AddAppRelationship_Request {
14835 CPublishedFile_AddAppRelationship_Request::new()
14836 }
14837
14838 fn clear(&mut self) {
14839 self.publishedfileid = ::std::option::Option::None;
14840 self.appid = ::std::option::Option::None;
14841 self.relationship = ::std::option::Option::None;
14842 self.special_fields.clear();
14843 }
14844
14845 fn default_instance() -> &'static CPublishedFile_AddAppRelationship_Request {
14846 static instance: CPublishedFile_AddAppRelationship_Request = CPublishedFile_AddAppRelationship_Request {
14847 publishedfileid: ::std::option::Option::None,
14848 appid: ::std::option::Option::None,
14849 relationship: ::std::option::Option::None,
14850 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
14851 };
14852 &instance
14853 }
14854}
14855
14856#[derive(PartialEq,Clone,Default,Debug)]
14858pub struct CPublishedFile_AddAppRelationship_Response {
14859 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
14862}
14863
14864impl<'a> ::std::default::Default for &'a CPublishedFile_AddAppRelationship_Response {
14865 fn default() -> &'a CPublishedFile_AddAppRelationship_Response {
14866 <CPublishedFile_AddAppRelationship_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
14867 }
14868}
14869
14870impl CPublishedFile_AddAppRelationship_Response {
14871 pub fn new() -> CPublishedFile_AddAppRelationship_Response {
14872 ::std::default::Default::default()
14873 }
14874}
14875
14876impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_AddAppRelationship_Response {
14877 const NAME: &'static str = "CPublishedFile_AddAppRelationship_Response";
14878
14879 fn is_initialized(&self) -> bool {
14880 true
14881 }
14882
14883 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14884 while let Some(tag) = is.read_raw_tag_or_eof()? {
14885 match tag {
14886 tag => {
14887 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
14888 },
14889 };
14890 }
14891 ::std::result::Result::Ok(())
14892 }
14893
14894 #[allow(unused_variables)]
14896 fn compute_size(&self) -> u64 {
14897 let mut my_size = 0;
14898 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
14899 self.special_fields.cached_size().set(my_size as u32);
14900 my_size
14901 }
14902
14903 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
14904 os.write_unknown_fields(self.special_fields.unknown_fields())?;
14905 ::std::result::Result::Ok(())
14906 }
14907
14908 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
14909 &self.special_fields
14910 }
14911
14912 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
14913 &mut self.special_fields
14914 }
14915
14916 fn new() -> CPublishedFile_AddAppRelationship_Response {
14917 CPublishedFile_AddAppRelationship_Response::new()
14918 }
14919
14920 fn clear(&mut self) {
14921 self.special_fields.clear();
14922 }
14923
14924 fn default_instance() -> &'static CPublishedFile_AddAppRelationship_Response {
14925 static instance: CPublishedFile_AddAppRelationship_Response = CPublishedFile_AddAppRelationship_Response {
14926 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
14927 };
14928 &instance
14929 }
14930}
14931
14932#[derive(PartialEq,Clone,Default,Debug)]
14934pub struct CPublishedFile_RemoveAppRelationship_Request {
14935 pub publishedfileid: ::std::option::Option<u64>,
14938 pub appid: ::std::option::Option<u32>,
14940 pub relationship: ::std::option::Option<u32>,
14942 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
14945}
14946
14947impl<'a> ::std::default::Default for &'a CPublishedFile_RemoveAppRelationship_Request {
14948 fn default() -> &'a CPublishedFile_RemoveAppRelationship_Request {
14949 <CPublishedFile_RemoveAppRelationship_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
14950 }
14951}
14952
14953impl CPublishedFile_RemoveAppRelationship_Request {
14954 pub fn new() -> CPublishedFile_RemoveAppRelationship_Request {
14955 ::std::default::Default::default()
14956 }
14957
14958 pub fn publishedfileid(&self) -> u64 {
14961 self.publishedfileid.unwrap_or(0)
14962 }
14963
14964 pub fn clear_publishedfileid(&mut self) {
14965 self.publishedfileid = ::std::option::Option::None;
14966 }
14967
14968 pub fn has_publishedfileid(&self) -> bool {
14969 self.publishedfileid.is_some()
14970 }
14971
14972 pub fn set_publishedfileid(&mut self, v: u64) {
14974 self.publishedfileid = ::std::option::Option::Some(v);
14975 }
14976
14977 pub fn appid(&self) -> u32 {
14980 self.appid.unwrap_or(0)
14981 }
14982
14983 pub fn clear_appid(&mut self) {
14984 self.appid = ::std::option::Option::None;
14985 }
14986
14987 pub fn has_appid(&self) -> bool {
14988 self.appid.is_some()
14989 }
14990
14991 pub fn set_appid(&mut self, v: u32) {
14993 self.appid = ::std::option::Option::Some(v);
14994 }
14995
14996 pub fn relationship(&self) -> u32 {
14999 self.relationship.unwrap_or(0)
15000 }
15001
15002 pub fn clear_relationship(&mut self) {
15003 self.relationship = ::std::option::Option::None;
15004 }
15005
15006 pub fn has_relationship(&self) -> bool {
15007 self.relationship.is_some()
15008 }
15009
15010 pub fn set_relationship(&mut self, v: u32) {
15012 self.relationship = ::std::option::Option::Some(v);
15013 }
15014}
15015
15016impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_RemoveAppRelationship_Request {
15017 const NAME: &'static str = "CPublishedFile_RemoveAppRelationship_Request";
15018
15019 fn is_initialized(&self) -> bool {
15020 true
15021 }
15022
15023 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15024 while let Some(tag) = is.read_raw_tag_or_eof()? {
15025 match tag {
15026 8 => {
15027 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
15028 },
15029 16 => {
15030 self.appid = ::std::option::Option::Some(is.read_uint32()?);
15031 },
15032 24 => {
15033 self.relationship = ::std::option::Option::Some(is.read_uint32()?);
15034 },
15035 tag => {
15036 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
15037 },
15038 };
15039 }
15040 ::std::result::Result::Ok(())
15041 }
15042
15043 #[allow(unused_variables)]
15045 fn compute_size(&self) -> u64 {
15046 let mut my_size = 0;
15047 if let Some(v) = self.publishedfileid {
15048 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
15049 }
15050 if let Some(v) = self.appid {
15051 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
15052 }
15053 if let Some(v) = self.relationship {
15054 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
15055 }
15056 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
15057 self.special_fields.cached_size().set(my_size as u32);
15058 my_size
15059 }
15060
15061 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15062 if let Some(v) = self.publishedfileid {
15063 os.write_uint64(1, v)?;
15064 }
15065 if let Some(v) = self.appid {
15066 os.write_uint32(2, v)?;
15067 }
15068 if let Some(v) = self.relationship {
15069 os.write_uint32(3, v)?;
15070 }
15071 os.write_unknown_fields(self.special_fields.unknown_fields())?;
15072 ::std::result::Result::Ok(())
15073 }
15074
15075 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
15076 &self.special_fields
15077 }
15078
15079 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
15080 &mut self.special_fields
15081 }
15082
15083 fn new() -> CPublishedFile_RemoveAppRelationship_Request {
15084 CPublishedFile_RemoveAppRelationship_Request::new()
15085 }
15086
15087 fn clear(&mut self) {
15088 self.publishedfileid = ::std::option::Option::None;
15089 self.appid = ::std::option::Option::None;
15090 self.relationship = ::std::option::Option::None;
15091 self.special_fields.clear();
15092 }
15093
15094 fn default_instance() -> &'static CPublishedFile_RemoveAppRelationship_Request {
15095 static instance: CPublishedFile_RemoveAppRelationship_Request = CPublishedFile_RemoveAppRelationship_Request {
15096 publishedfileid: ::std::option::Option::None,
15097 appid: ::std::option::Option::None,
15098 relationship: ::std::option::Option::None,
15099 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
15100 };
15101 &instance
15102 }
15103}
15104
15105#[derive(PartialEq,Clone,Default,Debug)]
15107pub struct CPublishedFile_RemoveAppRelationship_Response {
15108 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
15111}
15112
15113impl<'a> ::std::default::Default for &'a CPublishedFile_RemoveAppRelationship_Response {
15114 fn default() -> &'a CPublishedFile_RemoveAppRelationship_Response {
15115 <CPublishedFile_RemoveAppRelationship_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
15116 }
15117}
15118
15119impl CPublishedFile_RemoveAppRelationship_Response {
15120 pub fn new() -> CPublishedFile_RemoveAppRelationship_Response {
15121 ::std::default::Default::default()
15122 }
15123}
15124
15125impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_RemoveAppRelationship_Response {
15126 const NAME: &'static str = "CPublishedFile_RemoveAppRelationship_Response";
15127
15128 fn is_initialized(&self) -> bool {
15129 true
15130 }
15131
15132 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15133 while let Some(tag) = is.read_raw_tag_or_eof()? {
15134 match tag {
15135 tag => {
15136 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
15137 },
15138 };
15139 }
15140 ::std::result::Result::Ok(())
15141 }
15142
15143 #[allow(unused_variables)]
15145 fn compute_size(&self) -> u64 {
15146 let mut my_size = 0;
15147 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
15148 self.special_fields.cached_size().set(my_size as u32);
15149 my_size
15150 }
15151
15152 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15153 os.write_unknown_fields(self.special_fields.unknown_fields())?;
15154 ::std::result::Result::Ok(())
15155 }
15156
15157 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
15158 &self.special_fields
15159 }
15160
15161 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
15162 &mut self.special_fields
15163 }
15164
15165 fn new() -> CPublishedFile_RemoveAppRelationship_Response {
15166 CPublishedFile_RemoveAppRelationship_Response::new()
15167 }
15168
15169 fn clear(&mut self) {
15170 self.special_fields.clear();
15171 }
15172
15173 fn default_instance() -> &'static CPublishedFile_RemoveAppRelationship_Response {
15174 static instance: CPublishedFile_RemoveAppRelationship_Response = CPublishedFile_RemoveAppRelationship_Response {
15175 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
15176 };
15177 &instance
15178 }
15179}
15180
15181#[derive(PartialEq,Clone,Default,Debug)]
15183pub struct CPublishedFile_GetAppRelationships_Request {
15184 pub publishedfileid: ::std::option::Option<u64>,
15187 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
15190}
15191
15192impl<'a> ::std::default::Default for &'a CPublishedFile_GetAppRelationships_Request {
15193 fn default() -> &'a CPublishedFile_GetAppRelationships_Request {
15194 <CPublishedFile_GetAppRelationships_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
15195 }
15196}
15197
15198impl CPublishedFile_GetAppRelationships_Request {
15199 pub fn new() -> CPublishedFile_GetAppRelationships_Request {
15200 ::std::default::Default::default()
15201 }
15202
15203 pub fn publishedfileid(&self) -> u64 {
15206 self.publishedfileid.unwrap_or(0)
15207 }
15208
15209 pub fn clear_publishedfileid(&mut self) {
15210 self.publishedfileid = ::std::option::Option::None;
15211 }
15212
15213 pub fn has_publishedfileid(&self) -> bool {
15214 self.publishedfileid.is_some()
15215 }
15216
15217 pub fn set_publishedfileid(&mut self, v: u64) {
15219 self.publishedfileid = ::std::option::Option::Some(v);
15220 }
15221}
15222
15223impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetAppRelationships_Request {
15224 const NAME: &'static str = "CPublishedFile_GetAppRelationships_Request";
15225
15226 fn is_initialized(&self) -> bool {
15227 true
15228 }
15229
15230 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15231 while let Some(tag) = is.read_raw_tag_or_eof()? {
15232 match tag {
15233 8 => {
15234 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
15235 },
15236 tag => {
15237 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
15238 },
15239 };
15240 }
15241 ::std::result::Result::Ok(())
15242 }
15243
15244 #[allow(unused_variables)]
15246 fn compute_size(&self) -> u64 {
15247 let mut my_size = 0;
15248 if let Some(v) = self.publishedfileid {
15249 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
15250 }
15251 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
15252 self.special_fields.cached_size().set(my_size as u32);
15253 my_size
15254 }
15255
15256 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15257 if let Some(v) = self.publishedfileid {
15258 os.write_uint64(1, v)?;
15259 }
15260 os.write_unknown_fields(self.special_fields.unknown_fields())?;
15261 ::std::result::Result::Ok(())
15262 }
15263
15264 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
15265 &self.special_fields
15266 }
15267
15268 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
15269 &mut self.special_fields
15270 }
15271
15272 fn new() -> CPublishedFile_GetAppRelationships_Request {
15273 CPublishedFile_GetAppRelationships_Request::new()
15274 }
15275
15276 fn clear(&mut self) {
15277 self.publishedfileid = ::std::option::Option::None;
15278 self.special_fields.clear();
15279 }
15280
15281 fn default_instance() -> &'static CPublishedFile_GetAppRelationships_Request {
15282 static instance: CPublishedFile_GetAppRelationships_Request = CPublishedFile_GetAppRelationships_Request {
15283 publishedfileid: ::std::option::Option::None,
15284 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
15285 };
15286 &instance
15287 }
15288}
15289
15290#[derive(PartialEq,Clone,Default,Debug)]
15292pub struct CPublishedFile_GetAppRelationships_Response {
15293 pub app_relationships: ::std::vec::Vec<cpublished_file_get_app_relationships_response::AppRelationship>,
15296 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
15299}
15300
15301impl<'a> ::std::default::Default for &'a CPublishedFile_GetAppRelationships_Response {
15302 fn default() -> &'a CPublishedFile_GetAppRelationships_Response {
15303 <CPublishedFile_GetAppRelationships_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
15304 }
15305}
15306
15307impl CPublishedFile_GetAppRelationships_Response {
15308 pub fn new() -> CPublishedFile_GetAppRelationships_Response {
15309 ::std::default::Default::default()
15310 }
15311}
15312
15313impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetAppRelationships_Response {
15314 const NAME: &'static str = "CPublishedFile_GetAppRelationships_Response";
15315
15316 fn is_initialized(&self) -> bool {
15317 true
15318 }
15319
15320 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15321 while let Some(tag) = is.read_raw_tag_or_eof()? {
15322 match tag {
15323 26 => {
15324 self.app_relationships.push(is.read_message()?);
15325 },
15326 tag => {
15327 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
15328 },
15329 };
15330 }
15331 ::std::result::Result::Ok(())
15332 }
15333
15334 #[allow(unused_variables)]
15336 fn compute_size(&self) -> u64 {
15337 let mut my_size = 0;
15338 for value in &self.app_relationships {
15339 let len = value.compute_size();
15340 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
15341 };
15342 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
15343 self.special_fields.cached_size().set(my_size as u32);
15344 my_size
15345 }
15346
15347 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15348 for v in &self.app_relationships {
15349 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
15350 };
15351 os.write_unknown_fields(self.special_fields.unknown_fields())?;
15352 ::std::result::Result::Ok(())
15353 }
15354
15355 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
15356 &self.special_fields
15357 }
15358
15359 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
15360 &mut self.special_fields
15361 }
15362
15363 fn new() -> CPublishedFile_GetAppRelationships_Response {
15364 CPublishedFile_GetAppRelationships_Response::new()
15365 }
15366
15367 fn clear(&mut self) {
15368 self.app_relationships.clear();
15369 self.special_fields.clear();
15370 }
15371
15372 fn default_instance() -> &'static CPublishedFile_GetAppRelationships_Response {
15373 static instance: CPublishedFile_GetAppRelationships_Response = CPublishedFile_GetAppRelationships_Response {
15374 app_relationships: ::std::vec::Vec::new(),
15375 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
15376 };
15377 &instance
15378 }
15379}
15380
15381pub mod cpublished_file_get_app_relationships_response {
15383 #[derive(PartialEq,Clone,Default,Debug)]
15385 pub struct AppRelationship {
15386 pub appid: ::std::option::Option<u32>,
15389 pub relationship: ::std::option::Option<u32>,
15391 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
15394 }
15395
15396 impl<'a> ::std::default::Default for &'a AppRelationship {
15397 fn default() -> &'a AppRelationship {
15398 <AppRelationship as ::steam_vent_proto_common::protobuf::Message>::default_instance()
15399 }
15400 }
15401
15402 impl AppRelationship {
15403 pub fn new() -> AppRelationship {
15404 ::std::default::Default::default()
15405 }
15406
15407 pub fn appid(&self) -> u32 {
15410 self.appid.unwrap_or(0)
15411 }
15412
15413 pub fn clear_appid(&mut self) {
15414 self.appid = ::std::option::Option::None;
15415 }
15416
15417 pub fn has_appid(&self) -> bool {
15418 self.appid.is_some()
15419 }
15420
15421 pub fn set_appid(&mut self, v: u32) {
15423 self.appid = ::std::option::Option::Some(v);
15424 }
15425
15426 pub fn relationship(&self) -> u32 {
15429 self.relationship.unwrap_or(0)
15430 }
15431
15432 pub fn clear_relationship(&mut self) {
15433 self.relationship = ::std::option::Option::None;
15434 }
15435
15436 pub fn has_relationship(&self) -> bool {
15437 self.relationship.is_some()
15438 }
15439
15440 pub fn set_relationship(&mut self, v: u32) {
15442 self.relationship = ::std::option::Option::Some(v);
15443 }
15444 }
15445
15446 impl ::steam_vent_proto_common::protobuf::Message for AppRelationship {
15447 const NAME: &'static str = "AppRelationship";
15448
15449 fn is_initialized(&self) -> bool {
15450 true
15451 }
15452
15453 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15454 while let Some(tag) = is.read_raw_tag_or_eof()? {
15455 match tag {
15456 8 => {
15457 self.appid = ::std::option::Option::Some(is.read_uint32()?);
15458 },
15459 16 => {
15460 self.relationship = ::std::option::Option::Some(is.read_uint32()?);
15461 },
15462 tag => {
15463 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
15464 },
15465 };
15466 }
15467 ::std::result::Result::Ok(())
15468 }
15469
15470 #[allow(unused_variables)]
15472 fn compute_size(&self) -> u64 {
15473 let mut my_size = 0;
15474 if let Some(v) = self.appid {
15475 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
15476 }
15477 if let Some(v) = self.relationship {
15478 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
15479 }
15480 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
15481 self.special_fields.cached_size().set(my_size as u32);
15482 my_size
15483 }
15484
15485 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15486 if let Some(v) = self.appid {
15487 os.write_uint32(1, v)?;
15488 }
15489 if let Some(v) = self.relationship {
15490 os.write_uint32(2, v)?;
15491 }
15492 os.write_unknown_fields(self.special_fields.unknown_fields())?;
15493 ::std::result::Result::Ok(())
15494 }
15495
15496 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
15497 &self.special_fields
15498 }
15499
15500 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
15501 &mut self.special_fields
15502 }
15503
15504 fn new() -> AppRelationship {
15505 AppRelationship::new()
15506 }
15507
15508 fn clear(&mut self) {
15509 self.appid = ::std::option::Option::None;
15510 self.relationship = ::std::option::Option::None;
15511 self.special_fields.clear();
15512 }
15513
15514 fn default_instance() -> &'static AppRelationship {
15515 static instance: AppRelationship = AppRelationship {
15516 appid: ::std::option::Option::None,
15517 relationship: ::std::option::Option::None,
15518 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
15519 };
15520 &instance
15521 }
15522 }
15523}
15524
15525#[derive(PartialEq,Clone,Default,Debug)]
15527pub struct CPublishedFile_GetAppRelationshipsBatched_Request {
15528 pub publishedfileids: ::std::vec::Vec<u64>,
15531 pub filter_relationship: ::std::option::Option<u32>,
15533 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
15536}
15537
15538impl<'a> ::std::default::Default for &'a CPublishedFile_GetAppRelationshipsBatched_Request {
15539 fn default() -> &'a CPublishedFile_GetAppRelationshipsBatched_Request {
15540 <CPublishedFile_GetAppRelationshipsBatched_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
15541 }
15542}
15543
15544impl CPublishedFile_GetAppRelationshipsBatched_Request {
15545 pub fn new() -> CPublishedFile_GetAppRelationshipsBatched_Request {
15546 ::std::default::Default::default()
15547 }
15548
15549 pub fn filter_relationship(&self) -> u32 {
15552 self.filter_relationship.unwrap_or(0)
15553 }
15554
15555 pub fn clear_filter_relationship(&mut self) {
15556 self.filter_relationship = ::std::option::Option::None;
15557 }
15558
15559 pub fn has_filter_relationship(&self) -> bool {
15560 self.filter_relationship.is_some()
15561 }
15562
15563 pub fn set_filter_relationship(&mut self, v: u32) {
15565 self.filter_relationship = ::std::option::Option::Some(v);
15566 }
15567}
15568
15569impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetAppRelationshipsBatched_Request {
15570 const NAME: &'static str = "CPublishedFile_GetAppRelationshipsBatched_Request";
15571
15572 fn is_initialized(&self) -> bool {
15573 true
15574 }
15575
15576 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15577 while let Some(tag) = is.read_raw_tag_or_eof()? {
15578 match tag {
15579 10 => {
15580 is.read_repeated_packed_uint64_into(&mut self.publishedfileids)?;
15581 },
15582 8 => {
15583 self.publishedfileids.push(is.read_uint64()?);
15584 },
15585 16 => {
15586 self.filter_relationship = ::std::option::Option::Some(is.read_uint32()?);
15587 },
15588 tag => {
15589 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
15590 },
15591 };
15592 }
15593 ::std::result::Result::Ok(())
15594 }
15595
15596 #[allow(unused_variables)]
15598 fn compute_size(&self) -> u64 {
15599 let mut my_size = 0;
15600 for value in &self.publishedfileids {
15601 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, *value);
15602 };
15603 if let Some(v) = self.filter_relationship {
15604 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
15605 }
15606 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
15607 self.special_fields.cached_size().set(my_size as u32);
15608 my_size
15609 }
15610
15611 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15612 for v in &self.publishedfileids {
15613 os.write_uint64(1, *v)?;
15614 };
15615 if let Some(v) = self.filter_relationship {
15616 os.write_uint32(2, v)?;
15617 }
15618 os.write_unknown_fields(self.special_fields.unknown_fields())?;
15619 ::std::result::Result::Ok(())
15620 }
15621
15622 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
15623 &self.special_fields
15624 }
15625
15626 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
15627 &mut self.special_fields
15628 }
15629
15630 fn new() -> CPublishedFile_GetAppRelationshipsBatched_Request {
15631 CPublishedFile_GetAppRelationshipsBatched_Request::new()
15632 }
15633
15634 fn clear(&mut self) {
15635 self.publishedfileids.clear();
15636 self.filter_relationship = ::std::option::Option::None;
15637 self.special_fields.clear();
15638 }
15639
15640 fn default_instance() -> &'static CPublishedFile_GetAppRelationshipsBatched_Request {
15641 static instance: CPublishedFile_GetAppRelationshipsBatched_Request = CPublishedFile_GetAppRelationshipsBatched_Request {
15642 publishedfileids: ::std::vec::Vec::new(),
15643 filter_relationship: ::std::option::Option::None,
15644 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
15645 };
15646 &instance
15647 }
15648}
15649
15650#[derive(PartialEq,Clone,Default,Debug)]
15652pub struct CPublishedFile_GetAppRelationshipsBatched_Response {
15653 pub relationships: ::std::vec::Vec<cpublished_file_get_app_relationships_batched_response::PublishedFileAppRelationship>,
15656 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
15659}
15660
15661impl<'a> ::std::default::Default for &'a CPublishedFile_GetAppRelationshipsBatched_Response {
15662 fn default() -> &'a CPublishedFile_GetAppRelationshipsBatched_Response {
15663 <CPublishedFile_GetAppRelationshipsBatched_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
15664 }
15665}
15666
15667impl CPublishedFile_GetAppRelationshipsBatched_Response {
15668 pub fn new() -> CPublishedFile_GetAppRelationshipsBatched_Response {
15669 ::std::default::Default::default()
15670 }
15671}
15672
15673impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetAppRelationshipsBatched_Response {
15674 const NAME: &'static str = "CPublishedFile_GetAppRelationshipsBatched_Response";
15675
15676 fn is_initialized(&self) -> bool {
15677 true
15678 }
15679
15680 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15681 while let Some(tag) = is.read_raw_tag_or_eof()? {
15682 match tag {
15683 10 => {
15684 self.relationships.push(is.read_message()?);
15685 },
15686 tag => {
15687 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
15688 },
15689 };
15690 }
15691 ::std::result::Result::Ok(())
15692 }
15693
15694 #[allow(unused_variables)]
15696 fn compute_size(&self) -> u64 {
15697 let mut my_size = 0;
15698 for value in &self.relationships {
15699 let len = value.compute_size();
15700 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
15701 };
15702 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
15703 self.special_fields.cached_size().set(my_size as u32);
15704 my_size
15705 }
15706
15707 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15708 for v in &self.relationships {
15709 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
15710 };
15711 os.write_unknown_fields(self.special_fields.unknown_fields())?;
15712 ::std::result::Result::Ok(())
15713 }
15714
15715 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
15716 &self.special_fields
15717 }
15718
15719 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
15720 &mut self.special_fields
15721 }
15722
15723 fn new() -> CPublishedFile_GetAppRelationshipsBatched_Response {
15724 CPublishedFile_GetAppRelationshipsBatched_Response::new()
15725 }
15726
15727 fn clear(&mut self) {
15728 self.relationships.clear();
15729 self.special_fields.clear();
15730 }
15731
15732 fn default_instance() -> &'static CPublishedFile_GetAppRelationshipsBatched_Response {
15733 static instance: CPublishedFile_GetAppRelationshipsBatched_Response = CPublishedFile_GetAppRelationshipsBatched_Response {
15734 relationships: ::std::vec::Vec::new(),
15735 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
15736 };
15737 &instance
15738 }
15739}
15740
15741pub mod cpublished_file_get_app_relationships_batched_response {
15743 #[derive(PartialEq,Clone,Default,Debug)]
15745 pub struct AppRelationship {
15746 pub appid: ::std::option::Option<u32>,
15749 pub relationship: ::std::option::Option<u32>,
15751 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
15754 }
15755
15756 impl<'a> ::std::default::Default for &'a AppRelationship {
15757 fn default() -> &'a AppRelationship {
15758 <AppRelationship as ::steam_vent_proto_common::protobuf::Message>::default_instance()
15759 }
15760 }
15761
15762 impl AppRelationship {
15763 pub fn new() -> AppRelationship {
15764 ::std::default::Default::default()
15765 }
15766
15767 pub fn appid(&self) -> u32 {
15770 self.appid.unwrap_or(0)
15771 }
15772
15773 pub fn clear_appid(&mut self) {
15774 self.appid = ::std::option::Option::None;
15775 }
15776
15777 pub fn has_appid(&self) -> bool {
15778 self.appid.is_some()
15779 }
15780
15781 pub fn set_appid(&mut self, v: u32) {
15783 self.appid = ::std::option::Option::Some(v);
15784 }
15785
15786 pub fn relationship(&self) -> u32 {
15789 self.relationship.unwrap_or(0)
15790 }
15791
15792 pub fn clear_relationship(&mut self) {
15793 self.relationship = ::std::option::Option::None;
15794 }
15795
15796 pub fn has_relationship(&self) -> bool {
15797 self.relationship.is_some()
15798 }
15799
15800 pub fn set_relationship(&mut self, v: u32) {
15802 self.relationship = ::std::option::Option::Some(v);
15803 }
15804 }
15805
15806 impl ::steam_vent_proto_common::protobuf::Message for AppRelationship {
15807 const NAME: &'static str = "AppRelationship";
15808
15809 fn is_initialized(&self) -> bool {
15810 true
15811 }
15812
15813 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15814 while let Some(tag) = is.read_raw_tag_or_eof()? {
15815 match tag {
15816 8 => {
15817 self.appid = ::std::option::Option::Some(is.read_uint32()?);
15818 },
15819 16 => {
15820 self.relationship = ::std::option::Option::Some(is.read_uint32()?);
15821 },
15822 tag => {
15823 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
15824 },
15825 };
15826 }
15827 ::std::result::Result::Ok(())
15828 }
15829
15830 #[allow(unused_variables)]
15832 fn compute_size(&self) -> u64 {
15833 let mut my_size = 0;
15834 if let Some(v) = self.appid {
15835 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
15836 }
15837 if let Some(v) = self.relationship {
15838 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
15839 }
15840 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
15841 self.special_fields.cached_size().set(my_size as u32);
15842 my_size
15843 }
15844
15845 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15846 if let Some(v) = self.appid {
15847 os.write_uint32(1, v)?;
15848 }
15849 if let Some(v) = self.relationship {
15850 os.write_uint32(2, v)?;
15851 }
15852 os.write_unknown_fields(self.special_fields.unknown_fields())?;
15853 ::std::result::Result::Ok(())
15854 }
15855
15856 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
15857 &self.special_fields
15858 }
15859
15860 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
15861 &mut self.special_fields
15862 }
15863
15864 fn new() -> AppRelationship {
15865 AppRelationship::new()
15866 }
15867
15868 fn clear(&mut self) {
15869 self.appid = ::std::option::Option::None;
15870 self.relationship = ::std::option::Option::None;
15871 self.special_fields.clear();
15872 }
15873
15874 fn default_instance() -> &'static AppRelationship {
15875 static instance: AppRelationship = AppRelationship {
15876 appid: ::std::option::Option::None,
15877 relationship: ::std::option::Option::None,
15878 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
15879 };
15880 &instance
15881 }
15882 }
15883
15884 #[derive(PartialEq,Clone,Default,Debug)]
15886 pub struct PublishedFileAppRelationship {
15887 pub publishedfileid: ::std::option::Option<u64>,
15890 pub result: ::std::option::Option<u32>,
15892 pub app_relationships: ::std::vec::Vec<AppRelationship>,
15894 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
15897 }
15898
15899 impl<'a> ::std::default::Default for &'a PublishedFileAppRelationship {
15900 fn default() -> &'a PublishedFileAppRelationship {
15901 <PublishedFileAppRelationship as ::steam_vent_proto_common::protobuf::Message>::default_instance()
15902 }
15903 }
15904
15905 impl PublishedFileAppRelationship {
15906 pub fn new() -> PublishedFileAppRelationship {
15907 ::std::default::Default::default()
15908 }
15909
15910 pub fn publishedfileid(&self) -> u64 {
15913 self.publishedfileid.unwrap_or(0)
15914 }
15915
15916 pub fn clear_publishedfileid(&mut self) {
15917 self.publishedfileid = ::std::option::Option::None;
15918 }
15919
15920 pub fn has_publishedfileid(&self) -> bool {
15921 self.publishedfileid.is_some()
15922 }
15923
15924 pub fn set_publishedfileid(&mut self, v: u64) {
15926 self.publishedfileid = ::std::option::Option::Some(v);
15927 }
15928
15929 pub fn result(&self) -> u32 {
15932 self.result.unwrap_or(0)
15933 }
15934
15935 pub fn clear_result(&mut self) {
15936 self.result = ::std::option::Option::None;
15937 }
15938
15939 pub fn has_result(&self) -> bool {
15940 self.result.is_some()
15941 }
15942
15943 pub fn set_result(&mut self, v: u32) {
15945 self.result = ::std::option::Option::Some(v);
15946 }
15947 }
15948
15949 impl ::steam_vent_proto_common::protobuf::Message for PublishedFileAppRelationship {
15950 const NAME: &'static str = "PublishedFileAppRelationship";
15951
15952 fn is_initialized(&self) -> bool {
15953 true
15954 }
15955
15956 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15957 while let Some(tag) = is.read_raw_tag_or_eof()? {
15958 match tag {
15959 8 => {
15960 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
15961 },
15962 16 => {
15963 self.result = ::std::option::Option::Some(is.read_uint32()?);
15964 },
15965 26 => {
15966 self.app_relationships.push(is.read_message()?);
15967 },
15968 tag => {
15969 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
15970 },
15971 };
15972 }
15973 ::std::result::Result::Ok(())
15974 }
15975
15976 #[allow(unused_variables)]
15978 fn compute_size(&self) -> u64 {
15979 let mut my_size = 0;
15980 if let Some(v) = self.publishedfileid {
15981 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
15982 }
15983 if let Some(v) = self.result {
15984 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
15985 }
15986 for value in &self.app_relationships {
15987 let len = value.compute_size();
15988 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
15989 };
15990 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
15991 self.special_fields.cached_size().set(my_size as u32);
15992 my_size
15993 }
15994
15995 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
15996 if let Some(v) = self.publishedfileid {
15997 os.write_uint64(1, v)?;
15998 }
15999 if let Some(v) = self.result {
16000 os.write_uint32(2, v)?;
16001 }
16002 for v in &self.app_relationships {
16003 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
16004 };
16005 os.write_unknown_fields(self.special_fields.unknown_fields())?;
16006 ::std::result::Result::Ok(())
16007 }
16008
16009 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16010 &self.special_fields
16011 }
16012
16013 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16014 &mut self.special_fields
16015 }
16016
16017 fn new() -> PublishedFileAppRelationship {
16018 PublishedFileAppRelationship::new()
16019 }
16020
16021 fn clear(&mut self) {
16022 self.publishedfileid = ::std::option::Option::None;
16023 self.result = ::std::option::Option::None;
16024 self.app_relationships.clear();
16025 self.special_fields.clear();
16026 }
16027
16028 fn default_instance() -> &'static PublishedFileAppRelationship {
16029 static instance: PublishedFileAppRelationship = PublishedFileAppRelationship {
16030 publishedfileid: ::std::option::Option::None,
16031 result: ::std::option::Option::None,
16032 app_relationships: ::std::vec::Vec::new(),
16033 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16034 };
16035 &instance
16036 }
16037 }
16038}
16039
16040#[derive(PartialEq,Clone,Default,Debug)]
16042pub struct CPublishedFile_StartPlaytimeTracking_Request {
16043 pub appid: ::std::option::Option<u32>,
16046 pub publishedfileids: ::std::vec::Vec<u64>,
16048 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16051}
16052
16053impl<'a> ::std::default::Default for &'a CPublishedFile_StartPlaytimeTracking_Request {
16054 fn default() -> &'a CPublishedFile_StartPlaytimeTracking_Request {
16055 <CPublishedFile_StartPlaytimeTracking_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16056 }
16057}
16058
16059impl CPublishedFile_StartPlaytimeTracking_Request {
16060 pub fn new() -> CPublishedFile_StartPlaytimeTracking_Request {
16061 ::std::default::Default::default()
16062 }
16063
16064 pub fn appid(&self) -> u32 {
16067 self.appid.unwrap_or(0)
16068 }
16069
16070 pub fn clear_appid(&mut self) {
16071 self.appid = ::std::option::Option::None;
16072 }
16073
16074 pub fn has_appid(&self) -> bool {
16075 self.appid.is_some()
16076 }
16077
16078 pub fn set_appid(&mut self, v: u32) {
16080 self.appid = ::std::option::Option::Some(v);
16081 }
16082}
16083
16084impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_StartPlaytimeTracking_Request {
16085 const NAME: &'static str = "CPublishedFile_StartPlaytimeTracking_Request";
16086
16087 fn is_initialized(&self) -> bool {
16088 true
16089 }
16090
16091 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16092 while let Some(tag) = is.read_raw_tag_or_eof()? {
16093 match tag {
16094 8 => {
16095 self.appid = ::std::option::Option::Some(is.read_uint32()?);
16096 },
16097 18 => {
16098 is.read_repeated_packed_uint64_into(&mut self.publishedfileids)?;
16099 },
16100 16 => {
16101 self.publishedfileids.push(is.read_uint64()?);
16102 },
16103 tag => {
16104 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16105 },
16106 };
16107 }
16108 ::std::result::Result::Ok(())
16109 }
16110
16111 #[allow(unused_variables)]
16113 fn compute_size(&self) -> u64 {
16114 let mut my_size = 0;
16115 if let Some(v) = self.appid {
16116 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
16117 }
16118 for value in &self.publishedfileids {
16119 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, *value);
16120 };
16121 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16122 self.special_fields.cached_size().set(my_size as u32);
16123 my_size
16124 }
16125
16126 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16127 if let Some(v) = self.appid {
16128 os.write_uint32(1, v)?;
16129 }
16130 for v in &self.publishedfileids {
16131 os.write_uint64(2, *v)?;
16132 };
16133 os.write_unknown_fields(self.special_fields.unknown_fields())?;
16134 ::std::result::Result::Ok(())
16135 }
16136
16137 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16138 &self.special_fields
16139 }
16140
16141 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16142 &mut self.special_fields
16143 }
16144
16145 fn new() -> CPublishedFile_StartPlaytimeTracking_Request {
16146 CPublishedFile_StartPlaytimeTracking_Request::new()
16147 }
16148
16149 fn clear(&mut self) {
16150 self.appid = ::std::option::Option::None;
16151 self.publishedfileids.clear();
16152 self.special_fields.clear();
16153 }
16154
16155 fn default_instance() -> &'static CPublishedFile_StartPlaytimeTracking_Request {
16156 static instance: CPublishedFile_StartPlaytimeTracking_Request = CPublishedFile_StartPlaytimeTracking_Request {
16157 appid: ::std::option::Option::None,
16158 publishedfileids: ::std::vec::Vec::new(),
16159 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16160 };
16161 &instance
16162 }
16163}
16164
16165#[derive(PartialEq,Clone,Default,Debug)]
16167pub struct CPublishedFile_StartPlaytimeTracking_Response {
16168 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16171}
16172
16173impl<'a> ::std::default::Default for &'a CPublishedFile_StartPlaytimeTracking_Response {
16174 fn default() -> &'a CPublishedFile_StartPlaytimeTracking_Response {
16175 <CPublishedFile_StartPlaytimeTracking_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16176 }
16177}
16178
16179impl CPublishedFile_StartPlaytimeTracking_Response {
16180 pub fn new() -> CPublishedFile_StartPlaytimeTracking_Response {
16181 ::std::default::Default::default()
16182 }
16183}
16184
16185impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_StartPlaytimeTracking_Response {
16186 const NAME: &'static str = "CPublishedFile_StartPlaytimeTracking_Response";
16187
16188 fn is_initialized(&self) -> bool {
16189 true
16190 }
16191
16192 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16193 while let Some(tag) = is.read_raw_tag_or_eof()? {
16194 match tag {
16195 tag => {
16196 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16197 },
16198 };
16199 }
16200 ::std::result::Result::Ok(())
16201 }
16202
16203 #[allow(unused_variables)]
16205 fn compute_size(&self) -> u64 {
16206 let mut my_size = 0;
16207 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16208 self.special_fields.cached_size().set(my_size as u32);
16209 my_size
16210 }
16211
16212 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16213 os.write_unknown_fields(self.special_fields.unknown_fields())?;
16214 ::std::result::Result::Ok(())
16215 }
16216
16217 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16218 &self.special_fields
16219 }
16220
16221 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16222 &mut self.special_fields
16223 }
16224
16225 fn new() -> CPublishedFile_StartPlaytimeTracking_Response {
16226 CPublishedFile_StartPlaytimeTracking_Response::new()
16227 }
16228
16229 fn clear(&mut self) {
16230 self.special_fields.clear();
16231 }
16232
16233 fn default_instance() -> &'static CPublishedFile_StartPlaytimeTracking_Response {
16234 static instance: CPublishedFile_StartPlaytimeTracking_Response = CPublishedFile_StartPlaytimeTracking_Response {
16235 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16236 };
16237 &instance
16238 }
16239}
16240
16241#[derive(PartialEq,Clone,Default,Debug)]
16243pub struct CPublishedFile_StopPlaytimeTracking_Request {
16244 pub appid: ::std::option::Option<u32>,
16247 pub publishedfileids: ::std::vec::Vec<u64>,
16249 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16252}
16253
16254impl<'a> ::std::default::Default for &'a CPublishedFile_StopPlaytimeTracking_Request {
16255 fn default() -> &'a CPublishedFile_StopPlaytimeTracking_Request {
16256 <CPublishedFile_StopPlaytimeTracking_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16257 }
16258}
16259
16260impl CPublishedFile_StopPlaytimeTracking_Request {
16261 pub fn new() -> CPublishedFile_StopPlaytimeTracking_Request {
16262 ::std::default::Default::default()
16263 }
16264
16265 pub fn appid(&self) -> u32 {
16268 self.appid.unwrap_or(0)
16269 }
16270
16271 pub fn clear_appid(&mut self) {
16272 self.appid = ::std::option::Option::None;
16273 }
16274
16275 pub fn has_appid(&self) -> bool {
16276 self.appid.is_some()
16277 }
16278
16279 pub fn set_appid(&mut self, v: u32) {
16281 self.appid = ::std::option::Option::Some(v);
16282 }
16283}
16284
16285impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_StopPlaytimeTracking_Request {
16286 const NAME: &'static str = "CPublishedFile_StopPlaytimeTracking_Request";
16287
16288 fn is_initialized(&self) -> bool {
16289 true
16290 }
16291
16292 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16293 while let Some(tag) = is.read_raw_tag_or_eof()? {
16294 match tag {
16295 8 => {
16296 self.appid = ::std::option::Option::Some(is.read_uint32()?);
16297 },
16298 18 => {
16299 is.read_repeated_packed_uint64_into(&mut self.publishedfileids)?;
16300 },
16301 16 => {
16302 self.publishedfileids.push(is.read_uint64()?);
16303 },
16304 tag => {
16305 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16306 },
16307 };
16308 }
16309 ::std::result::Result::Ok(())
16310 }
16311
16312 #[allow(unused_variables)]
16314 fn compute_size(&self) -> u64 {
16315 let mut my_size = 0;
16316 if let Some(v) = self.appid {
16317 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
16318 }
16319 for value in &self.publishedfileids {
16320 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, *value);
16321 };
16322 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16323 self.special_fields.cached_size().set(my_size as u32);
16324 my_size
16325 }
16326
16327 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16328 if let Some(v) = self.appid {
16329 os.write_uint32(1, v)?;
16330 }
16331 for v in &self.publishedfileids {
16332 os.write_uint64(2, *v)?;
16333 };
16334 os.write_unknown_fields(self.special_fields.unknown_fields())?;
16335 ::std::result::Result::Ok(())
16336 }
16337
16338 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16339 &self.special_fields
16340 }
16341
16342 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16343 &mut self.special_fields
16344 }
16345
16346 fn new() -> CPublishedFile_StopPlaytimeTracking_Request {
16347 CPublishedFile_StopPlaytimeTracking_Request::new()
16348 }
16349
16350 fn clear(&mut self) {
16351 self.appid = ::std::option::Option::None;
16352 self.publishedfileids.clear();
16353 self.special_fields.clear();
16354 }
16355
16356 fn default_instance() -> &'static CPublishedFile_StopPlaytimeTracking_Request {
16357 static instance: CPublishedFile_StopPlaytimeTracking_Request = CPublishedFile_StopPlaytimeTracking_Request {
16358 appid: ::std::option::Option::None,
16359 publishedfileids: ::std::vec::Vec::new(),
16360 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16361 };
16362 &instance
16363 }
16364}
16365
16366#[derive(PartialEq,Clone,Default,Debug)]
16368pub struct CPublishedFile_StopPlaytimeTracking_Response {
16369 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16372}
16373
16374impl<'a> ::std::default::Default for &'a CPublishedFile_StopPlaytimeTracking_Response {
16375 fn default() -> &'a CPublishedFile_StopPlaytimeTracking_Response {
16376 <CPublishedFile_StopPlaytimeTracking_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16377 }
16378}
16379
16380impl CPublishedFile_StopPlaytimeTracking_Response {
16381 pub fn new() -> CPublishedFile_StopPlaytimeTracking_Response {
16382 ::std::default::Default::default()
16383 }
16384}
16385
16386impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_StopPlaytimeTracking_Response {
16387 const NAME: &'static str = "CPublishedFile_StopPlaytimeTracking_Response";
16388
16389 fn is_initialized(&self) -> bool {
16390 true
16391 }
16392
16393 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16394 while let Some(tag) = is.read_raw_tag_or_eof()? {
16395 match tag {
16396 tag => {
16397 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16398 },
16399 };
16400 }
16401 ::std::result::Result::Ok(())
16402 }
16403
16404 #[allow(unused_variables)]
16406 fn compute_size(&self) -> u64 {
16407 let mut my_size = 0;
16408 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16409 self.special_fields.cached_size().set(my_size as u32);
16410 my_size
16411 }
16412
16413 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16414 os.write_unknown_fields(self.special_fields.unknown_fields())?;
16415 ::std::result::Result::Ok(())
16416 }
16417
16418 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16419 &self.special_fields
16420 }
16421
16422 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16423 &mut self.special_fields
16424 }
16425
16426 fn new() -> CPublishedFile_StopPlaytimeTracking_Response {
16427 CPublishedFile_StopPlaytimeTracking_Response::new()
16428 }
16429
16430 fn clear(&mut self) {
16431 self.special_fields.clear();
16432 }
16433
16434 fn default_instance() -> &'static CPublishedFile_StopPlaytimeTracking_Response {
16435 static instance: CPublishedFile_StopPlaytimeTracking_Response = CPublishedFile_StopPlaytimeTracking_Response {
16436 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16437 };
16438 &instance
16439 }
16440}
16441
16442#[derive(PartialEq,Clone,Default,Debug)]
16444pub struct CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request {
16445 pub appid: ::std::option::Option<u32>,
16448 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16451}
16452
16453impl<'a> ::std::default::Default for &'a CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request {
16454 fn default() -> &'a CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request {
16455 <CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16456 }
16457}
16458
16459impl CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request {
16460 pub fn new() -> CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request {
16461 ::std::default::Default::default()
16462 }
16463
16464 pub fn appid(&self) -> u32 {
16467 self.appid.unwrap_or(0)
16468 }
16469
16470 pub fn clear_appid(&mut self) {
16471 self.appid = ::std::option::Option::None;
16472 }
16473
16474 pub fn has_appid(&self) -> bool {
16475 self.appid.is_some()
16476 }
16477
16478 pub fn set_appid(&mut self, v: u32) {
16480 self.appid = ::std::option::Option::Some(v);
16481 }
16482}
16483
16484impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request {
16485 const NAME: &'static str = "CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request";
16486
16487 fn is_initialized(&self) -> bool {
16488 true
16489 }
16490
16491 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16492 while let Some(tag) = is.read_raw_tag_or_eof()? {
16493 match tag {
16494 8 => {
16495 self.appid = ::std::option::Option::Some(is.read_uint32()?);
16496 },
16497 tag => {
16498 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16499 },
16500 };
16501 }
16502 ::std::result::Result::Ok(())
16503 }
16504
16505 #[allow(unused_variables)]
16507 fn compute_size(&self) -> u64 {
16508 let mut my_size = 0;
16509 if let Some(v) = self.appid {
16510 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
16511 }
16512 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16513 self.special_fields.cached_size().set(my_size as u32);
16514 my_size
16515 }
16516
16517 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16518 if let Some(v) = self.appid {
16519 os.write_uint32(1, v)?;
16520 }
16521 os.write_unknown_fields(self.special_fields.unknown_fields())?;
16522 ::std::result::Result::Ok(())
16523 }
16524
16525 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16526 &self.special_fields
16527 }
16528
16529 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16530 &mut self.special_fields
16531 }
16532
16533 fn new() -> CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request {
16534 CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request::new()
16535 }
16536
16537 fn clear(&mut self) {
16538 self.appid = ::std::option::Option::None;
16539 self.special_fields.clear();
16540 }
16541
16542 fn default_instance() -> &'static CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request {
16543 static instance: CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request = CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request {
16544 appid: ::std::option::Option::None,
16545 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16546 };
16547 &instance
16548 }
16549}
16550
16551#[derive(PartialEq,Clone,Default,Debug)]
16553pub struct CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response {
16554 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16557}
16558
16559impl<'a> ::std::default::Default for &'a CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response {
16560 fn default() -> &'a CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response {
16561 <CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16562 }
16563}
16564
16565impl CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response {
16566 pub fn new() -> CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response {
16567 ::std::default::Default::default()
16568 }
16569}
16570
16571impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response {
16572 const NAME: &'static str = "CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response";
16573
16574 fn is_initialized(&self) -> bool {
16575 true
16576 }
16577
16578 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16579 while let Some(tag) = is.read_raw_tag_or_eof()? {
16580 match tag {
16581 tag => {
16582 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16583 },
16584 };
16585 }
16586 ::std::result::Result::Ok(())
16587 }
16588
16589 #[allow(unused_variables)]
16591 fn compute_size(&self) -> u64 {
16592 let mut my_size = 0;
16593 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16594 self.special_fields.cached_size().set(my_size as u32);
16595 my_size
16596 }
16597
16598 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16599 os.write_unknown_fields(self.special_fields.unknown_fields())?;
16600 ::std::result::Result::Ok(())
16601 }
16602
16603 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16604 &self.special_fields
16605 }
16606
16607 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16608 &mut self.special_fields
16609 }
16610
16611 fn new() -> CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response {
16612 CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response::new()
16613 }
16614
16615 fn clear(&mut self) {
16616 self.special_fields.clear();
16617 }
16618
16619 fn default_instance() -> &'static CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response {
16620 static instance: CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response = CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response {
16621 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16622 };
16623 &instance
16624 }
16625}
16626
16627#[derive(PartialEq,Clone,Default,Debug)]
16629pub struct CPublishedFile_SetPlaytimeForControllerConfigs_Request {
16630 pub appid: ::std::option::Option<u32>,
16633 pub controller_config_usage: ::std::vec::Vec<cpublished_file_set_playtime_for_controller_configs_request::ControllerConfigUsage>,
16635 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16638}
16639
16640impl<'a> ::std::default::Default for &'a CPublishedFile_SetPlaytimeForControllerConfigs_Request {
16641 fn default() -> &'a CPublishedFile_SetPlaytimeForControllerConfigs_Request {
16642 <CPublishedFile_SetPlaytimeForControllerConfigs_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16643 }
16644}
16645
16646impl CPublishedFile_SetPlaytimeForControllerConfigs_Request {
16647 pub fn new() -> CPublishedFile_SetPlaytimeForControllerConfigs_Request {
16648 ::std::default::Default::default()
16649 }
16650
16651 pub fn appid(&self) -> u32 {
16654 self.appid.unwrap_or(0)
16655 }
16656
16657 pub fn clear_appid(&mut self) {
16658 self.appid = ::std::option::Option::None;
16659 }
16660
16661 pub fn has_appid(&self) -> bool {
16662 self.appid.is_some()
16663 }
16664
16665 pub fn set_appid(&mut self, v: u32) {
16667 self.appid = ::std::option::Option::Some(v);
16668 }
16669}
16670
16671impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_SetPlaytimeForControllerConfigs_Request {
16672 const NAME: &'static str = "CPublishedFile_SetPlaytimeForControllerConfigs_Request";
16673
16674 fn is_initialized(&self) -> bool {
16675 true
16676 }
16677
16678 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16679 while let Some(tag) = is.read_raw_tag_or_eof()? {
16680 match tag {
16681 8 => {
16682 self.appid = ::std::option::Option::Some(is.read_uint32()?);
16683 },
16684 18 => {
16685 self.controller_config_usage.push(is.read_message()?);
16686 },
16687 tag => {
16688 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16689 },
16690 };
16691 }
16692 ::std::result::Result::Ok(())
16693 }
16694
16695 #[allow(unused_variables)]
16697 fn compute_size(&self) -> u64 {
16698 let mut my_size = 0;
16699 if let Some(v) = self.appid {
16700 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
16701 }
16702 for value in &self.controller_config_usage {
16703 let len = value.compute_size();
16704 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
16705 };
16706 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16707 self.special_fields.cached_size().set(my_size as u32);
16708 my_size
16709 }
16710
16711 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16712 if let Some(v) = self.appid {
16713 os.write_uint32(1, v)?;
16714 }
16715 for v in &self.controller_config_usage {
16716 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
16717 };
16718 os.write_unknown_fields(self.special_fields.unknown_fields())?;
16719 ::std::result::Result::Ok(())
16720 }
16721
16722 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16723 &self.special_fields
16724 }
16725
16726 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16727 &mut self.special_fields
16728 }
16729
16730 fn new() -> CPublishedFile_SetPlaytimeForControllerConfigs_Request {
16731 CPublishedFile_SetPlaytimeForControllerConfigs_Request::new()
16732 }
16733
16734 fn clear(&mut self) {
16735 self.appid = ::std::option::Option::None;
16736 self.controller_config_usage.clear();
16737 self.special_fields.clear();
16738 }
16739
16740 fn default_instance() -> &'static CPublishedFile_SetPlaytimeForControllerConfigs_Request {
16741 static instance: CPublishedFile_SetPlaytimeForControllerConfigs_Request = CPublishedFile_SetPlaytimeForControllerConfigs_Request {
16742 appid: ::std::option::Option::None,
16743 controller_config_usage: ::std::vec::Vec::new(),
16744 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16745 };
16746 &instance
16747 }
16748}
16749
16750pub mod cpublished_file_set_playtime_for_controller_configs_request {
16752 #[derive(PartialEq,Clone,Default,Debug)]
16754 pub struct ControllerConfigUsage {
16755 pub publishedfileid: ::std::option::Option<u64>,
16758 pub seconds_active: ::std::option::Option<f32>,
16760 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16763 }
16764
16765 impl<'a> ::std::default::Default for &'a ControllerConfigUsage {
16766 fn default() -> &'a ControllerConfigUsage {
16767 <ControllerConfigUsage as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16768 }
16769 }
16770
16771 impl ControllerConfigUsage {
16772 pub fn new() -> ControllerConfigUsage {
16773 ::std::default::Default::default()
16774 }
16775
16776 pub fn publishedfileid(&self) -> u64 {
16779 self.publishedfileid.unwrap_or(0)
16780 }
16781
16782 pub fn clear_publishedfileid(&mut self) {
16783 self.publishedfileid = ::std::option::Option::None;
16784 }
16785
16786 pub fn has_publishedfileid(&self) -> bool {
16787 self.publishedfileid.is_some()
16788 }
16789
16790 pub fn set_publishedfileid(&mut self, v: u64) {
16792 self.publishedfileid = ::std::option::Option::Some(v);
16793 }
16794
16795 pub fn seconds_active(&self) -> f32 {
16798 self.seconds_active.unwrap_or(0.)
16799 }
16800
16801 pub fn clear_seconds_active(&mut self) {
16802 self.seconds_active = ::std::option::Option::None;
16803 }
16804
16805 pub fn has_seconds_active(&self) -> bool {
16806 self.seconds_active.is_some()
16807 }
16808
16809 pub fn set_seconds_active(&mut self, v: f32) {
16811 self.seconds_active = ::std::option::Option::Some(v);
16812 }
16813 }
16814
16815 impl ::steam_vent_proto_common::protobuf::Message for ControllerConfigUsage {
16816 const NAME: &'static str = "ControllerConfigUsage";
16817
16818 fn is_initialized(&self) -> bool {
16819 true
16820 }
16821
16822 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16823 while let Some(tag) = is.read_raw_tag_or_eof()? {
16824 match tag {
16825 8 => {
16826 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
16827 },
16828 21 => {
16829 self.seconds_active = ::std::option::Option::Some(is.read_float()?);
16830 },
16831 tag => {
16832 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16833 },
16834 };
16835 }
16836 ::std::result::Result::Ok(())
16837 }
16838
16839 #[allow(unused_variables)]
16841 fn compute_size(&self) -> u64 {
16842 let mut my_size = 0;
16843 if let Some(v) = self.publishedfileid {
16844 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
16845 }
16846 if let Some(v) = self.seconds_active {
16847 my_size += 1 + 4;
16848 }
16849 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16850 self.special_fields.cached_size().set(my_size as u32);
16851 my_size
16852 }
16853
16854 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16855 if let Some(v) = self.publishedfileid {
16856 os.write_uint64(1, v)?;
16857 }
16858 if let Some(v) = self.seconds_active {
16859 os.write_float(2, v)?;
16860 }
16861 os.write_unknown_fields(self.special_fields.unknown_fields())?;
16862 ::std::result::Result::Ok(())
16863 }
16864
16865 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16866 &self.special_fields
16867 }
16868
16869 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16870 &mut self.special_fields
16871 }
16872
16873 fn new() -> ControllerConfigUsage {
16874 ControllerConfigUsage::new()
16875 }
16876
16877 fn clear(&mut self) {
16878 self.publishedfileid = ::std::option::Option::None;
16879 self.seconds_active = ::std::option::Option::None;
16880 self.special_fields.clear();
16881 }
16882
16883 fn default_instance() -> &'static ControllerConfigUsage {
16884 static instance: ControllerConfigUsage = ControllerConfigUsage {
16885 publishedfileid: ::std::option::Option::None,
16886 seconds_active: ::std::option::Option::None,
16887 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16888 };
16889 &instance
16890 }
16891 }
16892}
16893
16894#[derive(PartialEq,Clone,Default,Debug)]
16896pub struct CPublishedFile_SetPlaytimeForControllerConfigs_Response {
16897 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16900}
16901
16902impl<'a> ::std::default::Default for &'a CPublishedFile_SetPlaytimeForControllerConfigs_Response {
16903 fn default() -> &'a CPublishedFile_SetPlaytimeForControllerConfigs_Response {
16904 <CPublishedFile_SetPlaytimeForControllerConfigs_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16905 }
16906}
16907
16908impl CPublishedFile_SetPlaytimeForControllerConfigs_Response {
16909 pub fn new() -> CPublishedFile_SetPlaytimeForControllerConfigs_Response {
16910 ::std::default::Default::default()
16911 }
16912}
16913
16914impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_SetPlaytimeForControllerConfigs_Response {
16915 const NAME: &'static str = "CPublishedFile_SetPlaytimeForControllerConfigs_Response";
16916
16917 fn is_initialized(&self) -> bool {
16918 true
16919 }
16920
16921 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16922 while let Some(tag) = is.read_raw_tag_or_eof()? {
16923 match tag {
16924 tag => {
16925 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
16926 },
16927 };
16928 }
16929 ::std::result::Result::Ok(())
16930 }
16931
16932 #[allow(unused_variables)]
16934 fn compute_size(&self) -> u64 {
16935 let mut my_size = 0;
16936 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
16937 self.special_fields.cached_size().set(my_size as u32);
16938 my_size
16939 }
16940
16941 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
16942 os.write_unknown_fields(self.special_fields.unknown_fields())?;
16943 ::std::result::Result::Ok(())
16944 }
16945
16946 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
16947 &self.special_fields
16948 }
16949
16950 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
16951 &mut self.special_fields
16952 }
16953
16954 fn new() -> CPublishedFile_SetPlaytimeForControllerConfigs_Response {
16955 CPublishedFile_SetPlaytimeForControllerConfigs_Response::new()
16956 }
16957
16958 fn clear(&mut self) {
16959 self.special_fields.clear();
16960 }
16961
16962 fn default_instance() -> &'static CPublishedFile_SetPlaytimeForControllerConfigs_Response {
16963 static instance: CPublishedFile_SetPlaytimeForControllerConfigs_Response = CPublishedFile_SetPlaytimeForControllerConfigs_Response {
16964 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
16965 };
16966 &instance
16967 }
16968}
16969
16970#[derive(PartialEq,Clone,Default,Debug)]
16972pub struct CPublishedFile_AddChild_Request {
16973 pub publishedfileid: ::std::option::Option<u64>,
16976 pub child_publishedfileid: ::std::option::Option<u64>,
16978 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
16981}
16982
16983impl<'a> ::std::default::Default for &'a CPublishedFile_AddChild_Request {
16984 fn default() -> &'a CPublishedFile_AddChild_Request {
16985 <CPublishedFile_AddChild_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
16986 }
16987}
16988
16989impl CPublishedFile_AddChild_Request {
16990 pub fn new() -> CPublishedFile_AddChild_Request {
16991 ::std::default::Default::default()
16992 }
16993
16994 pub fn publishedfileid(&self) -> u64 {
16997 self.publishedfileid.unwrap_or(0)
16998 }
16999
17000 pub fn clear_publishedfileid(&mut self) {
17001 self.publishedfileid = ::std::option::Option::None;
17002 }
17003
17004 pub fn has_publishedfileid(&self) -> bool {
17005 self.publishedfileid.is_some()
17006 }
17007
17008 pub fn set_publishedfileid(&mut self, v: u64) {
17010 self.publishedfileid = ::std::option::Option::Some(v);
17011 }
17012
17013 pub fn child_publishedfileid(&self) -> u64 {
17016 self.child_publishedfileid.unwrap_or(0)
17017 }
17018
17019 pub fn clear_child_publishedfileid(&mut self) {
17020 self.child_publishedfileid = ::std::option::Option::None;
17021 }
17022
17023 pub fn has_child_publishedfileid(&self) -> bool {
17024 self.child_publishedfileid.is_some()
17025 }
17026
17027 pub fn set_child_publishedfileid(&mut self, v: u64) {
17029 self.child_publishedfileid = ::std::option::Option::Some(v);
17030 }
17031}
17032
17033impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_AddChild_Request {
17034 const NAME: &'static str = "CPublishedFile_AddChild_Request";
17035
17036 fn is_initialized(&self) -> bool {
17037 true
17038 }
17039
17040 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17041 while let Some(tag) = is.read_raw_tag_or_eof()? {
17042 match tag {
17043 8 => {
17044 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
17045 },
17046 16 => {
17047 self.child_publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
17048 },
17049 tag => {
17050 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17051 },
17052 };
17053 }
17054 ::std::result::Result::Ok(())
17055 }
17056
17057 #[allow(unused_variables)]
17059 fn compute_size(&self) -> u64 {
17060 let mut my_size = 0;
17061 if let Some(v) = self.publishedfileid {
17062 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
17063 }
17064 if let Some(v) = self.child_publishedfileid {
17065 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
17066 }
17067 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17068 self.special_fields.cached_size().set(my_size as u32);
17069 my_size
17070 }
17071
17072 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17073 if let Some(v) = self.publishedfileid {
17074 os.write_uint64(1, v)?;
17075 }
17076 if let Some(v) = self.child_publishedfileid {
17077 os.write_uint64(2, v)?;
17078 }
17079 os.write_unknown_fields(self.special_fields.unknown_fields())?;
17080 ::std::result::Result::Ok(())
17081 }
17082
17083 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17084 &self.special_fields
17085 }
17086
17087 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17088 &mut self.special_fields
17089 }
17090
17091 fn new() -> CPublishedFile_AddChild_Request {
17092 CPublishedFile_AddChild_Request::new()
17093 }
17094
17095 fn clear(&mut self) {
17096 self.publishedfileid = ::std::option::Option::None;
17097 self.child_publishedfileid = ::std::option::Option::None;
17098 self.special_fields.clear();
17099 }
17100
17101 fn default_instance() -> &'static CPublishedFile_AddChild_Request {
17102 static instance: CPublishedFile_AddChild_Request = CPublishedFile_AddChild_Request {
17103 publishedfileid: ::std::option::Option::None,
17104 child_publishedfileid: ::std::option::Option::None,
17105 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
17106 };
17107 &instance
17108 }
17109}
17110
17111#[derive(PartialEq,Clone,Default,Debug)]
17113pub struct CPublishedFile_AddChild_Response {
17114 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
17117}
17118
17119impl<'a> ::std::default::Default for &'a CPublishedFile_AddChild_Response {
17120 fn default() -> &'a CPublishedFile_AddChild_Response {
17121 <CPublishedFile_AddChild_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
17122 }
17123}
17124
17125impl CPublishedFile_AddChild_Response {
17126 pub fn new() -> CPublishedFile_AddChild_Response {
17127 ::std::default::Default::default()
17128 }
17129}
17130
17131impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_AddChild_Response {
17132 const NAME: &'static str = "CPublishedFile_AddChild_Response";
17133
17134 fn is_initialized(&self) -> bool {
17135 true
17136 }
17137
17138 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17139 while let Some(tag) = is.read_raw_tag_or_eof()? {
17140 match tag {
17141 tag => {
17142 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17143 },
17144 };
17145 }
17146 ::std::result::Result::Ok(())
17147 }
17148
17149 #[allow(unused_variables)]
17151 fn compute_size(&self) -> u64 {
17152 let mut my_size = 0;
17153 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17154 self.special_fields.cached_size().set(my_size as u32);
17155 my_size
17156 }
17157
17158 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17159 os.write_unknown_fields(self.special_fields.unknown_fields())?;
17160 ::std::result::Result::Ok(())
17161 }
17162
17163 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17164 &self.special_fields
17165 }
17166
17167 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17168 &mut self.special_fields
17169 }
17170
17171 fn new() -> CPublishedFile_AddChild_Response {
17172 CPublishedFile_AddChild_Response::new()
17173 }
17174
17175 fn clear(&mut self) {
17176 self.special_fields.clear();
17177 }
17178
17179 fn default_instance() -> &'static CPublishedFile_AddChild_Response {
17180 static instance: CPublishedFile_AddChild_Response = CPublishedFile_AddChild_Response {
17181 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
17182 };
17183 &instance
17184 }
17185}
17186
17187#[derive(PartialEq,Clone,Default,Debug)]
17189pub struct CPublishedFile_RemoveChild_Request {
17190 pub publishedfileid: ::std::option::Option<u64>,
17193 pub child_publishedfileid: ::std::option::Option<u64>,
17195 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
17198}
17199
17200impl<'a> ::std::default::Default for &'a CPublishedFile_RemoveChild_Request {
17201 fn default() -> &'a CPublishedFile_RemoveChild_Request {
17202 <CPublishedFile_RemoveChild_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
17203 }
17204}
17205
17206impl CPublishedFile_RemoveChild_Request {
17207 pub fn new() -> CPublishedFile_RemoveChild_Request {
17208 ::std::default::Default::default()
17209 }
17210
17211 pub fn publishedfileid(&self) -> u64 {
17214 self.publishedfileid.unwrap_or(0)
17215 }
17216
17217 pub fn clear_publishedfileid(&mut self) {
17218 self.publishedfileid = ::std::option::Option::None;
17219 }
17220
17221 pub fn has_publishedfileid(&self) -> bool {
17222 self.publishedfileid.is_some()
17223 }
17224
17225 pub fn set_publishedfileid(&mut self, v: u64) {
17227 self.publishedfileid = ::std::option::Option::Some(v);
17228 }
17229
17230 pub fn child_publishedfileid(&self) -> u64 {
17233 self.child_publishedfileid.unwrap_or(0)
17234 }
17235
17236 pub fn clear_child_publishedfileid(&mut self) {
17237 self.child_publishedfileid = ::std::option::Option::None;
17238 }
17239
17240 pub fn has_child_publishedfileid(&self) -> bool {
17241 self.child_publishedfileid.is_some()
17242 }
17243
17244 pub fn set_child_publishedfileid(&mut self, v: u64) {
17246 self.child_publishedfileid = ::std::option::Option::Some(v);
17247 }
17248}
17249
17250impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_RemoveChild_Request {
17251 const NAME: &'static str = "CPublishedFile_RemoveChild_Request";
17252
17253 fn is_initialized(&self) -> bool {
17254 true
17255 }
17256
17257 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17258 while let Some(tag) = is.read_raw_tag_or_eof()? {
17259 match tag {
17260 8 => {
17261 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
17262 },
17263 16 => {
17264 self.child_publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
17265 },
17266 tag => {
17267 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17268 },
17269 };
17270 }
17271 ::std::result::Result::Ok(())
17272 }
17273
17274 #[allow(unused_variables)]
17276 fn compute_size(&self) -> u64 {
17277 let mut my_size = 0;
17278 if let Some(v) = self.publishedfileid {
17279 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
17280 }
17281 if let Some(v) = self.child_publishedfileid {
17282 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
17283 }
17284 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17285 self.special_fields.cached_size().set(my_size as u32);
17286 my_size
17287 }
17288
17289 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17290 if let Some(v) = self.publishedfileid {
17291 os.write_uint64(1, v)?;
17292 }
17293 if let Some(v) = self.child_publishedfileid {
17294 os.write_uint64(2, v)?;
17295 }
17296 os.write_unknown_fields(self.special_fields.unknown_fields())?;
17297 ::std::result::Result::Ok(())
17298 }
17299
17300 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17301 &self.special_fields
17302 }
17303
17304 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17305 &mut self.special_fields
17306 }
17307
17308 fn new() -> CPublishedFile_RemoveChild_Request {
17309 CPublishedFile_RemoveChild_Request::new()
17310 }
17311
17312 fn clear(&mut self) {
17313 self.publishedfileid = ::std::option::Option::None;
17314 self.child_publishedfileid = ::std::option::Option::None;
17315 self.special_fields.clear();
17316 }
17317
17318 fn default_instance() -> &'static CPublishedFile_RemoveChild_Request {
17319 static instance: CPublishedFile_RemoveChild_Request = CPublishedFile_RemoveChild_Request {
17320 publishedfileid: ::std::option::Option::None,
17321 child_publishedfileid: ::std::option::Option::None,
17322 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
17323 };
17324 &instance
17325 }
17326}
17327
17328#[derive(PartialEq,Clone,Default,Debug)]
17330pub struct CPublishedFile_RemoveChild_Response {
17331 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
17334}
17335
17336impl<'a> ::std::default::Default for &'a CPublishedFile_RemoveChild_Response {
17337 fn default() -> &'a CPublishedFile_RemoveChild_Response {
17338 <CPublishedFile_RemoveChild_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
17339 }
17340}
17341
17342impl CPublishedFile_RemoveChild_Response {
17343 pub fn new() -> CPublishedFile_RemoveChild_Response {
17344 ::std::default::Default::default()
17345 }
17346}
17347
17348impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_RemoveChild_Response {
17349 const NAME: &'static str = "CPublishedFile_RemoveChild_Response";
17350
17351 fn is_initialized(&self) -> bool {
17352 true
17353 }
17354
17355 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17356 while let Some(tag) = is.read_raw_tag_or_eof()? {
17357 match tag {
17358 tag => {
17359 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17360 },
17361 };
17362 }
17363 ::std::result::Result::Ok(())
17364 }
17365
17366 #[allow(unused_variables)]
17368 fn compute_size(&self) -> u64 {
17369 let mut my_size = 0;
17370 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17371 self.special_fields.cached_size().set(my_size as u32);
17372 my_size
17373 }
17374
17375 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17376 os.write_unknown_fields(self.special_fields.unknown_fields())?;
17377 ::std::result::Result::Ok(())
17378 }
17379
17380 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17381 &self.special_fields
17382 }
17383
17384 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17385 &mut self.special_fields
17386 }
17387
17388 fn new() -> CPublishedFile_RemoveChild_Response {
17389 CPublishedFile_RemoveChild_Response::new()
17390 }
17391
17392 fn clear(&mut self) {
17393 self.special_fields.clear();
17394 }
17395
17396 fn default_instance() -> &'static CPublishedFile_RemoveChild_Response {
17397 static instance: CPublishedFile_RemoveChild_Response = CPublishedFile_RemoveChild_Response {
17398 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
17399 };
17400 &instance
17401 }
17402}
17403
17404#[derive(PartialEq,Clone,Default,Debug)]
17406pub struct CPublishedFile_SetCollectionChildren_Request {
17407 pub appid: ::std::option::Option<u32>,
17410 pub publishedfileid: ::std::option::Option<u64>,
17412 pub children: ::std::vec::Vec<u64>,
17414 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
17417}
17418
17419impl<'a> ::std::default::Default for &'a CPublishedFile_SetCollectionChildren_Request {
17420 fn default() -> &'a CPublishedFile_SetCollectionChildren_Request {
17421 <CPublishedFile_SetCollectionChildren_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
17422 }
17423}
17424
17425impl CPublishedFile_SetCollectionChildren_Request {
17426 pub fn new() -> CPublishedFile_SetCollectionChildren_Request {
17427 ::std::default::Default::default()
17428 }
17429
17430 pub fn appid(&self) -> u32 {
17433 self.appid.unwrap_or(0)
17434 }
17435
17436 pub fn clear_appid(&mut self) {
17437 self.appid = ::std::option::Option::None;
17438 }
17439
17440 pub fn has_appid(&self) -> bool {
17441 self.appid.is_some()
17442 }
17443
17444 pub fn set_appid(&mut self, v: u32) {
17446 self.appid = ::std::option::Option::Some(v);
17447 }
17448
17449 pub fn publishedfileid(&self) -> u64 {
17452 self.publishedfileid.unwrap_or(0)
17453 }
17454
17455 pub fn clear_publishedfileid(&mut self) {
17456 self.publishedfileid = ::std::option::Option::None;
17457 }
17458
17459 pub fn has_publishedfileid(&self) -> bool {
17460 self.publishedfileid.is_some()
17461 }
17462
17463 pub fn set_publishedfileid(&mut self, v: u64) {
17465 self.publishedfileid = ::std::option::Option::Some(v);
17466 }
17467}
17468
17469impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_SetCollectionChildren_Request {
17470 const NAME: &'static str = "CPublishedFile_SetCollectionChildren_Request";
17471
17472 fn is_initialized(&self) -> bool {
17473 true
17474 }
17475
17476 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17477 while let Some(tag) = is.read_raw_tag_or_eof()? {
17478 match tag {
17479 8 => {
17480 self.appid = ::std::option::Option::Some(is.read_uint32()?);
17481 },
17482 16 => {
17483 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
17484 },
17485 26 => {
17486 is.read_repeated_packed_uint64_into(&mut self.children)?;
17487 },
17488 24 => {
17489 self.children.push(is.read_uint64()?);
17490 },
17491 tag => {
17492 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17493 },
17494 };
17495 }
17496 ::std::result::Result::Ok(())
17497 }
17498
17499 #[allow(unused_variables)]
17501 fn compute_size(&self) -> u64 {
17502 let mut my_size = 0;
17503 if let Some(v) = self.appid {
17504 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
17505 }
17506 if let Some(v) = self.publishedfileid {
17507 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
17508 }
17509 for value in &self.children {
17510 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, *value);
17511 };
17512 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17513 self.special_fields.cached_size().set(my_size as u32);
17514 my_size
17515 }
17516
17517 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17518 if let Some(v) = self.appid {
17519 os.write_uint32(1, v)?;
17520 }
17521 if let Some(v) = self.publishedfileid {
17522 os.write_uint64(2, v)?;
17523 }
17524 for v in &self.children {
17525 os.write_uint64(3, *v)?;
17526 };
17527 os.write_unknown_fields(self.special_fields.unknown_fields())?;
17528 ::std::result::Result::Ok(())
17529 }
17530
17531 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17532 &self.special_fields
17533 }
17534
17535 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17536 &mut self.special_fields
17537 }
17538
17539 fn new() -> CPublishedFile_SetCollectionChildren_Request {
17540 CPublishedFile_SetCollectionChildren_Request::new()
17541 }
17542
17543 fn clear(&mut self) {
17544 self.appid = ::std::option::Option::None;
17545 self.publishedfileid = ::std::option::Option::None;
17546 self.children.clear();
17547 self.special_fields.clear();
17548 }
17549
17550 fn default_instance() -> &'static CPublishedFile_SetCollectionChildren_Request {
17551 static instance: CPublishedFile_SetCollectionChildren_Request = CPublishedFile_SetCollectionChildren_Request {
17552 appid: ::std::option::Option::None,
17553 publishedfileid: ::std::option::Option::None,
17554 children: ::std::vec::Vec::new(),
17555 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
17556 };
17557 &instance
17558 }
17559}
17560
17561#[derive(PartialEq,Clone,Default,Debug)]
17563pub struct CPublishedFile_SetCollectionChildren_Response {
17564 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
17567}
17568
17569impl<'a> ::std::default::Default for &'a CPublishedFile_SetCollectionChildren_Response {
17570 fn default() -> &'a CPublishedFile_SetCollectionChildren_Response {
17571 <CPublishedFile_SetCollectionChildren_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
17572 }
17573}
17574
17575impl CPublishedFile_SetCollectionChildren_Response {
17576 pub fn new() -> CPublishedFile_SetCollectionChildren_Response {
17577 ::std::default::Default::default()
17578 }
17579}
17580
17581impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_SetCollectionChildren_Response {
17582 const NAME: &'static str = "CPublishedFile_SetCollectionChildren_Response";
17583
17584 fn is_initialized(&self) -> bool {
17585 true
17586 }
17587
17588 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17589 while let Some(tag) = is.read_raw_tag_or_eof()? {
17590 match tag {
17591 tag => {
17592 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17593 },
17594 };
17595 }
17596 ::std::result::Result::Ok(())
17597 }
17598
17599 #[allow(unused_variables)]
17601 fn compute_size(&self) -> u64 {
17602 let mut my_size = 0;
17603 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17604 self.special_fields.cached_size().set(my_size as u32);
17605 my_size
17606 }
17607
17608 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17609 os.write_unknown_fields(self.special_fields.unknown_fields())?;
17610 ::std::result::Result::Ok(())
17611 }
17612
17613 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17614 &self.special_fields
17615 }
17616
17617 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17618 &mut self.special_fields
17619 }
17620
17621 fn new() -> CPublishedFile_SetCollectionChildren_Response {
17622 CPublishedFile_SetCollectionChildren_Response::new()
17623 }
17624
17625 fn clear(&mut self) {
17626 self.special_fields.clear();
17627 }
17628
17629 fn default_instance() -> &'static CPublishedFile_SetCollectionChildren_Response {
17630 static instance: CPublishedFile_SetCollectionChildren_Response = CPublishedFile_SetCollectionChildren_Response {
17631 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
17632 };
17633 &instance
17634 }
17635}
17636
17637#[derive(PartialEq,Clone,Default,Debug)]
17639pub struct CPublishedFile_SetSubscriptionListFromCollection_Request {
17640 pub appid: ::std::option::Option<u32>,
17643 pub list_type: ::std::option::Option<u32>,
17645 pub publishedfileid: ::std::option::Option<u64>,
17647 pub add_only: ::std::option::Option<bool>,
17649 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
17652}
17653
17654impl<'a> ::std::default::Default for &'a CPublishedFile_SetSubscriptionListFromCollection_Request {
17655 fn default() -> &'a CPublishedFile_SetSubscriptionListFromCollection_Request {
17656 <CPublishedFile_SetSubscriptionListFromCollection_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
17657 }
17658}
17659
17660impl CPublishedFile_SetSubscriptionListFromCollection_Request {
17661 pub fn new() -> CPublishedFile_SetSubscriptionListFromCollection_Request {
17662 ::std::default::Default::default()
17663 }
17664
17665 pub fn appid(&self) -> u32 {
17668 self.appid.unwrap_or(0)
17669 }
17670
17671 pub fn clear_appid(&mut self) {
17672 self.appid = ::std::option::Option::None;
17673 }
17674
17675 pub fn has_appid(&self) -> bool {
17676 self.appid.is_some()
17677 }
17678
17679 pub fn set_appid(&mut self, v: u32) {
17681 self.appid = ::std::option::Option::Some(v);
17682 }
17683
17684 pub fn list_type(&self) -> u32 {
17687 self.list_type.unwrap_or(0)
17688 }
17689
17690 pub fn clear_list_type(&mut self) {
17691 self.list_type = ::std::option::Option::None;
17692 }
17693
17694 pub fn has_list_type(&self) -> bool {
17695 self.list_type.is_some()
17696 }
17697
17698 pub fn set_list_type(&mut self, v: u32) {
17700 self.list_type = ::std::option::Option::Some(v);
17701 }
17702
17703 pub fn publishedfileid(&self) -> u64 {
17706 self.publishedfileid.unwrap_or(0)
17707 }
17708
17709 pub fn clear_publishedfileid(&mut self) {
17710 self.publishedfileid = ::std::option::Option::None;
17711 }
17712
17713 pub fn has_publishedfileid(&self) -> bool {
17714 self.publishedfileid.is_some()
17715 }
17716
17717 pub fn set_publishedfileid(&mut self, v: u64) {
17719 self.publishedfileid = ::std::option::Option::Some(v);
17720 }
17721
17722 pub fn add_only(&self) -> bool {
17725 self.add_only.unwrap_or(false)
17726 }
17727
17728 pub fn clear_add_only(&mut self) {
17729 self.add_only = ::std::option::Option::None;
17730 }
17731
17732 pub fn has_add_only(&self) -> bool {
17733 self.add_only.is_some()
17734 }
17735
17736 pub fn set_add_only(&mut self, v: bool) {
17738 self.add_only = ::std::option::Option::Some(v);
17739 }
17740}
17741
17742impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_SetSubscriptionListFromCollection_Request {
17743 const NAME: &'static str = "CPublishedFile_SetSubscriptionListFromCollection_Request";
17744
17745 fn is_initialized(&self) -> bool {
17746 true
17747 }
17748
17749 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17750 while let Some(tag) = is.read_raw_tag_or_eof()? {
17751 match tag {
17752 8 => {
17753 self.appid = ::std::option::Option::Some(is.read_uint32()?);
17754 },
17755 16 => {
17756 self.list_type = ::std::option::Option::Some(is.read_uint32()?);
17757 },
17758 24 => {
17759 self.publishedfileid = ::std::option::Option::Some(is.read_uint64()?);
17760 },
17761 32 => {
17762 self.add_only = ::std::option::Option::Some(is.read_bool()?);
17763 },
17764 tag => {
17765 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17766 },
17767 };
17768 }
17769 ::std::result::Result::Ok(())
17770 }
17771
17772 #[allow(unused_variables)]
17774 fn compute_size(&self) -> u64 {
17775 let mut my_size = 0;
17776 if let Some(v) = self.appid {
17777 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
17778 }
17779 if let Some(v) = self.list_type {
17780 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
17781 }
17782 if let Some(v) = self.publishedfileid {
17783 my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
17784 }
17785 if let Some(v) = self.add_only {
17786 my_size += 1 + 1;
17787 }
17788 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17789 self.special_fields.cached_size().set(my_size as u32);
17790 my_size
17791 }
17792
17793 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17794 if let Some(v) = self.appid {
17795 os.write_uint32(1, v)?;
17796 }
17797 if let Some(v) = self.list_type {
17798 os.write_uint32(2, v)?;
17799 }
17800 if let Some(v) = self.publishedfileid {
17801 os.write_uint64(3, v)?;
17802 }
17803 if let Some(v) = self.add_only {
17804 os.write_bool(4, v)?;
17805 }
17806 os.write_unknown_fields(self.special_fields.unknown_fields())?;
17807 ::std::result::Result::Ok(())
17808 }
17809
17810 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17811 &self.special_fields
17812 }
17813
17814 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17815 &mut self.special_fields
17816 }
17817
17818 fn new() -> CPublishedFile_SetSubscriptionListFromCollection_Request {
17819 CPublishedFile_SetSubscriptionListFromCollection_Request::new()
17820 }
17821
17822 fn clear(&mut self) {
17823 self.appid = ::std::option::Option::None;
17824 self.list_type = ::std::option::Option::None;
17825 self.publishedfileid = ::std::option::Option::None;
17826 self.add_only = ::std::option::Option::None;
17827 self.special_fields.clear();
17828 }
17829
17830 fn default_instance() -> &'static CPublishedFile_SetSubscriptionListFromCollection_Request {
17831 static instance: CPublishedFile_SetSubscriptionListFromCollection_Request = CPublishedFile_SetSubscriptionListFromCollection_Request {
17832 appid: ::std::option::Option::None,
17833 list_type: ::std::option::Option::None,
17834 publishedfileid: ::std::option::Option::None,
17835 add_only: ::std::option::Option::None,
17836 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
17837 };
17838 &instance
17839 }
17840}
17841
17842#[derive(PartialEq,Clone,Default,Debug)]
17844pub struct CPublishedFile_SetSubscriptionListFromCollection_Response {
17845 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
17848}
17849
17850impl<'a> ::std::default::Default for &'a CPublishedFile_SetSubscriptionListFromCollection_Response {
17851 fn default() -> &'a CPublishedFile_SetSubscriptionListFromCollection_Response {
17852 <CPublishedFile_SetSubscriptionListFromCollection_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
17853 }
17854}
17855
17856impl CPublishedFile_SetSubscriptionListFromCollection_Response {
17857 pub fn new() -> CPublishedFile_SetSubscriptionListFromCollection_Response {
17858 ::std::default::Default::default()
17859 }
17860}
17861
17862impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_SetSubscriptionListFromCollection_Response {
17863 const NAME: &'static str = "CPublishedFile_SetSubscriptionListFromCollection_Response";
17864
17865 fn is_initialized(&self) -> bool {
17866 true
17867 }
17868
17869 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17870 while let Some(tag) = is.read_raw_tag_or_eof()? {
17871 match tag {
17872 tag => {
17873 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17874 },
17875 };
17876 }
17877 ::std::result::Result::Ok(())
17878 }
17879
17880 #[allow(unused_variables)]
17882 fn compute_size(&self) -> u64 {
17883 let mut my_size = 0;
17884 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17885 self.special_fields.cached_size().set(my_size as u32);
17886 my_size
17887 }
17888
17889 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17890 os.write_unknown_fields(self.special_fields.unknown_fields())?;
17891 ::std::result::Result::Ok(())
17892 }
17893
17894 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17895 &self.special_fields
17896 }
17897
17898 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17899 &mut self.special_fields
17900 }
17901
17902 fn new() -> CPublishedFile_SetSubscriptionListFromCollection_Response {
17903 CPublishedFile_SetSubscriptionListFromCollection_Response::new()
17904 }
17905
17906 fn clear(&mut self) {
17907 self.special_fields.clear();
17908 }
17909
17910 fn default_instance() -> &'static CPublishedFile_SetSubscriptionListFromCollection_Response {
17911 static instance: CPublishedFile_SetSubscriptionListFromCollection_Response = CPublishedFile_SetSubscriptionListFromCollection_Response {
17912 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
17913 };
17914 &instance
17915 }
17916}
17917
17918#[derive(PartialEq,Clone,Default,Debug)]
17920pub struct CPublishedFile_GetUserVoteSummary_Request {
17921 pub publishedfileids: ::std::vec::Vec<u64>,
17924 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
17927}
17928
17929impl<'a> ::std::default::Default for &'a CPublishedFile_GetUserVoteSummary_Request {
17930 fn default() -> &'a CPublishedFile_GetUserVoteSummary_Request {
17931 <CPublishedFile_GetUserVoteSummary_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
17932 }
17933}
17934
17935impl CPublishedFile_GetUserVoteSummary_Request {
17936 pub fn new() -> CPublishedFile_GetUserVoteSummary_Request {
17937 ::std::default::Default::default()
17938 }
17939}
17940
17941impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetUserVoteSummary_Request {
17942 const NAME: &'static str = "CPublishedFile_GetUserVoteSummary_Request";
17943
17944 fn is_initialized(&self) -> bool {
17945 true
17946 }
17947
17948 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17949 while let Some(tag) = is.read_raw_tag_or_eof()? {
17950 match tag {
17951 10 => {
17952 is.read_repeated_packed_fixed64_into(&mut self.publishedfileids)?;
17953 },
17954 9 => {
17955 self.publishedfileids.push(is.read_fixed64()?);
17956 },
17957 tag => {
17958 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
17959 },
17960 };
17961 }
17962 ::std::result::Result::Ok(())
17963 }
17964
17965 #[allow(unused_variables)]
17967 fn compute_size(&self) -> u64 {
17968 let mut my_size = 0;
17969 my_size += 9 * self.publishedfileids.len() as u64;
17970 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
17971 self.special_fields.cached_size().set(my_size as u32);
17972 my_size
17973 }
17974
17975 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
17976 for v in &self.publishedfileids {
17977 os.write_fixed64(1, *v)?;
17978 };
17979 os.write_unknown_fields(self.special_fields.unknown_fields())?;
17980 ::std::result::Result::Ok(())
17981 }
17982
17983 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
17984 &self.special_fields
17985 }
17986
17987 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
17988 &mut self.special_fields
17989 }
17990
17991 fn new() -> CPublishedFile_GetUserVoteSummary_Request {
17992 CPublishedFile_GetUserVoteSummary_Request::new()
17993 }
17994
17995 fn clear(&mut self) {
17996 self.publishedfileids.clear();
17997 self.special_fields.clear();
17998 }
17999
18000 fn default_instance() -> &'static CPublishedFile_GetUserVoteSummary_Request {
18001 static instance: CPublishedFile_GetUserVoteSummary_Request = CPublishedFile_GetUserVoteSummary_Request {
18002 publishedfileids: ::std::vec::Vec::new(),
18003 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
18004 };
18005 &instance
18006 }
18007}
18008
18009#[derive(PartialEq,Clone,Default,Debug)]
18011pub struct CPublishedFile_GetUserVoteSummary_Response {
18012 pub summaries: ::std::vec::Vec<cpublished_file_get_user_vote_summary_response::VoteSummary>,
18015 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
18018}
18019
18020impl<'a> ::std::default::Default for &'a CPublishedFile_GetUserVoteSummary_Response {
18021 fn default() -> &'a CPublishedFile_GetUserVoteSummary_Response {
18022 <CPublishedFile_GetUserVoteSummary_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
18023 }
18024}
18025
18026impl CPublishedFile_GetUserVoteSummary_Response {
18027 pub fn new() -> CPublishedFile_GetUserVoteSummary_Response {
18028 ::std::default::Default::default()
18029 }
18030}
18031
18032impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetUserVoteSummary_Response {
18033 const NAME: &'static str = "CPublishedFile_GetUserVoteSummary_Response";
18034
18035 fn is_initialized(&self) -> bool {
18036 true
18037 }
18038
18039 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18040 while let Some(tag) = is.read_raw_tag_or_eof()? {
18041 match tag {
18042 10 => {
18043 self.summaries.push(is.read_message()?);
18044 },
18045 tag => {
18046 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
18047 },
18048 };
18049 }
18050 ::std::result::Result::Ok(())
18051 }
18052
18053 #[allow(unused_variables)]
18055 fn compute_size(&self) -> u64 {
18056 let mut my_size = 0;
18057 for value in &self.summaries {
18058 let len = value.compute_size();
18059 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
18060 };
18061 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
18062 self.special_fields.cached_size().set(my_size as u32);
18063 my_size
18064 }
18065
18066 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18067 for v in &self.summaries {
18068 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
18069 };
18070 os.write_unknown_fields(self.special_fields.unknown_fields())?;
18071 ::std::result::Result::Ok(())
18072 }
18073
18074 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
18075 &self.special_fields
18076 }
18077
18078 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
18079 &mut self.special_fields
18080 }
18081
18082 fn new() -> CPublishedFile_GetUserVoteSummary_Response {
18083 CPublishedFile_GetUserVoteSummary_Response::new()
18084 }
18085
18086 fn clear(&mut self) {
18087 self.summaries.clear();
18088 self.special_fields.clear();
18089 }
18090
18091 fn default_instance() -> &'static CPublishedFile_GetUserVoteSummary_Response {
18092 static instance: CPublishedFile_GetUserVoteSummary_Response = CPublishedFile_GetUserVoteSummary_Response {
18093 summaries: ::std::vec::Vec::new(),
18094 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
18095 };
18096 &instance
18097 }
18098}
18099
18100pub mod cpublished_file_get_user_vote_summary_response {
18102 #[derive(PartialEq,Clone,Default,Debug)]
18104 pub struct VoteSummary {
18105 pub publishedfileid: ::std::option::Option<u64>,
18108 pub vote_for: ::std::option::Option<bool>,
18110 pub vote_against: ::std::option::Option<bool>,
18112 pub reported: ::std::option::Option<bool>,
18114 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
18117 }
18118
18119 impl<'a> ::std::default::Default for &'a VoteSummary {
18120 fn default() -> &'a VoteSummary {
18121 <VoteSummary as ::steam_vent_proto_common::protobuf::Message>::default_instance()
18122 }
18123 }
18124
18125 impl VoteSummary {
18126 pub fn new() -> VoteSummary {
18127 ::std::default::Default::default()
18128 }
18129
18130 pub fn publishedfileid(&self) -> u64 {
18133 self.publishedfileid.unwrap_or(0)
18134 }
18135
18136 pub fn clear_publishedfileid(&mut self) {
18137 self.publishedfileid = ::std::option::Option::None;
18138 }
18139
18140 pub fn has_publishedfileid(&self) -> bool {
18141 self.publishedfileid.is_some()
18142 }
18143
18144 pub fn set_publishedfileid(&mut self, v: u64) {
18146 self.publishedfileid = ::std::option::Option::Some(v);
18147 }
18148
18149 pub fn vote_for(&self) -> bool {
18152 self.vote_for.unwrap_or(false)
18153 }
18154
18155 pub fn clear_vote_for(&mut self) {
18156 self.vote_for = ::std::option::Option::None;
18157 }
18158
18159 pub fn has_vote_for(&self) -> bool {
18160 self.vote_for.is_some()
18161 }
18162
18163 pub fn set_vote_for(&mut self, v: bool) {
18165 self.vote_for = ::std::option::Option::Some(v);
18166 }
18167
18168 pub fn vote_against(&self) -> bool {
18171 self.vote_against.unwrap_or(false)
18172 }
18173
18174 pub fn clear_vote_against(&mut self) {
18175 self.vote_against = ::std::option::Option::None;
18176 }
18177
18178 pub fn has_vote_against(&self) -> bool {
18179 self.vote_against.is_some()
18180 }
18181
18182 pub fn set_vote_against(&mut self, v: bool) {
18184 self.vote_against = ::std::option::Option::Some(v);
18185 }
18186
18187 pub fn reported(&self) -> bool {
18190 self.reported.unwrap_or(false)
18191 }
18192
18193 pub fn clear_reported(&mut self) {
18194 self.reported = ::std::option::Option::None;
18195 }
18196
18197 pub fn has_reported(&self) -> bool {
18198 self.reported.is_some()
18199 }
18200
18201 pub fn set_reported(&mut self, v: bool) {
18203 self.reported = ::std::option::Option::Some(v);
18204 }
18205 }
18206
18207 impl ::steam_vent_proto_common::protobuf::Message for VoteSummary {
18208 const NAME: &'static str = "VoteSummary";
18209
18210 fn is_initialized(&self) -> bool {
18211 true
18212 }
18213
18214 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18215 while let Some(tag) = is.read_raw_tag_or_eof()? {
18216 match tag {
18217 9 => {
18218 self.publishedfileid = ::std::option::Option::Some(is.read_fixed64()?);
18219 },
18220 16 => {
18221 self.vote_for = ::std::option::Option::Some(is.read_bool()?);
18222 },
18223 24 => {
18224 self.vote_against = ::std::option::Option::Some(is.read_bool()?);
18225 },
18226 32 => {
18227 self.reported = ::std::option::Option::Some(is.read_bool()?);
18228 },
18229 tag => {
18230 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
18231 },
18232 };
18233 }
18234 ::std::result::Result::Ok(())
18235 }
18236
18237 #[allow(unused_variables)]
18239 fn compute_size(&self) -> u64 {
18240 let mut my_size = 0;
18241 if let Some(v) = self.publishedfileid {
18242 my_size += 1 + 8;
18243 }
18244 if let Some(v) = self.vote_for {
18245 my_size += 1 + 1;
18246 }
18247 if let Some(v) = self.vote_against {
18248 my_size += 1 + 1;
18249 }
18250 if let Some(v) = self.reported {
18251 my_size += 1 + 1;
18252 }
18253 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
18254 self.special_fields.cached_size().set(my_size as u32);
18255 my_size
18256 }
18257
18258 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18259 if let Some(v) = self.publishedfileid {
18260 os.write_fixed64(1, v)?;
18261 }
18262 if let Some(v) = self.vote_for {
18263 os.write_bool(2, v)?;
18264 }
18265 if let Some(v) = self.vote_against {
18266 os.write_bool(3, v)?;
18267 }
18268 if let Some(v) = self.reported {
18269 os.write_bool(4, v)?;
18270 }
18271 os.write_unknown_fields(self.special_fields.unknown_fields())?;
18272 ::std::result::Result::Ok(())
18273 }
18274
18275 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
18276 &self.special_fields
18277 }
18278
18279 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
18280 &mut self.special_fields
18281 }
18282
18283 fn new() -> VoteSummary {
18284 VoteSummary::new()
18285 }
18286
18287 fn clear(&mut self) {
18288 self.publishedfileid = ::std::option::Option::None;
18289 self.vote_for = ::std::option::Option::None;
18290 self.vote_against = ::std::option::Option::None;
18291 self.reported = ::std::option::Option::None;
18292 self.special_fields.clear();
18293 }
18294
18295 fn default_instance() -> &'static VoteSummary {
18296 static instance: VoteSummary = VoteSummary {
18297 publishedfileid: ::std::option::Option::None,
18298 vote_for: ::std::option::Option::None,
18299 vote_against: ::std::option::Option::None,
18300 reported: ::std::option::Option::None,
18301 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
18302 };
18303 &instance
18304 }
18305 }
18306}
18307
18308#[derive(PartialEq,Clone,Default,Debug)]
18310pub struct CPublishedFile_GetItemChanges_Request {
18311 pub appid: ::std::option::Option<u32>,
18314 pub last_time_updated: ::std::option::Option<u32>,
18316 pub num_items_max: ::std::option::Option<u32>,
18318 pub desired_revision: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EPublishedFileRevision>>,
18320 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
18323}
18324
18325impl<'a> ::std::default::Default for &'a CPublishedFile_GetItemChanges_Request {
18326 fn default() -> &'a CPublishedFile_GetItemChanges_Request {
18327 <CPublishedFile_GetItemChanges_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
18328 }
18329}
18330
18331impl CPublishedFile_GetItemChanges_Request {
18332 pub fn new() -> CPublishedFile_GetItemChanges_Request {
18333 ::std::default::Default::default()
18334 }
18335
18336 pub fn appid(&self) -> u32 {
18339 self.appid.unwrap_or(0)
18340 }
18341
18342 pub fn clear_appid(&mut self) {
18343 self.appid = ::std::option::Option::None;
18344 }
18345
18346 pub fn has_appid(&self) -> bool {
18347 self.appid.is_some()
18348 }
18349
18350 pub fn set_appid(&mut self, v: u32) {
18352 self.appid = ::std::option::Option::Some(v);
18353 }
18354
18355 pub fn last_time_updated(&self) -> u32 {
18358 self.last_time_updated.unwrap_or(0)
18359 }
18360
18361 pub fn clear_last_time_updated(&mut self) {
18362 self.last_time_updated = ::std::option::Option::None;
18363 }
18364
18365 pub fn has_last_time_updated(&self) -> bool {
18366 self.last_time_updated.is_some()
18367 }
18368
18369 pub fn set_last_time_updated(&mut self, v: u32) {
18371 self.last_time_updated = ::std::option::Option::Some(v);
18372 }
18373
18374 pub fn num_items_max(&self) -> u32 {
18377 self.num_items_max.unwrap_or(0)
18378 }
18379
18380 pub fn clear_num_items_max(&mut self) {
18381 self.num_items_max = ::std::option::Option::None;
18382 }
18383
18384 pub fn has_num_items_max(&self) -> bool {
18385 self.num_items_max.is_some()
18386 }
18387
18388 pub fn set_num_items_max(&mut self, v: u32) {
18390 self.num_items_max = ::std::option::Option::Some(v);
18391 }
18392
18393 pub fn desired_revision(&self) -> EPublishedFileRevision {
18396 match self.desired_revision {
18397 Some(e) => e.enum_value_or(EPublishedFileRevision::k_EPublishedFileRevision_Default),
18398 None => EPublishedFileRevision::k_EPublishedFileRevision_Default,
18399 }
18400 }
18401
18402 pub fn clear_desired_revision(&mut self) {
18403 self.desired_revision = ::std::option::Option::None;
18404 }
18405
18406 pub fn has_desired_revision(&self) -> bool {
18407 self.desired_revision.is_some()
18408 }
18409
18410 pub fn set_desired_revision(&mut self, v: EPublishedFileRevision) {
18412 self.desired_revision = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
18413 }
18414}
18415
18416impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetItemChanges_Request {
18417 const NAME: &'static str = "CPublishedFile_GetItemChanges_Request";
18418
18419 fn is_initialized(&self) -> bool {
18420 true
18421 }
18422
18423 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18424 while let Some(tag) = is.read_raw_tag_or_eof()? {
18425 match tag {
18426 8 => {
18427 self.appid = ::std::option::Option::Some(is.read_uint32()?);
18428 },
18429 16 => {
18430 self.last_time_updated = ::std::option::Option::Some(is.read_uint32()?);
18431 },
18432 24 => {
18433 self.num_items_max = ::std::option::Option::Some(is.read_uint32()?);
18434 },
18435 32 => {
18436 self.desired_revision = ::std::option::Option::Some(is.read_enum_or_unknown()?);
18437 },
18438 tag => {
18439 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
18440 },
18441 };
18442 }
18443 ::std::result::Result::Ok(())
18444 }
18445
18446 #[allow(unused_variables)]
18448 fn compute_size(&self) -> u64 {
18449 let mut my_size = 0;
18450 if let Some(v) = self.appid {
18451 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
18452 }
18453 if let Some(v) = self.last_time_updated {
18454 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
18455 }
18456 if let Some(v) = self.num_items_max {
18457 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
18458 }
18459 if let Some(v) = self.desired_revision {
18460 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v.value());
18461 }
18462 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
18463 self.special_fields.cached_size().set(my_size as u32);
18464 my_size
18465 }
18466
18467 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18468 if let Some(v) = self.appid {
18469 os.write_uint32(1, v)?;
18470 }
18471 if let Some(v) = self.last_time_updated {
18472 os.write_uint32(2, v)?;
18473 }
18474 if let Some(v) = self.num_items_max {
18475 os.write_uint32(3, v)?;
18476 }
18477 if let Some(v) = self.desired_revision {
18478 os.write_enum(4, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
18479 }
18480 os.write_unknown_fields(self.special_fields.unknown_fields())?;
18481 ::std::result::Result::Ok(())
18482 }
18483
18484 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
18485 &self.special_fields
18486 }
18487
18488 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
18489 &mut self.special_fields
18490 }
18491
18492 fn new() -> CPublishedFile_GetItemChanges_Request {
18493 CPublishedFile_GetItemChanges_Request::new()
18494 }
18495
18496 fn clear(&mut self) {
18497 self.appid = ::std::option::Option::None;
18498 self.last_time_updated = ::std::option::Option::None;
18499 self.num_items_max = ::std::option::Option::None;
18500 self.desired_revision = ::std::option::Option::None;
18501 self.special_fields.clear();
18502 }
18503
18504 fn default_instance() -> &'static CPublishedFile_GetItemChanges_Request {
18505 static instance: CPublishedFile_GetItemChanges_Request = CPublishedFile_GetItemChanges_Request {
18506 appid: ::std::option::Option::None,
18507 last_time_updated: ::std::option::Option::None,
18508 num_items_max: ::std::option::Option::None,
18509 desired_revision: ::std::option::Option::None,
18510 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
18511 };
18512 &instance
18513 }
18514}
18515
18516#[derive(PartialEq,Clone,Default,Debug)]
18518pub struct CPublishedFile_GetItemChanges_Response {
18519 pub update_time: ::std::option::Option<u32>,
18522 pub workshop_items: ::std::vec::Vec<cpublished_file_get_item_changes_response::WorkshopItemInfo>,
18524 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
18527}
18528
18529impl<'a> ::std::default::Default for &'a CPublishedFile_GetItemChanges_Response {
18530 fn default() -> &'a CPublishedFile_GetItemChanges_Response {
18531 <CPublishedFile_GetItemChanges_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
18532 }
18533}
18534
18535impl CPublishedFile_GetItemChanges_Response {
18536 pub fn new() -> CPublishedFile_GetItemChanges_Response {
18537 ::std::default::Default::default()
18538 }
18539
18540 pub fn update_time(&self) -> u32 {
18543 self.update_time.unwrap_or(0)
18544 }
18545
18546 pub fn clear_update_time(&mut self) {
18547 self.update_time = ::std::option::Option::None;
18548 }
18549
18550 pub fn has_update_time(&self) -> bool {
18551 self.update_time.is_some()
18552 }
18553
18554 pub fn set_update_time(&mut self, v: u32) {
18556 self.update_time = ::std::option::Option::Some(v);
18557 }
18558}
18559
18560impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetItemChanges_Response {
18561 const NAME: &'static str = "CPublishedFile_GetItemChanges_Response";
18562
18563 fn is_initialized(&self) -> bool {
18564 true
18565 }
18566
18567 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18568 while let Some(tag) = is.read_raw_tag_or_eof()? {
18569 match tag {
18570 8 => {
18571 self.update_time = ::std::option::Option::Some(is.read_uint32()?);
18572 },
18573 18 => {
18574 self.workshop_items.push(is.read_message()?);
18575 },
18576 tag => {
18577 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
18578 },
18579 };
18580 }
18581 ::std::result::Result::Ok(())
18582 }
18583
18584 #[allow(unused_variables)]
18586 fn compute_size(&self) -> u64 {
18587 let mut my_size = 0;
18588 if let Some(v) = self.update_time {
18589 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
18590 }
18591 for value in &self.workshop_items {
18592 let len = value.compute_size();
18593 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
18594 };
18595 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
18596 self.special_fields.cached_size().set(my_size as u32);
18597 my_size
18598 }
18599
18600 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18601 if let Some(v) = self.update_time {
18602 os.write_uint32(1, v)?;
18603 }
18604 for v in &self.workshop_items {
18605 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
18606 };
18607 os.write_unknown_fields(self.special_fields.unknown_fields())?;
18608 ::std::result::Result::Ok(())
18609 }
18610
18611 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
18612 &self.special_fields
18613 }
18614
18615 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
18616 &mut self.special_fields
18617 }
18618
18619 fn new() -> CPublishedFile_GetItemChanges_Response {
18620 CPublishedFile_GetItemChanges_Response::new()
18621 }
18622
18623 fn clear(&mut self) {
18624 self.update_time = ::std::option::Option::None;
18625 self.workshop_items.clear();
18626 self.special_fields.clear();
18627 }
18628
18629 fn default_instance() -> &'static CPublishedFile_GetItemChanges_Response {
18630 static instance: CPublishedFile_GetItemChanges_Response = CPublishedFile_GetItemChanges_Response {
18631 update_time: ::std::option::Option::None,
18632 workshop_items: ::std::vec::Vec::new(),
18633 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
18634 };
18635 &instance
18636 }
18637}
18638
18639pub mod cpublished_file_get_item_changes_response {
18641 #[derive(PartialEq,Clone,Default,Debug)]
18643 pub struct WorkshopItemInfo {
18644 pub published_file_id: ::std::option::Option<u64>,
18647 pub time_updated: ::std::option::Option<u32>,
18649 pub manifest_id: ::std::option::Option<u64>,
18651 pub author_snapshots: ::std::vec::Vec<super::PublishedFileAuthorSnapshot>,
18653 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
18656 }
18657
18658 impl<'a> ::std::default::Default for &'a WorkshopItemInfo {
18659 fn default() -> &'a WorkshopItemInfo {
18660 <WorkshopItemInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
18661 }
18662 }
18663
18664 impl WorkshopItemInfo {
18665 pub fn new() -> WorkshopItemInfo {
18666 ::std::default::Default::default()
18667 }
18668
18669 pub fn published_file_id(&self) -> u64 {
18672 self.published_file_id.unwrap_or(0)
18673 }
18674
18675 pub fn clear_published_file_id(&mut self) {
18676 self.published_file_id = ::std::option::Option::None;
18677 }
18678
18679 pub fn has_published_file_id(&self) -> bool {
18680 self.published_file_id.is_some()
18681 }
18682
18683 pub fn set_published_file_id(&mut self, v: u64) {
18685 self.published_file_id = ::std::option::Option::Some(v);
18686 }
18687
18688 pub fn time_updated(&self) -> u32 {
18691 self.time_updated.unwrap_or(0)
18692 }
18693
18694 pub fn clear_time_updated(&mut self) {
18695 self.time_updated = ::std::option::Option::None;
18696 }
18697
18698 pub fn has_time_updated(&self) -> bool {
18699 self.time_updated.is_some()
18700 }
18701
18702 pub fn set_time_updated(&mut self, v: u32) {
18704 self.time_updated = ::std::option::Option::Some(v);
18705 }
18706
18707 pub fn manifest_id(&self) -> u64 {
18710 self.manifest_id.unwrap_or(0)
18711 }
18712
18713 pub fn clear_manifest_id(&mut self) {
18714 self.manifest_id = ::std::option::Option::None;
18715 }
18716
18717 pub fn has_manifest_id(&self) -> bool {
18718 self.manifest_id.is_some()
18719 }
18720
18721 pub fn set_manifest_id(&mut self, v: u64) {
18723 self.manifest_id = ::std::option::Option::Some(v);
18724 }
18725 }
18726
18727 impl ::steam_vent_proto_common::protobuf::Message for WorkshopItemInfo {
18728 const NAME: &'static str = "WorkshopItemInfo";
18729
18730 fn is_initialized(&self) -> bool {
18731 true
18732 }
18733
18734 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18735 while let Some(tag) = is.read_raw_tag_or_eof()? {
18736 match tag {
18737 9 => {
18738 self.published_file_id = ::std::option::Option::Some(is.read_fixed64()?);
18739 },
18740 16 => {
18741 self.time_updated = ::std::option::Option::Some(is.read_uint32()?);
18742 },
18743 25 => {
18744 self.manifest_id = ::std::option::Option::Some(is.read_fixed64()?);
18745 },
18746 34 => {
18747 self.author_snapshots.push(is.read_message()?);
18748 },
18749 tag => {
18750 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
18751 },
18752 };
18753 }
18754 ::std::result::Result::Ok(())
18755 }
18756
18757 #[allow(unused_variables)]
18759 fn compute_size(&self) -> u64 {
18760 let mut my_size = 0;
18761 if let Some(v) = self.published_file_id {
18762 my_size += 1 + 8;
18763 }
18764 if let Some(v) = self.time_updated {
18765 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
18766 }
18767 if let Some(v) = self.manifest_id {
18768 my_size += 1 + 8;
18769 }
18770 for value in &self.author_snapshots {
18771 let len = value.compute_size();
18772 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
18773 };
18774 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
18775 self.special_fields.cached_size().set(my_size as u32);
18776 my_size
18777 }
18778
18779 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18780 if let Some(v) = self.published_file_id {
18781 os.write_fixed64(1, v)?;
18782 }
18783 if let Some(v) = self.time_updated {
18784 os.write_uint32(2, v)?;
18785 }
18786 if let Some(v) = self.manifest_id {
18787 os.write_fixed64(3, v)?;
18788 }
18789 for v in &self.author_snapshots {
18790 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(4, v, os)?;
18791 };
18792 os.write_unknown_fields(self.special_fields.unknown_fields())?;
18793 ::std::result::Result::Ok(())
18794 }
18795
18796 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
18797 &self.special_fields
18798 }
18799
18800 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
18801 &mut self.special_fields
18802 }
18803
18804 fn new() -> WorkshopItemInfo {
18805 WorkshopItemInfo::new()
18806 }
18807
18808 fn clear(&mut self) {
18809 self.published_file_id = ::std::option::Option::None;
18810 self.time_updated = ::std::option::Option::None;
18811 self.manifest_id = ::std::option::Option::None;
18812 self.author_snapshots.clear();
18813 self.special_fields.clear();
18814 }
18815
18816 fn default_instance() -> &'static WorkshopItemInfo {
18817 static instance: WorkshopItemInfo = WorkshopItemInfo {
18818 published_file_id: ::std::option::Option::None,
18819 time_updated: ::std::option::Option::None,
18820 manifest_id: ::std::option::Option::None,
18821 author_snapshots: ::std::vec::Vec::new(),
18822 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
18823 };
18824 &instance
18825 }
18826 }
18827}
18828
18829#[derive(PartialEq,Clone,Default,Debug)]
18831pub struct CPublishedFile_GetContentDescriptors_Request {
18832 pub publishedfileid: ::std::option::Option<u64>,
18835 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
18838}
18839
18840impl<'a> ::std::default::Default for &'a CPublishedFile_GetContentDescriptors_Request {
18841 fn default() -> &'a CPublishedFile_GetContentDescriptors_Request {
18842 <CPublishedFile_GetContentDescriptors_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
18843 }
18844}
18845
18846impl CPublishedFile_GetContentDescriptors_Request {
18847 pub fn new() -> CPublishedFile_GetContentDescriptors_Request {
18848 ::std::default::Default::default()
18849 }
18850
18851 pub fn publishedfileid(&self) -> u64 {
18854 self.publishedfileid.unwrap_or(0)
18855 }
18856
18857 pub fn clear_publishedfileid(&mut self) {
18858 self.publishedfileid = ::std::option::Option::None;
18859 }
18860
18861 pub fn has_publishedfileid(&self) -> bool {
18862 self.publishedfileid.is_some()
18863 }
18864
18865 pub fn set_publishedfileid(&mut self, v: u64) {
18867 self.publishedfileid = ::std::option::Option::Some(v);
18868 }
18869}
18870
18871impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetContentDescriptors_Request {
18872 const NAME: &'static str = "CPublishedFile_GetContentDescriptors_Request";
18873
18874 fn is_initialized(&self) -> bool {
18875 true
18876 }
18877
18878 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18879 while let Some(tag) = is.read_raw_tag_or_eof()? {
18880 match tag {
18881 9 => {
18882 self.publishedfileid = ::std::option::Option::Some(is.read_fixed64()?);
18883 },
18884 tag => {
18885 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
18886 },
18887 };
18888 }
18889 ::std::result::Result::Ok(())
18890 }
18891
18892 #[allow(unused_variables)]
18894 fn compute_size(&self) -> u64 {
18895 let mut my_size = 0;
18896 if let Some(v) = self.publishedfileid {
18897 my_size += 1 + 8;
18898 }
18899 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
18900 self.special_fields.cached_size().set(my_size as u32);
18901 my_size
18902 }
18903
18904 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18905 if let Some(v) = self.publishedfileid {
18906 os.write_fixed64(1, v)?;
18907 }
18908 os.write_unknown_fields(self.special_fields.unknown_fields())?;
18909 ::std::result::Result::Ok(())
18910 }
18911
18912 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
18913 &self.special_fields
18914 }
18915
18916 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
18917 &mut self.special_fields
18918 }
18919
18920 fn new() -> CPublishedFile_GetContentDescriptors_Request {
18921 CPublishedFile_GetContentDescriptors_Request::new()
18922 }
18923
18924 fn clear(&mut self) {
18925 self.publishedfileid = ::std::option::Option::None;
18926 self.special_fields.clear();
18927 }
18928
18929 fn default_instance() -> &'static CPublishedFile_GetContentDescriptors_Request {
18930 static instance: CPublishedFile_GetContentDescriptors_Request = CPublishedFile_GetContentDescriptors_Request {
18931 publishedfileid: ::std::option::Option::None,
18932 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
18933 };
18934 &instance
18935 }
18936}
18937
18938#[derive(PartialEq,Clone,Default,Debug)]
18940pub struct CPublishedFile_GetContentDescriptors_Response {
18941 pub content_descriptors: ::std::vec::Vec<cpublished_file_get_content_descriptors_response::ContentDescriptor>,
18944 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
18947}
18948
18949impl<'a> ::std::default::Default for &'a CPublishedFile_GetContentDescriptors_Response {
18950 fn default() -> &'a CPublishedFile_GetContentDescriptors_Response {
18951 <CPublishedFile_GetContentDescriptors_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
18952 }
18953}
18954
18955impl CPublishedFile_GetContentDescriptors_Response {
18956 pub fn new() -> CPublishedFile_GetContentDescriptors_Response {
18957 ::std::default::Default::default()
18958 }
18959}
18960
18961impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_GetContentDescriptors_Response {
18962 const NAME: &'static str = "CPublishedFile_GetContentDescriptors_Response";
18963
18964 fn is_initialized(&self) -> bool {
18965 true
18966 }
18967
18968 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18969 while let Some(tag) = is.read_raw_tag_or_eof()? {
18970 match tag {
18971 10 => {
18972 self.content_descriptors.push(is.read_message()?);
18973 },
18974 tag => {
18975 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
18976 },
18977 };
18978 }
18979 ::std::result::Result::Ok(())
18980 }
18981
18982 #[allow(unused_variables)]
18984 fn compute_size(&self) -> u64 {
18985 let mut my_size = 0;
18986 for value in &self.content_descriptors {
18987 let len = value.compute_size();
18988 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
18989 };
18990 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
18991 self.special_fields.cached_size().set(my_size as u32);
18992 my_size
18993 }
18994
18995 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
18996 for v in &self.content_descriptors {
18997 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
18998 };
18999 os.write_unknown_fields(self.special_fields.unknown_fields())?;
19000 ::std::result::Result::Ok(())
19001 }
19002
19003 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19004 &self.special_fields
19005 }
19006
19007 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19008 &mut self.special_fields
19009 }
19010
19011 fn new() -> CPublishedFile_GetContentDescriptors_Response {
19012 CPublishedFile_GetContentDescriptors_Response::new()
19013 }
19014
19015 fn clear(&mut self) {
19016 self.content_descriptors.clear();
19017 self.special_fields.clear();
19018 }
19019
19020 fn default_instance() -> &'static CPublishedFile_GetContentDescriptors_Response {
19021 static instance: CPublishedFile_GetContentDescriptors_Response = CPublishedFile_GetContentDescriptors_Response {
19022 content_descriptors: ::std::vec::Vec::new(),
19023 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
19024 };
19025 &instance
19026 }
19027}
19028
19029pub mod cpublished_file_get_content_descriptors_response {
19031 #[derive(PartialEq,Clone,Default,Debug)]
19033 pub struct ContentDescriptor {
19034 pub descriptorid: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::super::enums_productinfo::EContentDescriptorID>>,
19037 pub accountid: ::std::option::Option<u32>,
19039 pub timestamp: ::std::option::Option<u32>,
19041 pub moderator_set: ::std::option::Option<bool>,
19043 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
19046 }
19047
19048 impl<'a> ::std::default::Default for &'a ContentDescriptor {
19049 fn default() -> &'a ContentDescriptor {
19050 <ContentDescriptor as ::steam_vent_proto_common::protobuf::Message>::default_instance()
19051 }
19052 }
19053
19054 impl ContentDescriptor {
19055 pub fn new() -> ContentDescriptor {
19056 ::std::default::Default::default()
19057 }
19058
19059 pub fn descriptorid(&self) -> super::super::enums_productinfo::EContentDescriptorID {
19062 match self.descriptorid {
19063 Some(e) => e.enum_value_or(super::super::enums_productinfo::EContentDescriptorID::k_EContentDescriptor_NudityOrSexualContent),
19064 None => super::super::enums_productinfo::EContentDescriptorID::k_EContentDescriptor_NudityOrSexualContent,
19065 }
19066 }
19067
19068 pub fn clear_descriptorid(&mut self) {
19069 self.descriptorid = ::std::option::Option::None;
19070 }
19071
19072 pub fn has_descriptorid(&self) -> bool {
19073 self.descriptorid.is_some()
19074 }
19075
19076 pub fn set_descriptorid(&mut self, v: super::super::enums_productinfo::EContentDescriptorID) {
19078 self.descriptorid = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
19079 }
19080
19081 pub fn accountid(&self) -> u32 {
19084 self.accountid.unwrap_or(0)
19085 }
19086
19087 pub fn clear_accountid(&mut self) {
19088 self.accountid = ::std::option::Option::None;
19089 }
19090
19091 pub fn has_accountid(&self) -> bool {
19092 self.accountid.is_some()
19093 }
19094
19095 pub fn set_accountid(&mut self, v: u32) {
19097 self.accountid = ::std::option::Option::Some(v);
19098 }
19099
19100 pub fn timestamp(&self) -> u32 {
19103 self.timestamp.unwrap_or(0)
19104 }
19105
19106 pub fn clear_timestamp(&mut self) {
19107 self.timestamp = ::std::option::Option::None;
19108 }
19109
19110 pub fn has_timestamp(&self) -> bool {
19111 self.timestamp.is_some()
19112 }
19113
19114 pub fn set_timestamp(&mut self, v: u32) {
19116 self.timestamp = ::std::option::Option::Some(v);
19117 }
19118
19119 pub fn moderator_set(&self) -> bool {
19122 self.moderator_set.unwrap_or(false)
19123 }
19124
19125 pub fn clear_moderator_set(&mut self) {
19126 self.moderator_set = ::std::option::Option::None;
19127 }
19128
19129 pub fn has_moderator_set(&self) -> bool {
19130 self.moderator_set.is_some()
19131 }
19132
19133 pub fn set_moderator_set(&mut self, v: bool) {
19135 self.moderator_set = ::std::option::Option::Some(v);
19136 }
19137 }
19138
19139 impl ::steam_vent_proto_common::protobuf::Message for ContentDescriptor {
19140 const NAME: &'static str = "ContentDescriptor";
19141
19142 fn is_initialized(&self) -> bool {
19143 true
19144 }
19145
19146 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19147 while let Some(tag) = is.read_raw_tag_or_eof()? {
19148 match tag {
19149 8 => {
19150 self.descriptorid = ::std::option::Option::Some(is.read_enum_or_unknown()?);
19151 },
19152 16 => {
19153 self.accountid = ::std::option::Option::Some(is.read_uint32()?);
19154 },
19155 24 => {
19156 self.timestamp = ::std::option::Option::Some(is.read_uint32()?);
19157 },
19158 32 => {
19159 self.moderator_set = ::std::option::Option::Some(is.read_bool()?);
19160 },
19161 tag => {
19162 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
19163 },
19164 };
19165 }
19166 ::std::result::Result::Ok(())
19167 }
19168
19169 #[allow(unused_variables)]
19171 fn compute_size(&self) -> u64 {
19172 let mut my_size = 0;
19173 if let Some(v) = self.descriptorid {
19174 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v.value());
19175 }
19176 if let Some(v) = self.accountid {
19177 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
19178 }
19179 if let Some(v) = self.timestamp {
19180 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
19181 }
19182 if let Some(v) = self.moderator_set {
19183 my_size += 1 + 1;
19184 }
19185 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
19186 self.special_fields.cached_size().set(my_size as u32);
19187 my_size
19188 }
19189
19190 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19191 if let Some(v) = self.descriptorid {
19192 os.write_enum(1, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
19193 }
19194 if let Some(v) = self.accountid {
19195 os.write_uint32(2, v)?;
19196 }
19197 if let Some(v) = self.timestamp {
19198 os.write_uint32(3, v)?;
19199 }
19200 if let Some(v) = self.moderator_set {
19201 os.write_bool(4, v)?;
19202 }
19203 os.write_unknown_fields(self.special_fields.unknown_fields())?;
19204 ::std::result::Result::Ok(())
19205 }
19206
19207 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19208 &self.special_fields
19209 }
19210
19211 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19212 &mut self.special_fields
19213 }
19214
19215 fn new() -> ContentDescriptor {
19216 ContentDescriptor::new()
19217 }
19218
19219 fn clear(&mut self) {
19220 self.descriptorid = ::std::option::Option::None;
19221 self.accountid = ::std::option::Option::None;
19222 self.timestamp = ::std::option::Option::None;
19223 self.moderator_set = ::std::option::Option::None;
19224 self.special_fields.clear();
19225 }
19226
19227 fn default_instance() -> &'static ContentDescriptor {
19228 static instance: ContentDescriptor = ContentDescriptor {
19229 descriptorid: ::std::option::Option::None,
19230 accountid: ::std::option::Option::None,
19231 timestamp: ::std::option::Option::None,
19232 moderator_set: ::std::option::Option::None,
19233 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
19234 };
19235 &instance
19236 }
19237 }
19238}
19239
19240#[derive(PartialEq,Clone,Default,Debug)]
19242pub struct CPublishedFile_UpdateContentDescriptors_Request {
19243 pub publishedfileid: ::std::option::Option<u64>,
19246 pub descriptors_to_add: ::std::vec::Vec<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::enums_productinfo::EContentDescriptorID>>,
19248 pub descriptors_to_remove: ::std::vec::Vec<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::enums_productinfo::EContentDescriptorID>>,
19250 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
19253}
19254
19255impl<'a> ::std::default::Default for &'a CPublishedFile_UpdateContentDescriptors_Request {
19256 fn default() -> &'a CPublishedFile_UpdateContentDescriptors_Request {
19257 <CPublishedFile_UpdateContentDescriptors_Request as ::steam_vent_proto_common::protobuf::Message>::default_instance()
19258 }
19259}
19260
19261impl CPublishedFile_UpdateContentDescriptors_Request {
19262 pub fn new() -> CPublishedFile_UpdateContentDescriptors_Request {
19263 ::std::default::Default::default()
19264 }
19265
19266 pub fn publishedfileid(&self) -> u64 {
19269 self.publishedfileid.unwrap_or(0)
19270 }
19271
19272 pub fn clear_publishedfileid(&mut self) {
19273 self.publishedfileid = ::std::option::Option::None;
19274 }
19275
19276 pub fn has_publishedfileid(&self) -> bool {
19277 self.publishedfileid.is_some()
19278 }
19279
19280 pub fn set_publishedfileid(&mut self, v: u64) {
19282 self.publishedfileid = ::std::option::Option::Some(v);
19283 }
19284}
19285
19286impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_UpdateContentDescriptors_Request {
19287 const NAME: &'static str = "CPublishedFile_UpdateContentDescriptors_Request";
19288
19289 fn is_initialized(&self) -> bool {
19290 true
19291 }
19292
19293 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19294 while let Some(tag) = is.read_raw_tag_or_eof()? {
19295 match tag {
19296 9 => {
19297 self.publishedfileid = ::std::option::Option::Some(is.read_fixed64()?);
19298 },
19299 16 => {
19300 self.descriptors_to_add.push(is.read_enum_or_unknown()?);
19301 },
19302 18 => {
19303 ::steam_vent_proto_common::protobuf::rt::read_repeated_packed_enum_or_unknown_into(is, &mut self.descriptors_to_add)?
19304 },
19305 24 => {
19306 self.descriptors_to_remove.push(is.read_enum_or_unknown()?);
19307 },
19308 26 => {
19309 ::steam_vent_proto_common::protobuf::rt::read_repeated_packed_enum_or_unknown_into(is, &mut self.descriptors_to_remove)?
19310 },
19311 tag => {
19312 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
19313 },
19314 };
19315 }
19316 ::std::result::Result::Ok(())
19317 }
19318
19319 #[allow(unused_variables)]
19321 fn compute_size(&self) -> u64 {
19322 let mut my_size = 0;
19323 if let Some(v) = self.publishedfileid {
19324 my_size += 1 + 8;
19325 }
19326 for value in &self.descriptors_to_add {
19327 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(2, value.value());
19328 };
19329 for value in &self.descriptors_to_remove {
19330 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, value.value());
19331 };
19332 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
19333 self.special_fields.cached_size().set(my_size as u32);
19334 my_size
19335 }
19336
19337 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19338 if let Some(v) = self.publishedfileid {
19339 os.write_fixed64(1, v)?;
19340 }
19341 for v in &self.descriptors_to_add {
19342 os.write_enum(2, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(v))?;
19343 };
19344 for v in &self.descriptors_to_remove {
19345 os.write_enum(3, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(v))?;
19346 };
19347 os.write_unknown_fields(self.special_fields.unknown_fields())?;
19348 ::std::result::Result::Ok(())
19349 }
19350
19351 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19352 &self.special_fields
19353 }
19354
19355 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19356 &mut self.special_fields
19357 }
19358
19359 fn new() -> CPublishedFile_UpdateContentDescriptors_Request {
19360 CPublishedFile_UpdateContentDescriptors_Request::new()
19361 }
19362
19363 fn clear(&mut self) {
19364 self.publishedfileid = ::std::option::Option::None;
19365 self.descriptors_to_add.clear();
19366 self.descriptors_to_remove.clear();
19367 self.special_fields.clear();
19368 }
19369
19370 fn default_instance() -> &'static CPublishedFile_UpdateContentDescriptors_Request {
19371 static instance: CPublishedFile_UpdateContentDescriptors_Request = CPublishedFile_UpdateContentDescriptors_Request {
19372 publishedfileid: ::std::option::Option::None,
19373 descriptors_to_add: ::std::vec::Vec::new(),
19374 descriptors_to_remove: ::std::vec::Vec::new(),
19375 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
19376 };
19377 &instance
19378 }
19379}
19380
19381#[derive(PartialEq,Clone,Default,Debug)]
19383pub struct CPublishedFile_UpdateContentDescriptors_Response {
19384 pub timestamp_updated: ::std::option::Option<u32>,
19387 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
19390}
19391
19392impl<'a> ::std::default::Default for &'a CPublishedFile_UpdateContentDescriptors_Response {
19393 fn default() -> &'a CPublishedFile_UpdateContentDescriptors_Response {
19394 <CPublishedFile_UpdateContentDescriptors_Response as ::steam_vent_proto_common::protobuf::Message>::default_instance()
19395 }
19396}
19397
19398impl CPublishedFile_UpdateContentDescriptors_Response {
19399 pub fn new() -> CPublishedFile_UpdateContentDescriptors_Response {
19400 ::std::default::Default::default()
19401 }
19402
19403 pub fn timestamp_updated(&self) -> u32 {
19406 self.timestamp_updated.unwrap_or(0)
19407 }
19408
19409 pub fn clear_timestamp_updated(&mut self) {
19410 self.timestamp_updated = ::std::option::Option::None;
19411 }
19412
19413 pub fn has_timestamp_updated(&self) -> bool {
19414 self.timestamp_updated.is_some()
19415 }
19416
19417 pub fn set_timestamp_updated(&mut self, v: u32) {
19419 self.timestamp_updated = ::std::option::Option::Some(v);
19420 }
19421}
19422
19423impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_UpdateContentDescriptors_Response {
19424 const NAME: &'static str = "CPublishedFile_UpdateContentDescriptors_Response";
19425
19426 fn is_initialized(&self) -> bool {
19427 true
19428 }
19429
19430 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19431 while let Some(tag) = is.read_raw_tag_or_eof()? {
19432 match tag {
19433 8 => {
19434 self.timestamp_updated = ::std::option::Option::Some(is.read_uint32()?);
19435 },
19436 tag => {
19437 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
19438 },
19439 };
19440 }
19441 ::std::result::Result::Ok(())
19442 }
19443
19444 #[allow(unused_variables)]
19446 fn compute_size(&self) -> u64 {
19447 let mut my_size = 0;
19448 if let Some(v) = self.timestamp_updated {
19449 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
19450 }
19451 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
19452 self.special_fields.cached_size().set(my_size as u32);
19453 my_size
19454 }
19455
19456 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19457 if let Some(v) = self.timestamp_updated {
19458 os.write_uint32(1, v)?;
19459 }
19460 os.write_unknown_fields(self.special_fields.unknown_fields())?;
19461 ::std::result::Result::Ok(())
19462 }
19463
19464 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19465 &self.special_fields
19466 }
19467
19468 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19469 &mut self.special_fields
19470 }
19471
19472 fn new() -> CPublishedFile_UpdateContentDescriptors_Response {
19473 CPublishedFile_UpdateContentDescriptors_Response::new()
19474 }
19475
19476 fn clear(&mut self) {
19477 self.timestamp_updated = ::std::option::Option::None;
19478 self.special_fields.clear();
19479 }
19480
19481 fn default_instance() -> &'static CPublishedFile_UpdateContentDescriptors_Response {
19482 static instance: CPublishedFile_UpdateContentDescriptors_Response = CPublishedFile_UpdateContentDescriptors_Response {
19483 timestamp_updated: ::std::option::Option::None,
19484 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
19485 };
19486 &instance
19487 }
19488}
19489
19490#[derive(PartialEq,Clone,Default,Debug)]
19492pub struct CPublishedFile_FileSubscribed_Notification {
19493 pub published_file_id: ::std::option::Option<u64>,
19496 pub app_id: ::std::option::Option<u32>,
19498 pub file_hcontent: ::std::option::Option<u64>,
19500 pub file_size: ::std::option::Option<u32>,
19502 pub rtime_subscribed: ::std::option::Option<u32>,
19504 pub is_depot_content: ::std::option::Option<bool>,
19506 pub rtime_updated: ::std::option::Option<u32>,
19508 pub revision: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EPublishedFileRevision>>,
19510 pub revisions: ::std::vec::Vec<cpublished_file_file_subscribed_notification::RevisionData>,
19512 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
19515}
19516
19517impl<'a> ::std::default::Default for &'a CPublishedFile_FileSubscribed_Notification {
19518 fn default() -> &'a CPublishedFile_FileSubscribed_Notification {
19519 <CPublishedFile_FileSubscribed_Notification as ::steam_vent_proto_common::protobuf::Message>::default_instance()
19520 }
19521}
19522
19523impl CPublishedFile_FileSubscribed_Notification {
19524 pub fn new() -> CPublishedFile_FileSubscribed_Notification {
19525 ::std::default::Default::default()
19526 }
19527
19528 pub fn published_file_id(&self) -> u64 {
19531 self.published_file_id.unwrap_or(0)
19532 }
19533
19534 pub fn clear_published_file_id(&mut self) {
19535 self.published_file_id = ::std::option::Option::None;
19536 }
19537
19538 pub fn has_published_file_id(&self) -> bool {
19539 self.published_file_id.is_some()
19540 }
19541
19542 pub fn set_published_file_id(&mut self, v: u64) {
19544 self.published_file_id = ::std::option::Option::Some(v);
19545 }
19546
19547 pub fn app_id(&self) -> u32 {
19550 self.app_id.unwrap_or(0)
19551 }
19552
19553 pub fn clear_app_id(&mut self) {
19554 self.app_id = ::std::option::Option::None;
19555 }
19556
19557 pub fn has_app_id(&self) -> bool {
19558 self.app_id.is_some()
19559 }
19560
19561 pub fn set_app_id(&mut self, v: u32) {
19563 self.app_id = ::std::option::Option::Some(v);
19564 }
19565
19566 pub fn file_hcontent(&self) -> u64 {
19569 self.file_hcontent.unwrap_or(0)
19570 }
19571
19572 pub fn clear_file_hcontent(&mut self) {
19573 self.file_hcontent = ::std::option::Option::None;
19574 }
19575
19576 pub fn has_file_hcontent(&self) -> bool {
19577 self.file_hcontent.is_some()
19578 }
19579
19580 pub fn set_file_hcontent(&mut self, v: u64) {
19582 self.file_hcontent = ::std::option::Option::Some(v);
19583 }
19584
19585 pub fn file_size(&self) -> u32 {
19588 self.file_size.unwrap_or(0)
19589 }
19590
19591 pub fn clear_file_size(&mut self) {
19592 self.file_size = ::std::option::Option::None;
19593 }
19594
19595 pub fn has_file_size(&self) -> bool {
19596 self.file_size.is_some()
19597 }
19598
19599 pub fn set_file_size(&mut self, v: u32) {
19601 self.file_size = ::std::option::Option::Some(v);
19602 }
19603
19604 pub fn rtime_subscribed(&self) -> u32 {
19607 self.rtime_subscribed.unwrap_or(0)
19608 }
19609
19610 pub fn clear_rtime_subscribed(&mut self) {
19611 self.rtime_subscribed = ::std::option::Option::None;
19612 }
19613
19614 pub fn has_rtime_subscribed(&self) -> bool {
19615 self.rtime_subscribed.is_some()
19616 }
19617
19618 pub fn set_rtime_subscribed(&mut self, v: u32) {
19620 self.rtime_subscribed = ::std::option::Option::Some(v);
19621 }
19622
19623 pub fn is_depot_content(&self) -> bool {
19626 self.is_depot_content.unwrap_or(false)
19627 }
19628
19629 pub fn clear_is_depot_content(&mut self) {
19630 self.is_depot_content = ::std::option::Option::None;
19631 }
19632
19633 pub fn has_is_depot_content(&self) -> bool {
19634 self.is_depot_content.is_some()
19635 }
19636
19637 pub fn set_is_depot_content(&mut self, v: bool) {
19639 self.is_depot_content = ::std::option::Option::Some(v);
19640 }
19641
19642 pub fn rtime_updated(&self) -> u32 {
19645 self.rtime_updated.unwrap_or(0)
19646 }
19647
19648 pub fn clear_rtime_updated(&mut self) {
19649 self.rtime_updated = ::std::option::Option::None;
19650 }
19651
19652 pub fn has_rtime_updated(&self) -> bool {
19653 self.rtime_updated.is_some()
19654 }
19655
19656 pub fn set_rtime_updated(&mut self, v: u32) {
19658 self.rtime_updated = ::std::option::Option::Some(v);
19659 }
19660
19661 pub fn revision(&self) -> EPublishedFileRevision {
19664 match self.revision {
19665 Some(e) => e.enum_value_or(EPublishedFileRevision::k_EPublishedFileRevision_Default),
19666 None => EPublishedFileRevision::k_EPublishedFileRevision_Default,
19667 }
19668 }
19669
19670 pub fn clear_revision(&mut self) {
19671 self.revision = ::std::option::Option::None;
19672 }
19673
19674 pub fn has_revision(&self) -> bool {
19675 self.revision.is_some()
19676 }
19677
19678 pub fn set_revision(&mut self, v: EPublishedFileRevision) {
19680 self.revision = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
19681 }
19682}
19683
19684impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_FileSubscribed_Notification {
19685 const NAME: &'static str = "CPublishedFile_FileSubscribed_Notification";
19686
19687 fn is_initialized(&self) -> bool {
19688 true
19689 }
19690
19691 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19692 while let Some(tag) = is.read_raw_tag_or_eof()? {
19693 match tag {
19694 9 => {
19695 self.published_file_id = ::std::option::Option::Some(is.read_fixed64()?);
19696 },
19697 16 => {
19698 self.app_id = ::std::option::Option::Some(is.read_uint32()?);
19699 },
19700 25 => {
19701 self.file_hcontent = ::std::option::Option::Some(is.read_fixed64()?);
19702 },
19703 32 => {
19704 self.file_size = ::std::option::Option::Some(is.read_uint32()?);
19705 },
19706 40 => {
19707 self.rtime_subscribed = ::std::option::Option::Some(is.read_uint32()?);
19708 },
19709 48 => {
19710 self.is_depot_content = ::std::option::Option::Some(is.read_bool()?);
19711 },
19712 56 => {
19713 self.rtime_updated = ::std::option::Option::Some(is.read_uint32()?);
19714 },
19715 72 => {
19716 self.revision = ::std::option::Option::Some(is.read_enum_or_unknown()?);
19717 },
19718 66 => {
19719 self.revisions.push(is.read_message()?);
19720 },
19721 tag => {
19722 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
19723 },
19724 };
19725 }
19726 ::std::result::Result::Ok(())
19727 }
19728
19729 #[allow(unused_variables)]
19731 fn compute_size(&self) -> u64 {
19732 let mut my_size = 0;
19733 if let Some(v) = self.published_file_id {
19734 my_size += 1 + 8;
19735 }
19736 if let Some(v) = self.app_id {
19737 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
19738 }
19739 if let Some(v) = self.file_hcontent {
19740 my_size += 1 + 8;
19741 }
19742 if let Some(v) = self.file_size {
19743 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
19744 }
19745 if let Some(v) = self.rtime_subscribed {
19746 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
19747 }
19748 if let Some(v) = self.is_depot_content {
19749 my_size += 1 + 1;
19750 }
19751 if let Some(v) = self.rtime_updated {
19752 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
19753 }
19754 if let Some(v) = self.revision {
19755 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(9, v.value());
19756 }
19757 for value in &self.revisions {
19758 let len = value.compute_size();
19759 my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
19760 };
19761 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
19762 self.special_fields.cached_size().set(my_size as u32);
19763 my_size
19764 }
19765
19766 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
19767 if let Some(v) = self.published_file_id {
19768 os.write_fixed64(1, v)?;
19769 }
19770 if let Some(v) = self.app_id {
19771 os.write_uint32(2, v)?;
19772 }
19773 if let Some(v) = self.file_hcontent {
19774 os.write_fixed64(3, v)?;
19775 }
19776 if let Some(v) = self.file_size {
19777 os.write_uint32(4, v)?;
19778 }
19779 if let Some(v) = self.rtime_subscribed {
19780 os.write_uint32(5, v)?;
19781 }
19782 if let Some(v) = self.is_depot_content {
19783 os.write_bool(6, v)?;
19784 }
19785 if let Some(v) = self.rtime_updated {
19786 os.write_uint32(7, v)?;
19787 }
19788 if let Some(v) = self.revision {
19789 os.write_enum(9, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
19790 }
19791 for v in &self.revisions {
19792 ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(8, v, os)?;
19793 };
19794 os.write_unknown_fields(self.special_fields.unknown_fields())?;
19795 ::std::result::Result::Ok(())
19796 }
19797
19798 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
19799 &self.special_fields
19800 }
19801
19802 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
19803 &mut self.special_fields
19804 }
19805
19806 fn new() -> CPublishedFile_FileSubscribed_Notification {
19807 CPublishedFile_FileSubscribed_Notification::new()
19808 }
19809
19810 fn clear(&mut self) {
19811 self.published_file_id = ::std::option::Option::None;
19812 self.app_id = ::std::option::Option::None;
19813 self.file_hcontent = ::std::option::Option::None;
19814 self.file_size = ::std::option::Option::None;
19815 self.rtime_subscribed = ::std::option::Option::None;
19816 self.is_depot_content = ::std::option::Option::None;
19817 self.rtime_updated = ::std::option::Option::None;
19818 self.revision = ::std::option::Option::None;
19819 self.revisions.clear();
19820 self.special_fields.clear();
19821 }
19822
19823 fn default_instance() -> &'static CPublishedFile_FileSubscribed_Notification {
19824 static instance: CPublishedFile_FileSubscribed_Notification = CPublishedFile_FileSubscribed_Notification {
19825 published_file_id: ::std::option::Option::None,
19826 app_id: ::std::option::Option::None,
19827 file_hcontent: ::std::option::Option::None,
19828 file_size: ::std::option::Option::None,
19829 rtime_subscribed: ::std::option::Option::None,
19830 is_depot_content: ::std::option::Option::None,
19831 rtime_updated: ::std::option::Option::None,
19832 revision: ::std::option::Option::None,
19833 revisions: ::std::vec::Vec::new(),
19834 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
19835 };
19836 &instance
19837 }
19838}
19839
19840pub mod cpublished_file_file_subscribed_notification {
19842 #[derive(PartialEq,Clone,Default,Debug)]
19844 pub struct RevisionData {
19845 pub revision: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::EPublishedFileRevision>>,
19848 pub file_hcontent: ::std::option::Option<u64>,
19850 pub rtime_updated: ::std::option::Option<u32>,
19852 pub game_branch_min: ::std::option::Option<::std::string::String>,
19854 pub game_branch_max: ::std::option::Option<::std::string::String>,
19856 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
19859 }
19860
19861 impl<'a> ::std::default::Default for &'a RevisionData {
19862 fn default() -> &'a RevisionData {
19863 <RevisionData as ::steam_vent_proto_common::protobuf::Message>::default_instance()
19864 }
19865 }
19866
19867 impl RevisionData {
19868 pub fn new() -> RevisionData {
19869 ::std::default::Default::default()
19870 }
19871
19872 pub fn revision(&self) -> super::EPublishedFileRevision {
19875 match self.revision {
19876 Some(e) => e.enum_value_or(super::EPublishedFileRevision::k_EPublishedFileRevision_Default),
19877 None => super::EPublishedFileRevision::k_EPublishedFileRevision_Default,
19878 }
19879 }
19880
19881 pub fn clear_revision(&mut self) {
19882 self.revision = ::std::option::Option::None;
19883 }
19884
19885 pub fn has_revision(&self) -> bool {
19886 self.revision.is_some()
19887 }
19888
19889 pub fn set_revision(&mut self, v: super::EPublishedFileRevision) {
19891 self.revision = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
19892 }
19893
19894 pub fn file_hcontent(&self) -> u64 {
19897 self.file_hcontent.unwrap_or(0)
19898 }
19899
19900 pub fn clear_file_hcontent(&mut self) {
19901 self.file_hcontent = ::std::option::Option::None;
19902 }
19903
19904 pub fn has_file_hcontent(&self) -> bool {
19905 self.file_hcontent.is_some()
19906 }
19907
19908 pub fn set_file_hcontent(&mut self, v: u64) {
19910 self.file_hcontent = ::std::option::Option::Some(v);
19911 }
19912
19913 pub fn rtime_updated(&self) -> u32 {
19916 self.rtime_updated.unwrap_or(0)
19917 }
19918
19919 pub fn clear_rtime_updated(&mut self) {
19920 self.rtime_updated = ::std::option::Option::None;
19921 }
19922
19923 pub fn has_rtime_updated(&self) -> bool {
19924 self.rtime_updated.is_some()
19925 }
19926
19927 pub fn set_rtime_updated(&mut self, v: u32) {
19929 self.rtime_updated = ::std::option::Option::Some(v);
19930 }
19931
19932 pub fn game_branch_min(&self) -> &str {
19935 match self.game_branch_min.as_ref() {
19936 Some(v) => v,
19937 None => "",
19938 }
19939 }
19940
19941 pub fn clear_game_branch_min(&mut self) {
19942 self.game_branch_min = ::std::option::Option::None;
19943 }
19944
19945 pub fn has_game_branch_min(&self) -> bool {
19946 self.game_branch_min.is_some()
19947 }
19948
19949 pub fn set_game_branch_min(&mut self, v: ::std::string::String) {
19951 self.game_branch_min = ::std::option::Option::Some(v);
19952 }
19953
19954 pub fn mut_game_branch_min(&mut self) -> &mut ::std::string::String {
19957 if self.game_branch_min.is_none() {
19958 self.game_branch_min = ::std::option::Option::Some(::std::string::String::new());
19959 }
19960 self.game_branch_min.as_mut().unwrap()
19961 }
19962
19963 pub fn take_game_branch_min(&mut self) -> ::std::string::String {
19965 self.game_branch_min.take().unwrap_or_else(|| ::std::string::String::new())
19966 }
19967
19968 pub fn game_branch_max(&self) -> &str {
19971 match self.game_branch_max.as_ref() {
19972 Some(v) => v,
19973 None => "",
19974 }
19975 }
19976
19977 pub fn clear_game_branch_max(&mut self) {
19978 self.game_branch_max = ::std::option::Option::None;
19979 }
19980
19981 pub fn has_game_branch_max(&self) -> bool {
19982 self.game_branch_max.is_some()
19983 }
19984
19985 pub fn set_game_branch_max(&mut self, v: ::std::string::String) {
19987 self.game_branch_max = ::std::option::Option::Some(v);
19988 }
19989
19990 pub fn mut_game_branch_max(&mut self) -> &mut ::std::string::String {
19993 if self.game_branch_max.is_none() {
19994 self.game_branch_max = ::std::option::Option::Some(::std::string::String::new());
19995 }
19996 self.game_branch_max.as_mut().unwrap()
19997 }
19998
19999 pub fn take_game_branch_max(&mut self) -> ::std::string::String {
20001 self.game_branch_max.take().unwrap_or_else(|| ::std::string::String::new())
20002 }
20003 }
20004
20005 impl ::steam_vent_proto_common::protobuf::Message for RevisionData {
20006 const NAME: &'static str = "RevisionData";
20007
20008 fn is_initialized(&self) -> bool {
20009 true
20010 }
20011
20012 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20013 while let Some(tag) = is.read_raw_tag_or_eof()? {
20014 match tag {
20015 8 => {
20016 self.revision = ::std::option::Option::Some(is.read_enum_or_unknown()?);
20017 },
20018 17 => {
20019 self.file_hcontent = ::std::option::Option::Some(is.read_fixed64()?);
20020 },
20021 24 => {
20022 self.rtime_updated = ::std::option::Option::Some(is.read_uint32()?);
20023 },
20024 34 => {
20025 self.game_branch_min = ::std::option::Option::Some(is.read_string()?);
20026 },
20027 42 => {
20028 self.game_branch_max = ::std::option::Option::Some(is.read_string()?);
20029 },
20030 tag => {
20031 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
20032 },
20033 };
20034 }
20035 ::std::result::Result::Ok(())
20036 }
20037
20038 #[allow(unused_variables)]
20040 fn compute_size(&self) -> u64 {
20041 let mut my_size = 0;
20042 if let Some(v) = self.revision {
20043 my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v.value());
20044 }
20045 if let Some(v) = self.file_hcontent {
20046 my_size += 1 + 8;
20047 }
20048 if let Some(v) = self.rtime_updated {
20049 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
20050 }
20051 if let Some(v) = self.game_branch_min.as_ref() {
20052 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
20053 }
20054 if let Some(v) = self.game_branch_max.as_ref() {
20055 my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
20056 }
20057 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
20058 self.special_fields.cached_size().set(my_size as u32);
20059 my_size
20060 }
20061
20062 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20063 if let Some(v) = self.revision {
20064 os.write_enum(1, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
20065 }
20066 if let Some(v) = self.file_hcontent {
20067 os.write_fixed64(2, v)?;
20068 }
20069 if let Some(v) = self.rtime_updated {
20070 os.write_uint32(3, v)?;
20071 }
20072 if let Some(v) = self.game_branch_min.as_ref() {
20073 os.write_string(4, v)?;
20074 }
20075 if let Some(v) = self.game_branch_max.as_ref() {
20076 os.write_string(5, v)?;
20077 }
20078 os.write_unknown_fields(self.special_fields.unknown_fields())?;
20079 ::std::result::Result::Ok(())
20080 }
20081
20082 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
20083 &self.special_fields
20084 }
20085
20086 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
20087 &mut self.special_fields
20088 }
20089
20090 fn new() -> RevisionData {
20091 RevisionData::new()
20092 }
20093
20094 fn clear(&mut self) {
20095 self.revision = ::std::option::Option::None;
20096 self.file_hcontent = ::std::option::Option::None;
20097 self.rtime_updated = ::std::option::Option::None;
20098 self.game_branch_min = ::std::option::Option::None;
20099 self.game_branch_max = ::std::option::Option::None;
20100 self.special_fields.clear();
20101 }
20102
20103 fn default_instance() -> &'static RevisionData {
20104 static instance: RevisionData = RevisionData {
20105 revision: ::std::option::Option::None,
20106 file_hcontent: ::std::option::Option::None,
20107 rtime_updated: ::std::option::Option::None,
20108 game_branch_min: ::std::option::Option::None,
20109 game_branch_max: ::std::option::Option::None,
20110 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
20111 };
20112 &instance
20113 }
20114 }
20115}
20116
20117#[derive(PartialEq,Clone,Default,Debug)]
20119pub struct CPublishedFile_FileUnsubscribed_Notification {
20120 pub published_file_id: ::std::option::Option<u64>,
20123 pub app_id: ::std::option::Option<u32>,
20125 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
20128}
20129
20130impl<'a> ::std::default::Default for &'a CPublishedFile_FileUnsubscribed_Notification {
20131 fn default() -> &'a CPublishedFile_FileUnsubscribed_Notification {
20132 <CPublishedFile_FileUnsubscribed_Notification as ::steam_vent_proto_common::protobuf::Message>::default_instance()
20133 }
20134}
20135
20136impl CPublishedFile_FileUnsubscribed_Notification {
20137 pub fn new() -> CPublishedFile_FileUnsubscribed_Notification {
20138 ::std::default::Default::default()
20139 }
20140
20141 pub fn published_file_id(&self) -> u64 {
20144 self.published_file_id.unwrap_or(0)
20145 }
20146
20147 pub fn clear_published_file_id(&mut self) {
20148 self.published_file_id = ::std::option::Option::None;
20149 }
20150
20151 pub fn has_published_file_id(&self) -> bool {
20152 self.published_file_id.is_some()
20153 }
20154
20155 pub fn set_published_file_id(&mut self, v: u64) {
20157 self.published_file_id = ::std::option::Option::Some(v);
20158 }
20159
20160 pub fn app_id(&self) -> u32 {
20163 self.app_id.unwrap_or(0)
20164 }
20165
20166 pub fn clear_app_id(&mut self) {
20167 self.app_id = ::std::option::Option::None;
20168 }
20169
20170 pub fn has_app_id(&self) -> bool {
20171 self.app_id.is_some()
20172 }
20173
20174 pub fn set_app_id(&mut self, v: u32) {
20176 self.app_id = ::std::option::Option::Some(v);
20177 }
20178}
20179
20180impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_FileUnsubscribed_Notification {
20181 const NAME: &'static str = "CPublishedFile_FileUnsubscribed_Notification";
20182
20183 fn is_initialized(&self) -> bool {
20184 true
20185 }
20186
20187 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20188 while let Some(tag) = is.read_raw_tag_or_eof()? {
20189 match tag {
20190 9 => {
20191 self.published_file_id = ::std::option::Option::Some(is.read_fixed64()?);
20192 },
20193 16 => {
20194 self.app_id = ::std::option::Option::Some(is.read_uint32()?);
20195 },
20196 tag => {
20197 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
20198 },
20199 };
20200 }
20201 ::std::result::Result::Ok(())
20202 }
20203
20204 #[allow(unused_variables)]
20206 fn compute_size(&self) -> u64 {
20207 let mut my_size = 0;
20208 if let Some(v) = self.published_file_id {
20209 my_size += 1 + 8;
20210 }
20211 if let Some(v) = self.app_id {
20212 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
20213 }
20214 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
20215 self.special_fields.cached_size().set(my_size as u32);
20216 my_size
20217 }
20218
20219 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20220 if let Some(v) = self.published_file_id {
20221 os.write_fixed64(1, v)?;
20222 }
20223 if let Some(v) = self.app_id {
20224 os.write_uint32(2, v)?;
20225 }
20226 os.write_unknown_fields(self.special_fields.unknown_fields())?;
20227 ::std::result::Result::Ok(())
20228 }
20229
20230 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
20231 &self.special_fields
20232 }
20233
20234 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
20235 &mut self.special_fields
20236 }
20237
20238 fn new() -> CPublishedFile_FileUnsubscribed_Notification {
20239 CPublishedFile_FileUnsubscribed_Notification::new()
20240 }
20241
20242 fn clear(&mut self) {
20243 self.published_file_id = ::std::option::Option::None;
20244 self.app_id = ::std::option::Option::None;
20245 self.special_fields.clear();
20246 }
20247
20248 fn default_instance() -> &'static CPublishedFile_FileUnsubscribed_Notification {
20249 static instance: CPublishedFile_FileUnsubscribed_Notification = CPublishedFile_FileUnsubscribed_Notification {
20250 published_file_id: ::std::option::Option::None,
20251 app_id: ::std::option::Option::None,
20252 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
20253 };
20254 &instance
20255 }
20256}
20257
20258#[derive(PartialEq,Clone,Default,Debug)]
20260pub struct CPublishedFile_FileDeleted_Client_Notification {
20261 pub published_file_id: ::std::option::Option<u64>,
20264 pub app_id: ::std::option::Option<u32>,
20266 pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
20269}
20270
20271impl<'a> ::std::default::Default for &'a CPublishedFile_FileDeleted_Client_Notification {
20272 fn default() -> &'a CPublishedFile_FileDeleted_Client_Notification {
20273 <CPublishedFile_FileDeleted_Client_Notification as ::steam_vent_proto_common::protobuf::Message>::default_instance()
20274 }
20275}
20276
20277impl CPublishedFile_FileDeleted_Client_Notification {
20278 pub fn new() -> CPublishedFile_FileDeleted_Client_Notification {
20279 ::std::default::Default::default()
20280 }
20281
20282 pub fn published_file_id(&self) -> u64 {
20285 self.published_file_id.unwrap_or(0)
20286 }
20287
20288 pub fn clear_published_file_id(&mut self) {
20289 self.published_file_id = ::std::option::Option::None;
20290 }
20291
20292 pub fn has_published_file_id(&self) -> bool {
20293 self.published_file_id.is_some()
20294 }
20295
20296 pub fn set_published_file_id(&mut self, v: u64) {
20298 self.published_file_id = ::std::option::Option::Some(v);
20299 }
20300
20301 pub fn app_id(&self) -> u32 {
20304 self.app_id.unwrap_or(0)
20305 }
20306
20307 pub fn clear_app_id(&mut self) {
20308 self.app_id = ::std::option::Option::None;
20309 }
20310
20311 pub fn has_app_id(&self) -> bool {
20312 self.app_id.is_some()
20313 }
20314
20315 pub fn set_app_id(&mut self, v: u32) {
20317 self.app_id = ::std::option::Option::Some(v);
20318 }
20319}
20320
20321impl ::steam_vent_proto_common::protobuf::Message for CPublishedFile_FileDeleted_Client_Notification {
20322 const NAME: &'static str = "CPublishedFile_FileDeleted_Client_Notification";
20323
20324 fn is_initialized(&self) -> bool {
20325 true
20326 }
20327
20328 fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20329 while let Some(tag) = is.read_raw_tag_or_eof()? {
20330 match tag {
20331 9 => {
20332 self.published_file_id = ::std::option::Option::Some(is.read_fixed64()?);
20333 },
20334 16 => {
20335 self.app_id = ::std::option::Option::Some(is.read_uint32()?);
20336 },
20337 tag => {
20338 ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
20339 },
20340 };
20341 }
20342 ::std::result::Result::Ok(())
20343 }
20344
20345 #[allow(unused_variables)]
20347 fn compute_size(&self) -> u64 {
20348 let mut my_size = 0;
20349 if let Some(v) = self.published_file_id {
20350 my_size += 1 + 8;
20351 }
20352 if let Some(v) = self.app_id {
20353 my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
20354 }
20355 my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
20356 self.special_fields.cached_size().set(my_size as u32);
20357 my_size
20358 }
20359
20360 fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
20361 if let Some(v) = self.published_file_id {
20362 os.write_fixed64(1, v)?;
20363 }
20364 if let Some(v) = self.app_id {
20365 os.write_uint32(2, v)?;
20366 }
20367 os.write_unknown_fields(self.special_fields.unknown_fields())?;
20368 ::std::result::Result::Ok(())
20369 }
20370
20371 fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
20372 &self.special_fields
20373 }
20374
20375 fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
20376 &mut self.special_fields
20377 }
20378
20379 fn new() -> CPublishedFile_FileDeleted_Client_Notification {
20380 CPublishedFile_FileDeleted_Client_Notification::new()
20381 }
20382
20383 fn clear(&mut self) {
20384 self.published_file_id = ::std::option::Option::None;
20385 self.app_id = ::std::option::Option::None;
20386 self.special_fields.clear();
20387 }
20388
20389 fn default_instance() -> &'static CPublishedFile_FileDeleted_Client_Notification {
20390 static instance: CPublishedFile_FileDeleted_Client_Notification = CPublishedFile_FileDeleted_Client_Notification {
20391 published_file_id: ::std::option::Option::None,
20392 app_id: ::std::option::Option::None,
20393 special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
20394 };
20395 &instance
20396 }
20397}
20398
20399#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
20400pub enum EPublishedFileRevision {
20402 k_EPublishedFileRevision_Default = 0,
20404 k_EPublishedFileRevision_Latest = 1,
20406 k_EPublishedFileRevision_ApprovedSnapshot = 2,
20408 k_EPublishedFileRevision_ApprovedSnapshot_China = 3,
20410 k_EPublishedFileRevision_RejectedSnapshot = 4,
20412 k_EPublishedFileRevision_RejectedSnapshot_China = 5,
20414 k_EPublishedFileRevision_AuthorSnapshot = 6,
20416}
20417
20418impl ::steam_vent_proto_common::protobuf::Enum for EPublishedFileRevision {
20419 const NAME: &'static str = "EPublishedFileRevision";
20420
20421 fn value(&self) -> i32 {
20422 *self as i32
20423 }
20424
20425 fn from_i32(value: i32) -> ::std::option::Option<EPublishedFileRevision> {
20426 match value {
20427 0 => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_Default),
20428 1 => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_Latest),
20429 2 => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_ApprovedSnapshot),
20430 3 => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_ApprovedSnapshot_China),
20431 4 => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_RejectedSnapshot),
20432 5 => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_RejectedSnapshot_China),
20433 6 => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_AuthorSnapshot),
20434 _ => ::std::option::Option::None
20435 }
20436 }
20437
20438 fn from_str(str: &str) -> ::std::option::Option<EPublishedFileRevision> {
20439 match str {
20440 "k_EPublishedFileRevision_Default" => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_Default),
20441 "k_EPublishedFileRevision_Latest" => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_Latest),
20442 "k_EPublishedFileRevision_ApprovedSnapshot" => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_ApprovedSnapshot),
20443 "k_EPublishedFileRevision_ApprovedSnapshot_China" => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_ApprovedSnapshot_China),
20444 "k_EPublishedFileRevision_RejectedSnapshot" => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_RejectedSnapshot),
20445 "k_EPublishedFileRevision_RejectedSnapshot_China" => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_RejectedSnapshot_China),
20446 "k_EPublishedFileRevision_AuthorSnapshot" => ::std::option::Option::Some(EPublishedFileRevision::k_EPublishedFileRevision_AuthorSnapshot),
20447 _ => ::std::option::Option::None
20448 }
20449 }
20450
20451 const VALUES: &'static [EPublishedFileRevision] = &[
20452 EPublishedFileRevision::k_EPublishedFileRevision_Default,
20453 EPublishedFileRevision::k_EPublishedFileRevision_Latest,
20454 EPublishedFileRevision::k_EPublishedFileRevision_ApprovedSnapshot,
20455 EPublishedFileRevision::k_EPublishedFileRevision_ApprovedSnapshot_China,
20456 EPublishedFileRevision::k_EPublishedFileRevision_RejectedSnapshot,
20457 EPublishedFileRevision::k_EPublishedFileRevision_RejectedSnapshot_China,
20458 EPublishedFileRevision::k_EPublishedFileRevision_AuthorSnapshot,
20459 ];
20460}
20461
20462impl ::std::default::Default for EPublishedFileRevision {
20463 fn default() -> Self {
20464 EPublishedFileRevision::k_EPublishedFileRevision_Default
20465 }
20466}
20467
20468
20469#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
20470pub enum EPublishedFileForSaleStatus {
20472 k_PFFSS_NotForSale = 0,
20474 k_PFFSS_PendingApproval = 1,
20476 k_PFFSS_ApprovedForSale = 2,
20478 k_PFFSS_RejectedForSale = 3,
20480 k_PFFSS_NoLongerForSale = 4,
20482 k_PFFSS_TentativeApproval = 5,
20484}
20485
20486impl ::steam_vent_proto_common::protobuf::Enum for EPublishedFileForSaleStatus {
20487 const NAME: &'static str = "EPublishedFileForSaleStatus";
20488
20489 fn value(&self) -> i32 {
20490 *self as i32
20491 }
20492
20493 fn from_i32(value: i32) -> ::std::option::Option<EPublishedFileForSaleStatus> {
20494 match value {
20495 0 => ::std::option::Option::Some(EPublishedFileForSaleStatus::k_PFFSS_NotForSale),
20496 1 => ::std::option::Option::Some(EPublishedFileForSaleStatus::k_PFFSS_PendingApproval),
20497 2 => ::std::option::Option::Some(EPublishedFileForSaleStatus::k_PFFSS_ApprovedForSale),
20498 3 => ::std::option::Option::Some(EPublishedFileForSaleStatus::k_PFFSS_RejectedForSale),
20499 4 => ::std::option::Option::Some(EPublishedFileForSaleStatus::k_PFFSS_NoLongerForSale),
20500 5 => ::std::option::Option::Some(EPublishedFileForSaleStatus::k_PFFSS_TentativeApproval),
20501 _ => ::std::option::Option::None
20502 }
20503 }
20504
20505 fn from_str(str: &str) -> ::std::option::Option<EPublishedFileForSaleStatus> {
20506 match str {
20507 "k_PFFSS_NotForSale" => ::std::option::Option::Some(EPublishedFileForSaleStatus::k_PFFSS_NotForSale),
20508 "k_PFFSS_PendingApproval" => ::std::option::Option::Some(EPublishedFileForSaleStatus::k_PFFSS_PendingApproval),
20509 "k_PFFSS_ApprovedForSale" => ::std::option::Option::Some(EPublishedFileForSaleStatus::k_PFFSS_ApprovedForSale),
20510 "k_PFFSS_RejectedForSale" => ::std::option::Option::Some(EPublishedFileForSaleStatus::k_PFFSS_RejectedForSale),
20511 "k_PFFSS_NoLongerForSale" => ::std::option::Option::Some(EPublishedFileForSaleStatus::k_PFFSS_NoLongerForSale),
20512 "k_PFFSS_TentativeApproval" => ::std::option::Option::Some(EPublishedFileForSaleStatus::k_PFFSS_TentativeApproval),
20513 _ => ::std::option::Option::None
20514 }
20515 }
20516
20517 const VALUES: &'static [EPublishedFileForSaleStatus] = &[
20518 EPublishedFileForSaleStatus::k_PFFSS_NotForSale,
20519 EPublishedFileForSaleStatus::k_PFFSS_PendingApproval,
20520 EPublishedFileForSaleStatus::k_PFFSS_ApprovedForSale,
20521 EPublishedFileForSaleStatus::k_PFFSS_RejectedForSale,
20522 EPublishedFileForSaleStatus::k_PFFSS_NoLongerForSale,
20523 EPublishedFileForSaleStatus::k_PFFSS_TentativeApproval,
20524 ];
20525}
20526
20527impl ::std::default::Default for EPublishedFileForSaleStatus {
20528 fn default() -> Self {
20529 EPublishedFileForSaleStatus::k_PFFSS_NotForSale
20530 }
20531}
20532
20533
20534
20535const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
20536
20537#[allow(unused_imports)]
20538use crate::steammessages_base::*;
20539#[allow(unused_imports)]
20540use crate::steammessages_unified_base_steamclient::*;
20541#[allow(unused_imports)]
20542use crate::enums_productinfo::*;
20543impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_Vote_Request {
20544 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20545 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20546 }
20547 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20548 use ::steam_vent_proto_common::protobuf::Message;
20549 self.write_to_writer(writer)
20550 }
20551 fn encode_size(&self) -> usize {
20552 use ::steam_vent_proto_common::protobuf::Message;
20553 self.compute_size() as usize
20554 }
20555}
20556impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_Vote_Response {
20557 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20558 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20559 }
20560 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20561 use ::steam_vent_proto_common::protobuf::Message;
20562 self.write_to_writer(writer)
20563 }
20564 fn encode_size(&self) -> usize {
20565 use ::steam_vent_proto_common::protobuf::Message;
20566 self.compute_size() as usize
20567 }
20568}
20569impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_Subscribe_Request {
20570 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20571 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20572 }
20573 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20574 use ::steam_vent_proto_common::protobuf::Message;
20575 self.write_to_writer(writer)
20576 }
20577 fn encode_size(&self) -> usize {
20578 use ::steam_vent_proto_common::protobuf::Message;
20579 self.compute_size() as usize
20580 }
20581}
20582impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_Subscribe_Response {
20583 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20584 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20585 }
20586 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20587 use ::steam_vent_proto_common::protobuf::Message;
20588 self.write_to_writer(writer)
20589 }
20590 fn encode_size(&self) -> usize {
20591 use ::steam_vent_proto_common::protobuf::Message;
20592 self.compute_size() as usize
20593 }
20594}
20595impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_Unsubscribe_Request {
20596 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20597 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20598 }
20599 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20600 use ::steam_vent_proto_common::protobuf::Message;
20601 self.write_to_writer(writer)
20602 }
20603 fn encode_size(&self) -> usize {
20604 use ::steam_vent_proto_common::protobuf::Message;
20605 self.compute_size() as usize
20606 }
20607}
20608impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_Unsubscribe_Response {
20609 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20610 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20611 }
20612 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20613 use ::steam_vent_proto_common::protobuf::Message;
20614 self.write_to_writer(writer)
20615 }
20616 fn encode_size(&self) -> usize {
20617 use ::steam_vent_proto_common::protobuf::Message;
20618 self.compute_size() as usize
20619 }
20620}
20621impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_CanSubscribe_Request {
20622 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20623 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20624 }
20625 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20626 use ::steam_vent_proto_common::protobuf::Message;
20627 self.write_to_writer(writer)
20628 }
20629 fn encode_size(&self) -> usize {
20630 use ::steam_vent_proto_common::protobuf::Message;
20631 self.compute_size() as usize
20632 }
20633}
20634impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_CanSubscribe_Response {
20635 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20636 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20637 }
20638 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20639 use ::steam_vent_proto_common::protobuf::Message;
20640 self.write_to_writer(writer)
20641 }
20642 fn encode_size(&self) -> usize {
20643 use ::steam_vent_proto_common::protobuf::Message;
20644 self.compute_size() as usize
20645 }
20646}
20647impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_GetSubSectionData_Request {
20648 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20649 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20650 }
20651 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20652 use ::steam_vent_proto_common::protobuf::Message;
20653 self.write_to_writer(writer)
20654 }
20655 fn encode_size(&self) -> usize {
20656 use ::steam_vent_proto_common::protobuf::Message;
20657 self.compute_size() as usize
20658 }
20659}
20660impl ::steam_vent_proto_common::RpcMessage for PublishedFileSubSection {
20661 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20662 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20663 }
20664 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20665 use ::steam_vent_proto_common::protobuf::Message;
20666 self.write_to_writer(writer)
20667 }
20668 fn encode_size(&self) -> usize {
20669 use ::steam_vent_proto_common::protobuf::Message;
20670 self.compute_size() as usize
20671 }
20672}
20673impl ::steam_vent_proto_common::RpcMessage
20674for CPublishedFile_GetSubSectionData_Response {
20675 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20676 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20677 }
20678 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20679 use ::steam_vent_proto_common::protobuf::Message;
20680 self.write_to_writer(writer)
20681 }
20682 fn encode_size(&self) -> usize {
20683 use ::steam_vent_proto_common::protobuf::Message;
20684 self.compute_size() as usize
20685 }
20686}
20687impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_Publish_Request {
20688 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20689 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20690 }
20691 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20692 use ::steam_vent_proto_common::protobuf::Message;
20693 self.write_to_writer(writer)
20694 }
20695 fn encode_size(&self) -> usize {
20696 use ::steam_vent_proto_common::protobuf::Message;
20697 self.compute_size() as usize
20698 }
20699}
20700impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_Publish_Response {
20701 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20702 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20703 }
20704 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20705 use ::steam_vent_proto_common::protobuf::Message;
20706 self.write_to_writer(writer)
20707 }
20708 fn encode_size(&self) -> usize {
20709 use ::steam_vent_proto_common::protobuf::Message;
20710 self.compute_size() as usize
20711 }
20712}
20713impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_GetDetails_Request {
20714 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20715 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20716 }
20717 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20718 use ::steam_vent_proto_common::protobuf::Message;
20719 self.write_to_writer(writer)
20720 }
20721 fn encode_size(&self) -> usize {
20722 use ::steam_vent_proto_common::protobuf::Message;
20723 self.compute_size() as usize
20724 }
20725}
20726impl ::steam_vent_proto_common::RpcMessage for PublishedFileAuthorSnapshot {
20727 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20728 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20729 }
20730 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20731 use ::steam_vent_proto_common::protobuf::Message;
20732 self.write_to_writer(writer)
20733 }
20734 fn encode_size(&self) -> usize {
20735 use ::steam_vent_proto_common::protobuf::Message;
20736 self.compute_size() as usize
20737 }
20738}
20739impl ::steam_vent_proto_common::RpcMessage for PublishedFileDetails {
20740 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20741 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20742 }
20743 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20744 use ::steam_vent_proto_common::protobuf::Message;
20745 self.write_to_writer(writer)
20746 }
20747 fn encode_size(&self) -> usize {
20748 use ::steam_vent_proto_common::protobuf::Message;
20749 self.compute_size() as usize
20750 }
20751}
20752impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_GetDetails_Response {
20753 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20754 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20755 }
20756 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20757 use ::steam_vent_proto_common::protobuf::Message;
20758 self.write_to_writer(writer)
20759 }
20760 fn encode_size(&self) -> usize {
20761 use ::steam_vent_proto_common::protobuf::Message;
20762 self.compute_size() as usize
20763 }
20764}
20765impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_GetItemInfo_Request {
20766 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20767 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20768 }
20769 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20770 use ::steam_vent_proto_common::protobuf::Message;
20771 self.write_to_writer(writer)
20772 }
20773 fn encode_size(&self) -> usize {
20774 use ::steam_vent_proto_common::protobuf::Message;
20775 self.compute_size() as usize
20776 }
20777}
20778impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_GetItemInfo_Response {
20779 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20780 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20781 }
20782 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20783 use ::steam_vent_proto_common::protobuf::Message;
20784 self.write_to_writer(writer)
20785 }
20786 fn encode_size(&self) -> usize {
20787 use ::steam_vent_proto_common::protobuf::Message;
20788 self.compute_size() as usize
20789 }
20790}
20791impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_GetUserFiles_Request {
20792 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20793 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20794 }
20795 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20796 use ::steam_vent_proto_common::protobuf::Message;
20797 self.write_to_writer(writer)
20798 }
20799 fn encode_size(&self) -> usize {
20800 use ::steam_vent_proto_common::protobuf::Message;
20801 self.compute_size() as usize
20802 }
20803}
20804impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_GetUserFiles_Response {
20805 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20806 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20807 }
20808 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20809 use ::steam_vent_proto_common::protobuf::Message;
20810 self.write_to_writer(writer)
20811 }
20812 fn encode_size(&self) -> usize {
20813 use ::steam_vent_proto_common::protobuf::Message;
20814 self.compute_size() as usize
20815 }
20816}
20817impl ::steam_vent_proto_common::RpcMessage
20818for CPublishedFile_AreFilesInSubscriptionList_Request {
20819 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20820 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20821 }
20822 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20823 use ::steam_vent_proto_common::protobuf::Message;
20824 self.write_to_writer(writer)
20825 }
20826 fn encode_size(&self) -> usize {
20827 use ::steam_vent_proto_common::protobuf::Message;
20828 self.compute_size() as usize
20829 }
20830}
20831impl ::steam_vent_proto_common::RpcMessage
20832for CPublishedFile_AreFilesInSubscriptionList_Response {
20833 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20834 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20835 }
20836 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20837 use ::steam_vent_proto_common::protobuf::Message;
20838 self.write_to_writer(writer)
20839 }
20840 fn encode_size(&self) -> usize {
20841 use ::steam_vent_proto_common::protobuf::Message;
20842 self.compute_size() as usize
20843 }
20844}
20845impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_Update_Request {
20846 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20847 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20848 }
20849 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20850 use ::steam_vent_proto_common::protobuf::Message;
20851 self.write_to_writer(writer)
20852 }
20853 fn encode_size(&self) -> usize {
20854 use ::steam_vent_proto_common::protobuf::Message;
20855 self.compute_size() as usize
20856 }
20857}
20858impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_Update_Response {
20859 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20860 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20861 }
20862 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20863 use ::steam_vent_proto_common::protobuf::Message;
20864 self.write_to_writer(writer)
20865 }
20866 fn encode_size(&self) -> usize {
20867 use ::steam_vent_proto_common::protobuf::Message;
20868 self.compute_size() as usize
20869 }
20870}
20871impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_Delete_Request {
20872 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20873 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20874 }
20875 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20876 use ::steam_vent_proto_common::protobuf::Message;
20877 self.write_to_writer(writer)
20878 }
20879 fn encode_size(&self) -> usize {
20880 use ::steam_vent_proto_common::protobuf::Message;
20881 self.compute_size() as usize
20882 }
20883}
20884impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_Delete_Response {
20885 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20886 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20887 }
20888 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20889 use ::steam_vent_proto_common::protobuf::Message;
20890 self.write_to_writer(writer)
20891 }
20892 fn encode_size(&self) -> usize {
20893 use ::steam_vent_proto_common::protobuf::Message;
20894 self.compute_size() as usize
20895 }
20896}
20897impl ::steam_vent_proto_common::RpcMessage
20898for CPublishedFile_GetChangeHistoryEntry_Request {
20899 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20900 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20901 }
20902 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20903 use ::steam_vent_proto_common::protobuf::Message;
20904 self.write_to_writer(writer)
20905 }
20906 fn encode_size(&self) -> usize {
20907 use ::steam_vent_proto_common::protobuf::Message;
20908 self.compute_size() as usize
20909 }
20910}
20911impl ::steam_vent_proto_common::RpcMessage
20912for CPublishedFile_GetChangeHistoryEntry_Response {
20913 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20914 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20915 }
20916 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20917 use ::steam_vent_proto_common::protobuf::Message;
20918 self.write_to_writer(writer)
20919 }
20920 fn encode_size(&self) -> usize {
20921 use ::steam_vent_proto_common::protobuf::Message;
20922 self.compute_size() as usize
20923 }
20924}
20925impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_GetChangeHistory_Request {
20926 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20927 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20928 }
20929 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20930 use ::steam_vent_proto_common::protobuf::Message;
20931 self.write_to_writer(writer)
20932 }
20933 fn encode_size(&self) -> usize {
20934 use ::steam_vent_proto_common::protobuf::Message;
20935 self.compute_size() as usize
20936 }
20937}
20938impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_GetChangeHistory_Response {
20939 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20940 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20941 }
20942 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20943 use ::steam_vent_proto_common::protobuf::Message;
20944 self.write_to_writer(writer)
20945 }
20946 fn encode_size(&self) -> usize {
20947 use ::steam_vent_proto_common::protobuf::Message;
20948 self.compute_size() as usize
20949 }
20950}
20951impl ::steam_vent_proto_common::RpcMessage
20952for CPublishedFile_RefreshVotingQueue_Request {
20953 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20954 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20955 }
20956 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20957 use ::steam_vent_proto_common::protobuf::Message;
20958 self.write_to_writer(writer)
20959 }
20960 fn encode_size(&self) -> usize {
20961 use ::steam_vent_proto_common::protobuf::Message;
20962 self.compute_size() as usize
20963 }
20964}
20965impl ::steam_vent_proto_common::RpcMessage
20966for CPublishedFile_RefreshVotingQueue_Response {
20967 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20968 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20969 }
20970 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20971 use ::steam_vent_proto_common::protobuf::Message;
20972 self.write_to_writer(writer)
20973 }
20974 fn encode_size(&self) -> usize {
20975 use ::steam_vent_proto_common::protobuf::Message;
20976 self.compute_size() as usize
20977 }
20978}
20979impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_QueryFiles_Request {
20980 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20981 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20982 }
20983 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20984 use ::steam_vent_proto_common::protobuf::Message;
20985 self.write_to_writer(writer)
20986 }
20987 fn encode_size(&self) -> usize {
20988 use ::steam_vent_proto_common::protobuf::Message;
20989 self.compute_size() as usize
20990 }
20991}
20992impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_QueryFiles_Response {
20993 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
20994 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
20995 }
20996 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
20997 use ::steam_vent_proto_common::protobuf::Message;
20998 self.write_to_writer(writer)
20999 }
21000 fn encode_size(&self) -> usize {
21001 use ::steam_vent_proto_common::protobuf::Message;
21002 self.compute_size() as usize
21003 }
21004}
21005impl ::steam_vent_proto_common::RpcMessage
21006for CPublishedFile_AddAppRelationship_Request {
21007 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21008 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21009 }
21010 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21011 use ::steam_vent_proto_common::protobuf::Message;
21012 self.write_to_writer(writer)
21013 }
21014 fn encode_size(&self) -> usize {
21015 use ::steam_vent_proto_common::protobuf::Message;
21016 self.compute_size() as usize
21017 }
21018}
21019impl ::steam_vent_proto_common::RpcMessage
21020for CPublishedFile_AddAppRelationship_Response {
21021 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21022 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21023 }
21024 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21025 use ::steam_vent_proto_common::protobuf::Message;
21026 self.write_to_writer(writer)
21027 }
21028 fn encode_size(&self) -> usize {
21029 use ::steam_vent_proto_common::protobuf::Message;
21030 self.compute_size() as usize
21031 }
21032}
21033impl ::steam_vent_proto_common::RpcMessage
21034for CPublishedFile_RemoveAppRelationship_Request {
21035 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21036 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21037 }
21038 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21039 use ::steam_vent_proto_common::protobuf::Message;
21040 self.write_to_writer(writer)
21041 }
21042 fn encode_size(&self) -> usize {
21043 use ::steam_vent_proto_common::protobuf::Message;
21044 self.compute_size() as usize
21045 }
21046}
21047impl ::steam_vent_proto_common::RpcMessage
21048for CPublishedFile_RemoveAppRelationship_Response {
21049 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21050 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21051 }
21052 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21053 use ::steam_vent_proto_common::protobuf::Message;
21054 self.write_to_writer(writer)
21055 }
21056 fn encode_size(&self) -> usize {
21057 use ::steam_vent_proto_common::protobuf::Message;
21058 self.compute_size() as usize
21059 }
21060}
21061impl ::steam_vent_proto_common::RpcMessage
21062for CPublishedFile_GetAppRelationships_Request {
21063 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21064 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21065 }
21066 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21067 use ::steam_vent_proto_common::protobuf::Message;
21068 self.write_to_writer(writer)
21069 }
21070 fn encode_size(&self) -> usize {
21071 use ::steam_vent_proto_common::protobuf::Message;
21072 self.compute_size() as usize
21073 }
21074}
21075impl ::steam_vent_proto_common::RpcMessage
21076for CPublishedFile_GetAppRelationships_Response {
21077 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21078 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21079 }
21080 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21081 use ::steam_vent_proto_common::protobuf::Message;
21082 self.write_to_writer(writer)
21083 }
21084 fn encode_size(&self) -> usize {
21085 use ::steam_vent_proto_common::protobuf::Message;
21086 self.compute_size() as usize
21087 }
21088}
21089impl ::steam_vent_proto_common::RpcMessage
21090for CPublishedFile_GetAppRelationshipsBatched_Request {
21091 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21092 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21093 }
21094 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21095 use ::steam_vent_proto_common::protobuf::Message;
21096 self.write_to_writer(writer)
21097 }
21098 fn encode_size(&self) -> usize {
21099 use ::steam_vent_proto_common::protobuf::Message;
21100 self.compute_size() as usize
21101 }
21102}
21103impl ::steam_vent_proto_common::RpcMessage
21104for CPublishedFile_GetAppRelationshipsBatched_Response {
21105 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21106 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21107 }
21108 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21109 use ::steam_vent_proto_common::protobuf::Message;
21110 self.write_to_writer(writer)
21111 }
21112 fn encode_size(&self) -> usize {
21113 use ::steam_vent_proto_common::protobuf::Message;
21114 self.compute_size() as usize
21115 }
21116}
21117impl ::steam_vent_proto_common::RpcMessage
21118for CPublishedFile_StartPlaytimeTracking_Request {
21119 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21120 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21121 }
21122 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21123 use ::steam_vent_proto_common::protobuf::Message;
21124 self.write_to_writer(writer)
21125 }
21126 fn encode_size(&self) -> usize {
21127 use ::steam_vent_proto_common::protobuf::Message;
21128 self.compute_size() as usize
21129 }
21130}
21131impl ::steam_vent_proto_common::RpcMessage
21132for CPublishedFile_StartPlaytimeTracking_Response {
21133 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21134 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21135 }
21136 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21137 use ::steam_vent_proto_common::protobuf::Message;
21138 self.write_to_writer(writer)
21139 }
21140 fn encode_size(&self) -> usize {
21141 use ::steam_vent_proto_common::protobuf::Message;
21142 self.compute_size() as usize
21143 }
21144}
21145impl ::steam_vent_proto_common::RpcMessage
21146for CPublishedFile_StopPlaytimeTracking_Request {
21147 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21148 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21149 }
21150 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21151 use ::steam_vent_proto_common::protobuf::Message;
21152 self.write_to_writer(writer)
21153 }
21154 fn encode_size(&self) -> usize {
21155 use ::steam_vent_proto_common::protobuf::Message;
21156 self.compute_size() as usize
21157 }
21158}
21159impl ::steam_vent_proto_common::RpcMessage
21160for CPublishedFile_StopPlaytimeTracking_Response {
21161 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21162 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21163 }
21164 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21165 use ::steam_vent_proto_common::protobuf::Message;
21166 self.write_to_writer(writer)
21167 }
21168 fn encode_size(&self) -> usize {
21169 use ::steam_vent_proto_common::protobuf::Message;
21170 self.compute_size() as usize
21171 }
21172}
21173impl ::steam_vent_proto_common::RpcMessage
21174for CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request {
21175 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21176 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21177 }
21178 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21179 use ::steam_vent_proto_common::protobuf::Message;
21180 self.write_to_writer(writer)
21181 }
21182 fn encode_size(&self) -> usize {
21183 use ::steam_vent_proto_common::protobuf::Message;
21184 self.compute_size() as usize
21185 }
21186}
21187impl ::steam_vent_proto_common::RpcMessage
21188for CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response {
21189 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21190 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21191 }
21192 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21193 use ::steam_vent_proto_common::protobuf::Message;
21194 self.write_to_writer(writer)
21195 }
21196 fn encode_size(&self) -> usize {
21197 use ::steam_vent_proto_common::protobuf::Message;
21198 self.compute_size() as usize
21199 }
21200}
21201impl ::steam_vent_proto_common::RpcMessage
21202for CPublishedFile_SetPlaytimeForControllerConfigs_Request {
21203 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21204 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21205 }
21206 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21207 use ::steam_vent_proto_common::protobuf::Message;
21208 self.write_to_writer(writer)
21209 }
21210 fn encode_size(&self) -> usize {
21211 use ::steam_vent_proto_common::protobuf::Message;
21212 self.compute_size() as usize
21213 }
21214}
21215impl ::steam_vent_proto_common::RpcMessage
21216for CPublishedFile_SetPlaytimeForControllerConfigs_Response {
21217 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21218 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21219 }
21220 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21221 use ::steam_vent_proto_common::protobuf::Message;
21222 self.write_to_writer(writer)
21223 }
21224 fn encode_size(&self) -> usize {
21225 use ::steam_vent_proto_common::protobuf::Message;
21226 self.compute_size() as usize
21227 }
21228}
21229impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_AddChild_Request {
21230 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21231 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21232 }
21233 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21234 use ::steam_vent_proto_common::protobuf::Message;
21235 self.write_to_writer(writer)
21236 }
21237 fn encode_size(&self) -> usize {
21238 use ::steam_vent_proto_common::protobuf::Message;
21239 self.compute_size() as usize
21240 }
21241}
21242impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_AddChild_Response {
21243 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21244 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21245 }
21246 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21247 use ::steam_vent_proto_common::protobuf::Message;
21248 self.write_to_writer(writer)
21249 }
21250 fn encode_size(&self) -> usize {
21251 use ::steam_vent_proto_common::protobuf::Message;
21252 self.compute_size() as usize
21253 }
21254}
21255impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_RemoveChild_Request {
21256 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21257 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21258 }
21259 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21260 use ::steam_vent_proto_common::protobuf::Message;
21261 self.write_to_writer(writer)
21262 }
21263 fn encode_size(&self) -> usize {
21264 use ::steam_vent_proto_common::protobuf::Message;
21265 self.compute_size() as usize
21266 }
21267}
21268impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_RemoveChild_Response {
21269 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21270 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21271 }
21272 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21273 use ::steam_vent_proto_common::protobuf::Message;
21274 self.write_to_writer(writer)
21275 }
21276 fn encode_size(&self) -> usize {
21277 use ::steam_vent_proto_common::protobuf::Message;
21278 self.compute_size() as usize
21279 }
21280}
21281impl ::steam_vent_proto_common::RpcMessage
21282for CPublishedFile_SetCollectionChildren_Request {
21283 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21284 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21285 }
21286 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21287 use ::steam_vent_proto_common::protobuf::Message;
21288 self.write_to_writer(writer)
21289 }
21290 fn encode_size(&self) -> usize {
21291 use ::steam_vent_proto_common::protobuf::Message;
21292 self.compute_size() as usize
21293 }
21294}
21295impl ::steam_vent_proto_common::RpcMessage
21296for CPublishedFile_SetCollectionChildren_Response {
21297 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21298 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21299 }
21300 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21301 use ::steam_vent_proto_common::protobuf::Message;
21302 self.write_to_writer(writer)
21303 }
21304 fn encode_size(&self) -> usize {
21305 use ::steam_vent_proto_common::protobuf::Message;
21306 self.compute_size() as usize
21307 }
21308}
21309impl ::steam_vent_proto_common::RpcMessage
21310for CPublishedFile_SetSubscriptionListFromCollection_Request {
21311 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21312 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21313 }
21314 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21315 use ::steam_vent_proto_common::protobuf::Message;
21316 self.write_to_writer(writer)
21317 }
21318 fn encode_size(&self) -> usize {
21319 use ::steam_vent_proto_common::protobuf::Message;
21320 self.compute_size() as usize
21321 }
21322}
21323impl ::steam_vent_proto_common::RpcMessage
21324for CPublishedFile_SetSubscriptionListFromCollection_Response {
21325 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21326 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21327 }
21328 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21329 use ::steam_vent_proto_common::protobuf::Message;
21330 self.write_to_writer(writer)
21331 }
21332 fn encode_size(&self) -> usize {
21333 use ::steam_vent_proto_common::protobuf::Message;
21334 self.compute_size() as usize
21335 }
21336}
21337impl ::steam_vent_proto_common::RpcMessage
21338for CPublishedFile_GetUserVoteSummary_Request {
21339 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21340 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21341 }
21342 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21343 use ::steam_vent_proto_common::protobuf::Message;
21344 self.write_to_writer(writer)
21345 }
21346 fn encode_size(&self) -> usize {
21347 use ::steam_vent_proto_common::protobuf::Message;
21348 self.compute_size() as usize
21349 }
21350}
21351impl ::steam_vent_proto_common::RpcMessage
21352for CPublishedFile_GetUserVoteSummary_Response {
21353 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21354 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21355 }
21356 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21357 use ::steam_vent_proto_common::protobuf::Message;
21358 self.write_to_writer(writer)
21359 }
21360 fn encode_size(&self) -> usize {
21361 use ::steam_vent_proto_common::protobuf::Message;
21362 self.compute_size() as usize
21363 }
21364}
21365impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_GetItemChanges_Request {
21366 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21367 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21368 }
21369 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21370 use ::steam_vent_proto_common::protobuf::Message;
21371 self.write_to_writer(writer)
21372 }
21373 fn encode_size(&self) -> usize {
21374 use ::steam_vent_proto_common::protobuf::Message;
21375 self.compute_size() as usize
21376 }
21377}
21378impl ::steam_vent_proto_common::RpcMessage for CPublishedFile_GetItemChanges_Response {
21379 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21380 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21381 }
21382 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21383 use ::steam_vent_proto_common::protobuf::Message;
21384 self.write_to_writer(writer)
21385 }
21386 fn encode_size(&self) -> usize {
21387 use ::steam_vent_proto_common::protobuf::Message;
21388 self.compute_size() as usize
21389 }
21390}
21391impl ::steam_vent_proto_common::RpcMessage
21392for CPublishedFile_GetContentDescriptors_Request {
21393 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21394 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21395 }
21396 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21397 use ::steam_vent_proto_common::protobuf::Message;
21398 self.write_to_writer(writer)
21399 }
21400 fn encode_size(&self) -> usize {
21401 use ::steam_vent_proto_common::protobuf::Message;
21402 self.compute_size() as usize
21403 }
21404}
21405impl ::steam_vent_proto_common::RpcMessage
21406for CPublishedFile_GetContentDescriptors_Response {
21407 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21408 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21409 }
21410 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21411 use ::steam_vent_proto_common::protobuf::Message;
21412 self.write_to_writer(writer)
21413 }
21414 fn encode_size(&self) -> usize {
21415 use ::steam_vent_proto_common::protobuf::Message;
21416 self.compute_size() as usize
21417 }
21418}
21419impl ::steam_vent_proto_common::RpcMessage
21420for CPublishedFile_UpdateContentDescriptors_Request {
21421 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21422 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21423 }
21424 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21425 use ::steam_vent_proto_common::protobuf::Message;
21426 self.write_to_writer(writer)
21427 }
21428 fn encode_size(&self) -> usize {
21429 use ::steam_vent_proto_common::protobuf::Message;
21430 self.compute_size() as usize
21431 }
21432}
21433impl ::steam_vent_proto_common::RpcMessage
21434for CPublishedFile_UpdateContentDescriptors_Response {
21435 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21436 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21437 }
21438 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21439 use ::steam_vent_proto_common::protobuf::Message;
21440 self.write_to_writer(writer)
21441 }
21442 fn encode_size(&self) -> usize {
21443 use ::steam_vent_proto_common::protobuf::Message;
21444 self.compute_size() as usize
21445 }
21446}
21447impl ::steam_vent_proto_common::RpcMessage
21448for CPublishedFile_FileSubscribed_Notification {
21449 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21450 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21451 }
21452 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21453 use ::steam_vent_proto_common::protobuf::Message;
21454 self.write_to_writer(writer)
21455 }
21456 fn encode_size(&self) -> usize {
21457 use ::steam_vent_proto_common::protobuf::Message;
21458 self.compute_size() as usize
21459 }
21460}
21461impl ::steam_vent_proto_common::RpcMessage
21462for CPublishedFile_FileUnsubscribed_Notification {
21463 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21464 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21465 }
21466 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21467 use ::steam_vent_proto_common::protobuf::Message;
21468 self.write_to_writer(writer)
21469 }
21470 fn encode_size(&self) -> usize {
21471 use ::steam_vent_proto_common::protobuf::Message;
21472 self.compute_size() as usize
21473 }
21474}
21475impl ::steam_vent_proto_common::RpcMessage
21476for CPublishedFile_FileDeleted_Client_Notification {
21477 fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
21478 <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
21479 }
21480 fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
21481 use ::steam_vent_proto_common::protobuf::Message;
21482 self.write_to_writer(writer)
21483 }
21484 fn encode_size(&self) -> usize {
21485 use ::steam_vent_proto_common::protobuf::Message;
21486 self.compute_size() as usize
21487 }
21488}
21489struct PublishedFile {}
21491impl ::steam_vent_proto_common::RpcService for PublishedFile {
21492 const SERVICE_NAME: &'static str = "PublishedFile";
21493}
21494struct PublishedFileClient {}
21496impl ::steam_vent_proto_common::RpcService for PublishedFileClient {
21497 const SERVICE_NAME: &'static str = "PublishedFileClient";
21498}
21499impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_AddAppRelationship_Request {
21500 const METHOD_NAME: &'static str = "PublishedFile.AddAppRelationship#1";
21501 type Response = CPublishedFile_AddAppRelationship_Response;
21502}
21503impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_AddChild_Request {
21504 const METHOD_NAME: &'static str = "PublishedFile.AddChild#1";
21505 type Response = CPublishedFile_AddChild_Response;
21506}
21507impl ::steam_vent_proto_common::RpcMethod
21508for CPublishedFile_AreFilesInSubscriptionList_Request {
21509 const METHOD_NAME: &'static str = "PublishedFile.AreFilesInSubscriptionList#1";
21510 type Response = CPublishedFile_AreFilesInSubscriptionList_Response;
21511}
21512impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_CanSubscribe_Request {
21513 const METHOD_NAME: &'static str = "PublishedFile.CanSubscribe#1";
21514 type Response = CPublishedFile_CanSubscribe_Response;
21515}
21516impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_Delete_Request {
21517 const METHOD_NAME: &'static str = "PublishedFile.Delete#1";
21518 type Response = CPublishedFile_Delete_Response;
21519}
21520impl ::steam_vent_proto_common::RpcMethod
21521for CPublishedFile_FileDeleted_Client_Notification {
21522 const METHOD_NAME: &'static str = "PublishedFileClient.NotifyFileDeleted#1";
21523 type Response = ();
21524}
21525impl ::steam_vent_proto_common::RpcMethod
21526for CPublishedFile_FileSubscribed_Notification {
21527 const METHOD_NAME: &'static str = "PublishedFileClient.NotifyFileSubscribed#1";
21528 type Response = ();
21529}
21530impl ::steam_vent_proto_common::RpcMethod
21531for CPublishedFile_FileUnsubscribed_Notification {
21532 const METHOD_NAME: &'static str = "PublishedFileClient.NotifyFileUnsubscribed#1";
21533 type Response = ();
21534}
21535impl ::steam_vent_proto_common::RpcMethod
21536for CPublishedFile_GetAppRelationshipsBatched_Request {
21537 const METHOD_NAME: &'static str = "PublishedFile.GetAppRelationshipsBatched#1";
21538 type Response = CPublishedFile_GetAppRelationshipsBatched_Response;
21539}
21540impl ::steam_vent_proto_common::RpcMethod
21541for CPublishedFile_GetAppRelationships_Request {
21542 const METHOD_NAME: &'static str = "PublishedFile.GetAppRelationships#1";
21543 type Response = CPublishedFile_GetAppRelationships_Response;
21544}
21545impl ::steam_vent_proto_common::RpcMethod
21546for CPublishedFile_GetChangeHistoryEntry_Request {
21547 const METHOD_NAME: &'static str = "PublishedFile.GetChangeHistoryEntry#1";
21548 type Response = CPublishedFile_GetChangeHistoryEntry_Response;
21549}
21550impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_GetChangeHistory_Request {
21551 const METHOD_NAME: &'static str = "PublishedFile.GetChangeHistory#1";
21552 type Response = CPublishedFile_GetChangeHistory_Response;
21553}
21554impl ::steam_vent_proto_common::RpcMethod
21555for CPublishedFile_GetContentDescriptors_Request {
21556 const METHOD_NAME: &'static str = "PublishedFile.GetContentDescriptors#1";
21557 type Response = CPublishedFile_GetContentDescriptors_Response;
21558}
21559impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_GetDetails_Request {
21560 const METHOD_NAME: &'static str = "PublishedFile.GetDetails#1";
21561 type Response = CPublishedFile_GetDetails_Response;
21562}
21563impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_GetItemChanges_Request {
21564 const METHOD_NAME: &'static str = "PublishedFile.GetItemChanges#1";
21565 type Response = CPublishedFile_GetItemChanges_Response;
21566}
21567impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_GetItemInfo_Request {
21568 const METHOD_NAME: &'static str = "PublishedFile.GetItemInfo#1";
21569 type Response = CPublishedFile_GetItemInfo_Response;
21570}
21571impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_GetSubSectionData_Request {
21572 const METHOD_NAME: &'static str = "PublishedFile.GetSubSectionData#1";
21573 type Response = CPublishedFile_GetSubSectionData_Response;
21574}
21575impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_GetUserFiles_Request {
21576 const METHOD_NAME: &'static str = "PublishedFile.GetUserFiles#1";
21577 type Response = CPublishedFile_GetUserFiles_Response;
21578}
21579impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_GetUserVoteSummary_Request {
21580 const METHOD_NAME: &'static str = "PublishedFile.GetUserVoteSummary#1";
21581 type Response = CPublishedFile_GetUserVoteSummary_Response;
21582}
21583impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_Publish_Request {
21584 const METHOD_NAME: &'static str = "PublishedFile.Publish#1";
21585 type Response = CPublishedFile_Publish_Response;
21586}
21587impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_QueryFiles_Request {
21588 const METHOD_NAME: &'static str = "PublishedFile.QueryFiles#1";
21589 type Response = CPublishedFile_QueryFiles_Response;
21590}
21591impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_RefreshVotingQueue_Request {
21592 const METHOD_NAME: &'static str = "PublishedFile.RefreshVotingQueue#1";
21593 type Response = CPublishedFile_RefreshVotingQueue_Response;
21594}
21595impl ::steam_vent_proto_common::RpcMethod
21596for CPublishedFile_RemoveAppRelationship_Request {
21597 const METHOD_NAME: &'static str = "PublishedFile.RemoveAppRelationship#1";
21598 type Response = CPublishedFile_RemoveAppRelationship_Response;
21599}
21600impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_RemoveChild_Request {
21601 const METHOD_NAME: &'static str = "PublishedFile.RemoveChild#1";
21602 type Response = CPublishedFile_RemoveChild_Response;
21603}
21604impl ::steam_vent_proto_common::RpcMethod
21605for CPublishedFile_SetCollectionChildren_Request {
21606 const METHOD_NAME: &'static str = "PublishedFile.SetCollectionChildren#1";
21607 type Response = CPublishedFile_SetCollectionChildren_Response;
21608}
21609impl ::steam_vent_proto_common::RpcMethod
21610for CPublishedFile_SetPlaytimeForControllerConfigs_Request {
21611 const METHOD_NAME: &'static str = "PublishedFile.SetPlaytimeForControllerConfigs#1";
21612 type Response = CPublishedFile_SetPlaytimeForControllerConfigs_Response;
21613}
21614impl ::steam_vent_proto_common::RpcMethod
21615for CPublishedFile_SetSubscriptionListFromCollection_Request {
21616 const METHOD_NAME: &'static str = "PublishedFile.SetSubscriptionListFromCollection#1";
21617 type Response = CPublishedFile_SetSubscriptionListFromCollection_Response;
21618}
21619impl ::steam_vent_proto_common::RpcMethod
21620for CPublishedFile_StartPlaytimeTracking_Request {
21621 const METHOD_NAME: &'static str = "PublishedFile.StartPlaytimeTracking#1";
21622 type Response = CPublishedFile_StartPlaytimeTracking_Response;
21623}
21624impl ::steam_vent_proto_common::RpcMethod
21625for CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request {
21626 const METHOD_NAME: &'static str = "PublishedFile.StopPlaytimeTrackingForAllAppItems#1";
21627 type Response = CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response;
21628}
21629impl ::steam_vent_proto_common::RpcMethod
21630for CPublishedFile_StopPlaytimeTracking_Request {
21631 const METHOD_NAME: &'static str = "PublishedFile.StopPlaytimeTracking#1";
21632 type Response = CPublishedFile_StopPlaytimeTracking_Response;
21633}
21634impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_Subscribe_Request {
21635 const METHOD_NAME: &'static str = "PublishedFile.Subscribe#1";
21636 type Response = CPublishedFile_Subscribe_Response;
21637}
21638impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_Unsubscribe_Request {
21639 const METHOD_NAME: &'static str = "PublishedFile.Unsubscribe#1";
21640 type Response = CPublishedFile_Unsubscribe_Response;
21641}
21642impl ::steam_vent_proto_common::RpcMethod
21643for CPublishedFile_UpdateContentDescriptors_Request {
21644 const METHOD_NAME: &'static str = "PublishedFile.UpdateContentDescriptors#1";
21645 type Response = CPublishedFile_UpdateContentDescriptors_Response;
21646}
21647impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_Update_Request {
21648 const METHOD_NAME: &'static str = "PublishedFile.Update#1";
21649 type Response = CPublishedFile_Update_Response;
21650}
21651impl ::steam_vent_proto_common::RpcMethod for CPublishedFile_Vote_Request {
21652 const METHOD_NAME: &'static str = "PublishedFile.Vote#1";
21653 type Response = CPublishedFile_Vote_Response;
21654}