// This file is generated by rust-protobuf 3.5.1. Do not edit
// .proto file is parsed by pure
// @generated

// https://github.com/rust-lang/rust-clippy/issues/702
#![allow(unknown_lints)]
#![allow(clippy::all)]

#![allow(unused_attributes)]
#![cfg_attr(rustfmt, rustfmt::skip)]

#![allow(dead_code)]
#![allow(missing_docs)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
#![allow(trivial_casts)]
#![allow(unused_results)]
#![allow(unused_mut)]

//! Generated file from `steammessages_clientserver_appinfo.proto`
// Generated for lite runtime

/// Generated files are compatible only with the same version
/// of protobuf runtime.
const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;

// @@protoc_insertion_point(message:CMsgClientAppInfoUpdate)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgClientAppInfoUpdate {
    // message fields
    // @@protoc_insertion_point(field:CMsgClientAppInfoUpdate.last_changenumber)
    pub last_changenumber: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CMsgClientAppInfoUpdate.send_changelist)
    pub send_changelist: ::std::option::Option<bool>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgClientAppInfoUpdate.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

impl<'a> ::std::default::Default for &'a CMsgClientAppInfoUpdate {
    fn default() -> &'a CMsgClientAppInfoUpdate {
        <CMsgClientAppInfoUpdate as ::steam_vent_proto_common::protobuf::Message>::default_instance()
    }
}

impl CMsgClientAppInfoUpdate {
    pub fn new() -> CMsgClientAppInfoUpdate {
        ::std::default::Default::default()
    }

    // optional uint32 last_changenumber = 1;

    pub fn last_changenumber(&self) -> u32 {
        self.last_changenumber.unwrap_or(0)
    }

    pub fn clear_last_changenumber(&mut self) {
        self.last_changenumber = ::std::option::Option::None;
    }

    pub fn has_last_changenumber(&self) -> bool {
        self.last_changenumber.is_some()
    }

    // Param is passed by value, moved
    pub fn set_last_changenumber(&mut self, v: u32) {
        self.last_changenumber = ::std::option::Option::Some(v);
    }

    // optional bool send_changelist = 2;

    pub fn send_changelist(&self) -> bool {
        self.send_changelist.unwrap_or(false)
    }

    pub fn clear_send_changelist(&mut self) {
        self.send_changelist = ::std::option::Option::None;
    }

    pub fn has_send_changelist(&self) -> bool {
        self.send_changelist.is_some()
    }

    // Param is passed by value, moved
    pub fn set_send_changelist(&mut self, v: bool) {
        self.send_changelist = ::std::option::Option::Some(v);
    }
}

impl ::steam_vent_proto_common::protobuf::Message for CMsgClientAppInfoUpdate {
    const NAME: &'static str = "CMsgClientAppInfoUpdate";

