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 Picoseconds = 1,
183 Nanoseconds = 2,
184}
185impl Granularity {
186 pub fn as_str_name(&self) -> &'static str {
191 match self {
192 Self::Unspecified => "GRANULARITY_UNSPECIFIED",
193 Self::Picoseconds => "PICOSECONDS",
194 Self::Nanoseconds => "NANOSECONDS",
195 }
196 }
197 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
199 match value {
200 "GRANULARITY_UNSPECIFIED" => Some(Self::Unspecified),
201 "PICOSECONDS" => Some(Self::Picoseconds),
202 "NANOSECONDS" => Some(Self::Nanoseconds),
203 _ => None,
204 }
205 }
206}
207#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
209#[repr(i32)]
210pub enum IngestStatus {
211 Unspecified = 0,
212 Succeeded = 1,
213 Failed = 2,
214 InProgress = 3,
215 DeletionInProgress = 4,
216 Deleted = 5,
217}
218impl IngestStatus {
219 pub fn as_str_name(&self) -> &'static str {
224 match self {
225 Self::Unspecified => "INGEST_STATUS_UNSPECIFIED",
226 Self::Succeeded => "SUCCEEDED",
227 Self::Failed => "FAILED",
228 Self::InProgress => "IN_PROGRESS",
229 Self::DeletionInProgress => "DELETION_IN_PROGRESS",
230 Self::Deleted => "DELETED",
231 }
232 }
233 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
235 match value {
236 "INGEST_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
237 "SUCCEEDED" => Some(Self::Succeeded),
238 "FAILED" => Some(Self::Failed),
239 "IN_PROGRESS" => Some(Self::InProgress),
240 "DELETION_IN_PROGRESS" => Some(Self::DeletionInProgress),
241 "DELETED" => Some(Self::Deleted),
242 _ => None,
243 }
244 }
245}
246#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
250#[repr(i32)]
251pub enum NominalDataType {
252 Unspecified = 0,
253 Double = 1,
254 String = 2,
255 Log = 3,
256 Int64 = 4,
257}
258impl NominalDataType {
259 pub fn as_str_name(&self) -> &'static str {
264 match self {
265 Self::Unspecified => "NOMINAL_DATA_TYPE_UNSPECIFIED",
266 Self::Double => "DOUBLE",
267 Self::String => "STRING",
268 Self::Log => "LOG",
269 Self::Int64 => "INT64",
270 }
271 }
272 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
274 match value {
275 "NOMINAL_DATA_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
276 "DOUBLE" => Some(Self::Double),
277 "STRING" => Some(Self::String),
278 "LOG" => Some(Self::Log),
279 "INT64" => Some(Self::Int64),
280 _ => None,
281 }
282 }
283}