// 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_leds.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:CMsgLEDColor)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgLEDColor {
    // message fields
    // @@protoc_insertion_point(field:CMsgLEDColor.r)
    pub r: ::std::option::Option<f32>,
    // @@protoc_insertion_point(field:CMsgLEDColor.g)
    pub g: ::std::option::Option<f32>,
    // @@protoc_insertion_point(field:CMsgLEDColor.b)
    pub b: ::std::option::Option<f32>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgLEDColor.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

    // optional float r = 1;

    pub fn r(&self) -> f32 {
        self.r.unwrap_or(0.)
    }

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

    pub fn has_r(&self) -> bool {
        self.r.is_some()
    }

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

    // optional float g = 2;

    pub fn g(&self) -> f32 {
        self.g.unwrap_or(0.)
    }

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

    pub fn has_g(&self) -> bool {
        self.g.is_some()
    }

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

    // optional float b = 3;

    pub fn b(&self) -> f32 {
        self.b.unwrap_or(0.)
    }

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

    pub fn has_b(&self) -> bool {
        self.b.is_some()
    }

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

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

    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 {
                13 => {
                    self.r = ::std::option::Option::Some(is.read_float()?);
                },
                21 => {
                    self.g = ::std::option::Option::Some(is.read_float()?);
                },
                29 => {
                    self.b = ::std::option::Option::Some(is.read_float()?);
                },
                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.r {
            my_size += 1 + 4;
        }
        if let Some(v) = self.g {
            my_size += 1 + 4;
        }
        if let Some(v) = self.b {
            my_size += 1 + 4;
        }
        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.r {
            os.write_float(1, v)?;
        }
        if let Some(v) = self.g {
            os.write_float(2, v)?;
        }
        if let Some(v) = self.b {
            os.write_float(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() -> CMsgLEDColor {
        CMsgLEDColor::new()
    }

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

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

// @@protoc_insertion_point(message:CMsgLEDManagerDevice)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgLEDManagerDevice {
    // message fields
    // @@protoc_insertion_point(field:CMsgLEDManagerDevice.id)
    pub id: ::std::option::Option<i32>,
    // @@protoc_insertion_point(field:CMsgLEDManagerDevice.enabled)
    pub enabled: ::std::option::Option<bool>,
    // @@protoc_insertion_point(field:CMsgLEDManagerDevice.name)
    pub name: ::std::option::Option<::std::string::String>,
    // @@protoc_insertion_point(field:CMsgLEDManagerDevice.effects_available)
    pub effects_available: ::std::vec::Vec<::std::string::String>,
    // @@protoc_insertion_point(field:CMsgLEDManagerDevice.effect)
    pub effect: ::std::option::Option<::std::string::String>,
    // @@protoc_insertion_point(field:CMsgLEDManagerDevice.supports_color)
    pub supports_color: ::std::option::Option<bool>,
    // @@protoc_insertion_point(field:CMsgLEDManagerDevice.color)
    pub color: ::std::vec::Vec<CMsgLEDColor>,
    // @@protoc_insertion_point(field:CMsgLEDManagerDevice.supports_speed)
    pub supports_speed: ::std::option::Option<bool>,
    // @@protoc_insertion_point(field:CMsgLEDManagerDevice.speed)
    pub speed: ::std::option::Option<f32>,
    // @@protoc_insertion_point(field:CMsgLEDManagerDevice.supports_brightness)
    pub supports_brightness: ::std::option::Option<bool>,
    // @@protoc_insertion_point(field:CMsgLEDManagerDevice.brightness)
    pub brightness: ::std::option::Option<f32>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgLEDManagerDevice.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

    // optional int32 id = 1;

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

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

    pub fn has_id(&self) -> bool {
        self.id.is_some()
    }

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

    // optional bool enabled = 2;

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

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

    pub fn has_enabled(&self) -> bool {
        self.enabled.is_some()
    }

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

    // optional string name = 3;

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

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

    pub fn has_name(&self) -> bool {
        self.name.is_some()
    }

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

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

    // optional string effect = 5;

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

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

    pub fn has_effect(&self) -> bool {
        self.effect.is_some()
    }

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

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

    // optional bool supports_color = 9;

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

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

    pub fn has_supports_color(&self) -> bool {
        self.supports_color.is_some()
    }

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

    // optional bool supports_speed = 11;

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

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

    pub fn has_supports_speed(&self) -> bool {
        self.supports_speed.is_some()
    }

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

    // optional float speed = 12;

    pub fn speed(&self) -> f32 {
        self.speed.unwrap_or(0.)
    }

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

    pub fn has_speed(&self) -> bool {
        self.speed.is_some()
    }

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

    // optional bool supports_brightness = 13;

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

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

    pub fn has_supports_brightness(&self) -> bool {
        self.supports_brightness.is_some()
    }

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

    // optional float brightness = 14;

    pub fn brightness(&self) -> f32 {
        self.brightness.unwrap_or(0.)
    }

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

    pub fn has_brightness(&self) -> bool {
        self.brightness.is_some()
    }

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

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

    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.id = ::std::option::Option::Some(is.read_int32()?);
                },
                16 => {
                    self.enabled = ::std::option::Option::Some(is.read_bool()?);
                },
                26 => {
                    self.name = ::std::option::Option::Some(is.read_string()?);
                },
                34 => {
                    self.effects_available.push(is.read_string()?);
                },
                42 => {
                    self.effect = ::std::option::Option::Some(is.read_string()?);
                },
                72 => {
                    self.supports_color = ::std::option::Option::Some(is.read_bool()?);
                },
                82 => {
                    self.color.push(is.read_message()?);
                },
                88 => {
                    self.supports_speed = ::std::option::Option::Some(is.read_bool()?);
                },
                101 => {
                    self.speed = ::std::option::Option::Some(is.read_float()?);
                },
                104 => {
                    self.supports_brightness = ::std::option::Option::Some(is.read_bool()?);
                },
                117 => {
                    self.brightness = ::std::option::Option::Some(is.read_float()?);
                },
                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.id {
            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
        }
        if let Some(v) = self.enabled {
            my_size += 1 + 1;
        }
        if let Some(v) = self.name.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
        }
        for value in &self.effects_available {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(4, &value);
        };
        if let Some(v) = self.effect.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(5, &v);
        }
        if let Some(v) = self.supports_color {
            my_size += 1 + 1;
        }
        for value in &self.color {
            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_speed {
            my_size += 1 + 1;
        }
        if let Some(v) = self.speed {
            my_size += 1 + 4;
        }
        if let Some(v) = self.supports_brightness {
            my_size += 1 + 1;
        }
        if let Some(v) = self.brightness {
            my_size += 1 + 4;
        }
        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.id {
            os.write_int32(1, v)?;
        }
        if let Some(v) = self.enabled {
            os.write_bool(2, v)?;
        }
        if let Some(v) = self.name.as_ref() {
            os.write_string(3, v)?;
        }
        for v in &self.effects_available {
            os.write_string(4, &v)?;
        };
        if let Some(v) = self.effect.as_ref() {
            os.write_string(5, v)?;
        }
        if let Some(v) = self.supports_color {
            os.write_bool(9, v)?;
        }
        for v in &self.color {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(10, v, os)?;
        };
        if let Some(v) = self.supports_speed {
            os.write_bool(11, v)?;
        }
        if let Some(v) = self.speed {
            os.write_float(12, v)?;
        }
        if let Some(v) = self.supports_brightness {
            os.write_bool(13, v)?;
        }
        if let Some(v) = self.brightness {
            os.write_float(14, 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() -> CMsgLEDManagerDevice {
        CMsgLEDManagerDevice::new()
    }

    fn clear(&mut self) {
        self.id = ::std::option::Option::None;
        self.enabled = ::std::option::Option::None;
        self.name = ::std::option::Option::None;
        self.effects_available.clear();
        self.effect = ::std::option::Option::None;
        self.supports_color = ::std::option::Option::None;
        self.color.clear();
        self.supports_speed = ::std::option::Option::None;
        self.speed = ::std::option::Option::None;
        self.supports_brightness = ::std::option::Option::None;
        self.brightness = ::std::option::Option::None;
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CMsgLEDManagerDevice {
        static instance: CMsgLEDManagerDevice = CMsgLEDManagerDevice {
            id: ::std::option::Option::None,
            enabled: ::std::option::Option::None,
            name: ::std::option::Option::None,
            effects_available: ::std::vec::Vec::new(),
            effect: ::std::option::Option::None,
            supports_color: ::std::option::Option::None,
            color: ::std::vec::Vec::new(),
            supports_speed: ::std::option::Option::None,
            speed: ::std::option::Option::None,
            supports_brightness: ::std::option::Option::None,
            brightness: ::std::option::Option::None,
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

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

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

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

    // optional bool is_service_available = 1;

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

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

    pub fn has_is_service_available(&self) -> bool {
        self.is_service_available.is_some()
    }

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

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

    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_service_available = ::std::option::Option::Some(is.read_bool()?);
                },
                18 => {
                    self.devices.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;
        if let Some(v) = self.is_service_available {
            my_size += 1 + 1;
        }
        for value in &self.devices {
            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<()> {
        if let Some(v) = self.is_service_available {
            os.write_bool(1, v)?;
        }
        for v in &self.devices {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, 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() -> CMsgLEDManagerState {
        CMsgLEDManagerState::new()
    }

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

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

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

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

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

impl ::steam_vent_proto_common::protobuf::Message for CLEDManager_GetState_Request {
    const NAME: &'static str = "CLEDManager_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() -> CLEDManager_GetState_Request {
        CLEDManager_GetState_Request::new()
    }

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

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

// @@protoc_insertion_point(message:CLEDManager_GetState_Response)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CLEDManager_GetState_Response {
    // message fields
    // @@protoc_insertion_point(field:CLEDManager_GetState_Response.state)
    pub state: ::steam_vent_proto_common::protobuf::MessageField<CMsgLEDManagerState>,
    // special fields
    // @@protoc_insertion_point(special_field:CLEDManager_GetState_Response.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

impl ::steam_vent_proto_common::protobuf::Message for CLEDManager_GetState_Response {
    const NAME: &'static str = "CLEDManager_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 {
                10 => {
                    ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.state)?;
                },
                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.state.as_ref() {
            let len = v.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<()> {
        if let Some(v) = self.state.as_ref() {
            ::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() -> CLEDManager_GetState_Response {
        CLEDManager_GetState_Response::new()
    }

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

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

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

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

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

impl ::steam_vent_proto_common::protobuf::Message for CLEDManager_StateChanged_Notification {
    const NAME: &'static str = "CLEDManager_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() -> CLEDManager_StateChanged_Notification {
        CLEDManager_StateChanged_Notification::new()
    }

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

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

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

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

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

    // optional int32 device_id = 1;

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

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

    pub fn has_device_id(&self) -> bool {
        self.device_id.is_some()
    }

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

    // optional int32 color_index = 3;

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

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

    pub fn has_color_index(&self) -> bool {
        self.color_index.is_some()
    }

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

impl ::steam_vent_proto_common::protobuf::Message for CLEDManager_SetColor_Request {
    const NAME: &'static str = "CLEDManager_SetColor_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 {
                8 => {
                    self.device_id = ::std::option::Option::Some(is.read_int32()?);
                },
                18 => {
                    ::steam_vent_proto_common::protobuf::rt::read_singular_message_into_field(is, &mut self.color)?;
                },
                24 => {
                    self.color_index = ::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.device_id {
            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
        }
        if let Some(v) = self.color.as_ref() {
            let len = v.compute_size();
            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
        }
        if let Some(v) = self.color_index {
            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(3, 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.device_id {
            os.write_int32(1, v)?;
        }
        if let Some(v) = self.color.as_ref() {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(2, v, os)?;
        }
        if let Some(v) = self.color_index {
            os.write_int32(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() -> CLEDManager_SetColor_Request {
        CLEDManager_SetColor_Request::new()
    }

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

    fn default_instance() -> &'static CLEDManager_SetColor_Request {
        static instance: CLEDManager_SetColor_Request = CLEDManager_SetColor_Request {
            device_id: ::std::option::Option::None,
            color: ::steam_vent_proto_common::protobuf::MessageField::none(),
            color_index: ::std::option::Option::None,
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

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

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

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

impl ::steam_vent_proto_common::protobuf::Message for CLEDManager_SetColor_Response {
    const NAME: &'static str = "CLEDManager_SetColor_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() -> CLEDManager_SetColor_Response {
        CLEDManager_SetColor_Response::new()
    }

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

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

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

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

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

    // optional int32 device_id = 1;

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

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

    pub fn has_device_id(&self) -> bool {
        self.device_id.is_some()
    }

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

    // optional bool enabled = 2;

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

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

    pub fn has_enabled(&self) -> bool {
        self.enabled.is_some()
    }

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

impl ::steam_vent_proto_common::protobuf::Message for CLEDManager_SetEnabled_Request {
    const NAME: &'static str = "CLEDManager_SetEnabled_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 {
                8 => {
                    self.device_id = ::std::option::Option::Some(is.read_int32()?);
                },
                16 => {
                    self.enabled = ::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.device_id {
            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
        }
        if let Some(v) = self.enabled {
            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.device_id {
            os.write_int32(1, v)?;
        }
        if let Some(v) = self.enabled {
            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() -> CLEDManager_SetEnabled_Request {
        CLEDManager_SetEnabled_Request::new()
    }

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

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

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

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

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

impl ::steam_vent_proto_common::protobuf::Message for CLEDManager_SetEnabled_Response {
    const NAME: &'static str = "CLEDManager_SetEnabled_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() -> CLEDManager_SetEnabled_Response {
        CLEDManager_SetEnabled_Response::new()
    }

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

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

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

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

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

    // optional int32 device_id = 1;

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

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

    pub fn has_device_id(&self) -> bool {
        self.device_id.is_some()
    }

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

    // optional string effect = 2;

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

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

    pub fn has_effect(&self) -> bool {
        self.effect.is_some()
    }

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

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

impl ::steam_vent_proto_common::protobuf::Message for CLEDManager_SetEffect_Request {
    const NAME: &'static str = "CLEDManager_SetEffect_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 {
                8 => {
                    self.device_id = ::std::option::Option::Some(is.read_int32()?);
                },
                18 => {
                    self.effect = ::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.device_id {
            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
        }
        if let Some(v) = self.effect.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_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.device_id {
            os.write_int32(1, v)?;
        }
        if let Some(v) = self.effect.as_ref() {
            os.write_string(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() -> CLEDManager_SetEffect_Request {
        CLEDManager_SetEffect_Request::new()
    }

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

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

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

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

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

impl ::steam_vent_proto_common::protobuf::Message for CLEDManager_SetEffect_Response {
    const NAME: &'static str = "CLEDManager_SetEffect_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() -> CLEDManager_SetEffect_Response {
        CLEDManager_SetEffect_Response::new()
    }

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

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

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

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

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

    // optional int32 device_id = 1;

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

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

    pub fn has_device_id(&self) -> bool {
        self.device_id.is_some()
    }

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

    // optional float speed = 2;

    pub fn speed(&self) -> f32 {
        self.speed.unwrap_or(0.)
    }

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

    pub fn has_speed(&self) -> bool {
        self.speed.is_some()
    }

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

impl ::steam_vent_proto_common::protobuf::Message for CLEDManager_SetSpeed_Request {
    const NAME: &'static str = "CLEDManager_SetSpeed_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 {
                8 => {
                    self.device_id = ::std::option::Option::Some(is.read_int32()?);
                },
                21 => {
                    self.speed = ::std::option::Option::Some(is.read_float()?);
                },
                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.device_id {
            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
        }
        if let Some(v) = self.speed {
            my_size += 1 + 4;
        }
        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.device_id {
            os.write_int32(1, v)?;
        }
        if let Some(v) = self.speed {
            os.write_float(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() -> CLEDManager_SetSpeed_Request {
        CLEDManager_SetSpeed_Request::new()
    }

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

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

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

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

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

impl ::steam_vent_proto_common::protobuf::Message for CLEDManager_SetSpeed_Response {
    const NAME: &'static str = "CLEDManager_SetSpeed_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() -> CLEDManager_SetSpeed_Response {
        CLEDManager_SetSpeed_Response::new()
    }

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

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

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

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

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

    // optional int32 device_id = 1;

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

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

    pub fn has_device_id(&self) -> bool {
        self.device_id.is_some()
    }

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

    // optional float brightness = 2;

    pub fn brightness(&self) -> f32 {
        self.brightness.unwrap_or(0.)
    }

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

    pub fn has_brightness(&self) -> bool {
        self.brightness.is_some()
    }

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

impl ::steam_vent_proto_common::protobuf::Message for CLEDManager_SetBrightness_Request {
    const NAME: &'static str = "CLEDManager_SetBrightness_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 {
                8 => {
                    self.device_id = ::std::option::Option::Some(is.read_int32()?);
                },
                21 => {
                    self.brightness = ::std::option::Option::Some(is.read_float()?);
                },
                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.device_id {
            my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v);
        }
        if let Some(v) = self.brightness {
            my_size += 1 + 4;
        }
        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.device_id {
            os.write_int32(1, v)?;
        }
        if let Some(v) = self.brightness {
            os.write_float(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() -> CLEDManager_SetBrightness_Request {
        CLEDManager_SetBrightness_Request::new()
    }

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

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

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

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

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

impl ::steam_vent_proto_common::protobuf::Message for CLEDManager_SetBrightness_Response {
    const NAME: &'static str = "CLEDManager_SetBrightness_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() -> CLEDManager_SetBrightness_Response {
        CLEDManager_SetBrightness_Response::new()
    }

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

    fn default_instance() -> &'static CLEDManager_SetBrightness_Response {
        static instance: CLEDManager_SetBrightness_Response = CLEDManager_SetBrightness_Response {
            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 CMsgLEDColor {
    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 CMsgLEDManagerDevice {
    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 CMsgLEDManagerState {
    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 CLEDManager_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 CLEDManager_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 CLEDManager_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 CLEDManager_SetColor_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 CLEDManager_SetColor_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 CLEDManager_SetEnabled_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 CLEDManager_SetEnabled_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 CLEDManager_SetEffect_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 CLEDManager_SetEffect_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 CLEDManager_SetSpeed_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 CLEDManager_SetSpeed_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 CLEDManager_SetBrightness_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 CLEDManager_SetBrightness_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
    }
}
///
struct LEDManager {}
impl ::steam_vent_proto_common::RpcService for LEDManager {
    const SERVICE_NAME: &'static str = "LEDManager";
}
impl ::steam_vent_proto_common::RpcMethod for CLEDManager_GetState_Request {
    const METHOD_NAME: &'static str = "LEDManager.GetState#1";
    type Response = CLEDManager_GetState_Response;
}
impl ::steam_vent_proto_common::RpcMethod for CLEDManager_SetBrightness_Request {
    const METHOD_NAME: &'static str = "LEDManager.SetBrightness#1";
    type Response = CLEDManager_SetBrightness_Response;
}
impl ::steam_vent_proto_common::RpcMethod for CLEDManager_SetColor_Request {
    const METHOD_NAME: &'static str = "LEDManager.SetColor#1";
    type Response = CLEDManager_SetColor_Response;
}
impl ::steam_vent_proto_common::RpcMethod for CLEDManager_SetEffect_Request {
    const METHOD_NAME: &'static str = "LEDManager.SetEffect#1";
    type Response = CLEDManager_SetEffect_Response;
}
impl ::steam_vent_proto_common::RpcMethod for CLEDManager_SetEnabled_Request {
    const METHOD_NAME: &'static str = "LEDManager.SetEnabled#1";
    type Response = CLEDManager_SetEnabled_Response;
}
impl ::steam_vent_proto_common::RpcMethod for CLEDManager_SetSpeed_Request {
    const METHOD_NAME: &'static str = "LEDManager.SetSpeed#1";
    type Response = CLEDManager_SetSpeed_Response;
}
impl ::steam_vent_proto_common::RpcMethod for CLEDManager_StateChanged_Notification {
    const METHOD_NAME: &'static str = "LEDManager.NotifyStateChanged#1";
    type Response = WebUINoResponse;
}