    fn is_initialized(&self) -> bool {
        true
    }

    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        while let Some(tag) = is.read_raw_tag_or_eof()? {
            match tag {
                8 => {
                    self.last_changenumber = ::std::option::Option::Some(is.read_uint32()?);
                },
                16 => {
                    self.send_changelist = ::std::option::Option::Some(is.read_bool()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u64 {
        let mut my_size = 0;
        if let Some(v) = self.last_changenumber {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
        }
        if let Some(v) = self.send_changelist {
            my_size += 1 + 1;
        }
        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
        self.special_fields.cached_size().set(my_size as u32);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        if let Some(v) = self.last_changenumber {
            os.write_uint32(1, v)?;
        }
        if let Some(v) = self.send_changelist {
            os.write_bool(2, v)?;
        }
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
        &self.special_fields
    }

    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
        &mut self.special_fields
    }

    fn new() -> CMsgClientAppInfoUpdate {
        CMsgClientAppInfoUpdate::new()
    }

    fn clear(&mut self) {
        self.last_changenumber = ::std::option::Option::None;
        self.send_changelist = ::std::option::Option::None;
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CMsgClientAppInfoUpdate {
        static instance: CMsgClientAppInfoUpdate = CMsgClientAppInfoUpdate {
            last_changenumber: ::std::option::Option::None,
            send_changelist: ::std::option::Option::None,
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

// @@protoc_insertion_point(message:CMsgClientAppInfoChanges)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgClientAppInfoChanges {
    // message fields
    // @@protoc_insertion_point(field:CMsgClientAppInfoChanges.current_change_number)
    pub current_change_number: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CMsgClientAppInfoChanges.force_full_update)
    pub force_full_update: ::std::option::Option<bool>,
    // @@protoc_insertion_point(field:CMsgClientAppInfoChanges.appIDs)
    pub appIDs: ::std::vec::Vec<u32>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgClientAppInfoChanges.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

impl<'a> ::std::default::Default for &'a CMsgClientAppInfoChanges {
    fn default() -> &'a CMsgClientAppInfoChanges {
        <CMsgClientAppInfoChanges as ::steam_vent_proto_common::protobuf::Message>::default_instance()
    }
}

impl CMsgClientAppInfoChanges {
    pub fn new() -> CMsgClientAppInfoChanges {
        ::std::default::Default::default()
    }

    // optional uint32 current_change_number = 1;

    pub fn current_change_number(&self) -> u32 {
        self.current_change_number.unwrap_or(0)
    }

    pub fn clear_current_change_number(&mut self) {
        self.current_change_number = ::std::option::Option::None;
    }

    pub fn has_current_change_number(&self) -> bool {
        self.current_change_number.is_some()
    }

    // Param is passed by value, moved
    pub fn set_current_change_number(&mut self, v: u32) {
        self.current_change_number = ::std::option::Option::Some(v);
    }

    // optional bool force_full_update = 2;

    pub fn force_full_update(&self) -> bool {
        self.force_full_update.unwrap_or(false)
    }

    pub fn clear_force_full_update(&mut self) {
        self.force_full_update = ::std::option::Option::None;
    }

    pub fn has_force_full_update(&self) -> bool {
        self.force_full_update.is_some()
    }

    // Param is passed by value, moved
    pub fn set_force_full_update(&mut self, v: bool) {
        self.force_full_update = ::std::option::Option::Some(v);
    }
}

impl ::steam_vent_proto_common::protobuf::Message for CMsgClientAppInfoChanges {
    const NAME: &'static str = "CMsgClientAppInfoChanges";

    fn is_initialized(&self) -> bool {
        true
    }

    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        while let Some(tag) = is.read_raw_tag_or_eof()? {
            match tag {
                8 => {
                    self.current_change_number = ::std::option::Option::Some(is.read_uint32()?);
                },
                16 => {
                    self.force_full_update = ::std::option::Option::Some(is.read_bool()?);
                },
                26 => {
                    is.read_repeated_packed_uint32_into(&mut self.appIDs)?;
                },
                24 => {
                    self.appIDs.push(is.read_uint32()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u64 {
        let mut my_size = 0;
        if let Some(v) = self.current_change_number {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
        }
        if let Some(v) = self.force_full_update {
            my_size += 1 + 1;
        }
        for value in &self.appIDs {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, *value);
        };
        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
        self.special_fields.cached_size().set(my_size as u32);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        if let Some(v) = self.current_change_number {
            os.write_uint32(1, v)?;
        }
        if let Some(v) = self.force_full_update {
            os.write_bool(2, v)?;
        }
        for v in &self.appIDs {
            os.write_uint32(3, *v)?;
        };
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
        &self.special_fields
    }

    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
        &mut self.special_fields
    }

    fn new() -> CMsgClientAppInfoChanges {
        CMsgClientAppInfoChanges::new()
    }

    fn clear(&mut self) {
        self.current_change_number = ::std::option::Option::None;
        self.force_full_update = ::std::option::Option::None;
        self.appIDs.clear();
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CMsgClientAppInfoChanges {
        static instance: CMsgClientAppInfoChanges = CMsgClientAppInfoChanges {
            current_change_number: ::std::option::Option::None,
            force_full_update: ::std::option::Option::None,
            appIDs: ::std::vec::Vec::new(),
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

// @@protoc_insertion_point(message:CMsgClientAppInfoRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgClientAppInfoRequest {
    // message fields
    // @@protoc_insertion_point(field:CMsgClientAppInfoRequest.apps)
    pub apps: ::std::vec::Vec<cmsg_client_app_info_request::App>,
    // @@protoc_insertion_point(field:CMsgClientAppInfoRequest.supports_batches)
    pub supports_batches: ::std::option::Option<bool>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgClientAppInfoRequest.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

impl<'a> ::std::default::Default for &'a CMsgClientAppInfoRequest {
    fn default() -> &'a CMsgClientAppInfoRequest {
        <CMsgClientAppInfoRequest as ::steam_vent_proto_common::protobuf::Message>::default_instance()
    }
}

impl CMsgClientAppInfoRequest {
    pub fn new() -> CMsgClientAppInfoRequest {
        ::std::default::Default::default()
    }

    // optional bool supports_batches = 2;

    pub fn supports_batches(&self) -> bool {
        self.supports_batches.unwrap_or(false)
    }

    pub fn clear_supports_batches(&mut self) {
        self.supports_batches = ::std::option::Option::None;
    }

    pub fn has_supports_batches(&self) -> bool {
        self.supports_batches.is_some()
    }

    // Param is passed by value, moved
    pub fn set_supports_batches(&mut self, v: bool) {
        self.supports_batches = ::std::option::Option::Some(v);
    }
}

impl ::steam_vent_proto_common::protobuf::Message for CMsgClientAppInfoRequest {
    const NAME: &'static str = "CMsgClientAppInfoRequest";

    fn is_initialized(&self) -> bool {
        true
    }

    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        while let Some(tag) = is.read_raw_tag_or_eof()? {
            match tag {
                10 => {
                    self.apps.push(is.read_message()?);
                },
                16 => {
                    self.supports_batches = ::std::option::Option::Some(is.read_bool()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u64 {
        let mut my_size = 0;
        for value in &self.apps {
            let len = value.compute_size();
            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
        };
        if let Some(v) = self.supports_batches {
            my_size += 1 + 1;
        }
        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
        self.special_fields.cached_size().set(my_size as u32);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        for v in &self.apps {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
        };
        if let Some(v) = self.supports_batches {
            os.write_bool(2, v)?;
        }
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
        &self.special_fields
    }

    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
        &mut self.special_fields
    }

    fn new() -> CMsgClientAppInfoRequest {
        CMsgClientAppInfoRequest::new()
    }

    fn clear(&mut self) {
        self.apps.clear();
        self.supports_batches = ::std::option::Option::None;
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CMsgClientAppInfoRequest {
        static instance: CMsgClientAppInfoRequest = CMsgClientAppInfoRequest {
            apps: ::std::vec::Vec::new(),
            supports_batches: ::std::option::Option::None,
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

/// Nested message and enums of message `CMsgClientAppInfoRequest`
pub mod cmsg_client_app_info_request {
    // @@protoc_insertion_point(message:CMsgClientAppInfoRequest.App)
    #[derive(PartialEq,Clone,Default,Debug)]
    pub struct App {
        // message fields
        // @@protoc_insertion_point(field:CMsgClientAppInfoRequest.App.app_id)
        pub app_id: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientAppInfoRequest.App.section_flags)
        pub section_flags: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientAppInfoRequest.App.section_CRC)
        pub section_CRC: ::std::vec::Vec<u32>,
        // special fields
        // @@protoc_insertion_point(special_field:CMsgClientAppInfoRequest.App.special_fields)
        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
    }

    impl<'a> ::std::default::Default for &'a App {
        fn default() -> &'a App {
            <App as ::steam_vent_proto_common::protobuf::Message>::default_instance()
        }
    }

    impl App {
        pub fn new() -> App {
            ::std::default::Default::default()
        }

        // optional uint32 app_id = 1;

        pub fn app_id(&self) -> u32 {
            self.app_id.unwrap_or(0)
        }

        pub fn clear_app_id(&mut self) {
            self.app_id = ::std::option::Option::None;
        }

        pub fn has_app_id(&self) -> bool {
            self.app_id.is_some()
        }

        // Param is passed by value, moved
        pub fn set_app_id(&mut self, v: u32) {
            self.app_id = ::std::option::Option::Some(v);
        }

        // optional uint32 section_flags = 2;

        pub fn section_flags(&self) -> u32 {
            self.section_flags.unwrap_or(0)
        }

        pub fn clear_section_flags(&mut self) {
            self.section_flags = ::std::option::Option::None;
        }

        pub fn has_section_flags(&self) -> bool {
            self.section_flags.is_some()
        }

        // Param is passed by value, moved
        pub fn set_section_flags(&mut self, v: u32) {
            self.section_flags = ::std::option::Option::Some(v);
        }
    }

    impl ::steam_vent_proto_common::protobuf::Message for App {
        const NAME: &'static str = "App";

        fn is_initialized(&self) -> bool {
            true
        }

        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            while let Some(tag) = is.read_raw_tag_or_eof()? {
                match tag {
                    8 => {
                        self.app_id = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    16 => {
                        self.section_flags = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    26 => {
                        is.read_repeated_packed_uint32_into(&mut self.section_CRC)?;
                    },
                    24 => {
                        self.section_CRC.push(is.read_uint32()?);
                    },
                    tag => {
                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                    },
                };
            }
            ::std::result::Result::Ok(())
        }

        // Compute sizes of nested messages
        #[allow(unused_variables)]
        fn compute_size(&self) -> u64 {
            let mut my_size = 0;
            if let Some(v) = self.app_id {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
            }
            if let Some(v) = self.section_flags {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
            }
            for value in &self.section_CRC {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, *value);
            };
            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
            self.special_fields.cached_size().set(my_size as u32);
            my_size
        }

        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            if let Some(v) = self.app_id {
                os.write_uint32(1, v)?;
            }
            if let Some(v) = self.section_flags {
                os.write_uint32(2, v)?;
            }
            for v in &self.section_CRC {
                os.write_uint32(3, *v)?;
            };
            os.write_unknown_fields(self.special_fields.unknown_fields())?;
            ::std::result::Result::Ok(())
        }

        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
            &self.special_fields
        }

        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
            &mut self.special_fields
        }

        fn new() -> App {
            App::new()
        }

        fn clear(&mut self) {
            self.app_id = ::std::option::Option::None;
            self.section_flags = ::std::option::Option::None;
            self.section_CRC.clear();
            self.special_fields.clear();
        }

        fn default_instance() -> &'static App {
            static instance: App = App {
                app_id: ::std::option::Option::None,
                section_flags: ::std::option::Option::None,
                section_CRC: ::std::vec::Vec::new(),
                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
            };
            &instance
        }
    }
}

// @@protoc_insertion_point(message:CMsgClientPICSChangesSinceRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgClientPICSChangesSinceRequest {
    // message fields
    // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceRequest.since_change_number)
    pub since_change_number: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceRequest.send_app_info_changes)
    pub send_app_info_changes: ::std::option::Option<bool>,
    // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceRequest.send_package_info_changes)
    pub send_package_info_changes: ::std::option::Option<bool>,
    // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceRequest.num_app_info_cached)
    pub num_app_info_cached: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceRequest.num_package_info_cached)
    pub num_package_info_cached: ::std::option::Option<u32>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgClientPICSChangesSinceRequest.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

impl<'a> ::std::default::Default for &'a CMsgClientPICSChangesSinceRequest {
    fn default() -> &'a CMsgClientPICSChangesSinceRequest {
        <CMsgClientPICSChangesSinceRequest as ::steam_vent_proto_common::protobuf::Message>::default_instance()
    }
}

impl CMsgClientPICSChangesSinceRequest {
    pub fn new() -> CMsgClientPICSChangesSinceRequest {
        ::std::default::Default::default()
    }

    // optional uint32 since_change_number = 1;

    pub fn since_change_number(&self) -> u32 {
        self.since_change_number.unwrap_or(0)
    }

    pub fn clear_since_change_number(&mut self) {
        self.since_change_number = ::std::option::Option::None;
    }

    pub fn has_since_change_number(&self) -> bool {
        self.since_change_number.is_some()
    }

    // Param is passed by value, moved
    pub fn set_since_change_number(&mut self, v: u32) {
        self.since_change_number = ::std::option::Option::Some(v);
    }

    // optional bool send_app_info_changes = 2;

    pub fn send_app_info_changes(&self) -> bool {
        self.send_app_info_changes.unwrap_or(false)
    }

    pub fn clear_send_app_info_changes(&mut self) {
        self.send_app_info_changes = ::std::option::Option::None;
    }

    pub fn has_send_app_info_changes(&self) -> bool {
        self.send_app_info_changes.is_some()
    }

    // Param is passed by value, moved
    pub fn set_send_app_info_changes(&mut self, v: bool) {
        self.send_app_info_changes = ::std::option::Option::Some(v);
    }

    // optional bool send_package_info_changes = 3;

    pub fn send_package_info_changes(&self) -> bool {
        self.send_package_info_changes.unwrap_or(false)
    }

    pub fn clear_send_package_info_changes(&mut self) {
        self.send_package_info_changes = ::std::option::Option::None;
    }

    pub fn has_send_package_info_changes(&self) -> bool {
        self.send_package_info_changes.is_some()
    }

    // Param is passed by value, moved
    pub fn set_send_package_info_changes(&mut self, v: bool) {
        self.send_package_info_changes = ::std::option::Option::Some(v);
    }

    // optional uint32 num_app_info_cached = 4;

    pub fn num_app_info_cached(&self) -> u32 {
        self.num_app_info_cached.unwrap_or(0)
    }

    pub fn clear_num_app_info_cached(&mut self) {
        self.num_app_info_cached = ::std::option::Option::None;
    }

    pub fn has_num_app_info_cached(&self) -> bool {
        self.num_app_info_cached.is_some()
    }

    // Param is passed by value, moved
    pub fn set_num_app_info_cached(&mut self, v: u32) {
        self.num_app_info_cached = ::std::option::Option::Some(v);
    }

    // optional uint32 num_package_info_cached = 5;

    pub fn num_package_info_cached(&self) -> u32 {
        self.num_package_info_cached.unwrap_or(0)
    }

    pub fn clear_num_package_info_cached(&mut self) {
        self.num_package_info_cached = ::std::option::Option::None;
    }

    pub fn has_num_package_info_cached(&self) -> bool {
        self.num_package_info_cached.is_some()
    }

    // Param is passed by value, moved
    pub fn set_num_package_info_cached(&mut self, v: u32) {
        self.num_package_info_cached = ::std::option::Option::Some(v);
    }
}

impl ::steam_vent_proto_common::protobuf::Message for CMsgClientPICSChangesSinceRequest {
    const NAME: &'static str = "CMsgClientPICSChangesSinceRequest";

    fn is_initialized(&self) -> bool {
        true
    }

    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        while let Some(tag) = is.read_raw_tag_or_eof()? {
            match tag {
                8 => {
                    self.since_change_number = ::std::option::Option::Some(is.read_uint32()?);
                },
                16 => {
                    self.send_app_info_changes = ::std::option::Option::Some(is.read_bool()?);
                },
                24 => {
                    self.send_package_info_changes = ::std::option::Option::Some(is.read_bool()?);
                },
                32 => {
                    self.num_app_info_cached = ::std::option::Option::Some(is.read_uint32()?);
                },
                40 => {
                    self.num_package_info_cached = ::std::option::Option::Some(is.read_uint32()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u64 {
        let mut my_size = 0;
        if let Some(v) = self.since_change_number {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
        }
        if let Some(v) = self.send_app_info_changes {
            my_size += 1 + 1;
        }
        if let Some(v) = self.send_package_info_changes {
            my_size += 1 + 1;
        }
        if let Some(v) = self.num_app_info_cached {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
        }
        if let Some(v) = self.num_package_info_cached {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
        }
        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
        self.special_fields.cached_size().set(my_size as u32);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        if let Some(v) = self.since_change_number {
            os.write_uint32(1, v)?;
        }
        if let Some(v) = self.send_app_info_changes {
            os.write_bool(2, v)?;
        }
        if let Some(v) = self.send_package_info_changes {
            os.write_bool(3, v)?;
        }
        if let Some(v) = self.num_app_info_cached {
            os.write_uint32(4, v)?;
        }
        if let Some(v) = self.num_package_info_cached {
            os.write_uint32(5, v)?;
        }
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
        &self.special_fields
    }

    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
        &mut self.special_fields
    }

    fn new() -> CMsgClientPICSChangesSinceRequest {
        CMsgClientPICSChangesSinceRequest::new()
    }

    fn clear(&mut self) {
        self.since_change_number = ::std::option::Option::None;
        self.send_app_info_changes = ::std::option::Option::None;
        self.send_package_info_changes = ::std::option::Option::None;
        self.num_app_info_cached = ::std::option::Option::None;
        self.num_package_info_cached = ::std::option::Option::None;
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CMsgClientPICSChangesSinceRequest {
        static instance: CMsgClientPICSChangesSinceRequest = CMsgClientPICSChangesSinceRequest {
            since_change_number: ::std::option::Option::None,
            send_app_info_changes: ::std::option::Option::None,
            send_package_info_changes: ::std::option::Option::None,
            num_app_info_cached: ::std::option::Option::None,
            num_package_info_cached: ::std::option::Option::None,
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

// @@protoc_insertion_point(message:CMsgClientPICSChangesSinceResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgClientPICSChangesSinceResponse {
    // message fields
    // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceResponse.current_change_number)
    pub current_change_number: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceResponse.since_change_number)
    pub since_change_number: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceResponse.force_full_update)
    pub force_full_update: ::std::option::Option<bool>,
    // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceResponse.package_changes)
    pub package_changes: ::std::vec::Vec<cmsg_client_picschanges_since_response::PackageChange>,
    // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceResponse.app_changes)
    pub app_changes: ::std::vec::Vec<cmsg_client_picschanges_since_response::AppChange>,
    // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceResponse.force_full_app_update)
    pub force_full_app_update: ::std::option::Option<bool>,
    // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceResponse.force_full_package_update)
    pub force_full_package_update: ::std::option::Option<bool>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgClientPICSChangesSinceResponse.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

impl<'a> ::std::default::Default for &'a CMsgClientPICSChangesSinceResponse {
    fn default() -> &'a CMsgClientPICSChangesSinceResponse {
        <CMsgClientPICSChangesSinceResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
    }
}

impl CMsgClientPICSChangesSinceResponse {
    pub fn new() -> CMsgClientPICSChangesSinceResponse {
        ::std::default::Default::default()
    }

    // optional uint32 current_change_number = 1;

    pub fn current_change_number(&self) -> u32 {
        self.current_change_number.unwrap_or(0)
    }

    pub fn clear_current_change_number(&mut self) {
        self.current_change_number = ::std::option::Option::None;
    }

    pub fn has_current_change_number(&self) -> bool {
        self.current_change_number.is_some()
    }

    // Param is passed by value, moved
    pub fn set_current_change_number(&mut self, v: u32) {
        self.current_change_number = ::std::option::Option::Some(v);
    }

    // optional uint32 since_change_number = 2;

    pub fn since_change_number(&self) -> u32 {
        self.since_change_number.unwrap_or(0)
    }

    pub fn clear_since_change_number(&mut self) {
        self.since_change_number = ::std::option::Option::None;
    }

    pub fn has_since_change_number(&self) -> bool {
        self.since_change_number.is_some()
    }

    // Param is passed by value, moved
    pub fn set_since_change_number(&mut self, v: u32) {
        self.since_change_number = ::std::option::Option::Some(v);
    }

    // optional bool force_full_update = 3;

    pub fn force_full_update(&self) -> bool {
        self.force_full_update.unwrap_or(false)
    }

    pub fn clear_force_full_update(&mut self) {
        self.force_full_update = ::std::option::Option::None;
    }

    pub fn has_force_full_update(&self) -> bool {
        self.force_full_update.is_some()
    }

    // Param is passed by value, moved
    pub fn set_force_full_update(&mut self, v: bool) {
        self.force_full_update = ::std::option::Option::Some(v);
    }

    // optional bool force_full_app_update = 6;

    pub fn force_full_app_update(&self) -> bool {
        self.force_full_app_update.unwrap_or(false)
    }

    pub fn clear_force_full_app_update(&mut self) {
        self.force_full_app_update = ::std::option::Option::None;
    }

    pub fn has_force_full_app_update(&self) -> bool {
        self.force_full_app_update.is_some()
    }

    // Param is passed by value, moved
    pub fn set_force_full_app_update(&mut self, v: bool) {
        self.force_full_app_update = ::std::option::Option::Some(v);
    }

    // optional bool force_full_package_update = 7;

    pub fn force_full_package_update(&self) -> bool {
        self.force_full_package_update.unwrap_or(false)
    }

    pub fn clear_force_full_package_update(&mut self) {
        self.force_full_package_update = ::std::option::Option::None;
    }

    pub fn has_force_full_package_update(&self) -> bool {
        self.force_full_package_update.is_some()
    }

    // Param is passed by value, moved
    pub fn set_force_full_package_update(&mut self, v: bool) {
        self.force_full_package_update = ::std::option::Option::Some(v);
    }
}

impl ::steam_vent_proto_common::protobuf::Message for CMsgClientPICSChangesSinceResponse {
    const NAME: &'static str = "CMsgClientPICSChangesSinceResponse";

    fn is_initialized(&self) -> bool {
        true
    }

    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        while let Some(tag) = is.read_raw_tag_or_eof()? {
            match tag {
                8 => {
                    self.current_change_number = ::std::option::Option::Some(is.read_uint32()?);
                },
                16 => {
                    self.since_change_number = ::std::option::Option::Some(is.read_uint32()?);
                },
                24 => {
                    self.force_full_update = ::std::option::Option::Some(is.read_bool()?);
                },
                34 => {
                    self.package_changes.push(is.read_message()?);
                },
                42 => {
                    self.app_changes.push(is.read_message()?);
                },
                48 => {
                    self.force_full_app_update = ::std::option::Option::Some(is.read_bool()?);
                },
                56 => {
                    self.force_full_package_update = ::std::option::Option::Some(is.read_bool()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u64 {
        let mut my_size = 0;
        if let Some(v) = self.current_change_number {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
        }
        if let Some(v) = self.since_change_number {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
        }
        if let Some(v) = self.force_full_update {
            my_size += 1 + 1;
        }
        for value in &self.package_changes {
            let len = value.compute_size();
            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
        };
        for value in &self.app_changes {
            let len = value.compute_size();
            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
        };
        if let Some(v) = self.force_full_app_update {
            my_size += 1 + 1;
        }
        if let Some(v) = self.force_full_package_update {
            my_size += 1 + 1;
        }
        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
        self.special_fields.cached_size().set(my_size as u32);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        if let Some(v) = self.current_change_number {
            os.write_uint32(1, v)?;
        }
        if let Some(v) = self.since_change_number {
            os.write_uint32(2, v)?;
        }
        if let Some(v) = self.force_full_update {
            os.write_bool(3, v)?;
        }
        for v in &self.package_changes {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(4, v, os)?;
        };
        for v in &self.app_changes {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(5, v, os)?;
        };
        if let Some(v) = self.force_full_app_update {
            os.write_bool(6, v)?;
        }
        if let Some(v) = self.force_full_package_update {
            os.write_bool(7, v)?;
        }
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
        &self.special_fields
    }

    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
        &mut self.special_fields
    }

    fn new() -> CMsgClientPICSChangesSinceResponse {
        CMsgClientPICSChangesSinceResponse::new()
    }

    fn clear(&mut self) {
        self.current_change_number = ::std::option::Option::None;
        self.since_change_number = ::std::option::Option::None;
        self.force_full_update = ::std::option::Option::None;
        self.package_changes.clear();
        self.app_changes.clear();
        self.force_full_app_update = ::std::option::Option::None;
        self.force_full_package_update = ::std::option::Option::None;
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CMsgClientPICSChangesSinceResponse {
        static instance: CMsgClientPICSChangesSinceResponse = CMsgClientPICSChangesSinceResponse {
            current_change_number: ::std::option::Option::None,
            since_change_number: ::std::option::Option::None,
            force_full_update: ::std::option::Option::None,
            package_changes: ::std::vec::Vec::new(),
            app_changes: ::std::vec::Vec::new(),
            force_full_app_update: ::std::option::Option::None,
            force_full_package_update: ::std::option::Option::None,
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

/// Nested message and enums of message `CMsgClientPICSChangesSinceResponse`
pub mod cmsg_client_picschanges_since_response {
    // @@protoc_insertion_point(message:CMsgClientPICSChangesSinceResponse.PackageChange)
    #[derive(PartialEq,Clone,Default,Debug)]
    pub struct PackageChange {
        // message fields
        // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceResponse.PackageChange.packageid)
        pub packageid: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceResponse.PackageChange.change_number)
        pub change_number: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceResponse.PackageChange.needs_token)
        pub needs_token: ::std::option::Option<bool>,
        // special fields
        // @@protoc_insertion_point(special_field:CMsgClientPICSChangesSinceResponse.PackageChange.special_fields)
        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
    }

    impl<'a> ::std::default::Default for &'a PackageChange {
        fn default() -> &'a PackageChange {
            <PackageChange as ::steam_vent_proto_common::protobuf::Message>::default_instance()
        }
    }

    impl PackageChange {
        pub fn new() -> PackageChange {
            ::std::default::Default::default()
        }

        // optional uint32 packageid = 1;

        pub fn packageid(&self) -> u32 {
            self.packageid.unwrap_or(0)
        }

        pub fn clear_packageid(&mut self) {
            self.packageid = ::std::option::Option::None;
        }

        pub fn has_packageid(&self) -> bool {
            self.packageid.is_some()
        }

        // Param is passed by value, moved
        pub fn set_packageid(&mut self, v: u32) {
            self.packageid = ::std::option::Option::Some(v);
        }

        // optional uint32 change_number = 2;

        pub fn change_number(&self) -> u32 {
            self.change_number.unwrap_or(0)
        }

        pub fn clear_change_number(&mut self) {
            self.change_number = ::std::option::Option::None;
        }

        pub fn has_change_number(&self) -> bool {
            self.change_number.is_some()
        }

        // Param is passed by value, moved
        pub fn set_change_number(&mut self, v: u32) {
            self.change_number = ::std::option::Option::Some(v);
        }

        // optional bool needs_token = 3;

        pub fn needs_token(&self) -> bool {
            self.needs_token.unwrap_or(false)
        }

        pub fn clear_needs_token(&mut self) {
            self.needs_token = ::std::option::Option::None;
        }

        pub fn has_needs_token(&self) -> bool {
            self.needs_token.is_some()
        }

        // Param is passed by value, moved
        pub fn set_needs_token(&mut self, v: bool) {
            self.needs_token = ::std::option::Option::Some(v);
        }
    }

    impl ::steam_vent_proto_common::protobuf::Message for PackageChange {
        const NAME: &'static str = "PackageChange";

        fn is_initialized(&self) -> bool {
            true
        }

        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            while let Some(tag) = is.read_raw_tag_or_eof()? {
                match tag {
                    8 => {
                        self.packageid = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    16 => {
                        self.change_number = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    24 => {
                        self.needs_token = ::std::option::Option::Some(is.read_bool()?);
                    },
                    tag => {
                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                    },
                };
            }
            ::std::result::Result::Ok(())
        }

        // Compute sizes of nested messages
        #[allow(unused_variables)]
        fn compute_size(&self) -> u64 {
            let mut my_size = 0;
            if let Some(v) = self.packageid {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
            }
            if let Some(v) = self.change_number {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
            }
            if let Some(v) = self.needs_token {
                my_size += 1 + 1;
            }
            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
            self.special_fields.cached_size().set(my_size as u32);
            my_size
        }

        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            if let Some(v) = self.packageid {
                os.write_uint32(1, v)?;
            }
            if let Some(v) = self.change_number {
                os.write_uint32(2, v)?;
            }
            if let Some(v) = self.needs_token {
                os.write_bool(3, v)?;
            }
            os.write_unknown_fields(self.special_fields.unknown_fields())?;
            ::std::result::Result::Ok(())
        }

        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
            &self.special_fields
        }

        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
            &mut self.special_fields
        }

        fn new() -> PackageChange {
            PackageChange::new()
        }

        fn clear(&mut self) {
            self.packageid = ::std::option::Option::None;
            self.change_number = ::std::option::Option::None;
            self.needs_token = ::std::option::Option::None;
            self.special_fields.clear();
        }

        fn default_instance() -> &'static PackageChange {
            static instance: PackageChange = PackageChange {
                packageid: ::std::option::Option::None,
                change_number: ::std::option::Option::None,
                needs_token: ::std::option::Option::None,
                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
            };
            &instance
        }
    }

    // @@protoc_insertion_point(message:CMsgClientPICSChangesSinceResponse.AppChange)
    #[derive(PartialEq,Clone,Default,Debug)]
    pub struct AppChange {
        // message fields
        // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceResponse.AppChange.appid)
        pub appid: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceResponse.AppChange.change_number)
        pub change_number: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientPICSChangesSinceResponse.AppChange.needs_token)
        pub needs_token: ::std::option::Option<bool>,
        // special fields
        // @@protoc_insertion_point(special_field:CMsgClientPICSChangesSinceResponse.AppChange.special_fields)
        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
    }

    impl<'a> ::std::default::Default for &'a AppChange {
        fn default() -> &'a AppChange {
            <AppChange as ::steam_vent_proto_common::protobuf::Message>::default_instance()
        }
    }

    impl AppChange {
        pub fn new() -> AppChange {
            ::std::default::Default::default()
        }

        // optional uint32 appid = 1;

        pub fn appid(&self) -> u32 {
            self.appid.unwrap_or(0)
        }

        pub fn clear_appid(&mut self) {
            self.appid = ::std::option::Option::None;
        }

        pub fn has_appid(&self) -> bool {
            self.appid.is_some()
        }

        // Param is passed by value, moved
        pub fn set_appid(&mut self, v: u32) {
            self.appid = ::std::option::Option::Some(v);
        }

        // optional uint32 change_number = 2;

        pub fn change_number(&self) -> u32 {
            self.change_number.unwrap_or(0)
        }

        pub fn clear_change_number(&mut self) {
            self.change_number = ::std::option::Option::None;
        }

        pub fn has_change_number(&self) -> bool {
            self.change_number.is_some()
        }

        // Param is passed by value, moved
        pub fn set_change_number(&mut self, v: u32) {
            self.change_number = ::std::option::Option::Some(v);
        }

        // optional bool needs_token = 3;

        pub fn needs_token(&self) -> bool {
            self.needs_token.unwrap_or(false)
        }

        pub fn clear_needs_token(&mut self) {
            self.needs_token = ::std::option::Option::None;
        }

        pub fn has_needs_token(&self) -> bool {
            self.needs_token.is_some()
        }

        // Param is passed by value, moved
        pub fn set_needs_token(&mut self, v: bool) {
            self.needs_token = ::std::option::Option::Some(v);
        }
    }

    impl ::steam_vent_proto_common::protobuf::Message for AppChange {
        const NAME: &'static str = "AppChange";

        fn is_initialized(&self) -> bool {
            true
        }

        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            while let Some(tag) = is.read_raw_tag_or_eof()? {
                match tag {
                    8 => {
                        self.appid = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    16 => {
                        self.change_number = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    24 => {
                        self.needs_token = ::std::option::Option::Some(is.read_bool()?);
                    },
                    tag => {
                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                    },
                };
            }
            ::std::result::Result::Ok(())
        }

        // Compute sizes of nested messages
        #[allow(unused_variables)]
        fn compute_size(&self) -> u64 {
            let mut my_size = 0;
            if let Some(v) = self.appid {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
            }
            if let Some(v) = self.change_number {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
            }
            if let Some(v) = self.needs_token {
                my_size += 1 + 1;
            }
            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
            self.special_fields.cached_size().set(my_size as u32);
            my_size
        }

        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            if let Some(v) = self.appid {
                os.write_uint32(1, v)?;
            }
            if let Some(v) = self.change_number {
                os.write_uint32(2, v)?;
            }
            if let Some(v) = self.needs_token {
                os.write_bool(3, v)?;
            }
            os.write_unknown_fields(self.special_fields.unknown_fields())?;
            ::std::result::Result::Ok(())
        }

        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
            &self.special_fields
        }

        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
            &mut self.special_fields
        }

        fn new() -> AppChange {
            AppChange::new()
        }

        fn clear(&mut self) {
            self.appid = ::std::option::Option::None;
            self.change_number = ::std::option::Option::None;
            self.needs_token = ::std::option::Option::None;
            self.special_fields.clear();
        }

        fn default_instance() -> &'static AppChange {
            static instance: AppChange = AppChange {
                appid: ::std::option::Option::None,
                change_number: ::std::option::Option::None,
                needs_token: ::std::option::Option::None,
                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
            };
            &instance
        }
    }
}

// @@protoc_insertion_point(message:CMsgClientPICSProductInfoRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgClientPICSProductInfoRequest {
    // message fields
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoRequest.packages)
    pub packages: ::std::vec::Vec<cmsg_client_picsproduct_info_request::PackageInfo>,
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoRequest.apps)
    pub apps: ::std::vec::Vec<cmsg_client_picsproduct_info_request::AppInfo>,
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoRequest.meta_data_only)
    pub meta_data_only: ::std::option::Option<bool>,
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoRequest.num_prev_failed)
    pub num_prev_failed: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoRequest.OBSOLETE_supports_package_tokens)
    pub OBSOLETE_supports_package_tokens: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoRequest.sequence_number)
    pub sequence_number: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoRequest.single_response)
    pub single_response: ::std::option::Option<bool>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgClientPICSProductInfoRequest.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

