// This file is @generated by prost-build.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Event {
    #[prost(oneof = "event::EventType", tags = "1, 2")]
    pub event_type: ::core::option::Option<event::EventType>,
}
/// Nested message and enum types in `Event`.
pub mod event {
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum EventType {
        #[prost(message, tag = "1")]
        DataStream(super::DataStreamEvent),
        #[prost(message, tag = "2")]
        FileIngest(super::FileIngestEvent),
    }
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DataStreamEvent {
    #[prost(message, repeated, tag = "1")]
    pub write_batches_request: ::prost::alloc::vec::Vec<
        super::super::direct_channel_writer::v2::InternalWriteBatchesRequest,
    >,
    #[prost(message, optional, tag = "2")]
    pub event_timestamp: ::core::option::Option<super::super::types::time::Timestamp>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FileIngestEvent {
    #[prost(string, tag = "1")]
    pub dataset_rid: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub file_id: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "3")]
    pub event_timestamp: ::core::option::Option<super::super::types::time::Timestamp>,
    #[prost(bytes = "vec", tag = "4")]
    pub ingest_request: ::prost::alloc::vec::Vec<u8>,
}
