#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct VersionRequest {}
impl ::prost::Name for VersionRequest {
const NAME: &'static str = "VersionRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.VersionRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.VersionRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct VersionResponse {
#[prost(message, optional, tag = "1")]
pub build_info: ::core::option::Option<super::super::common::v1alpha1::BuildInfo>,
#[prost(string, tag = "2")]
pub version: ::prost::alloc::string::String,
#[prost(string, optional, tag = "3")]
pub cloud_provider: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "4")]
pub cloud_region: ::core::option::Option<::prost::alloc::string::String>,
}
impl ::prost::Name for VersionResponse {
const NAME: &'static str = "VersionResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.VersionResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.VersionResponse".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WhoAmIRequest {}
impl ::prost::Name for WhoAmIRequest {
const NAME: &'static str = "WhoAmIRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.WhoAmIRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.WhoAmIRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WhoAmIResponse {
#[prost(string, optional, tag = "1")]
pub user_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, tag = "2")]
pub can_read: bool,
#[prost(bool, tag = "3")]
pub can_write: bool,
}
impl ::prost::Name for WhoAmIResponse {
const NAME: &'static str = "WhoAmIResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.WhoAmIResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.WhoAmIResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Error {
#[prost(enumeration = "ErrorCode", tag = "1")]
pub code: i32,
#[prost(string, tag = "2")]
pub id: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub message: ::prost::alloc::string::String,
}
impl ::prost::Name for Error {
const NAME: &'static str = "Error";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.Error".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.Error".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DataSource {
#[prost(string, optional, tag = "1")]
pub storage_url: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "3")]
pub layer: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, tag = "4")]
pub prefix: bool,
#[prost(enumeration = "DataSourceKind", tag = "2")]
pub typ: i32,
}
impl ::prost::Name for DataSource {
const NAME: &'static str = "DataSource";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.DataSource".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.DataSource".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RegisterWithDatasetRequest {
#[prost(message, repeated, tag = "2")]
pub data_sources: ::prost::alloc::vec::Vec<DataSource>,
#[prost(
enumeration = "super::super::common::v1alpha1::IfDuplicateBehavior",
tag = "3"
)]
pub on_duplicate: i32,
}
impl ::prost::Name for RegisterWithDatasetRequest {
const NAME: &'static str = "RegisterWithDatasetRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.RegisterWithDatasetRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.RegisterWithDatasetRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegisterWithDatasetResponse {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<super::super::common::v1alpha1::DataframePart>,
}
impl ::prost::Name for RegisterWithDatasetResponse {
const NAME: &'static str = "RegisterWithDatasetResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.RegisterWithDatasetResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.RegisterWithDatasetResponse".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UnregisterFromDatasetRequest {
#[prost(message, repeated, tag = "1")]
pub segments_to_drop: ::prost::alloc::vec::Vec<super::super::common::v1alpha1::SegmentId>,
#[prost(string, repeated, tag = "2")]
pub layers_to_drop: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(bool, tag = "3")]
pub force: bool,
}
impl ::prost::Name for UnregisterFromDatasetRequest {
const NAME: &'static str = "UnregisterFromDatasetRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.UnregisterFromDatasetRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.UnregisterFromDatasetRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UnregisterFromDatasetResponse {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<super::super::common::v1alpha1::DataframePart>,
}
impl ::prost::Name for UnregisterFromDatasetResponse {
const NAME: &'static str = "UnregisterFromDatasetResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.UnregisterFromDatasetResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.UnregisterFromDatasetResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WriteChunksRequest {
#[prost(message, optional, tag = "1")]
pub chunk: ::core::option::Option<super::super::common::v1alpha1::RerunChunk>,
}
impl ::prost::Name for WriteChunksRequest {
const NAME: &'static str = "WriteChunksRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.WriteChunksRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.WriteChunksRequest".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WriteChunksResponse {}
impl ::prost::Name for WriteChunksResponse {
const NAME: &'static str = "WriteChunksResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.WriteChunksResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.WriteChunksResponse".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetSegmentTableSchemaRequest {}
impl ::prost::Name for GetSegmentTableSchemaRequest {
const NAME: &'static str = "GetSegmentTableSchemaRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.GetSegmentTableSchemaRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.GetSegmentTableSchemaRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetSegmentTableSchemaResponse {
#[prost(message, optional, tag = "1")]
pub schema: ::core::option::Option<super::super::common::v1alpha1::Schema>,
}
impl ::prost::Name for GetSegmentTableSchemaResponse {
const NAME: &'static str = "GetSegmentTableSchemaResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.GetSegmentTableSchemaResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.GetSegmentTableSchemaResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ScanSegmentTableRequest {
#[prost(string, repeated, tag = "1")]
pub columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
impl ::prost::Name for ScanSegmentTableRequest {
const NAME: &'static str = "ScanSegmentTableRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.ScanSegmentTableRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.ScanSegmentTableRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ScanSegmentTableResponse {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<super::super::common::v1alpha1::DataframePart>,
}
impl ::prost::Name for ScanSegmentTableResponse {
const NAME: &'static str = "ScanSegmentTableResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.ScanSegmentTableResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.ScanSegmentTableResponse".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetDatasetManifestSchemaRequest {}
impl ::prost::Name for GetDatasetManifestSchemaRequest {
const NAME: &'static str = "GetDatasetManifestSchemaRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.GetDatasetManifestSchemaRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.GetDatasetManifestSchemaRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetDatasetManifestSchemaResponse {
#[prost(message, optional, tag = "1")]
pub schema: ::core::option::Option<super::super::common::v1alpha1::Schema>,
}
impl ::prost::Name for GetDatasetManifestSchemaResponse {
const NAME: &'static str = "GetDatasetManifestSchemaResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.GetDatasetManifestSchemaResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.GetDatasetManifestSchemaResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ScanDatasetManifestRequest {
#[prost(string, repeated, tag = "3")]
pub columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
impl ::prost::Name for ScanDatasetManifestRequest {
const NAME: &'static str = "ScanDatasetManifestRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.ScanDatasetManifestRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.ScanDatasetManifestRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ScanDatasetManifestResponse {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<super::super::common::v1alpha1::DataframePart>,
}
impl ::prost::Name for ScanDatasetManifestResponse {
const NAME: &'static str = "ScanDatasetManifestResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.ScanDatasetManifestResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.ScanDatasetManifestResponse".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetDatasetSchemaRequest {}
impl ::prost::Name for GetDatasetSchemaRequest {
const NAME: &'static str = "GetDatasetSchemaRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.GetDatasetSchemaRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.GetDatasetSchemaRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetDatasetSchemaResponse {
#[prost(message, optional, tag = "1")]
pub schema: ::core::option::Option<super::super::common::v1alpha1::Schema>,
}
impl ::prost::Name for GetDatasetSchemaResponse {
const NAME: &'static str = "GetDatasetSchemaResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.GetDatasetSchemaResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.GetDatasetSchemaResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRrdManifestRequest {
#[prost(message, optional, tag = "1")]
pub segment_id: ::core::option::Option<super::super::common::v1alpha1::SegmentId>,
}
impl ::prost::Name for GetRrdManifestRequest {
const NAME: &'static str = "GetRrdManifestRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.GetRrdManifestRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.GetRrdManifestRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetRrdManifestResponse {
#[prost(message, optional, tag = "1")]
pub rrd_manifest: ::core::option::Option<super::super::log_msg::v1alpha1::RrdManifest>,
}
impl ::prost::Name for GetRrdManifestResponse {
const NAME: &'static str = "GetRrdManifestResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.GetRrdManifestResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.GetRrdManifestResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CreateIndexRequest {
#[prost(message, optional, tag = "3")]
pub config: ::core::option::Option<IndexConfig>,
}
impl ::prost::Name for CreateIndexRequest {
const NAME: &'static str = "CreateIndexRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.CreateIndexRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.CreateIndexRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CreateIndexResponse {
#[prost(message, optional, tag = "3")]
pub index: ::core::option::Option<IndexConfig>,
#[prost(bytes = "bytes", tag = "4")]
pub statistics_json: ::prost::bytes::Bytes,
#[prost(message, optional, tag = "2")]
pub debug_info: ::core::option::Option<DebugInfo>,
}
impl ::prost::Name for CreateIndexResponse {
const NAME: &'static str = "CreateIndexResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.CreateIndexResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.CreateIndexResponse".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListIndexesRequest {}
impl ::prost::Name for ListIndexesRequest {
const NAME: &'static str = "ListIndexesRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.ListIndexesRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.ListIndexesRequest".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListIndexesResponse {
#[prost(message, repeated, tag = "1")]
pub indexes: ::prost::alloc::vec::Vec<IndexConfig>,
#[prost(bytes = "bytes", repeated, tag = "2")]
pub statistics_json: ::prost::alloc::vec::Vec<::prost::bytes::Bytes>,
}
impl ::prost::Name for ListIndexesResponse {
const NAME: &'static str = "ListIndexesResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.ListIndexesResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.ListIndexesResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteIndexesRequest {
#[prost(message, optional, tag = "1")]
pub column: ::core::option::Option<IndexColumn>,
}
impl ::prost::Name for DeleteIndexesRequest {
const NAME: &'static str = "DeleteIndexesRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.DeleteIndexesRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.DeleteIndexesRequest".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteIndexesResponse {
#[prost(message, repeated, tag = "1")]
pub indexes: ::prost::alloc::vec::Vec<IndexConfig>,
}
impl ::prost::Name for DeleteIndexesResponse {
const NAME: &'static str = "DeleteIndexesResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.DeleteIndexesResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.DeleteIndexesResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct IndexConfig {
#[prost(message, optional, tag = "1")]
pub properties: ::core::option::Option<IndexProperties>,
#[prost(message, optional, tag = "2")]
pub column: ::core::option::Option<IndexColumn>,
#[prost(message, optional, tag = "3")]
pub time_index: ::core::option::Option<super::super::common::v1alpha1::IndexColumnSelector>,
}
impl ::prost::Name for IndexConfig {
const NAME: &'static str = "IndexConfig";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.IndexConfig".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.IndexConfig".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct IndexColumn {
#[prost(message, optional, tag = "1")]
pub entity_path: ::core::option::Option<super::super::common::v1alpha1::EntityPath>,
#[prost(message, optional, tag = "2")]
pub component: ::core::option::Option<super::super::common::v1alpha1::ComponentDescriptor>,
}
impl ::prost::Name for IndexColumn {
const NAME: &'static str = "IndexColumn";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.IndexColumn".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.IndexColumn".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct IndexProperties {
#[prost(oneof = "index_properties::Props", tags = "1, 2, 3")]
pub props: ::core::option::Option<index_properties::Props>,
}
pub mod index_properties {
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Oneof)]
pub enum Props {
#[prost(message, tag = "1")]
Inverted(super::InvertedIndex),
#[prost(message, tag = "2")]
Vector(super::VectorIvfPqIndex),
#[prost(message, tag = "3")]
Btree(super::BTreeIndex),
}
}
impl ::prost::Name for IndexProperties {
const NAME: &'static str = "IndexProperties";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.IndexProperties".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.IndexProperties".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InvertedIndex {
#[prost(bool, optional, tag = "1")]
pub store_position: ::core::option::Option<bool>,
#[prost(string, optional, tag = "2")]
pub base_tokenizer: ::core::option::Option<::prost::alloc::string::String>,
}
impl ::prost::Name for InvertedIndex {
const NAME: &'static str = "InvertedIndex";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.InvertedIndex".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.InvertedIndex".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct VectorIvfPqIndex {
#[prost(uint32, optional, tag = "2")]
pub num_sub_vectors: ::core::option::Option<u32>,
#[prost(enumeration = "VectorDistanceMetric", tag = "3")]
pub distance_metrics: i32,
#[prost(uint32, optional, tag = "4")]
pub target_partition_num_rows: ::core::option::Option<u32>,
}
impl ::prost::Name for VectorIvfPqIndex {
const NAME: &'static str = "VectorIvfPqIndex";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.VectorIvfPqIndex".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.VectorIvfPqIndex".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BTreeIndex {}
impl ::prost::Name for BTreeIndex {
const NAME: &'static str = "BTreeIndex";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.BTreeIndex".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.BTreeIndex".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SearchDatasetRequest {
#[prost(message, optional, tag = "2")]
pub column: ::core::option::Option<IndexColumn>,
#[prost(message, optional, tag = "3")]
pub query: ::core::option::Option<super::super::common::v1alpha1::DataframePart>,
#[prost(message, optional, tag = "4")]
pub properties: ::core::option::Option<IndexQueryProperties>,
#[prost(message, optional, tag = "5")]
pub scan_parameters: ::core::option::Option<super::super::common::v1alpha1::ScanParameters>,
}
impl ::prost::Name for SearchDatasetRequest {
const NAME: &'static str = "SearchDatasetRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.SearchDatasetRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.SearchDatasetRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SearchDatasetResponse {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<super::super::common::v1alpha1::DataframePart>,
}
impl ::prost::Name for SearchDatasetResponse {
const NAME: &'static str = "SearchDatasetResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.SearchDatasetResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.SearchDatasetResponse".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct IndexQueryProperties {
#[prost(oneof = "index_query_properties::Props", tags = "1, 2, 3")]
pub props: ::core::option::Option<index_query_properties::Props>,
}
pub mod index_query_properties {
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Oneof)]
pub enum Props {
#[prost(message, tag = "1")]
Inverted(super::InvertedIndexQuery),
#[prost(message, tag = "2")]
Vector(super::VectorIndexQuery),
#[prost(message, tag = "3")]
Btree(super::BTreeIndexQuery),
}
}
impl ::prost::Name for IndexQueryProperties {
const NAME: &'static str = "IndexQueryProperties";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.IndexQueryProperties".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.IndexQueryProperties".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct InvertedIndexQuery {}
impl ::prost::Name for InvertedIndexQuery {
const NAME: &'static str = "InvertedIndexQuery";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.InvertedIndexQuery".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.InvertedIndexQuery".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct VectorIndexQuery {
#[prost(uint32, optional, tag = "1")]
pub top_k: ::core::option::Option<u32>,
}
impl ::prost::Name for VectorIndexQuery {
const NAME: &'static str = "VectorIndexQuery";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.VectorIndexQuery".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.VectorIndexQuery".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BTreeIndexQuery {}
impl ::prost::Name for BTreeIndexQuery {
const NAME: &'static str = "BTreeIndexQuery";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.BTreeIndexQuery".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.BTreeIndexQuery".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryDatasetRequest {
#[prost(message, repeated, tag = "11")]
pub segment_ids: ::prost::alloc::vec::Vec<super::super::common::v1alpha1::SegmentId>,
#[prost(message, repeated, tag = "3")]
pub chunk_ids: ::prost::alloc::vec::Vec<super::super::common::v1alpha1::Tuid>,
#[prost(message, repeated, tag = "4")]
pub entity_paths: ::prost::alloc::vec::Vec<super::super::common::v1alpha1::EntityPath>,
#[prost(bool, tag = "7")]
pub select_all_entity_paths: bool,
#[prost(string, repeated, tag = "10")]
pub fuzzy_descriptors: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(bool, tag = "8")]
pub exclude_static_data: bool,
#[prost(bool, tag = "9")]
pub exclude_temporal_data: bool,
#[prost(message, optional, tag = "5")]
pub scan_parameters: ::core::option::Option<super::super::common::v1alpha1::ScanParameters>,
#[prost(message, optional, tag = "6")]
pub query: ::core::option::Option<Query>,
}
impl ::prost::Name for QueryDatasetRequest {
const NAME: &'static str = "QueryDatasetRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.QueryDatasetRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.QueryDatasetRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct QueryDatasetResponse {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<super::super::common::v1alpha1::DataframePart>,
}
impl ::prost::Name for QueryDatasetResponse {
const NAME: &'static str = "QueryDatasetResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.QueryDatasetResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.QueryDatasetResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Query {
#[prost(message, optional, tag = "1")]
pub latest_at: ::core::option::Option<QueryLatestAt>,
#[prost(message, optional, tag = "2")]
pub range: ::core::option::Option<QueryRange>,
#[prost(bool, tag = "3")]
pub columns_always_include_everything: bool,
#[prost(bool, tag = "5")]
pub columns_always_include_byte_offsets: bool,
#[prost(bool, tag = "6")]
pub columns_always_include_entity_paths: bool,
#[prost(bool, tag = "7")]
pub columns_always_include_static_indexes: bool,
#[prost(bool, tag = "8")]
pub columns_always_include_global_indexes: bool,
#[prost(bool, tag = "9")]
pub columns_always_include_component_indexes: bool,
}
impl ::prost::Name for Query {
const NAME: &'static str = "Query";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.Query".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.Query".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct QueryLatestAt {
#[prost(message, optional, tag = "1")]
pub index: ::core::option::Option<super::super::common::v1alpha1::IndexColumnSelector>,
#[prost(int64, optional, tag = "2")]
pub at: ::core::option::Option<i64>,
}
impl ::prost::Name for QueryLatestAt {
const NAME: &'static str = "QueryLatestAt";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.QueryLatestAt".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.QueryLatestAt".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct QueryRange {
#[prost(message, optional, tag = "1")]
pub index: ::core::option::Option<super::super::common::v1alpha1::IndexColumnSelector>,
#[prost(message, optional, tag = "2")]
pub index_range: ::core::option::Option<super::super::common::v1alpha1::TimeRange>,
}
impl ::prost::Name for QueryRange {
const NAME: &'static str = "QueryRange";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.QueryRange".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.QueryRange".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FetchChunksRequest {
#[prost(message, repeated, tag = "1")]
pub chunk_infos: ::prost::alloc::vec::Vec<super::super::common::v1alpha1::DataframePart>,
}
impl ::prost::Name for FetchChunksRequest {
const NAME: &'static str = "FetchChunksRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.FetchChunksRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.FetchChunksRequest".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FetchChunksResponse {
#[prost(message, repeated, tag = "1")]
pub chunks: ::prost::alloc::vec::Vec<super::super::log_msg::v1alpha1::ArrowMsg>,
}
impl ::prost::Name for FetchChunksResponse {
const NAME: &'static str = "FetchChunksResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.FetchChunksResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.FetchChunksResponse".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTableSchemaRequest {
#[prost(message, optional, tag = "1")]
pub table_id: ::core::option::Option<super::super::common::v1alpha1::EntryId>,
}
impl ::prost::Name for GetTableSchemaRequest {
const NAME: &'static str = "GetTableSchemaRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.GetTableSchemaRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.GetTableSchemaRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetTableSchemaResponse {
#[prost(message, optional, tag = "1")]
pub schema: ::core::option::Option<super::super::common::v1alpha1::Schema>,
}
impl ::prost::Name for GetTableSchemaResponse {
const NAME: &'static str = "GetTableSchemaResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.GetTableSchemaResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.GetTableSchemaResponse".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ScanTableRequest {
#[prost(message, optional, tag = "1")]
pub table_id: ::core::option::Option<super::super::common::v1alpha1::EntryId>,
}
impl ::prost::Name for ScanTableRequest {
const NAME: &'static str = "ScanTableRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.ScanTableRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.ScanTableRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ScanTableResponse {
#[prost(message, optional, tag = "1")]
pub dataframe_part: ::core::option::Option<super::super::common::v1alpha1::DataframePart>,
}
impl ::prost::Name for ScanTableResponse {
const NAME: &'static str = "ScanTableResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.ScanTableResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.ScanTableResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WriteTableRequest {
#[prost(message, optional, tag = "1")]
pub dataframe_part: ::core::option::Option<super::super::common::v1alpha1::DataframePart>,
#[prost(enumeration = "TableInsertMode", tag = "2")]
pub insert_mode: i32,
}
impl ::prost::Name for WriteTableRequest {
const NAME: &'static str = "WriteTableRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.WriteTableRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.WriteTableRequest".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct WriteTableResponse {}
impl ::prost::Name for WriteTableResponse {
const NAME: &'static str = "WriteTableResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.WriteTableResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.WriteTableResponse".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DoMaintenanceRequest {
#[prost(bool, tag = "2")]
pub optimize_indexes: bool,
#[prost(bool, tag = "6")]
pub retrain_indexes: bool,
#[prost(bool, tag = "3")]
pub compact_fragments: bool,
#[prost(message, optional, tag = "4")]
pub cleanup_before: ::core::option::Option<::prost_types::Timestamp>,
#[prost(bool, tag = "5")]
pub unsafe_allow_recent_cleanup: bool,
}
impl ::prost::Name for DoMaintenanceRequest {
const NAME: &'static str = "DoMaintenanceRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.DoMaintenanceRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.DoMaintenanceRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DoMaintenanceResponse {
#[prost(string, tag = "1")]
pub report: ::prost::alloc::string::String,
}
impl ::prost::Name for DoMaintenanceResponse {
const NAME: &'static str = "DoMaintenanceResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.DoMaintenanceResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.DoMaintenanceResponse".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DoGlobalMaintenanceRequest {}
impl ::prost::Name for DoGlobalMaintenanceRequest {
const NAME: &'static str = "DoGlobalMaintenanceRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.DoGlobalMaintenanceRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.DoGlobalMaintenanceRequest".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DoGlobalMaintenanceResponse {}
impl ::prost::Name for DoGlobalMaintenanceResponse {
const NAME: &'static str = "DoGlobalMaintenanceResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.DoGlobalMaintenanceResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.DoGlobalMaintenanceResponse".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryTasksRequest {
#[prost(message, repeated, tag = "1")]
pub ids: ::prost::alloc::vec::Vec<super::super::common::v1alpha1::TaskId>,
}
impl ::prost::Name for QueryTasksRequest {
const NAME: &'static str = "QueryTasksRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.QueryTasksRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.QueryTasksRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct QueryTasksResponse {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<super::super::common::v1alpha1::DataframePart>,
}
impl ::prost::Name for QueryTasksResponse {
const NAME: &'static str = "QueryTasksResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.QueryTasksResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.QueryTasksResponse".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryTasksOnCompletionRequest {
#[prost(message, repeated, tag = "1")]
pub ids: ::prost::alloc::vec::Vec<super::super::common::v1alpha1::TaskId>,
#[prost(message, optional, tag = "2")]
pub timeout: ::core::option::Option<::prost_types::Duration>,
}
impl ::prost::Name for QueryTasksOnCompletionRequest {
const NAME: &'static str = "QueryTasksOnCompletionRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.QueryTasksOnCompletionRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.QueryTasksOnCompletionRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct QueryTasksOnCompletionResponse {
#[prost(message, optional, tag = "1")]
pub data: ::core::option::Option<super::super::common::v1alpha1::DataframePart>,
}
impl ::prost::Name for QueryTasksOnCompletionResponse {
const NAME: &'static str = "QueryTasksOnCompletionResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.QueryTasksOnCompletionResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.QueryTasksOnCompletionResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct FindEntriesRequest {
#[prost(message, optional, tag = "1")]
pub filter: ::core::option::Option<EntryFilter>,
}
impl ::prost::Name for FindEntriesRequest {
const NAME: &'static str = "FindEntriesRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.FindEntriesRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.FindEntriesRequest".into()
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FindEntriesResponse {
#[prost(message, repeated, tag = "1")]
pub entries: ::prost::alloc::vec::Vec<EntryDetails>,
}
impl ::prost::Name for FindEntriesResponse {
const NAME: &'static str = "FindEntriesResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.FindEntriesResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.FindEntriesResponse".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteEntryRequest {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<super::super::common::v1alpha1::EntryId>,
}
impl ::prost::Name for DeleteEntryRequest {
const NAME: &'static str = "DeleteEntryRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.DeleteEntryRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.DeleteEntryRequest".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteEntryResponse {}
impl ::prost::Name for DeleteEntryResponse {
const NAME: &'static str = "DeleteEntryResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.DeleteEntryResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.DeleteEntryResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateEntryRequest {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<super::super::common::v1alpha1::EntryId>,
#[prost(message, optional, tag = "2")]
pub entry_details_update: ::core::option::Option<EntryDetailsUpdate>,
}
impl ::prost::Name for UpdateEntryRequest {
const NAME: &'static str = "UpdateEntryRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.UpdateEntryRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.UpdateEntryRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateEntryResponse {
#[prost(message, optional, tag = "1")]
pub entry_details: ::core::option::Option<EntryDetails>,
}
impl ::prost::Name for UpdateEntryResponse {
const NAME: &'static str = "UpdateEntryResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.UpdateEntryResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.UpdateEntryResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CreateDatasetEntryRequest {
#[prost(string, optional, tag = "1")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "2")]
pub id: ::core::option::Option<super::super::common::v1alpha1::EntryId>,
}
impl ::prost::Name for CreateDatasetEntryRequest {
const NAME: &'static str = "CreateDatasetEntryRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.CreateDatasetEntryRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.CreateDatasetEntryRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CreateDatasetEntryResponse {
#[prost(message, optional, tag = "1")]
pub dataset: ::core::option::Option<DatasetEntry>,
}
impl ::prost::Name for CreateDatasetEntryResponse {
const NAME: &'static str = "CreateDatasetEntryResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.CreateDatasetEntryResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.CreateDatasetEntryResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CreateTableEntryRequest {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub provider_details: ::core::option::Option<::prost_types::Any>,
#[prost(message, optional, tag = "3")]
pub schema: ::core::option::Option<super::super::common::v1alpha1::Schema>,
}
impl ::prost::Name for CreateTableEntryRequest {
const NAME: &'static str = "CreateTableEntryRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.CreateTableEntryRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.CreateTableEntryRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CreateTableEntryResponse {
#[prost(message, optional, tag = "1")]
pub table: ::core::option::Option<TableEntry>,
}
impl ::prost::Name for CreateTableEntryResponse {
const NAME: &'static str = "CreateTableEntryResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.CreateTableEntryResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.CreateTableEntryResponse".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReadDatasetEntryRequest {}
impl ::prost::Name for ReadDatasetEntryRequest {
const NAME: &'static str = "ReadDatasetEntryRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.ReadDatasetEntryRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.ReadDatasetEntryRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReadDatasetEntryResponse {
#[prost(message, optional, tag = "1")]
pub dataset: ::core::option::Option<DatasetEntry>,
}
impl ::prost::Name for ReadDatasetEntryResponse {
const NAME: &'static str = "ReadDatasetEntryResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.ReadDatasetEntryResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.ReadDatasetEntryResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateDatasetEntryRequest {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<super::super::common::v1alpha1::EntryId>,
#[prost(message, optional, tag = "2")]
pub dataset_details: ::core::option::Option<DatasetDetails>,
}
impl ::prost::Name for UpdateDatasetEntryRequest {
const NAME: &'static str = "UpdateDatasetEntryRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.UpdateDatasetEntryRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.UpdateDatasetEntryRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateDatasetEntryResponse {
#[prost(message, optional, tag = "1")]
pub dataset: ::core::option::Option<DatasetEntry>,
}
impl ::prost::Name for UpdateDatasetEntryResponse {
const NAME: &'static str = "UpdateDatasetEntryResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.UpdateDatasetEntryResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.UpdateDatasetEntryResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegisterTableRequest {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(message, optional, tag = "2")]
pub provider_details: ::core::option::Option<::prost_types::Any>,
}
impl ::prost::Name for RegisterTableRequest {
const NAME: &'static str = "RegisterTableRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.RegisterTableRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.RegisterTableRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RegisterTableResponse {
#[prost(message, optional, tag = "1")]
pub table_entry: ::core::option::Option<TableEntry>,
}
impl ::prost::Name for RegisterTableResponse {
const NAME: &'static str = "RegisterTableResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.RegisterTableResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.RegisterTableResponse".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReadTableEntryRequest {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<super::super::common::v1alpha1::EntryId>,
}
impl ::prost::Name for ReadTableEntryRequest {
const NAME: &'static str = "ReadTableEntryRequest";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.ReadTableEntryRequest".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.ReadTableEntryRequest".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ReadTableEntryResponse {
#[prost(message, optional, tag = "1")]
pub table: ::core::option::Option<TableEntry>,
}
impl ::prost::Name for ReadTableEntryResponse {
const NAME: &'static str = "ReadTableEntryResponse";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.ReadTableEntryResponse".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.ReadTableEntryResponse".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct EntryFilter {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<super::super::common::v1alpha1::EntryId>,
#[prost(string, optional, tag = "2")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(enumeration = "EntryKind", optional, tag = "3")]
pub entry_kind: ::core::option::Option<i32>,
}
impl ::prost::Name for EntryFilter {
const NAME: &'static str = "EntryFilter";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.EntryFilter".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.EntryFilter".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct EntryDetails {
#[prost(message, optional, tag = "1")]
pub id: ::core::option::Option<super::super::common::v1alpha1::EntryId>,
#[prost(string, optional, tag = "2")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(enumeration = "EntryKind", tag = "3")]
pub entry_kind: i32,
#[prost(message, optional, tag = "4")]
pub created_at: ::core::option::Option<::prost_types::Timestamp>,
#[prost(message, optional, tag = "5")]
pub updated_at: ::core::option::Option<::prost_types::Timestamp>,
}
impl ::prost::Name for EntryDetails {
const NAME: &'static str = "EntryDetails";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.EntryDetails".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.EntryDetails".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct EntryDetailsUpdate {
#[prost(string, optional, tag = "2")]
pub name: ::core::option::Option<::prost::alloc::string::String>,
}
impl ::prost::Name for EntryDetailsUpdate {
const NAME: &'static str = "EntryDetailsUpdate";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.EntryDetailsUpdate".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.EntryDetailsUpdate".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DatasetDetails {
#[prost(message, optional, tag = "3")]
pub blueprint_dataset: ::core::option::Option<super::super::common::v1alpha1::EntryId>,
#[prost(message, optional, tag = "5")]
pub default_blueprint_segment:
::core::option::Option<super::super::common::v1alpha1::SegmentId>,
}
impl ::prost::Name for DatasetDetails {
const NAME: &'static str = "DatasetDetails";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.DatasetDetails".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.DatasetDetails".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DatasetEntry {
#[prost(message, optional, tag = "1")]
pub details: ::core::option::Option<EntryDetails>,
#[prost(message, optional, tag = "4")]
pub dataset_details: ::core::option::Option<DatasetDetails>,
#[prost(message, optional, tag = "2")]
pub dataset_handle: ::core::option::Option<super::super::common::v1alpha1::DatasetHandle>,
}
impl ::prost::Name for DatasetEntry {
const NAME: &'static str = "DatasetEntry";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.DatasetEntry".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.DatasetEntry".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TableEntry {
#[prost(message, optional, tag = "1")]
pub details: ::core::option::Option<EntryDetails>,
#[prost(message, optional, tag = "3")]
pub provider_details: ::core::option::Option<::prost_types::Any>,
}
impl ::prost::Name for TableEntry {
const NAME: &'static str = "TableEntry";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.TableEntry".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.TableEntry".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SystemTable {
#[prost(enumeration = "SystemTableKind", tag = "1")]
pub kind: i32,
}
impl ::prost::Name for SystemTable {
const NAME: &'static str = "SystemTable";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.SystemTable".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.SystemTable".into()
}
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct LanceTable {
#[prost(string, tag = "1")]
pub table_url: ::prost::alloc::string::String,
}
impl ::prost::Name for LanceTable {
const NAME: &'static str = "LanceTable";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.LanceTable".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.LanceTable".into()
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DebugInfo {
#[prost(uint64, optional, tag = "1")]
pub memory_used: ::core::option::Option<u64>,
}
impl ::prost::Name for DebugInfo {
const NAME: &'static str = "DebugInfo";
const PACKAGE: &'static str = "rerun.cloud.v1alpha1";
fn full_name() -> ::prost::alloc::string::String {
"rerun.cloud.v1alpha1.DebugInfo".into()
}
fn type_url() -> ::prost::alloc::string::String {
"/rerun.cloud.v1alpha1.DebugInfo".into()
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum ErrorCode {
Unspecified = 0,
ObjectStoreError = 1,
MetadataDbError = 2,
CodecError = 3,
}
impl ErrorCode {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "ERROR_CODE_UNSPECIFIED",
Self::ObjectStoreError => "ERROR_CODE_OBJECT_STORE_ERROR",
Self::MetadataDbError => "ERROR_CODE_METADATA_DB_ERROR",
Self::CodecError => "ERROR_CODE_CODEC_ERROR",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"ERROR_CODE_UNSPECIFIED" => Some(Self::Unspecified),
"ERROR_CODE_OBJECT_STORE_ERROR" => Some(Self::ObjectStoreError),
"ERROR_CODE_METADATA_DB_ERROR" => Some(Self::MetadataDbError),
"ERROR_CODE_CODEC_ERROR" => Some(Self::CodecError),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum DataSourceKind {
Unspecified = 0,
Rrd = 1,
}
impl DataSourceKind {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "DATA_SOURCE_KIND_UNSPECIFIED",
Self::Rrd => "DATA_SOURCE_KIND_RRD",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"DATA_SOURCE_KIND_UNSPECIFIED" => Some(Self::Unspecified),
"DATA_SOURCE_KIND_RRD" => Some(Self::Rrd),
_ => None,
}
}
}
#[derive(
serde::Serialize,
serde::Deserialize,
Clone,
Copy,
Debug,
PartialEq,
Eq,
Hash,
PartialOrd,
Ord,
::prost::Enumeration,
)]
#[repr(i32)]
pub enum VectorDistanceMetric {
Unspecified = 0,
L2 = 1,
Cosine = 2,
Dot = 3,
Hamming = 4,
}
impl VectorDistanceMetric {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "VECTOR_DISTANCE_METRIC_UNSPECIFIED",
Self::L2 => "VECTOR_DISTANCE_METRIC_L2",
Self::Cosine => "VECTOR_DISTANCE_METRIC_COSINE",
Self::Dot => "VECTOR_DISTANCE_METRIC_DOT",
Self::Hamming => "VECTOR_DISTANCE_METRIC_HAMMING",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"VECTOR_DISTANCE_METRIC_UNSPECIFIED" => Some(Self::Unspecified),
"VECTOR_DISTANCE_METRIC_L2" => Some(Self::L2),
"VECTOR_DISTANCE_METRIC_COSINE" => Some(Self::Cosine),
"VECTOR_DISTANCE_METRIC_DOT" => Some(Self::Dot),
"VECTOR_DISTANCE_METRIC_HAMMING" => Some(Self::Hamming),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum TableInsertMode {
Unspecified = 0,
Append = 1,
Overwrite = 2,
Replace = 3,
}
impl TableInsertMode {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "TABLE_INSERT_MODE_UNSPECIFIED",
Self::Append => "TABLE_INSERT_MODE_APPEND",
Self::Overwrite => "TABLE_INSERT_MODE_OVERWRITE",
Self::Replace => "TABLE_INSERT_MODE_REPLACE",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"TABLE_INSERT_MODE_UNSPECIFIED" => Some(Self::Unspecified),
"TABLE_INSERT_MODE_APPEND" => Some(Self::Append),
"TABLE_INSERT_MODE_OVERWRITE" => Some(Self::Overwrite),
"TABLE_INSERT_MODE_REPLACE" => Some(Self::Replace),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum EntryKind {
Unspecified = 0,
Dataset = 1,
DatasetView = 2,
Table = 3,
TableView = 4,
BlueprintDataset = 5,
}
impl EntryKind {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "ENTRY_KIND_UNSPECIFIED",
Self::Dataset => "ENTRY_KIND_DATASET",
Self::DatasetView => "ENTRY_KIND_DATASET_VIEW",
Self::Table => "ENTRY_KIND_TABLE",
Self::TableView => "ENTRY_KIND_TABLE_VIEW",
Self::BlueprintDataset => "ENTRY_KIND_BLUEPRINT_DATASET",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"ENTRY_KIND_UNSPECIFIED" => Some(Self::Unspecified),
"ENTRY_KIND_DATASET" => Some(Self::Dataset),
"ENTRY_KIND_DATASET_VIEW" => Some(Self::DatasetView),
"ENTRY_KIND_TABLE" => Some(Self::Table),
"ENTRY_KIND_TABLE_VIEW" => Some(Self::TableView),
"ENTRY_KIND_BLUEPRINT_DATASET" => Some(Self::BlueprintDataset),
_ => None,
}
}
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum SystemTableKind {
Unspecified = 0,
Namespaces = 1,
Entries = 2,
}
impl SystemTableKind {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "SYSTEM_TABLE_KIND_UNSPECIFIED",
Self::Namespaces => "SYSTEM_TABLE_KIND_NAMESPACES",
Self::Entries => "SYSTEM_TABLE_KIND_ENTRIES",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"SYSTEM_TABLE_KIND_UNSPECIFIED" => Some(Self::Unspecified),
"SYSTEM_TABLE_KIND_NAMESPACES" => Some(Self::Namespaces),
"SYSTEM_TABLE_KIND_ENTRIES" => Some(Self::Entries),
_ => None,
}
}
}
pub mod rerun_cloud_service_client {
#![allow(
unused_variables,
dead_code,
missing_docs,
clippy::wildcard_imports,
clippy::let_unit_value
)]
use tonic::codegen::http::Uri;
use tonic::codegen::*;
#[derive(Debug, Clone)]
pub struct RerunCloudServiceClient<T> {
inner: tonic::client::Grpc<T>,
}
impl<T> RerunCloudServiceClient<T>
where
T: tonic::client::GrpcService<tonic::body::Body>,
T::Error: Into<StdError>,
T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
<T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
{
pub fn new(inner: T) -> Self {
let inner = tonic::client::Grpc::new(inner);
Self { inner }
}
pub fn with_origin(inner: T, origin: Uri) -> Self {
let inner = tonic::client::Grpc::with_origin(inner, origin);
Self { inner }
}
pub fn with_interceptor<F>(
inner: T,
interceptor: F,
) -> RerunCloudServiceClient<InterceptedService<T, F>>
where
F: tonic::service::Interceptor,
T::ResponseBody: Default,
T: tonic::codegen::Service<
http::Request<tonic::body::Body>,
Response = http::Response<
<T as tonic::client::GrpcService<tonic::body::Body>>::ResponseBody,
>,
>,
<T as tonic::codegen::Service<http::Request<tonic::body::Body>>>::Error:
Into<StdError> + std::marker::Send + std::marker::Sync,
{
RerunCloudServiceClient::new(InterceptedService::new(inner, interceptor))
}
#[must_use]
pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
self.inner = self.inner.send_compressed(encoding);
self
}
#[must_use]
pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
self.inner = self.inner.accept_compressed(encoding);
self
}
#[must_use]
pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
self.inner = self.inner.max_decoding_message_size(limit);
self
}
#[must_use]
pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
self.inner = self.inner.max_encoding_message_size(limit);
self
}
pub async fn version(
&mut self,
request: impl tonic::IntoRequest<super::VersionRequest>,
) -> std::result::Result<tonic::Response<super::VersionResponse>, tonic::Status> {
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/Version",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"Version",
));
self.inner.unary(req, path, codec).await
}
pub async fn who_am_i(
&mut self,
request: impl tonic::IntoRequest<super::WhoAmIRequest>,
) -> std::result::Result<tonic::Response<super::WhoAmIResponse>, tonic::Status> {
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/WhoAmI",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"WhoAmI",
));
self.inner.unary(req, path, codec).await
}
pub async fn find_entries(
&mut self,
request: impl tonic::IntoRequest<super::FindEntriesRequest>,
) -> std::result::Result<tonic::Response<super::FindEntriesResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/FindEntries",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"FindEntries",
));
self.inner.unary(req, path, codec).await
}
pub async fn delete_entry(
&mut self,
request: impl tonic::IntoRequest<super::DeleteEntryRequest>,
) -> std::result::Result<tonic::Response<super::DeleteEntryResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/DeleteEntry",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"DeleteEntry",
));
self.inner.unary(req, path, codec).await
}
pub async fn update_entry(
&mut self,
request: impl tonic::IntoRequest<super::UpdateEntryRequest>,
) -> std::result::Result<tonic::Response<super::UpdateEntryResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/UpdateEntry",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"UpdateEntry",
));
self.inner.unary(req, path, codec).await
}
pub async fn create_dataset_entry(
&mut self,
request: impl tonic::IntoRequest<super::CreateDatasetEntryRequest>,
) -> std::result::Result<tonic::Response<super::CreateDatasetEntryResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/CreateDatasetEntry",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"CreateDatasetEntry",
));
self.inner.unary(req, path, codec).await
}
pub async fn create_table_entry(
&mut self,
request: impl tonic::IntoRequest<super::CreateTableEntryRequest>,
) -> std::result::Result<tonic::Response<super::CreateTableEntryResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/CreateTableEntry",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"CreateTableEntry",
));
self.inner.unary(req, path, codec).await
}
pub async fn read_dataset_entry(
&mut self,
request: impl tonic::IntoRequest<super::ReadDatasetEntryRequest>,
) -> std::result::Result<tonic::Response<super::ReadDatasetEntryResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/ReadDatasetEntry",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"ReadDatasetEntry",
));
self.inner.unary(req, path, codec).await
}
pub async fn update_dataset_entry(
&mut self,
request: impl tonic::IntoRequest<super::UpdateDatasetEntryRequest>,
) -> std::result::Result<tonic::Response<super::UpdateDatasetEntryResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/UpdateDatasetEntry",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"UpdateDatasetEntry",
));
self.inner.unary(req, path, codec).await
}
pub async fn read_table_entry(
&mut self,
request: impl tonic::IntoRequest<super::ReadTableEntryRequest>,
) -> std::result::Result<tonic::Response<super::ReadTableEntryResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/ReadTableEntry",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"ReadTableEntry",
));
self.inner.unary(req, path, codec).await
}
pub async fn register_with_dataset(
&mut self,
request: impl tonic::IntoRequest<super::RegisterWithDatasetRequest>,
) -> std::result::Result<tonic::Response<super::RegisterWithDatasetResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/RegisterWithDataset",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"RegisterWithDataset",
));
self.inner.unary(req, path, codec).await
}
pub async fn unregister_from_dataset(
&mut self,
request: impl tonic::IntoRequest<super::UnregisterFromDatasetRequest>,
) -> std::result::Result<
tonic::Response<tonic::codec::Streaming<super::UnregisterFromDatasetResponse>>,
tonic::Status,
> {
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/UnregisterFromDataset",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"UnregisterFromDataset",
));
self.inner.server_streaming(req, path, codec).await
}
pub async fn write_chunks(
&mut self,
request: impl tonic::IntoStreamingRequest<Message = super::WriteChunksRequest>,
) -> std::result::Result<tonic::Response<super::WriteChunksResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/WriteChunks",
);
let mut req = request.into_streaming_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"WriteChunks",
));
self.inner.client_streaming(req, path, codec).await
}
pub async fn get_segment_table_schema(
&mut self,
request: impl tonic::IntoRequest<super::GetSegmentTableSchemaRequest>,
) -> std::result::Result<tonic::Response<super::GetSegmentTableSchemaResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/GetSegmentTableSchema",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"GetSegmentTableSchema",
));
self.inner.unary(req, path, codec).await
}
pub async fn scan_segment_table(
&mut self,
request: impl tonic::IntoRequest<super::ScanSegmentTableRequest>,
) -> std::result::Result<
tonic::Response<tonic::codec::Streaming<super::ScanSegmentTableResponse>>,
tonic::Status,
> {
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/ScanSegmentTable",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"ScanSegmentTable",
));
self.inner.server_streaming(req, path, codec).await
}
pub async fn get_dataset_manifest_schema(
&mut self,
request: impl tonic::IntoRequest<super::GetDatasetManifestSchemaRequest>,
) -> std::result::Result<
tonic::Response<super::GetDatasetManifestSchemaResponse>,
tonic::Status,
> {
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/GetDatasetManifestSchema",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"GetDatasetManifestSchema",
));
self.inner.unary(req, path, codec).await
}
pub async fn scan_dataset_manifest(
&mut self,
request: impl tonic::IntoRequest<super::ScanDatasetManifestRequest>,
) -> std::result::Result<
tonic::Response<tonic::codec::Streaming<super::ScanDatasetManifestResponse>>,
tonic::Status,
> {
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/ScanDatasetManifest",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"ScanDatasetManifest",
));
self.inner.server_streaming(req, path, codec).await
}
pub async fn get_dataset_schema(
&mut self,
request: impl tonic::IntoRequest<super::GetDatasetSchemaRequest>,
) -> std::result::Result<tonic::Response<super::GetDatasetSchemaResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/GetDatasetSchema",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"GetDatasetSchema",
));
self.inner.unary(req, path, codec).await
}
pub async fn get_rrd_manifest(
&mut self,
request: impl tonic::IntoRequest<super::GetRrdManifestRequest>,
) -> std::result::Result<
tonic::Response<tonic::codec::Streaming<super::GetRrdManifestResponse>>,
tonic::Status,
> {
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/GetRrdManifest",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"GetRrdManifest",
));
self.inner.server_streaming(req, path, codec).await
}
pub async fn create_index(
&mut self,
request: impl tonic::IntoRequest<super::CreateIndexRequest>,
) -> std::result::Result<tonic::Response<super::CreateIndexResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/CreateIndex",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"CreateIndex",
));
self.inner.unary(req, path, codec).await
}
pub async fn list_indexes(
&mut self,
request: impl tonic::IntoRequest<super::ListIndexesRequest>,
) -> std::result::Result<tonic::Response<super::ListIndexesResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/ListIndexes",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"ListIndexes",
));
self.inner.unary(req, path, codec).await
}
pub async fn delete_indexes(
&mut self,
request: impl tonic::IntoRequest<super::DeleteIndexesRequest>,
) -> std::result::Result<tonic::Response<super::DeleteIndexesResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/DeleteIndexes",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"DeleteIndexes",
));
self.inner.unary(req, path, codec).await
}
pub async fn search_dataset(
&mut self,
request: impl tonic::IntoRequest<super::SearchDatasetRequest>,
) -> std::result::Result<
tonic::Response<tonic::codec::Streaming<super::SearchDatasetResponse>>,
tonic::Status,
> {
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/SearchDataset",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"SearchDataset",
));
self.inner.server_streaming(req, path, codec).await
}
pub async fn query_dataset(
&mut self,
request: impl tonic::IntoRequest<super::QueryDatasetRequest>,
) -> std::result::Result<
tonic::Response<tonic::codec::Streaming<super::QueryDatasetResponse>>,
tonic::Status,
> {
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/QueryDataset",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"QueryDataset",
));
self.inner.server_streaming(req, path, codec).await
}
pub async fn fetch_chunks(
&mut self,
request: impl tonic::IntoRequest<super::FetchChunksRequest>,
) -> std::result::Result<
tonic::Response<tonic::codec::Streaming<super::FetchChunksResponse>>,
tonic::Status,
> {
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/FetchChunks",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"FetchChunks",
));
self.inner.server_streaming(req, path, codec).await
}
pub async fn register_table(
&mut self,
request: impl tonic::IntoRequest<super::RegisterTableRequest>,
) -> std::result::Result<tonic::Response<super::RegisterTableResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/RegisterTable",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"RegisterTable",
));
self.inner.unary(req, path, codec).await
}
pub async fn get_table_schema(
&mut self,
request: impl tonic::IntoRequest<super::GetTableSchemaRequest>,
) -> std::result::Result<tonic::Response<super::GetTableSchemaResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/GetTableSchema",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"GetTableSchema",
));
self.inner.unary(req, path, codec).await
}
pub async fn scan_table(
&mut self,
request: impl tonic::IntoRequest<super::ScanTableRequest>,
) -> std::result::Result<
tonic::Response<tonic::codec::Streaming<super::ScanTableResponse>>,
tonic::Status,
> {
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/ScanTable",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"ScanTable",
));
self.inner.server_streaming(req, path, codec).await
}
pub async fn write_table(
&mut self,
request: impl tonic::IntoStreamingRequest<Message = super::WriteTableRequest>,
) -> std::result::Result<tonic::Response<super::WriteTableResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/WriteTable",
);
let mut req = request.into_streaming_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"WriteTable",
));
self.inner.client_streaming(req, path, codec).await
}
pub async fn query_tasks(
&mut self,
request: impl tonic::IntoRequest<super::QueryTasksRequest>,
) -> std::result::Result<tonic::Response<super::QueryTasksResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/QueryTasks",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"QueryTasks",
));
self.inner.unary(req, path, codec).await
}
pub async fn query_tasks_on_completion(
&mut self,
request: impl tonic::IntoRequest<super::QueryTasksOnCompletionRequest>,
) -> std::result::Result<
tonic::Response<tonic::codec::Streaming<super::QueryTasksOnCompletionResponse>>,
tonic::Status,
> {
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/QueryTasksOnCompletion",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"QueryTasksOnCompletion",
));
self.inner.server_streaming(req, path, codec).await
}
pub async fn do_maintenance(
&mut self,
request: impl tonic::IntoRequest<super::DoMaintenanceRequest>,
) -> std::result::Result<tonic::Response<super::DoMaintenanceResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/DoMaintenance",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"DoMaintenance",
));
self.inner.unary(req, path, codec).await
}
pub async fn do_global_maintenance(
&mut self,
request: impl tonic::IntoRequest<super::DoGlobalMaintenanceRequest>,
) -> std::result::Result<tonic::Response<super::DoGlobalMaintenanceResponse>, tonic::Status>
{
self.inner.ready().await.map_err(|e| {
tonic::Status::unknown(format!("Service was not ready: {}", e.into()))
})?;
let codec = tonic_prost::ProstCodec::default();
let path = http::uri::PathAndQuery::from_static(
"/rerun.cloud.v1alpha1.RerunCloudService/DoGlobalMaintenance",
);
let mut req = request.into_request();
req.extensions_mut().insert(GrpcMethod::new(
"rerun.cloud.v1alpha1.RerunCloudService",
"DoGlobalMaintenance",
));
self.inner.unary(req, path, codec).await
}
}
}
pub mod rerun_cloud_service_server {
#![allow(
unused_variables,
dead_code,
missing_docs,
clippy::wildcard_imports,
clippy::let_unit_value
)]
use tonic::codegen::*;
#[async_trait]
pub trait RerunCloudService: std::marker::Send + std::marker::Sync + 'static {
async fn version(
&self,
request: tonic::Request<super::VersionRequest>,
) -> std::result::Result<tonic::Response<super::VersionResponse>, tonic::Status>;
async fn who_am_i(
&self,
request: tonic::Request<super::WhoAmIRequest>,
) -> std::result::Result<tonic::Response<super::WhoAmIResponse>, tonic::Status>;
async fn find_entries(
&self,
request: tonic::Request<super::FindEntriesRequest>,
) -> std::result::Result<tonic::Response<super::FindEntriesResponse>, tonic::Status>;
async fn delete_entry(
&self,
request: tonic::Request<super::DeleteEntryRequest>,
) -> std::result::Result<tonic::Response<super::DeleteEntryResponse>, tonic::Status>;
async fn update_entry(
&self,
request: tonic::Request<super::UpdateEntryRequest>,
) -> std::result::Result<tonic::Response<super::UpdateEntryResponse>, tonic::Status>;
async fn create_dataset_entry(
&self,
request: tonic::Request<super::CreateDatasetEntryRequest>,
) -> std::result::Result<tonic::Response<super::CreateDatasetEntryResponse>, tonic::Status>;
async fn create_table_entry(
&self,
request: tonic::Request<super::CreateTableEntryRequest>,
) -> std::result::Result<tonic::Response<super::CreateTableEntryResponse>, tonic::Status>;
async fn read_dataset_entry(
&self,
request: tonic::Request<super::ReadDatasetEntryRequest>,
) -> std::result::Result<tonic::Response<super::ReadDatasetEntryResponse>, tonic::Status>;
async fn update_dataset_entry(
&self,
request: tonic::Request<super::UpdateDatasetEntryRequest>,
) -> std::result::Result<tonic::Response<super::UpdateDatasetEntryResponse>, tonic::Status>;
async fn read_table_entry(
&self,
request: tonic::Request<super::ReadTableEntryRequest>,
) -> std::result::Result<tonic::Response<super::ReadTableEntryResponse>, tonic::Status>;
async fn register_with_dataset(
&self,
request: tonic::Request<super::RegisterWithDatasetRequest>,
) -> std::result::Result<tonic::Response<super::RegisterWithDatasetResponse>, tonic::Status>;
type UnregisterFromDatasetStream: tonic::codegen::tokio_stream::Stream<
Item = std::result::Result<super::UnregisterFromDatasetResponse, tonic::Status>,
> + std::marker::Send
+ 'static;
async fn unregister_from_dataset(
&self,
request: tonic::Request<super::UnregisterFromDatasetRequest>,
) -> std::result::Result<tonic::Response<Self::UnregisterFromDatasetStream>, tonic::Status>;
async fn write_chunks(
&self,
request: tonic::Request<tonic::Streaming<super::WriteChunksRequest>>,
) -> std::result::Result<tonic::Response<super::WriteChunksResponse>, tonic::Status>;
async fn get_segment_table_schema(
&self,
request: tonic::Request<super::GetSegmentTableSchemaRequest>,
) -> std::result::Result<tonic::Response<super::GetSegmentTableSchemaResponse>, tonic::Status>;
type ScanSegmentTableStream: tonic::codegen::tokio_stream::Stream<
Item = std::result::Result<super::ScanSegmentTableResponse, tonic::Status>,
> + std::marker::Send
+ 'static;
async fn scan_segment_table(
&self,
request: tonic::Request<super::ScanSegmentTableRequest>,
) -> std::result::Result<tonic::Response<Self::ScanSegmentTableStream>, tonic::Status>;
async fn get_dataset_manifest_schema(
&self,
request: tonic::Request<super::GetDatasetManifestSchemaRequest>,
) -> std::result::Result<
tonic::Response<super::GetDatasetManifestSchemaResponse>,
tonic::Status,
>;
type ScanDatasetManifestStream: tonic::codegen::tokio_stream::Stream<
Item = std::result::Result<super::ScanDatasetManifestResponse, tonic::Status>,
> + std::marker::Send
+ 'static;
async fn scan_dataset_manifest(
&self,
request: tonic::Request<super::ScanDatasetManifestRequest>,
) -> std::result::Result<tonic::Response<Self::ScanDatasetManifestStream>, tonic::Status>;
async fn get_dataset_schema(
&self,
request: tonic::Request<super::GetDatasetSchemaRequest>,
) -> std::result::Result<tonic::Response<super::GetDatasetSchemaResponse>, tonic::Status>;
type GetRrdManifestStream: tonic::codegen::tokio_stream::Stream<
Item = std::result::Result<super::GetRrdManifestResponse, tonic::Status>,
> + std::marker::Send
+ 'static;
async fn get_rrd_manifest(
&self,
request: tonic::Request<super::GetRrdManifestRequest>,
) -> std::result::Result<tonic::Response<Self::GetRrdManifestStream>, tonic::Status>;
async fn create_index(
&self,
request: tonic::Request<super::CreateIndexRequest>,
) -> std::result::Result<tonic::Response<super::CreateIndexResponse>, tonic::Status>;
async fn list_indexes(
&self,
request: tonic::Request<super::ListIndexesRequest>,
) -> std::result::Result<tonic::Response<super::ListIndexesResponse>, tonic::Status>;
async fn delete_indexes(
&self,
request: tonic::Request<super::DeleteIndexesRequest>,
) -> std::result::Result<tonic::Response<super::DeleteIndexesResponse>, tonic::Status>;
type SearchDatasetStream: tonic::codegen::tokio_stream::Stream<
Item = std::result::Result<super::SearchDatasetResponse, tonic::Status>,
> + std::marker::Send
+ 'static;
async fn search_dataset(
&self,
request: tonic::Request<super::SearchDatasetRequest>,
) -> std::result::Result<tonic::Response<Self::SearchDatasetStream>, tonic::Status>;
type QueryDatasetStream: tonic::codegen::tokio_stream::Stream<
Item = std::result::Result<super::QueryDatasetResponse, tonic::Status>,
> + std::marker::Send
+ 'static;
async fn query_dataset(
&self,
request: tonic::Request<super::QueryDatasetRequest>,
) -> std::result::Result<tonic::Response<Self::QueryDatasetStream>, tonic::Status>;
type FetchChunksStream: tonic::codegen::tokio_stream::Stream<
Item = std::result::Result<super::FetchChunksResponse, tonic::Status>,
> + std::marker::Send
+ 'static;
async fn fetch_chunks(
&self,
request: tonic::Request<super::FetchChunksRequest>,
) -> std::result::Result<tonic::Response<Self::FetchChunksStream>, tonic::Status>;
async fn register_table(
&self,
request: tonic::Request<super::RegisterTableRequest>,
) -> std::result::Result<tonic::Response<super::RegisterTableResponse>, tonic::Status>;
async fn get_table_schema(
&self,
request: tonic::Request<super::GetTableSchemaRequest>,
) -> std::result::Result<tonic::Response<super::GetTableSchemaResponse>, tonic::Status>;
type ScanTableStream: tonic::codegen::tokio_stream::Stream<
Item = std::result::Result<super::ScanTableResponse, tonic::Status>,
> + std::marker::Send
+ 'static;
async fn scan_table(
&self,
request: tonic::Request<super::ScanTableRequest>,
) -> std::result::Result<tonic::Response<Self::ScanTableStream>, tonic::Status>;
async fn write_table(
&self,
request: tonic::Request<tonic::Streaming<super::WriteTableRequest>>,
) -> std::result::Result<tonic::Response<super::WriteTableResponse>, tonic::Status>;
async fn query_tasks(
&self,
request: tonic::Request<super::QueryTasksRequest>,
) -> std::result::Result<tonic::Response<super::QueryTasksResponse>, tonic::Status>;
type QueryTasksOnCompletionStream: tonic::codegen::tokio_stream::Stream<
Item = std::result::Result<super::QueryTasksOnCompletionResponse, tonic::Status>,
> + std::marker::Send
+ 'static;
async fn query_tasks_on_completion(
&self,
request: tonic::Request<super::QueryTasksOnCompletionRequest>,
) -> std::result::Result<tonic::Response<Self::QueryTasksOnCompletionStream>, tonic::Status>;
async fn do_maintenance(
&self,
request: tonic::Request<super::DoMaintenanceRequest>,
) -> std::result::Result<tonic::Response<super::DoMaintenanceResponse>, tonic::Status>;
async fn do_global_maintenance(
&self,
request: tonic::Request<super::DoGlobalMaintenanceRequest>,
) -> std::result::Result<tonic::Response<super::DoGlobalMaintenanceResponse>, tonic::Status>;
}
#[derive(Debug)]
pub struct RerunCloudServiceServer<T> {
inner: Arc<T>,
accept_compression_encodings: EnabledCompressionEncodings,
send_compression_encodings: EnabledCompressionEncodings,
max_decoding_message_size: Option<usize>,
max_encoding_message_size: Option<usize>,
}
impl<T> RerunCloudServiceServer<T> {
pub fn new(inner: T) -> Self {
Self::from_arc(Arc::new(inner))
}
pub fn from_arc(inner: Arc<T>) -> Self {
Self {
inner,
accept_compression_encodings: Default::default(),
send_compression_encodings: Default::default(),
max_decoding_message_size: None,
max_encoding_message_size: None,
}
}
pub fn with_interceptor<F>(inner: T, interceptor: F) -> InterceptedService<Self, F>
where
F: tonic::service::Interceptor,
{
InterceptedService::new(Self::new(inner), interceptor)
}
#[must_use]
pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
self.accept_compression_encodings.enable(encoding);
self
}
#[must_use]
pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
self.send_compression_encodings.enable(encoding);
self
}
#[must_use]
pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
self.max_decoding_message_size = Some(limit);
self
}
#[must_use]
pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
self.max_encoding_message_size = Some(limit);
self
}
}
impl<T, B> tonic::codegen::Service<http::Request<B>> for RerunCloudServiceServer<T>
where
T: RerunCloudService,
B: Body + std::marker::Send + 'static,
B::Error: Into<StdError> + std::marker::Send + 'static,
{
type Response = http::Response<tonic::body::Body>;
type Error = std::convert::Infallible;
type Future = BoxFuture<Self::Response, Self::Error>;
fn poll_ready(
&mut self,
_cx: &mut Context<'_>,
) -> Poll<std::result::Result<(), Self::Error>> {
Poll::Ready(Ok(()))
}
fn call(&mut self, req: http::Request<B>) -> Self::Future {
match req.uri().path() {
"/rerun.cloud.v1alpha1.RerunCloudService/Version" => {
#[allow(non_camel_case_types)]
struct VersionSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService> tonic::server::UnaryService<super::VersionRequest> for VersionSvc<T> {
type Response = super::VersionResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::VersionRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::version(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = VersionSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/WhoAmI" => {
#[allow(non_camel_case_types)]
struct WhoAmISvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService> tonic::server::UnaryService<super::WhoAmIRequest> for WhoAmISvc<T> {
type Response = super::WhoAmIResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::WhoAmIRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::who_am_i(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = WhoAmISvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/FindEntries" => {
#[allow(non_camel_case_types)]
struct FindEntriesSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::FindEntriesRequest>
for FindEntriesSvc<T>
{
type Response = super::FindEntriesResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::FindEntriesRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::find_entries(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = FindEntriesSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/DeleteEntry" => {
#[allow(non_camel_case_types)]
struct DeleteEntrySvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::DeleteEntryRequest>
for DeleteEntrySvc<T>
{
type Response = super::DeleteEntryResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::DeleteEntryRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::delete_entry(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = DeleteEntrySvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/UpdateEntry" => {
#[allow(non_camel_case_types)]
struct UpdateEntrySvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::UpdateEntryRequest>
for UpdateEntrySvc<T>
{
type Response = super::UpdateEntryResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::UpdateEntryRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::update_entry(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = UpdateEntrySvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/CreateDatasetEntry" => {
#[allow(non_camel_case_types)]
struct CreateDatasetEntrySvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::CreateDatasetEntryRequest>
for CreateDatasetEntrySvc<T>
{
type Response = super::CreateDatasetEntryResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::CreateDatasetEntryRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::create_dataset_entry(&inner, request)
.await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = CreateDatasetEntrySvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/CreateTableEntry" => {
#[allow(non_camel_case_types)]
struct CreateTableEntrySvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::CreateTableEntryRequest>
for CreateTableEntrySvc<T>
{
type Response = super::CreateTableEntryResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::CreateTableEntryRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::create_table_entry(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = CreateTableEntrySvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/ReadDatasetEntry" => {
#[allow(non_camel_case_types)]
struct ReadDatasetEntrySvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::ReadDatasetEntryRequest>
for ReadDatasetEntrySvc<T>
{
type Response = super::ReadDatasetEntryResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::ReadDatasetEntryRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::read_dataset_entry(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = ReadDatasetEntrySvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/UpdateDatasetEntry" => {
#[allow(non_camel_case_types)]
struct UpdateDatasetEntrySvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::UpdateDatasetEntryRequest>
for UpdateDatasetEntrySvc<T>
{
type Response = super::UpdateDatasetEntryResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::UpdateDatasetEntryRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::update_dataset_entry(&inner, request)
.await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = UpdateDatasetEntrySvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/ReadTableEntry" => {
#[allow(non_camel_case_types)]
struct ReadTableEntrySvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::ReadTableEntryRequest>
for ReadTableEntrySvc<T>
{
type Response = super::ReadTableEntryResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::ReadTableEntryRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::read_table_entry(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = ReadTableEntrySvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/RegisterWithDataset" => {
#[allow(non_camel_case_types)]
struct RegisterWithDatasetSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::RegisterWithDatasetRequest>
for RegisterWithDatasetSvc<T>
{
type Response = super::RegisterWithDatasetResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::RegisterWithDatasetRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::register_with_dataset(&inner, request)
.await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = RegisterWithDatasetSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/UnregisterFromDataset" => {
#[allow(non_camel_case_types)]
struct UnregisterFromDatasetSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::ServerStreamingService<super::UnregisterFromDatasetRequest>
for UnregisterFromDatasetSvc<T>
{
type Response = super::UnregisterFromDatasetResponse;
type ResponseStream = T::UnregisterFromDatasetStream;
type Future =
BoxFuture<tonic::Response<Self::ResponseStream>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::UnregisterFromDatasetRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::unregister_from_dataset(&inner, request)
.await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = UnregisterFromDatasetSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.server_streaming(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/WriteChunks" => {
#[allow(non_camel_case_types)]
struct WriteChunksSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::ClientStreamingService<super::WriteChunksRequest>
for WriteChunksSvc<T>
{
type Response = super::WriteChunksResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<tonic::Streaming<super::WriteChunksRequest>>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::write_chunks(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = WriteChunksSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.client_streaming(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/GetSegmentTableSchema" => {
#[allow(non_camel_case_types)]
struct GetSegmentTableSchemaSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::GetSegmentTableSchemaRequest>
for GetSegmentTableSchemaSvc<T>
{
type Response = super::GetSegmentTableSchemaResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::GetSegmentTableSchemaRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::get_segment_table_schema(&inner, request)
.await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = GetSegmentTableSchemaSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/ScanSegmentTable" => {
#[allow(non_camel_case_types)]
struct ScanSegmentTableSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::ServerStreamingService<super::ScanSegmentTableRequest>
for ScanSegmentTableSvc<T>
{
type Response = super::ScanSegmentTableResponse;
type ResponseStream = T::ScanSegmentTableStream;
type Future =
BoxFuture<tonic::Response<Self::ResponseStream>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::ScanSegmentTableRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::scan_segment_table(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = ScanSegmentTableSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.server_streaming(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/GetDatasetManifestSchema" => {
#[allow(non_camel_case_types)]
struct GetDatasetManifestSchemaSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::GetDatasetManifestSchemaRequest>
for GetDatasetManifestSchemaSvc<T>
{
type Response = super::GetDatasetManifestSchemaResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::GetDatasetManifestSchemaRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::get_dataset_manifest_schema(
&inner, request,
)
.await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = GetDatasetManifestSchemaSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/ScanDatasetManifest" => {
#[allow(non_camel_case_types)]
struct ScanDatasetManifestSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::ServerStreamingService<super::ScanDatasetManifestRequest>
for ScanDatasetManifestSvc<T>
{
type Response = super::ScanDatasetManifestResponse;
type ResponseStream = T::ScanDatasetManifestStream;
type Future =
BoxFuture<tonic::Response<Self::ResponseStream>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::ScanDatasetManifestRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::scan_dataset_manifest(&inner, request)
.await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = ScanDatasetManifestSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.server_streaming(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/GetDatasetSchema" => {
#[allow(non_camel_case_types)]
struct GetDatasetSchemaSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::GetDatasetSchemaRequest>
for GetDatasetSchemaSvc<T>
{
type Response = super::GetDatasetSchemaResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::GetDatasetSchemaRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::get_dataset_schema(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = GetDatasetSchemaSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/GetRrdManifest" => {
#[allow(non_camel_case_types)]
struct GetRrdManifestSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::ServerStreamingService<super::GetRrdManifestRequest>
for GetRrdManifestSvc<T>
{
type Response = super::GetRrdManifestResponse;
type ResponseStream = T::GetRrdManifestStream;
type Future =
BoxFuture<tonic::Response<Self::ResponseStream>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::GetRrdManifestRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::get_rrd_manifest(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = GetRrdManifestSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.server_streaming(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/CreateIndex" => {
#[allow(non_camel_case_types)]
struct CreateIndexSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::CreateIndexRequest>
for CreateIndexSvc<T>
{
type Response = super::CreateIndexResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::CreateIndexRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::create_index(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = CreateIndexSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/ListIndexes" => {
#[allow(non_camel_case_types)]
struct ListIndexesSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::ListIndexesRequest>
for ListIndexesSvc<T>
{
type Response = super::ListIndexesResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::ListIndexesRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::list_indexes(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = ListIndexesSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/DeleteIndexes" => {
#[allow(non_camel_case_types)]
struct DeleteIndexesSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::DeleteIndexesRequest>
for DeleteIndexesSvc<T>
{
type Response = super::DeleteIndexesResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::DeleteIndexesRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::delete_indexes(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = DeleteIndexesSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/SearchDataset" => {
#[allow(non_camel_case_types)]
struct SearchDatasetSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::ServerStreamingService<super::SearchDatasetRequest>
for SearchDatasetSvc<T>
{
type Response = super::SearchDatasetResponse;
type ResponseStream = T::SearchDatasetStream;
type Future =
BoxFuture<tonic::Response<Self::ResponseStream>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::SearchDatasetRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::search_dataset(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = SearchDatasetSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.server_streaming(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/QueryDataset" => {
#[allow(non_camel_case_types)]
struct QueryDatasetSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::ServerStreamingService<super::QueryDatasetRequest>
for QueryDatasetSvc<T>
{
type Response = super::QueryDatasetResponse;
type ResponseStream = T::QueryDatasetStream;
type Future =
BoxFuture<tonic::Response<Self::ResponseStream>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::QueryDatasetRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::query_dataset(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = QueryDatasetSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.server_streaming(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/FetchChunks" => {
#[allow(non_camel_case_types)]
struct FetchChunksSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::ServerStreamingService<super::FetchChunksRequest>
for FetchChunksSvc<T>
{
type Response = super::FetchChunksResponse;
type ResponseStream = T::FetchChunksStream;
type Future =
BoxFuture<tonic::Response<Self::ResponseStream>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::FetchChunksRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::fetch_chunks(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = FetchChunksSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.server_streaming(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/RegisterTable" => {
#[allow(non_camel_case_types)]
struct RegisterTableSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::RegisterTableRequest>
for RegisterTableSvc<T>
{
type Response = super::RegisterTableResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::RegisterTableRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::register_table(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = RegisterTableSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/GetTableSchema" => {
#[allow(non_camel_case_types)]
struct GetTableSchemaSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::GetTableSchemaRequest>
for GetTableSchemaSvc<T>
{
type Response = super::GetTableSchemaResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::GetTableSchemaRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::get_table_schema(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = GetTableSchemaSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/ScanTable" => {
#[allow(non_camel_case_types)]
struct ScanTableSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::ServerStreamingService<super::ScanTableRequest>
for ScanTableSvc<T>
{
type Response = super::ScanTableResponse;
type ResponseStream = T::ScanTableStream;
type Future =
BoxFuture<tonic::Response<Self::ResponseStream>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::ScanTableRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::scan_table(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = ScanTableSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.server_streaming(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/WriteTable" => {
#[allow(non_camel_case_types)]
struct WriteTableSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::ClientStreamingService<super::WriteTableRequest>
for WriteTableSvc<T>
{
type Response = super::WriteTableResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<tonic::Streaming<super::WriteTableRequest>>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::write_table(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = WriteTableSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.client_streaming(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/QueryTasks" => {
#[allow(non_camel_case_types)]
struct QueryTasksSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService> tonic::server::UnaryService<super::QueryTasksRequest>
for QueryTasksSvc<T>
{
type Response = super::QueryTasksResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::QueryTasksRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::query_tasks(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = QueryTasksSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/QueryTasksOnCompletion" => {
#[allow(non_camel_case_types)]
struct QueryTasksOnCompletionSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::ServerStreamingService<super::QueryTasksOnCompletionRequest>
for QueryTasksOnCompletionSvc<T>
{
type Response = super::QueryTasksOnCompletionResponse;
type ResponseStream = T::QueryTasksOnCompletionStream;
type Future =
BoxFuture<tonic::Response<Self::ResponseStream>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::QueryTasksOnCompletionRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::query_tasks_on_completion(&inner, request)
.await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = QueryTasksOnCompletionSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.server_streaming(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/DoMaintenance" => {
#[allow(non_camel_case_types)]
struct DoMaintenanceSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::DoMaintenanceRequest>
for DoMaintenanceSvc<T>
{
type Response = super::DoMaintenanceResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::DoMaintenanceRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::do_maintenance(&inner, request).await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = DoMaintenanceSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
"/rerun.cloud.v1alpha1.RerunCloudService/DoGlobalMaintenance" => {
#[allow(non_camel_case_types)]
struct DoGlobalMaintenanceSvc<T: RerunCloudService>(pub Arc<T>);
impl<T: RerunCloudService>
tonic::server::UnaryService<super::DoGlobalMaintenanceRequest>
for DoGlobalMaintenanceSvc<T>
{
type Response = super::DoGlobalMaintenanceResponse;
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
fn call(
&mut self,
request: tonic::Request<super::DoGlobalMaintenanceRequest>,
) -> Self::Future {
let inner = Arc::clone(&self.0);
let fut = async move {
<T as RerunCloudService>::do_global_maintenance(&inner, request)
.await
};
Box::pin(fut)
}
}
let accept_compression_encodings = self.accept_compression_encodings;
let send_compression_encodings = self.send_compression_encodings;
let max_decoding_message_size = self.max_decoding_message_size;
let max_encoding_message_size = self.max_encoding_message_size;
let inner = self.inner.clone();
let fut = async move {
let method = DoGlobalMaintenanceSvc(inner);
let codec = tonic_prost::ProstCodec::default();
let mut grpc = tonic::server::Grpc::new(codec)
.apply_compression_config(
accept_compression_encodings,
send_compression_encodings,
)
.apply_max_message_size_config(
max_decoding_message_size,
max_encoding_message_size,
);
let res = grpc.unary(method, req).await;
Ok(res)
};
Box::pin(fut)
}
_ => Box::pin(async move {
let mut response = http::Response::new(tonic::body::Body::default());
let headers = response.headers_mut();
headers.insert(
tonic::Status::GRPC_STATUS,
(tonic::Code::Unimplemented as i32).into(),
);
headers.insert(
http::header::CONTENT_TYPE,
tonic::metadata::GRPC_CONTENT_TYPE,
);
Ok(response)
}),
}
}
}
impl<T> Clone for RerunCloudServiceServer<T> {
fn clone(&self) -> Self {
let inner = self.inner.clone();
Self {
inner,
accept_compression_encodings: self.accept_compression_encodings,
send_compression_encodings: self.send_compression_encodings,
max_decoding_message_size: self.max_decoding_message_size,
max_encoding_message_size: self.max_encoding_message_size,
}
}
}
pub const SERVICE_NAME: &str = "rerun.cloud.v1alpha1.RerunCloudService";
impl<T> tonic::server::NamedService for RerunCloudServiceServer<T> {
const NAME: &'static str = SERVICE_NAME;
}
}