#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetStoreInfo {
#[prost(message, optional, tag = "1")]
pub row_id: ::core::option::Option<super::super::common::v0::Tuid>,
#[prost(message, optional, tag = "2")]
pub info: ::core::option::Option<StoreInfo>,
}
impl ::prost::Name for SetStoreInfo {
const NAME: &'static str = "SetStoreInfo";
const PACKAGE: &'static str = "rerun.log_msg.v0";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v0.SetStoreInfo".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v0.SetStoreInfo".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ArrowMsg {
#[prost(message, optional, tag = "1")]
pub store_id: ::core::option::Option<super::super::common::v0::StoreId>,
#[prost(enumeration = "Compression", tag = "2")]
pub compression: i32,
#[prost(int32, tag = "3")]
pub uncompressed_size: i32,
#[prost(enumeration = "Encoding", tag = "4")]
pub encoding: i32,
#[prost(bytes = "vec", tag = "1000")]
pub payload: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for ArrowMsg {
const NAME: &'static str = "ArrowMsg";
const PACKAGE: &'static str = "rerun.log_msg.v0";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v0.ArrowMsg".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v0.ArrowMsg".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BlueprintActivationCommand {
#[prost(message, optional, tag = "1")]
pub blueprint_id: ::core::option::Option<super::super::common::v0::StoreId>,
#[prost(bool, tag = "2")]
pub make_active: bool,
#[prost(bool, tag = "3")]
pub make_default: bool,
}
impl ::prost::Name for BlueprintActivationCommand {
const NAME: &'static str = "BlueprintActivationCommand";
const PACKAGE: &'static str = "rerun.log_msg.v0";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v0.BlueprintActivationCommand".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v0.BlueprintActivationCommand".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoreInfo {
#[prost(message, optional, tag = "1")]
pub application_id: ::core::option::Option<super::super::common::v0::ApplicationId>,
#[prost(message, optional, tag = "2")]
pub store_id: ::core::option::Option<super::super::common::v0::StoreId>,
#[prost(bool, tag = "3")]
pub is_official_example: bool,
#[prost(message, optional, tag = "4")]
pub started: ::core::option::Option<super::super::common::v0::Time>,
#[prost(message, optional, tag = "5")]
pub store_source: ::core::option::Option<StoreSource>,
#[prost(message, optional, tag = "6")]
pub store_version: ::core::option::Option<StoreVersion>,
}
impl ::prost::Name for StoreInfo {
const NAME: &'static str = "StoreInfo";
const PACKAGE: &'static str = "rerun.log_msg.v0";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v0.StoreInfo".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v0.StoreInfo".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoreSource {
#[prost(enumeration = "StoreSourceKind", tag = "1")]
pub kind: i32,
#[prost(message, optional, tag = "2")]
pub extra: ::core::option::Option<StoreSourceExtra>,
}
impl ::prost::Name for StoreSource {
const NAME: &'static str = "StoreSource";
const PACKAGE: &'static str = "rerun.log_msg.v0";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v0.StoreSource".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v0.StoreSource".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoreSourceExtra {
#[prost(bytes = "vec", tag = "1")]
pub payload: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for StoreSourceExtra {
const NAME: &'static str = "StoreSourceExtra";
const PACKAGE: &'static str = "rerun.log_msg.v0";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v0.StoreSourceExtra".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v0.StoreSourceExtra".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PythonVersion {
#[prost(int32, tag = "1")]
pub major: i32,
#[prost(int32, tag = "2")]
pub minor: i32,
#[prost(int32, tag = "3")]
pub patch: i32,
#[prost(string, tag = "4")]
pub suffix: ::prost::alloc::string::String,
}
impl ::prost::Name for PythonVersion {
const NAME: &'static str = "PythonVersion";
const PACKAGE: &'static str = "rerun.log_msg.v0";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v0.PythonVersion".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v0.PythonVersion".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CrateInfo {
#[prost(string, tag = "1")]
pub rustc_version: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub llvm_version: ::prost::alloc::string::String,
}
impl ::prost::Name for CrateInfo {
const NAME: &'static str = "CrateInfo";
const PACKAGE: &'static str = "rerun.log_msg.v0";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v0.CrateInfo".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v0.CrateInfo".into()
}
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct FileSource {
#[prost(enumeration = "FileSourceKind", tag = "1")]
pub kind: i32,
}
impl ::prost::Name for FileSource {
const NAME: &'static str = "FileSource";
const PACKAGE: &'static str = "rerun.log_msg.v0";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v0.FileSource".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v0.FileSource".into()
}
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct StoreVersion {
#[prost(int32, tag = "1")]
pub crate_version_bits: i32,
}
impl ::prost::Name for StoreVersion {
const NAME: &'static str = "StoreVersion";
const PACKAGE: &'static str = "rerun.log_msg.v0";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v0.StoreVersion".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v0.StoreVersion".into()
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Compression {
None = 0,
Lz4 = 1,
}
impl Compression {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::None => "NONE",
Self::Lz4 => "LZ4",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"NONE" => Some(Self::None),
"LZ4" => Some(Self::Lz4),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Encoding {
Unknown = 0,
ArrowIpc = 1,
}
impl Encoding {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unknown => "UNKNOWN",
Self::ArrowIpc => "ARROW_IPC",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNKNOWN" => Some(Self::Unknown),
"ARROW_IPC" => Some(Self::ArrowIpc),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum StoreSourceKind {
UnknownKind = 0,
CSdk = 1,
PythonSdk = 2,
RustSdk = 3,
File = 4,
Viewer = 5,
Other = 6,
}
impl StoreSourceKind {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::UnknownKind => "UNKNOWN_KIND",
Self::CSdk => "C_SDK",
Self::PythonSdk => "PYTHON_SDK",
Self::RustSdk => "RUST_SDK",
Self::File => "FILE",
Self::Viewer => "VIEWER",
Self::Other => "OTHER",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNKNOWN_KIND" => Some(Self::UnknownKind),
"C_SDK" => Some(Self::CSdk),
"PYTHON_SDK" => Some(Self::PythonSdk),
"RUST_SDK" => Some(Self::RustSdk),
"FILE" => Some(Self::File),
"VIEWER" => Some(Self::Viewer),
"OTHER" => Some(Self::Other),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum FileSourceKind {
UnknownSource = 0,
Cli = 1,
Uri = 2,
DragAndDrop = 3,
FileDialog = 4,
Sdk = 5,
}
impl FileSourceKind {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::UnknownSource => "UNKNOWN_SOURCE",
Self::Cli => "CLI",
Self::Uri => "URI",
Self::DragAndDrop => "DRAG_AND_DROP",
Self::FileDialog => "FILE_DIALOG",
Self::Sdk => "SDK",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"UNKNOWN_SOURCE" => Some(Self::UnknownSource),
"CLI" => Some(Self::Cli),
"URI" => Some(Self::Uri),
"DRAG_AND_DROP" => Some(Self::DragAndDrop),
"FILE_DIALOG" => Some(Self::FileDialog),
"SDK" => Some(Self::Sdk),
_ => None,
}
}
}