impl<'a> ::std::default::Default for &'a CMsgClientPICSProductInfoRequest {
    fn default() -> &'a CMsgClientPICSProductInfoRequest {
        <CMsgClientPICSProductInfoRequest as ::steam_vent_proto_common::protobuf::Message>::default_instance()
    }
}

impl CMsgClientPICSProductInfoRequest {
    pub fn new() -> CMsgClientPICSProductInfoRequest {
        ::std::default::Default::default()
    }

    // optional bool meta_data_only = 3;

    pub fn meta_data_only(&self) -> bool {
        self.meta_data_only.unwrap_or(false)
    }

    pub fn clear_meta_data_only(&mut self) {
        self.meta_data_only = ::std::option::Option::None;
    }

    pub fn has_meta_data_only(&self) -> bool {
        self.meta_data_only.is_some()
    }

    // Param is passed by value, moved
    pub fn set_meta_data_only(&mut self, v: bool) {
        self.meta_data_only = ::std::option::Option::Some(v);
    }

    // optional uint32 num_prev_failed = 4;

    pub fn num_prev_failed(&self) -> u32 {
        self.num_prev_failed.unwrap_or(0)
    }

    pub fn clear_num_prev_failed(&mut self) {
        self.num_prev_failed = ::std::option::Option::None;
    }

    pub fn has_num_prev_failed(&self) -> bool {
        self.num_prev_failed.is_some()
    }

    // Param is passed by value, moved
    pub fn set_num_prev_failed(&mut self, v: u32) {
        self.num_prev_failed = ::std::option::Option::Some(v);
    }

    // optional uint32 OBSOLETE_supports_package_tokens = 5;

    pub fn OBSOLETE_supports_package_tokens(&self) -> u32 {
        self.OBSOLETE_supports_package_tokens.unwrap_or(0)
    }

    pub fn clear_OBSOLETE_supports_package_tokens(&mut self) {
        self.OBSOLETE_supports_package_tokens = ::std::option::Option::None;
    }

    pub fn has_OBSOLETE_supports_package_tokens(&self) -> bool {
        self.OBSOLETE_supports_package_tokens.is_some()
    }

