re_protos 0.37.0

Rerun remote gRPC/protobuf API types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
// This file is @generated by prost-build.
/// RerunChunk is arrow IPC encoded RecordBatch that has
/// rerun-specific semantic constraints and can be directly
/// converted to a Rerun Chunk (`re_chunk::Chunk`)
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RerunChunk {
    /// encoder version used to encode the data
    #[prost(enumeration = "EncoderVersion", tag = "1")]
    pub encoder_version: i32,
    /// Data payload is Arrow IPC encoded RecordBatch
    #[prost(bytes = "bytes", optional, tag = "2")]
    pub payload: ::core::option::Option<::prost::bytes::Bytes>,
}
impl ::prost::Name for RerunChunk {
    const NAME: &'static str = "RerunChunk";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.RerunChunk".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.RerunChunk".into()
    }
}
/// uniquely identifies a table
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TableId {
    /// The identifier itself.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
impl ::prost::Name for TableId {
    const NAME: &'static str = "TableId";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.TableId".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.TableId".into()
    }
}
/// A recording can have multiple timelines, each is identified by a name, for example `log_tick`, `log_time`, etc.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Timeline {
    /// Name of the timeline, e.g. `log_time`.
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
}
impl ::prost::Name for Timeline {
    const NAME: &'static str = "Timeline";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.Timeline".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.Timeline".into()
    }
}
/// A point in time on a timeline: a sequence index for sequence timelines, or nanoseconds for temporal timelines.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TimelineTime {
    /// The time value. Its meaning depends on the timeline's `TimeType`.
    #[prost(int64, tag = "1")]
    pub time: i64,
}
impl ::prost::Name for TimelineTime {
    const NAME: &'static str = "TimelineTime";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.TimelineTime".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.TimelineTime".into()
    }
}
/// A time range between start and end time points. Each 64 bit number can represent different time point data
/// depending on the timeline it is associated with. Time range is inclusive for both start and end time points.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TimeRange {
    /// First time point of the range, inclusive.
    #[prost(int64, tag = "1")]
    pub start: i64,
    /// Last time point of the range, inclusive.
    #[prost(int64, tag = "2")]
    pub end: i64,
}
impl ::prost::Name for TimeRange {
    const NAME: &'static str = "TimeRange";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.TimeRange".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.TimeRange".into()
    }
}
/// arrow IPC serialized schema
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Schema {
    /// The schema, as Arrow IPC serialized bytes.
    #[prost(bytes = "bytes", optional, tag = "1")]
    pub arrow_schema: ::core::option::Option<::prost::bytes::Bytes>,
}
impl ::prost::Name for Schema {
    const NAME: &'static str = "Schema";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.Schema".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.Schema".into()
    }
}
/// Selects a single index column to query along.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct IndexColumnSelector {
    /// TODO(zehiko) we need to add support for other types of index selectors
    #[prost(message, optional, tag = "1")]
    pub timeline: ::core::option::Option<Timeline>,
}
impl ::prost::Name for IndexColumnSelector {
    const NAME: &'static str = "IndexColumnSelector";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.IndexColumnSelector".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.IndexColumnSelector".into()
    }
}
/// A range of values along an index column.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct IndexRange {
    /// TODO(zehiko) support for other ranges for other index selectors
    #[prost(message, optional, tag = "1")]
    pub time_range: ::core::option::Option<TimeRange>,
}
impl ::prost::Name for IndexRange {
    const NAME: &'static str = "IndexRange";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.IndexRange".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.IndexRange".into()
    }
}
/// The unique identifier of an entity, e.g. `camera/3/points`
/// See <<https://www.rerun.io/docs/concepts/logging-and-ingestion/entity-path>> for more on entity paths.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct EntityPath {
    /// The path itself, e.g. `camera/3/points`.
    #[prost(string, tag = "1")]
    pub path: ::prost::alloc::string::String,
}
impl ::prost::Name for EntityPath {
    const NAME: &'static str = "EntityPath";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.EntityPath".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.EntityPath".into()
    }
}
/// User-chosen name of the application doing the logging.
///
/// Catalog-backed data has no logging application, so the client synthesizes an id
/// (`re_log_types::ApplicationId::from_entry_id` / `from_asset`): the dataset entry id for a
/// segment, `{dataset_entry_id}-{asset_id}` for an asset, and the table entry id for a table
/// blueprint. Servers never populate this field.
/// TODO(RR-1358), TODO(RR-4857): remove synthetic application IDs from catalog-backed data.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ApplicationId {
    /// The identifier itself.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
