1#[derive(Clone, Copy, PartialEq, ::prost::Message)]
3pub struct Empty {}
4#[derive(Clone, PartialEq, ::prost::Message)]
5pub struct ErrorResult {
6 #[prost(string, tag = "1")]
7 pub error_type: ::prost::alloc::string::String,
8 #[prost(string, tag = "2")]
9 pub message: ::prost::alloc::string::String,
10}
11#[derive(Clone, PartialEq, ::prost::Message)]
12pub struct Handle {
13 #[prost(oneof = "handle::Handle", tags = "1")]
14 pub handle: ::core::option::Option<handle::Handle>,
15}
16pub mod handle {
18 #[derive(Clone, PartialEq, ::prost::Oneof)]
19 pub enum Handle {
20 #[prost(string, tag = "1")]
21 S3(::prost::alloc::string::String),
22 }
23}
24#[derive(Clone, Copy, PartialEq, ::prost::Message)]
25pub struct InProgressResult {}
26#[derive(Clone, PartialEq, ::prost::Message)]
27pub struct IngestStatusV2 {
28 #[prost(oneof = "ingest_status_v2::IngestStatusV2", tags = "1, 2, 3")]
29 pub ingest_status_v2: ::core::option::Option<ingest_status_v2::IngestStatusV2>,
30}
31pub mod ingest_status_v2 {
33 #[derive(Clone, PartialEq, ::prost::Oneof)]
34 pub enum IngestStatusV2 {
35 #[prost(message, tag = "1")]
36 Success(super::SuccessResult),
37 #[prost(message, tag = "2")]
38 Error(super::ErrorResult),
39 #[prost(message, tag = "3")]
40 InProgress(super::InProgressResult),
41 }
42}
43#[derive(Clone, PartialEq, ::prost::Message)]
46pub struct McapChannelLocator {
47 #[prost(oneof = "mcap_channel_locator::McapChannelLocator", tags = "1, 2")]
50 pub mcap_channel_locator: ::core::option::Option<
51 mcap_channel_locator::McapChannelLocator,
52 >,
53}
54pub mod mcap_channel_locator {
56 #[derive(Clone, PartialEq, ::prost::Oneof)]
59 pub enum McapChannelLocator {
60 #[prost(string, tag = "1")]
61 Topic(::prost::alloc::string::String),
62 #[prost(int32, tag = "2")]
63 Id(i32),
64 }
65}
66#[derive(Clone, PartialEq, ::prost::Message)]
67pub struct Property {
68 #[prost(string, tag = "1")]
69 pub name: ::prost::alloc::string::String,
70 #[prost(string, tag = "2")]
71 pub value: ::prost::alloc::string::String,
72}
73#[derive(Clone, PartialEq, ::prost::Message)]
75pub struct LabelUpdateWrapper {
76 #[prost(string, repeated, tag = "1")]
77 pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
78}
79#[derive(Clone, PartialEq, ::prost::Message)]
80pub struct PropertyUpdateWrapper {
81 #[prost(map = "string, string", tag = "1")]
82 pub properties: ::std::collections::HashMap<
83 ::prost::alloc::string::String,
84 ::prost::alloc::string::String,
85 >,
86}
87#[derive(Clone, PartialEq, ::prost::Message)]
88pub struct RefNameAndType {
89 #[prost(string, tag = "1")]
90 pub name: ::prost::alloc::string::String,
91 #[prost(enumeration = "DataSourceType", tag = "2")]
92 pub r#type: i32,
93}
94#[derive(Clone, PartialEq, ::prost::Message)]
97pub struct SerializableError {
98 #[prost(string, tag = "1")]
99 pub name: ::prost::alloc::string::String,
100 #[prost(string, optional, tag = "2")]
101 pub message: ::core::option::Option<::prost::alloc::string::String>,
102 #[prost(string, tag = "3")]
103 pub error_instance_id: ::prost::alloc::string::String,
104 #[prost(int32, tag = "4")]
105 pub status_code: i32,
106 #[prost(map = "string, string", tag = "5")]
107 pub params: ::std::collections::HashMap<
108 ::prost::alloc::string::String,
109 ::prost::alloc::string::String,
110 >,
111}
112#[derive(Clone, Copy, PartialEq, ::prost::Message)]
113pub struct SuccessResult {}
114#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
116#[repr(i32)]
117pub enum ArchivedStatus {
118 Unspecified = 0,
119 NotArchived = 1,
120 Archived = 2,
121}
122impl ArchivedStatus {
123 pub fn as_str_name(&self) -> &'static str {
128 match self {
129 Self::Unspecified => "ARCHIVED_STATUS_UNSPECIFIED",
130 Self::NotArchived => "NOT_ARCHIVED",
131 Self::Archived => "ARCHIVED",
132 }
133 }
134 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
136 match value {
137 "ARCHIVED_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
138 "NOT_ARCHIVED" => Some(Self::NotArchived),
139 "ARCHIVED" => Some(Self::Archived),
140 _ => None,
141 }
142 }
143}
144#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
146#[repr(i32)]
147pub enum DataSourceType {
148 Unspecified = 0,
149 Dataset = 1,
150 Connection = 2,
151 Video = 3,
152}
153impl DataSourceType {
154 pub fn as_str_name(&self) -> &'static str {
159 match self {
160 Self::Unspecified => "DATA_SOURCE_TYPE_UNSPECIFIED",
161 Self::Dataset => "DATASET",
162 Self::Connection => "CONNECTION",
163 Self::Video => "VIDEO",
164 }
165 }
166 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
168 match value {
169 "DATA_SOURCE_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
170 "DATASET" => Some(Self::Dataset),
171 "CONNECTION" => Some(Self::Connection),
172 "VIDEO" => Some(Self::Video),
173 _ => None,
174 }
175 }
176}
177#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
179#[repr(i32)]
180pub enum Granularity {
181 Unspecified = 0,
182 Nanoseconds = 2,
183}
184impl Granularity {
185 pub fn as_str_name(&self) -> &'static str {
190 match self {
191 Self::Unspecified => "GRANULARITY_UNSPECIFIED",
192 Self::Nanoseconds => "NANOSECONDS",
193 }
194 }
195 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
197 match value {
198 "GRANULARITY_UNSPECIFIED" => Some(Self::Unspecified),
199 "NANOSECONDS" => Some(Self::Nanoseconds),
200 _ => None,
201 }
202 }
203}
204#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
206#[repr(i32)]
207pub enum IngestStatus {
208 Unspecified = 0,
209 Succeeded = 1,
210 Failed = 2,
211 InProgress = 3,
212 DeletionInProgress = 4,
213 Deleted = 5,
214}
215impl IngestStatus {
216 pub fn as_str_name(&self) -> &'static str {
221 match self {
222 Self::Unspecified => "INGEST_STATUS_UNSPECIFIED",
223 Self::Succeeded => "SUCCEEDED",
224 Self::Failed => "FAILED",
225 Self::InProgress => "IN_PROGRESS",
226 Self::DeletionInProgress => "DELETION_IN_PROGRESS",
227 Self::Deleted => "DELETED",
228 }
229 }
230 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
232 match value {
233 "INGEST_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
234 "SUCCEEDED" => Some(Self::Succeeded),
235 "FAILED" => Some(Self::Failed),
236 "IN_PROGRESS" => Some(Self::InProgress),
237 "DELETION_IN_PROGRESS" => Some(Self::DeletionInProgress),
238 "DELETED" => Some(Self::Deleted),
239 _ => None,
240 }
241 }
242}
243#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
247#[repr(i32)]
248pub enum NominalDataType {
249 Unspecified = 0,
250 Double = 1,
251 String = 2,
252 Log = 3,
253 Int64 = 4,
254}
255impl NominalDataType {
256 pub fn as_str_name(&self) -> &'static str {
261 match self {
262 Self::Unspecified => "NOMINAL_DATA_TYPE_UNSPECIFIED",
263 Self::Double => "DOUBLE",
264 Self::String => "STRING",
265 Self::Log => "LOG",
266 Self::Int64 => "INT64",
267 }
268 }
269 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
271 match value {
272 "NOMINAL_DATA_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
273 "DOUBLE" => Some(Self::Double),
274 "STRING" => Some(Self::String),
275 "LOG" => Some(Self::Log),
276 "INT64" => Some(Self::Int64),
277 _ => None,
278 }
279 }
280}