// This file is @generated by prost-build.
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct TranslateStringRequest {
    #[prost(uint32, tag = "1")]
    pub module_index: u32,
    #[prost(uint32, tag = "2")]
    pub message_index: u32,
    #[prost(map = "string, message", tag = "3")]
    pub args: ::std::collections::HashMap<
        ::prost::alloc::string::String,
        TranslateArgValue,
    >,
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct TranslateArgValue {
    #[prost(oneof = "translate_arg_value::Value", tags = "1, 2")]
    pub value: ::core::option::Option<translate_arg_value::Value>,
}
/// Nested message and enum types in `TranslateArgValue`.
pub mod translate_arg_value {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    #[must_use]
pub enum Value {
        #[prost(string, tag = "1")]
        Str(::prost::alloc::string::String),
        #[prost(double, tag = "2")]
        Number(f64),
    }
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
#[must_use]
pub struct FormatTimespanRequest {
    #[prost(float, tag = "1")]
    pub seconds: f32,
    #[prost(enumeration = "format_timespan_request::Context", tag = "2")]
    pub context: i32,
}
/// Nested message and enum types in `FormatTimespanRequest`.
pub mod format_timespan_request {
    #[derive(
        Clone,
        Copy,
        Debug,
        PartialEq,
        Eq,
        Hash,
        PartialOrd,
        Ord,
        ::prost::Enumeration
    )]
    #[repr(i32)]
    #[must_use]
pub enum Context {
        Precise = 0,
        AnswerButtons = 1,
        Intervals = 2,
    }
    impl Context {
        /// String value of the enum field names used in the ProtoBuf definition.
        ///
        /// The values are not transformed in any way and thus are considered stable
        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
        pub fn as_str_name(&self) -> &'static str {
            match self {
                Self::Precise => "PRECISE",
                Self::AnswerButtons => "ANSWER_BUTTONS",
                Self::Intervals => "INTERVALS",
            }
        }
        /// Creates an enum from field names used in the ProtoBuf definition.
        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
            match value {
                "PRECISE" => Some(Self::Precise),
                "ANSWER_BUTTONS" => Some(Self::AnswerButtons),
                "INTERVALS" => Some(Self::Intervals),
                _ => None,
            }
        }
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct I18nResourcesRequest {
    #[prost(string, repeated, tag = "1")]
    pub modules: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
