// 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 `webuimessages_hardwareupdate.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:CHardwareUpdate_GetState_Request)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CHardwareUpdate_GetState_Request {
    // special fields
    // @@protoc_insertion_point(special_field:CHardwareUpdate_GetState_Request.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

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

    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 {
                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;
        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<()> {
        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() -> CHardwareUpdate_GetState_Request {
        CHardwareUpdate_GetState_Request::new()
    }

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

    fn default_instance() -> &'static CHardwareUpdate_GetState_Request {
        static instance: CHardwareUpdate_GetState_Request = CHardwareUpdate_GetState_Request {
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

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

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

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

    // optional bool is_updater_supported = 1;

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

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

    pub fn has_is_updater_supported(&self) -> bool {
        self.is_updater_supported.is_some()
    }

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

    // optional bool has_seen_controllers = 2;

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

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

    pub fn has_has_seen_controllers(&self) -> bool {
        self.has_seen_controllers.is_some()
    }

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

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

    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.is_updater_supported = ::std::option::Option::Some(is.read_bool()?);
                },
                16 => {
                    self.has_seen_controllers = ::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.is_updater_supported {
            my_size += 1 + 1;
        }
        if let Some(v) = self.has_seen_controllers {
            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.is_updater_supported {
            os.write_bool(1, v)?;
        }
        if let Some(v) = self.has_seen_controllers {
            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() -> CHardwareUpdate_GetState_Response {
        CHardwareUpdate_GetState_Response::new()
    }

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

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

// @@protoc_insertion_point(message:CHardwareUpdate_StateChanged_Notification)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CHardwareUpdate_StateChanged_Notification {
    // special fields
    // @@protoc_insertion_point(special_field:CHardwareUpdate_StateChanged_Notification.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

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

    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 {
                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;
        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<()> {
        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() -> CHardwareUpdate_StateChanged_Notification {
        CHardwareUpdate_StateChanged_Notification::new()
    }

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

    fn default_instance() -> &'static CHardwareUpdate_StateChanged_Notification {
        static instance: CHardwareUpdate_StateChanged_Notification = CHardwareUpdate_StateChanged_Notification {
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

// @@protoc_insertion_point(message:CHardwareUpdate_CheckForUpdates_Request)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CHardwareUpdate_CheckForUpdates_Request {
    // special fields
    // @@protoc_insertion_point(special_field:CHardwareUpdate_CheckForUpdates_Request.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

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

    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 {
                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;
        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<()> {
        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() -> CHardwareUpdate_CheckForUpdates_Request {
        CHardwareUpdate_CheckForUpdates_Request::new()
    }

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

    fn default_instance() -> &'static CHardwareUpdate_CheckForUpdates_Request {
        static instance: CHardwareUpdate_CheckForUpdates_Request = CHardwareUpdate_CheckForUpdates_Request {
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

// @@protoc_insertion_point(message:CMsgAvailableHardwareUpdate)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgAvailableHardwareUpdate {
    // message fields
    // @@protoc_insertion_point(field:CMsgAvailableHardwareUpdate.etype)
    pub etype: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CMsgAvailableHardwareUpdate.hardware_id)
    pub hardware_id: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CMsgAvailableHardwareUpdate.serial_number)
    pub serial_number: ::std::option::Option<::std::string::String>,
    // @@protoc_insertion_point(field:CMsgAvailableHardwareUpdate.current_ts)
    pub current_ts: ::std::option::Option<::std::string::String>,
    // @@protoc_insertion_point(field:CMsgAvailableHardwareUpdate.update_ts)
    pub update_ts: ::std::option::Option<::std::string::String>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgAvailableHardwareUpdate.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

    // optional uint32 etype = 1;

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

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

    pub fn has_etype(&self) -> bool {
        self.etype.is_some()
    }

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

    // optional uint32 hardware_id = 2;

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

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

    pub fn has_hardware_id(&self) -> bool {
        self.hardware_id.is_some()
    }

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

    // optional string serial_number = 3;

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

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

    pub fn has_serial_number(&self) -> bool {
        self.serial_number.is_some()
    }

    // Param is passed by value, moved
    pub fn set_serial_number(&mut self, v: ::std::string::String) {
        self.serial_number = ::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_serial_number(&mut self) -> &mut ::std::string::String {
        if self.serial_number.is_none() {
            self.serial_number = ::std::option::Option::Some(::std::string::String::new());
        }
        self.serial_number.as_mut().unwrap()
    }

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

    // optional string current_ts = 4;

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

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

    pub fn has_current_ts(&self) -> bool {
        self.current_ts.is_some()
    }

    // Param is passed by value, moved
    pub fn set_current_ts(&mut self, v: ::std::string::String) {
        self.current_ts = ::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_current_ts(&mut self) -> &mut ::std::string::String {
        if self.current_ts.is_none() {
            self.current_ts = ::std::option::Option::Some(::std::string::String::new());
        }
        self.current_ts.as_mut().unwrap()
    }

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

    // optional string update_ts = 5;

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

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

    pub fn has_update_ts(&self) -> bool {
        self.update_ts.is_some()
    }

    // Param is passed by value, moved
    pub fn set_update_ts(&mut self, v: ::std::string::String) {
        self.update_ts = ::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_update_ts(&mut self) -> &mut ::std::string::String {
        if self.update_ts.is_none() {
            self.update_ts = ::std::option::Option::Some(::std::string::String::new());
        }
        self.update_ts.as_mut().unwrap()
    }

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

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

    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.etype = ::std::option::Option::Some(is.read_uint32()?);
                },
                16 => {
                    self.hardware_id = ::std::option::Option::Some(is.read_uint32()?);
                },
                26 => {
                    self.serial_number = ::std::option::Option::Some(is.read_string()?);
                },
                34 => {
                    self.current_ts = ::std::option::Option::Some(is.read_string()?);
                },
                42 => {
                    self.update_ts = ::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;
        if let Some(v) = self.etype {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
        }
        if let Some(v) = self.hardware_id {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
        }
        if let Some(v) = self.serial_number.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
        }
        if let Some(v) = self.current_ts.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &v);
        }
        if let Some(v) = self.update_ts.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_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.etype {
            os.write_uint32(1, v)?;
        }
        if let Some(v) = self.hardware_id {
            os.write_uint32(2, v)?;
        }
        if let Some(v) = self.serial_number.as_ref() {
            os.write_string(3, v)?;
        }
        if let Some(v) = self.current_ts.as_ref() {
            os.write_string(4, v)?;
        }
        if let Some(v) = self.update_ts.as_ref() {
            os.write_string(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() -> CMsgAvailableHardwareUpdate {
        CMsgAvailableHardwareUpdate::new()
    }

    fn clear(&mut self) {
        self.etype = ::std::option::Option::None;
        self.hardware_id = ::std::option::Option::None;
        self.serial_number = ::std::option::Option::None;
        self.current_ts = ::std::option::Option::None;
        self.update_ts = ::std::option::Option::None;
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CMsgAvailableHardwareUpdate {
        static instance: CMsgAvailableHardwareUpdate = CMsgAvailableHardwareUpdate {
            etype: ::std::option::Option::None,
            hardware_id: ::std::option::Option::None,
            serial_number: ::std::option::Option::None,
            current_ts: ::std::option::Option::None,
            update_ts: ::std::option::Option::None,
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

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

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

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

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

    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.updates.push(is.read_message()?);
                },
                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.updates {
            let len = value.compute_size();
            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
        };
        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.updates {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
        };
        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() -> CHardwareUpdate_CheckForUpdates_Response {
        CHardwareUpdate_CheckForUpdates_Response::new()
    }

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

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

// @@protoc_insertion_point(message:CHardwareUpdate_Update_Request)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CHardwareUpdate_Update_Request {
    // message fields
    // @@protoc_insertion_point(field:CHardwareUpdate_Update_Request.serial_number)
    pub serial_number: ::std::option::Option<::std::string::String>,
    // special fields
    // @@protoc_insertion_point(special_field:CHardwareUpdate_Update_Request.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

    // optional string serial_number = 1;

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

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

    pub fn has_serial_number(&self) -> bool {
        self.serial_number.is_some()
    }

    // Param is passed by value, moved
    pub fn set_serial_number(&mut self, v: ::std::string::String) {
        self.serial_number = ::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_serial_number(&mut self) -> &mut ::std::string::String {
        if self.serial_number.is_none() {
            self.serial_number = ::std::option::Option::Some(::std::string::String::new());
        }
        self.serial_number.as_mut().unwrap()
    }

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

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

    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.serial_number = ::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;
        if let Some(v) = self.serial_number.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &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.serial_number.as_ref() {
            os.write_string(1, 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() -> CHardwareUpdate_Update_Request {
        CHardwareUpdate_Update_Request::new()
    }

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

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

// @@protoc_insertion_point(message:CHardwareUpdate_Update_Response)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CHardwareUpdate_Update_Response {
    // special fields
    // @@protoc_insertion_point(special_field:CHardwareUpdate_Update_Response.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

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

    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 {
                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;
        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<()> {
        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() -> CHardwareUpdate_Update_Response {
        CHardwareUpdate_Update_Response::new()
    }

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

    fn default_instance() -> &'static CHardwareUpdate_Update_Response {
        static instance: CHardwareUpdate_Update_Response = CHardwareUpdate_Update_Response {
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

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

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

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

    // optional int32 progress = 1;

    pub fn progress(&self) -> i32 {
        self.progress.unwrap_or(0)
    }

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

    pub fn has_progress(&self) -> bool {
        self.progress.is_some()
    }

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

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

    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.progress = ::std::option::Option::Some(is.read_int32()?);
                },
                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.progress {
            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, 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.progress {
            os.write_int32(1, 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() -> CHardwareUpdate_UpdateProgress_Notification {
        CHardwareUpdate_UpdateProgress_Notification::new()
    }

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

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

// @@protoc_insertion_point(message:CHardwareUpdate_UpdateStateChanged_Notification)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CHardwareUpdate_UpdateStateChanged_Notification {
    // special fields
    // @@protoc_insertion_point(special_field:CHardwareUpdate_UpdateStateChanged_Notification.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

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

    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 {
                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;
        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<()> {
        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() -> CHardwareUpdate_UpdateStateChanged_Notification {
        CHardwareUpdate_UpdateStateChanged_Notification::new()
    }

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

    fn default_instance() -> &'static CHardwareUpdate_UpdateStateChanged_Notification {
        static instance: CHardwareUpdate_UpdateStateChanged_Notification = CHardwareUpdate_UpdateStateChanged_Notification {
            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::enums::*;
#[allow(unused_imports)]
use crate::steammessages_base::*;
#[allow(unused_imports)]
use crate::webuimessages_base::*;
impl ::steam_vent_proto_common::RpcMessage for CHardwareUpdate_GetState_Request {
    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 CHardwareUpdate_GetState_Response {
    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 CHardwareUpdate_StateChanged_Notification {
    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 CHardwareUpdate_CheckForUpdates_Request {
    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 CMsgAvailableHardwareUpdate {
    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 CHardwareUpdate_CheckForUpdates_Response {
    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 CHardwareUpdate_Update_Request {
    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 CHardwareUpdate_Update_Response {
    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 CHardwareUpdate_UpdateProgress_Notification {
    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 CHardwareUpdate_UpdateStateChanged_Notification {
    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
    }
}
///
struct HardwareUpdate {}
impl ::steam_vent_proto_common::RpcService for HardwareUpdate {
    const SERVICE_NAME: &'static str = "HardwareUpdate";
}
impl ::steam_vent_proto_common::RpcMethod for CHardwareUpdate_CheckForUpdates_Request {
    const METHOD_NAME: &'static str = "HardwareUpdate.CheckForUpdates#1";
    type Response = CHardwareUpdate_CheckForUpdates_Response;
}
impl ::steam_vent_proto_common::RpcMethod for CHardwareUpdate_GetState_Request {
    const METHOD_NAME: &'static str = "HardwareUpdate.GetState#1";
    type Response = CHardwareUpdate_GetState_Response;
}
impl ::steam_vent_proto_common::RpcMethod for CHardwareUpdate_StateChanged_Notification {
    const METHOD_NAME: &'static str = "HardwareUpdate.NotifyStateChanged#1";
    type Response = WebUINoResponse;
}
impl ::steam_vent_proto_common::RpcMethod
for CHardwareUpdate_UpdateProgress_Notification {
    const METHOD_NAME: &'static str = "HardwareUpdate.NotifyUpdateProgress#1";
    type Response = WebUINoResponse;
}
impl ::steam_vent_proto_common::RpcMethod
for CHardwareUpdate_UpdateStateChanged_Notification {
    const METHOD_NAME: &'static str = "HardwareUpdate.NotifyUpdateStateChanged#1";
    type Response = WebUINoResponse;
}
impl ::steam_vent_proto_common::RpcMethod for CHardwareUpdate_Update_Request {
    const METHOD_NAME: &'static str = "HardwareUpdate.Update#1";
    type Response = CHardwareUpdate_Update_Response;
}
