#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoRelationType {
#[prost(message, repeated, tag = "1")]
pub column_types: ::prost::alloc::vec::Vec<ProtoColumnType>,
#[prost(message, repeated, tag = "2")]
pub keys: ::prost::alloc::vec::Vec<proto_relation_type::ProtoKey>,
}
pub mod proto_relation_type {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoKey {
#[prost(uint64, repeated, tag = "1")]
pub keys: ::prost::alloc::vec::Vec<u64>,
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoColumnName {
#[prost(string, optional, tag = "1")]
pub value: ::core::option::Option<::prost::alloc::string::String>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoColumnType {
#[prost(message, optional, tag = "1")]
pub scalar_type: ::core::option::Option<ProtoScalarType>,
#[prost(bool, tag = "2")]
pub nullable: bool,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoRelationDesc {
#[prost(message, optional, tag = "1")]
pub typ: ::core::option::Option<ProtoRelationType>,
#[prost(message, repeated, tag = "2")]
pub names: ::prost::alloc::vec::Vec<ProtoColumnName>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoScalarType {
#[prost(
oneof = "proto_scalar_type::Kind",
tags = "1, 2, 3, 4, 5, 6, 7, 8, 9, 37, 38, 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"
)]
pub kind: ::core::option::Option<proto_scalar_type::Kind>,
}
pub mod proto_scalar_type {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoChar {
#[prost(message, optional, tag = "1")]
pub length: ::core::option::Option<super::super::adt::char::ProtoCharLength>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoVarChar {
#[prost(message, optional, tag = "1")]
pub max_length: ::core::option::Option<
super::super::adt::varchar::ProtoVarCharMaxLength,
>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoList {
#[prost(message, optional, boxed, tag = "1")]
pub element_type: ::core::option::Option<
::prost::alloc::boxed::Box<super::ProtoScalarType>,
>,
#[prost(message, optional, tag = "3")]
pub custom_id: ::core::option::Option<super::super::global_id::ProtoGlobalId>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoRecordField {
#[prost(message, optional, tag = "1")]
pub column_name: ::core::option::Option<super::ProtoColumnName>,
#[prost(message, optional, tag = "2")]
pub column_type: ::core::option::Option<super::ProtoColumnType>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoRecord {
#[prost(message, repeated, tag = "1")]
pub fields: ::prost::alloc::vec::Vec<ProtoRecordField>,
#[prost(message, optional, tag = "4")]
pub custom_id: ::core::option::Option<super::super::global_id::ProtoGlobalId>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoMap {
#[prost(message, optional, boxed, tag = "1")]
pub value_type: ::core::option::Option<
::prost::alloc::boxed::Box<super::ProtoScalarType>,
>,
#[prost(message, optional, tag = "3")]
pub custom_id: ::core::option::Option<super::super::global_id::ProtoGlobalId>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoRange {
#[prost(message, optional, boxed, tag = "1")]
pub element_type: ::core::option::Option<
::prost::alloc::boxed::Box<super::ProtoScalarType>,
>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoTimestamp {
#[prost(message, optional, tag = "1")]
pub precision: ::core::option::Option<
super::super::adt::timestamp::ProtoTimestampPrecision,
>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoTimestampTz {
#[prost(message, optional, tag = "1")]
pub precision: ::core::option::Option<
super::super::adt::timestamp::ProtoTimestampPrecision,
>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Bool(()),
#[prost(message, tag = "2")]
Int16(()),
#[prost(message, tag = "3")]
Int32(()),
#[prost(message, tag = "4")]
Int64(()),
#[prost(message, tag = "5")]
Float32(()),
#[prost(message, tag = "6")]
Float64(()),
#[prost(message, tag = "7")]
Numeric(super::super::adt::numeric::ProtoOptionalNumericMaxScale),
#[prost(message, tag = "8")]
Date(()),
#[prost(message, tag = "9")]
Time(()),
#[prost(message, tag = "37")]
Timestamp(ProtoTimestamp),
#[prost(message, tag = "38")]
TimestampTz(ProtoTimestampTz),
#[prost(message, tag = "12")]
Interval(()),
#[prost(message, tag = "13")]
PgLegacyChar(()),
#[prost(message, tag = "14")]
Bytes(()),
#[prost(message, tag = "15")]
String(()),
#[prost(message, tag = "16")]
Char(ProtoChar),
#[prost(message, tag = "17")]
VarChar(ProtoVarChar),
#[prost(message, tag = "18")]
Jsonb(()),
#[prost(message, tag = "19")]
Uuid(()),
#[prost(message, tag = "20")]
Array(::prost::alloc::boxed::Box<super::ProtoScalarType>),
#[prost(message, tag = "21")]
List(::prost::alloc::boxed::Box<ProtoList>),
#[prost(message, tag = "22")]
Record(ProtoRecord),
#[prost(message, tag = "23")]
Oid(()),
#[prost(message, tag = "24")]
Map(::prost::alloc::boxed::Box<ProtoMap>),
#[prost(message, tag = "25")]
RegProc(()),
#[prost(message, tag = "26")]
RegType(()),
#[prost(message, tag = "27")]
RegClass(()),
#[prost(message, tag = "28")]
Int2Vector(()),
#[prost(message, tag = "29")]
UInt16(()),
#[prost(message, tag = "30")]
UInt32(()),
#[prost(message, tag = "31")]
UInt64(()),
#[prost(message, tag = "32")]
MzTimestamp(()),
#[prost(message, tag = "33")]
Range(::prost::alloc::boxed::Box<ProtoRange>),
#[prost(message, tag = "34")]
MzAclItem(()),
#[prost(message, tag = "35")]
PgLegacyName(()),
#[prost(message, tag = "36")]
AclItem(()),
}
}