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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/// Libqaul RPC Debug Messages
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Debug {
    /// message type
    #[prost(oneof="debug::Message", tags="1, 2, 3, 4, 5, 6, 7")]
    pub message: ::core::option::Option<debug::Message>,
}
/// Nested message and enum types in `Debug`.
pub mod debug {
    /// message type
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Message {
        /// request a heartbeat
        #[prost(message, tag="1")]
        HeartbeatRequest(super::HeartbeatRequest),
        /// response to the heartbeat request
        #[prost(message, tag="2")]
        HeartbeatResponse(super::HeartbeatResponse),
        /// libqaul panics immediately
        #[prost(message, tag="3")]
        Panic(super::Panic),
        /// enable/disable logging to file
        #[prost(message, tag="4")]
        LogToFile(super::LogToFile),
        /// Storage Path Request
        #[prost(message, tag="5")]
        StoragePathRequest(super::StoragePathRequest),
        /// Storage Path Response
        #[prost(message, tag="6")]
        StoragePathResponse(super::StoragePathResponse),
        /// Request for library to delete logs
        #[prost(message, tag="7")]
        DeleteLibqaulLogsRequest(super::DeleteLibqaulLogsRequest),
    }
}
/// Request a Heartbeat from Libqaul
///
/// The UI requests regular heartbeats from libqaul,
/// to check if libqaul is still alive
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HeartbeatRequest {
}
/// Heartbeat Reply
///
/// Libqaul answers to the heartbeat request
/// with the heartbeat reply answer
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HeartbeatResponse {
}
/// Panic
///
/// If libqaul receives this panic message, it
/// throws an error and panics immediatly.
///
/// This message is for debugging only.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Panic {
}
/// LogToFile
///
/// If libqaul receives this enable message, it
/// start or stop to log error contents into error_xxx.log file.
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LogToFile {
    #[prost(bool, tag="1")]
    pub enable: bool,
}
/// StoragePathRequest
///
/// Return storage path
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoragePathRequest {
}
/// StoragePathResponse
///
/// Contains Storage Path
///
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoragePathResponse {
    #[prost(string, tag="1")]
    pub storage_path: ::prost::alloc::string::String,
}
/// DeleteLibqaulLogsRequest
///
/// Requests for the log folder to be wiped clean
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteLibqaulLogsRequest {
}