#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoMzOffset {
#[prost(uint64, tag = "1")]
pub offset: u64,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoTimeline {
#[prost(oneof = "proto_timeline::Kind", tags = "1, 2, 3")]
pub kind: ::core::option::Option<proto_timeline::Kind>,
}
pub mod proto_timeline {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
EpochMilliseconds(()),
#[prost(string, tag = "2")]
External(::prost::alloc::string::String),
#[prost(string, tag = "3")]
User(::prost::alloc::string::String),
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSourceDesc {
#[prost(message, optional, tag = "1")]
pub connection: ::core::option::Option<ProtoSourceConnection>,
#[prost(message, optional, tag = "2")]
pub encoding: ::core::option::Option<encoding::ProtoSourceDataEncoding>,
#[prost(message, optional, tag = "3")]
pub envelope: ::core::option::Option<envelope::ProtoSourceEnvelope>,
#[prost(message, optional, tag = "5")]
pub timestamp_interval: ::core::option::Option<::mz_proto::ProtoDuration>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSourceConnection {
#[prost(oneof = "proto_source_connection::Kind", tags = "1, 4, 6, 8")]
pub kind: ::core::option::Option<proto_source_connection::Kind>,
}
pub mod proto_source_connection {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Kafka(super::kafka::ProtoKafkaSourceConnection),
#[prost(message, tag = "4")]
Postgres(super::postgres::ProtoPostgresSourceConnection),
#[prost(message, tag = "6")]
Loadgen(super::load_generator::ProtoLoadGeneratorSourceConnection),
#[prost(message, tag = "8")]
Mysql(super::mysql::ProtoMySqlSourceConnection),
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSourceData {
#[prost(oneof = "proto_source_data::Kind", tags = "1, 2")]
pub kind: ::core::option::Option<proto_source_data::Kind>,
}
pub mod proto_source_data {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Ok(::mz_repr::ProtoRow),
#[prost(message, tag = "2")]
Err(super::super::errors::ProtoDataflowError),
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoCompression {
#[prost(oneof = "proto_compression::Kind", tags = "1, 2")]
pub kind: ::core::option::Option<proto_compression::Kind>,
}
pub mod proto_compression {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Gzip(()),
#[prost(message, tag = "2")]
None(()),
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoIngestionDescription {
#[prost(message, repeated, tag = "2")]
pub source_exports: ::prost::alloc::vec::Vec<
proto_ingestion_description::ProtoSourceExport,
>,
#[prost(message, optional, tag = "3")]
pub ingestion_metadata: ::core::option::Option<
super::controller::ProtoCollectionMetadata,
>,
#[prost(message, optional, tag = "4")]
pub desc: ::core::option::Option<ProtoSourceDesc>,
#[prost(message, optional, tag = "6")]
pub instance_id: ::core::option::Option<super::instances::ProtoStorageInstanceId>,
#[prost(message, optional, tag = "7")]
pub remap_collection_id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
}
pub mod proto_ingestion_description {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSourceImport {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
#[prost(message, optional, tag = "2")]
pub storage_metadata: ::core::option::Option<
super::super::controller::ProtoCollectionMetadata,
>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoSourceExport {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
#[prost(message, optional, tag = "3")]
pub storage_metadata: ::core::option::Option<
super::super::controller::ProtoCollectionMetadata,
>,
#[prost(string, repeated, tag = "4")]
pub ingestion_output: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
}