#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LogMsg {
#[prost(oneof = "log_msg::Msg", tags = "1, 2, 3")]
pub msg: ::core::option::Option<log_msg::Msg>,
}
pub mod log_msg {
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Msg {
#[prost(message, tag = "1")]
SetStoreInfo(super::SetStoreInfo),
#[prost(message, tag = "2")]
ArrowMsg(super::ArrowMsg),
#[prost(message, tag = "3")]
BlueprintActivationCommand(super::BlueprintActivationCommand),
}
}
impl ::prost::Name for LogMsg {
const NAME: &'static str = "LogMsg";
const PACKAGE: &'static str = "rerun.log_msg.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v1alpha1.LogMsg".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v1alpha1.LogMsg".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SetStoreInfo {
#[prost(message, optional, tag = "1")]
pub row_id: ::core::option::Option<super::super::common::v1alpha1::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.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v1alpha1.SetStoreInfo".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v1alpha1.SetStoreInfo".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ArrowMsg {
#[prost(message, optional, tag = "1")]
pub store_id: ::core::option::Option<super::super::common::v1alpha1::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 = "5")]
pub payload: ::prost::alloc::vec::Vec<u8>,
}
impl ::prost::Name for ArrowMsg {
const NAME: &'static str = "ArrowMsg";
const PACKAGE: &'static str = "rerun.log_msg.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v1alpha1.ArrowMsg".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v1alpha1.ArrowMsg".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BlueprintActivationCommand {
#[prost(message, optional, tag = "1")]
pub blueprint_id: ::core::option::Option<super::super::common::v1alpha1::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.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v1alpha1.BlueprintActivationCommand".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v1alpha1.BlueprintActivationCommand".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StoreInfo {
#[prost(message, optional, tag = "1")]
pub application_id: ::core::option::Option<super::super::common::v1alpha1::ApplicationId>,
#[prost(message, optional, tag = "2")]
pub store_id: ::core::option::Option<super::super::common::v1alpha1::StoreId>,
#[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.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v1alpha1.StoreInfo".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v1alpha1.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.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v1alpha1.StoreSource".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v1alpha1.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.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v1alpha1.StoreSourceExtra".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v1alpha1.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.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v1alpha1.PythonVersion".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v1alpha1.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.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v1alpha1.CrateInfo".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v1alpha1.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.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v1alpha1.FileSource".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v1alpha1.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.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.log_msg.v1alpha1.StoreVersion".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.log_msg.v1alpha1.StoreVersion".into()
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Compression {
Unspecified = 0,
None = 1,
Lz4 = 2,
}
impl Compression {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "COMPRESSION_UNSPECIFIED",
Self::None => "COMPRESSION_NONE",
Self::Lz4 => "COMPRESSION_LZ4",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"COMPRESSION_UNSPECIFIED" => Some(Self::Unspecified),
"COMPRESSION_NONE" => Some(Self::None),
"COMPRESSION_LZ4" => Some(Self::Lz4),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Encoding {
Unspecified = 0,
ArrowIpc = 1,
}
impl Encoding {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "ENCODING_UNSPECIFIED",
Self::ArrowIpc => "ENCODING_ARROW_IPC",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"ENCODING_UNSPECIFIED" => Some(Self::Unspecified),
"ENCODING_ARROW_IPC" => Some(Self::ArrowIpc),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum StoreSourceKind {
Unspecified = 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::Unspecified => "STORE_SOURCE_KIND_UNSPECIFIED",
Self::CSdk => "STORE_SOURCE_KIND_C_SDK",
Self::PythonSdk => "STORE_SOURCE_KIND_PYTHON_SDK",
Self::RustSdk => "STORE_SOURCE_KIND_RUST_SDK",
Self::File => "STORE_SOURCE_KIND_FILE",
Self::Viewer => "STORE_SOURCE_KIND_VIEWER",
Self::Other => "STORE_SOURCE_KIND_OTHER",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"STORE_SOURCE_KIND_UNSPECIFIED" => Some(Self::Unspecified),
"STORE_SOURCE_KIND_C_SDK" => Some(Self::CSdk),
"STORE_SOURCE_KIND_PYTHON_SDK" => Some(Self::PythonSdk),
"STORE_SOURCE_KIND_RUST_SDK" => Some(Self::RustSdk),
"STORE_SOURCE_KIND_FILE" => Some(Self::File),
"STORE_SOURCE_KIND_VIEWER" => Some(Self::Viewer),
"STORE_SOURCE_KIND_OTHER" => Some(Self::Other),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum FileSourceKind {
Unspecified = 0,
Cli = 1,
Uri = 2,
DragAndDrop = 3,
FileDialog = 4,
Sdk = 5,
}
impl FileSourceKind {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "FILE_SOURCE_KIND_UNSPECIFIED",
Self::Cli => "FILE_SOURCE_KIND_CLI",
Self::Uri => "FILE_SOURCE_KIND_URI",
Self::DragAndDrop => "FILE_SOURCE_KIND_DRAG_AND_DROP",
Self::FileDialog => "FILE_SOURCE_KIND_FILE_DIALOG",
Self::Sdk => "FILE_SOURCE_KIND_SDK",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"FILE_SOURCE_KIND_UNSPECIFIED" => Some(Self::Unspecified),
"FILE_SOURCE_KIND_CLI" => Some(Self::Cli),
"FILE_SOURCE_KIND_URI" => Some(Self::Uri),
"FILE_SOURCE_KIND_DRAG_AND_DROP" => Some(Self::DragAndDrop),
"FILE_SOURCE_KIND_FILE_DIALOG" => Some(Self::FileDialog),
"FILE_SOURCE_KIND_SDK" => Some(Self::Sdk),
_ => None,
}
}
}