    // Param is passed by value, moved
    pub fn set_OBSOLETE_supports_package_tokens(&mut self, v: u32) {
        self.OBSOLETE_supports_package_tokens = ::std::option::Option::Some(v);
    }

    // optional uint32 sequence_number = 6;

    pub fn sequence_number(&self) -> u32 {
        self.sequence_number.unwrap_or(0)
    }

    pub fn clear_sequence_number(&mut self) {
        self.sequence_number = ::std::option::Option::None;
    }

    pub fn has_sequence_number(&self) -> bool {
        self.sequence_number.is_some()
    }

    // Param is passed by value, moved
    pub fn set_sequence_number(&mut self, v: u32) {
        self.sequence_number = ::std::option::Option::Some(v);
    }

    // optional bool single_response = 7;

    pub fn single_response(&self) -> bool {
        self.single_response.unwrap_or(false)
    }

    pub fn clear_single_response(&mut self) {
        self.single_response = ::std::option::Option::None;
    }

    pub fn has_single_response(&self) -> bool {
        self.single_response.is_some()
    }

    // Param is passed by value, moved
    pub fn set_single_response(&mut self, v: bool) {
        self.single_response = ::std::option::Option::Some(v);
    }
}

impl ::steam_vent_proto_common::protobuf::Message for CMsgClientPICSProductInfoRequest {
    const NAME: &'static str = "CMsgClientPICSProductInfoRequest";

    fn is_initialized(&self) -> bool {
        true
    }

    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        while let Some(tag) = is.read_raw_tag_or_eof()? {
            match tag {
                10 => {
                    self.packages.push(is.read_message()?);
                },
                18 => {
                    self.apps.push(is.read_message()?);
                },
                24 => {
                    self.meta_data_only = ::std::option::Option::Some(is.read_bool()?);
                },
                32 => {
                    self.num_prev_failed = ::std::option::Option::Some(is.read_uint32()?);
                },
                40 => {
                    self.OBSOLETE_supports_package_tokens = ::std::option::Option::Some(is.read_uint32()?);
                },
                48 => {
                    self.sequence_number = ::std::option::Option::Some(is.read_uint32()?);
                },
                56 => {
                    self.single_response = ::std::option::Option::Some(is.read_bool()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u64 {
        let mut my_size = 0;
        for value in &self.packages {
            let len = value.compute_size();
            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
        };
        for value in &self.apps {
            let len = value.compute_size();
            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
        };
        if let Some(v) = self.meta_data_only {
            my_size += 1 + 1;
        }
        if let Some(v) = self.num_prev_failed {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, v);
        }
        if let Some(v) = self.OBSOLETE_supports_package_tokens {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(5, v);
        }
        if let Some(v) = self.sequence_number {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
        }
        if let Some(v) = self.single_response {
            my_size += 1 + 1;
        }
        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
        self.special_fields.cached_size().set(my_size as u32);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        for v in &self.packages {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
        };
        for v in &self.apps {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
        };
        if let Some(v) = self.meta_data_only {
            os.write_bool(3, v)?;
        }
        if let Some(v) = self.num_prev_failed {
            os.write_uint32(4, v)?;
        }
        if let Some(v) = self.OBSOLETE_supports_package_tokens {
            os.write_uint32(5, v)?;
        }
        if let Some(v) = self.sequence_number {
            os.write_uint32(6, v)?;
        }
        if let Some(v) = self.single_response {
            os.write_bool(7, v)?;
        }
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
        &self.special_fields
    }

    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
        &mut self.special_fields
    }

    fn new() -> CMsgClientPICSProductInfoRequest {
        CMsgClientPICSProductInfoRequest::new()
    }

    fn clear(&mut self) {
        self.packages.clear();
        self.apps.clear();
        self.meta_data_only = ::std::option::Option::None;
        self.num_prev_failed = ::std::option::Option::None;
        self.OBSOLETE_supports_package_tokens = ::std::option::Option::None;
        self.sequence_number = ::std::option::Option::None;
        self.single_response = ::std::option::Option::None;
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CMsgClientPICSProductInfoRequest {
        static instance: CMsgClientPICSProductInfoRequest = CMsgClientPICSProductInfoRequest {
            packages: ::std::vec::Vec::new(),
            apps: ::std::vec::Vec::new(),
            meta_data_only: ::std::option::Option::None,
            num_prev_failed: ::std::option::Option::None,
            OBSOLETE_supports_package_tokens: ::std::option::Option::None,
            sequence_number: ::std::option::Option::None,
            single_response: ::std::option::Option::None,
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

/// Nested message and enums of message `CMsgClientPICSProductInfoRequest`
pub mod cmsg_client_picsproduct_info_request {
    // @@protoc_insertion_point(message:CMsgClientPICSProductInfoRequest.AppInfo)
    #[derive(PartialEq,Clone,Default,Debug)]
    pub struct AppInfo {
        // message fields
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoRequest.AppInfo.appid)
        pub appid: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoRequest.AppInfo.access_token)
        pub access_token: ::std::option::Option<u64>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoRequest.AppInfo.only_public_obsolete)
        pub only_public_obsolete: ::std::option::Option<bool>,
        // special fields
        // @@protoc_insertion_point(special_field:CMsgClientPICSProductInfoRequest.AppInfo.special_fields)
        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
    }

    impl<'a> ::std::default::Default for &'a AppInfo {
        fn default() -> &'a AppInfo {
            <AppInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
        }
    }

    impl AppInfo {
        pub fn new() -> AppInfo {
            ::std::default::Default::default()
        }

        // optional uint32 appid = 1;

        pub fn appid(&self) -> u32 {
            self.appid.unwrap_or(0)
        }

        pub fn clear_appid(&mut self) {
            self.appid = ::std::option::Option::None;
        }

        pub fn has_appid(&self) -> bool {
            self.appid.is_some()
        }

        // Param is passed by value, moved
        pub fn set_appid(&mut self, v: u32) {
            self.appid = ::std::option::Option::Some(v);
        }

        // optional uint64 access_token = 2;

        pub fn access_token(&self) -> u64 {
            self.access_token.unwrap_or(0)
        }

        pub fn clear_access_token(&mut self) {
            self.access_token = ::std::option::Option::None;
        }

        pub fn has_access_token(&self) -> bool {
            self.access_token.is_some()
        }

        // Param is passed by value, moved
        pub fn set_access_token(&mut self, v: u64) {
            self.access_token = ::std::option::Option::Some(v);
        }

        // optional bool only_public_obsolete = 3;

        pub fn only_public_obsolete(&self) -> bool {
            self.only_public_obsolete.unwrap_or(false)
        }

        pub fn clear_only_public_obsolete(&mut self) {
            self.only_public_obsolete = ::std::option::Option::None;
        }

        pub fn has_only_public_obsolete(&self) -> bool {
            self.only_public_obsolete.is_some()
        }

        // Param is passed by value, moved
        pub fn set_only_public_obsolete(&mut self, v: bool) {
            self.only_public_obsolete = ::std::option::Option::Some(v);
        }
    }

    impl ::steam_vent_proto_common::protobuf::Message for AppInfo {
        const NAME: &'static str = "AppInfo";

        fn is_initialized(&self) -> bool {
            true
        }

        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            while let Some(tag) = is.read_raw_tag_or_eof()? {
                match tag {
                    8 => {
                        self.appid = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    16 => {
                        self.access_token = ::std::option::Option::Some(is.read_uint64()?);
                    },
                    24 => {
                        self.only_public_obsolete = ::std::option::Option::Some(is.read_bool()?);
                    },
                    tag => {
                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                    },
                };
            }
            ::std::result::Result::Ok(())
        }

        // Compute sizes of nested messages
        #[allow(unused_variables)]
        fn compute_size(&self) -> u64 {
            let mut my_size = 0;
            if let Some(v) = self.appid {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
            }
            if let Some(v) = self.access_token {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
            }
            if let Some(v) = self.only_public_obsolete {
                my_size += 1 + 1;
            }
            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
            self.special_fields.cached_size().set(my_size as u32);
            my_size
        }

        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            if let Some(v) = self.appid {
                os.write_uint32(1, v)?;
            }
            if let Some(v) = self.access_token {
                os.write_uint64(2, v)?;
            }
            if let Some(v) = self.only_public_obsolete {
                os.write_bool(3, v)?;
            }
            os.write_unknown_fields(self.special_fields.unknown_fields())?;
            ::std::result::Result::Ok(())
        }

        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
            &self.special_fields
        }

        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
            &mut self.special_fields
        }

        fn new() -> AppInfo {
            AppInfo::new()
        }

        fn clear(&mut self) {
            self.appid = ::std::option::Option::None;
            self.access_token = ::std::option::Option::None;
            self.only_public_obsolete = ::std::option::Option::None;
            self.special_fields.clear();
        }

        fn default_instance() -> &'static AppInfo {
            static instance: AppInfo = AppInfo {
                appid: ::std::option::Option::None,
                access_token: ::std::option::Option::None,
                only_public_obsolete: ::std::option::Option::None,
                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
            };
            &instance
        }
    }

    // @@protoc_insertion_point(message:CMsgClientPICSProductInfoRequest.PackageInfo)
    #[derive(PartialEq,Clone,Default,Debug)]
    pub struct PackageInfo {
        // message fields
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoRequest.PackageInfo.packageid)
        pub packageid: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoRequest.PackageInfo.access_token)
        pub access_token: ::std::option::Option<u64>,
        // special fields
        // @@protoc_insertion_point(special_field:CMsgClientPICSProductInfoRequest.PackageInfo.special_fields)
        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
    }

    impl<'a> ::std::default::Default for &'a PackageInfo {
        fn default() -> &'a PackageInfo {
            <PackageInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
        }
    }

    impl PackageInfo {
        pub fn new() -> PackageInfo {
            ::std::default::Default::default()
        }

        // optional uint32 packageid = 1;

        pub fn packageid(&self) -> u32 {
            self.packageid.unwrap_or(0)
        }

        pub fn clear_packageid(&mut self) {
            self.packageid = ::std::option::Option::None;
        }

        pub fn has_packageid(&self) -> bool {
            self.packageid.is_some()
        }

        // Param is passed by value, moved
        pub fn set_packageid(&mut self, v: u32) {
            self.packageid = ::std::option::Option::Some(v);
        }

        // optional uint64 access_token = 2;

        pub fn access_token(&self) -> u64 {
            self.access_token.unwrap_or(0)
        }

        pub fn clear_access_token(&mut self) {
            self.access_token = ::std::option::Option::None;
        }

        pub fn has_access_token(&self) -> bool {
            self.access_token.is_some()
        }

        // Param is passed by value, moved
        pub fn set_access_token(&mut self, v: u64) {
            self.access_token = ::std::option::Option::Some(v);
        }
    }

    impl ::steam_vent_proto_common::protobuf::Message for PackageInfo {
        const NAME: &'static str = "PackageInfo";

        fn is_initialized(&self) -> bool {
            true
        }

        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            while let Some(tag) = is.read_raw_tag_or_eof()? {
                match tag {
                    8 => {
                        self.packageid = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    16 => {
                        self.access_token = ::std::option::Option::Some(is.read_uint64()?);
                    },
                    tag => {
                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                    },
                };
            }
            ::std::result::Result::Ok(())
        }

        // Compute sizes of nested messages
        #[allow(unused_variables)]
        fn compute_size(&self) -> u64 {
            let mut my_size = 0;
            if let Some(v) = self.packageid {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
            }
            if let Some(v) = self.access_token {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
            }
            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
            self.special_fields.cached_size().set(my_size as u32);
            my_size
        }

        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            if let Some(v) = self.packageid {
                os.write_uint32(1, v)?;
            }
            if let Some(v) = self.access_token {
                os.write_uint64(2, v)?;
            }
            os.write_unknown_fields(self.special_fields.unknown_fields())?;
            ::std::result::Result::Ok(())
        }

        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
            &self.special_fields
        }

        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
            &mut self.special_fields
        }

        fn new() -> PackageInfo {
            PackageInfo::new()
        }

        fn clear(&mut self) {
            self.packageid = ::std::option::Option::None;
            self.access_token = ::std::option::Option::None;
            self.special_fields.clear();
        }

        fn default_instance() -> &'static PackageInfo {
            static instance: PackageInfo = PackageInfo {
                packageid: ::std::option::Option::None,
                access_token: ::std::option::Option::None,
                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
            };
            &instance
        }
    }
}

// @@protoc_insertion_point(message:CMsgClientPICSProductInfoResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgClientPICSProductInfoResponse {
    // message fields
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.apps)
    pub apps: ::std::vec::Vec<cmsg_client_picsproduct_info_response::AppInfo>,
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.unknown_appids)
    pub unknown_appids: ::std::vec::Vec<u32>,
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.packages)
    pub packages: ::std::vec::Vec<cmsg_client_picsproduct_info_response::PackageInfo>,
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.unknown_packageids)
    pub unknown_packageids: ::std::vec::Vec<u32>,
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.meta_data_only)
    pub meta_data_only: ::std::option::Option<bool>,
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.response_pending)
    pub response_pending: ::std::option::Option<bool>,
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.http_min_size)
    pub http_min_size: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.http_host)
    pub http_host: ::std::option::Option<::std::string::String>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgClientPICSProductInfoResponse.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

impl<'a> ::std::default::Default for &'a CMsgClientPICSProductInfoResponse {
    fn default() -> &'a CMsgClientPICSProductInfoResponse {
        <CMsgClientPICSProductInfoResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
    }
}

