// This file is @generated by prost-build.
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ScriptName {
    #[prost(string, required, tag = "1")]
    pub file: ::prost::alloc::string::String,
    #[prost(string, required, tag = "2")]
    pub elevation_command: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ScriptRequest {
    #[prost(oneof = "script_request::Request", tags = "1, 2, 3, 4")]
    pub request: ::core::option::Option<script_request::Request>,
}
/// Nested message and enum types in `ScriptRequest`.
pub mod script_request {
    #[derive(serde::Serialize, serde::Deserialize)]
    #[serde(rename_all = "snake_case")]
    #[derive(strum::EnumIter)]
    #[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Oneof)]
    pub enum Request {
        #[prost(message, tag = "1")]
        GetName(super::super::common::Empty),
        #[prost(message, tag = "2")]
        Run(super::super::common::Empty),
        #[prost(message, tag = "3")]
        RunRevert(super::super::common::Empty),
        #[prost(message, tag = "4")]
        Open(super::super::common::Empty),
    }
}
#[derive(serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "snake_case")]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ScriptResponse {
    #[prost(oneof = "script_response::Response", tags = "1, 2, 3, 4")]
    pub response: ::core::option::Option<script_response::Response>,
}
/// Nested message and enum types in `ScriptResponse`.
pub mod script_response {
    #[derive(serde::Serialize, serde::Deserialize)]
    #[serde(rename_all = "snake_case")]
    #[derive(strum::EnumIter)]
    #[derive(Clone, PartialEq, Eq, Hash, ::prost::Oneof)]
    pub enum Response {
        #[prost(message, tag = "1")]
        RunSuccess(super::super::common::Empty),
        #[prost(message, tag = "2")]
        Name(super::ScriptName),
        #[prost(string, tag = "3")]
        Error(::prost::alloc::string::String),
        #[prost(message, tag = "4")]
        None(super::super::common::Empty),
    }
}
