// 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_childprocessquery.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:CMsgChildProcessQueryResponse)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgChildProcessQueryResponse {
    // message oneof groups
    pub response: ::std::option::Option<cmsg_child_process_query_response::Response>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgChildProcessQueryResponse.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

    // optional .CMsgChildProcessQueryGpuTopology gpu_topology = 1;

    pub fn gpu_topology(&self) -> &CMsgChildProcessQueryGpuTopology {
        match self.response {
            ::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(ref v)) => v,
            _ => <CMsgChildProcessQueryGpuTopology as ::steam_vent_proto_common::protobuf::Message>::default_instance(),
        }
    }

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

    pub fn has_gpu_topology(&self) -> bool {
        match self.response {
            ::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(..)) => true,
            _ => false,
        }
    }

    // Param is passed by value, moved
    pub fn set_gpu_topology(&mut self, v: CMsgChildProcessQueryGpuTopology) {
        self.response = ::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(v))
    }

    // Mutable pointer to the field.
    pub fn mut_gpu_topology(&mut self) -> &mut CMsgChildProcessQueryGpuTopology {
        if let ::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(_)) = self.response {
        } else {
            self.response = ::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(CMsgChildProcessQueryGpuTopology::new()));
        }
        match self.response {
            ::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(ref mut v)) => v,
            _ => panic!(),
        }
    }

    // Take field
    pub fn take_gpu_topology(&mut self) -> CMsgChildProcessQueryGpuTopology {
        if self.has_gpu_topology() {
            match self.response.take() {
                ::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(v)) => v,
                _ => panic!(),
            }
        } else {
            CMsgChildProcessQueryGpuTopology::new()
        }
    }
}

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

    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.response = ::std::option::Option::Some(cmsg_child_process_query_response::Response::GpuTopology(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 ::std::option::Option::Some(ref v) = self.response {
            match v {
                &cmsg_child_process_query_response::Response::GpuTopology(ref v) => {
                    let len = v.compute_size();
                    my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
                },
            };
        }
        my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
        self.special_fields.cached_size().set(my_size as u32);
        my_size
    }

    fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
        if let ::std::option::Option::Some(ref v) = self.response {
            match v {
                &cmsg_child_process_query_response::Response::GpuTopology(ref v) => {
                    ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
                },
            };
        }
        os.write_unknown_fields(self.special_fields.unknown_fields())?;
        ::std::result::Result::Ok(())
    }

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

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

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

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

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

/// Nested message and enums of message `CMsgChildProcessQueryResponse`
pub mod cmsg_child_process_query_response {

    #[derive(Clone,PartialEq,Debug)]
    #[non_exhaustive]
    // @@protoc_insertion_point(oneof:CMsgChildProcessQueryResponse.response)
    pub enum Response {
        // @@protoc_insertion_point(oneof_field:CMsgChildProcessQueryResponse.gpu_topology)
        GpuTopology(super::CMsgChildProcessQueryGpuTopology),
    }

    impl ::steam_vent_proto_common::protobuf::Oneof for Response {
    }

    impl Response {
    }
}

