#[allow(clippy::all)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SettingsListRequest {
#[prost(string, optional, tag = "1")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "2")]
pub at: ::core::option::Option<crate::model::ReadCut>,
}
#[allow(clippy::all)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SettingsListResponse {
#[prost(message, repeated, tag = "1")]
pub declarations: ::prost::alloc::vec::Vec<crate::model::SettingDeclaration>,
#[prost(message, optional, tag = "2")]
pub value: ::core::option::Option<crate::model::SettingValues>,
#[prost(bytes = "vec", tag = "3")]
pub revision: ::prost::alloc::vec::Vec<u8>,
#[prost(message, optional, tag = "4")]
pub resolved_at: ::core::option::Option<crate::model::ReadCut>,
}
#[allow(clippy::all)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SettingsSetRequest {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub value: ::core::option::Option<crate::model::SettingValues>,
#[prost(bytes = "vec", tag = "3")]
pub expected_revision: ::prost::alloc::vec::Vec<u8>,
#[prost(string, tag = "4")]
pub request_id: ::prost::alloc::string::String,
}
#[allow(clippy::all)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SettingsSetResponse {
#[prost(message, optional, tag = "1")]
pub value: ::core::option::Option<crate::model::SettingValues>,
#[prost(bytes = "vec", tag = "2")]
pub revision: ::prost::alloc::vec::Vec<u8>,
#[prost(message, optional, tag = "3")]
pub receipt: ::core::option::Option<crate::model::Receipt>,
}
#[allow(clippy::all)]
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StateGetRequest {}
#[allow(clippy::all)]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StateGetResponse {
#[prost(bytes = "vec", tag = "1")]
pub value: ::prost::alloc::vec::Vec<u8>,
#[prost(uint64, tag = "2")]
pub revision: u64,
}
#[allow(clippy::all)]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StatePutRequest {
#[prost(uint64, tag = "1")]
pub expected_revision: u64,
#[prost(bytes = "vec", tag = "2")]
pub value: ::prost::alloc::vec::Vec<u8>,
}
#[allow(clippy::all)]
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StatePutResponse {
#[prost(uint64, tag = "1")]
pub revision: u64,
}