vortex_proto/generated/
vortex.scalar.rs

1// This file is @generated by prost-build.
2#[derive(Clone, PartialEq, ::prost::Message)]
3pub struct Scalar {
4    #[prost(message, optional, tag = "1")]
5    pub dtype: ::core::option::Option<super::dtype::DType>,
6    #[prost(message, optional, tag = "2")]
7    pub value: ::core::option::Option<ScalarValue>,
8}
9#[derive(Clone, PartialEq, ::prost::Message)]
10pub struct ScalarValue {
11    #[prost(
12        oneof = "scalar_value::Kind",
13        tags = "1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16"
14    )]
15    pub kind: ::core::option::Option<scalar_value::Kind>,
16}
17/// Nested message and enum types in `ScalarValue`.
18pub mod scalar_value {
19    #[derive(Clone, PartialEq, ::prost::Oneof)]
20    pub enum Kind {
21        #[prost(enumeration = "::prost_types::NullValue", tag = "1")]
22        NullValue(i32),
23        #[prost(bool, tag = "2")]
24        BoolValue(bool),
25        #[prost(sint32, tag = "3")]
26        Int8Value(i32),
27        #[prost(sint32, tag = "4")]
28        Int16Value(i32),
29        #[prost(sint32, tag = "5")]
30        Int32Value(i32),
31        #[prost(sint64, tag = "6")]
32        Int64Value(i64),
33        #[prost(uint32, tag = "7")]
34        Uint8Value(u32),
35        #[prost(uint32, tag = "8")]
36        Uint16Value(u32),
37        #[prost(uint32, tag = "9")]
38        Uint32Value(u32),
39        #[prost(uint64, tag = "10")]
40        Uint64Value(u64),
41        /// two bytes
42        #[prost(uint32, tag = "11")]
43        F16Value(u32),
44        #[prost(float, tag = "12")]
45        F32Value(f32),
46        #[prost(double, tag = "13")]
47        F64Value(f64),
48        #[prost(string, tag = "14")]
49        StringValue(::prost::alloc::string::String),
50        #[prost(bytes, tag = "15")]
51        BytesValue(::prost::alloc::vec::Vec<u8>),
52        #[prost(message, tag = "16")]
53        ListValue(super::ListValue),
54    }
55}
56#[derive(Clone, PartialEq, ::prost::Message)]
57pub struct ListValue {
58    #[prost(message, repeated, tag = "1")]
59    pub values: ::prost::alloc::vec::Vec<ScalarValue>,
60}