// @@protoc_insertion_point(message:CMsgChildProcessQueryGpuTopology)
#[derive(PartialEq,Clone,Default,Debug)]
pub struct CMsgChildProcessQueryGpuTopology {
    // message fields
    // @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.gpus)
    pub gpus: ::std::vec::Vec<cmsg_child_process_query_gpu_topology::GpuInfo>,
    // @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.default_gpu_id)
    pub default_gpu_id: ::std::option::Option<u32>,
    // special fields
    // @@protoc_insertion_point(special_field:CMsgChildProcessQueryGpuTopology.special_fields)
    pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
}

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

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

    // optional uint32 default_gpu_id = 2;

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

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

    pub fn has_default_gpu_id(&self) -> bool {
        self.default_gpu_id.is_some()
    }

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

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

    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.gpus.push(is.read_message()?);
                },
                16 => {
                    self.default_gpu_id = ::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;
        for value in &self.gpus {
            let len = value.compute_size();
            my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
        };
        if let Some(v) = self.default_gpu_id {
            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<()> {
        for v in &self.gpus {
            ::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(1, v, os)?;
        };
        if let Some(v) = self.default_gpu_id {
            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() -> CMsgChildProcessQueryGpuTopology {
        CMsgChildProcessQueryGpuTopology::new()
    }

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

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

/// Nested message and enums of message `CMsgChildProcessQueryGpuTopology`
pub mod cmsg_child_process_query_gpu_topology {
    // @@protoc_insertion_point(message:CMsgChildProcessQueryGpuTopology.GpuInfo)
    #[derive(PartialEq,Clone,Default,Debug)]
    pub struct GpuInfo {
        // message fields
        // @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.id)
        pub id: ::std::option::Option<u32>,
        // @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.name)
        pub name: ::std::option::Option<::std::string::String>,
        // @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.vram_size_bytes)
        pub vram_size_bytes: ::std::option::Option<u64>,
        // @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.driver_id)
        pub driver_id: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<super::super::enums::EGpuDriverId>>,
        // @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.driver_version_major)
        pub driver_version_major: ::std::option::Option<i32>,
        // @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.driver_version_minor)
        pub driver_version_minor: ::std::option::Option<i32>,
        // @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.driver_version_patch)
        pub driver_version_patch: ::std::option::Option<i32>,
        // @@protoc_insertion_point(field:CMsgChildProcessQueryGpuTopology.GpuInfo.luid)
        pub luid: ::std::option::Option<u64>,
        // special fields
        // @@protoc_insertion_point(special_field:CMsgChildProcessQueryGpuTopology.GpuInfo.special_fields)
        pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
    }

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

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

        // optional uint32 id = 1;

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

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

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

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

        // optional string name = 2;

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

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

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

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

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

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

        // optional uint64 vram_size_bytes = 3;

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

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

        pub fn has_vram_size_bytes(&self) -> bool {
            self.vram_size_bytes.is_some()
        }

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

        // optional .EGpuDriverId driver_id = 4;

        pub fn driver_id(&self) -> super::super::enums::EGpuDriverId {
            match self.driver_id {
                Some(e) => e.enum_value_or(super::super::enums::EGpuDriverId::k_EGpuDriverId_Invalid),
                None => super::super::enums::EGpuDriverId::k_EGpuDriverId_Invalid,
            }
        }

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

        pub fn has_driver_id(&self) -> bool {
            self.driver_id.is_some()
        }

        // Param is passed by value, moved
        pub fn set_driver_id(&mut self, v: super::super::enums::EGpuDriverId) {
            self.driver_id = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
        }

        // optional int32 driver_version_major = 5;

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

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

        pub fn has_driver_version_major(&self) -> bool {
            self.driver_version_major.is_some()
        }

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

        // optional int32 driver_version_minor = 6;

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

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

        pub fn has_driver_version_minor(&self) -> bool {
            self.driver_version_minor.is_some()
        }

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

        // optional int32 driver_version_patch = 7;

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

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

        pub fn has_driver_version_patch(&self) -> bool {
            self.driver_version_patch.is_some()
        }

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

        // optional uint64 luid = 8;

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

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

        pub fn has_luid(&self) -> bool {
            self.luid.is_some()
        }

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

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

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

        fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            while let Some(tag) = is.read_raw_tag_or_eof()? {
                match tag {
                    8 => {
                        self.id = ::std::option::Option::Some(is.read_uint32()?);
                    },
                    18 => {
                        self.name = ::std::option::Option::Some(is.read_string()?);
                    },
                    24 => {
                        self.vram_size_bytes = ::std::option::Option::Some(is.read_uint64()?);
                    },
                    32 => {
                        self.driver_id = ::std::option::Option::Some(is.read_enum_or_unknown()?);
                    },
                    40 => {
                        self.driver_version_major = ::std::option::Option::Some(is.read_int32()?);
                    },
                    48 => {
                        self.driver_version_minor = ::std::option::Option::Some(is.read_int32()?);
                    },
                    56 => {
                        self.driver_version_patch = ::std::option::Option::Some(is.read_int32()?);
                    },
                    64 => {
                        self.luid = ::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.id {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
            }
            if let Some(v) = self.name.as_ref() {
                my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
            }
            if let Some(v) = self.vram_size_bytes {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(3, v);
            }
            if let Some(v) = self.driver_id {
                my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(4, v.value());
            }
            if let Some(v) = self.driver_version_major {
                my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(5, v);
            }
            if let Some(v) = self.driver_version_minor {
                my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(6, v);
            }
            if let Some(v) = self.driver_version_patch {
                my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(7, v);
            }
            if let Some(v) = self.luid {
                my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(8, v);
            }
            my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
            self.special_fields.cached_size().set(my_size as u32);
            my_size
        }

        fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
            if let Some(v) = self.id {
                os.write_uint32(1, v)?;
            }
            if let Some(v) = self.name.as_ref() {
                os.write_string(2, v)?;
            }
            if let Some(v) = self.vram_size_bytes {
                os.write_uint64(3, v)?;
            }
            if let Some(v) = self.driver_id {
                os.write_enum(4, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
            }
            if let Some(v) = self.driver_version_major {
                os.write_int32(5, v)?;
            }
            if let Some(v) = self.driver_version_minor {
                os.write_int32(6, v)?;
            }
            if let Some(v) = self.driver_version_patch {
                os.write_int32(7, v)?;
            }
            if let Some(v) = self.luid {
                os.write_uint64(8, v)?;
            }
            os.write_unknown_fields(self.special_fields.unknown_fields())?;
            ::std::result::Result::Ok(())
        }

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

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

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

        fn clear(&mut self) {
            self.id = ::std::option::Option::None;
            self.name = ::std::option::Option::None;
            self.vram_size_bytes = ::std::option::Option::None;
            self.driver_id = ::std::option::Option::None;
            self.driver_version_major = ::std::option::Option::None;
            self.driver_version_minor = ::std::option::Option::None;
            self.driver_version_patch = ::std::option::Option::None;
            self.luid = ::std::option::Option::None;
            self.special_fields.clear();
        }

        fn default_instance() -> &'static GpuInfo {
            static instance: GpuInfo = GpuInfo {
                id: ::std::option::Option::None,
                name: ::std::option::Option::None,
                vram_size_bytes: ::std::option::Option::None,
                driver_id: ::std::option::Option::None,
                driver_version_major: ::std::option::Option::None,
                driver_version_minor: ::std::option::Option::None,
                driver_version_patch: ::std::option::Option::None,
                luid: ::std::option::Option::None,
                special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
            };
            &instance
        }
    }
}


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

#[allow(unused_imports)]
use crate::enums::*;
impl ::steam_vent_proto_common::RpcMessage for CMsgChildProcessQueryResponse {
    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 CMsgChildProcessQueryGpuTopology {
    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
    }
}
