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

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

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

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

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

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

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

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

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

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

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

#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
// @@protoc_insertion_point(enum:EClientExecutionSite)
pub enum EClientExecutionSite {
    // @@protoc_insertion_point(enum_value:EClientExecutionSite.k_EClientExecutionSiteInvalid)
    k_EClientExecutionSiteInvalid = 0,
    // @@protoc_insertion_point(enum_value:EClientExecutionSite.k_EClientExecutionSiteSteamUI)
    k_EClientExecutionSiteSteamUI = 1,
    // @@protoc_insertion_point(enum_value:EClientExecutionSite.k_EClientExecutionSiteClientdll)
    k_EClientExecutionSiteClientdll = 2,
    // @@protoc_insertion_point(enum_value:EClientExecutionSite.k_EClientExecutionSiteAny)
    k_EClientExecutionSiteAny = 3,
}

impl ::steam_vent_proto_common::protobuf::Enum for EClientExecutionSite {
    const NAME: &'static str = "EClientExecutionSite";

    fn value(&self) -> i32 {
        *self as i32
    }

    fn from_i32(value: i32) -> ::std::option::Option<EClientExecutionSite> {
        match value {
            0 => ::std::option::Option::Some(EClientExecutionSite::k_EClientExecutionSiteInvalid),
            1 => ::std::option::Option::Some(EClientExecutionSite::k_EClientExecutionSiteSteamUI),
            2 => ::std::option::Option::Some(EClientExecutionSite::k_EClientExecutionSiteClientdll),
            3 => ::std::option::Option::Some(EClientExecutionSite::k_EClientExecutionSiteAny),
            _ => ::std::option::Option::None
        }
    }

    fn from_str(str: &str) -> ::std::option::Option<EClientExecutionSite> {
        match str {
            "k_EClientExecutionSiteInvalid" => ::std::option::Option::Some(EClientExecutionSite::k_EClientExecutionSiteInvalid),
            "k_EClientExecutionSiteSteamUI" => ::std::option::Option::Some(EClientExecutionSite::k_EClientExecutionSiteSteamUI),
            "k_EClientExecutionSiteClientdll" => ::std::option::Option::Some(EClientExecutionSite::k_EClientExecutionSiteClientdll),
            "k_EClientExecutionSiteAny" => ::std::option::Option::Some(EClientExecutionSite::k_EClientExecutionSiteAny),
            _ => ::std::option::Option::None
        }
    }

    const VALUES: &'static [EClientExecutionSite] = &[
        EClientExecutionSite::k_EClientExecutionSiteInvalid,
        EClientExecutionSite::k_EClientExecutionSiteSteamUI,
        EClientExecutionSite::k_EClientExecutionSiteClientdll,
        EClientExecutionSite::k_EClientExecutionSiteAny,
    ];
}

impl ::std::default::Default for EClientExecutionSite {
    fn default() -> Self {
        EClientExecutionSite::k_EClientExecutionSiteInvalid
    }
}


// Extension generation with lite runtime is not supported


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

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