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

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

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

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

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

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

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

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

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

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

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

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

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

    // optional uint64 rereport_time_threshold = 1;

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

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

    pub fn has_rereport_time_threshold(&self) -> bool {
        self.rereport_time_threshold.is_some()
    }

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

    // optional uint32 percent_to_rereport = 2;

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

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

    pub fn has_percent_to_rereport(&self) -> bool {
        self.percent_to_rereport.is_some()
    }

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

impl ::steam_vent_proto_common::protobuf::Message for CShader_GetShaderReportingCadence_Response {
    const NAME: &'static str = "CShader_GetShaderReportingCadence_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.rereport_time_threshold = ::std::option::Option::Some(is.read_uint64()?);
                },
                16 => {
                    self.percent_to_rereport = ::std::option::Option::Some(is.read_uint32()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u64 {
        let mut my_size = 0;
        if let Some(v) = self.rereport_time_threshold {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
        }
        if let Some(v) = self.percent_to_rereport {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_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.rereport_time_threshold {
            os.write_uint64(1, v)?;
        }
        if let Some(v) = self.percent_to_rereport {
            os.write_uint32(2, v)?;
        }
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

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

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

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

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

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

// @@protoc_insertion_point(message:CShader_RegisterShader_Request)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CShader_RegisterShader_Request {
    // message fields
    // @@protoc_insertion_point(field:CShader_RegisterShader_Request.appid)
    pub appid: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CShader_RegisterShader_Request.gpu_desc)
    pub gpu_desc: ::std::option::Option<::std::string::String>,
    // @@protoc_insertion_point(field:CShader_RegisterShader_Request.driver_desc)
    pub driver_desc: ::std::option::Option<::std::string::String>,
    // @@protoc_insertion_point(field:CShader_RegisterShader_Request.shaders)
    pub shaders: ::std::vec::Vec<cshader_register_shader_request::Shader>,
    // special fields
    // @@protoc_insertion_point(special_field:CShader_RegisterShader_Request.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

    // optional uint32 appid = 1;

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

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

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

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

    // optional string gpu_desc = 2;

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

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

    pub fn has_gpu_desc(&self) -> bool {
        self.gpu_desc.is_some()
    }

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

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

    // optional string driver_desc = 3;

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

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

    pub fn has_driver_desc(&self) -> bool {
        self.driver_desc.is_some()
    }

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

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

impl ::steam_vent_proto_common::protobuf::Message for CShader_RegisterShader_Request {
    const NAME: &'static str = "CShader_RegisterShader_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.appid = ::std::option::Option::Some(is.read_uint32()?);
                },
                18 => {
                    self.gpu_desc = ::std::option::Option::Some(is.read_string()?);
                },
                26 => {
                    self.driver_desc = ::std::option::Option::Some(is.read_string()?);
                },
                34 => {
                    self.shaders.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.appid {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
        }
        if let Some(v) = self.gpu_desc.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
        }
        if let Some(v) = self.driver_desc.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(3, &v);
        }
        for value in &self.shaders {
            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.appid {
            os.write_uint32(1, v)?;
        }
        if let Some(v) = self.gpu_desc.as_ref() {
            os.write_string(2, v)?;
        }
        if let Some(v) = self.driver_desc.as_ref() {
            os.write_string(3, v)?;
        }
        for v in &self.shaders {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(4, 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() -> CShader_RegisterShader_Request {
        CShader_RegisterShader_Request::new()
    }

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

    fn default_instance() -> &'static CShader_RegisterShader_Request {
        static instance: CShader_RegisterShader_Request = CShader_RegisterShader_Request {
            appid: ::std::option::Option::None,
            gpu_desc: ::std::option::Option::None,
            driver_desc: ::std::option::Option::None,
            shaders: ::std::vec::Vec::new(),
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

/// Nested message and enums of message `CShader_RegisterShader_Request`
pub mod cshader_register_shader_request {
    // @@protoc_insertion_point(message:CShader_RegisterShader_Request.Shader)
    #[derive(PartialEq,Clone,Default,Debug)]
    pub struct Shader {
        // message fields
        // @@protoc_insertion_point(field:CShader_RegisterShader_Request.Shader.cache_key_sha)
        pub cache_key_sha: ::std::option::Option<::std::vec::Vec<u8>>,
        // @@protoc_insertion_point(field:CShader_RegisterShader_Request.Shader.shader_code_sha)
        pub shader_code_sha: ::std::option::Option<::std::vec::Vec<u8>>,
        // special fields
        // @@protoc_insertion_point(special_field:CShader_RegisterShader_Request.Shader.special_fields)
        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
    }

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

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

        // optional bytes cache_key_sha = 1;

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

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

        pub fn has_cache_key_sha(&self) -> bool {
            self.cache_key_sha.is_some()
        }

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

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

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

        // optional bytes shader_code_sha = 2;

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

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

        pub fn has_shader_code_sha(&self) -> bool {
            self.shader_code_sha.is_some()
        }

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

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

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

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

        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.cache_key_sha = ::std::option::Option::Some(is.read_bytes()?);
                    },
                    18 => {
                        self.shader_code_sha = ::std::option::Option::Some(is.read_bytes()?);
                    },
                    tag => {
                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                    },
                };
            }
            ::std::result::Result::Ok(())
        }

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

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

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

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

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

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

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

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

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

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

impl ::steam_vent_proto_common::protobuf::Message for CShader_RegisterShader_Response {
    const NAME: &'static str = "CShader_RegisterShader_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 => {
                    is.read_repeated_packed_uint32_into(&mut self.requested_codeids)?;
                },
                8 => {
                    self.requested_codeids.push(is.read_uint32()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

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

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        for v in &self.requested_codeids {
            os.write_uint32(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() -> CShader_RegisterShader_Response {
        CShader_RegisterShader_Response::new()
    }

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

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

// @@protoc_insertion_point(message:CShader_SendShader_Request)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CShader_SendShader_Request {
    // message fields
    // @@protoc_insertion_point(field:CShader_SendShader_Request.appid)
    pub appid: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CShader_SendShader_Request.shaders)
    pub shaders: ::std::vec::Vec<cshader_send_shader_request::ShaderCode>,
    // special fields
    // @@protoc_insertion_point(special_field:CShader_SendShader_Request.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

    // optional uint32 appid = 1;

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

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

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

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

impl ::steam_vent_proto_common::protobuf::Message for CShader_SendShader_Request {
    const NAME: &'static str = "CShader_SendShader_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.appid = ::std::option::Option::Some(is.read_uint32()?);
                },
                18 => {
                    self.shaders.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.appid {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
        }
        for value in &self.shaders {
            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.appid {
            os.write_uint32(1, v)?;
        }
        for v in &self.shaders {
            ::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() -> CShader_SendShader_Request {
        CShader_SendShader_Request::new()
    }

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

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

/// Nested message and enums of message `CShader_SendShader_Request`
pub mod cshader_send_shader_request {
    // @@protoc_insertion_point(message:CShader_SendShader_Request.ShaderCode)
    #[derive(PartialEq,Clone,Default,Debug)]
    pub struct ShaderCode {
        // message fields
        // @@protoc_insertion_point(field:CShader_SendShader_Request.ShaderCode.shader_code_sha)
        pub shader_code_sha: ::std::option::Option<::std::vec::Vec<u8>>,
        // @@protoc_insertion_point(field:CShader_SendShader_Request.ShaderCode.shader_code)
        pub shader_code: ::std::option::Option<::std::vec::Vec<u8>>,
        // special fields
        // @@protoc_insertion_point(special_field:CShader_SendShader_Request.ShaderCode.special_fields)
        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
    }

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

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

        // optional bytes shader_code_sha = 1;

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

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

        pub fn has_shader_code_sha(&self) -> bool {
            self.shader_code_sha.is_some()
        }

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

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

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

        // optional bytes shader_code = 2;

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

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

        pub fn has_shader_code(&self) -> bool {
            self.shader_code.is_some()
        }

        // Param is passed by value, moved
        pub fn set_shader_code(&mut self, v: ::std::vec::Vec<u8>) {
            self.shader_code = ::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_shader_code(&mut self) -> &mut ::std::vec::Vec<u8> {
            if self.shader_code.is_none() {
                self.shader_code = ::std::option::Option::Some(::std::vec::Vec::new());
            }
            self.shader_code.as_mut().unwrap()
        }

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

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

        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.shader_code_sha = ::std::option::Option::Some(is.read_bytes()?);
                    },
                    18 => {
                        self.shader_code = ::std::option::Option::Some(is.read_bytes()?);
                    },
                    tag => {
                        ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                    },
                };
            }
            ::std::result::Result::Ok(())
        }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // optional uint32 appid = 1;

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

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

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

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

    // optional string gpu_desc = 2;

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

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

    pub fn has_gpu_desc(&self) -> bool {
        self.gpu_desc.is_some()
    }

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

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

    // optional string driver_desc = 3;

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

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

    pub fn has_driver_desc(&self) -> bool {
        self.driver_desc.is_some()
    }

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

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

impl ::steam_vent_proto_common::protobuf::Message for CShader_GetBucketManifest_Request {
    const NAME: &'static str = "CShader_GetBucketManifest_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.appid = ::std::option::Option::Some(is.read_uint32()?);
                },
                18 => {
                    self.gpu_desc = ::std::option::Option::Some(is.read_string()?);
                },
                26 => {
                    self.driver_desc = ::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.appid {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
        }
        if let Some(v) = self.gpu_desc.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
        }
        if let Some(v) = self.driver_desc.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_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.appid {
            os.write_uint32(1, v)?;
        }
        if let Some(v) = self.gpu_desc.as_ref() {
            os.write_string(2, v)?;
        }
        if let Some(v) = self.driver_desc.as_ref() {
            os.write_string(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() -> CShader_GetBucketManifest_Request {
        CShader_GetBucketManifest_Request::new()
    }

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

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

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

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

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

    // optional uint64 manifestid = 1;

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

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

    pub fn has_manifestid(&self) -> bool {
        self.manifestid.is_some()
    }

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

    // optional uint64 depotsize = 2;

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

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

    pub fn has_depotsize(&self) -> bool {
        self.depotsize.is_some()
    }

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

    // optional uint64 bucketid = 3;

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

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

    pub fn has_bucketid(&self) -> bool {
        self.bucketid.is_some()
    }

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

impl ::steam_vent_proto_common::protobuf::Message for CShader_GetBucketManifest_Response {
    const NAME: &'static str = "CShader_GetBucketManifest_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.manifestid = ::std::option::Option::Some(is.read_uint64()?);
                },
                16 => {
                    self.depotsize = ::std::option::Option::Some(is.read_uint64()?);
                },
                24 => {
                    self.bucketid = ::std::option::Option::Some(is.read_uint64()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

    // Compute sizes of nested messages
    #[allow(unused_variables)]
    fn compute_size(&self) -> u64 {
        let mut my_size = 0;
        if let Some(v) = self.manifestid {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
        }
        if let Some(v) = self.depotsize {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(2, v);
        }
        if let Some(v) = self.bucketid {
            my_size += ::steam_vent_proto_common::protobuf::rt::uint64_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.manifestid {
            os.write_uint64(1, v)?;
        }
        if let Some(v) = self.depotsize {
            os.write_uint64(2, v)?;
        }
        if let Some(v) = self.bucketid {
            os.write_uint64(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() -> CShader_GetBucketManifest_Response {
        CShader_GetBucketManifest_Response::new()
    }

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

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

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

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

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

    // optional string gpu_desc = 1;

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

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

    pub fn has_gpu_desc(&self) -> bool {
        self.gpu_desc.is_some()
    }

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

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

    // optional string driver_desc = 2;

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

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

    pub fn has_driver_desc(&self) -> bool {
        self.driver_desc.is_some()
    }

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

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

impl ::steam_vent_proto_common::protobuf::Message for CShader_GetStaleBucket_Request {
    const NAME: &'static str = "CShader_GetStaleBucket_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.gpu_desc = ::std::option::Option::Some(is.read_string()?);
                },
                18 => {
                    self.driver_desc = ::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.gpu_desc.as_ref() {
            my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
        }
        if let Some(v) = self.driver_desc.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.gpu_desc.as_ref() {
            os.write_string(1, v)?;
        }
        if let Some(v) = self.driver_desc.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() -> CShader_GetStaleBucket_Request {
        CShader_GetStaleBucket_Request::new()
    }

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

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

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

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

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

    // optional uint64 bucketid = 1;

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

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

    pub fn has_bucketid(&self) -> bool {
        self.bucketid.is_some()
    }

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

    // optional uint32 appid = 2;

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

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

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

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

    // optional uint64 manifestid = 3;

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

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

    pub fn has_manifestid(&self) -> bool {
        self.manifestid.is_some()
    }

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

    // optional string gpu_desc = 4;

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

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

    pub fn has_gpu_desc(&self) -> bool {
        self.gpu_desc.is_some()
    }

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

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

    // optional string driver_desc = 5;

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

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

    pub fn has_driver_desc(&self) -> bool {
        self.driver_desc.is_some()
    }

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

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

    // optional bytes depot_encryption_key = 6;

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

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

    pub fn has_depot_encryption_key(&self) -> bool {
        self.depot_encryption_key.is_some()
    }

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

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

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

impl ::steam_vent_proto_common::protobuf::Message for CShader_GetStaleBucket_Response {
    const NAME: &'static str = "CShader_GetStaleBucket_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.bucketid = ::std::option::Option::Some(is.read_uint64()?);
                },
                16 => {
                    self.appid = ::std::option::Option::Some(is.read_uint32()?);
                },
                24 => {
                    self.manifestid = ::std::option::Option::Some(is.read_uint64()?);
                },
                34 => {
                    self.gpu_desc = ::std::option::Option::Some(is.read_string()?);
                },
                42 => {
                    self.driver_desc = ::std::option::Option::Some(is.read_string()?);
                },
                50 => {
                    self.depot_encryption_key = ::std::option::Option::Some(is.read_bytes()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

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

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

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

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

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

    fn clear(&mut self) {
        self.bucketid = ::std::option::Option::None;
        self.appid = ::std::option::Option::None;
        self.manifestid = ::std::option::Option::None;
        self.gpu_desc = ::std::option::Option::None;
        self.driver_desc = ::std::option::Option::None;
        self.depot_encryption_key = ::std::option::Option::None;
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CShader_GetStaleBucket_Response {
        static instance: CShader_GetStaleBucket_Response = CShader_GetStaleBucket_Response {
            bucketid: ::std::option::Option::None,
            appid: ::std::option::Option::None,
            manifestid: ::std::option::Option::None,
            gpu_desc: ::std::option::Option::None,
            driver_desc: ::std::option::Option::None,
            depot_encryption_key: ::std::option::Option::None,
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

// @@protoc_insertion_point(message:CShader_ReportExternalBuild_Request)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CShader_ReportExternalBuild_Request {
    // message fields
    // @@protoc_insertion_point(field:CShader_ReportExternalBuild_Request.appid)
    pub appid: ::std::option::Option<u32>,
    // @@protoc_insertion_point(field:CShader_ReportExternalBuild_Request.gpu_desc)
    pub gpu_desc: ::std::option::Option<::std::string::String>,
    // @@protoc_insertion_point(field:CShader_ReportExternalBuild_Request.driver_desc)
    pub driver_desc: ::std::option::Option<::std::string::String>,
    // @@protoc_insertion_point(field:CShader_ReportExternalBuild_Request.manifestid)
    pub manifestid: ::std::option::Option<u64>,
    // @@protoc_insertion_point(field:CShader_ReportExternalBuild_Request.source_gpu_desc)
    pub source_gpu_desc: ::std::option::Option<::std::string::String>,
    // @@protoc_insertion_point(field:CShader_ReportExternalBuild_Request.source_driver_desc)
    pub source_driver_desc: ::std::option::Option<::std::string::String>,
    // @@protoc_insertion_point(field:CShader_ReportExternalBuild_Request.depotsize)
    pub depotsize: ::std::option::Option<u64>,
    // special fields
    // @@protoc_insertion_point(special_field:CShader_ReportExternalBuild_Request.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

    // optional uint32 appid = 1;

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

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

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

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

    // optional string gpu_desc = 2;

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

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

    pub fn has_gpu_desc(&self) -> bool {
        self.gpu_desc.is_some()
    }

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

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

    // optional string driver_desc = 3;

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

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

    pub fn has_driver_desc(&self) -> bool {
        self.driver_desc.is_some()
    }

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

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

    // optional uint64 manifestid = 4;

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

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

    pub fn has_manifestid(&self) -> bool {
        self.manifestid.is_some()
    }

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

    // optional string source_gpu_desc = 5;

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

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

    pub fn has_source_gpu_desc(&self) -> bool {
        self.source_gpu_desc.is_some()
    }

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

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

    // optional string source_driver_desc = 6;

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

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

    pub fn has_source_driver_desc(&self) -> bool {
        self.source_driver_desc.is_some()
    }

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

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

    // optional uint64 depotsize = 7;

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

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

    pub fn has_depotsize(&self) -> bool {
        self.depotsize.is_some()
    }

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

impl ::steam_vent_proto_common::protobuf::Message for CShader_ReportExternalBuild_Request {
    const NAME: &'static str = "CShader_ReportExternalBuild_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.appid = ::std::option::Option::Some(is.read_uint32()?);
                },
                18 => {
                    self.gpu_desc = ::std::option::Option::Some(is.read_string()?);
                },
                26 => {
                    self.driver_desc = ::std::option::Option::Some(is.read_string()?);
                },
                32 => {
                    self.manifestid = ::std::option::Option::Some(is.read_uint64()?);
                },
                42 => {
                    self.source_gpu_desc = ::std::option::Option::Some(is.read_string()?);
                },
                50 => {
                    self.source_driver_desc = ::std::option::Option::Some(is.read_string()?);
                },
                56 => {
                    self.depotsize = ::std::option::Option::Some(is.read_uint64()?);
                },
                tag => {
                    ::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
                },
            };
        }
        ::std::result::Result::Ok(())
    }

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

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        if let Some(v) = self.appid {
            os.write_uint32(1, v)?;
        }
        if let Some(v) = self.gpu_desc.as_ref() {
            os.write_string(2, v)?;
        }
        if let Some(v) = self.driver_desc.as_ref() {
            os.write_string(3, v)?;
        }
        if let Some(v) = self.manifestid {
            os.write_uint64(4, v)?;
        }
        if let Some(v) = self.source_gpu_desc.as_ref() {
            os.write_string(5, v)?;
        }
        if let Some(v) = self.source_driver_desc.as_ref() {
            os.write_string(6, v)?;
        }
        if let Some(v) = self.depotsize {
            os.write_uint64(7, v)?;
        }
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

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

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

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

    fn clear(&mut self) {
        self.appid = ::std::option::Option::None;
        self.gpu_desc = ::std::option::Option::None;
        self.driver_desc = ::std::option::Option::None;
        self.manifestid = ::std::option::Option::None;
        self.source_gpu_desc = ::std::option::Option::None;
        self.source_driver_desc = ::std::option::Option::None;
        self.depotsize = ::std::option::Option::None;
        self.special_fields.clear();
    }

    fn default_instance() -> &'static CShader_ReportExternalBuild_Request {
        static instance: CShader_ReportExternalBuild_Request = CShader_ReportExternalBuild_Request {
            appid: ::std::option::Option::None,
            gpu_desc: ::std::option::Option::None,
            driver_desc: ::std::option::Option::None,
            manifestid: ::std::option::Option::None,
            source_gpu_desc: ::std::option::Option::None,
            source_driver_desc: ::std::option::Option::None,
            depotsize: ::std::option::Option::None,
            special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
        };
        &instance
    }
}

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

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

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

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

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

    fn default_instance() -> &'static CShader_ReportExternalBuild_Response {
        static instance: CShader_ReportExternalBuild_Response = CShader_ReportExternalBuild_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::steammessages_base::*;
#[allow(unused_imports)]
use crate::steammessages_unified_base_steamclient::*;
impl ::steam_vent_proto_common::RpcMessage
for CShader_GetShaderReportingCadence_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 CShader_GetShaderReportingCadence_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 CShader_RegisterShader_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 CShader_RegisterShader_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 CShader_SendShader_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 CShader_SendShader_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 CShader_GetBucketManifest_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 CShader_GetBucketManifest_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 CShader_GetStaleBucket_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 CShader_GetStaleBucket_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 CShader_ReportExternalBuild_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 CShader_ReportExternalBuild_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 Shader {}
impl ::steam_vent_proto_common::RpcService for Shader {
    const SERVICE_NAME: &'static str = "Shader";
}
impl ::steam_vent_proto_common::RpcMethod for CShader_GetBucketManifest_Request {
    const METHOD_NAME: &'static str = "Shader.GetBucketManifest#1";
    type Response = CShader_GetBucketManifest_Response;
}
impl ::steam_vent_proto_common::RpcMethod for CShader_GetShaderReportingCadence_Request {
    const METHOD_NAME: &'static str = "Shader.GetShaderReportingCadence#1";
    type Response = CShader_GetShaderReportingCadence_Response;
}
impl ::steam_vent_proto_common::RpcMethod for CShader_GetStaleBucket_Request {
    const METHOD_NAME: &'static str = "Shader.GetStaleBucket#1";
    type Response = CShader_GetStaleBucket_Response;
}
impl ::steam_vent_proto_common::RpcMethod for CShader_RegisterShader_Request {
    const METHOD_NAME: &'static str = "Shader.RegisterShader#1";
    type Response = CShader_RegisterShader_Response;
}
impl ::steam_vent_proto_common::RpcMethod for CShader_ReportExternalBuild_Request {
    const METHOD_NAME: &'static str = "Shader.ReportExternalBuild#1";
    type Response = CShader_ReportExternalBuild_Response;
}
impl ::steam_vent_proto_common::RpcMethod for CShader_SendShader_Request {
    const METHOD_NAME: &'static str = "Shader.SendShader#1";
    type Response = CShader_SendShader_Response;
}
