#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Empty {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ErrorResult {
#[prost(string, tag = "1")]
pub error_type: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub message: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Handle {
#[prost(oneof = "handle::Handle", tags = "1")]
pub handle: ::core::option::Option<handle::Handle>,
}
pub mod handle {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Handle {
#[prost(string, tag = "1")]
S3(::prost::alloc::string::String),
}
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct InProgressResult {}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct IngestStatusV2 {
#[prost(oneof = "ingest_status_v2::IngestStatusV2", tags = "1, 2, 3")]
pub ingest_status_v2: ::core::option::Option<ingest_status_v2::IngestStatusV2>,
}
pub mod ingest_status_v2 {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum IngestStatusV2 {
#[prost(message, tag = "1")]
Success(super::SuccessResult),
#[prost(message, tag = "2")]
Error(super::ErrorResult),
#[prost(message, tag = "3")]
InProgress(super::InProgressResult),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct McapChannelLocator {
#[prost(oneof = "mcap_channel_locator::McapChannelLocator", tags = "1, 2")]
pub mcap_channel_locator: ::core::option::Option<
mcap_channel_locator::McapChannelLocator,
>,
}
pub mod mcap_channel_locator {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum McapChannelLocator {
#[prost(string, tag = "1")]
Topic(::prost::alloc::string::String),
#[prost(int32, tag = "2")]
Id(i32),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Property {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub value: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LabelUpdateWrapper {
#[prost(string, repeated, tag = "1")]
pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PropertyUpdateWrapper {
#[prost(map = "string, string", tag = "1")]
pub properties: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RefNameAndType {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(enumeration = "DataSourceType", tag = "2")]
pub r#type: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SerializableError {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(string, optional, tag = "2")]
pub message: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, tag = "3")]
pub error_instance_id: ::prost::alloc::string::String,
#[prost(int32, tag = "4")]
pub status_code: i32,
#[prost(map = "string, string", tag = "5")]
pub params: ::std::collections::HashMap<
::prost::alloc::string::String,
::prost::alloc::string::String,
>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct SuccessResult {}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum ArchivedStatus {
Unspecified = 0,
NotArchived = 1,
Archived = 2,
}
impl ArchivedStatus {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "ARCHIVED_STATUS_UNSPECIFIED",
Self::NotArchived => "NOT_ARCHIVED",
Self::Archived => "ARCHIVED",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"ARCHIVED_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
"NOT_ARCHIVED" => Some(Self::NotArchived),
"ARCHIVED" => Some(Self::Archived),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum DataSourceType {
Unspecified = 0,
Dataset = 1,
Connection = 2,
Video = 3,
}
impl DataSourceType {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "DATA_SOURCE_TYPE_UNSPECIFIED",
Self::Dataset => "DATASET",
Self::Connection => "CONNECTION",
Self::Video => "VIDEO",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"DATA_SOURCE_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
"DATASET" => Some(Self::Dataset),
"CONNECTION" => Some(Self::Connection),
"VIDEO" => Some(Self::Video),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Granularity {
Unspecified = 0,
Nanoseconds = 2,
}
impl Granularity {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "GRANULARITY_UNSPECIFIED",
Self::Nanoseconds => "NANOSECONDS",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"GRANULARITY_UNSPECIFIED" => Some(Self::Unspecified),
"NANOSECONDS" => Some(Self::Nanoseconds),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum IngestStatus {
Unspecified = 0,
Succeeded = 1,
Failed = 2,
InProgress = 3,
DeletionInProgress = 4,
Deleted = 5,
}
impl IngestStatus {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "INGEST_STATUS_UNSPECIFIED",
Self::Succeeded => "SUCCEEDED",
Self::Failed => "FAILED",
Self::InProgress => "IN_PROGRESS",
Self::DeletionInProgress => "DELETION_IN_PROGRESS",
Self::Deleted => "DELETED",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"INGEST_STATUS_UNSPECIFIED" => Some(Self::Unspecified),
"SUCCEEDED" => Some(Self::Succeeded),
"FAILED" => Some(Self::Failed),
"IN_PROGRESS" => Some(Self::InProgress),
"DELETION_IN_PROGRESS" => Some(Self::DeletionInProgress),
"DELETED" => Some(Self::Deleted),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum NominalDataType {
Unspecified = 0,
Double = 1,
String = 2,
Log = 3,
Int64 = 4,
}
impl NominalDataType {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "NOMINAL_DATA_TYPE_UNSPECIFIED",
Self::Double => "DOUBLE",
Self::String => "STRING",
Self::Log => "LOG",
Self::Int64 => "INT64",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"NOMINAL_DATA_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
"DOUBLE" => Some(Self::Double),
"STRING" => Some(Self::String),
"LOG" => Some(Self::Log),
"INT64" => Some(Self::Int64),
_ => None,
}
}
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Duration {
#[prost(int64, tag = "1")]
pub seconds: i64,
#[prost(int64, tag = "2")]
pub nanos: i64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PendingReviewDispositionState {
#[prost(string, tag = "1")]
pub opened_by: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ClosedWithFurtherActionDispositionState {
#[prost(string, tag = "1")]
pub closed_by: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ClosedWithIgnoreDispositionState {
#[prost(string, tag = "1")]
pub closed_by: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DispositionState {
#[prost(oneof = "disposition_state::DispositionState", tags = "1, 2, 3")]
pub disposition_state: ::core::option::Option<disposition_state::DispositionState>,
}
pub mod disposition_state {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum DispositionState {
#[prost(message, tag = "1")]
PendingReview(super::PendingReviewDispositionState),
#[prost(message, tag = "2")]
ClosedWithFurtherAction(super::ClosedWithFurtherActionDispositionState),
#[prost(message, tag = "3")]
ClosedWithIgnore(super::ClosedWithIgnoreDispositionState),
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PropertiesFilter {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "2")]
pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LabelsFilter {
#[prost(enumeration = "SetOperator", tag = "1")]
pub operator: i32,
#[prost(string, repeated, tag = "2")]
pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Priority {
Unspecified = 0,
P0 = 1,
P1 = 2,
P2 = 3,
P3 = 4,
P4 = 5,
}
impl Priority {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "PRIORITY_UNSPECIFIED",
Self::P0 => "P0",
Self::P1 => "P1",
Self::P2 => "P2",
Self::P3 => "P3",
Self::P4 => "P4",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"PRIORITY_UNSPECIFIED" => Some(Self::Unspecified),
"P0" => Some(Self::P0),
"P1" => Some(Self::P1),
"P2" => Some(Self::P2),
"P3" => Some(Self::P3),
"P4" => Some(Self::P4),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SetOperator {
Unspecified = 0,
And = 1,
Or = 2,
}
impl SetOperator {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "SET_OPERATOR_UNSPECIFIED",
Self::And => "AND",
Self::Or => "OR",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"SET_OPERATOR_UNSPECIFIED" => Some(Self::Unspecified),
"AND" => Some(Self::And),
"OR" => Some(Self::Or),
_ => None,
}
}
}