// This file is @generated by prost-build.
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct GetImageForOcclusionRequest {
    #[prost(string, tag = "1")]
    pub path: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct GetImageForOcclusionResponse {
    #[prost(bytes = "vec", tag = "1")]
    pub data: ::prost::alloc::vec::Vec<u8>,
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct AddImageOcclusionNoteRequest {
    #[prost(string, tag = "1")]
    pub image_path: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub occlusions: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub header: ::prost::alloc::string::String,
    #[prost(string, tag = "4")]
    pub back_extra: ::prost::alloc::string::String,
    #[prost(string, repeated, tag = "5")]
    pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(int64, tag = "6")]
    pub notetype_id: i64,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
#[must_use]
pub struct GetImageOcclusionNoteRequest {
    #[prost(int64, tag = "1")]
    pub note_id: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct GetImageOcclusionNoteResponse {
    #[prost(oneof = "get_image_occlusion_note_response::Value", tags = "1, 2")]
    pub value: ::core::option::Option<get_image_occlusion_note_response::Value>,
}
/// Nested message and enum types in `GetImageOcclusionNoteResponse`.
pub mod get_image_occlusion_note_response {
    #[derive(Clone, PartialEq, ::prost::Message)]
    #[must_use]
pub struct ImageOcclusionProperty {
        #[prost(string, tag = "1")]
        pub name: ::prost::alloc::string::String,
        #[prost(string, tag = "2")]
        pub value: ::prost::alloc::string::String,
    }
    #[derive(Clone, PartialEq, ::prost::Message)]
    #[must_use]
pub struct ImageOcclusionShape {
        #[prost(string, tag = "1")]
        pub shape: ::prost::alloc::string::String,
        #[prost(message, repeated, tag = "2")]
        pub properties: ::prost::alloc::vec::Vec<ImageOcclusionProperty>,
    }
    #[derive(Clone, PartialEq, ::prost::Message)]
    #[must_use]
pub struct ImageOcclusion {
        #[prost(message, repeated, tag = "1")]
        pub shapes: ::prost::alloc::vec::Vec<ImageOcclusionShape>,
        #[prost(uint32, tag = "2")]
        pub ordinal: u32,
    }
    #[derive(Clone, PartialEq, ::prost::Message)]
    #[must_use]
pub struct ImageOcclusionNote {
        #[prost(bytes = "vec", tag = "1")]
        pub image_data: ::prost::alloc::vec::Vec<u8>,
        #[prost(message, repeated, tag = "2")]
        pub occlusions: ::prost::alloc::vec::Vec<ImageOcclusion>,
        #[prost(string, tag = "3")]
        pub header: ::prost::alloc::string::String,
        #[prost(string, tag = "4")]
        pub back_extra: ::prost::alloc::string::String,
        #[prost(string, repeated, tag = "5")]
        pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
        #[prost(string, tag = "6")]
        pub image_file_name: ::prost::alloc::string::String,
        #[prost(bool, tag = "7")]
        pub occlude_inactive: bool,
    }
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    #[must_use]
pub enum Value {
        #[prost(message, tag = "1")]
        Note(ImageOcclusionNote),
        #[prost(string, tag = "2")]
        Error(::prost::alloc::string::String),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
#[must_use]
pub struct UpdateImageOcclusionNoteRequest {
    #[prost(int64, tag = "1")]
    pub note_id: i64,
    #[prost(string, tag = "2")]
    pub occlusions: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub header: ::prost::alloc::string::String,
    #[prost(string, tag = "4")]
    pub back_extra: ::prost::alloc::string::String,
    #[prost(string, repeated, tag = "5")]
    pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
#[must_use]
pub struct GetImageOcclusionFieldsRequest {
    #[prost(int64, tag = "1")]
    pub notetype_id: i64,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
#[must_use]
pub struct GetImageOcclusionFieldsResponse {
    #[prost(message, optional, tag = "1")]
    pub fields: ::core::option::Option<ImageOcclusionFieldIndexes>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
#[must_use]
pub struct ImageOcclusionFieldIndexes {
    #[prost(uint32, tag = "1")]
    pub occlusions: u32,
    #[prost(uint32, tag = "2")]
    pub image: u32,
    #[prost(uint32, tag = "3")]
    pub header: u32,
    #[prost(uint32, tag = "4")]
    pub back_extra: u32,
}