impl ::prost::Name for ApplicationId {
    const NAME: &'static str = "ApplicationId";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.ApplicationId".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.ApplicationId".into()
    }
}
/// Uniquely identifies a store, i.e. a recording or a blueprint.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct StoreId {
    /// The kind of the store.
    #[prost(enumeration = "StoreKind", tag = "1")]
    pub kind: i32,
    /// The recording id of the store. For remote stores, this is the segment id. For blueprint store, this is an
    /// arbitrary uuid.
    #[prost(string, tag = "2")]
    pub recording_id: ::prost::alloc::string::String,
    /// User-chosen name of the application doing the logging.
    /// Synthesized by the client for catalog-backed stores; see `ApplicationId`.
    #[prost(message, optional, tag = "3")]
    pub application_id: ::core::option::Option<ApplicationId>,
}
impl ::prost::Name for StoreId {
    const NAME: &'static str = "StoreId";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.StoreId".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.StoreId".into()
    }
}
/// A time-ordered globally unique 128-bit identifier. Mirrors `re_tuid::Tuid`.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct Tuid {
    /// Approximate nanoseconds since epoch. The upper 64 bits of the `Tuid`. Required.
    #[prost(fixed64, optional, tag = "1")]
    pub time_ns: ::core::option::Option<u64>,
    /// Initialized to something random on each thread, then incremented for each
    /// new `Tuid` being allocated. The lower 64 bits of the `Tuid`. Required.
    #[prost(fixed64, optional, tag = "2")]
    pub inc: ::core::option::Option<u64>,
}
impl ::prost::Name for Tuid {
    const NAME: &'static str = "Tuid";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.Tuid".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.Tuid".into()
    }
}
/// Uniquely identifies a catalog entry, i.e. a dataset or a table.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct EntryId {
    /// The identifier itself.
    #[prost(message, optional, tag = "1")]
    pub id: ::core::option::Option<Tuid>,
}
impl ::prost::Name for EntryId {
    const NAME: &'static str = "EntryId";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.EntryId".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.EntryId".into()
    }
}
/// Entry point for all ManifestWriterService APIs
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DatasetHandle {
    /// Unique entry identifier (for debug purposes)
    #[prost(message, optional, tag = "1")]
    pub entry_id: ::core::option::Option<EntryId>,
    /// The kind of dataset this handle refers to.
    ///
    /// Deprecated: use `dataset_kind` instead.
    #[deprecated]
    #[prost(enumeration = "StoreKind", tag = "3")]
    pub store_kind: i32,
    /// The kind of dataset this handle refers to.
    #[prost(enumeration = "DatasetKind", tag = "4")]
    pub dataset_kind: i32,
    /// Path to Dataset backing storage (e.g. s3://bucket/file or file:///path/to/file)
    #[prost(string, optional, tag = "2")]
    pub dataset_url: ::core::option::Option<::prost::alloc::string::String>,
}
impl ::prost::Name for DatasetHandle {
    const NAME: &'static str = "DatasetHandle";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.DatasetHandle".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.DatasetHandle".into()
    }
}
/// DataframePart is arrow IPC encoded RecordBatch
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DataframePart {
    /// encoder version used to encode the data
    #[prost(enumeration = "EncoderVersion", tag = "1")]
    pub encoder_version: i32,
    /// Data payload is Arrow IPC encoded RecordBatch
    #[prost(bytes = "bytes", optional, tag = "2")]
    pub payload: ::core::option::Option<::prost::bytes::Bytes>,
    /// Compression used.
    ///
    /// This was introduced late in `DataframePart`'s lifetime, and therefore might be unspecified
    /// in many real world recordings out there.
    /// Unspecified is synonymous with uncompressed in this case.
    #[prost(enumeration = "Compression", tag = "3")]
    pub compression: i32,
    /// How large is the uncompressed data?
    ///
    /// The value is undefined if `self.compression == Off`.
    ///
    /// This was introduced late in `DataframePart`'s lifetime, and therefore might be unspecified
    /// in many real world recordings out there (which is fine, because they are all implicitly
    /// using `Compression::Off`).
    #[prost(uint64, tag = "4")]
    pub uncompressed_size: u64,
}
impl ::prost::Name for DataframePart {
    const NAME: &'static str = "DataframePart";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.DataframePart".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.DataframePart".into()
    }
}
/// Generic parameters that will influence the behavior of the Lance scanner.
///
/// TODO(zehiko, cmc): This should be available for every endpoint that queries data in
/// one way or another.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ScanParameters {
    /// List of columns to project. If empty, all columns will be projected.
    #[prost(string, repeated, tag = "1")]
    pub columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// What to do about entries of `columns` that the table does not have.
    #[prost(enumeration = "IfMissingBehavior", tag = "2")]
    pub on_missing_columns: i32,
    /// An arbitrary filter expression that will be passed to the Lance scanner as-is.
    ///
    /// ```text
    /// scanner.filter(filter)
    /// ```
    #[prost(string, optional, tag = "3")]
    pub filter: ::core::option::Option<::prost::alloc::string::String>,
    /// An arbitrary offset that will be passed to the Lance scanner as-is.
    ///
    /// ```text
    /// scanner.limit(_, limit_offset)
    /// ```
    #[prost(int64, optional, tag = "4")]
    pub limit_offset: ::core::option::Option<i64>,
    /// An arbitrary limit that will be passed to the Lance scanner as-is.
    ///
    /// ```text
    /// scanner.limit(limit_len, _)
    /// ```
    #[prost(int64, optional, tag = "5")]
    pub limit_len: ::core::option::Option<i64>,
    /// An arbitrary order clause that will be passed to the Lance scanner as-is.
    ///
    /// ```text
    /// scanner.order_by(…)
    /// ```
    #[prost(message, repeated, tag = "6")]
    pub order_by: ::prost::alloc::vec::Vec<ScanParametersOrderClause>,
    /// If set, the output of `scanner.explain_plan` will be dumped to the server's log.
    #[prost(bool, tag = "7")]
    pub explain_plan: bool,
    /// If set, the final `scanner.filter` will be dumped to the server's log.
    #[prost(bool, tag = "8")]
    pub explain_filter: bool,
}
impl ::prost::Name for ScanParameters {
    const NAME: &'static str = "ScanParameters";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.ScanParameters".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.ScanParameters".into()
    }
}
/// One `ORDER BY` term, passed to the Lance scanner as-is.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ScanParametersOrderClause {
    /// Sort in descending order rather than ascending.
    #[prost(bool, tag = "1")]
    pub descending: bool,
    /// Sort nulls after all other values rather than before them.
    ///
    /// The default (`false`) sorts nulls before all other values.
    #[prost(bool, tag = "2")]
    pub nulls_last: bool,
    /// Name of the column to sort by.
    #[prost(string, optional, tag = "3")]
    pub column_name: ::core::option::Option<::prost::alloc::string::String>,
}
impl ::prost::Name for ScanParametersOrderClause {
    const NAME: &'static str = "ScanParametersOrderClause";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.ScanParametersOrderClause".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.ScanParametersOrderClause".into()
    }
}
/// Unique identifier for a segment. Can be user defined
/// which means it can be of any type. For simplicity we start
/// with a string, but we will probably revisit this.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SegmentId {
    /// The identifier itself.
    #[prost(string, optional, tag = "1")]
    pub id: ::core::option::Option<::prost::alloc::string::String>,
}
impl ::prost::Name for SegmentId {
    const NAME: &'static str = "SegmentId";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.SegmentId".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.SegmentId".into()
    }
}
/// Fully describes the semantics of a column of data. Mirrors `re_types_core::ComponentDescriptor`.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ComponentDescriptor {
    /// Optional name of the `Archetype` associated with this data.
    #[prost(string, optional, tag = "4")]
    pub archetype: ::core::option::Option<::prost::alloc::string::String>,
    /// Identifier of the field within `Archetype` associated with this data.
    #[prost(string, optional, tag = "5")]
    pub component: ::core::option::Option<::prost::alloc::string::String>,
    /// Optional semantic name associated with this data.
    #[prost(string, optional, tag = "6")]
    pub component_type: ::core::option::Option<::prost::alloc::string::String>,
}
impl ::prost::Name for ComponentDescriptor {
    const NAME: &'static str = "ComponentDescriptor";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.ComponentDescriptor".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.ComponentDescriptor".into()
    }
}
/// Unique identifier of a task submitted in the redap
/// tasks subsystem
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct TaskId {
    /// The identifier itself.
    #[prost(string, tag = "1")]
    pub id: ::prost::alloc::string::String,
}
impl ::prost::Name for TaskId {
    const NAME: &'static str = "TaskId";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.TaskId".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.TaskId".into()
    }
}
/// Mirrors `re_build_info::BuildInfo`.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct BuildInfo {
    /// `CARGO_PKG_NAME`.
    #[prost(string, optional, tag = "1")]
    pub crate_name: ::core::option::Option<::prost::alloc::string::String>,
    /// Space-separated names of all features enabled for this crate.
    #[prost(string, optional, tag = "2")]
    pub features: ::core::option::Option<::prost::alloc::string::String>,
    /// Crate version, parsed from `CARGO_PKG_VERSION`, ignoring any `+metadata` suffix.
    #[prost(message, optional, tag = "3")]
    pub version: ::core::option::Option<SemanticVersion>,
    /// The raw version string of the Rust compiler used, or an empty string.
    #[prost(string, optional, tag = "4")]
    pub rustc_version: ::core::option::Option<::prost::alloc::string::String>,
    /// The raw version string of the LLVM toolchain used, or an empty string.
    #[prost(string, optional, tag = "5")]
    pub llvm_version: ::core::option::Option<::prost::alloc::string::String>,
    /// Git commit hash, or empty string.
    #[prost(string, optional, tag = "6")]
    pub git_hash: ::core::option::Option<::prost::alloc::string::String>,
    /// Current git branch, or empty string.
    #[prost(string, optional, tag = "7")]
    pub git_branch: ::core::option::Option<::prost::alloc::string::String>,
    /// Target architecture and OS
    ///
    /// Example: `xaarch64-apple-darwin`
    #[prost(string, optional, tag = "8")]
    pub target_triple: ::core::option::Option<::prost::alloc::string::String>,
    /// ISO 8601 / RFC 3339 build time.
    ///
    /// Example: `"2023-02-23T19:33:26Z"`
    ///
    /// Empty if unknown.
    #[prost(string, optional, tag = "9")]
    pub build_time: ::core::option::Option<::prost::alloc::string::String>,
    /// True if this is a debug build.
    #[prost(bool, optional, tag = "10")]
    pub is_debug_build: ::core::option::Option<bool>,
}
impl ::prost::Name for BuildInfo {
    const NAME: &'static str = "BuildInfo";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.BuildInfo".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.BuildInfo".into()
    }
}
/// Mirrors `re_build_info::CrateVersion`.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SemanticVersion {
    /// Major version, e.g. `0` in `0.19.1`.
    #[prost(fixed32, optional, tag = "1")]
    pub major: ::core::option::Option<u32>,
    /// Minor version, e.g. `19` in `0.19.1`.
    #[prost(fixed32, optional, tag = "2")]
    pub minor: ::core::option::Option<u32>,
    /// Patch version, e.g. `1` in `0.19.1`.
    #[prost(fixed32, optional, tag = "3")]
    pub patch: ::core::option::Option<u32>,
    /// The pre-release part of the version, absent for a final release.
    #[prost(oneof = "semantic_version::Meta", tags = "4, 5, 6")]
    pub meta: ::core::option::Option<semantic_version::Meta>,
}
/// Nested message and enum types in `SemanticVersion`.
pub mod semantic_version {
    /// The pre-release part of the version, absent for a final release.
    #[derive(Clone, PartialEq, Eq, Hash, ::prost::Oneof)]
    pub enum Meta {
        /// Release-candidate number, e.g. `2` in `0.19.1-rc.2`.
        #[prost(fixed32, tag = "4")]
        Rc(u32),
        /// Alpha number, e.g. `2` in `0.19.1-alpha.2`.
        #[prost(fixed32, tag = "5")]
        Alpha(u32),
        /// An alpha built from a development checkout, e.g. `0.19.1-alpha.2+dev`.
        #[prost(message, tag = "6")]
        DevAlpha(super::DevAlpha),
    }
}
impl ::prost::Name for SemanticVersion {
    const NAME: &'static str = "SemanticVersion";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.SemanticVersion".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.SemanticVersion".into()
    }
}
/// Mirrors `re_build_info::DevAlpha`.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DevAlpha {
    /// Alpha number, e.g. `2` in `0.19.1-alpha.2+dev`.
    #[prost(fixed32, optional, tag = "1")]
    pub alpha: ::core::option::Option<u32>,
    /// The commit hash, if known. Absent corresponds to `+dev`.
    ///
    /// Populated when encoding, but currently dropped when decoding:
    /// `re_build_info::Meta::DevAlpha::commit` is `Option<&'static \[u8\]>`, so a received
    /// `DevAlpha` always decodes as `+dev`.
    /// TODO(cmc): keep the commit hash on the decode path.
    #[prost(string, optional, tag = "2")]
    pub commit: ::core::option::Option<::prost::alloc::string::String>,
}
impl ::prost::Name for DevAlpha {
    const NAME: &'static str = "DevAlpha";
    const PACKAGE: &'static str = "rerun.common.v1alpha1";
    fn full_name() -> ::prost::alloc::string::String {
        "rerun.common.v1alpha1.DevAlpha".into()
    }
    fn type_url() -> ::prost::alloc::string::String {
        "/rerun.common.v1alpha1.DevAlpha".into()
    }
}
/// The type of compression used on the payload.
///
/// A value outside this enum (a codec added by a newer writer) is rejected outright, rather than
/// read as `COMPRESSION_UNSPECIFIED` and failing later as a corrupt payload.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Compression {
    /// We don't know how the payload is compressed.
    ///
    /// Never written: every encoder sets `NONE` or `LZ4` explicitly. The `ArrowMsg` and
    /// `DataframePart` decoders treat it as `NONE`; `rerun rrd stats` rejects it.
    Unspecified = 0,
    /// No compression.
    None = 1,
    /// LZ4 block compression.
    Lz4 = 2,
}
impl Compression {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "COMPRESSION_UNSPECIFIED",
            Self::None => "COMPRESSION_NONE",
            Self::Lz4 => "COMPRESSION_LZ4",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "COMPRESSION_UNSPECIFIED" => Some(Self::Unspecified),
            "COMPRESSION_NONE" => Some(Self::None),
            "COMPRESSION_LZ4" => Some(Self::Lz4),
            _ => None,
        }
    }
}
/// supported encoder versions for encoding data
/// See `RerunData` and `RerunChunkData` for its usage
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum EncoderVersion {
    /// We don't know which encoder was used.
    ///
    /// Never written, and rejected on read: decoding a `RerunChunk` or `DataframePart` with this
    /// (or an unrecognized) encoder version is an error.
    Unspecified = 0,
    /// The payload is Arrow IPC. This is the only version defined so far.
    V0 = 1,
}
impl EncoderVersion {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "ENCODER_VERSION_UNSPECIFIED",
            Self::V0 => "ENCODER_VERSION_V0",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "ENCODER_VERSION_UNSPECIFIED" => Some(Self::Unspecified),
            "ENCODER_VERSION_V0" => Some(Self::V0),
            _ => None,
        }
    }
}
/// The type of a timeline's time values. Mirrors `re_log_types::TimeType`.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum TimeType {
    /// We don't know what the time values on this timeline mean.
    ///
    /// Never written. There is no conversion from this enum back to `re_log_types::TimeType`;
    /// the only reader (the viewer MCP bridge) renders it, and any unrecognized value, as the
    /// string `unknown`.
    Unspecified = 0,
    /// Used e.g. for frames in a film.
    Sequence = 1,
    /// Duration measured in nanoseconds.
    DurationNs = 2,
    /// Nanoseconds since unix epoch (1970-01-01 00:00:00 UTC).
    TimestampNs = 3,
}
impl TimeType {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "TIME_TYPE_UNSPECIFIED",
            Self::Sequence => "TIME_TYPE_SEQUENCE",
            Self::DurationNs => "TIME_TYPE_DURATION_NS",
            Self::TimestampNs => "TIME_TYPE_TIMESTAMP_NS",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "TIME_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
            "TIME_TYPE_SEQUENCE" => Some(Self::Sequence),
            "TIME_TYPE_DURATION_NS" => Some(Self::DurationNs),
            "TIME_TYPE_TIMESTAMP_NS" => Some(Self::TimestampNs),
            _ => None,
        }
    }
}
/// What a store holds. Mirrors `re_log_types::StoreKind`.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum StoreKind {
    /// We don't know what this store holds.
    ///
    /// Never written. Silently read as `STORE_KIND_RECORDING`, as is any unrecognized value.
    Unspecified = 0,
    /// A recording of user data.
    Recording = 1,
    /// Data associated with the blueprint state, i.e. how the viewer is laid out.
    Blueprint = 2,
}
impl StoreKind {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "STORE_KIND_UNSPECIFIED",
            Self::Recording => "STORE_KIND_RECORDING",
            Self::Blueprint => "STORE_KIND_BLUEPRINT",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "STORE_KIND_UNSPECIFIED" => Some(Self::Unspecified),
            "STORE_KIND_RECORDING" => Some(Self::Recording),
            "STORE_KIND_BLUEPRINT" => Some(Self::Blueprint),
            _ => None,
        }
    }
}
/// What type of dataset.
///
/// This affects limits on what can be registered to the dataset.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum DatasetKind {
    /// Always reserve unspecified as default value
    Unspecified = 0,
    /// Holds recording segments. No registration limits.
    Recording = 1,
    /// Holds blueprints. Segments are size-capped, since a blueprint is small.
    Blueprint = 2,
    /// Holds a small set of static blobs shared across a dataset's segments.
    ///
    /// Deliberately kept small: static chunks only, plus a segment size and count cap.
    Asset = 3,
}
impl DatasetKind {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "DATASET_KIND_UNSPECIFIED",
            Self::Recording => "DATASET_KIND_RECORDING",
            Self::Blueprint => "DATASET_KIND_BLUEPRINT",
            Self::Asset => "DATASET_KIND_ASSET",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "DATASET_KIND_UNSPECIFIED" => Some(Self::Unspecified),
            "DATASET_KIND_RECORDING" => Some(Self::Recording),
            "DATASET_KIND_BLUEPRINT" => Some(Self::Blueprint),
            "DATASET_KIND_ASSET" => Some(Self::Asset),
            _ => None,
        }
    }
}
/// Specify how the relevant call behaves when something it refers to does not exist.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum IfMissingBehavior {
    /// Always reserve unspecified as default value.
    Unspecified = 0,
    /// Ignore the missing item and carry on.
    Skip = 1,
    /// Return an error if the item is missing.
    Error = 2,
}
impl IfMissingBehavior {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "IF_MISSING_BEHAVIOR_UNSPECIFIED",
            Self::Skip => "IF_MISSING_BEHAVIOR_SKIP",
            Self::Error => "IF_MISSING_BEHAVIOR_ERROR",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "IF_MISSING_BEHAVIOR_UNSPECIFIED" => Some(Self::Unspecified),
            "IF_MISSING_BEHAVIOR_SKIP" => Some(Self::Skip),
            "IF_MISSING_BEHAVIOR_ERROR" => Some(Self::Error),
            _ => None,
        }
    }
}
/// Specify how the relevant creation call behaves
/// in case of previously created (duplicate) items
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum IfDuplicateBehavior {
    /// Always reserve unspecified as default value.
    Unspecified = 0,
    /// Overwrite the existing item
    Overwrite = 1,
    /// Skip if the item already exists
    Skip = 2,
    /// Return an error if the item already exists
    Error = 3,
}
impl IfDuplicateBehavior {
    /// String value of the enum field names used in the ProtoBuf definition.
    ///
    /// The values are not transformed in any way and thus are considered stable
    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
    pub fn as_str_name(&self) -> &'static str {
        match self {
            Self::Unspecified => "IF_DUPLICATE_BEHAVIOR_UNSPECIFIED",
            Self::Overwrite => "IF_DUPLICATE_BEHAVIOR_OVERWRITE",
            Self::Skip => "IF_DUPLICATE_BEHAVIOR_SKIP",
            Self::Error => "IF_DUPLICATE_BEHAVIOR_ERROR",
        }
    }
    /// Creates an enum from field names used in the ProtoBuf definition.
    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
        match value {
            "IF_DUPLICATE_BEHAVIOR_UNSPECIFIED" => Some(Self::Unspecified),
            "IF_DUPLICATE_BEHAVIOR_OVERWRITE" => Some(Self::Overwrite),
            "IF_DUPLICATE_BEHAVIOR_SKIP" => Some(Self::Skip),
            "IF_DUPLICATE_BEHAVIOR_ERROR" => Some(Self::Error),
            _ => None,
        }
    }
}