impl CMsgClientPICSProductInfoResponse {
    pub fn new() -> CMsgClientPICSProductInfoResponse {
        ::std::default::Default::default()
    }

    // optional bool meta_data_only = 5;

    pub fn meta_data_only(&self) -> bool {
        self.meta_data_only.unwrap_or(false)
    }

    pub fn clear_meta_data_only(&mut self) {
        self.meta_data_only = ::std::option::Option::None;
    }

    pub fn has_meta_data_only(&self) -> bool {
        self.meta_data_only.is_some()
    }

    // Param is passed by value, moved
    pub fn set_meta_data_only(&mut self, v: bool) {
        self.meta_data_only = ::std::option::Option::Some(v);
    }

    // optional bool response_pending = 6;

    pub fn response_pending(&self) -> bool {
        self.response_pending.unwrap_or(false)
    }

    pub fn clear_response_pending(&mut self) {
        self.response_pending = ::std::option::Option::None;
    }

    pub fn has_response_pending(&self) -> bool {
        self.response_pending.is_some()
    }

    // Param is passed by value, moved
    pub fn set_response_pending(&mut self, v: bool) {
        self.response_pending = ::std::option::Option::Some(v);
    }

    // optional uint32 http_min_size = 7;

    pub fn http_min_size(&self) -> u32 {
        self.http_min_size.unwrap_or(0)
    }

    pub fn clear_http_min_size(&mut self) {
        self.http_min_size = ::std::option::Option::None;
    }

    pub fn has_http_min_size(&self) -> bool {
        self.http_min_size.is_some()
    }

    // Param is passed by value, moved
    pub fn set_http_min_size(&mut self, v: u32) {
        self.http_min_size = ::std::option::Option::Some(v);
    }

    // optional string http_host = 8;

    pub fn http_host(&self) -> &str {
        match self.http_host.as_ref() {
            Some(v) => v,
            None => "",
        }
    }

    pub fn clear_http_host(&mut self) {
        self.http_host = ::std::option::Option::None;
    }

    pub fn has_http_host(&self) -> bool {
        self.http_host.is_some()
    }

    // Param is passed by value, moved
    pub fn set_http_host(&mut self, v: ::std::string::String) {
        self.http_host = ::std::option::Option::Some(v);
    }

    // Mutable pointer to the field.
    // If field is not initialized, it is initialized with default value first.
    pub fn mut_http_host(&mut self) -> &mut ::std::string::String {
        if self.http_host.is_none() {
            self.http_host = ::std::option::Option::Some(::std::string::String::new());
        }
        self.http_host.as_mut().unwrap()
    }

    // Take field
    pub fn take_http_host(&mut self) -> ::std::string::String {
        self.http_host.take().unwrap_or_else(|| ::std::string::String::new())
    }
}

impl ::steam_vent_proto_common::protobuf::Message for CMsgClientPICSProductInfoResponse {
    const NAME: &'static str = "CMsgClientPICSProductInfoResponse";

    fn is_initialized(&self) -> bool {
        true
    }

    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        while let Some(tag) = is.read_raw_tag_or_eof()? {
            match tag {
                10 => {
                    self.apps.push(is.read_message()?);
                },
                18 => {
                    is.read_repeated_packed_uint32_into(&mut self.unknown_appids)?;
                },
                16 => {
                    self.unknown_appids.push(is.read_uint32()?);
                },
                26 => {
                    self.packages.push(is.read_message()?);
                },
                34 => {
                    is.read_repeated_packed_uint32_into(&mut self.unknown_packageids)?;
                },
                32 => {
                    self.unknown_packageids.push(is.read_uint32()?);
                },
                40 => {
                    self.meta_data_only = ::std::option::Option::Some(is.read_bool()?);
                },
                48 => {
                    self.response_pending = ::std::option::Option::Some(is.read_bool()?);
                },
                56 => {
                    self.http_min_size = ::std::option::Option::Some(is.read_uint32()?);
                },
                66 => {
                    self.http_host = ::std::option::Option::Some(is.read_string()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u64 {
        let mut my_size = 0;
        for value in &self.apps {
            let len = value.compute_size();
            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
        };
        for value in &self.unknown_appids {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, *value);
        };
        for value in &self.packages {
            let len = value.compute_size();
            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
        };
        for value in &self.unknown_packageids {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, *value);
        };
        if let Some(v) = self.meta_data_only {
            my_size += 1 + 1;
        }
        if let Some(v) = self.response_pending {
            my_size += 1 + 1;
        }
        if let Some(v) = self.http_min_size {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
        }
        if let Some(v) = self.http_host.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
        }
        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
        self.special_fields.cached_size().set(my_size as u32);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        for v in &self.apps {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
        };
        for v in &self.unknown_appids {
            os.write_uint32(2, *v)?;
        };
        for v in &self.packages {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
        };
        for v in &self.unknown_packageids {
            os.write_uint32(4, *v)?;
        };
        if let Some(v) = self.meta_data_only {
            os.write_bool(5, v)?;
        }
        if let Some(v) = self.response_pending {
            os.write_bool(6, v)?;
        }
        if let Some(v) = self.http_min_size {
            os.write_uint32(7, v)?;
        }
        if let Some(v) = self.http_host.as_ref() {
            os.write_string(8, v)?;
        }
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
        &self.special_fields
    }

    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
        &mut self.special_fields
    }

    fn new() -> CMsgClientPICSProductInfoResponse {
        CMsgClientPICSProductInfoResponse::new()
    }

