#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetRequest {
#[prost(string, tag="1")]
pub key: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct GetResponse {
#[prost(string, tag="1")]
pub value: std::string::String,
#[prost(bool, tag="2")]
pub exists: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetRequest {
#[prost(string, tag="1")]
pub key: std::string::String,
#[prost(string, tag="2")]
pub value: std::string::String,
#[prost(int32, tag="3")]
pub expires_s: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DelRequest {
#[prost(string, tag="1")]
pub key: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DelResponse {
#[prost(string, tag="1")]
pub key: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetResponse {
#[prost(string, tag="1")]
pub value: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddRequest {
#[prost(string, tag="1")]
pub key: std::string::String,
#[prost(int32, tag="2")]
pub value: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AddResponse {
#[prost(int32, tag="1")]
pub value: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListPushRequest {
#[prost(string, tag="1")]
pub key: std::string::String,
#[prost(string, tag="2")]
pub value: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListDelItemRequest {
#[prost(string, tag="1")]
pub key: std::string::String,
#[prost(string, tag="2")]
pub value: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListClearRequest {
#[prost(string, tag="1")]
pub key: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListRangeRequest {
#[prost(string, tag="1")]
pub key: std::string::String,
#[prost(int32, tag="2")]
pub start: i32,
#[prost(int32, tag="3")]
pub stop: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListRangeResponse {
#[prost(string, repeated, tag="1")]
pub values: ::std::vec::Vec<std::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListResponse {
#[prost(int32, tag="1")]
pub new_count: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetAddRequest {
#[prost(string, tag="1")]
pub key: std::string::String,
#[prost(string, tag="2")]
pub value: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetRemoveRequest {
#[prost(string, tag="1")]
pub key: std::string::String,
#[prost(string, tag="2")]
pub value: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetQueryRequest {
#[prost(string, tag="1")]
pub key: std::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetQueryResponse {
#[prost(string, repeated, tag="1")]
pub values: ::std::vec::Vec<std::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetIntersectionRequest {
#[prost(string, repeated, tag="1")]
pub keys: ::std::vec::Vec<std::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetUnionRequest {
#[prost(string, repeated, tag="1")]
pub keys: ::std::vec::Vec<std::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetOperationResponse {
#[prost(int32, tag="1")]
pub new_count: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct KeyExistsQuery {
#[prost(string, tag="1")]
pub key: std::string::String,
}