#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EventNameList {
    #[prost(enumeration="EventType", repeated, tag="1")]
    pub event_types: ::prost::alloc::vec::Vec<i32>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Event {
    #[prost(enumeration="EventType", tag="1")]
    pub name: i32,
    #[prost(oneof="event::Payload", tags="2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40")]
    pub payload: ::core::option::Option<event::Payload>,
}
/// Nested message and enum types in `Event`.
pub mod event {
    #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Payload {
        #[prost(message, tag="2")]
        ModeUpdatePayload(super::ModeUpdatePayload),
        #[prost(message, tag="3")]
        TabUpdatePayload(super::TabUpdatePayload),
        #[prost(message, tag="4")]
        PaneUpdatePayload(super::PaneUpdatePayload),
        #[prost(message, tag="5")]
        KeyPayload(super::super::key::Key),
        #[prost(message, tag="6")]
        MouseEventPayload(super::MouseEventPayload),
        #[prost(float, tag="7")]
        TimerPayload(f32),
        #[prost(enumeration="super::CopyDestination", tag="8")]
        CopyToClipboardPayload(i32),
        #[prost(bool, tag="9")]
        VisiblePayload(bool),
        #[prost(message, tag="10")]
        CustomMessagePayload(super::CustomMessagePayload),
        #[prost(message, tag="11")]
        FileListPayload(super::FileListPayload),
        #[prost(message, tag="12")]
        PermissionRequestResultPayload(super::PermissionRequestResultPayload),
        #[prost(message, tag="13")]
        SessionUpdatePayload(super::SessionUpdatePayload),
        #[prost(message, tag="14")]
        RunCommandResultPayload(super::RunCommandResultPayload),
        #[prost(message, tag="15")]
        WebRequestResultPayload(super::WebRequestResultPayload),
        #[prost(message, tag="16")]
        CommandPaneOpenedPayload(super::CommandPaneOpenedPayload),
        #[prost(message, tag="17")]
        CommandPaneExitedPayload(super::CommandPaneExitedPayload),
        #[prost(message, tag="18")]
        PaneClosedPayload(super::PaneClosedPayload),
        #[prost(message, tag="19")]
        EditPaneOpenedPayload(super::EditPaneOpenedPayload),
        #[prost(message, tag="20")]
        EditPaneExitedPayload(super::EditPaneExitedPayload),
        #[prost(message, tag="21")]
        CommandPaneRerunPayload(super::CommandPaneReRunPayload),
        #[prost(message, tag="22")]
        FailedToWriteConfigToDiskPayload(super::FailedToWriteConfigToDiskPayload),
        #[prost(message, tag="23")]
        ListClientsPayload(super::ListClientsPayload),
        #[prost(message, tag="24")]
        HostFolderChangedPayload(super::HostFolderChangedPayload),
        #[prost(message, tag="25")]
        FailedToChangeHostFolderPayload(super::FailedToChangeHostFolderPayload),
        #[prost(message, tag="26")]
        PastedTextPayload(super::PastedTextPayload),
        #[prost(message, tag="27")]
        WebServerStatusPayload(super::WebServerStatusPayload),
        #[prost(message, tag="28")]
        FailedToStartWebServerPayload(super::FailedToStartWebServerPayload),
        #[prost(message, tag="29")]
        InterceptedKeyPayload(super::super::key::Key),
        #[prost(message, tag="30")]
        PaneRenderReportPayload(super::PaneRenderReportPayload),
        #[prost(message, tag="31")]
        UserActionPayload(super::UserActionPayload),
        #[prost(message, tag="32")]
        ActionCompletePayload(super::ActionCompletePayload),
        #[prost(message, tag="33")]
        CwdChangedPayload(super::CwdChangedPayload),
        #[prost(message, tag="34")]
        AvailableLayoutInfoPayload(super::AvailableLayoutInfoPayload),
        #[prost(message, tag="35")]
        PluginConfigurationChangedPayload(super::PluginConfigurationChangedPayload),
        #[prost(message, tag="36")]
        HighlightClickedPayload(super::HighlightClickedPayload),
        #[prost(message, tag="37")]
        PaneRenderReportWithAnsiPayload(super::PaneRenderReportPayload),
        #[prost(message, tag="38")]
        InitialKeybindsPayload(super::InitialKeybindsPayload),
        #[prost(message, tag="39")]
        CommandChangedPayload(super::CommandChangedPayload),
        #[prost(message, tag="40")]
        HostTerminalThemeChangedPayload(super::HostTerminalThemeChangedPayload),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HostTerminalThemeChangedPayload {
    #[prost(enumeration="HostTerminalThemeIndication", tag="1")]
    pub mode: i32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CwdChangedPayload {
    #[prost(message, optional, tag="1")]
    pub pane_id: ::core::option::Option<PaneId>,
    #[prost(string, tag="2")]
    pub new_cwd: ::prost::alloc::string::String,
    #[prost(uint32, repeated, tag="3")]
    pub focused_client_ids: ::prost::alloc::vec::Vec<u32>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommandChangedPayload {
    #[prost(message, optional, tag="1")]
    pub pane_id: ::core::option::Option<PaneId>,
    #[prost(string, repeated, tag="2")]
    pub command: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(bool, tag="3")]
    pub is_foreground: bool,
    #[prost(uint32, repeated, tag="4")]
    pub focused_client_ids: ::prost::alloc::vec::Vec<u32>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FailedToStartWebServerPayload {
    #[prost(string, tag="1")]
    pub error: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PastedTextPayload {
    #[prost(string, tag="1")]
    pub pasted_text: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WebServerStatusPayload {
    #[prost(enumeration="WebServerStatusIndication", tag="1")]
    pub web_server_status_indication: i32,
    #[prost(string, optional, tag="2")]
    pub payload: ::core::option::Option<::prost::alloc::string::String>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FailedToChangeHostFolderPayload {
    #[prost(string, optional, tag="1")]
    pub error_message: ::core::option::Option<::prost::alloc::string::String>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HostFolderChangedPayload {
    #[prost(string, tag="1")]
    pub new_host_folder_path: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListClientsPayload {
    #[prost(message, repeated, tag="1")]
    pub client_info: ::prost::alloc::vec::Vec<ClientInfo>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ClientInfo {
    #[prost(uint32, tag="1")]
    pub client_id: u32,
    #[prost(message, optional, tag="2")]
    pub pane_id: ::core::option::Option<PaneId>,
    #[prost(string, tag="3")]
    pub running_command: ::prost::alloc::string::String,
    #[prost(bool, tag="4")]
    pub is_current_client: bool,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FailedToWriteConfigToDiskPayload {
    #[prost(string, optional, tag="1")]
    pub file_path: ::core::option::Option<::prost::alloc::string::String>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommandPaneReRunPayload {
    #[prost(uint32, tag="1")]
    pub terminal_pane_id: u32,
    #[prost(message, repeated, tag="3")]
    pub context: ::prost::alloc::vec::Vec<ContextItem>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaneClosedPayload {
    #[prost(message, optional, tag="1")]
    pub pane_id: ::core::option::Option<PaneId>,
}
/// duplicate of plugin_command.PaneId because protobuffs don't like recursive imports
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaneId {
    #[prost(enumeration="PaneType", tag="1")]
    pub pane_type: i32,
    #[prost(uint32, tag="2")]
    pub id: u32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommandPaneOpenedPayload {
    #[prost(uint32, tag="1")]
    pub terminal_pane_id: u32,
    #[prost(message, repeated, tag="2")]
    pub context: ::prost::alloc::vec::Vec<ContextItem>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EditPaneOpenedPayload {
    #[prost(uint32, tag="1")]
    pub terminal_pane_id: u32,
    #[prost(message, repeated, tag="2")]
    pub context: ::prost::alloc::vec::Vec<ContextItem>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CommandPaneExitedPayload {
    #[prost(uint32, tag="1")]
    pub terminal_pane_id: u32,
    #[prost(int32, optional, tag="2")]
    pub exit_code: ::core::option::Option<i32>,
    #[prost(message, repeated, tag="3")]
    pub context: ::prost::alloc::vec::Vec<ContextItem>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct EditPaneExitedPayload {
    #[prost(uint32, tag="1")]
    pub terminal_pane_id: u32,
    #[prost(int32, optional, tag="2")]
    pub exit_code: ::core::option::Option<i32>,
    #[prost(message, repeated, tag="3")]
    pub context: ::prost::alloc::vec::Vec<ContextItem>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SessionUpdatePayload {
    #[prost(message, repeated, tag="1")]
    pub session_manifests: ::prost::alloc::vec::Vec<SessionManifest>,
    #[prost(message, repeated, tag="2")]
    pub resurrectable_sessions: ::prost::alloc::vec::Vec<ResurrectableSession>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AvailableLayoutInfoPayload {
    #[prost(message, repeated, tag="1")]
    pub available_layouts: ::prost::alloc::vec::Vec<LayoutInfo>,
    #[prost(message, repeated, tag="2")]
    pub layouts_with_errors: ::prost::alloc::vec::Vec<LayoutWithError>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RunCommandResultPayload {
    #[prost(int32, optional, tag="1")]
    pub exit_code: ::core::option::Option<i32>,
    #[prost(bytes="vec", tag="2")]
    pub stdout: ::prost::alloc::vec::Vec<u8>,
    #[prost(bytes="vec", tag="3")]
    pub stderr: ::prost::alloc::vec::Vec<u8>,
    #[prost(message, repeated, tag="4")]
    pub context: ::prost::alloc::vec::Vec<ContextItem>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct WebRequestResultPayload {
    #[prost(int32, tag="1")]
    pub status: i32,
    #[prost(message, repeated, tag="2")]
    pub headers: ::prost::alloc::vec::Vec<Header>,
    #[prost(bytes="vec", tag="3")]
    pub body: ::prost::alloc::vec::Vec<u8>,
    #[prost(message, repeated, tag="4")]
    pub context: ::prost::alloc::vec::Vec<ContextItem>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ContextItem {
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub value: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Header {
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub value: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PermissionRequestResultPayload {
    #[prost(bool, tag="1")]
    pub granted: bool,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FileListPayload {
    #[prost(string, repeated, tag="1")]
    pub paths: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(message, repeated, tag="2")]
    pub paths_metadata: ::prost::alloc::vec::Vec<FileMetadata>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FileMetadata {
    /// if this is false, the metadata for this file has not been read
    #[prost(bool, tag="1")]
    pub metadata_is_set: bool,
    #[prost(bool, tag="2")]
    pub is_dir: bool,
    #[prost(bool, tag="3")]
    pub is_file: bool,
    #[prost(bool, tag="4")]
    pub is_symlink: bool,
    #[prost(uint64, tag="5")]
    pub len: u64,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CustomMessagePayload {
    #[prost(string, tag="1")]
    pub message_name: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub payload: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MouseEventPayload {
    #[prost(enumeration="MouseEventName", tag="1")]
    pub mouse_event_name: i32,
    #[prost(oneof="mouse_event_payload::MouseEventPayload", tags="2, 3")]
    pub mouse_event_payload: ::core::option::Option<mouse_event_payload::MouseEventPayload>,
}
/// Nested message and enum types in `MouseEventPayload`.
pub mod mouse_event_payload {
    #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum MouseEventPayload {
        #[prost(uint32, tag="2")]
        LineCount(u32),
        #[prost(message, tag="3")]
        Position(super::super::action::Position),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TabUpdatePayload {
    #[prost(message, repeated, tag="1")]
    pub tab_info: ::prost::alloc::vec::Vec<TabInfo>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaneUpdatePayload {
    #[prost(message, repeated, tag="1")]
    pub pane_manifest: ::prost::alloc::vec::Vec<PaneManifest>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaneManifest {
    #[prost(uint32, tag="1")]
    pub tab_index: u32,
    #[prost(message, repeated, tag="2")]
    pub panes: ::prost::alloc::vec::Vec<PaneInfo>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SessionManifest {
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    #[prost(message, repeated, tag="2")]
    pub tabs: ::prost::alloc::vec::Vec<TabInfo>,
    #[prost(message, repeated, tag="3")]
    pub panes: ::prost::alloc::vec::Vec<PaneManifest>,
    #[prost(uint32, tag="4")]
    pub connected_clients: u32,
    #[prost(bool, tag="5")]
    pub is_current_session: bool,
    #[prost(message, repeated, tag="6")]
    pub available_layouts: ::prost::alloc::vec::Vec<LayoutInfo>,
    #[prost(message, repeated, tag="7")]
    pub plugins: ::prost::alloc::vec::Vec<PluginInfo>,
    #[prost(bool, tag="8")]
    pub web_clients_allowed: bool,
    #[prost(uint32, tag="9")]
    pub web_client_count: u32,
    #[prost(message, repeated, tag="10")]
    pub tab_history: ::prost::alloc::vec::Vec<ClientTabHistory>,
    #[prost(message, repeated, tag="11")]
    pub pane_history: ::prost::alloc::vec::Vec<ClientPaneHistory>,
    #[prost(uint64, tag="12")]
    pub creation_time: u64,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ClientTabHistory {
    #[prost(uint32, tag="1")]
    pub client_id: u32,
    #[prost(uint32, repeated, tag="2")]
    pub tab_history: ::prost::alloc::vec::Vec<u32>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ClientPaneHistory {
    #[prost(uint32, tag="1")]
    pub client_id: u32,
    #[prost(message, repeated, tag="2")]
    pub pane_history: ::prost::alloc::vec::Vec<PaneId>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PluginInfo {
    #[prost(uint32, tag="1")]
    pub plugin_id: u32,
    #[prost(string, tag="2")]
    pub plugin_url: ::prost::alloc::string::String,
    #[prost(message, repeated, tag="3")]
    pub plugin_config: ::prost::alloc::vec::Vec<ContextItem>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LayoutInfo {
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag="2")]
    pub source: ::prost::alloc::string::String,
    #[prost(message, optional, tag="5")]
    pub layout_metadata: ::core::option::Option<LayoutMetadata>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LayoutWithError {
    #[prost(string, tag="1")]
    pub layout_name: ::prost::alloc::string::String,
    #[prost(message, optional, tag="2")]
    pub error: ::core::option::Option<LayoutParsingError>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LayoutParsingError {
    #[prost(oneof="layout_parsing_error::ErrorType", tags="1, 2")]
    pub error_type: ::core::option::Option<layout_parsing_error::ErrorType>,
}
/// Nested message and enum types in `LayoutParsingError`.
pub mod layout_parsing_error {
    #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum ErrorType {
        #[prost(message, tag="1")]
        KdlError(super::KdlErrorVariant),
        #[prost(message, tag="2")]
        SyntaxError(super::SyntaxError),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KdlErrorVariant {
    #[prost(message, optional, tag="1")]
    pub kdl_error: ::core::option::Option<KdlError>,
    #[prost(string, tag="2")]
    pub file_name: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub source_code: ::prost::alloc::string::String,
}
/// Empty message, just a marker
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SyntaxError {
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KdlError {
    #[prost(string, tag="1")]
    pub error_message: ::prost::alloc::string::String,
    #[prost(uint64, optional, tag="2")]
    pub offset: ::core::option::Option<u64>,
    #[prost(uint64, optional, tag="3")]
    pub len: ::core::option::Option<u64>,
    #[prost(string, optional, tag="4")]
    pub help_message: ::core::option::Option<::prost::alloc::string::String>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LayoutMetadata {
    #[prost(message, repeated, tag="1")]
    pub tabs: ::prost::alloc::vec::Vec<TabMetadata>,
    #[prost(string, tag="2")]
    pub creation_time: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub update_time: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TabMetadata {
    #[prost(message, repeated, tag="1")]
    pub pane_metadata: ::prost::alloc::vec::Vec<PaneMetadata>,
    #[prost(string, optional, tag="2")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaneMetadata {
    #[prost(string, optional, tag="1")]
    pub name: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(bool, tag="2")]
    pub is_plugin: bool,
    #[prost(bool, tag="3")]
    pub is_builtin_plugin: bool,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResurrectableSession {
    #[prost(string, tag="1")]
    pub name: ::prost::alloc::string::String,
    #[prost(uint64, tag="2")]
    pub creation_time: u64,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaneInfo {
    #[prost(uint32, tag="1")]
    pub id: u32,
    #[prost(bool, tag="2")]
    pub is_plugin: bool,
    #[prost(bool, tag="3")]
    pub is_focused: bool,
    #[prost(bool, tag="4")]
    pub is_fullscreen: bool,
    #[prost(bool, tag="5")]
    pub is_floating: bool,
    #[prost(bool, tag="6")]
    pub is_suppressed: bool,
    #[prost(string, tag="7")]
    pub title: ::prost::alloc::string::String,
    #[prost(bool, tag="8")]
    pub exited: bool,
    #[prost(int32, optional, tag="9")]
    pub exit_status: ::core::option::Option<i32>,
    #[prost(bool, tag="10")]
    pub is_held: bool,
    #[prost(uint32, tag="11")]
    pub pane_x: u32,
    #[prost(uint32, tag="12")]
    pub pane_content_x: u32,
    #[prost(uint32, tag="13")]
    pub pane_y: u32,
    #[prost(uint32, tag="14")]
    pub pane_content_y: u32,
    #[prost(uint32, tag="15")]
    pub pane_rows: u32,
    #[prost(uint32, tag="16")]
    pub pane_content_rows: u32,
    #[prost(uint32, tag="17")]
    pub pane_columns: u32,
    #[prost(uint32, tag="18")]
    pub pane_content_columns: u32,
    #[prost(message, optional, tag="19")]
    pub cursor_coordinates_in_pane: ::core::option::Option<super::action::Position>,
    #[prost(string, optional, tag="20")]
    pub terminal_command: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag="21")]
    pub plugin_url: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(bool, tag="22")]
    pub is_selectable: bool,
    #[prost(message, repeated, tag="23")]
    pub index_in_pane_group: ::prost::alloc::vec::Vec<IndexInPaneGroup>,
    #[prost(string, optional, tag="24")]
    pub default_fg: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag="25")]
    pub default_bg: ::core::option::Option<::prost::alloc::string::String>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IndexInPaneGroup {
    #[prost(uint32, tag="1")]
    pub client_id: u32,
    #[prost(uint32, tag="2")]
    pub index: u32,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TabInfo {
    #[prost(uint32, tag="1")]
    pub position: u32,
    #[prost(string, tag="2")]
    pub name: ::prost::alloc::string::String,
    #[prost(bool, tag="3")]
    pub active: bool,
    #[prost(uint32, tag="4")]
    pub panes_to_hide: u32,
    #[prost(bool, tag="5")]
    pub is_fullscreen_active: bool,
    #[prost(bool, tag="6")]
    pub is_sync_panes_active: bool,
    #[prost(bool, tag="7")]
    pub are_floating_panes_visible: bool,
    #[prost(uint32, repeated, tag="8")]
    pub other_focused_clients: ::prost::alloc::vec::Vec<u32>,
    #[prost(string, optional, tag="9")]
    pub active_swap_layout_name: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(bool, tag="10")]
    pub is_swap_layout_dirty: bool,
    #[prost(uint32, tag="11")]
    pub viewport_rows: u32,
    #[prost(uint32, tag="12")]
    pub viewport_columns: u32,
    #[prost(uint32, tag="13")]
    pub display_area_rows: u32,
    #[prost(uint32, tag="14")]
    pub display_area_columns: u32,
    #[prost(uint32, tag="15")]
    pub selectable_tiled_panes_count: u32,
    #[prost(uint32, tag="16")]
    pub selectable_floating_panes_count: u32,
    #[prost(uint32, tag="17")]
    pub tab_id: u32,
    #[prost(bool, tag="18")]
    pub has_bell_notification: bool,
    #[prost(bool, tag="19")]
    pub is_flashing_bell: bool,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ModeUpdatePayload {
    #[prost(enumeration="super::input_mode::InputMode", tag="1")]
    pub current_mode: i32,
    #[prost(message, repeated, tag="2")]
    pub keybinds: ::prost::alloc::vec::Vec<InputModeKeybinds>,
    #[prost(message, optional, tag="3")]
    pub style: ::core::option::Option<super::style::Style>,
    #[prost(bool, tag="4")]
    pub arrow_fonts_support: bool,
    #[prost(string, optional, tag="5")]
    pub session_name: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(enumeration="super::input_mode::InputMode", optional, tag="6")]
    pub base_mode: ::core::option::Option<i32>,
    #[prost(string, optional, tag="7")]
    pub editor: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(string, optional, tag="8")]
    pub shell: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(bool, optional, tag="9")]
    pub web_clients_allowed: ::core::option::Option<bool>,
    #[prost(enumeration="WebSharing", optional, tag="10")]
    pub web_sharing: ::core::option::Option<i32>,
    #[prost(bool, optional, tag="11")]
    pub currently_marking_pane_group: ::core::option::Option<bool>,
    #[prost(bool, optional, tag="12")]
    pub is_web_client: ::core::option::Option<bool>,
    #[prost(string, optional, tag="13")]
    pub web_server_ip: ::core::option::Option<::prost::alloc::string::String>,
    #[prost(uint32, optional, tag="14")]
    pub web_server_port: ::core::option::Option<u32>,
    #[prost(bool, optional, tag="15")]
    pub web_server_capability: ::core::option::Option<bool>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InputModeKeybinds {
    #[prost(enumeration="super::input_mode::InputMode", tag="1")]
    pub mode: i32,
    #[prost(message, repeated, tag="2")]
    pub key_bind: ::prost::alloc::vec::Vec<KeyBind>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeyBind {
    #[prost(message, optional, tag="1")]
    pub key: ::core::option::Option<super::key::Key>,
    #[prost(message, repeated, tag="2")]
    pub action: ::prost::alloc::vec::Vec<super::action::Action>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaneRenderReportPayload {
    #[prost(message, repeated, tag="1")]
    pub pane_contents: ::prost::alloc::vec::Vec<PaneContentsEntry>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaneContentsEntry {
    #[prost(message, optional, tag="1")]
    pub pane_id: ::core::option::Option<PaneId>,
    #[prost(message, optional, tag="2")]
    pub pane_contents: ::core::option::Option<PaneContents>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaneContents {
    #[prost(string, repeated, tag="1")]
    pub viewport: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(message, optional, tag="2")]
    pub selected_text: ::core::option::Option<SelectedText>,
    #[prost(string, repeated, tag="3")]
    pub lines_above_viewport: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(string, repeated, tag="4")]
    pub lines_below_viewport: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PaneScrollbackResponse {
    #[prost(oneof="pane_scrollback_response::Response", tags="1, 2")]
    pub response: ::core::option::Option<pane_scrollback_response::Response>,
}
/// Nested message and enum types in `PaneScrollbackResponse`.
pub mod pane_scrollback_response {
    #[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Response {
        #[prost(message, tag="1")]
        Ok(super::PaneContents),
        #[prost(string, tag="2")]
        Err(::prost::alloc::string::String),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SelectedText {
    #[prost(message, optional, tag="1")]
    pub start: ::core::option::Option<super::action::Position>,
    #[prost(message, optional, tag="2")]
    pub end: ::core::option::Option<super::action::Position>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserActionPayload {
    #[prost(message, optional, tag="1")]
    pub action: ::core::option::Option<super::action::Action>,
    #[prost(uint32, tag="2")]
    pub client_id: u32,
    #[prost(uint32, optional, tag="3")]
    pub terminal_id: ::core::option::Option<u32>,
    #[prost(uint32, optional, tag="4")]
    pub cli_client_id: ::core::option::Option<u32>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ActionCompletePayload {
    #[prost(message, optional, tag="1")]
    pub action: ::core::option::Option<super::action::Action>,
    #[prost(message, optional, tag="2")]
    pub pane_id: ::core::option::Option<PaneId>,
    #[prost(message, repeated, tag="3")]
    pub context: ::prost::alloc::vec::Vec<ContextItem>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PluginConfigurationChangedPayload {
    #[prost(message, repeated, tag="1")]
    pub configuration: ::prost::alloc::vec::Vec<ContextItem>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HighlightClickedPayload {
    #[prost(message, optional, tag="1")]
    pub pane_id: ::core::option::Option<PaneId>,
    #[prost(string, tag="2")]
    pub pattern: ::prost::alloc::string::String,
    #[prost(string, tag="3")]
    pub matched_string: ::prost::alloc::string::String,
    #[prost(message, repeated, tag="4")]
    pub context: ::prost::alloc::vec::Vec<ContextItem>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InitialKeybindsPayload {
    #[prost(message, repeated, tag="1")]
    pub keybinds: ::prost::alloc::vec::Vec<InputModeKeybinds>,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum EventType {
    /// / The input mode or relevant metadata changed
    ModeUpdate = 0,
    /// / The tab state in the app was changed
    TabUpdate = 1,
    /// / The pane state in the app was changed
    PaneUpdate = 2,
    /// / A key was pressed while the user is focused on this plugin's pane
    Key = 3,
    /// / A mouse event happened while the user is focused on this plugin's pane
    Mouse = 4,
    /// / A timer expired set by the `set_timeout` method exported by `zellij-tile`.
    Timer = 5,
    /// / Text was copied to the clipboard anywhere in the app
    CopyToClipboard = 6,
    /// / Failed to copy text to clipboard anywhere in the app
    SystemClipboardFailure = 7,
    /// / Input was received anywhere in the app
    InputReceived = 8,
    /// / This plugin became visible or invisible
    Visible = 9,
    /// / A message from one of the plugin's workers
    CustomMessage = 10,
    /// / A file was created somewhere in the Zellij CWD folder
    FileSystemCreate = 11,
    /// / A file was accessed somewhere in the Zellij CWD folder
    FileSystemRead = 12,
    /// / A file was modified somewhere in the Zellij CWD folder
    FileSystemUpdate = 13,
    /// / A file was deleted somewhere in the Zellij CWD folder
    FileSystemDelete = 14,
    PermissionRequestResult = 15,
    SessionUpdate = 16,
    RunCommandResult = 17,
    WebRequestResult = 18,
    CommandPaneOpened = 19,
    CommandPaneExited = 20,
    PaneClosed = 21,
    EditPaneOpened = 22,
    EditPaneExited = 23,
    CommandPaneReRun = 24,
    FailedToWriteConfigToDisk = 25,
    ListClients = 26,
    HostFolderChanged = 27,
    FailedToChangeHostFolder = 28,
    PastedText = 29,
    ConfigWasWrittenToDisk = 30,
    WebServerStatus = 31,
    BeforeClose = 32,
    FailedToStartWebServer = 34,
    InterceptedKeyPress = 35,
    PaneRenderReport = 36,
    UserAction = 37,
    ActionComplete = 38,
    CwdChanged = 39,
    AvailableLayoutInfo = 40,
    PluginConfigurationChanged = 41,
    HighlightClicked = 42,
    PaneRenderReportWithAnsi = 43,
    InitialKeybinds = 44,
    CommandChanged = 45,
    HostTerminalThemeChanged = 46,
}
impl EventType {
    /// 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 {
            EventType::ModeUpdate => "ModeUpdate",
            EventType::TabUpdate => "TabUpdate",
            EventType::PaneUpdate => "PaneUpdate",
            EventType::Key => "Key",
            EventType::Mouse => "Mouse",
            EventType::Timer => "Timer",
            EventType::CopyToClipboard => "CopyToClipboard",
            EventType::SystemClipboardFailure => "SystemClipboardFailure",
            EventType::InputReceived => "InputReceived",
            EventType::Visible => "Visible",
            EventType::CustomMessage => "CustomMessage",
            EventType::FileSystemCreate => "FileSystemCreate",
            EventType::FileSystemRead => "FileSystemRead",
            EventType::FileSystemUpdate => "FileSystemUpdate",
            EventType::FileSystemDelete => "FileSystemDelete",
            EventType::PermissionRequestResult => "PermissionRequestResult",
            EventType::SessionUpdate => "SessionUpdate",
            EventType::RunCommandResult => "RunCommandResult",
            EventType::WebRequestResult => "WebRequestResult",
            EventType::CommandPaneOpened => "CommandPaneOpened",
            EventType::CommandPaneExited => "CommandPaneExited",
            EventType::PaneClosed => "PaneClosed",
            EventType::EditPaneOpened => "EditPaneOpened",
            EventType::EditPaneExited => "EditPaneExited",
            EventType::CommandPaneReRun => "CommandPaneReRun",
            EventType::FailedToWriteConfigToDisk => "FailedToWriteConfigToDisk",
            EventType::ListClients => "ListClients",
            EventType::HostFolderChanged => "HostFolderChanged",
            EventType::FailedToChangeHostFolder => "FailedToChangeHostFolder",
            EventType::PastedText => "PastedText",
            EventType::ConfigWasWrittenToDisk => "ConfigWasWrittenToDisk",
            EventType::WebServerStatus => "WebServerStatus",
            EventType::BeforeClose => "BeforeClose",
            EventType::FailedToStartWebServer => "FailedToStartWebServer",
            EventType::InterceptedKeyPress => "InterceptedKeyPress",
            EventType::PaneRenderReport => "PaneRenderReport",
            EventType::UserAction => "UserAction",
            EventType::ActionComplete => "ActionComplete",
            EventType::CwdChanged => "CwdChanged",
            EventType::AvailableLayoutInfo => "AvailableLayoutInfo",
            EventType::PluginConfigurationChanged => "PluginConfigurationChanged",
            EventType::HighlightClicked => "HighlightClicked",
            EventType::PaneRenderReportWithAnsi => "PaneRenderReportWithAnsi",
            EventType::InitialKeybinds => "InitialKeybinds",
            EventType::CommandChanged => "CommandChanged",
            EventType::HostTerminalThemeChanged => "HostTerminalThemeChanged",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "ModeUpdate" => Some(Self::ModeUpdate),
            "TabUpdate" => Some(Self::TabUpdate),
            "PaneUpdate" => Some(Self::PaneUpdate),
            "Key" => Some(Self::Key),
            "Mouse" => Some(Self::Mouse),
            "Timer" => Some(Self::Timer),
            "CopyToClipboard" => Some(Self::CopyToClipboard),
            "SystemClipboardFailure" => Some(Self::SystemClipboardFailure),
            "InputReceived" => Some(Self::InputReceived),
            "Visible" => Some(Self::Visible),
            "CustomMessage" => Some(Self::CustomMessage),
            "FileSystemCreate" => Some(Self::FileSystemCreate),
            "FileSystemRead" => Some(Self::FileSystemRead),
            "FileSystemUpdate" => Some(Self::FileSystemUpdate),
            "FileSystemDelete" => Some(Self::FileSystemDelete),
            "PermissionRequestResult" => Some(Self::PermissionRequestResult),
            "SessionUpdate" => Some(Self::SessionUpdate),
            "RunCommandResult" => Some(Self::RunCommandResult),
            "WebRequestResult" => Some(Self::WebRequestResult),
            "CommandPaneOpened" => Some(Self::CommandPaneOpened),
            "CommandPaneExited" => Some(Self::CommandPaneExited),
            "PaneClosed" => Some(Self::PaneClosed),
            "EditPaneOpened" => Some(Self::EditPaneOpened),
            "EditPaneExited" => Some(Self::EditPaneExited),
            "CommandPaneReRun" => Some(Self::CommandPaneReRun),
            "FailedToWriteConfigToDisk" => Some(Self::FailedToWriteConfigToDisk),
            "ListClients" => Some(Self::ListClients),
            "HostFolderChanged" => Some(Self::HostFolderChanged),
            "FailedToChangeHostFolder" => Some(Self::FailedToChangeHostFolder),
            "PastedText" => Some(Self::PastedText),
            "ConfigWasWrittenToDisk" => Some(Self::ConfigWasWrittenToDisk),
            "WebServerStatus" => Some(Self::WebServerStatus),
            "BeforeClose" => Some(Self::BeforeClose),
            "FailedToStartWebServer" => Some(Self::FailedToStartWebServer),
            "InterceptedKeyPress" => Some(Self::InterceptedKeyPress),
            "PaneRenderReport" => Some(Self::PaneRenderReport),
            "UserAction" => Some(Self::UserAction),
            "ActionComplete" => Some(Self::ActionComplete),
            "CwdChanged" => Some(Self::CwdChanged),
            "AvailableLayoutInfo" => Some(Self::AvailableLayoutInfo),
            "PluginConfigurationChanged" => Some(Self::PluginConfigurationChanged),
            "HighlightClicked" => Some(Self::HighlightClicked),
            "PaneRenderReportWithAnsi" => Some(Self::PaneRenderReportWithAnsi),
            "InitialKeybinds" => Some(Self::InitialKeybinds),
            "CommandChanged" => Some(Self::CommandChanged),
            "HostTerminalThemeChanged" => Some(Self::HostTerminalThemeChanged),
            _ => None,
        }
    }
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum HostTerminalThemeIndication {
    Dark = 0,
    Light = 1,
}
impl HostTerminalThemeIndication {
    /// 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 {
            HostTerminalThemeIndication::Dark => "Dark",
            HostTerminalThemeIndication::Light => "Light",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "Dark" => Some(Self::Dark),
            "Light" => Some(Self::Light),
            _ => None,
        }
    }
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum WebServerStatusIndication {
    Online = 0,
    Offline = 1,
    DifferentVersion = 2,
}
impl WebServerStatusIndication {
    /// 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 {
            WebServerStatusIndication::Online => "Online",
            WebServerStatusIndication::Offline => "Offline",
            WebServerStatusIndication::DifferentVersion => "DifferentVersion",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "Online" => Some(Self::Online),
            "Offline" => Some(Self::Offline),
            "DifferentVersion" => Some(Self::DifferentVersion),
            _ => None,
        }
    }
}
/// duplicate of plugin_command.PaneType because protobuffs don't like recursive imports
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum PaneType {
    Terminal = 0,
    Plugin = 1,
}
impl PaneType {
    /// 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 {
            PaneType::Terminal => "Terminal",
            PaneType::Plugin => "Plugin",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "Terminal" => Some(Self::Terminal),
            "Plugin" => Some(Self::Plugin),
            _ => None,
        }
    }
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum CopyDestination {
    Command = 0,
    Primary = 1,
    System = 2,
}
impl CopyDestination {
    /// 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 {
            CopyDestination::Command => "Command",
            CopyDestination::Primary => "Primary",
            CopyDestination::System => "System",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "Command" => Some(Self::Command),
            "Primary" => Some(Self::Primary),
            "System" => Some(Self::System),
            _ => None,
        }
    }
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum MouseEventName {
    MouseScrollUp = 0,
    MouseScrollDown = 1,
    MouseLeftClick = 2,
    MouseRightClick = 3,
    MouseHold = 4,
    MouseRelease = 5,
    MouseHover = 6,
}
impl MouseEventName {
    /// 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 {
            MouseEventName::MouseScrollUp => "MouseScrollUp",
            MouseEventName::MouseScrollDown => "MouseScrollDown",
            MouseEventName::MouseLeftClick => "MouseLeftClick",
            MouseEventName::MouseRightClick => "MouseRightClick",
            MouseEventName::MouseHold => "MouseHold",
            MouseEventName::MouseRelease => "MouseRelease",
            MouseEventName::MouseHover => "MouseHover",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "MouseScrollUp" => Some(Self::MouseScrollUp),
            "MouseScrollDown" => Some(Self::MouseScrollDown),
            "MouseLeftClick" => Some(Self::MouseLeftClick),
            "MouseRightClick" => Some(Self::MouseRightClick),
            "MouseHold" => Some(Self::MouseHold),
            "MouseRelease" => Some(Self::MouseRelease),
            "MouseHover" => Some(Self::MouseHover),
            _ => None,
        }
    }
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum WebSharing {
    On = 0,
    Off = 1,
    Disabled = 2,
}
impl WebSharing {
    /// 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 {
            WebSharing::On => "On",
            WebSharing::Off => "Off",
            WebSharing::Disabled => "Disabled",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "On" => Some(Self::On),
            "Off" => Some(Self::Off),
            "Disabled" => Some(Self::Disabled),
            _ => None,
        }
    }
}