    fn clear(&mut self) {
        self.apps.clear();
        self.unknown_appids.clear();
        self.packages.clear();
        self.unknown_packageids.clear();
        self.meta_data_only = ::std::option::Option::None;
        self.response_pending = ::std::option::Option::None;
        self.http_min_size = ::std::option::Option::None;
        self.http_host = ::std::option::Option::None;
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CMsgClientPICSProductInfoResponse {
        static instance: CMsgClientPICSProductInfoResponse = CMsgClientPICSProductInfoResponse {
            apps: ::std::vec::Vec::new(),
            unknown_appids: ::std::vec::Vec::new(),
            packages: ::std::vec::Vec::new(),
            unknown_packageids: ::std::vec::Vec::new(),
            meta_data_only: ::std::option::Option::None,
            response_pending: ::std::option::Option::None,
            http_min_size: ::std::option::Option::None,
            http_host: ::std::option::Option::None,
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

/// Nested message and enums of message `CMsgClientPICSProductInfoResponse`
pub mod cmsg_client_picsproduct_info_response {
    // @@protoc_insertion_point(message:CMsgClientPICSProductInfoResponse.AppInfo)
    #[derive(PartialEq,Clone,Default,Debug)]
    pub struct AppInfo {
        // message fields
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.AppInfo.appid)
        pub appid: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.AppInfo.change_number)
        pub change_number: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.AppInfo.missing_token)
        pub missing_token: ::std::option::Option<bool>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.AppInfo.sha)
        pub sha: ::std::option::Option<::std::vec::Vec<u8>>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.AppInfo.buffer)
        pub buffer: ::std::option::Option<::std::vec::Vec<u8>>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.AppInfo.only_public)
        pub only_public: ::std::option::Option<bool>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.AppInfo.size)
        pub size: ::std::option::Option<u32>,
        // special fields
        // @@protoc_insertion_point(special_field:CMsgClientPICSProductInfoResponse.AppInfo.special_fields)
        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
    }

    impl<'a> ::std::default::Default for &'a AppInfo {
        fn default() -> &'a AppInfo {
            <AppInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
        }
    }

    impl AppInfo {
        pub fn new() -> AppInfo {
            ::std::default::Default::default()
        }

        // optional uint32 appid = 1;

        pub fn appid(&self) -> u32 {
            self.appid.unwrap_or(0)
        }

        pub fn clear_appid(&mut self) {
            self.appid = ::std::option::Option::None;
        }

        pub fn has_appid(&self) -> bool {
            self.appid.is_some()
        }

        // Param is passed by value, moved
        pub fn set_appid(&mut self, v: u32) {
            self.appid = ::std::option::Option::Some(v);
        }

        // optional uint32 change_number = 2;

        pub fn change_number(&self) -> u32 {
            self.change_number.unwrap_or(0)
        }

        pub fn clear_change_number(&mut self) {
            self.change_number = ::std::option::Option::None;
        }

        pub fn has_change_number(&self) -> bool {
            self.change_number.is_some()
        }

        // Param is passed by value, moved
        pub fn set_change_number(&mut self, v: u32) {
            self.change_number = ::std::option::Option::Some(v);
        }

        // optional bool missing_token = 3;

        pub fn missing_token(&self) -> bool {
            self.missing_token.unwrap_or(false)
        }

        pub fn clear_missing_token(&mut self) {
            self.missing_token = ::std::option::Option::None;
        }

        pub fn has_missing_token(&self) -> bool {
            self.missing_token.is_some()
        }

        // Param is passed by value, moved
        pub fn set_missing_token(&mut self, v: bool) {
            self.missing_token = ::std::option::Option::Some(v);
        }

        // optional bytes sha = 4;

        pub fn sha(&self) -> &[u8] {
            match self.sha.as_ref() {
                Some(v) => v,
                None => &[],
            }
        }

        pub fn clear_sha(&mut self) {
            self.sha = ::std::option::Option::None;
        }

        pub fn has_sha(&self) -> bool {
            self.sha.is_some()
        }

        // Param is passed by value, moved
        pub fn set_sha(&mut self, v: ::std::vec::Vec<u8>) {
            self.sha = ::std::option::Option::Some(v);
        }

        // Mutable pointer to the field.
        // If field is not initialized, it is initialized with default value first.
        pub fn mut_sha(&mut self) -> &mut ::std::vec::Vec<u8> {
            if self.sha.is_none() {
                self.sha = ::std::option::Option::Some(::std::vec::Vec::new());
            }
            self.sha.as_mut().unwrap()
        }

        // Take field
        pub fn take_sha(&mut self) -> ::std::vec::Vec<u8> {
            self.sha.take().unwrap_or_else(|| ::std::vec::Vec::new())
        }

        // optional bytes buffer = 5;

        pub fn buffer(&self) -> &[u8] {
            match self.buffer.as_ref() {
                Some(v) => v,
                None => &[],
            }
        }

        pub fn clear_buffer(&mut self) {
            self.buffer = ::std::option::Option::None;
        }

        pub fn has_buffer(&self) -> bool {
            self.buffer.is_some()
        }

        // Param is passed by value, moved
        pub fn set_buffer(&mut self, v: ::std::vec::Vec<u8>) {
            self.buffer = ::std::option::Option::Some(v);
        }

        // Mutable pointer to the field.
        // If field is not initialized, it is initialized with default value first.
        pub fn mut_buffer(&mut self) -> &mut ::std::vec::Vec<u8> {
            if self.buffer.is_none() {
                self.buffer = ::std::option::Option::Some(::std::vec::Vec::new());
            }
            self.buffer.as_mut().unwrap()
        }

        // Take field
        pub fn take_buffer(&mut self) -> ::std::vec::Vec<u8> {
            self.buffer.take().unwrap_or_else(|| ::std::vec::Vec::new())
        }

        // optional bool only_public = 6;

        pub fn only_public(&self) -> bool {
            self.only_public.unwrap_or(false)
        }

        pub fn clear_only_public(&mut self) {
            self.only_public = ::std::option::Option::None;
        }

        pub fn has_only_public(&self) -> bool {
            self.only_public.is_some()
        }

        // Param is passed by value, moved
        pub fn set_only_public(&mut self, v: bool) {
            self.only_public = ::std::option::Option::Some(v);
        }

        // optional uint32 size = 7;

        pub fn size(&self) -> u32 {
            self.size.unwrap_or(0)
        }

        pub fn clear_size(&mut self) {
            self.size = ::std::option::Option::None;
        }

        pub fn has_size(&self) -> bool {
            self.size.is_some()
        }

        // Param is passed by value, moved
        pub fn set_size(&mut self, v: u32) {
            self.size = ::std::option::Option::Some(v);
        }
    }

    impl ::steam_vent_proto_common::protobuf::Message for AppInfo {
        const NAME: &'static str = "AppInfo";

        fn is_initialized(&self) -> bool {
            true
        }

        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            while let Some(tag) = is.read_raw_tag_or_eof()? {
                match tag {
                    8 => {
                        self.appid = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    16 => {
                        self.change_number = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    24 => {
                        self.missing_token = ::std::option::Option::Some(is.read_bool()?);
                    },
                    34 => {
                        self.sha = ::std::option::Option::Some(is.read_bytes()?);
                    },
                    42 => {
                        self.buffer = ::std::option::Option::Some(is.read_bytes()?);
                    },
                    48 => {
                        self.only_public = ::std::option::Option::Some(is.read_bool()?);
                    },
                    56 => {
                        self.size = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    tag => {
                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                    },
                };
            }
            ::std::result::Result::Ok(())
        }

        // Compute sizes of nested messages
        #[allow(unused_variables)]
        fn compute_size(&self) -> u64 {
            let mut my_size = 0;
            if let Some(v) = self.appid {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
            }
            if let Some(v) = self.change_number {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
            }
            if let Some(v) = self.missing_token {
                my_size += 1 + 1;
            }
            if let Some(v) = self.sha.as_ref() {
                my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(4, &v);
            }
            if let Some(v) = self.buffer.as_ref() {
                my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(5, &v);
            }
            if let Some(v) = self.only_public {
                my_size += 1 + 1;
            }
            if let Some(v) = self.size {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
            }
            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
            self.special_fields.cached_size().set(my_size as u32);
            my_size
        }

        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            if let Some(v) = self.appid {
                os.write_uint32(1, v)?;
            }
            if let Some(v) = self.change_number {
                os.write_uint32(2, v)?;
            }
            if let Some(v) = self.missing_token {
                os.write_bool(3, v)?;
            }
            if let Some(v) = self.sha.as_ref() {
                os.write_bytes(4, v)?;
            }
            if let Some(v) = self.buffer.as_ref() {
                os.write_bytes(5, v)?;
            }
            if let Some(v) = self.only_public {
                os.write_bool(6, v)?;
            }
            if let Some(v) = self.size {
                os.write_uint32(7, v)?;
            }
            os.write_unknown_fields(self.special_fields.unknown_fields())?;
            ::std::result::Result::Ok(())
        }

        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
            &self.special_fields
        }

        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
            &mut self.special_fields
        }

        fn new() -> AppInfo {
            AppInfo::new()
        }

        fn clear(&mut self) {
            self.appid = ::std::option::Option::None;
            self.change_number = ::std::option::Option::None;
            self.missing_token = ::std::option::Option::None;
            self.sha = ::std::option::Option::None;
            self.buffer = ::std::option::Option::None;
            self.only_public = ::std::option::Option::None;
            self.size = ::std::option::Option::None;
            self.special_fields.clear();
        }

        fn default_instance() -> &'static AppInfo {
            static instance: AppInfo = AppInfo {
                appid: ::std::option::Option::None,
                change_number: ::std::option::Option::None,
                missing_token: ::std::option::Option::None,
                sha: ::std::option::Option::None,
                buffer: ::std::option::Option::None,
                only_public: ::std::option::Option::None,
                size: ::std::option::Option::None,
                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
            };
            &instance
        }
    }

    // @@protoc_insertion_point(message:CMsgClientPICSProductInfoResponse.PackageInfo)
    #[derive(PartialEq,Clone,Default,Debug)]
    pub struct PackageInfo {
        // message fields
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.PackageInfo.packageid)
        pub packageid: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.PackageInfo.change_number)
        pub change_number: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.PackageInfo.missing_token)
        pub missing_token: ::std::option::Option<bool>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.PackageInfo.sha)
        pub sha: ::std::option::Option<::std::vec::Vec<u8>>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.PackageInfo.buffer)
        pub buffer: ::std::option::Option<::std::vec::Vec<u8>>,
        // @@protoc_insertion_point(field:CMsgClientPICSProductInfoResponse.PackageInfo.size)
        pub size: ::std::option::Option<u32>,
        // special fields
        // @@protoc_insertion_point(special_field:CMsgClientPICSProductInfoResponse.PackageInfo.special_fields)
        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
    }

    impl<'a> ::std::default::Default for &'a PackageInfo {
        fn default() -> &'a PackageInfo {
            <PackageInfo as ::steam_vent_proto_common::protobuf::Message>::default_instance()
        }
    }

    impl PackageInfo {
        pub fn new() -> PackageInfo {
            ::std::default::Default::default()
        }

        // optional uint32 packageid = 1;

        pub fn packageid(&self) -> u32 {
            self.packageid.unwrap_or(0)
        }

        pub fn clear_packageid(&mut self) {
            self.packageid = ::std::option::Option::None;
        }

        pub fn has_packageid(&self) -> bool {
            self.packageid.is_some()
        }

        // Param is passed by value, moved
        pub fn set_packageid(&mut self, v: u32) {
            self.packageid = ::std::option::Option::Some(v);
        }

        // optional uint32 change_number = 2;

        pub fn change_number(&self) -> u32 {
            self.change_number.unwrap_or(0)
        }

        pub fn clear_change_number(&mut self) {
            self.change_number = ::std::option::Option::None;
        }

        pub fn has_change_number(&self) -> bool {
            self.change_number.is_some()
        }

        // Param is passed by value, moved
        pub fn set_change_number(&mut self, v: u32) {
            self.change_number = ::std::option::Option::Some(v);
        }

        // optional bool missing_token = 3;

        pub fn missing_token(&self) -> bool {
            self.missing_token.unwrap_or(false)
        }

        pub fn clear_missing_token(&mut self) {
            self.missing_token = ::std::option::Option::None;
        }

        pub fn has_missing_token(&self) -> bool {
            self.missing_token.is_some()
        }

        // Param is passed by value, moved
        pub fn set_missing_token(&mut self, v: bool) {
            self.missing_token = ::std::option::Option::Some(v);
        }

        // optional bytes sha = 4;

        pub fn sha(&self) -> &[u8] {
            match self.sha.as_ref() {
                Some(v) => v,
                None => &[],
            }
        }

        pub fn clear_sha(&mut self) {
            self.sha = ::std::option::Option::None;
        }

        pub fn has_sha(&self) -> bool {
            self.sha.is_some()
        }

        // Param is passed by value, moved
        pub fn set_sha(&mut self, v: ::std::vec::Vec<u8>) {
            self.sha = ::std::option::Option::Some(v);
        }

        // Mutable pointer to the field.
        // If field is not initialized, it is initialized with default value first.
        pub fn mut_sha(&mut self) -> &mut ::std::vec::Vec<u8> {
            if self.sha.is_none() {
                self.sha = ::std::option::Option::Some(::std::vec::Vec::new());
            }
            self.sha.as_mut().unwrap()
        }

        // Take field
        pub fn take_sha(&mut self) -> ::std::vec::Vec<u8> {
            self.sha.take().unwrap_or_else(|| ::std::vec::Vec::new())
        }

        // optional bytes buffer = 5;

        pub fn buffer(&self) -> &[u8] {
            match self.buffer.as_ref() {
                Some(v) => v,
                None => &[],
            }
        }

        pub fn clear_buffer(&mut self) {
            self.buffer = ::std::option::Option::None;
        }

        pub fn has_buffer(&self) -> bool {
            self.buffer.is_some()
        }

        // Param is passed by value, moved
        pub fn set_buffer(&mut self, v: ::std::vec::Vec<u8>) {
            self.buffer = ::std::option::Option::Some(v);
        }

        // Mutable pointer to the field.
        // If field is not initialized, it is initialized with default value first.
        pub fn mut_buffer(&mut self) -> &mut ::std::vec::Vec<u8> {
            if self.buffer.is_none() {
                self.buffer = ::std::option::Option::Some(::std::vec::Vec::new());
            }
            self.buffer.as_mut().unwrap()
        }

        // Take field
        pub fn take_buffer(&mut self) -> ::std::vec::Vec<u8> {
            self.buffer.take().unwrap_or_else(|| ::std::vec::Vec::new())
        }

        // optional uint32 size = 6;

        pub fn size(&self) -> u32 {
            self.size.unwrap_or(0)
        }

        pub fn clear_size(&mut self) {
            self.size = ::std::option::Option::None;
        }

        pub fn has_size(&self) -> bool {
            self.size.is_some()
        }

        // Param is passed by value, moved
        pub fn set_size(&mut self, v: u32) {
            self.size = ::std::option::Option::Some(v);
        }
    }

    impl ::steam_vent_proto_common::protobuf::Message for PackageInfo {
        const NAME: &'static str = "PackageInfo";

        fn is_initialized(&self) -> bool {
            true
        }

        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            while let Some(tag) = is.read_raw_tag_or_eof()? {
                match tag {
                    8 => {
                        self.packageid = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    16 => {
                        self.change_number = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    24 => {
                        self.missing_token = ::std::option::Option::Some(is.read_bool()?);
                    },
                    34 => {
                        self.sha = ::std::option::Option::Some(is.read_bytes()?);
                    },
                    42 => {
                        self.buffer = ::std::option::Option::Some(is.read_bytes()?);
                    },
                    48 => {
                        self.size = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    tag => {
                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                    },
                };
            }
            ::std::result::Result::Ok(())
        }

        // Compute sizes of nested messages
        #[allow(unused_variables)]
        fn compute_size(&self) -> u64 {
            let mut my_size = 0;
            if let Some(v) = self.packageid {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
            }
            if let Some(v) = self.change_number {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
            }
            if let Some(v) = self.missing_token {
                my_size += 1 + 1;
            }
            if let Some(v) = self.sha.as_ref() {
                my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(4, &v);
            }
            if let Some(v) = self.buffer.as_ref() {
                my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(5, &v);
            }
            if let Some(v) = self.size {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
            }
            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
            self.special_fields.cached_size().set(my_size as u32);
            my_size
        }

        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            if let Some(v) = self.packageid {
                os.write_uint32(1, v)?;
            }
            if let Some(v) = self.change_number {
                os.write_uint32(2, v)?;
            }
            if let Some(v) = self.missing_token {
                os.write_bool(3, v)?;
            }
            if let Some(v) = self.sha.as_ref() {
                os.write_bytes(4, v)?;
            }
            if let Some(v) = self.buffer.as_ref() {
                os.write_bytes(5, v)?;
            }
            if let Some(v) = self.size {
                os.write_uint32(6, v)?;
            }
            os.write_unknown_fields(self.special_fields.unknown_fields())?;
            ::std::result::Result::Ok(())
        }

        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
            &self.special_fields
        }

        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
            &mut self.special_fields
        }

        fn new() -> PackageInfo {
            PackageInfo::new()
        }

        fn clear(&mut self) {
            self.packageid = ::std::option::Option::None;
            self.change_number = ::std::option::Option::None;
            self.missing_token = ::std::option::Option::None;
            self.sha = ::std::option::Option::None;
            self.buffer = ::std::option::Option::None;
            self.size = ::std::option::Option::None;
            self.special_fields.clear();
        }

        fn default_instance() -> &'static PackageInfo {
            static instance: PackageInfo = PackageInfo {
                packageid: ::std::option::Option::None,
                change_number: ::std::option::Option::None,
                missing_token: ::std::option::Option::None,
                sha: ::std::option::Option::None,
                buffer: ::std::option::Option::None,
                size: ::std::option::Option::None,
                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
            };
            &instance
        }
    }
}

// @@protoc_insertion_point(message:CMsgClientPICSAccessTokenRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgClientPICSAccessTokenRequest {
    // message fields
    // @@protoc_insertion_point(field:CMsgClientPICSAccessTokenRequest.packageids)
    pub packageids: ::std::vec::Vec<u32>,
    // @@protoc_insertion_point(field:CMsgClientPICSAccessTokenRequest.appids)
    pub appids: ::std::vec::Vec<u32>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgClientPICSAccessTokenRequest.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

impl<'a> ::std::default::Default for &'a CMsgClientPICSAccessTokenRequest {
    fn default() -> &'a CMsgClientPICSAccessTokenRequest {
        <CMsgClientPICSAccessTokenRequest as ::steam_vent_proto_common::protobuf::Message>::default_instance()
    }
}

impl CMsgClientPICSAccessTokenRequest {
    pub fn new() -> CMsgClientPICSAccessTokenRequest {
        ::std::default::Default::default()
    }
}

impl ::steam_vent_proto_common::protobuf::Message for CMsgClientPICSAccessTokenRequest {
    const NAME: &'static str = "CMsgClientPICSAccessTokenRequest";

