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}
142impl DataSourceType {
143 pub fn as_str_name(&self) -> &'static str {
148 match self {
149 Self::Unspecified => "DATA_SOURCE_TYPE_UNSPECIFIED",
150 Self::Dataset => "DATASET",
151 Self::Connection => "CONNECTION",
152 Self::Video => "VIDEO",
153 }
154 }
155 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
157 match value {
158 "DATA_SOURCE_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
159 "DATASET" => Some(Self::Dataset),
160 "CONNECTION" => Some(Self::Connection),
161 "VIDEO" => Some(Self::Video),
162 _ => None,
163 }
164 }
165}
166#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
167#[repr(i32)]
168pub enum Granularity {
169 Unspecified = 0,
170 Nanoseconds = 2,
171}
172impl Granularity {
173 pub fn as_str_name(&self) -> &'static str {
178 match self {
179 Self::Unspecified => "GRANULARITY_UNSPECIFIED",
180 Self::Nanoseconds => "NANOSECONDS",
181 }
182 }
183 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
185 match value {
186 "GRANULARITY_UNSPECIFIED" => Some(Self::Unspecified),
187 "NANOSECONDS" => Some(Self::Nanoseconds),
188 _ => None,
189 }
190 }
191}
192#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
193#[repr(i32)]
194pub enum IngestStatus {
195 Unspecified = 0,
196 Succeeded = 1,
197 Failed = 2,
198 InProgress = 3,
199 DeletionInProgress = 4,
200 Deleted = 5,
201}
202impl IngestStatus {
203 pub fn as_str_name(&self) -> &'static str {
208 match self {
209 Self::Unspecified => "INGEST_STATUS_UNSPECIFIED",
210 Self::Succeeded => "SUCCEEDED",
211 Self::Failed => "FAILED",
212 Self::InProgress => "IN_PROGRESS",
213 Self::DeletionInProgress => "DELETION_IN_PROGRESS",
214 Self::Deleted => "DELETED",
215 }
216 }
217 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
219 match value {
220 "INGEST_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
221 "SUCCEEDED" => Some(Self::Succeeded),
222 "FAILED" => Some(Self::Failed),
223 "IN_PROGRESS" => Some(Self::InProgress),
224 "DELETION_IN_PROGRESS" => Some(Self::DeletionInProgress),
225 "DELETED" => Some(Self::Deleted),
226 _ => None,
227 }
228 }
229}
230#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
231#[repr(i32)]
232pub enum NominalDataType {
233 Unspecified = 0,
234 Double = 1,
235 String = 2,
236 Log = 3,
237 Int64 = 4,
238}
239impl NominalDataType {
240 pub fn as_str_name(&self) -> &'static str {
245 match self {
246 Self::Unspecified => "NOMINAL_DATA_TYPE_UNSPECIFIED",
247 Self::Double => "DOUBLE",
248 Self::String => "STRING",
249 Self::Log => "LOG",
250 Self::Int64 => "INT64",
251 }
252 }
253 pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
255 match value {
256 "NOMINAL_DATA_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
257 "DOUBLE" => Some(Self::Double),
258 "STRING" => Some(Self::String),
259 "LOG" => Some(Self::Log),
260 "INT64" => Some(Self::Int64),
261 _ => None,
262 }
263 }
264}