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)]
44pub struct McapChannelLocator {
45 #[prost(oneof = "mcap_channel_locator::McapChannelLocator", tags = "1, 2")]
46 pub mcap_channel_locator: ::core::option::Option<
47 mcap_channel_locator::McapChannelLocator,
48 >,
49}
50pub mod mcap_channel_locator {
52 #[derive(Clone, PartialEq, ::prost::Oneof)]
53 pub enum McapChannelLocator {
54 #[prost(string, tag = "1")]
55 Topic(::prost::alloc::string::String),
56 #[prost(int32, tag = "2")]
57 Id(i32),
58 }
59}
60#[derive(Clone, PartialEq, ::prost::Message)]
61pub struct Property {
62 #[prost(string, tag = "1")]
63 pub name: ::prost::alloc::string::String,
64 #[prost(string, tag = "2")]
65 pub value: ::prost::alloc::string::String,
66}
67#[derive(Clone, PartialEq, ::prost::Message)]
68pub struct LabelUpdateWrapper {
69 #[prost(string, repeated, tag = "1")]
70 pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
71}
72#[derive(Clone, PartialEq, ::prost::Message)]
73pub struct PropertyUpdateWrapper {
74 #[prost(map = "string, string", tag = "1")]
75 pub properties: ::std::collections::HashMap<
76 ::prost::alloc::string::String,
77 ::prost::alloc::string::String,
78 >,
79}
80#[derive(Clone, PartialEq, ::prost::Message)]
81pub struct RefNameAndType {
82 #[prost(string, tag = "1")]
83 pub name: ::prost::alloc::string::String,
84 #[prost(enumeration = "DataSourceType", tag = "2")]
85 pub r#type: i32,
86}
87#[derive(Clone, PartialEq, ::prost::Message)]
88pub struct SerializableError {
89 #[prost(string, tag = "1")]
90 pub name: ::prost::alloc::string::String,
91 #[prost(string, optional, tag = "2")]
92 pub message: ::core::option::Option<::prost::alloc::string::String>,
93 #[prost(string, tag = "3")]
94 pub error_instance_id: ::prost::alloc::string::String,
95 #[prost(int32, tag = "4")]
96 pub status_code: i32,
97 #[prost(map = "string, string", tag = "5")]
98 pub params: ::std::collections::HashMap<
99 ::prost::alloc::string::String,
100 ::prost::alloc::string::String,
101 >,
102}
103#[derive(Clone, Copy, PartialEq, ::prost::Message)]
104pub struct SuccessResult {}
105#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
106#[repr(i32)]
107pub enum ArchivedStatus {
108 Unspecified = 0,
109 NotArchived = 1,
110 Archived = 2,
111}
112impl ArchivedStatus {
113 pub fn as_str_name(&self) -> &'static str {
118 match self {
119 Self::Unspecified => "ARCHIVED_STATUS_UNSPECIFIED",
120 Self::NotArchived => "NOT_ARCHIVED",
121 Self::Archived => "ARCHIVED",
122 }
123 }
124 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
126 match value {
127 "ARCHIVED_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
128 "NOT_ARCHIVED" => Some(Self::NotArchived),
129 "ARCHIVED" => Some(Self::Archived),
130 _ => None,
131 }
132 }
133}
134#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
135#[repr(i32)]
136pub enum DataSourceType {
137 Unspecified = 0,
138 Dataset = 1,
139 Connection = 2,
140 Video = 3,
141 Spatial = 4,
142}
143impl DataSourceType {
144 pub fn as_str_name(&self) -> &'static str {
149 match self {
150 Self::Unspecified => "DATA_SOURCE_TYPE_UNSPECIFIED",
151 Self::Dataset => "DATASET",
152 Self::Connection => "CONNECTION",
153 Self::Video => "VIDEO",
154 Self::Spatial => "SPATIAL",
155 }
156 }
157 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
159 match value {
160 "DATA_SOURCE_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
161 "DATASET" => Some(Self::Dataset),
162 "CONNECTION" => Some(Self::Connection),
163 "VIDEO" => Some(Self::Video),
164 "SPATIAL" => Some(Self::Spatial),
165 _ => None,
166 }
167 }
168}
169#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
170#[repr(i32)]
171pub enum Granularity {
172 Unspecified = 0,
173 Nanoseconds = 2,
174}
175impl Granularity {
176 pub fn as_str_name(&self) -> &'static str {
181 match self {
182 Self::Unspecified => "GRANULARITY_UNSPECIFIED",
183 Self::Nanoseconds => "NANOSECONDS",
184 }
185 }
186 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
188 match value {
189 "GRANULARITY_UNSPECIFIED" => Some(Self::Unspecified),
190 "NANOSECONDS" => Some(Self::Nanoseconds),
191 _ => None,
192 }
193 }
194}
195#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
196#[repr(i32)]
197pub enum IngestStatus {
198 Unspecified = 0,
199 Succeeded = 1,
200 Failed = 2,
201 InProgress = 3,
202 DeletionInProgress = 4,
203 Deleted = 5,
204}
205impl IngestStatus {
206 pub fn as_str_name(&self) -> &'static str {
211 match self {
212 Self::Unspecified => "INGEST_STATUS_UNSPECIFIED",
213 Self::Succeeded => "SUCCEEDED",
214 Self::Failed => "FAILED",
215 Self::InProgress => "IN_PROGRESS",
216 Self::DeletionInProgress => "DELETION_IN_PROGRESS",
217 Self::Deleted => "DELETED",
218 }
219 }
220 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
222 match value {
223 "INGEST_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
224 "SUCCEEDED" => Some(Self::Succeeded),
225 "FAILED" => Some(Self::Failed),
226 "IN_PROGRESS" => Some(Self::InProgress),
227 "DELETION_IN_PROGRESS" => Some(Self::DeletionInProgress),
228 "DELETED" => Some(Self::Deleted),
229 _ => None,
230 }
231 }
232}
233#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
234#[repr(i32)]
235pub enum NominalDataType {
236 Unspecified = 0,
237 Double = 1,
238 String = 2,
239 Log = 3,
240 Int64 = 4,
241}
242impl NominalDataType {
243 pub fn as_str_name(&self) -> &'static str {
248 match self {
249 Self::Unspecified => "NOMINAL_DATA_TYPE_UNSPECIFIED",
250 Self::Double => "DOUBLE",
251 Self::String => "STRING",
252 Self::Log => "LOG",
253 Self::Int64 => "INT64",
254 }
255 }
256 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
258 match value {
259 "NOMINAL_DATA_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
260 "DOUBLE" => Some(Self::Double),
261 "STRING" => Some(Self::String),
262 "LOG" => Some(Self::Log),
263 "INT64" => Some(Self::Int64),
264 _ => None,
265 }
266 }
267}
268#[derive(Clone, Copy, PartialEq, ::prost::Message)]
269pub struct Duration {
270 #[prost(int64, tag = "1")]
271 pub seconds: i64,
272 #[prost(int64, tag = "2")]
273 pub nanos: i64,
274}
275#[derive(Clone, PartialEq, ::prost::Message)]
276pub struct PropertiesFilter {
277 #[prost(string, tag = "1")]
278 pub name: ::prost::alloc::string::String,
279 #[prost(string, repeated, tag = "2")]
280 pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
281}
282#[derive(Clone, PartialEq, ::prost::Message)]
283pub struct LabelsFilter {
284 #[prost(enumeration = "SetOperator", tag = "1")]
285 pub operator: i32,
286 #[prost(string, repeated, tag = "2")]
287 pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
288}
289#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
290#[repr(i32)]
291pub enum Priority {
292 Unspecified = 0,
293 P0 = 1,
294 P1 = 2,
295 P2 = 3,
296 P3 = 4,
297 P4 = 5,
298}
299impl Priority {
300 pub fn as_str_name(&self) -> &'static str {
305 match self {
306 Self::Unspecified => "PRIORITY_UNSPECIFIED",
307 Self::P0 => "P0",
308 Self::P1 => "P1",
309 Self::P2 => "P2",
310 Self::P3 => "P3",
311 Self::P4 => "P4",
312 }
313 }
314 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
316 match value {
317 "PRIORITY_UNSPECIFIED" => Some(Self::Unspecified),
318 "P0" => Some(Self::P0),
319 "P1" => Some(Self::P1),
320 "P2" => Some(Self::P2),
321 "P3" => Some(Self::P3),
322 "P4" => Some(Self::P4),
323 _ => None,
324 }
325 }
326}
327#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
328#[repr(i32)]
329pub enum SetOperator {
330 Unspecified = 0,
331 And = 1,
332 Or = 2,
333}
334impl SetOperator {
335 pub fn as_str_name(&self) -> &'static str {
340 match self {
341 Self::Unspecified => "SET_OPERATOR_UNSPECIFIED",
342 Self::And => "AND",
343 Self::Or => "OR",
344 }
345 }
346 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
348 match value {
349 "SET_OPERATOR_UNSPECIFIED" => Some(Self::Unspecified),
350 "AND" => Some(Self::And),
351 "OR" => Some(Self::Or),
352 _ => None,
353 }
354 }
355}