    fn is_initialized(&self) -> bool {
        true
    }

    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        while let Some(tag) = is.read_raw_tag_or_eof()? {
            match tag {
                10 => {
                    is.read_repeated_packed_uint32_into(&mut self.packageids)?;
                },
                8 => {
                    self.packageids.push(is.read_uint32()?);
                },
                18 => {
                    is.read_repeated_packed_uint32_into(&mut self.appids)?;
                },
                16 => {
                    self.appids.push(is.read_uint32()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u64 {
        let mut my_size = 0;
        for value in &self.packageids {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, *value);
        };
        for value in &self.appids {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, *value);
        };
        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
        self.special_fields.cached_size().set(my_size as u32);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        for v in &self.packageids {
            os.write_uint32(1, *v)?;
        };
        for v in &self.appids {
            os.write_uint32(2, *v)?;
        };
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
        &self.special_fields
    }

    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
        &mut self.special_fields
    }

    fn new() -> CMsgClientPICSAccessTokenRequest {
        CMsgClientPICSAccessTokenRequest::new()
    }

    fn clear(&mut self) {
        self.packageids.clear();
        self.appids.clear();
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CMsgClientPICSAccessTokenRequest {
        static instance: CMsgClientPICSAccessTokenRequest = CMsgClientPICSAccessTokenRequest {
            packageids: ::std::vec::Vec::new(),
            appids: ::std::vec::Vec::new(),
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

// @@protoc_insertion_point(message:CMsgClientPICSAccessTokenResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgClientPICSAccessTokenResponse {
    // message fields
    // @@protoc_insertion_point(field:CMsgClientPICSAccessTokenResponse.package_access_tokens)
    pub package_access_tokens: ::std::vec::Vec<cmsg_client_picsaccess_token_response::PackageToken>,
    // @@protoc_insertion_point(field:CMsgClientPICSAccessTokenResponse.package_denied_tokens)
    pub package_denied_tokens: ::std::vec::Vec<u32>,
    // @@protoc_insertion_point(field:CMsgClientPICSAccessTokenResponse.app_access_tokens)
    pub app_access_tokens: ::std::vec::Vec<cmsg_client_picsaccess_token_response::AppToken>,
    // @@protoc_insertion_point(field:CMsgClientPICSAccessTokenResponse.app_denied_tokens)
    pub app_denied_tokens: ::std::vec::Vec<u32>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgClientPICSAccessTokenResponse.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

impl<'a> ::std::default::Default for &'a CMsgClientPICSAccessTokenResponse {
    fn default() -> &'a CMsgClientPICSAccessTokenResponse {
        <CMsgClientPICSAccessTokenResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
    }
}

impl CMsgClientPICSAccessTokenResponse {
    pub fn new() -> CMsgClientPICSAccessTokenResponse {
        ::std::default::Default::default()
    }
}

impl ::steam_vent_proto_common::protobuf::Message for CMsgClientPICSAccessTokenResponse {
    const NAME: &'static str = "CMsgClientPICSAccessTokenResponse";

    fn is_initialized(&self) -> bool {
        true
    }

    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        while let Some(tag) = is.read_raw_tag_or_eof()? {
            match tag {
                10 => {
                    self.package_access_tokens.push(is.read_message()?);
                },
                18 => {
                    is.read_repeated_packed_uint32_into(&mut self.package_denied_tokens)?;
                },
                16 => {
                    self.package_denied_tokens.push(is.read_uint32()?);
                },
                26 => {
                    self.app_access_tokens.push(is.read_message()?);
                },
                34 => {
                    is.read_repeated_packed_uint32_into(&mut self.app_denied_tokens)?;
                },
                32 => {
                    self.app_denied_tokens.push(is.read_uint32()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u64 {
        let mut my_size = 0;
        for value in &self.package_access_tokens {
            let len = value.compute_size();
            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
        };
        for value in &self.package_denied_tokens {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, *value);
        };
        for value in &self.app_access_tokens {
            let len = value.compute_size();
            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
        };
        for value in &self.app_denied_tokens {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(4, *value);
        };
        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
        self.special_fields.cached_size().set(my_size as u32);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        for v in &self.package_access_tokens {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
        };
        for v in &self.package_denied_tokens {
            os.write_uint32(2, *v)?;
        };
        for v in &self.app_access_tokens {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(3, v, os)?;
        };
        for v in &self.app_denied_tokens {
            os.write_uint32(4, *v)?;
        };
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
        &self.special_fields
    }

    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
        &mut self.special_fields
    }

    fn new() -> CMsgClientPICSAccessTokenResponse {
        CMsgClientPICSAccessTokenResponse::new()
    }

    fn clear(&mut self) {
        self.package_access_tokens.clear();
        self.package_denied_tokens.clear();
        self.app_access_tokens.clear();
        self.app_denied_tokens.clear();
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CMsgClientPICSAccessTokenResponse {
        static instance: CMsgClientPICSAccessTokenResponse = CMsgClientPICSAccessTokenResponse {
            package_access_tokens: ::std::vec::Vec::new(),
            package_denied_tokens: ::std::vec::Vec::new(),
            app_access_tokens: ::std::vec::Vec::new(),
            app_denied_tokens: ::std::vec::Vec::new(),
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

/// Nested message and enums of message `CMsgClientPICSAccessTokenResponse`
pub mod cmsg_client_picsaccess_token_response {
    // @@protoc_insertion_point(message:CMsgClientPICSAccessTokenResponse.PackageToken)
    #[derive(PartialEq,Clone,Default,Debug)]
    pub struct PackageToken {
        // message fields
        // @@protoc_insertion_point(field:CMsgClientPICSAccessTokenResponse.PackageToken.packageid)
        pub packageid: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientPICSAccessTokenResponse.PackageToken.access_token)
        pub access_token: ::std::option::Option<u64>,
        // special fields
        // @@protoc_insertion_point(special_field:CMsgClientPICSAccessTokenResponse.PackageToken.special_fields)
        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
    }

    impl<'a> ::std::default::Default for &'a PackageToken {
        fn default() -> &'a PackageToken {
            <PackageToken as ::steam_vent_proto_common::protobuf::Message>::default_instance()
        }
    }

    impl PackageToken {
        pub fn new() -> PackageToken {
            ::std::default::Default::default()
        }

        // optional uint32 packageid = 1;

        pub fn packageid(&self) -> u32 {
            self.packageid.unwrap_or(0)
        }

        pub fn clear_packageid(&mut self) {
            self.packageid = ::std::option::Option::None;
        }

        pub fn has_packageid(&self) -> bool {
            self.packageid.is_some()
        }

        // Param is passed by value, moved
        pub fn set_packageid(&mut self, v: u32) {
            self.packageid = ::std::option::Option::Some(v);
        }

        // optional uint64 access_token = 2;

        pub fn access_token(&self) -> u64 {
            self.access_token.unwrap_or(0)
        }

        pub fn clear_access_token(&mut self) {
            self.access_token = ::std::option::Option::None;
        }

        pub fn has_access_token(&self) -> bool {
            self.access_token.is_some()
        }

        // Param is passed by value, moved
        pub fn set_access_token(&mut self, v: u64) {
            self.access_token = ::std::option::Option::Some(v);
        }
    }

    impl ::steam_vent_proto_common::protobuf::Message for PackageToken {
        const NAME: &'static str = "PackageToken";

        fn is_initialized(&self) -> bool {
            true
        }

        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            while let Some(tag) = is.read_raw_tag_or_eof()? {
                match tag {
                    8 => {
                        self.packageid = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    16 => {
                        self.access_token = ::std::option::Option::Some(is.read_uint64()?);
                    },
                    tag => {
                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                    },
                };
            }
            ::std::result::Result::Ok(())
        }

        // Compute sizes of nested messages
        #[allow(unused_variables)]
        fn compute_size(&self) -> u64 {
            let mut my_size = 0;
            if let Some(v) = self.packageid {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
            }
            if let Some(v) = self.access_token {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
            }
            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
            self.special_fields.cached_size().set(my_size as u32);
            my_size
        }

        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            if let Some(v) = self.packageid {
                os.write_uint32(1, v)?;
            }
            if let Some(v) = self.access_token {
                os.write_uint64(2, v)?;
            }
            os.write_unknown_fields(self.special_fields.unknown_fields())?;
            ::std::result::Result::Ok(())
        }

        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
            &self.special_fields
        }

        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
            &mut self.special_fields
        }

        fn new() -> PackageToken {
            PackageToken::new()
        }

        fn clear(&mut self) {
            self.packageid = ::std::option::Option::None;
            self.access_token = ::std::option::Option::None;
            self.special_fields.clear();
        }

        fn default_instance() -> &'static PackageToken {
            static instance: PackageToken = PackageToken {
                packageid: ::std::option::Option::None,
                access_token: ::std::option::Option::None,
                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
            };
            &instance
        }
    }

    // @@protoc_insertion_point(message:CMsgClientPICSAccessTokenResponse.AppToken)
    #[derive(PartialEq,Clone,Default,Debug)]
    pub struct AppToken {
        // message fields
        // @@protoc_insertion_point(field:CMsgClientPICSAccessTokenResponse.AppToken.appid)
        pub appid: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgClientPICSAccessTokenResponse.AppToken.access_token)
        pub access_token: ::std::option::Option<u64>,
        // special fields
        // @@protoc_insertion_point(special_field:CMsgClientPICSAccessTokenResponse.AppToken.special_fields)
        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
    }

    impl<'a> ::std::default::Default for &'a AppToken {
        fn default() -> &'a AppToken {
            <AppToken as ::steam_vent_proto_common::protobuf::Message>::default_instance()
        }
    }

    impl AppToken {
        pub fn new() -> AppToken {
            ::std::default::Default::default()
        }

        // optional uint32 appid = 1;

        pub fn appid(&self) -> u32 {
            self.appid.unwrap_or(0)
        }

        pub fn clear_appid(&mut self) {
            self.appid = ::std::option::Option::None;
        }

        pub fn has_appid(&self) -> bool {
            self.appid.is_some()
        }

        // Param is passed by value, moved
        pub fn set_appid(&mut self, v: u32) {
            self.appid = ::std::option::Option::Some(v);
        }

        // optional uint64 access_token = 2;

        pub fn access_token(&self) -> u64 {
            self.access_token.unwrap_or(0)
        }

        pub fn clear_access_token(&mut self) {
            self.access_token = ::std::option::Option::None;
        }

        pub fn has_access_token(&self) -> bool {
            self.access_token.is_some()
        }

        // Param is passed by value, moved
        pub fn set_access_token(&mut self, v: u64) {
            self.access_token = ::std::option::Option::Some(v);
        }
    }

    impl ::steam_vent_proto_common::protobuf::Message for AppToken {
        const NAME: &'static str = "AppToken";

        fn is_initialized(&self) -> bool {
            true
        }

        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            while let Some(tag) = is.read_raw_tag_or_eof()? {
                match tag {
                    8 => {
                        self.appid = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    16 => {
                        self.access_token = ::std::option::Option::Some(is.read_uint64()?);
                    },
                    tag => {
                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                    },
                };
            }
            ::std::result::Result::Ok(())
        }

        // Compute sizes of nested messages
        #[allow(unused_variables)]
        fn compute_size(&self) -> u64 {
            let mut my_size = 0;
            if let Some(v) = self.appid {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
            }
            if let Some(v) = self.access_token {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
            }
            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
            self.special_fields.cached_size().set(my_size as u32);
            my_size
        }

        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            if let Some(v) = self.appid {
                os.write_uint32(1, v)?;
            }
            if let Some(v) = self.access_token {
                os.write_uint64(2, v)?;
            }
            os.write_unknown_fields(self.special_fields.unknown_fields())?;
            ::std::result::Result::Ok(())
        }

        fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
            &self.special_fields
        }

        fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
            &mut self.special_fields
        }

        fn new() -> AppToken {
            AppToken::new()
        }

        fn clear(&mut self) {
            self.appid = ::std::option::Option::None;
            self.access_token = ::std::option::Option::None;
            self.special_fields.clear();
        }

        fn default_instance() -> &'static AppToken {
            static instance: AppToken = AppToken {
                appid: ::std::option::Option::None,
                access_token: ::std::option::Option::None,
                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
            };
            &instance
        }
    }
}

// @@protoc_insertion_point(message:CMsgClientPICSPrivateBetaRequest)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgClientPICSPrivateBetaRequest {
    // message fields
    // @@protoc_insertion_point(field:CMsgClientPICSPrivateBetaRequest.appid)
    pub appid: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CMsgClientPICSPrivateBetaRequest.access_token)
    pub access_token: ::std::option::Option<u64>,
    // @@protoc_insertion_point(field:CMsgClientPICSPrivateBetaRequest.beta_name)
    pub beta_name: ::std::option::Option<::std::string::String>,
    // @@protoc_insertion_point(field:CMsgClientPICSPrivateBetaRequest.password_hash)
    pub password_hash: ::std::option::Option<::std::vec::Vec<u8>>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgClientPICSPrivateBetaRequest.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

impl<'a> ::std::default::Default for &'a CMsgClientPICSPrivateBetaRequest {
    fn default() -> &'a CMsgClientPICSPrivateBetaRequest {
        <CMsgClientPICSPrivateBetaRequest as ::steam_vent_proto_common::protobuf::Message>::default_instance()
    }
}

impl CMsgClientPICSPrivateBetaRequest {
    pub fn new() -> CMsgClientPICSPrivateBetaRequest {
        ::std::default::Default::default()
    }

    // optional uint32 appid = 1;

    pub fn appid(&self) -> u32 {
        self.appid.unwrap_or(0)
    }

    pub fn clear_appid(&mut self) {
        self.appid = ::std::option::Option::None;
    }

    pub fn has_appid(&self) -> bool {
        self.appid.is_some()
    }

    // Param is passed by value, moved
    pub fn set_appid(&mut self, v: u32) {
        self.appid = ::std::option::Option::Some(v);
    }

    // optional uint64 access_token = 2;

    pub fn access_token(&self) -> u64 {
        self.access_token.unwrap_or(0)
    }

    pub fn clear_access_token(&mut self) {
        self.access_token = ::std::option::Option::None;
    }

    pub fn has_access_token(&self) -> bool {
        self.access_token.is_some()
    }

    // Param is passed by value, moved
    pub fn set_access_token(&mut self, v: u64) {
        self.access_token = ::std::option::Option::Some(v);
    }

    // optional string beta_name = 3;

    pub fn beta_name(&self) -> &str {
        match self.beta_name.as_ref() {
            Some(v) => v,
            None => "",
        }
    }

    pub fn clear_beta_name(&mut self) {
        self.beta_name = ::std::option::Option::None;
    }

    pub fn has_beta_name(&self) -> bool {
        self.beta_name.is_some()
    }

    // Param is passed by value, moved
    pub fn set_beta_name(&mut self, v: ::std::string::String) {
        self.beta_name = ::std::option::Option::Some(v);
    }

    // Mutable pointer to the field.
    // If field is not initialized, it is initialized with default value first.
    pub fn mut_beta_name(&mut self) -> &mut ::std::string::String {
        if self.beta_name.is_none() {
            self.beta_name = ::std::option::Option::Some(::std::string::String::new());
        }
        self.beta_name.as_mut().unwrap()
    }

    // Take field
    pub fn take_beta_name(&mut self) -> ::std::string::String {
        self.beta_name.take().unwrap_or_else(|| ::std::string::String::new())
    }

