nominal_api/proto/
nominal.events.v1.rs1#[derive(Clone, PartialEq, ::prost::Message)]
4pub struct Event {
5 #[prost(oneof = "event::EventType", tags = "1, 2")]
6 pub event_type: ::core::option::Option<event::EventType>,
7}
8pub mod event {
10 #[derive(Clone, PartialEq, ::prost::Oneof)]
11 pub enum EventType {
12 #[prost(message, tag = "1")]
13 DataStream(super::DataStreamEvent),
14 #[prost(message, tag = "2")]
15 FileIngest(super::FileIngestEvent),
16 }
17}
18#[derive(Clone, PartialEq, ::prost::Message)]
20pub struct DataStreamEvent {
21 #[prost(message, repeated, tag = "1")]
23 pub write_batches_request: ::prost::alloc::vec::Vec<
24 super::super::direct_channel_writer::v2::WriteBatchesRequest,
25 >,
26 #[prost(message, optional, tag = "2")]
28 pub event_timestamp: ::core::option::Option<super::super::types::time::Timestamp>,
29}
30#[derive(Clone, PartialEq, ::prost::Message)]
32pub struct FileIngestEvent {
33 #[prost(string, tag = "1")]
35 pub dataset_rid: ::prost::alloc::string::String,
36 #[prost(string, tag = "2")]
38 pub file_id: ::prost::alloc::string::String,
39 #[prost(message, optional, tag = "3")]
41 pub event_timestamp: ::core::option::Option<super::super::types::time::Timestamp>,
42}