// This file is @generated by prost-build.
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct SetTagCollapsedRequest {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    #[prost(bool, tag = "2")]
    pub collapsed: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct TagTreeNode {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "2")]
    pub children: ::prost::alloc::vec::Vec<TagTreeNode>,
    #[prost(uint32, tag = "3")]
    pub level: u32,
    #[prost(bool, tag = "4")]
    pub collapsed: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct ReparentTagsRequest {
    #[prost(string, repeated, tag = "1")]
    pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(string, tag = "2")]
    pub new_parent: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct RenameTagsRequest {
    #[prost(string, tag = "1")]
    pub current_prefix: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub new_prefix: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct NoteIdsAndTagsRequest {
    #[prost(int64, repeated, tag = "1")]
    pub note_ids: ::prost::alloc::vec::Vec<i64>,
    #[prost(string, tag = "2")]
    pub tags: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct FindAndReplaceTagRequest {
    #[prost(int64, repeated, tag = "1")]
    pub note_ids: ::prost::alloc::vec::Vec<i64>,
    #[prost(string, tag = "2")]
    pub search: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub replacement: ::prost::alloc::string::String,
    #[prost(bool, tag = "4")]
    pub regex: bool,
    #[prost(bool, tag = "5")]
    pub match_case: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct CompleteTagRequest {
    /// a partial tag, optionally delimited with ::
    #[prost(string, tag = "1")]
    pub input: ::prost::alloc::string::String,
    #[prost(uint32, tag = "2")]
    pub match_limit: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct CompleteTagResponse {
    #[prost(string, repeated, tag = "1")]
    pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