    // optional bytes password_hash = 4;

    pub fn password_hash(&self) -> &[u8] {
        match self.password_hash.as_ref() {
            Some(v) => v,
            None => &[],
        }
    }

    pub fn clear_password_hash(&mut self) {
        self.password_hash = ::std::option::Option::None;
    }

    pub fn has_password_hash(&self) -> bool {
        self.password_hash.is_some()
    }

    // Param is passed by value, moved
    pub fn set_password_hash(&mut self, v: ::std::vec::Vec<u8>) {
        self.password_hash = ::std::option::Option::Some(v);
    }

    // Mutable pointer to the field.
    // If field is not initialized, it is initialized with default value first.
    pub fn mut_password_hash(&mut self) -> &mut ::std::vec::Vec<u8> {
        if self.password_hash.is_none() {
            self.password_hash = ::std::option::Option::Some(::std::vec::Vec::new());
        }
        self.password_hash.as_mut().unwrap()
    }

    // Take field
    pub fn take_password_hash(&mut self) -> ::std::vec::Vec<u8> {
        self.password_hash.take().unwrap_or_else(|| ::std::vec::Vec::new())
    }
}

impl ::steam_vent_proto_common::protobuf::Message for CMsgClientPICSPrivateBetaRequest {
    const NAME: &'static str = "CMsgClientPICSPrivateBetaRequest";

    fn is_initialized(&self) -> bool {
        true
    }

    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        while let Some(tag) = is.read_raw_tag_or_eof()? {
            match tag {
                8 => {
                    self.appid = ::std::option::Option::Some(is.read_uint32()?);
                },
                16 => {
                    self.access_token = ::std::option::Option::Some(is.read_uint64()?);
                },
                26 => {
                    self.beta_name = ::std::option::Option::Some(is.read_string()?);
                },
                34 => {
                    self.password_hash = ::std::option::Option::Some(is.read_bytes()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u64 {
        let mut my_size = 0;
        if let Some(v) = self.appid {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
        }
        if let Some(v) = self.access_token {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
        }
        if let Some(v) = self.beta_name.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
        }
        if let Some(v) = self.password_hash.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(4, &v);
        }
        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
        self.special_fields.cached_size().set(my_size as u32);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        if let Some(v) = self.appid {
            os.write_uint32(1, v)?;
        }
        if let Some(v) = self.access_token {
            os.write_uint64(2, v)?;
        }
        if let Some(v) = self.beta_name.as_ref() {
            os.write_string(3, v)?;
        }
        if let Some(v) = self.password_hash.as_ref() {
            os.write_bytes(4, v)?;
        }
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
        &self.special_fields
    }

    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
        &mut self.special_fields
    }

    fn new() -> CMsgClientPICSPrivateBetaRequest {
        CMsgClientPICSPrivateBetaRequest::new()
    }

    fn clear(&mut self) {
        self.appid = ::std::option::Option::None;
        self.access_token = ::std::option::Option::None;
        self.beta_name = ::std::option::Option::None;
        self.password_hash = ::std::option::Option::None;
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CMsgClientPICSPrivateBetaRequest {
        static instance: CMsgClientPICSPrivateBetaRequest = CMsgClientPICSPrivateBetaRequest {
            appid: ::std::option::Option::None,
            access_token: ::std::option::Option::None,
            beta_name: ::std::option::Option::None,
            password_hash: ::std::option::Option::None,
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

// @@protoc_insertion_point(message:CMsgClientPICSPrivateBetaResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgClientPICSPrivateBetaResponse {
    // message fields
    // @@protoc_insertion_point(field:CMsgClientPICSPrivateBetaResponse.eresult)
    pub eresult: ::std::option::Option<i32>,
    // @@protoc_insertion_point(field:CMsgClientPICSPrivateBetaResponse.depot_section)
    pub depot_section: ::std::option::Option<::std::vec::Vec<u8>>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgClientPICSPrivateBetaResponse.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

impl<'a> ::std::default::Default for &'a CMsgClientPICSPrivateBetaResponse {
    fn default() -> &'a CMsgClientPICSPrivateBetaResponse {
        <CMsgClientPICSPrivateBetaResponse as ::steam_vent_proto_common::protobuf::Message>::default_instance()
    }
}

impl CMsgClientPICSPrivateBetaResponse {
    pub fn new() -> CMsgClientPICSPrivateBetaResponse {
        ::std::default::Default::default()
    }

    // optional int32 eresult = 1;

    pub fn eresult(&self) -> i32 {
        self.eresult.unwrap_or(2i32)
    }

    pub fn clear_eresult(&mut self) {
        self.eresult = ::std::option::Option::None;
    }

    pub fn has_eresult(&self) -> bool {
        self.eresult.is_some()
    }

    // Param is passed by value, moved
    pub fn set_eresult(&mut self, v: i32) {
        self.eresult = ::std::option::Option::Some(v);
    }

    // optional bytes depot_section = 2;

    pub fn depot_section(&self) -> &[u8] {
        match self.depot_section.as_ref() {
            Some(v) => v,
            None => &[],
        }
    }

    pub fn clear_depot_section(&mut self) {
        self.depot_section = ::std::option::Option::None;
    }

    pub fn has_depot_section(&self) -> bool {
        self.depot_section.is_some()
    }

    // Param is passed by value, moved
    pub fn set_depot_section(&mut self, v: ::std::vec::Vec<u8>) {
        self.depot_section = ::std::option::Option::Some(v);
    }

    // Mutable pointer to the field.
    // If field is not initialized, it is initialized with default value first.
    pub fn mut_depot_section(&mut self) -> &mut ::std::vec::Vec<u8> {
        if self.depot_section.is_none() {
            self.depot_section = ::std::option::Option::Some(::std::vec::Vec::new());
        }
        self.depot_section.as_mut().unwrap()
    }

    // Take field
    pub fn take_depot_section(&mut self) -> ::std::vec::Vec<u8> {
        self.depot_section.take().unwrap_or_else(|| ::std::vec::Vec::new())
    }
}

impl ::steam_vent_proto_common::protobuf::Message for CMsgClientPICSPrivateBetaResponse {
    const NAME: &'static str = "CMsgClientPICSPrivateBetaResponse";

    fn is_initialized(&self) -> bool {
        true
    }

    fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        while let Some(tag) = is.read_raw_tag_or_eof()? {
            match tag {
                8 => {
                    self.eresult = ::std::option::Option::Some(is.read_int32()?);
                },
                18 => {
                    self.depot_section = ::std::option::Option::Some(is.read_bytes()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u64 {
        let mut my_size = 0;
        if let Some(v) = self.eresult {
            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
        }
        if let Some(v) = self.depot_section.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(2, &v);
        }
        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
        self.special_fields.cached_size().set(my_size as u32);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        if let Some(v) = self.eresult {
            os.write_int32(1, v)?;
        }
        if let Some(v) = self.depot_section.as_ref() {
            os.write_bytes(2, v)?;
        }
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

    fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
        &self.special_fields
    }

    fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
        &mut self.special_fields
    }

    fn new() -> CMsgClientPICSPrivateBetaResponse {
        CMsgClientPICSPrivateBetaResponse::new()
    }

    fn clear(&mut self) {
        self.eresult = ::std::option::Option::None;
        self.depot_section = ::std::option::Option::None;
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CMsgClientPICSPrivateBetaResponse {
        static instance: CMsgClientPICSPrivateBetaResponse = CMsgClientPICSPrivateBetaResponse {
            eresult: ::std::option::Option::None,
            depot_section: ::std::option::Option::None,
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}


const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;

#[allow(unused_imports)]
use crate::steammessages_base::*;
impl ::steam_vent_proto_common::RpcMessage for CMsgClientAppInfoUpdate {
    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
    }
    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
        use ::steam_vent_proto_common::protobuf::Message;
        self.write_to_writer(writer)
    }
    fn encode_size(&self) -> usize {
        use ::steam_vent_proto_common::protobuf::Message;
        self.compute_size() as usize
    }
}
impl ::steam_vent_proto_common::RpcMessage for CMsgClientAppInfoChanges {
    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
    }
    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
        use ::steam_vent_proto_common::protobuf::Message;
        self.write_to_writer(writer)
    }
    fn encode_size(&self) -> usize {
        use ::steam_vent_proto_common::protobuf::Message;
        self.compute_size() as usize
    }
}
impl ::steam_vent_proto_common::RpcMessage for CMsgClientAppInfoRequest {
    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
    }
    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
        use ::steam_vent_proto_common::protobuf::Message;
        self.write_to_writer(writer)
    }
    fn encode_size(&self) -> usize {
        use ::steam_vent_proto_common::protobuf::Message;
        self.compute_size() as usize
    }
}
impl ::steam_vent_proto_common::RpcMessage for CMsgClientPICSChangesSinceRequest {
    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
    }
    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
        use ::steam_vent_proto_common::protobuf::Message;
        self.write_to_writer(writer)
    }
    fn encode_size(&self) -> usize {
        use ::steam_vent_proto_common::protobuf::Message;
        self.compute_size() as usize
    }
}
impl ::steam_vent_proto_common::RpcMessageWithKind
for CMsgClientPICSChangesSinceRequest {
    type KindEnum = crate::enums_clientserver::EMsg;
    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientPICSChangesSinceRequest;
}
impl ::steam_vent_proto_common::RpcMessage for CMsgClientPICSChangesSinceResponse {
    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
    }
    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
        use ::steam_vent_proto_common::protobuf::Message;
        self.write_to_writer(writer)
    }
    fn encode_size(&self) -> usize {
        use ::steam_vent_proto_common::protobuf::Message;
        self.compute_size() as usize
    }
}
impl ::steam_vent_proto_common::RpcMessageWithKind
for CMsgClientPICSChangesSinceResponse {
    type KindEnum = crate::enums_clientserver::EMsg;
    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientPICSChangesSinceResponse;
}
impl ::steam_vent_proto_common::RpcMessage for CMsgClientPICSProductInfoRequest {
    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
    }
    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
        use ::steam_vent_proto_common::protobuf::Message;
        self.write_to_writer(writer)
    }
    fn encode_size(&self) -> usize {
        use ::steam_vent_proto_common::protobuf::Message;
        self.compute_size() as usize
    }
}
impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientPICSProductInfoRequest {
    type KindEnum = crate::enums_clientserver::EMsg;
    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientPICSProductInfoRequest;
}
impl ::steam_vent_proto_common::RpcMessage for CMsgClientPICSProductInfoResponse {
    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
    }
    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
        use ::steam_vent_proto_common::protobuf::Message;
        self.write_to_writer(writer)
    }
    fn encode_size(&self) -> usize {
        use ::steam_vent_proto_common::protobuf::Message;
        self.compute_size() as usize
    }
}
impl ::steam_vent_proto_common::RpcMessageWithKind
for CMsgClientPICSProductInfoResponse {
    type KindEnum = crate::enums_clientserver::EMsg;
    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientPICSProductInfoResponse;
}
impl ::steam_vent_proto_common::RpcMessage for CMsgClientPICSAccessTokenRequest {
    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
    }
    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
        use ::steam_vent_proto_common::protobuf::Message;
        self.write_to_writer(writer)
    }
    fn encode_size(&self) -> usize {
        use ::steam_vent_proto_common::protobuf::Message;
        self.compute_size() as usize
    }
}
impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientPICSAccessTokenRequest {
    type KindEnum = crate::enums_clientserver::EMsg;
    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientPICSAccessTokenRequest;
}
impl ::steam_vent_proto_common::RpcMessage for CMsgClientPICSAccessTokenResponse {
    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
    }
    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
        use ::steam_vent_proto_common::protobuf::Message;
        self.write_to_writer(writer)
    }
    fn encode_size(&self) -> usize {
        use ::steam_vent_proto_common::protobuf::Message;
        self.compute_size() as usize
    }
}
impl ::steam_vent_proto_common::RpcMessageWithKind
for CMsgClientPICSAccessTokenResponse {
    type KindEnum = crate::enums_clientserver::EMsg;
    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientPICSAccessTokenResponse;
}
impl ::steam_vent_proto_common::RpcMessage for CMsgClientPICSPrivateBetaRequest {
    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
    }
    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
        use ::steam_vent_proto_common::protobuf::Message;
        self.write_to_writer(writer)
    }
    fn encode_size(&self) -> usize {
        use ::steam_vent_proto_common::protobuf::Message;
        self.compute_size() as usize
    }
}
impl ::steam_vent_proto_common::RpcMessageWithKind for CMsgClientPICSPrivateBetaRequest {
    type KindEnum = crate::enums_clientserver::EMsg;
    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientPICSPrivateBetaRequest;
}
impl ::steam_vent_proto_common::RpcMessage for CMsgClientPICSPrivateBetaResponse {
    fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
        <Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
    }
    fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
        use ::steam_vent_proto_common::protobuf::Message;
        self.write_to_writer(writer)
    }
    fn encode_size(&self) -> usize {
        use ::steam_vent_proto_common::protobuf::Message;
        self.compute_size() as usize
    }
}
impl ::steam_vent_proto_common::RpcMessageWithKind
for CMsgClientPICSPrivateBetaResponse {
    type KindEnum = crate::enums_clientserver::EMsg;
    const KIND: Self::KindEnum = crate::enums_clientserver::EMsg::k_EMsgClientPICSPrivateBetaResponse;
}
