#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoComputeCommand {
#[prost(
oneof = "proto_compute_command::Kind",
tags = "1, 2, 3, 4, 5, 6, 7, 8, 9, 10"
)]
pub kind: ::core::option::Option<proto_compute_command::Kind>,
}
pub mod proto_compute_command {
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoCreateTimely {
#[prost(message, optional, tag = "1")]
pub config: ::core::option::Option<
::mz_cluster_client::client::ProtoTimelyConfig,
>,
#[prost(message, optional, tag = "2")]
pub epoch: ::core::option::Option<
::mz_cluster_client::client::ProtoClusterStartupEpoch,
>,
}
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
CreateTimely(ProtoCreateTimely),
#[prost(message, tag = "2")]
CreateInstance(super::ProtoInstanceConfig),
#[prost(message, tag = "3")]
CreateDataflow(::mz_compute_types::dataflows::ProtoDataflowDescription),
#[prost(message, tag = "4")]
AllowCompaction(::mz_storage_client::client::ProtoCompaction),
#[prost(message, tag = "5")]
Peek(super::ProtoPeek),
#[prost(message, tag = "6")]
CancelPeek(::mz_proto::ProtoU128),
#[prost(message, tag = "7")]
InitializationComplete(()),
#[prost(message, tag = "8")]
UpdateConfiguration(super::ProtoComputeParameters),
#[prost(message, tag = "9")]
Schedule(::mz_repr::global_id::ProtoGlobalId),
#[prost(message, tag = "10")]
AllowWrites(()),
}
}
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoInstanceConfig {
#[prost(message, optional, tag = "1")]
pub logging: ::core::option::Option<super::super::logging::ProtoLoggingConfig>,
}
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoIndexTarget {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
}
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPersistTarget {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
#[prost(message, optional, tag = "2")]
pub metadata: ::core::option::Option<
::mz_storage_types::controller::ProtoCollectionMetadata,
>,
}
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoPeek {
#[prost(message, repeated, tag = "2")]
pub key: ::prost::alloc::vec::Vec<::mz_repr::ProtoRow>,
#[prost(message, optional, tag = "3")]
pub uuid: ::core::option::Option<::mz_proto::ProtoU128>,
#[prost(uint64, tag = "4")]
pub timestamp: u64,
#[prost(message, optional, tag = "5")]
pub finishing: ::core::option::Option<::mz_expr::ProtoRowSetFinishing>,
#[prost(message, optional, tag = "6")]
pub map_filter_project: ::core::option::Option<::mz_expr::ProtoSafeMfpPlan>,
#[prost(btree_map = "string, string", tag = "7")]
pub otel_ctx: ::prost::alloc::collections::BTreeMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
#[prost(oneof = "proto_peek::Target", tags = "8, 9")]
pub target: ::core::option::Option<proto_peek::Target>,
}
pub mod proto_peek {
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Target {
#[prost(message, tag = "8")]
Index(super::ProtoIndexTarget),
#[prost(message, tag = "9")]
Persist(super::ProtoPersistTarget),
}
}
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoComputeParameters {
#[prost(message, optional, tag = "7")]
pub workload_class: ::core::option::Option<ProtoWorkloadClass>,
#[prost(uint64, optional, tag = "1")]
pub max_result_size: ::core::option::Option<u64>,
#[prost(message, optional, tag = "2")]
pub dyncfg_updates: ::core::option::Option<::mz_dyncfg::ConfigUpdates>,
#[prost(message, optional, tag = "5")]
pub tracing: ::core::option::Option<::mz_tracing::params::ProtoTracingParameters>,
#[prost(message, optional, tag = "6")]
pub grpc_client: ::core::option::Option<
::mz_service::params::ProtoGrpcClientParameters,
>,
}
#[allow(missing_docs)]
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoWorkloadClass {
#[prost(string, optional, tag = "1")]
pub value: ::core::option::Option<::prost::alloc::string::String>,
}