#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoComputeResponse {
#[prost(oneof = "proto_compute_response::Kind", tags = "1, 2, 3, 4, 5")]
pub kind: ::core::option::Option<proto_compute_response::Kind>,
}
pub mod proto_compute_response {
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoFrontiersKind {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
#[prost(message, optional, tag = "2")]
pub resp: ::core::option::Option<super::ProtoFrontiersResponse>,
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPeekResponseKind {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<::mz_proto::ProtoU128>,
#[prost(message, optional, tag = "2")]
pub resp: ::core::option::Option<super::ProtoPeekResponse>,
#[prost(btree_map = "string, string", tag = "3")]
pub otel_ctx: ::prost::alloc::collections::BTreeMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSubscribeResponseKind {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
#[prost(message, optional, tag = "2")]
pub resp: ::core::option::Option<super::ProtoSubscribeResponse>,
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoCopyToResponseKind {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
#[prost(message, optional, tag = "2")]
pub resp: ::core::option::Option<super::ProtoCopyToResponse>,
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Frontiers(ProtoFrontiersKind),
#[prost(message, tag = "2")]
PeekResponse(ProtoPeekResponseKind),
#[prost(message, tag = "3")]
SubscribeResponse(ProtoSubscribeResponseKind),
#[prost(message, tag = "4")]
CopyToResponse(ProtoCopyToResponseKind),
#[prost(message, tag = "5")]
Status(super::ProtoStatusResponse),
}
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoFrontiersResponse {
#[prost(message, optional, tag = "1")]
pub write_frontier: ::core::option::Option<::mz_repr::antichain::ProtoU64Antichain>,
#[prost(message, optional, tag = "2")]
pub input_frontier: ::core::option::Option<::mz_repr::antichain::ProtoU64Antichain>,
#[prost(message, optional, tag = "3")]
pub output_frontier: ::core::option::Option<::mz_repr::antichain::ProtoU64Antichain>,
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPeekResponse {
#[prost(oneof = "proto_peek_response::Kind", tags = "1, 2, 3")]
pub kind: ::core::option::Option<proto_peek_response::Kind>,
}
pub mod proto_peek_response {
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Rows(::mz_expr::row::ProtoRowCollection),
#[prost(string, tag = "2")]
Error(::prost::alloc::string::String),
#[prost(message, tag = "3")]
Canceled(()),
}
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSubscribeResponse {
#[prost(oneof = "proto_subscribe_response::Kind", tags = "1, 2")]
pub kind: ::core::option::Option<proto_subscribe_response::Kind>,
}
pub mod proto_subscribe_response {
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Batch(super::ProtoSubscribeBatch),
#[prost(message, tag = "2")]
DroppedAt(::mz_repr::antichain::ProtoU64Antichain),
}
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoCopyToResponse {
#[prost(oneof = "proto_copy_to_response::Kind", tags = "1, 2, 3")]
pub kind: ::core::option::Option<proto_copy_to_response::Kind>,
}
pub mod proto_copy_to_response {
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(uint64, tag = "1")]
Rows(u64),
#[prost(string, tag = "2")]
Error(::prost::alloc::string::String),
#[prost(message, tag = "3")]
Dropped(()),
}
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSubscribeBatch {
#[prost(message, optional, tag = "1")]
pub lower: ::core::option::Option<::mz_repr::antichain::ProtoU64Antichain>,
#[prost(message, optional, tag = "2")]
pub upper: ::core::option::Option<::mz_repr::antichain::ProtoU64Antichain>,
#[prost(message, optional, tag = "4")]
pub updates: ::core::option::Option<
proto_subscribe_batch::ProtoSubscribeBatchContents,
>,
}
pub mod proto_subscribe_batch {
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoUpdate {
#[prost(uint64, tag = "1")]
pub timestamp: u64,
#[prost(message, optional, tag = "2")]
pub row: ::core::option::Option<::mz_repr::ProtoRow>,
#[prost(int64, tag = "3")]
pub diff: i64,
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSubscribeBatchContents {
#[prost(oneof = "proto_subscribe_batch_contents::Kind", tags = "1, 2")]
pub kind: ::core::option::Option<proto_subscribe_batch_contents::Kind>,
}
pub mod proto_subscribe_batch_contents {
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Updates(super::ProtoSubscribeUpdates),
#[prost(string, tag = "2")]
Error(::prost::alloc::string::String),
}
}
#[allow(missing_docs)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSubscribeUpdates {
#[prost(message, repeated, tag = "1")]
pub updates: ::prost::alloc::vec::Vec<ProtoUpdate>,
}
}
#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoStatusResponse {
#[prost(oneof = "proto_status_response::Kind", tags = "1")]
pub kind: ::core::option::Option<proto_status_response::Kind>,
}
pub mod proto_status_response {
#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
OperatorHydration(super::ProtoOperatorHydrationStatus),
}
}
#[allow(missing_docs)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoOperatorHydrationStatus {
#[prost(message, optional, tag = "1")]
pub collection_id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
#[prost(uint64, tag = "2")]
pub lir_id: u64,
#[prost(uint64, tag = "3")]
pub worker_id: u64,
#[prost(bool, tag = "4")]
pub hydrated: bool,
}