// This file is @generated by prost-build.
#[derive(serde::Serialize, serde::Deserialize)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ImportWriteStatus {
    #[prost(uint32, tag = "1")]
    pub keyspace_id: u32,
    #[prost(int64, tag = "2")]
    pub table_id: i64,
    #[prost(int64, tag = "3")]
    pub index_id: i64,
    #[prost(string, tag = "4")]
    pub file_prefix: ::prost::alloc::string::String,
    #[prost(uint64, tag = "5")]
    pub task_id: u64,
    #[prost(uint64, tag = "6")]
    pub owner_seq: u64,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ImportWriteRequest {
    #[prost(uint64, tag = "1")]
    pub task_id: u64,
    #[prost(uint32, tag = "2")]
    pub keyspace_id: u32,
    #[prost(int64, tag = "3")]
    pub table_id: i64,
    #[prost(int64, tag = "4")]
    pub index_id: i64,
    /// The location of the file to be imported
    /// For example, s3://bucket/prefix/filename
    #[prost(string, tag = "5")]
    pub file_location: ::prost::alloc::string::String,
    /// The location of the fragment prefix
    /// For example, s3://bucket/prefix/
    #[prost(string, tag = "6")]
    pub frag_prefix: ::prost::alloc::string::String,
    #[prost(uint64, tag = "7")]
    pub owner_seq: u64,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ImportWriteResponse {
    /// Operation result status code, 0 means success
    #[prost(enumeration = "super::tici::ErrorCode", tag = "1")]
    pub status: i32,
}
