1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// This file is @generated by prost-build.
/// Log definition for activities related to a stream.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StreamActivityLogEntry {
    /// A code representing the event.
    #[prost(string, tag = "1")]
    pub event_code: ::prost::alloc::string::String,
    /// A free-text message describing the event.
    #[prost(string, tag = "2")]
    pub event_message: ::prost::alloc::string::String,
    #[prost(oneof = "stream_activity_log_entry::EventPayload", tags = "100")]
    pub event_payload: ::core::option::Option<stream_activity_log_entry::EventPayload>,
}
/// Nested message and enum types in `StreamActivityLogEntry`.
pub mod stream_activity_log_entry {
    /// Payload for a change in the state of a stream.
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Message)]
    pub struct StreamStateChange {
        /// Output only. The new stream state.
        #[prost(enumeration = "super::super::super::v1::stream::State", tag = "1")]
        pub new_state: i32,
    }
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum EventPayload {
        /// A payload for a change in the state of a stream.
        #[prost(message, tag = "100")]
        StreamStateChange(StreamStateChange),
    }
}