feat: add struct and list data type (#277)
* feat: add struct and list data type * type extensions * feat: extend column type * chore: rename fields * add value enum item * feat: add value * refactor: item->items * feat: use single ListValue/StructValue for Row and Column
This commit is contained in:
@@ -18,3 +18,6 @@ Cargo.lock
|
||||
|
||||
# ccls cache dir
|
||||
.ccls-cache/
|
||||
|
||||
#local nix
|
||||
shell.nix
|
||||
|
||||
+117
-35
@@ -71,6 +71,8 @@ PROTOBUF_CONSTEXPR Column_Values::Column_Values(
|
||||
, /*decltype(_impl_._interval_day_time_values_cached_byte_size_)*/{0}
|
||||
, /*decltype(_impl_.interval_month_day_nano_values_)*/{}
|
||||
, /*decltype(_impl_.decimal128_values_)*/{}
|
||||
, /*decltype(_impl_.list_values_)*/{}
|
||||
, /*decltype(_impl_.struct_values_)*/{}
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct Column_ValuesDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR Column_ValuesDefaultTypeInternal()
|
||||
@@ -140,6 +142,8 @@ const uint32_t TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets[] PROTOBUF_SE
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.interval_day_time_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.interval_month_day_nano_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.decimal128_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.list_values_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.struct_values_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
@@ -156,7 +160,7 @@ const uint32_t TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets[] PROTOBUF_SE
|
||||
};
|
||||
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||
{ 0, -1, -1, sizeof(::greptime::v1::Column_Values)},
|
||||
{ 33, -1, -1, sizeof(::greptime::v1::Column)},
|
||||
{ 35, -1, -1, sizeof(::greptime::v1::Column)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -166,46 +170,50 @@ static const ::_pb::Message* const file_default_instances[] = {
|
||||
|
||||
const char descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
||||
"\n\030greptime/v1/column.proto\022\013greptime.v1\032"
|
||||
"\030greptime/v1/common.proto\"\303\010\n\006Column\022\023\n\013"
|
||||
"column_name\030\001 \001(\t\0220\n\rsemantic_type\030\002 \001(\016"
|
||||
"2\031.greptime.v1.SemanticType\022*\n\006values\030\003 "
|
||||
"\001(\0132\032.greptime.v1.Column.Values\022\021\n\tnull_"
|
||||
"mask\030\004 \001(\014\022-\n\010datatype\030\005 \001(\0162\033.greptime."
|
||||
"v1.ColumnDataType\022@\n\022datatype_extension\030"
|
||||
"\006 \001(\0132$.greptime.v1.ColumnDataTypeExtens"
|
||||
"ion\022+\n\007options\030\007 \001(\0132\032.greptime.v1.Colum"
|
||||
"nOptions\032\224\006\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022"
|
||||
"\n\ni16_values\030\002 \003(\005\022\022\n\ni32_values\030\003 \003(\005\022\022"
|
||||
"\n\ni64_values\030\004 \003(\003\022\021\n\tu8_values\030\005 \003(\r\022\022\n"
|
||||
"\nu16_values\030\006 \003(\r\022\022\n\nu32_values\030\007 \003(\r\022\022\n"
|
||||
"\nu64_values\030\010 \003(\004\022\022\n\nf32_values\030\t \003(\002\022\022\n"
|
||||
"\nf64_values\030\n \003(\001\022\023\n\013bool_values\030\013 \003(\010\022\025"
|
||||
"\n\rbinary_values\030\014 \003(\014\022\025\n\rstring_values\030\r"
|
||||
" \003(\t\022\023\n\013date_values\030\016 \003(\005\022\027\n\017datetime_va"
|
||||
"lues\030\017 \003(\003\022\037\n\027timestamp_second_values\030\020 "
|
||||
"\003(\003\022$\n\034timestamp_millisecond_values\030\021 \003("
|
||||
"\003\022$\n\034timestamp_microsecond_values\030\022 \003(\003\022"
|
||||
"#\n\033timestamp_nanosecond_values\030\023 \003(\003\022\032\n\022"
|
||||
"time_second_values\030\024 \003(\003\022\037\n\027time_millise"
|
||||
"cond_values\030\025 \003(\003\022\037\n\027time_microsecond_va"
|
||||
"lues\030\026 \003(\003\022\036\n\026time_nanosecond_values\030\027 \003"
|
||||
"(\003\022\"\n\032interval_year_month_values\030\030 \003(\005\022 "
|
||||
"\n\030interval_day_time_values\030\031 \003(\003\022I\n\036inte"
|
||||
"rval_month_day_nano_values\030\032 \003(\0132!.grept"
|
||||
"ime.v1.IntervalMonthDayNano\0222\n\021decimal12"
|
||||
"8_values\030\037 \003(\0132\027.greptime.v1.Decimal128B"
|
||||
"P\n\016io.greptime.v1B\007ColumnsZ5github.com/G"
|
||||
"reptimeTeam/greptime-proto/go/greptime/v"
|
||||
"1b\006proto3"
|
||||
"\030greptime/v1/common.proto\032\025greptime/v1/r"
|
||||
"ow.proto\"\241\t\n\006Column\022\023\n\013column_name\030\001 \001(\t"
|
||||
"\0220\n\rsemantic_type\030\002 \001(\0162\031.greptime.v1.Se"
|
||||
"manticType\022*\n\006values\030\003 \001(\0132\032.greptime.v1"
|
||||
".Column.Values\022\021\n\tnull_mask\030\004 \001(\014\022-\n\010dat"
|
||||
"atype\030\005 \001(\0162\033.greptime.v1.ColumnDataType"
|
||||
"\022@\n\022datatype_extension\030\006 \001(\0132$.greptime."
|
||||
"v1.ColumnDataTypeExtension\022+\n\007options\030\007 "
|
||||
"\001(\0132\032.greptime.v1.ColumnOptions\032\362\006\n\006Valu"
|
||||
"es\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16_values\030\002 \003("
|
||||
"\005\022\022\n\ni32_values\030\003 \003(\005\022\022\n\ni64_values\030\004 \003("
|
||||
"\003\022\021\n\tu8_values\030\005 \003(\r\022\022\n\nu16_values\030\006 \003(\r"
|
||||
"\022\022\n\nu32_values\030\007 \003(\r\022\022\n\nu64_values\030\010 \003(\004"
|
||||
"\022\022\n\nf32_values\030\t \003(\002\022\022\n\nf64_values\030\n \003(\001"
|
||||
"\022\023\n\013bool_values\030\013 \003(\010\022\025\n\rbinary_values\030\014"
|
||||
" \003(\014\022\025\n\rstring_values\030\r \003(\t\022\023\n\013date_valu"
|
||||
"es\030\016 \003(\005\022\027\n\017datetime_values\030\017 \003(\003\022\037\n\027tim"
|
||||
"estamp_second_values\030\020 \003(\003\022$\n\034timestamp_"
|
||||
"millisecond_values\030\021 \003(\003\022$\n\034timestamp_mi"
|
||||
"crosecond_values\030\022 \003(\003\022#\n\033timestamp_nano"
|
||||
"second_values\030\023 \003(\003\022\032\n\022time_second_value"
|
||||
"s\030\024 \003(\003\022\037\n\027time_millisecond_values\030\025 \003(\003"
|
||||
"\022\037\n\027time_microsecond_values\030\026 \003(\003\022\036\n\026tim"
|
||||
"e_nanosecond_values\030\027 \003(\003\022\"\n\032interval_ye"
|
||||
"ar_month_values\030\030 \003(\005\022 \n\030interval_day_ti"
|
||||
"me_values\030\031 \003(\003\022I\n\036interval_month_day_na"
|
||||
"no_values\030\032 \003(\0132!.greptime.v1.IntervalMo"
|
||||
"nthDayNano\0222\n\021decimal128_values\030\037 \003(\0132\027."
|
||||
"greptime.v1.Decimal128\022+\n\013list_values\030( "
|
||||
"\003(\0132\026.greptime.v1.ListValue\022/\n\rstruct_va"
|
||||
"lues\030) \003(\0132\030.greptime.v1.StructValueBP\n\016"
|
||||
"io.greptime.v1B\007ColumnsZ5github.com/Grep"
|
||||
"timeTeam/greptime-proto/go/greptime/v1b\006"
|
||||
"proto3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps[1] = {
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps[2] = {
|
||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||
&::descriptor_table_greptime_2fv1_2frow_2eproto,
|
||||
};
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcolumn_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcolumn_2eproto = {
|
||||
false, false, 1249, descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto,
|
||||
false, false, 1366, descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto,
|
||||
"greptime/v1/column.proto",
|
||||
&descriptor_table_greptime_2fv1_2fcolumn_2eproto_once, descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps, 1, 2,
|
||||
&descriptor_table_greptime_2fv1_2fcolumn_2eproto_once, descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps, 2, 2,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets,
|
||||
file_level_metadata_greptime_2fv1_2fcolumn_2eproto, file_level_enum_descriptors_greptime_2fv1_2fcolumn_2eproto,
|
||||
file_level_service_descriptors_greptime_2fv1_2fcolumn_2eproto,
|
||||
@@ -231,6 +239,12 @@ void Column_Values::clear_interval_month_day_nano_values() {
|
||||
void Column_Values::clear_decimal128_values() {
|
||||
_impl_.decimal128_values_.Clear();
|
||||
}
|
||||
void Column_Values::clear_list_values() {
|
||||
_impl_.list_values_.Clear();
|
||||
}
|
||||
void Column_Values::clear_struct_values() {
|
||||
_impl_.struct_values_.Clear();
|
||||
}
|
||||
Column_Values::Column_Values(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
@@ -288,6 +302,8 @@ Column_Values::Column_Values(const Column_Values& from)
|
||||
, /*decltype(_impl_._interval_day_time_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.interval_month_day_nano_values_){from._impl_.interval_month_day_nano_values_}
|
||||
, decltype(_impl_.decimal128_values_){from._impl_.decimal128_values_}
|
||||
, decltype(_impl_.list_values_){from._impl_.list_values_}
|
||||
, decltype(_impl_.struct_values_){from._impl_.struct_values_}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
@@ -346,6 +362,8 @@ inline void Column_Values::SharedCtor(
|
||||
, /*decltype(_impl_._interval_day_time_values_cached_byte_size_)*/{0}
|
||||
, decltype(_impl_.interval_month_day_nano_values_){arena}
|
||||
, decltype(_impl_.decimal128_values_){arena}
|
||||
, decltype(_impl_.list_values_){arena}
|
||||
, decltype(_impl_.struct_values_){arena}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
}
|
||||
@@ -388,6 +406,8 @@ inline void Column_Values::SharedDtor() {
|
||||
_impl_.interval_day_time_values_.~RepeatedField();
|
||||
_impl_.interval_month_day_nano_values_.~RepeatedPtrField();
|
||||
_impl_.decimal128_values_.~RepeatedPtrField();
|
||||
_impl_.list_values_.~RepeatedPtrField();
|
||||
_impl_.struct_values_.~RepeatedPtrField();
|
||||
}
|
||||
|
||||
void Column_Values::SetCachedSize(int size) const {
|
||||
@@ -427,6 +447,8 @@ void Column_Values::Clear() {
|
||||
_impl_.interval_day_time_values_.Clear();
|
||||
_impl_.interval_month_day_nano_values_.Clear();
|
||||
_impl_.decimal128_values_.Clear();
|
||||
_impl_.list_values_.Clear();
|
||||
_impl_.struct_values_.Clear();
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
@@ -744,6 +766,32 @@ const char* Column_Values::_InternalParse(const char* ptr, ::_pbi::ParseContext*
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated .greptime.v1.ListValue list_values = 40;
|
||||
case 40:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
|
||||
ptr -= 2;
|
||||
do {
|
||||
ptr += 2;
|
||||
ptr = ctx->ParseMessage(_internal_add_list_values(), ptr);
|
||||
CHK_(ptr);
|
||||
if (!ctx->DataAvailable(ptr)) break;
|
||||
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<322>(ptr));
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated .greptime.v1.StructValue struct_values = 41;
|
||||
case 41:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
|
||||
ptr -= 2;
|
||||
do {
|
||||
ptr += 2;
|
||||
ptr = ctx->ParseMessage(_internal_add_struct_values(), ptr);
|
||||
CHK_(ptr);
|
||||
if (!ctx->DataAvailable(ptr)) break;
|
||||
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<330>(ptr));
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
@@ -1000,6 +1048,22 @@ uint8_t* Column_Values::_InternalSerialize(
|
||||
InternalWriteMessage(31, repfield, repfield.GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.ListValue list_values = 40;
|
||||
for (unsigned i = 0,
|
||||
n = static_cast<unsigned>(this->_internal_list_values_size()); i < n; i++) {
|
||||
const auto& repfield = this->_internal_list_values(i);
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(40, repfield, repfield.GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.StructValue struct_values = 41;
|
||||
for (unsigned i = 0,
|
||||
n = static_cast<unsigned>(this->_internal_struct_values_size()); i < n; i++) {
|
||||
const auto& repfield = this->_internal_struct_values(i);
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(41, repfield, repfield.GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||
@@ -1359,6 +1423,20 @@ size_t Column_Values::ByteSizeLong() const {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.ListValue list_values = 40;
|
||||
total_size += 2UL * this->_internal_list_values_size();
|
||||
for (const auto& msg : this->_impl_.list_values_) {
|
||||
total_size +=
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.StructValue struct_values = 41;
|
||||
total_size += 2UL * this->_internal_struct_values_size();
|
||||
for (const auto& msg : this->_impl_.struct_values_) {
|
||||
total_size +=
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
@@ -1404,6 +1482,8 @@ void Column_Values::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::
|
||||
_this->_impl_.interval_day_time_values_.MergeFrom(from._impl_.interval_day_time_values_);
|
||||
_this->_impl_.interval_month_day_nano_values_.MergeFrom(from._impl_.interval_month_day_nano_values_);
|
||||
_this->_impl_.decimal128_values_.MergeFrom(from._impl_.decimal128_values_);
|
||||
_this->_impl_.list_values_.MergeFrom(from._impl_.list_values_);
|
||||
_this->_impl_.struct_values_.MergeFrom(from._impl_.struct_values_);
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
@@ -1448,6 +1528,8 @@ void Column_Values::InternalSwap(Column_Values* other) {
|
||||
_impl_.interval_day_time_values_.InternalSwap(&other->_impl_.interval_day_time_values_);
|
||||
_impl_.interval_month_day_nano_values_.InternalSwap(&other->_impl_.interval_month_day_nano_values_);
|
||||
_impl_.decimal128_values_.InternalSwap(&other->_impl_.decimal128_values_);
|
||||
_impl_.list_values_.InternalSwap(&other->_impl_.list_values_);
|
||||
_impl_.struct_values_.InternalSwap(&other->_impl_.struct_values_);
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata Column_Values::GetMetadata() const {
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <google/protobuf/extension_set.h> // IWYU pragma: export
|
||||
#include <google/protobuf/unknown_field_set.h>
|
||||
#include "greptime/v1/common.pb.h"
|
||||
#include "greptime/v1/row.pb.h"
|
||||
// @@protoc_insertion_point(includes)
|
||||
#include <google/protobuf/port_def.inc>
|
||||
#define PROTOBUF_INTERNAL_EXPORT_greptime_2fv1_2fcolumn_2eproto
|
||||
@@ -212,6 +213,8 @@ class Column_Values final :
|
||||
kIntervalDayTimeValuesFieldNumber = 25,
|
||||
kIntervalMonthDayNanoValuesFieldNumber = 26,
|
||||
kDecimal128ValuesFieldNumber = 31,
|
||||
kListValuesFieldNumber = 40,
|
||||
kStructValuesFieldNumber = 41,
|
||||
};
|
||||
// repeated int32 i8_values = 1;
|
||||
int i8_values_size() const;
|
||||
@@ -803,6 +806,42 @@ class Column_Values final :
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Decimal128 >&
|
||||
decimal128_values() const;
|
||||
|
||||
// repeated .greptime.v1.ListValue list_values = 40;
|
||||
int list_values_size() const;
|
||||
private:
|
||||
int _internal_list_values_size() const;
|
||||
public:
|
||||
void clear_list_values();
|
||||
::greptime::v1::ListValue* mutable_list_values(int index);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::ListValue >*
|
||||
mutable_list_values();
|
||||
private:
|
||||
const ::greptime::v1::ListValue& _internal_list_values(int index) const;
|
||||
::greptime::v1::ListValue* _internal_add_list_values();
|
||||
public:
|
||||
const ::greptime::v1::ListValue& list_values(int index) const;
|
||||
::greptime::v1::ListValue* add_list_values();
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::ListValue >&
|
||||
list_values() const;
|
||||
|
||||
// repeated .greptime.v1.StructValue struct_values = 41;
|
||||
int struct_values_size() const;
|
||||
private:
|
||||
int _internal_struct_values_size() const;
|
||||
public:
|
||||
void clear_struct_values();
|
||||
::greptime::v1::StructValue* mutable_struct_values(int index);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::StructValue >*
|
||||
mutable_struct_values();
|
||||
private:
|
||||
const ::greptime::v1::StructValue& _internal_struct_values(int index) const;
|
||||
::greptime::v1::StructValue* _internal_add_struct_values();
|
||||
public:
|
||||
const ::greptime::v1::StructValue& struct_values(int index) const;
|
||||
::greptime::v1::StructValue* add_struct_values();
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::StructValue >&
|
||||
struct_values() const;
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.Column.Values)
|
||||
private:
|
||||
class _Internal;
|
||||
@@ -858,6 +897,8 @@ class Column_Values final :
|
||||
mutable std::atomic<int> _interval_day_time_values_cached_byte_size_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::IntervalMonthDayNano > interval_month_day_nano_values_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Decimal128 > decimal128_values_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::ListValue > list_values_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::StructValue > struct_values_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
@@ -2432,6 +2473,80 @@ Column_Values::decimal128_values() const {
|
||||
return _impl_.decimal128_values_;
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.ListValue list_values = 40;
|
||||
inline int Column_Values::_internal_list_values_size() const {
|
||||
return _impl_.list_values_.size();
|
||||
}
|
||||
inline int Column_Values::list_values_size() const {
|
||||
return _internal_list_values_size();
|
||||
}
|
||||
inline ::greptime::v1::ListValue* Column_Values::mutable_list_values(int index) {
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.Column.Values.list_values)
|
||||
return _impl_.list_values_.Mutable(index);
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::ListValue >*
|
||||
Column_Values::mutable_list_values() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.Column.Values.list_values)
|
||||
return &_impl_.list_values_;
|
||||
}
|
||||
inline const ::greptime::v1::ListValue& Column_Values::_internal_list_values(int index) const {
|
||||
return _impl_.list_values_.Get(index);
|
||||
}
|
||||
inline const ::greptime::v1::ListValue& Column_Values::list_values(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Column.Values.list_values)
|
||||
return _internal_list_values(index);
|
||||
}
|
||||
inline ::greptime::v1::ListValue* Column_Values::_internal_add_list_values() {
|
||||
return _impl_.list_values_.Add();
|
||||
}
|
||||
inline ::greptime::v1::ListValue* Column_Values::add_list_values() {
|
||||
::greptime::v1::ListValue* _add = _internal_add_list_values();
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.Column.Values.list_values)
|
||||
return _add;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::ListValue >&
|
||||
Column_Values::list_values() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.Column.Values.list_values)
|
||||
return _impl_.list_values_;
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.StructValue struct_values = 41;
|
||||
inline int Column_Values::_internal_struct_values_size() const {
|
||||
return _impl_.struct_values_.size();
|
||||
}
|
||||
inline int Column_Values::struct_values_size() const {
|
||||
return _internal_struct_values_size();
|
||||
}
|
||||
inline ::greptime::v1::StructValue* Column_Values::mutable_struct_values(int index) {
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.Column.Values.struct_values)
|
||||
return _impl_.struct_values_.Mutable(index);
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::StructValue >*
|
||||
Column_Values::mutable_struct_values() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.Column.Values.struct_values)
|
||||
return &_impl_.struct_values_;
|
||||
}
|
||||
inline const ::greptime::v1::StructValue& Column_Values::_internal_struct_values(int index) const {
|
||||
return _impl_.struct_values_.Get(index);
|
||||
}
|
||||
inline const ::greptime::v1::StructValue& Column_Values::struct_values(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Column.Values.struct_values)
|
||||
return _internal_struct_values(index);
|
||||
}
|
||||
inline ::greptime::v1::StructValue* Column_Values::_internal_add_struct_values() {
|
||||
return _impl_.struct_values_.Add();
|
||||
}
|
||||
inline ::greptime::v1::StructValue* Column_Values::add_struct_values() {
|
||||
::greptime::v1::StructValue* _add = _internal_add_struct_values();
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.Column.Values.struct_values)
|
||||
return _add;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::StructValue >&
|
||||
Column_Values::struct_values() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.Column.Values.struct_values)
|
||||
return _impl_.struct_values_;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// Column
|
||||
|
||||
+954
-47
File diff suppressed because it is too large
Load Diff
+1049
-6
File diff suppressed because it is too large
Load Diff
+552
-7
@@ -80,9 +80,35 @@ struct ValueDefaultTypeInternal {
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ValueDefaultTypeInternal _Value_default_instance_;
|
||||
PROTOBUF_CONSTEXPR ListValue::ListValue(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.items_)*/{}
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct ListValueDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR ListValueDefaultTypeInternal()
|
||||
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||
~ListValueDefaultTypeInternal() {}
|
||||
union {
|
||||
ListValue _instance;
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListValueDefaultTypeInternal _ListValue_default_instance_;
|
||||
PROTOBUF_CONSTEXPR StructValue::StructValue(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.items_)*/{}
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct StructValueDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR StructValueDefaultTypeInternal()
|
||||
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||
~StructValueDefaultTypeInternal() {}
|
||||
union {
|
||||
StructValue _instance;
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructValueDefaultTypeInternal _StructValue_default_instance_;
|
||||
} // namespace v1
|
||||
} // namespace greptime
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2frow_2eproto[4];
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2frow_2eproto[6];
|
||||
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_greptime_2fv1_2frow_2eproto = nullptr;
|
||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2frow_2eproto = nullptr;
|
||||
|
||||
@@ -146,13 +172,31 @@ const uint32_t TableStruct_greptime_2fv1_2frow_2eproto::offsets[] PROTOBUF_SECTI
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Value, _impl_.value_data_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ListValue, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ListValue, _impl_.items_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::StructValue, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::StructValue, _impl_.items_),
|
||||
};
|
||||
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||
{ 0, -1, -1, sizeof(::greptime::v1::Rows)},
|
||||
{ 8, -1, -1, sizeof(::greptime::v1::ColumnSchema)},
|
||||
{ 19, -1, -1, sizeof(::greptime::v1::Row)},
|
||||
{ 26, -1, -1, sizeof(::greptime::v1::Value)},
|
||||
{ 62, -1, -1, sizeof(::greptime::v1::ListValue)},
|
||||
{ 69, -1, -1, sizeof(::greptime::v1::StructValue)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -160,6 +204,8 @@ static const ::_pb::Message* const file_default_instances[] = {
|
||||
&::greptime::v1::_ColumnSchema_default_instance_._instance,
|
||||
&::greptime::v1::_Row_default_instance_._instance,
|
||||
&::greptime::v1::_Value_default_instance_._instance,
|
||||
&::greptime::v1::_ListValue_default_instance_._instance,
|
||||
&::greptime::v1::_StructValue_default_instance_._instance,
|
||||
};
|
||||
|
||||
const char descriptor_table_protodef_greptime_2fv1_2frow_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
||||
@@ -173,7 +219,7 @@ const char descriptor_table_protodef_greptime_2fv1_2frow_2eproto[] PROTOBUF_SECT
|
||||
"\022@\n\022datatype_extension\030\004 \001(\0132$.greptime."
|
||||
"v1.ColumnDataTypeExtension\022+\n\007options\030\005 "
|
||||
"\001(\0132\032.greptime.v1.ColumnOptions\")\n\003Row\022\""
|
||||
"\n\006values\030\001 \003(\0132\022.greptime.v1.Value\"\274\006\n\005V"
|
||||
"\n\006values\030\001 \003(\0132\022.greptime.v1.Value\"\234\007\n\005V"
|
||||
"alue\022\022\n\010i8_value\030\001 \001(\005H\000\022\023\n\ti16_value\030\002 "
|
||||
"\001(\005H\000\022\023\n\ti32_value\030\003 \001(\005H\000\022\023\n\ti64_value\030"
|
||||
"\004 \001(\003H\000\022\022\n\010u8_value\030\005 \001(\rH\000\022\023\n\tu16_value"
|
||||
@@ -194,18 +240,23 @@ const char descriptor_table_protodef_greptime_2fv1_2frow_2eproto[] PROTOBUF_SECT
|
||||
"H\000\022J\n\035interval_month_day_nano_value\030\032 \001("
|
||||
"\0132!.greptime.v1.IntervalMonthDayNanoH\000\0223"
|
||||
"\n\020decimal128_value\030\037 \001(\0132\027.greptime.v1.D"
|
||||
"ecimal128H\000B\014\n\nvalue_dataBP\n\016io.greptime"
|
||||
".v1B\007RowDataZ5github.com/GreptimeTeam/gr"
|
||||
"eptime-proto/go/greptime/v1b\006proto3"
|
||||
"ecimal128H\000\022,\n\nlist_value\030( \001(\0132\026.grepti"
|
||||
"me.v1.ListValueH\000\0220\n\014struct_value\030) \001(\0132"
|
||||
"\030.greptime.v1.StructValueH\000B\014\n\nvalue_dat"
|
||||
"a\".\n\tListValue\022!\n\005items\030\001 \003(\0132\022.greptime"
|
||||
".v1.Value\"0\n\013StructValue\022!\n\005items\030\002 \003(\0132"
|
||||
"\022.greptime.v1.ValueBP\n\016io.greptime.v1B\007R"
|
||||
"owDataZ5github.com/GreptimeTeam/greptime"
|
||||
"-proto/go/greptime/v1b\006proto3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2frow_2eproto_deps[1] = {
|
||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||
};
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2frow_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2frow_2eproto = {
|
||||
false, false, 1355, descriptor_table_protodef_greptime_2fv1_2frow_2eproto,
|
||||
false, false, 1549, descriptor_table_protodef_greptime_2fv1_2frow_2eproto,
|
||||
"greptime/v1/row.proto",
|
||||
&descriptor_table_greptime_2fv1_2frow_2eproto_once, descriptor_table_greptime_2fv1_2frow_2eproto_deps, 1, 4,
|
||||
&descriptor_table_greptime_2fv1_2frow_2eproto_once, descriptor_table_greptime_2fv1_2frow_2eproto_deps, 1, 6,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2frow_2eproto::offsets,
|
||||
file_level_metadata_greptime_2fv1_2frow_2eproto, file_level_enum_descriptors_greptime_2fv1_2frow_2eproto,
|
||||
file_level_service_descriptors_greptime_2fv1_2frow_2eproto,
|
||||
@@ -992,6 +1043,8 @@ class Value::_Internal {
|
||||
public:
|
||||
static const ::greptime::v1::IntervalMonthDayNano& interval_month_day_nano_value(const Value* msg);
|
||||
static const ::greptime::v1::Decimal128& decimal128_value(const Value* msg);
|
||||
static const ::greptime::v1::ListValue& list_value(const Value* msg);
|
||||
static const ::greptime::v1::StructValue& struct_value(const Value* msg);
|
||||
};
|
||||
|
||||
const ::greptime::v1::IntervalMonthDayNano&
|
||||
@@ -1002,6 +1055,14 @@ const ::greptime::v1::Decimal128&
|
||||
Value::_Internal::decimal128_value(const Value* msg) {
|
||||
return *msg->_impl_.value_data_.decimal128_value_;
|
||||
}
|
||||
const ::greptime::v1::ListValue&
|
||||
Value::_Internal::list_value(const Value* msg) {
|
||||
return *msg->_impl_.value_data_.list_value_;
|
||||
}
|
||||
const ::greptime::v1::StructValue&
|
||||
Value::_Internal::struct_value(const Value* msg) {
|
||||
return *msg->_impl_.value_data_.struct_value_;
|
||||
}
|
||||
void Value::set_allocated_interval_month_day_nano_value(::greptime::v1::IntervalMonthDayNano* interval_month_day_nano_value) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_value_data();
|
||||
@@ -1050,6 +1111,36 @@ void Value::clear_decimal128_value() {
|
||||
clear_has_value_data();
|
||||
}
|
||||
}
|
||||
void Value::set_allocated_list_value(::greptime::v1::ListValue* list_value) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_value_data();
|
||||
if (list_value) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(list_value);
|
||||
if (message_arena != submessage_arena) {
|
||||
list_value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, list_value, submessage_arena);
|
||||
}
|
||||
set_has_list_value();
|
||||
_impl_.value_data_.list_value_ = list_value;
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.Value.list_value)
|
||||
}
|
||||
void Value::set_allocated_struct_value(::greptime::v1::StructValue* struct_value) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_value_data();
|
||||
if (struct_value) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(struct_value);
|
||||
if (message_arena != submessage_arena) {
|
||||
struct_value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, struct_value, submessage_arena);
|
||||
}
|
||||
set_has_struct_value();
|
||||
_impl_.value_data_.struct_value_ = struct_value;
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.Value.struct_value)
|
||||
}
|
||||
Value::Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
@@ -1177,6 +1268,16 @@ Value::Value(const Value& from)
|
||||
from._internal_decimal128_value());
|
||||
break;
|
||||
}
|
||||
case kListValue: {
|
||||
_this->_internal_mutable_list_value()->::greptime::v1::ListValue::MergeFrom(
|
||||
from._internal_list_value());
|
||||
break;
|
||||
}
|
||||
case kStructValue: {
|
||||
_this->_internal_mutable_struct_value()->::greptime::v1::StructValue::MergeFrom(
|
||||
from._internal_struct_value());
|
||||
break;
|
||||
}
|
||||
case VALUE_DATA_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -1331,6 +1432,18 @@ void Value::clear_value_data() {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case kListValue: {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.value_data_.list_value_;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case kStructValue: {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.value_data_.struct_value_;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case VALUE_DATA_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -1574,6 +1687,22 @@ const char* Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.ListValue list_value = 40;
|
||||
case 40:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_list_value(), ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.StructValue struct_value = 41;
|
||||
case 41:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_struct_value(), ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
@@ -1771,6 +1900,20 @@ uint8_t* Value::_InternalSerialize(
|
||||
_Internal::decimal128_value(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// .greptime.v1.ListValue list_value = 40;
|
||||
if (_internal_has_list_value()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(40, _Internal::list_value(this),
|
||||
_Internal::list_value(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// .greptime.v1.StructValue struct_value = 41;
|
||||
if (_internal_has_struct_value()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(41, _Internal::struct_value(this),
|
||||
_Internal::struct_value(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||
@@ -1951,6 +2094,20 @@ size_t Value::ByteSizeLong() const {
|
||||
*_impl_.value_data_.decimal128_value_);
|
||||
break;
|
||||
}
|
||||
// .greptime.v1.ListValue list_value = 40;
|
||||
case kListValue: {
|
||||
total_size += 2 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.value_data_.list_value_);
|
||||
break;
|
||||
}
|
||||
// .greptime.v1.StructValue struct_value = 41;
|
||||
case kStructValue: {
|
||||
total_size += 2 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.value_data_.struct_value_);
|
||||
break;
|
||||
}
|
||||
case VALUE_DATA_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -2084,6 +2241,16 @@ void Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF
|
||||
from._internal_decimal128_value());
|
||||
break;
|
||||
}
|
||||
case kListValue: {
|
||||
_this->_internal_mutable_list_value()->::greptime::v1::ListValue::MergeFrom(
|
||||
from._internal_list_value());
|
||||
break;
|
||||
}
|
||||
case kStructValue: {
|
||||
_this->_internal_mutable_struct_value()->::greptime::v1::StructValue::MergeFrom(
|
||||
from._internal_struct_value());
|
||||
break;
|
||||
}
|
||||
case VALUE_DATA_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -2115,6 +2282,376 @@ void Value::InternalSwap(Value* other) {
|
||||
file_level_metadata_greptime_2fv1_2frow_2eproto[3]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class ListValue::_Internal {
|
||||
public:
|
||||
};
|
||||
|
||||
ListValue::ListValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
SharedCtor(arena, is_message_owned);
|
||||
// @@protoc_insertion_point(arena_constructor:greptime.v1.ListValue)
|
||||
}
|
||||
ListValue::ListValue(const ListValue& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||
ListValue* const _this = this; (void)_this;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.items_){from._impl_.items_}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.ListValue)
|
||||
}
|
||||
|
||||
inline void ListValue::SharedCtor(
|
||||
::_pb::Arena* arena, bool is_message_owned) {
|
||||
(void)arena;
|
||||
(void)is_message_owned;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.items_){arena}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
}
|
||||
|
||||
ListValue::~ListValue() {
|
||||
// @@protoc_insertion_point(destructor:greptime.v1.ListValue)
|
||||
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||
(void)arena;
|
||||
return;
|
||||
}
|
||||
SharedDtor();
|
||||
}
|
||||
|
||||
inline void ListValue::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
_impl_.items_.~RepeatedPtrField();
|
||||
}
|
||||
|
||||
void ListValue::SetCachedSize(int size) const {
|
||||
_impl_._cached_size_.Set(size);
|
||||
}
|
||||
|
||||
void ListValue::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:greptime.v1.ListValue)
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
_impl_.items_.Clear();
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
const char* ListValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||||
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
||||
while (!ctx->Done(&ptr)) {
|
||||
uint32_t tag;
|
||||
ptr = ::_pbi::ReadTag(ptr, &tag);
|
||||
switch (tag >> 3) {
|
||||
// repeated .greptime.v1.Value items = 1;
|
||||
case 1:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
||||
ptr -= 1;
|
||||
do {
|
||||
ptr += 1;
|
||||
ptr = ctx->ParseMessage(_internal_add_items(), ptr);
|
||||
CHK_(ptr);
|
||||
if (!ctx->DataAvailable(ptr)) break;
|
||||
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
handle_unusual:
|
||||
if ((tag == 0) || ((tag & 7) == 4)) {
|
||||
CHK_(ptr);
|
||||
ctx->SetLastTag(tag);
|
||||
goto message_done;
|
||||
}
|
||||
ptr = UnknownFieldParse(
|
||||
tag,
|
||||
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
||||
ptr, ctx);
|
||||
CHK_(ptr != nullptr);
|
||||
} // while
|
||||
message_done:
|
||||
return ptr;
|
||||
failure:
|
||||
ptr = nullptr;
|
||||
goto message_done;
|
||||
#undef CHK_
|
||||
}
|
||||
|
||||
uint8_t* ListValue::_InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.ListValue)
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// repeated .greptime.v1.Value items = 1;
|
||||
for (unsigned i = 0,
|
||||
n = static_cast<unsigned>(this->_internal_items_size()); i < n; i++) {
|
||||
const auto& repfield = this->_internal_items(i);
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||
}
|
||||
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.ListValue)
|
||||
return target;
|
||||
}
|
||||
|
||||
size_t ListValue::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.ListValue)
|
||||
size_t total_size = 0;
|
||||
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
// repeated .greptime.v1.Value items = 1;
|
||||
total_size += 1UL * this->_internal_items_size();
|
||||
for (const auto& msg : this->_impl_.items_) {
|
||||
total_size +=
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ListValue::_class_data_ = {
|
||||
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||
ListValue::MergeImpl
|
||||
};
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ListValue::GetClassData() const { return &_class_data_; }
|
||||
|
||||
|
||||
void ListValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||
auto* const _this = static_cast<ListValue*>(&to_msg);
|
||||
auto& from = static_cast<const ListValue&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.ListValue)
|
||||
GOOGLE_DCHECK_NE(&from, _this);
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
_this->_impl_.items_.MergeFrom(from._impl_.items_);
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
void ListValue::CopyFrom(const ListValue& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.ListValue)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
bool ListValue::IsInitialized() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void ListValue::InternalSwap(ListValue* other) {
|
||||
using std::swap;
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
_impl_.items_.InternalSwap(&other->_impl_.items_);
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata ListValue::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2frow_2eproto_getter, &descriptor_table_greptime_2fv1_2frow_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2frow_2eproto[4]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class StructValue::_Internal {
|
||||
public:
|
||||
};
|
||||
|
||||
StructValue::StructValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
SharedCtor(arena, is_message_owned);
|
||||
// @@protoc_insertion_point(arena_constructor:greptime.v1.StructValue)
|
||||
}
|
||||
StructValue::StructValue(const StructValue& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||
StructValue* const _this = this; (void)_this;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.items_){from._impl_.items_}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.StructValue)
|
||||
}
|
||||
|
||||
inline void StructValue::SharedCtor(
|
||||
::_pb::Arena* arena, bool is_message_owned) {
|
||||
(void)arena;
|
||||
(void)is_message_owned;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.items_){arena}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
}
|
||||
|
||||
StructValue::~StructValue() {
|
||||
// @@protoc_insertion_point(destructor:greptime.v1.StructValue)
|
||||
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||
(void)arena;
|
||||
return;
|
||||
}
|
||||
SharedDtor();
|
||||
}
|
||||
|
||||
inline void StructValue::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
_impl_.items_.~RepeatedPtrField();
|
||||
}
|
||||
|
||||
void StructValue::SetCachedSize(int size) const {
|
||||
_impl_._cached_size_.Set(size);
|
||||
}
|
||||
|
||||
void StructValue::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:greptime.v1.StructValue)
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
_impl_.items_.Clear();
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
const char* StructValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||||
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
||||
while (!ctx->Done(&ptr)) {
|
||||
uint32_t tag;
|
||||
ptr = ::_pbi::ReadTag(ptr, &tag);
|
||||
switch (tag >> 3) {
|
||||
// repeated .greptime.v1.Value items = 2;
|
||||
case 2:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
|
||||
ptr -= 1;
|
||||
do {
|
||||
ptr += 1;
|
||||
ptr = ctx->ParseMessage(_internal_add_items(), ptr);
|
||||
CHK_(ptr);
|
||||
if (!ctx->DataAvailable(ptr)) break;
|
||||
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
handle_unusual:
|
||||
if ((tag == 0) || ((tag & 7) == 4)) {
|
||||
CHK_(ptr);
|
||||
ctx->SetLastTag(tag);
|
||||
goto message_done;
|
||||
}
|
||||
ptr = UnknownFieldParse(
|
||||
tag,
|
||||
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
||||
ptr, ctx);
|
||||
CHK_(ptr != nullptr);
|
||||
} // while
|
||||
message_done:
|
||||
return ptr;
|
||||
failure:
|
||||
ptr = nullptr;
|
||||
goto message_done;
|
||||
#undef CHK_
|
||||
}
|
||||
|
||||
uint8_t* StructValue::_InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.StructValue)
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// repeated .greptime.v1.Value items = 2;
|
||||
for (unsigned i = 0,
|
||||
n = static_cast<unsigned>(this->_internal_items_size()); i < n; i++) {
|
||||
const auto& repfield = this->_internal_items(i);
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||
}
|
||||
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.StructValue)
|
||||
return target;
|
||||
}
|
||||
|
||||
size_t StructValue::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.StructValue)
|
||||
size_t total_size = 0;
|
||||
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
// repeated .greptime.v1.Value items = 2;
|
||||
total_size += 1UL * this->_internal_items_size();
|
||||
for (const auto& msg : this->_impl_.items_) {
|
||||
total_size +=
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StructValue::_class_data_ = {
|
||||
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||
StructValue::MergeImpl
|
||||
};
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StructValue::GetClassData() const { return &_class_data_; }
|
||||
|
||||
|
||||
void StructValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||
auto* const _this = static_cast<StructValue*>(&to_msg);
|
||||
auto& from = static_cast<const StructValue&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.StructValue)
|
||||
GOOGLE_DCHECK_NE(&from, _this);
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
_this->_impl_.items_.MergeFrom(from._impl_.items_);
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
void StructValue::CopyFrom(const StructValue& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.StructValue)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
bool StructValue::IsInitialized() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void StructValue::InternalSwap(StructValue* other) {
|
||||
using std::swap;
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
_impl_.items_.InternalSwap(&other->_impl_.items_);
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata StructValue::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2frow_2eproto_getter, &descriptor_table_greptime_2fv1_2frow_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2frow_2eproto[5]);
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
} // namespace v1
|
||||
} // namespace greptime
|
||||
@@ -2135,6 +2672,14 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::Value*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::Value >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::Value >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::ListValue*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::ListValue >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::ListValue >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::StructValue*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::StructValue >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::StructValue >(arena);
|
||||
}
|
||||
PROTOBUF_NAMESPACE_CLOSE
|
||||
|
||||
// @@protoc_insertion_point(global_scope)
|
||||
|
||||
@@ -50,12 +50,18 @@ namespace v1 {
|
||||
class ColumnSchema;
|
||||
struct ColumnSchemaDefaultTypeInternal;
|
||||
extern ColumnSchemaDefaultTypeInternal _ColumnSchema_default_instance_;
|
||||
class ListValue;
|
||||
struct ListValueDefaultTypeInternal;
|
||||
extern ListValueDefaultTypeInternal _ListValue_default_instance_;
|
||||
class Row;
|
||||
struct RowDefaultTypeInternal;
|
||||
extern RowDefaultTypeInternal _Row_default_instance_;
|
||||
class Rows;
|
||||
struct RowsDefaultTypeInternal;
|
||||
extern RowsDefaultTypeInternal _Rows_default_instance_;
|
||||
class StructValue;
|
||||
struct StructValueDefaultTypeInternal;
|
||||
extern StructValueDefaultTypeInternal _StructValue_default_instance_;
|
||||
class Value;
|
||||
struct ValueDefaultTypeInternal;
|
||||
extern ValueDefaultTypeInternal _Value_default_instance_;
|
||||
@@ -63,8 +69,10 @@ extern ValueDefaultTypeInternal _Value_default_instance_;
|
||||
} // namespace greptime
|
||||
PROTOBUF_NAMESPACE_OPEN
|
||||
template<> ::greptime::v1::ColumnSchema* Arena::CreateMaybeMessage<::greptime::v1::ColumnSchema>(Arena*);
|
||||
template<> ::greptime::v1::ListValue* Arena::CreateMaybeMessage<::greptime::v1::ListValue>(Arena*);
|
||||
template<> ::greptime::v1::Row* Arena::CreateMaybeMessage<::greptime::v1::Row>(Arena*);
|
||||
template<> ::greptime::v1::Rows* Arena::CreateMaybeMessage<::greptime::v1::Rows>(Arena*);
|
||||
template<> ::greptime::v1::StructValue* Arena::CreateMaybeMessage<::greptime::v1::StructValue>(Arena*);
|
||||
template<> ::greptime::v1::Value* Arena::CreateMaybeMessage<::greptime::v1::Value>(Arena*);
|
||||
PROTOBUF_NAMESPACE_CLOSE
|
||||
namespace greptime {
|
||||
@@ -692,6 +700,8 @@ class Value final :
|
||||
kIntervalDayTimeValue = 25,
|
||||
kIntervalMonthDayNanoValue = 26,
|
||||
kDecimal128Value = 31,
|
||||
kListValue = 40,
|
||||
kStructValue = 41,
|
||||
VALUE_DATA_NOT_SET = 0,
|
||||
};
|
||||
|
||||
@@ -800,6 +810,8 @@ class Value final :
|
||||
kIntervalDayTimeValueFieldNumber = 25,
|
||||
kIntervalMonthDayNanoValueFieldNumber = 26,
|
||||
kDecimal128ValueFieldNumber = 31,
|
||||
kListValueFieldNumber = 40,
|
||||
kStructValueFieldNumber = 41,
|
||||
};
|
||||
// int32 i8_value = 1;
|
||||
bool has_i8_value() const;
|
||||
@@ -1172,6 +1184,42 @@ class Value final :
|
||||
::greptime::v1::Decimal128* decimal128_value);
|
||||
::greptime::v1::Decimal128* unsafe_arena_release_decimal128_value();
|
||||
|
||||
// .greptime.v1.ListValue list_value = 40;
|
||||
bool has_list_value() const;
|
||||
private:
|
||||
bool _internal_has_list_value() const;
|
||||
public:
|
||||
void clear_list_value();
|
||||
const ::greptime::v1::ListValue& list_value() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::ListValue* release_list_value();
|
||||
::greptime::v1::ListValue* mutable_list_value();
|
||||
void set_allocated_list_value(::greptime::v1::ListValue* list_value);
|
||||
private:
|
||||
const ::greptime::v1::ListValue& _internal_list_value() const;
|
||||
::greptime::v1::ListValue* _internal_mutable_list_value();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_list_value(
|
||||
::greptime::v1::ListValue* list_value);
|
||||
::greptime::v1::ListValue* unsafe_arena_release_list_value();
|
||||
|
||||
// .greptime.v1.StructValue struct_value = 41;
|
||||
bool has_struct_value() const;
|
||||
private:
|
||||
bool _internal_has_struct_value() const;
|
||||
public:
|
||||
void clear_struct_value();
|
||||
const ::greptime::v1::StructValue& struct_value() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::StructValue* release_struct_value();
|
||||
::greptime::v1::StructValue* mutable_struct_value();
|
||||
void set_allocated_struct_value(::greptime::v1::StructValue* struct_value);
|
||||
private:
|
||||
const ::greptime::v1::StructValue& _internal_struct_value() const;
|
||||
::greptime::v1::StructValue* _internal_mutable_struct_value();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_struct_value(
|
||||
::greptime::v1::StructValue* struct_value);
|
||||
::greptime::v1::StructValue* unsafe_arena_release_struct_value();
|
||||
|
||||
void clear_value_data();
|
||||
ValueDataCase value_data_case() const;
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.Value)
|
||||
@@ -1204,6 +1252,8 @@ class Value final :
|
||||
void set_has_interval_day_time_value();
|
||||
void set_has_interval_month_day_nano_value();
|
||||
void set_has_decimal128_value();
|
||||
void set_has_list_value();
|
||||
void set_has_struct_value();
|
||||
|
||||
inline bool has_value_data() const;
|
||||
inline void clear_has_value_data();
|
||||
@@ -1242,6 +1292,8 @@ class Value final :
|
||||
int64_t interval_day_time_value_;
|
||||
::greptime::v1::IntervalMonthDayNano* interval_month_day_nano_value_;
|
||||
::greptime::v1::Decimal128* decimal128_value_;
|
||||
::greptime::v1::ListValue* list_value_;
|
||||
::greptime::v1::StructValue* struct_value_;
|
||||
} value_data_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
uint32_t _oneof_case_[1];
|
||||
@@ -1250,6 +1302,320 @@ class Value final :
|
||||
union { Impl_ _impl_; };
|
||||
friend struct ::TableStruct_greptime_2fv1_2frow_2eproto;
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class ListValue final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.ListValue) */ {
|
||||
public:
|
||||
inline ListValue() : ListValue(nullptr) {}
|
||||
~ListValue() override;
|
||||
explicit PROTOBUF_CONSTEXPR ListValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
ListValue(const ListValue& from);
|
||||
ListValue(ListValue&& from) noexcept
|
||||
: ListValue() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline ListValue& operator=(const ListValue& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline ListValue& operator=(ListValue&& from) noexcept {
|
||||
if (this == &from) return *this;
|
||||
if (GetOwningArena() == from.GetOwningArena()
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
&& GetOwningArena() != nullptr
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
) {
|
||||
InternalSwap(&from);
|
||||
} else {
|
||||
CopyFrom(from);
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
||||
return GetDescriptor();
|
||||
}
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
||||
return default_instance().GetMetadata().descriptor;
|
||||
}
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
||||
return default_instance().GetMetadata().reflection;
|
||||
}
|
||||
static const ListValue& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const ListValue* internal_default_instance() {
|
||||
return reinterpret_cast<const ListValue*>(
|
||||
&_ListValue_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
4;
|
||||
|
||||
friend void swap(ListValue& a, ListValue& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(ListValue* other) {
|
||||
if (other == this) return;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetOwningArena() != nullptr &&
|
||||
GetOwningArena() == other->GetOwningArena()) {
|
||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetOwningArena() == other->GetOwningArena()) {
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
InternalSwap(other);
|
||||
} else {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
||||
}
|
||||
}
|
||||
void UnsafeArenaSwap(ListValue* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
ListValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<ListValue>(arena);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||
void CopyFrom(const ListValue& from);
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||
void MergeFrom( const ListValue& from) {
|
||||
ListValue::MergeImpl(*this, from);
|
||||
}
|
||||
private:
|
||||
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
||||
public:
|
||||
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||
bool IsInitialized() const final;
|
||||
|
||||
size_t ByteSizeLong() const final;
|
||||
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
||||
uint8_t* _InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
||||
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
||||
|
||||
private:
|
||||
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
||||
void SharedDtor();
|
||||
void SetCachedSize(int size) const final;
|
||||
void InternalSwap(ListValue* other);
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "greptime.v1.ListValue";
|
||||
}
|
||||
protected:
|
||||
explicit ListValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned = false);
|
||||
public:
|
||||
|
||||
static const ClassData _class_data_;
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
||||
|
||||
// nested types ----------------------------------------------------
|
||||
|
||||
// accessors -------------------------------------------------------
|
||||
|
||||
enum : int {
|
||||
kItemsFieldNumber = 1,
|
||||
};
|
||||
// repeated .greptime.v1.Value items = 1;
|
||||
int items_size() const;
|
||||
private:
|
||||
int _internal_items_size() const;
|
||||
public:
|
||||
void clear_items();
|
||||
::greptime::v1::Value* mutable_items(int index);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Value >*
|
||||
mutable_items();
|
||||
private:
|
||||
const ::greptime::v1::Value& _internal_items(int index) const;
|
||||
::greptime::v1::Value* _internal_add_items();
|
||||
public:
|
||||
const ::greptime::v1::Value& items(int index) const;
|
||||
::greptime::v1::Value* add_items();
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Value >&
|
||||
items() const;
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.ListValue)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Value > items_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
friend struct ::TableStruct_greptime_2fv1_2frow_2eproto;
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class StructValue final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.StructValue) */ {
|
||||
public:
|
||||
inline StructValue() : StructValue(nullptr) {}
|
||||
~StructValue() override;
|
||||
explicit PROTOBUF_CONSTEXPR StructValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
StructValue(const StructValue& from);
|
||||
StructValue(StructValue&& from) noexcept
|
||||
: StructValue() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline StructValue& operator=(const StructValue& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline StructValue& operator=(StructValue&& from) noexcept {
|
||||
if (this == &from) return *this;
|
||||
if (GetOwningArena() == from.GetOwningArena()
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
&& GetOwningArena() != nullptr
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
) {
|
||||
InternalSwap(&from);
|
||||
} else {
|
||||
CopyFrom(from);
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
||||
return GetDescriptor();
|
||||
}
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
||||
return default_instance().GetMetadata().descriptor;
|
||||
}
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
||||
return default_instance().GetMetadata().reflection;
|
||||
}
|
||||
static const StructValue& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const StructValue* internal_default_instance() {
|
||||
return reinterpret_cast<const StructValue*>(
|
||||
&_StructValue_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
5;
|
||||
|
||||
friend void swap(StructValue& a, StructValue& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(StructValue* other) {
|
||||
if (other == this) return;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetOwningArena() != nullptr &&
|
||||
GetOwningArena() == other->GetOwningArena()) {
|
||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetOwningArena() == other->GetOwningArena()) {
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
InternalSwap(other);
|
||||
} else {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
||||
}
|
||||
}
|
||||
void UnsafeArenaSwap(StructValue* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
StructValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<StructValue>(arena);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||
void CopyFrom(const StructValue& from);
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||
void MergeFrom( const StructValue& from) {
|
||||
StructValue::MergeImpl(*this, from);
|
||||
}
|
||||
private:
|
||||
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
||||
public:
|
||||
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||
bool IsInitialized() const final;
|
||||
|
||||
size_t ByteSizeLong() const final;
|
||||
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
||||
uint8_t* _InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
||||
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
||||
|
||||
private:
|
||||
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
||||
void SharedDtor();
|
||||
void SetCachedSize(int size) const final;
|
||||
void InternalSwap(StructValue* other);
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "greptime.v1.StructValue";
|
||||
}
|
||||
protected:
|
||||
explicit StructValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned = false);
|
||||
public:
|
||||
|
||||
static const ClassData _class_data_;
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
||||
|
||||
// nested types ----------------------------------------------------
|
||||
|
||||
// accessors -------------------------------------------------------
|
||||
|
||||
enum : int {
|
||||
kItemsFieldNumber = 2,
|
||||
};
|
||||
// repeated .greptime.v1.Value items = 2;
|
||||
int items_size() const;
|
||||
private:
|
||||
int _internal_items_size() const;
|
||||
public:
|
||||
void clear_items();
|
||||
::greptime::v1::Value* mutable_items(int index);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Value >*
|
||||
mutable_items();
|
||||
private:
|
||||
const ::greptime::v1::Value& _internal_items(int index) const;
|
||||
::greptime::v1::Value* _internal_add_items();
|
||||
public:
|
||||
const ::greptime::v1::Value& items(int index) const;
|
||||
::greptime::v1::Value* add_items();
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Value >&
|
||||
items() const;
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.StructValue)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Value > items_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
friend struct ::TableStruct_greptime_2fv1_2frow_2eproto;
|
||||
};
|
||||
// ===================================================================
|
||||
|
||||
|
||||
@@ -2813,6 +3179,154 @@ inline ::greptime::v1::Decimal128* Value::mutable_decimal128_value() {
|
||||
return _msg;
|
||||
}
|
||||
|
||||
// .greptime.v1.ListValue list_value = 40;
|
||||
inline bool Value::_internal_has_list_value() const {
|
||||
return value_data_case() == kListValue;
|
||||
}
|
||||
inline bool Value::has_list_value() const {
|
||||
return _internal_has_list_value();
|
||||
}
|
||||
inline void Value::set_has_list_value() {
|
||||
_impl_._oneof_case_[0] = kListValue;
|
||||
}
|
||||
inline void Value::clear_list_value() {
|
||||
if (_internal_has_list_value()) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.value_data_.list_value_;
|
||||
}
|
||||
clear_has_value_data();
|
||||
}
|
||||
}
|
||||
inline ::greptime::v1::ListValue* Value::release_list_value() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.Value.list_value)
|
||||
if (_internal_has_list_value()) {
|
||||
clear_has_value_data();
|
||||
::greptime::v1::ListValue* temp = _impl_.value_data_.list_value_;
|
||||
if (GetArenaForAllocation() != nullptr) {
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
}
|
||||
_impl_.value_data_.list_value_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline const ::greptime::v1::ListValue& Value::_internal_list_value() const {
|
||||
return _internal_has_list_value()
|
||||
? *_impl_.value_data_.list_value_
|
||||
: reinterpret_cast< ::greptime::v1::ListValue&>(::greptime::v1::_ListValue_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::ListValue& Value::list_value() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Value.list_value)
|
||||
return _internal_list_value();
|
||||
}
|
||||
inline ::greptime::v1::ListValue* Value::unsafe_arena_release_list_value() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.Value.list_value)
|
||||
if (_internal_has_list_value()) {
|
||||
clear_has_value_data();
|
||||
::greptime::v1::ListValue* temp = _impl_.value_data_.list_value_;
|
||||
_impl_.value_data_.list_value_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline void Value::unsafe_arena_set_allocated_list_value(::greptime::v1::ListValue* list_value) {
|
||||
clear_value_data();
|
||||
if (list_value) {
|
||||
set_has_list_value();
|
||||
_impl_.value_data_.list_value_ = list_value;
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.Value.list_value)
|
||||
}
|
||||
inline ::greptime::v1::ListValue* Value::_internal_mutable_list_value() {
|
||||
if (!_internal_has_list_value()) {
|
||||
clear_value_data();
|
||||
set_has_list_value();
|
||||
_impl_.value_data_.list_value_ = CreateMaybeMessage< ::greptime::v1::ListValue >(GetArenaForAllocation());
|
||||
}
|
||||
return _impl_.value_data_.list_value_;
|
||||
}
|
||||
inline ::greptime::v1::ListValue* Value::mutable_list_value() {
|
||||
::greptime::v1::ListValue* _msg = _internal_mutable_list_value();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.Value.list_value)
|
||||
return _msg;
|
||||
}
|
||||
|
||||
// .greptime.v1.StructValue struct_value = 41;
|
||||
inline bool Value::_internal_has_struct_value() const {
|
||||
return value_data_case() == kStructValue;
|
||||
}
|
||||
inline bool Value::has_struct_value() const {
|
||||
return _internal_has_struct_value();
|
||||
}
|
||||
inline void Value::set_has_struct_value() {
|
||||
_impl_._oneof_case_[0] = kStructValue;
|
||||
}
|
||||
inline void Value::clear_struct_value() {
|
||||
if (_internal_has_struct_value()) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.value_data_.struct_value_;
|
||||
}
|
||||
clear_has_value_data();
|
||||
}
|
||||
}
|
||||
inline ::greptime::v1::StructValue* Value::release_struct_value() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.Value.struct_value)
|
||||
if (_internal_has_struct_value()) {
|
||||
clear_has_value_data();
|
||||
::greptime::v1::StructValue* temp = _impl_.value_data_.struct_value_;
|
||||
if (GetArenaForAllocation() != nullptr) {
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
}
|
||||
_impl_.value_data_.struct_value_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline const ::greptime::v1::StructValue& Value::_internal_struct_value() const {
|
||||
return _internal_has_struct_value()
|
||||
? *_impl_.value_data_.struct_value_
|
||||
: reinterpret_cast< ::greptime::v1::StructValue&>(::greptime::v1::_StructValue_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::StructValue& Value::struct_value() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Value.struct_value)
|
||||
return _internal_struct_value();
|
||||
}
|
||||
inline ::greptime::v1::StructValue* Value::unsafe_arena_release_struct_value() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.Value.struct_value)
|
||||
if (_internal_has_struct_value()) {
|
||||
clear_has_value_data();
|
||||
::greptime::v1::StructValue* temp = _impl_.value_data_.struct_value_;
|
||||
_impl_.value_data_.struct_value_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline void Value::unsafe_arena_set_allocated_struct_value(::greptime::v1::StructValue* struct_value) {
|
||||
clear_value_data();
|
||||
if (struct_value) {
|
||||
set_has_struct_value();
|
||||
_impl_.value_data_.struct_value_ = struct_value;
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.Value.struct_value)
|
||||
}
|
||||
inline ::greptime::v1::StructValue* Value::_internal_mutable_struct_value() {
|
||||
if (!_internal_has_struct_value()) {
|
||||
clear_value_data();
|
||||
set_has_struct_value();
|
||||
_impl_.value_data_.struct_value_ = CreateMaybeMessage< ::greptime::v1::StructValue >(GetArenaForAllocation());
|
||||
}
|
||||
return _impl_.value_data_.struct_value_;
|
||||
}
|
||||
inline ::greptime::v1::StructValue* Value::mutable_struct_value() {
|
||||
::greptime::v1::StructValue* _msg = _internal_mutable_struct_value();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.Value.struct_value)
|
||||
return _msg;
|
||||
}
|
||||
|
||||
inline bool Value::has_value_data() const {
|
||||
return value_data_case() != VALUE_DATA_NOT_SET;
|
||||
}
|
||||
@@ -2822,6 +3336,94 @@ inline void Value::clear_has_value_data() {
|
||||
inline Value::ValueDataCase Value::value_data_case() const {
|
||||
return Value::ValueDataCase(_impl_._oneof_case_[0]);
|
||||
}
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// ListValue
|
||||
|
||||
// repeated .greptime.v1.Value items = 1;
|
||||
inline int ListValue::_internal_items_size() const {
|
||||
return _impl_.items_.size();
|
||||
}
|
||||
inline int ListValue::items_size() const {
|
||||
return _internal_items_size();
|
||||
}
|
||||
inline void ListValue::clear_items() {
|
||||
_impl_.items_.Clear();
|
||||
}
|
||||
inline ::greptime::v1::Value* ListValue::mutable_items(int index) {
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.ListValue.items)
|
||||
return _impl_.items_.Mutable(index);
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Value >*
|
||||
ListValue::mutable_items() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.ListValue.items)
|
||||
return &_impl_.items_;
|
||||
}
|
||||
inline const ::greptime::v1::Value& ListValue::_internal_items(int index) const {
|
||||
return _impl_.items_.Get(index);
|
||||
}
|
||||
inline const ::greptime::v1::Value& ListValue::items(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.ListValue.items)
|
||||
return _internal_items(index);
|
||||
}
|
||||
inline ::greptime::v1::Value* ListValue::_internal_add_items() {
|
||||
return _impl_.items_.Add();
|
||||
}
|
||||
inline ::greptime::v1::Value* ListValue::add_items() {
|
||||
::greptime::v1::Value* _add = _internal_add_items();
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.ListValue.items)
|
||||
return _add;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Value >&
|
||||
ListValue::items() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.ListValue.items)
|
||||
return _impl_.items_;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// StructValue
|
||||
|
||||
// repeated .greptime.v1.Value items = 2;
|
||||
inline int StructValue::_internal_items_size() const {
|
||||
return _impl_.items_.size();
|
||||
}
|
||||
inline int StructValue::items_size() const {
|
||||
return _internal_items_size();
|
||||
}
|
||||
inline void StructValue::clear_items() {
|
||||
_impl_.items_.Clear();
|
||||
}
|
||||
inline ::greptime::v1::Value* StructValue::mutable_items(int index) {
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.StructValue.items)
|
||||
return _impl_.items_.Mutable(index);
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Value >*
|
||||
StructValue::mutable_items() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.StructValue.items)
|
||||
return &_impl_.items_;
|
||||
}
|
||||
inline const ::greptime::v1::Value& StructValue::_internal_items(int index) const {
|
||||
return _impl_.items_.Get(index);
|
||||
}
|
||||
inline const ::greptime::v1::Value& StructValue::items(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.StructValue.items)
|
||||
return _internal_items(index);
|
||||
}
|
||||
inline ::greptime::v1::Value* StructValue::_internal_add_items() {
|
||||
return _impl_.items_.Add();
|
||||
}
|
||||
inline ::greptime::v1::Value* StructValue::add_items() {
|
||||
::greptime::v1::Value* _add = _internal_add_items();
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.StructValue.items)
|
||||
return _add;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Value >&
|
||||
StructValue::items() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.StructValue.items)
|
||||
return _impl_.items_;
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif // __GNUC__
|
||||
@@ -2831,6 +3433,10 @@ inline Value::ValueDataCase Value::value_data_case() const {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
|
||||
+142
-113
@@ -177,6 +177,8 @@ type Column_Values struct {
|
||||
IntervalDayTimeValues []int64 `protobuf:"varint,25,rep,packed,name=interval_day_time_values,json=intervalDayTimeValues,proto3" json:"interval_day_time_values,omitempty"`
|
||||
IntervalMonthDayNanoValues []*IntervalMonthDayNano `protobuf:"bytes,26,rep,name=interval_month_day_nano_values,json=intervalMonthDayNanoValues,proto3" json:"interval_month_day_nano_values,omitempty"`
|
||||
Decimal128Values []*Decimal128 `protobuf:"bytes,31,rep,name=decimal128_values,json=decimal128Values,proto3" json:"decimal128_values,omitempty"`
|
||||
ListValues []*ListValue `protobuf:"bytes,40,rep,name=list_values,json=listValues,proto3" json:"list_values,omitempty"`
|
||||
StructValues []*StructValue `protobuf:"bytes,41,rep,name=struct_values,json=structValues,proto3" json:"struct_values,omitempty"`
|
||||
}
|
||||
|
||||
func (x *Column_Values) Reset() {
|
||||
@@ -400,6 +402,20 @@ func (x *Column_Values) GetDecimal128Values() []*Decimal128 {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Column_Values) GetListValues() []*ListValue {
|
||||
if x != nil {
|
||||
return x.ListValues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Column_Values) GetStructValues() []*StructValue {
|
||||
if x != nil {
|
||||
return x.StructValues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_greptime_v1_column_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_greptime_v1_column_proto_rawDesc = []byte{
|
||||
@@ -407,115 +423,123 @@ var file_greptime_v1_column_proto_rawDesc = []byte{
|
||||
0x6c, 0x75, 0x6d, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x18, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x22, 0xe3, 0x0c, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x1f, 0x0a, 0x0b,
|
||||
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a,
|
||||
0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52,
|
||||
0x0c, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a,
|
||||
0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x37,
|
||||
0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e,
|
||||
0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,
|
||||
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64,
|
||||
0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x64, 0x61, 0x74, 0x61, 0x74,
|
||||
0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65,
|
||||
0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x74,
|
||||
0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x07,
|
||||
0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x73, 0x1a, 0xe2, 0x09, 0x0a, 0x06, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1b, 0x0a,
|
||||
0x09, 0x69, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05,
|
||||
0x52, 0x08, 0x69, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x31,
|
||||
0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09,
|
||||
0x69, 0x31, 0x36, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x33, 0x32,
|
||||
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x69,
|
||||
0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x36, 0x34, 0x5f,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x69, 0x36,
|
||||
0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x38, 0x5f, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x08, 0x75, 0x38, 0x56, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x31, 0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x75, 0x31, 0x36, 0x56, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x75, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x18, 0x08, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x75, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18,
|
||||
0x09, 0x20, 0x03, 0x28, 0x02, 0x52, 0x09, 0x66, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0a,
|
||||
0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x66, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12,
|
||||
0x1f, 0x0a, 0x0b, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0b,
|
||||
0x20, 0x03, 0x28, 0x08, 0x52, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x12, 0x23, 0x0a, 0x0d, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74,
|
||||
0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61,
|
||||
0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x05, 0x52,
|
||||
0x0a, 0x64, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x64,
|
||||
0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0f,
|
||||
0x20, 0x03, 0x28, 0x03, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
||||
0x70, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18,
|
||||
0x10, 0x20, 0x03, 0x28, 0x03, 0x52, 0x15, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
||||
0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73,
|
||||
0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x11, 0x20, 0x03,
|
||||
0x28, 0x03, 0x52, 0x1a, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d, 0x69, 0x6c,
|
||||
0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x40,
|
||||
0x0a, 0x1c, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x63, 0x72,
|
||||
0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x12,
|
||||
0x20, 0x03, 0x28, 0x03, 0x52, 0x1a, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d,
|
||||
0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x12, 0x3e, 0x0a, 0x1b, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6e, 0x61,
|
||||
0x6f, 0x1a, 0x15, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72,
|
||||
0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdb, 0x0d, 0x0a, 0x06, 0x43, 0x6f, 0x6c,
|
||||
0x75, 0x6d, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63,
|
||||
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63,
|
||||
0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x75, 0x6c, 0x6c,
|
||||
0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6e, 0x75, 0x6c,
|
||||
0x6c, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x37, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61,
|
||||
0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x12, 0x53,
|
||||
0x0a, 0x12, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65,
|
||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44,
|
||||
0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
|
||||
0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
||||
0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xda, 0x0a, 0x0a, 0x06, 0x56, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x69, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x31, 0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18,
|
||||
0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x69, 0x31, 0x36, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03,
|
||||
0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x69, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12,
|
||||
0x1d, 0x0a, 0x0a, 0x69, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x04, 0x20,
|
||||
0x03, 0x28, 0x03, 0x52, 0x09, 0x69, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1b,
|
||||
0x0a, 0x09, 0x75, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
|
||||
0x0d, 0x52, 0x08, 0x75, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75,
|
||||
0x31, 0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0d, 0x52,
|
||||
0x09, 0x75, 0x31, 0x36, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x33,
|
||||
0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09,
|
||||
0x75, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x36, 0x34,
|
||||
0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x75,
|
||||
0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x33, 0x32, 0x5f,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x02, 0x52, 0x09, 0x66, 0x33,
|
||||
0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x36, 0x34, 0x5f, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x66, 0x36, 0x34,
|
||||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x08, 0x52, 0x0a, 0x62, 0x6f, 0x6f,
|
||||
0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x69, 0x6e, 0x61, 0x72,
|
||||
0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c,
|
||||
0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d,
|
||||
0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0d, 0x20,
|
||||
0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x18, 0x0e, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0e, 0x64, 0x61, 0x74,
|
||||
0x65, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x03, 0x52, 0x15, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
||||
0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x03, 0x52, 0x1a, 0x74, 0x69, 0x6d, 0x65, 0x73,
|
||||
0x74, 0x61, 0x6d, 0x70, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x1c, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
||||
0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x03, 0x52, 0x1a, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e,
|
||||
0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x1b, 0x74, 0x69, 0x6d, 0x65, 0x73,
|
||||
0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x03, 0x52, 0x19, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e,
|
||||
0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x5f,
|
||||
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x14, 0x20,
|
||||
0x03, 0x28, 0x03, 0x52, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69,
|
||||
0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x18, 0x15, 0x20, 0x03, 0x28, 0x03, 0x52, 0x15, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x6c, 0x6c,
|
||||
0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x36, 0x0a,
|
||||
0x17, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e,
|
||||
0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x16, 0x20, 0x03, 0x28, 0x03, 0x52, 0x15,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x61,
|
||||
0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18,
|
||||
0x13, 0x20, 0x03, 0x28, 0x03, 0x52, 0x19, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
||||
0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||
0x12, 0x2c, 0x0a, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x03, 0x52, 0x10, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x36,
|
||||
0x0a, 0x17, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f,
|
||||
0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x03, 0x52,
|
||||
0x15, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
|
||||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d,
|
||||
0x69, 0x63, 0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x18, 0x16, 0x20, 0x03, 0x28, 0x03, 0x52, 0x15, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x69, 0x63,
|
||||
0x72, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x34,
|
||||
0x0a, 0x16, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e,
|
||||
0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x03, 0x52, 0x14,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
|
||||
0x5f, 0x79, 0x65, 0x61, 0x72, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x73, 0x18, 0x18, 0x20, 0x03, 0x28, 0x05, 0x52, 0x17, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76,
|
||||
0x61, 0x6c, 0x59, 0x65, 0x61, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x12, 0x37, 0x0a, 0x18, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x64, 0x61,
|
||||
0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x19, 0x20,
|
||||
0x03, 0x28, 0x03, 0x52, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x44, 0x61, 0x79,
|
||||
0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x65, 0x0a, 0x1e, 0x69, 0x6e,
|
||||
0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x5f, 0x64, 0x61, 0x79,
|
||||
0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x1a, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61,
|
||||
0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x52, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d,
|
||||
0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x12, 0x44, 0x0a, 0x11, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x5f,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x6d,
|
||||
0x61, 0x6c, 0x31, 0x32, 0x38, 0x52, 0x10, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32,
|
||||
0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
|
||||
0x6e, 0x73, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x33,
|
||||
0x17, 0x20, 0x03, 0x28, 0x03, 0x52, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x4e, 0x61, 0x6e, 0x6f, 0x73,
|
||||
0x65, 0x63, 0x6f, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x69,
|
||||
0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x79, 0x65, 0x61, 0x72, 0x5f, 0x6d, 0x6f, 0x6e,
|
||||
0x74, 0x68, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x18, 0x20, 0x03, 0x28, 0x05, 0x52,
|
||||
0x17, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x59, 0x65, 0x61, 0x72, 0x4d, 0x6f, 0x6e,
|
||||
0x74, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x69, 0x6e, 0x74, 0x65,
|
||||
0x72, 0x76, 0x61, 0x6c, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x73, 0x18, 0x19, 0x20, 0x03, 0x28, 0x03, 0x52, 0x15, 0x69, 0x6e, 0x74, 0x65,
|
||||
0x72, 0x76, 0x61, 0x6c, 0x44, 0x61, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x12, 0x65, 0x0a, 0x1e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x6f,
|
||||
0x6e, 0x74, 0x68, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x5f, 0x76, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
|
||||
0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x52, 0x1a, 0x69, 0x6e,
|
||||
0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61,
|
||||
0x6e, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x11, 0x64, 0x65, 0x63, 0x69,
|
||||
0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x1f, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x52, 0x10, 0x64, 0x65,
|
||||
0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x37,
|
||||
0x0a, 0x0b, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x28, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x6c, 0x69, 0x73,
|
||||
0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x75, 0x63,
|
||||
0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x29, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72,
|
||||
0x75, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74,
|
||||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65,
|
||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x73, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65,
|
||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -540,6 +564,8 @@ var file_greptime_v1_column_proto_goTypes = []interface{}{
|
||||
(*ColumnOptions)(nil), // 5: greptime.v1.ColumnOptions
|
||||
(*IntervalMonthDayNano)(nil), // 6: greptime.v1.IntervalMonthDayNano
|
||||
(*Decimal128)(nil), // 7: greptime.v1.Decimal128
|
||||
(*ListValue)(nil), // 8: greptime.v1.ListValue
|
||||
(*StructValue)(nil), // 9: greptime.v1.StructValue
|
||||
}
|
||||
var file_greptime_v1_column_proto_depIdxs = []int32{
|
||||
2, // 0: greptime.v1.Column.semantic_type:type_name -> greptime.v1.SemanticType
|
||||
@@ -549,11 +575,13 @@ var file_greptime_v1_column_proto_depIdxs = []int32{
|
||||
5, // 4: greptime.v1.Column.options:type_name -> greptime.v1.ColumnOptions
|
||||
6, // 5: greptime.v1.Column.Values.interval_month_day_nano_values:type_name -> greptime.v1.IntervalMonthDayNano
|
||||
7, // 6: greptime.v1.Column.Values.decimal128_values:type_name -> greptime.v1.Decimal128
|
||||
7, // [7:7] is the sub-list for method output_type
|
||||
7, // [7:7] is the sub-list for method input_type
|
||||
7, // [7:7] is the sub-list for extension type_name
|
||||
7, // [7:7] is the sub-list for extension extendee
|
||||
0, // [0:7] is the sub-list for field type_name
|
||||
8, // 7: greptime.v1.Column.Values.list_values:type_name -> greptime.v1.ListValue
|
||||
9, // 8: greptime.v1.Column.Values.struct_values:type_name -> greptime.v1.StructValue
|
||||
9, // [9:9] is the sub-list for method output_type
|
||||
9, // [9:9] is the sub-list for method input_type
|
||||
9, // [9:9] is the sub-list for extension type_name
|
||||
9, // [9:9] is the sub-list for extension extendee
|
||||
0, // [0:9] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_greptime_v1_column_proto_init() }
|
||||
@@ -562,6 +590,7 @@ func file_greptime_v1_column_proto_init() {
|
||||
return
|
||||
}
|
||||
file_greptime_v1_common_proto_init()
|
||||
file_greptime_v1_row_proto_init()
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_greptime_v1_column_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*Column); i {
|
||||
|
||||
+412
-130
@@ -115,6 +115,8 @@ const (
|
||||
ColumnDataType_DECIMAL128 ColumnDataType = 30
|
||||
ColumnDataType_JSON ColumnDataType = 31
|
||||
ColumnDataType_VECTOR ColumnDataType = 32
|
||||
ColumnDataType_LIST ColumnDataType = 40
|
||||
ColumnDataType_STRUCT ColumnDataType = 41
|
||||
)
|
||||
|
||||
// Enum value maps for ColumnDataType.
|
||||
@@ -149,6 +151,8 @@ var (
|
||||
30: "DECIMAL128",
|
||||
31: "JSON",
|
||||
32: "VECTOR",
|
||||
40: "LIST",
|
||||
41: "STRUCT",
|
||||
}
|
||||
ColumnDataType_value = map[string]int32{
|
||||
"BOOLEAN": 0,
|
||||
@@ -180,6 +184,8 @@ var (
|
||||
"DECIMAL128": 30,
|
||||
"JSON": 31,
|
||||
"VECTOR": 32,
|
||||
"LIST": 40,
|
||||
"STRUCT": 41,
|
||||
}
|
||||
)
|
||||
|
||||
@@ -1427,6 +1433,69 @@ func (x *Decimal128) GetLo() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type StructField struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
Datatype ColumnDataType `protobuf:"varint,2,opt,name=datatype,proto3,enum=greptime.v1.ColumnDataType" json:"datatype,omitempty"`
|
||||
DatatypeExtension *ColumnDataTypeExtension `protobuf:"bytes,3,opt,name=datatype_extension,json=datatypeExtension,proto3" json:"datatype_extension,omitempty"`
|
||||
}
|
||||
|
||||
func (x *StructField) Reset() {
|
||||
*x = StructField{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[19]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StructField) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StructField) ProtoMessage() {}
|
||||
|
||||
func (x *StructField) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[19]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use StructField.ProtoReflect.Descriptor instead.
|
||||
func (*StructField) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{19}
|
||||
}
|
||||
|
||||
func (x *StructField) GetName() string {
|
||||
if x != nil {
|
||||
return x.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *StructField) GetDatatype() ColumnDataType {
|
||||
if x != nil {
|
||||
return x.Datatype
|
||||
}
|
||||
return ColumnDataType_BOOLEAN
|
||||
}
|
||||
|
||||
func (x *StructField) GetDatatypeExtension() *ColumnDataTypeExtension {
|
||||
if x != nil {
|
||||
return x.DatatypeExtension
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Type extension for some complex types
|
||||
type ColumnDataTypeExtension struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -1438,13 +1507,15 @@ type ColumnDataTypeExtension struct {
|
||||
// *ColumnDataTypeExtension_DecimalType
|
||||
// *ColumnDataTypeExtension_JsonType
|
||||
// *ColumnDataTypeExtension_VectorType
|
||||
// *ColumnDataTypeExtension_ListType
|
||||
// *ColumnDataTypeExtension_StructType
|
||||
TypeExt isColumnDataTypeExtension_TypeExt `protobuf_oneof:"type_ext"`
|
||||
}
|
||||
|
||||
func (x *ColumnDataTypeExtension) Reset() {
|
||||
*x = ColumnDataTypeExtension{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[19]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[20]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1457,7 +1528,7 @@ func (x *ColumnDataTypeExtension) String() string {
|
||||
func (*ColumnDataTypeExtension) ProtoMessage() {}
|
||||
|
||||
func (x *ColumnDataTypeExtension) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[19]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[20]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1470,7 +1541,7 @@ func (x *ColumnDataTypeExtension) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ColumnDataTypeExtension.ProtoReflect.Descriptor instead.
|
||||
func (*ColumnDataTypeExtension) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{19}
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{20}
|
||||
}
|
||||
|
||||
func (m *ColumnDataTypeExtension) GetTypeExt() isColumnDataTypeExtension_TypeExt {
|
||||
@@ -1501,6 +1572,20 @@ func (x *ColumnDataTypeExtension) GetVectorType() *VectorTypeExtension {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ColumnDataTypeExtension) GetListType() *ListTypeExtension {
|
||||
if x, ok := x.GetTypeExt().(*ColumnDataTypeExtension_ListType); ok {
|
||||
return x.ListType
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ColumnDataTypeExtension) GetStructType() *StructTypeExtension {
|
||||
if x, ok := x.GetTypeExt().(*ColumnDataTypeExtension_StructType); ok {
|
||||
return x.StructType
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isColumnDataTypeExtension_TypeExt interface {
|
||||
isColumnDataTypeExtension_TypeExt()
|
||||
}
|
||||
@@ -1518,12 +1603,24 @@ type ColumnDataTypeExtension_VectorType struct {
|
||||
VectorType *VectorTypeExtension `protobuf:"bytes,3,opt,name=vector_type,json=vectorType,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ColumnDataTypeExtension_ListType struct {
|
||||
ListType *ListTypeExtension `protobuf:"bytes,4,opt,name=list_type,json=listType,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ColumnDataTypeExtension_StructType struct {
|
||||
StructType *StructTypeExtension `protobuf:"bytes,5,opt,name=struct_type,json=structType,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ColumnDataTypeExtension_DecimalType) isColumnDataTypeExtension_TypeExt() {}
|
||||
|
||||
func (*ColumnDataTypeExtension_JsonType) isColumnDataTypeExtension_TypeExt() {}
|
||||
|
||||
func (*ColumnDataTypeExtension_VectorType) isColumnDataTypeExtension_TypeExt() {}
|
||||
|
||||
func (*ColumnDataTypeExtension_ListType) isColumnDataTypeExtension_TypeExt() {}
|
||||
|
||||
func (*ColumnDataTypeExtension_StructType) isColumnDataTypeExtension_TypeExt() {}
|
||||
|
||||
type DecimalTypeExtension struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -1536,7 +1633,7 @@ type DecimalTypeExtension struct {
|
||||
func (x *DecimalTypeExtension) Reset() {
|
||||
*x = DecimalTypeExtension{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[20]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[21]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1549,7 +1646,7 @@ func (x *DecimalTypeExtension) String() string {
|
||||
func (*DecimalTypeExtension) ProtoMessage() {}
|
||||
|
||||
func (x *DecimalTypeExtension) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[20]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[21]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1562,7 +1659,7 @@ func (x *DecimalTypeExtension) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DecimalTypeExtension.ProtoReflect.Descriptor instead.
|
||||
func (*DecimalTypeExtension) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{20}
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{21}
|
||||
}
|
||||
|
||||
func (x *DecimalTypeExtension) GetPrecision() int32 {
|
||||
@@ -1590,7 +1687,7 @@ type VectorTypeExtension struct {
|
||||
func (x *VectorTypeExtension) Reset() {
|
||||
*x = VectorTypeExtension{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[21]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[22]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1603,7 +1700,7 @@ func (x *VectorTypeExtension) String() string {
|
||||
func (*VectorTypeExtension) ProtoMessage() {}
|
||||
|
||||
func (x *VectorTypeExtension) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[21]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[22]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1616,7 +1713,7 @@ func (x *VectorTypeExtension) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use VectorTypeExtension.ProtoReflect.Descriptor instead.
|
||||
func (*VectorTypeExtension) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{21}
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{22}
|
||||
}
|
||||
|
||||
func (x *VectorTypeExtension) GetDim() uint32 {
|
||||
@@ -1626,6 +1723,108 @@ func (x *VectorTypeExtension) GetDim() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type ListTypeExtension struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Datatype ColumnDataType `protobuf:"varint,1,opt,name=datatype,proto3,enum=greptime.v1.ColumnDataType" json:"datatype,omitempty"`
|
||||
DatatypeExtension *ColumnDataTypeExtension `protobuf:"bytes,2,opt,name=datatype_extension,json=datatypeExtension,proto3" json:"datatype_extension,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ListTypeExtension) Reset() {
|
||||
*x = ListTypeExtension{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[23]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ListTypeExtension) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ListTypeExtension) ProtoMessage() {}
|
||||
|
||||
func (x *ListTypeExtension) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[23]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ListTypeExtension.ProtoReflect.Descriptor instead.
|
||||
func (*ListTypeExtension) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{23}
|
||||
}
|
||||
|
||||
func (x *ListTypeExtension) GetDatatype() ColumnDataType {
|
||||
if x != nil {
|
||||
return x.Datatype
|
||||
}
|
||||
return ColumnDataType_BOOLEAN
|
||||
}
|
||||
|
||||
func (x *ListTypeExtension) GetDatatypeExtension() *ColumnDataTypeExtension {
|
||||
if x != nil {
|
||||
return x.DatatypeExtension
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type StructTypeExtension struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Fields []*StructField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
|
||||
}
|
||||
|
||||
func (x *StructTypeExtension) Reset() {
|
||||
*x = StructTypeExtension{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[24]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StructTypeExtension) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StructTypeExtension) ProtoMessage() {}
|
||||
|
||||
func (x *StructTypeExtension) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[24]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use StructTypeExtension.ProtoReflect.Descriptor instead.
|
||||
func (*StructTypeExtension) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{24}
|
||||
}
|
||||
|
||||
func (x *StructTypeExtension) GetFields() []*StructField {
|
||||
if x != nil {
|
||||
return x.Fields
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Additional options for the column.
|
||||
type ColumnOptions struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -1658,7 +1857,7 @@ type ColumnOptions struct {
|
||||
func (x *ColumnOptions) Reset() {
|
||||
*x = ColumnOptions{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[22]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[25]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1671,7 +1870,7 @@ func (x *ColumnOptions) String() string {
|
||||
func (*ColumnOptions) ProtoMessage() {}
|
||||
|
||||
func (x *ColumnOptions) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[22]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[25]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1684,7 +1883,7 @@ func (x *ColumnOptions) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ColumnOptions.ProtoReflect.Descriptor instead.
|
||||
func (*ColumnOptions) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{22}
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{25}
|
||||
}
|
||||
|
||||
func (x *ColumnOptions) GetOptions() map[string]string {
|
||||
@@ -1707,7 +1906,7 @@ type ArrowIpc struct {
|
||||
func (x *ArrowIpc) Reset() {
|
||||
*x = ArrowIpc{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[23]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[26]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1720,7 +1919,7 @@ func (x *ArrowIpc) String() string {
|
||||
func (*ArrowIpc) ProtoMessage() {}
|
||||
|
||||
func (x *ArrowIpc) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[23]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[26]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1733,7 +1932,7 @@ func (x *ArrowIpc) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ArrowIpc.ProtoReflect.Descriptor instead.
|
||||
func (*ArrowIpc) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{23}
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{26}
|
||||
}
|
||||
|
||||
func (x *ArrowIpc) GetSchema() []byte {
|
||||
@@ -1900,91 +2099,126 @@ var file_greptime_v1_common_proto_rawDesc = []byte{
|
||||
0x73, 0x22, 0x2c, 0x0a, 0x0a, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x12,
|
||||
0x0e, 0x0a, 0x02, 0x68, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x68, 0x69, 0x12,
|
||||
0x0e, 0x0a, 0x02, 0x6c, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x6c, 0x6f, 0x22,
|
||||
0xf1, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79,
|
||||
0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x0c, 0x64,
|
||||
0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54,
|
||||
0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74,
|
||||
0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x54, 0x79,
|
||||
0x70, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65,
|
||||
0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a, 0x76, 0x65, 0x63,
|
||||
0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f,
|
||||
0x65, 0x78, 0x74, 0x22, 0x4a, 0x0a, 0x14, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79,
|
||||
0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70,
|
||||
0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
|
||||
0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61,
|
||||
0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x22,
|
||||
0x27, 0x0a, 0x13, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74,
|
||||
0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x6d, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0d, 0x52, 0x03, 0x64, 0x69, 0x6d, 0x22, 0x8e, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6c,
|
||||
0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x07, 0x6f, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45,
|
||||
0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a,
|
||||
0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
||||
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5d, 0x0a, 0x08, 0x41, 0x72, 0x72,
|
||||
0x6f, 0x77, 0x49, 0x70, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1f, 0x0a,
|
||||
0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18,
|
||||
0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
||||
0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2a, 0x31, 0x0a, 0x0c, 0x53, 0x65, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10,
|
||||
0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09,
|
||||
0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x02, 0x2a, 0xec, 0x03, 0x0a, 0x0e,
|
||||
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b,
|
||||
0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49,
|
||||
0x4e, 0x54, 0x38, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x02,
|
||||
0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x49,
|
||||
0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49, 0x4e, 0x54, 0x38, 0x10,
|
||||
0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a,
|
||||
0x06, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e,
|
||||
0x54, 0x36, 0x34, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32,
|
||||
0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x0a, 0x12,
|
||||
0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x53,
|
||||
0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10,
|
||||
0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0e, 0x12,
|
||||
0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x53, 0x45, 0x43,
|
||||
0x4f, 0x4e, 0x44, 0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41,
|
||||
0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x10,
|
||||
0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49,
|
||||
0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x11, 0x12, 0x18, 0x0a, 0x14, 0x54,
|
||||
0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43,
|
||||
0x4f, 0x4e, 0x44, 0x10, 0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x53, 0x45,
|
||||
0x43, 0x4f, 0x4e, 0x44, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d,
|
||||
0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x14, 0x12, 0x14, 0x0a, 0x10,
|
||||
0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44,
|
||||
0x10, 0x15, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53,
|
||||
0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x16, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x54, 0x45, 0x52,
|
||||
0x56, 0x41, 0x4c, 0x5f, 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x10, 0x17,
|
||||
0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x44, 0x41, 0x59,
|
||||
0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x18, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x54, 0x45, 0x52,
|
||||
0x56, 0x41, 0x4c, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x4e, 0x41,
|
||||
0x4e, 0x4f, 0x10, 0x19, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x43, 0x49, 0x4d, 0x41, 0x4c, 0x31,
|
||||
0x32, 0x38, 0x10, 0x1e, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x1f, 0x12, 0x0a,
|
||||
0x0a, 0x06, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x10, 0x20, 0x2a, 0x48, 0x0a, 0x08, 0x54, 0x69,
|
||||
0x6d, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53,
|
||||
0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x43, 0x4f, 0x4e,
|
||||
0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f,
|
||||
0x4e, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f,
|
||||
0x4e, 0x44, 0x10, 0x03, 0x2a, 0x24, 0x0a, 0x11, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
|
||||
0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x00, 0x42, 0x4f, 0x0a, 0x0e, 0x69, 0x6f,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x06, 0x43, 0x6f,
|
||||
0x6d, 0x6d, 0x6f, 0x6e, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
|
||||
0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
0xaf, 0x01, 0x0a, 0x0b, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79,
|
||||
0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x12, 0x53, 0x0a, 0x12,
|
||||
0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74,
|
||||
0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11,
|
||||
0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x22, 0xf5, 0x02, 0x0a, 0x17, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61,
|
||||
0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a,
|
||||
0x0c, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74,
|
||||
0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61,
|
||||
0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x74, 0x79,
|
||||
0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x45,
|
||||
0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e,
|
||||
0x54, 0x79, 0x70, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74,
|
||||
0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79,
|
||||
0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a, 0x76,
|
||||
0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x09, 0x6c, 0x69, 0x73,
|
||||
0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54,
|
||||
0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08,
|
||||
0x6c, 0x69, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x75,
|
||||
0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x75,
|
||||
0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48,
|
||||
0x00, 0x52, 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x0a,
|
||||
0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x22, 0x4a, 0x0a, 0x14, 0x44, 0x65, 0x63,
|
||||
0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
||||
0x73, 0x63, 0x61, 0x6c, 0x65, 0x22, 0x27, 0x0a, 0x13, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54,
|
||||
0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03,
|
||||
0x64, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x64, 0x69, 0x6d, 0x22, 0xa1,
|
||||
0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54,
|
||||
0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x12, 0x53, 0x0a,
|
||||
0x12, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61,
|
||||
0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52,
|
||||
0x11, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x22, 0x47, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65,
|
||||
0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x06, 0x66, 0x69, 0x65,
|
||||
0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x46, 0x69,
|
||||
0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x0d,
|
||||
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a,
|
||||
0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c,
|
||||
0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
||||
0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||||
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
|
||||
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5d, 0x0a, 0x08,
|
||||
0x41, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65,
|
||||
0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
|
||||
0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65,
|
||||
0x72, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2a, 0x31, 0x0a, 0x0c, 0x53,
|
||||
0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54,
|
||||
0x41, 0x47, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x01, 0x12,
|
||||
0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x02, 0x2a, 0x82,
|
||||
0x04, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70,
|
||||
0x65, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x00, 0x12, 0x08,
|
||||
0x0a, 0x04, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x31,
|
||||
0x36, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x03, 0x12, 0x09,
|
||||
0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49, 0x4e,
|
||||
0x54, 0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x06,
|
||||
0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06,
|
||||
0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41,
|
||||
0x54, 0x33, 0x32, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34,
|
||||
0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x0b, 0x12, 0x0a,
|
||||
0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41,
|
||||
0x54, 0x45, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45,
|
||||
0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f,
|
||||
0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45,
|
||||
0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e,
|
||||
0x44, 0x10, 0x10, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50,
|
||||
0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x11, 0x12, 0x18,
|
||||
0x0a, 0x14, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x41, 0x4e, 0x4f,
|
||||
0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d, 0x45,
|
||||
0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d,
|
||||
0x45, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x14, 0x12,
|
||||
0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43,
|
||||
0x4f, 0x4e, 0x44, 0x10, 0x15, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4e, 0x41,
|
||||
0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x16, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e,
|
||||
0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x4f, 0x4e, 0x54,
|
||||
0x48, 0x10, 0x17, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f,
|
||||
0x44, 0x41, 0x59, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x18, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e,
|
||||
0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x44, 0x41, 0x59,
|
||||
0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x10, 0x19, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x43, 0x49, 0x4d,
|
||||
0x41, 0x4c, 0x31, 0x32, 0x38, 0x10, 0x1e, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10,
|
||||
0x1f, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x10, 0x20, 0x12, 0x08, 0x0a,
|
||||
0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x28, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x55, 0x43,
|
||||
0x54, 0x10, 0x29, 0x2a, 0x48, 0x0a, 0x08, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x12,
|
||||
0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x00,
|
||||
0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b,
|
||||
0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a,
|
||||
0x0a, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x03, 0x2a, 0x24, 0x0a,
|
||||
0x11, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52,
|
||||
0x59, 0x10, 0x00, 0x42, 0x4f, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5a, 0x35, 0x67,
|
||||
0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -2000,7 +2234,7 @@ func file_greptime_v1_common_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_greptime_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
|
||||
var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
|
||||
var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 32)
|
||||
var file_greptime_v1_common_proto_goTypes = []interface{}{
|
||||
(SemanticType)(0), // 0: greptime.v1.SemanticType
|
||||
(ColumnDataType)(0), // 1: greptime.v1.ColumnDataType
|
||||
@@ -2025,25 +2259,28 @@ var file_greptime_v1_common_proto_goTypes = []interface{}{
|
||||
(*TimeRange)(nil), // 20: greptime.v1.TimeRange
|
||||
(*TimeRanges)(nil), // 21: greptime.v1.TimeRanges
|
||||
(*Decimal128)(nil), // 22: greptime.v1.Decimal128
|
||||
(*ColumnDataTypeExtension)(nil), // 23: greptime.v1.ColumnDataTypeExtension
|
||||
(*DecimalTypeExtension)(nil), // 24: greptime.v1.DecimalTypeExtension
|
||||
(*VectorTypeExtension)(nil), // 25: greptime.v1.VectorTypeExtension
|
||||
(*ColumnOptions)(nil), // 26: greptime.v1.ColumnOptions
|
||||
(*ArrowIpc)(nil), // 27: greptime.v1.ArrowIpc
|
||||
nil, // 28: greptime.v1.QueryContext.ExtensionsEntry
|
||||
nil, // 29: greptime.v1.SnapshotSequences.SstMinSequencesEntry
|
||||
nil, // 30: greptime.v1.SnapshotSequences.SnapshotSeqsEntry
|
||||
nil, // 31: greptime.v1.RequestHeader.TracingContextEntry
|
||||
nil, // 32: greptime.v1.ColumnOptions.OptionsEntry
|
||||
(*StructField)(nil), // 23: greptime.v1.StructField
|
||||
(*ColumnDataTypeExtension)(nil), // 24: greptime.v1.ColumnDataTypeExtension
|
||||
(*DecimalTypeExtension)(nil), // 25: greptime.v1.DecimalTypeExtension
|
||||
(*VectorTypeExtension)(nil), // 26: greptime.v1.VectorTypeExtension
|
||||
(*ListTypeExtension)(nil), // 27: greptime.v1.ListTypeExtension
|
||||
(*StructTypeExtension)(nil), // 28: greptime.v1.StructTypeExtension
|
||||
(*ColumnOptions)(nil), // 29: greptime.v1.ColumnOptions
|
||||
(*ArrowIpc)(nil), // 30: greptime.v1.ArrowIpc
|
||||
nil, // 31: greptime.v1.QueryContext.ExtensionsEntry
|
||||
nil, // 32: greptime.v1.SnapshotSequences.SstMinSequencesEntry
|
||||
nil, // 33: greptime.v1.SnapshotSequences.SnapshotSeqsEntry
|
||||
nil, // 34: greptime.v1.RequestHeader.TracingContextEntry
|
||||
nil, // 35: greptime.v1.ColumnOptions.OptionsEntry
|
||||
}
|
||||
var file_greptime_v1_common_proto_depIdxs = []int32{
|
||||
28, // 0: greptime.v1.QueryContext.extensions:type_name -> greptime.v1.QueryContext.ExtensionsEntry
|
||||
31, // 0: greptime.v1.QueryContext.extensions:type_name -> greptime.v1.QueryContext.ExtensionsEntry
|
||||
5, // 1: greptime.v1.QueryContext.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences
|
||||
6, // 2: greptime.v1.QueryContext.explain:type_name -> greptime.v1.ExplainOptions
|
||||
29, // 3: greptime.v1.SnapshotSequences.sst_min_sequences:type_name -> greptime.v1.SnapshotSequences.SstMinSequencesEntry
|
||||
30, // 4: greptime.v1.SnapshotSequences.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences.SnapshotSeqsEntry
|
||||
32, // 3: greptime.v1.SnapshotSequences.sst_min_sequences:type_name -> greptime.v1.SnapshotSequences.SstMinSequencesEntry
|
||||
33, // 4: greptime.v1.SnapshotSequences.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences.SnapshotSeqsEntry
|
||||
10, // 5: greptime.v1.RequestHeader.authorization:type_name -> greptime.v1.AuthHeader
|
||||
31, // 6: greptime.v1.RequestHeader.tracing_context:type_name -> greptime.v1.RequestHeader.TracingContextEntry
|
||||
34, // 6: greptime.v1.RequestHeader.tracing_context:type_name -> greptime.v1.RequestHeader.TracingContextEntry
|
||||
9, // 7: greptime.v1.ResponseHeader.status:type_name -> greptime.v1.Status
|
||||
11, // 8: greptime.v1.AuthHeader.basic:type_name -> greptime.v1.Basic
|
||||
12, // 9: greptime.v1.AuthHeader.token:type_name -> greptime.v1.Token
|
||||
@@ -2051,15 +2288,22 @@ var file_greptime_v1_common_proto_depIdxs = []int32{
|
||||
15, // 11: greptime.v1.FlightMetadata.metrics:type_name -> greptime.v1.Metrics
|
||||
2, // 12: greptime.v1.TimeRanges.time_unit:type_name -> greptime.v1.TimeUnit
|
||||
20, // 13: greptime.v1.TimeRanges.time_ranges:type_name -> greptime.v1.TimeRange
|
||||
24, // 14: greptime.v1.ColumnDataTypeExtension.decimal_type:type_name -> greptime.v1.DecimalTypeExtension
|
||||
3, // 15: greptime.v1.ColumnDataTypeExtension.json_type:type_name -> greptime.v1.JsonTypeExtension
|
||||
25, // 16: greptime.v1.ColumnDataTypeExtension.vector_type:type_name -> greptime.v1.VectorTypeExtension
|
||||
32, // 17: greptime.v1.ColumnOptions.options:type_name -> greptime.v1.ColumnOptions.OptionsEntry
|
||||
18, // [18:18] is the sub-list for method output_type
|
||||
18, // [18:18] is the sub-list for method input_type
|
||||
18, // [18:18] is the sub-list for extension type_name
|
||||
18, // [18:18] is the sub-list for extension extendee
|
||||
0, // [0:18] is the sub-list for field type_name
|
||||
1, // 14: greptime.v1.StructField.datatype:type_name -> greptime.v1.ColumnDataType
|
||||
24, // 15: greptime.v1.StructField.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
25, // 16: greptime.v1.ColumnDataTypeExtension.decimal_type:type_name -> greptime.v1.DecimalTypeExtension
|
||||
3, // 17: greptime.v1.ColumnDataTypeExtension.json_type:type_name -> greptime.v1.JsonTypeExtension
|
||||
26, // 18: greptime.v1.ColumnDataTypeExtension.vector_type:type_name -> greptime.v1.VectorTypeExtension
|
||||
27, // 19: greptime.v1.ColumnDataTypeExtension.list_type:type_name -> greptime.v1.ListTypeExtension
|
||||
28, // 20: greptime.v1.ColumnDataTypeExtension.struct_type:type_name -> greptime.v1.StructTypeExtension
|
||||
1, // 21: greptime.v1.ListTypeExtension.datatype:type_name -> greptime.v1.ColumnDataType
|
||||
24, // 22: greptime.v1.ListTypeExtension.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
23, // 23: greptime.v1.StructTypeExtension.fields:type_name -> greptime.v1.StructField
|
||||
35, // 24: greptime.v1.ColumnOptions.options:type_name -> greptime.v1.ColumnOptions.OptionsEntry
|
||||
25, // [25:25] is the sub-list for method output_type
|
||||
25, // [25:25] is the sub-list for method input_type
|
||||
25, // [25:25] is the sub-list for extension type_name
|
||||
25, // [25:25] is the sub-list for extension extendee
|
||||
0, // [0:25] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_greptime_v1_common_proto_init() }
|
||||
@@ -2297,7 +2541,7 @@ func file_greptime_v1_common_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ColumnDataTypeExtension); i {
|
||||
switch v := v.(*StructField); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -2309,7 +2553,7 @@ func file_greptime_v1_common_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DecimalTypeExtension); i {
|
||||
switch v := v.(*ColumnDataTypeExtension); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -2321,7 +2565,7 @@ func file_greptime_v1_common_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*VectorTypeExtension); i {
|
||||
switch v := v.(*DecimalTypeExtension); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -2333,7 +2577,7 @@ func file_greptime_v1_common_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ColumnOptions); i {
|
||||
switch v := v.(*VectorTypeExtension); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -2345,6 +2589,42 @@ func file_greptime_v1_common_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListTypeExtension); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StructTypeExtension); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ColumnOptions); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ArrowIpc); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -2361,10 +2641,12 @@ func file_greptime_v1_common_proto_init() {
|
||||
(*AuthHeader_Basic)(nil),
|
||||
(*AuthHeader_Token)(nil),
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[19].OneofWrappers = []interface{}{
|
||||
file_greptime_v1_common_proto_msgTypes[20].OneofWrappers = []interface{}{
|
||||
(*ColumnDataTypeExtension_DecimalType)(nil),
|
||||
(*ColumnDataTypeExtension_JsonType)(nil),
|
||||
(*ColumnDataTypeExtension_VectorType)(nil),
|
||||
(*ColumnDataTypeExtension_ListType)(nil),
|
||||
(*ColumnDataTypeExtension_StructType)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
@@ -2372,7 +2654,7 @@ func file_greptime_v1_common_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_greptime_v1_common_proto_rawDesc,
|
||||
NumEnums: 4,
|
||||
NumMessages: 29,
|
||||
NumMessages: 32,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
||||
+199
-31
@@ -251,6 +251,8 @@ type Value struct {
|
||||
// *Value_IntervalDayTimeValue
|
||||
// *Value_IntervalMonthDayNanoValue
|
||||
// *Value_Decimal128Value
|
||||
// *Value_ListValue
|
||||
// *Value_StructValue
|
||||
ValueData isValue_ValueData `protobuf_oneof:"value_data"`
|
||||
}
|
||||
|
||||
@@ -482,6 +484,20 @@ func (x *Value) GetDecimal128Value() *Decimal128 {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Value) GetListValue() *ListValue {
|
||||
if x, ok := x.GetValueData().(*Value_ListValue); ok {
|
||||
return x.ListValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Value) GetStructValue() *StructValue {
|
||||
if x, ok := x.GetValueData().(*Value_StructValue); ok {
|
||||
return x.StructValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isValue_ValueData interface {
|
||||
isValue_ValueData()
|
||||
}
|
||||
@@ -594,6 +610,14 @@ type Value_Decimal128Value struct {
|
||||
Decimal128Value *Decimal128 `protobuf:"bytes,31,opt,name=decimal128_value,json=decimal128Value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_ListValue struct {
|
||||
ListValue *ListValue `protobuf:"bytes,40,opt,name=list_value,json=listValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_StructValue struct {
|
||||
StructValue *StructValue `protobuf:"bytes,41,opt,name=struct_value,json=structValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Value_I8Value) isValue_ValueData() {}
|
||||
|
||||
func (*Value_I16Value) isValue_ValueData() {}
|
||||
@@ -648,6 +672,104 @@ func (*Value_IntervalMonthDayNanoValue) isValue_ValueData() {}
|
||||
|
||||
func (*Value_Decimal128Value) isValue_ValueData() {}
|
||||
|
||||
func (*Value_ListValue) isValue_ValueData() {}
|
||||
|
||||
func (*Value_StructValue) isValue_ValueData() {}
|
||||
|
||||
type ListValue struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Items []*Value `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ListValue) Reset() {
|
||||
*x = ListValue{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_row_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ListValue) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ListValue) ProtoMessage() {}
|
||||
|
||||
func (x *ListValue) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_row_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ListValue.ProtoReflect.Descriptor instead.
|
||||
func (*ListValue) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_row_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *ListValue) GetItems() []*Value {
|
||||
if x != nil {
|
||||
return x.Items
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type StructValue struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Items []*Value `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
|
||||
}
|
||||
|
||||
func (x *StructValue) Reset() {
|
||||
*x = StructValue{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_row_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StructValue) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StructValue) ProtoMessage() {}
|
||||
|
||||
func (x *StructValue) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_row_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use StructValue.ProtoReflect.Descriptor instead.
|
||||
func (*StructValue) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_row_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *StructValue) GetItems() []*Value {
|
||||
if x != nil {
|
||||
return x.Items
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_greptime_v1_row_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_greptime_v1_row_proto_rawDesc = []byte{
|
||||
@@ -683,7 +805,7 @@ var file_greptime_v1_row_proto_rawDesc = []byte{
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x31, 0x0a, 0x03, 0x52, 0x6f, 0x77, 0x12, 0x2a, 0x0a, 0x06,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xef, 0x09, 0x0a, 0x05, 0x56, 0x61, 0x6c,
|
||||
0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xe7, 0x0a, 0x0a, 0x05, 0x56, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x69, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x07, 0x69, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
|
||||
0x1d, 0x0a, 0x09, 0x69, 0x31, 0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
|
||||
@@ -761,14 +883,28 @@ var file_greptime_v1_row_proto_rawDesc = []byte{
|
||||
0x6c, 0x31, 0x32, 0x38, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
|
||||
0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x65, 0x63,
|
||||
0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c, 0x0a, 0x0a,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x52, 0x6f,
|
||||
0x77, 0x44, 0x61, 0x74, 0x61, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
||||
0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
|
||||
0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x37, 0x0a, 0x0a,
|
||||
0x6c, 0x69, 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x28, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69, 0x73, 0x74,
|
||||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74,
|
||||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x56,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x64, 0x61,
|
||||
0x74, 0x61, 0x22, 0x35, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
|
||||
0x28, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x37, 0x0a, 0x0b, 0x53, 0x74, 0x72,
|
||||
0x75, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d,
|
||||
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65,
|
||||
0x6d, 0x73, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x52, 0x6f, 0x77, 0x44, 0x61, 0x74, 0x61, 0x5a, 0x35, 0x67,
|
||||
0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -783,34 +919,40 @@ func file_greptime_v1_row_proto_rawDescGZIP() []byte {
|
||||
return file_greptime_v1_row_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_greptime_v1_row_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||
var file_greptime_v1_row_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||
var file_greptime_v1_row_proto_goTypes = []interface{}{
|
||||
(*Rows)(nil), // 0: greptime.v1.Rows
|
||||
(*ColumnSchema)(nil), // 1: greptime.v1.ColumnSchema
|
||||
(*Row)(nil), // 2: greptime.v1.Row
|
||||
(*Value)(nil), // 3: greptime.v1.Value
|
||||
(ColumnDataType)(0), // 4: greptime.v1.ColumnDataType
|
||||
(SemanticType)(0), // 5: greptime.v1.SemanticType
|
||||
(*ColumnDataTypeExtension)(nil), // 6: greptime.v1.ColumnDataTypeExtension
|
||||
(*ColumnOptions)(nil), // 7: greptime.v1.ColumnOptions
|
||||
(*IntervalMonthDayNano)(nil), // 8: greptime.v1.IntervalMonthDayNano
|
||||
(*Decimal128)(nil), // 9: greptime.v1.Decimal128
|
||||
(*ListValue)(nil), // 4: greptime.v1.ListValue
|
||||
(*StructValue)(nil), // 5: greptime.v1.StructValue
|
||||
(ColumnDataType)(0), // 6: greptime.v1.ColumnDataType
|
||||
(SemanticType)(0), // 7: greptime.v1.SemanticType
|
||||
(*ColumnDataTypeExtension)(nil), // 8: greptime.v1.ColumnDataTypeExtension
|
||||
(*ColumnOptions)(nil), // 9: greptime.v1.ColumnOptions
|
||||
(*IntervalMonthDayNano)(nil), // 10: greptime.v1.IntervalMonthDayNano
|
||||
(*Decimal128)(nil), // 11: greptime.v1.Decimal128
|
||||
}
|
||||
var file_greptime_v1_row_proto_depIdxs = []int32{
|
||||
1, // 0: greptime.v1.Rows.schema:type_name -> greptime.v1.ColumnSchema
|
||||
2, // 1: greptime.v1.Rows.rows:type_name -> greptime.v1.Row
|
||||
4, // 2: greptime.v1.ColumnSchema.datatype:type_name -> greptime.v1.ColumnDataType
|
||||
5, // 3: greptime.v1.ColumnSchema.semantic_type:type_name -> greptime.v1.SemanticType
|
||||
6, // 4: greptime.v1.ColumnSchema.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
7, // 5: greptime.v1.ColumnSchema.options:type_name -> greptime.v1.ColumnOptions
|
||||
3, // 6: greptime.v1.Row.values:type_name -> greptime.v1.Value
|
||||
8, // 7: greptime.v1.Value.interval_month_day_nano_value:type_name -> greptime.v1.IntervalMonthDayNano
|
||||
9, // 8: greptime.v1.Value.decimal128_value:type_name -> greptime.v1.Decimal128
|
||||
9, // [9:9] is the sub-list for method output_type
|
||||
9, // [9:9] is the sub-list for method input_type
|
||||
9, // [9:9] is the sub-list for extension type_name
|
||||
9, // [9:9] is the sub-list for extension extendee
|
||||
0, // [0:9] is the sub-list for field type_name
|
||||
1, // 0: greptime.v1.Rows.schema:type_name -> greptime.v1.ColumnSchema
|
||||
2, // 1: greptime.v1.Rows.rows:type_name -> greptime.v1.Row
|
||||
6, // 2: greptime.v1.ColumnSchema.datatype:type_name -> greptime.v1.ColumnDataType
|
||||
7, // 3: greptime.v1.ColumnSchema.semantic_type:type_name -> greptime.v1.SemanticType
|
||||
8, // 4: greptime.v1.ColumnSchema.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
9, // 5: greptime.v1.ColumnSchema.options:type_name -> greptime.v1.ColumnOptions
|
||||
3, // 6: greptime.v1.Row.values:type_name -> greptime.v1.Value
|
||||
10, // 7: greptime.v1.Value.interval_month_day_nano_value:type_name -> greptime.v1.IntervalMonthDayNano
|
||||
11, // 8: greptime.v1.Value.decimal128_value:type_name -> greptime.v1.Decimal128
|
||||
4, // 9: greptime.v1.Value.list_value:type_name -> greptime.v1.ListValue
|
||||
5, // 10: greptime.v1.Value.struct_value:type_name -> greptime.v1.StructValue
|
||||
3, // 11: greptime.v1.ListValue.items:type_name -> greptime.v1.Value
|
||||
3, // 12: greptime.v1.StructValue.items:type_name -> greptime.v1.Value
|
||||
13, // [13:13] is the sub-list for method output_type
|
||||
13, // [13:13] is the sub-list for method input_type
|
||||
13, // [13:13] is the sub-list for extension type_name
|
||||
13, // [13:13] is the sub-list for extension extendee
|
||||
0, // [0:13] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_greptime_v1_row_proto_init() }
|
||||
@@ -868,6 +1010,30 @@ func file_greptime_v1_row_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_greptime_v1_row_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListValue); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_greptime_v1_row_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StructValue); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
file_greptime_v1_row_proto_msgTypes[3].OneofWrappers = []interface{}{
|
||||
(*Value_I8Value)(nil),
|
||||
@@ -897,6 +1063,8 @@ func file_greptime_v1_row_proto_init() {
|
||||
(*Value_IntervalDayTimeValue)(nil),
|
||||
(*Value_IntervalMonthDayNanoValue)(nil),
|
||||
(*Value_Decimal128Value)(nil),
|
||||
(*Value_ListValue)(nil),
|
||||
(*Value_StructValue)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
@@ -904,7 +1072,7 @@ func file_greptime_v1_row_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_greptime_v1_row_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 4,
|
||||
NumMessages: 6,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
||||
@@ -803,6 +803,54 @@ public final class Columns {
|
||||
*/
|
||||
io.greptime.v1.Common.Decimal128OrBuilder getDecimal128ValuesOrBuilder(
|
||||
int index);
|
||||
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
java.util.List<io.greptime.v1.RowData.ListValue>
|
||||
getListValuesList();
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
io.greptime.v1.RowData.ListValue getListValues(int index);
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
int getListValuesCount();
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
java.util.List<? extends io.greptime.v1.RowData.ListValueOrBuilder>
|
||||
getListValuesOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
io.greptime.v1.RowData.ListValueOrBuilder getListValuesOrBuilder(
|
||||
int index);
|
||||
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
java.util.List<io.greptime.v1.RowData.StructValue>
|
||||
getStructValuesList();
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
io.greptime.v1.RowData.StructValue getStructValues(int index);
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
int getStructValuesCount();
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
java.util.List<? extends io.greptime.v1.RowData.StructValueOrBuilder>
|
||||
getStructValuesOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
io.greptime.v1.RowData.StructValueOrBuilder getStructValuesOrBuilder(
|
||||
int index);
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.Column.Values}
|
||||
@@ -844,6 +892,8 @@ public final class Columns {
|
||||
intervalDayTimeValues_ = emptyLongList();
|
||||
intervalMonthDayNanoValues_ = java.util.Collections.emptyList();
|
||||
decimal128Values_ = java.util.Collections.emptyList();
|
||||
listValues_ = java.util.Collections.emptyList();
|
||||
structValues_ = java.util.Collections.emptyList();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@@ -1395,6 +1445,24 @@ public final class Columns {
|
||||
input.readMessage(io.greptime.v1.Common.Decimal128.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
case 322: {
|
||||
if (!((mutable_bitField0_ & 0x08000000) != 0)) {
|
||||
listValues_ = new java.util.ArrayList<io.greptime.v1.RowData.ListValue>();
|
||||
mutable_bitField0_ |= 0x08000000;
|
||||
}
|
||||
listValues_.add(
|
||||
input.readMessage(io.greptime.v1.RowData.ListValue.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
case 330: {
|
||||
if (!((mutable_bitField0_ & 0x10000000) != 0)) {
|
||||
structValues_ = new java.util.ArrayList<io.greptime.v1.RowData.StructValue>();
|
||||
mutable_bitField0_ |= 0x10000000;
|
||||
}
|
||||
structValues_.add(
|
||||
input.readMessage(io.greptime.v1.RowData.StructValue.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -1493,6 +1561,12 @@ public final class Columns {
|
||||
if (((mutable_bitField0_ & 0x04000000) != 0)) {
|
||||
decimal128Values_ = java.util.Collections.unmodifiableList(decimal128Values_);
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x08000000) != 0)) {
|
||||
listValues_ = java.util.Collections.unmodifiableList(listValues_);
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x10000000) != 0)) {
|
||||
structValues_ = java.util.Collections.unmodifiableList(structValues_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
@@ -2296,6 +2370,86 @@ public final class Columns {
|
||||
return decimal128Values_.get(index);
|
||||
}
|
||||
|
||||
public static final int LIST_VALUES_FIELD_NUMBER = 40;
|
||||
private java.util.List<io.greptime.v1.RowData.ListValue> listValues_;
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<io.greptime.v1.RowData.ListValue> getListValuesList() {
|
||||
return listValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends io.greptime.v1.RowData.ListValueOrBuilder>
|
||||
getListValuesOrBuilderList() {
|
||||
return listValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getListValuesCount() {
|
||||
return listValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.RowData.ListValue getListValues(int index) {
|
||||
return listValues_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.RowData.ListValueOrBuilder getListValuesOrBuilder(
|
||||
int index) {
|
||||
return listValues_.get(index);
|
||||
}
|
||||
|
||||
public static final int STRUCT_VALUES_FIELD_NUMBER = 41;
|
||||
private java.util.List<io.greptime.v1.RowData.StructValue> structValues_;
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<io.greptime.v1.RowData.StructValue> getStructValuesList() {
|
||||
return structValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends io.greptime.v1.RowData.StructValueOrBuilder>
|
||||
getStructValuesOrBuilderList() {
|
||||
return structValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getStructValuesCount() {
|
||||
return structValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.RowData.StructValue getStructValues(int index) {
|
||||
return structValues_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.RowData.StructValueOrBuilder getStructValuesOrBuilder(
|
||||
int index) {
|
||||
return structValues_.get(index);
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -2484,6 +2638,12 @@ public final class Columns {
|
||||
for (int i = 0; i < decimal128Values_.size(); i++) {
|
||||
output.writeMessage(31, decimal128Values_.get(i));
|
||||
}
|
||||
for (int i = 0; i < listValues_.size(); i++) {
|
||||
output.writeMessage(40, listValues_.get(i));
|
||||
}
|
||||
for (int i = 0; i < structValues_.size(); i++) {
|
||||
output.writeMessage(41, structValues_.get(i));
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -2831,6 +2991,14 @@ public final class Columns {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(31, decimal128Values_.get(i));
|
||||
}
|
||||
for (int i = 0; i < listValues_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(40, listValues_.get(i));
|
||||
}
|
||||
for (int i = 0; i < structValues_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(41, structValues_.get(i));
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -2900,6 +3068,10 @@ public final class Columns {
|
||||
.equals(other.getIntervalMonthDayNanoValuesList())) return false;
|
||||
if (!getDecimal128ValuesList()
|
||||
.equals(other.getDecimal128ValuesList())) return false;
|
||||
if (!getListValuesList()
|
||||
.equals(other.getListValuesList())) return false;
|
||||
if (!getStructValuesList()
|
||||
.equals(other.getStructValuesList())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -3019,6 +3191,14 @@ public final class Columns {
|
||||
hash = (37 * hash) + DECIMAL128_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDecimal128ValuesList().hashCode();
|
||||
}
|
||||
if (getListValuesCount() > 0) {
|
||||
hash = (37 * hash) + LIST_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getListValuesList().hashCode();
|
||||
}
|
||||
if (getStructValuesCount() > 0) {
|
||||
hash = (37 * hash) + STRUCT_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getStructValuesList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -3149,6 +3329,8 @@ public final class Columns {
|
||||
.alwaysUseFieldBuilders) {
|
||||
getIntervalMonthDayNanoValuesFieldBuilder();
|
||||
getDecimal128ValuesFieldBuilder();
|
||||
getListValuesFieldBuilder();
|
||||
getStructValuesFieldBuilder();
|
||||
}
|
||||
}
|
||||
@java.lang.Override
|
||||
@@ -3216,6 +3398,18 @@ public final class Columns {
|
||||
} else {
|
||||
decimal128ValuesBuilder_.clear();
|
||||
}
|
||||
if (listValuesBuilder_ == null) {
|
||||
listValues_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x08000000);
|
||||
} else {
|
||||
listValuesBuilder_.clear();
|
||||
}
|
||||
if (structValuesBuilder_ == null) {
|
||||
structValues_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x10000000);
|
||||
} else {
|
||||
structValuesBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -3386,6 +3580,24 @@ public final class Columns {
|
||||
} else {
|
||||
result.decimal128Values_ = decimal128ValuesBuilder_.build();
|
||||
}
|
||||
if (listValuesBuilder_ == null) {
|
||||
if (((bitField0_ & 0x08000000) != 0)) {
|
||||
listValues_ = java.util.Collections.unmodifiableList(listValues_);
|
||||
bitField0_ = (bitField0_ & ~0x08000000);
|
||||
}
|
||||
result.listValues_ = listValues_;
|
||||
} else {
|
||||
result.listValues_ = listValuesBuilder_.build();
|
||||
}
|
||||
if (structValuesBuilder_ == null) {
|
||||
if (((bitField0_ & 0x10000000) != 0)) {
|
||||
structValues_ = java.util.Collections.unmodifiableList(structValues_);
|
||||
bitField0_ = (bitField0_ & ~0x10000000);
|
||||
}
|
||||
result.structValues_ = structValues_;
|
||||
} else {
|
||||
result.structValues_ = structValuesBuilder_.build();
|
||||
}
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -3736,6 +3948,58 @@ public final class Columns {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (listValuesBuilder_ == null) {
|
||||
if (!other.listValues_.isEmpty()) {
|
||||
if (listValues_.isEmpty()) {
|
||||
listValues_ = other.listValues_;
|
||||
bitField0_ = (bitField0_ & ~0x08000000);
|
||||
} else {
|
||||
ensureListValuesIsMutable();
|
||||
listValues_.addAll(other.listValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (!other.listValues_.isEmpty()) {
|
||||
if (listValuesBuilder_.isEmpty()) {
|
||||
listValuesBuilder_.dispose();
|
||||
listValuesBuilder_ = null;
|
||||
listValues_ = other.listValues_;
|
||||
bitField0_ = (bitField0_ & ~0x08000000);
|
||||
listValuesBuilder_ =
|
||||
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
||||
getListValuesFieldBuilder() : null;
|
||||
} else {
|
||||
listValuesBuilder_.addAllMessages(other.listValues_);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (structValuesBuilder_ == null) {
|
||||
if (!other.structValues_.isEmpty()) {
|
||||
if (structValues_.isEmpty()) {
|
||||
structValues_ = other.structValues_;
|
||||
bitField0_ = (bitField0_ & ~0x10000000);
|
||||
} else {
|
||||
ensureStructValuesIsMutable();
|
||||
structValues_.addAll(other.structValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (!other.structValues_.isEmpty()) {
|
||||
if (structValuesBuilder_.isEmpty()) {
|
||||
structValuesBuilder_.dispose();
|
||||
structValuesBuilder_ = null;
|
||||
structValues_ = other.structValues_;
|
||||
bitField0_ = (bitField0_ & ~0x10000000);
|
||||
structValuesBuilder_ =
|
||||
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
||||
getStructValuesFieldBuilder() : null;
|
||||
} else {
|
||||
structValuesBuilder_.addAllMessages(other.structValues_);
|
||||
}
|
||||
}
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -6257,6 +6521,486 @@ public final class Columns {
|
||||
}
|
||||
return decimal128ValuesBuilder_;
|
||||
}
|
||||
|
||||
private java.util.List<io.greptime.v1.RowData.ListValue> listValues_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureListValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x08000000) != 0)) {
|
||||
listValues_ = new java.util.ArrayList<io.greptime.v1.RowData.ListValue>(listValues_);
|
||||
bitField0_ |= 0x08000000;
|
||||
}
|
||||
}
|
||||
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.RowData.ListValue, io.greptime.v1.RowData.ListValue.Builder, io.greptime.v1.RowData.ListValueOrBuilder> listValuesBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public java.util.List<io.greptime.v1.RowData.ListValue> getListValuesList() {
|
||||
if (listValuesBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(listValues_);
|
||||
} else {
|
||||
return listValuesBuilder_.getMessageList();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public int getListValuesCount() {
|
||||
if (listValuesBuilder_ == null) {
|
||||
return listValues_.size();
|
||||
} else {
|
||||
return listValuesBuilder_.getCount();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public io.greptime.v1.RowData.ListValue getListValues(int index) {
|
||||
if (listValuesBuilder_ == null) {
|
||||
return listValues_.get(index);
|
||||
} else {
|
||||
return listValuesBuilder_.getMessage(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public Builder setListValues(
|
||||
int index, io.greptime.v1.RowData.ListValue value) {
|
||||
if (listValuesBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureListValuesIsMutable();
|
||||
listValues_.set(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
listValuesBuilder_.setMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public Builder setListValues(
|
||||
int index, io.greptime.v1.RowData.ListValue.Builder builderForValue) {
|
||||
if (listValuesBuilder_ == null) {
|
||||
ensureListValuesIsMutable();
|
||||
listValues_.set(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
listValuesBuilder_.setMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public Builder addListValues(io.greptime.v1.RowData.ListValue value) {
|
||||
if (listValuesBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureListValuesIsMutable();
|
||||
listValues_.add(value);
|
||||
onChanged();
|
||||
} else {
|
||||
listValuesBuilder_.addMessage(value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public Builder addListValues(
|
||||
int index, io.greptime.v1.RowData.ListValue value) {
|
||||
if (listValuesBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureListValuesIsMutable();
|
||||
listValues_.add(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
listValuesBuilder_.addMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public Builder addListValues(
|
||||
io.greptime.v1.RowData.ListValue.Builder builderForValue) {
|
||||
if (listValuesBuilder_ == null) {
|
||||
ensureListValuesIsMutable();
|
||||
listValues_.add(builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
listValuesBuilder_.addMessage(builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public Builder addListValues(
|
||||
int index, io.greptime.v1.RowData.ListValue.Builder builderForValue) {
|
||||
if (listValuesBuilder_ == null) {
|
||||
ensureListValuesIsMutable();
|
||||
listValues_.add(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
listValuesBuilder_.addMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public Builder addAllListValues(
|
||||
java.lang.Iterable<? extends io.greptime.v1.RowData.ListValue> values) {
|
||||
if (listValuesBuilder_ == null) {
|
||||
ensureListValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, listValues_);
|
||||
onChanged();
|
||||
} else {
|
||||
listValuesBuilder_.addAllMessages(values);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public Builder clearListValues() {
|
||||
if (listValuesBuilder_ == null) {
|
||||
listValues_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x08000000);
|
||||
onChanged();
|
||||
} else {
|
||||
listValuesBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public Builder removeListValues(int index) {
|
||||
if (listValuesBuilder_ == null) {
|
||||
ensureListValuesIsMutable();
|
||||
listValues_.remove(index);
|
||||
onChanged();
|
||||
} else {
|
||||
listValuesBuilder_.remove(index);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public io.greptime.v1.RowData.ListValue.Builder getListValuesBuilder(
|
||||
int index) {
|
||||
return getListValuesFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public io.greptime.v1.RowData.ListValueOrBuilder getListValuesOrBuilder(
|
||||
int index) {
|
||||
if (listValuesBuilder_ == null) {
|
||||
return listValues_.get(index); } else {
|
||||
return listValuesBuilder_.getMessageOrBuilder(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public java.util.List<? extends io.greptime.v1.RowData.ListValueOrBuilder>
|
||||
getListValuesOrBuilderList() {
|
||||
if (listValuesBuilder_ != null) {
|
||||
return listValuesBuilder_.getMessageOrBuilderList();
|
||||
} else {
|
||||
return java.util.Collections.unmodifiableList(listValues_);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public io.greptime.v1.RowData.ListValue.Builder addListValuesBuilder() {
|
||||
return getListValuesFieldBuilder().addBuilder(
|
||||
io.greptime.v1.RowData.ListValue.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public io.greptime.v1.RowData.ListValue.Builder addListValuesBuilder(
|
||||
int index) {
|
||||
return getListValuesFieldBuilder().addBuilder(
|
||||
index, io.greptime.v1.RowData.ListValue.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.ListValue list_values = 40;</code>
|
||||
*/
|
||||
public java.util.List<io.greptime.v1.RowData.ListValue.Builder>
|
||||
getListValuesBuilderList() {
|
||||
return getListValuesFieldBuilder().getBuilderList();
|
||||
}
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.RowData.ListValue, io.greptime.v1.RowData.ListValue.Builder, io.greptime.v1.RowData.ListValueOrBuilder>
|
||||
getListValuesFieldBuilder() {
|
||||
if (listValuesBuilder_ == null) {
|
||||
listValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.RowData.ListValue, io.greptime.v1.RowData.ListValue.Builder, io.greptime.v1.RowData.ListValueOrBuilder>(
|
||||
listValues_,
|
||||
((bitField0_ & 0x08000000) != 0),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
listValues_ = null;
|
||||
}
|
||||
return listValuesBuilder_;
|
||||
}
|
||||
|
||||
private java.util.List<io.greptime.v1.RowData.StructValue> structValues_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureStructValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x10000000) != 0)) {
|
||||
structValues_ = new java.util.ArrayList<io.greptime.v1.RowData.StructValue>(structValues_);
|
||||
bitField0_ |= 0x10000000;
|
||||
}
|
||||
}
|
||||
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.RowData.StructValue, io.greptime.v1.RowData.StructValue.Builder, io.greptime.v1.RowData.StructValueOrBuilder> structValuesBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public java.util.List<io.greptime.v1.RowData.StructValue> getStructValuesList() {
|
||||
if (structValuesBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(structValues_);
|
||||
} else {
|
||||
return structValuesBuilder_.getMessageList();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public int getStructValuesCount() {
|
||||
if (structValuesBuilder_ == null) {
|
||||
return structValues_.size();
|
||||
} else {
|
||||
return structValuesBuilder_.getCount();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public io.greptime.v1.RowData.StructValue getStructValues(int index) {
|
||||
if (structValuesBuilder_ == null) {
|
||||
return structValues_.get(index);
|
||||
} else {
|
||||
return structValuesBuilder_.getMessage(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public Builder setStructValues(
|
||||
int index, io.greptime.v1.RowData.StructValue value) {
|
||||
if (structValuesBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureStructValuesIsMutable();
|
||||
structValues_.set(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
structValuesBuilder_.setMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public Builder setStructValues(
|
||||
int index, io.greptime.v1.RowData.StructValue.Builder builderForValue) {
|
||||
if (structValuesBuilder_ == null) {
|
||||
ensureStructValuesIsMutable();
|
||||
structValues_.set(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
structValuesBuilder_.setMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public Builder addStructValues(io.greptime.v1.RowData.StructValue value) {
|
||||
if (structValuesBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureStructValuesIsMutable();
|
||||
structValues_.add(value);
|
||||
onChanged();
|
||||
} else {
|
||||
structValuesBuilder_.addMessage(value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public Builder addStructValues(
|
||||
int index, io.greptime.v1.RowData.StructValue value) {
|
||||
if (structValuesBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureStructValuesIsMutable();
|
||||
structValues_.add(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
structValuesBuilder_.addMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public Builder addStructValues(
|
||||
io.greptime.v1.RowData.StructValue.Builder builderForValue) {
|
||||
if (structValuesBuilder_ == null) {
|
||||
ensureStructValuesIsMutable();
|
||||
structValues_.add(builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
structValuesBuilder_.addMessage(builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public Builder addStructValues(
|
||||
int index, io.greptime.v1.RowData.StructValue.Builder builderForValue) {
|
||||
if (structValuesBuilder_ == null) {
|
||||
ensureStructValuesIsMutable();
|
||||
structValues_.add(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
structValuesBuilder_.addMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public Builder addAllStructValues(
|
||||
java.lang.Iterable<? extends io.greptime.v1.RowData.StructValue> values) {
|
||||
if (structValuesBuilder_ == null) {
|
||||
ensureStructValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, structValues_);
|
||||
onChanged();
|
||||
} else {
|
||||
structValuesBuilder_.addAllMessages(values);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public Builder clearStructValues() {
|
||||
if (structValuesBuilder_ == null) {
|
||||
structValues_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x10000000);
|
||||
onChanged();
|
||||
} else {
|
||||
structValuesBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public Builder removeStructValues(int index) {
|
||||
if (structValuesBuilder_ == null) {
|
||||
ensureStructValuesIsMutable();
|
||||
structValues_.remove(index);
|
||||
onChanged();
|
||||
} else {
|
||||
structValuesBuilder_.remove(index);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public io.greptime.v1.RowData.StructValue.Builder getStructValuesBuilder(
|
||||
int index) {
|
||||
return getStructValuesFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public io.greptime.v1.RowData.StructValueOrBuilder getStructValuesOrBuilder(
|
||||
int index) {
|
||||
if (structValuesBuilder_ == null) {
|
||||
return structValues_.get(index); } else {
|
||||
return structValuesBuilder_.getMessageOrBuilder(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public java.util.List<? extends io.greptime.v1.RowData.StructValueOrBuilder>
|
||||
getStructValuesOrBuilderList() {
|
||||
if (structValuesBuilder_ != null) {
|
||||
return structValuesBuilder_.getMessageOrBuilderList();
|
||||
} else {
|
||||
return java.util.Collections.unmodifiableList(structValues_);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public io.greptime.v1.RowData.StructValue.Builder addStructValuesBuilder() {
|
||||
return getStructValuesFieldBuilder().addBuilder(
|
||||
io.greptime.v1.RowData.StructValue.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public io.greptime.v1.RowData.StructValue.Builder addStructValuesBuilder(
|
||||
int index) {
|
||||
return getStructValuesFieldBuilder().addBuilder(
|
||||
index, io.greptime.v1.RowData.StructValue.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.StructValue struct_values = 41;</code>
|
||||
*/
|
||||
public java.util.List<io.greptime.v1.RowData.StructValue.Builder>
|
||||
getStructValuesBuilderList() {
|
||||
return getStructValuesFieldBuilder().getBuilderList();
|
||||
}
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.RowData.StructValue, io.greptime.v1.RowData.StructValue.Builder, io.greptime.v1.RowData.StructValueOrBuilder>
|
||||
getStructValuesFieldBuilder() {
|
||||
if (structValuesBuilder_ == null) {
|
||||
structValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.RowData.StructValue, io.greptime.v1.RowData.StructValue.Builder, io.greptime.v1.RowData.StructValueOrBuilder>(
|
||||
structValues_,
|
||||
((bitField0_ & 0x10000000) != 0),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
structValues_ = null;
|
||||
}
|
||||
return structValuesBuilder_;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -7843,42 +8587,46 @@ public final class Columns {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\030greptime/v1/column.proto\022\013greptime.v1\032" +
|
||||
"\030greptime/v1/common.proto\"\303\010\n\006Column\022\023\n\013" +
|
||||
"column_name\030\001 \001(\t\0220\n\rsemantic_type\030\002 \001(\016" +
|
||||
"2\031.greptime.v1.SemanticType\022*\n\006values\030\003 " +
|
||||
"\001(\0132\032.greptime.v1.Column.Values\022\021\n\tnull_" +
|
||||
"mask\030\004 \001(\014\022-\n\010datatype\030\005 \001(\0162\033.greptime." +
|
||||
"v1.ColumnDataType\022@\n\022datatype_extension\030" +
|
||||
"\006 \001(\0132$.greptime.v1.ColumnDataTypeExtens" +
|
||||
"ion\022+\n\007options\030\007 \001(\0132\032.greptime.v1.Colum" +
|
||||
"nOptions\032\224\006\n\006Values\022\021\n\ti8_values\030\001 \003(\005\022\022" +
|
||||
"\n\ni16_values\030\002 \003(\005\022\022\n\ni32_values\030\003 \003(\005\022\022" +
|
||||
"\n\ni64_values\030\004 \003(\003\022\021\n\tu8_values\030\005 \003(\r\022\022\n" +
|
||||
"\nu16_values\030\006 \003(\r\022\022\n\nu32_values\030\007 \003(\r\022\022\n" +
|
||||
"\nu64_values\030\010 \003(\004\022\022\n\nf32_values\030\t \003(\002\022\022\n" +
|
||||
"\nf64_values\030\n \003(\001\022\023\n\013bool_values\030\013 \003(\010\022\025" +
|
||||
"\n\rbinary_values\030\014 \003(\014\022\025\n\rstring_values\030\r" +
|
||||
" \003(\t\022\023\n\013date_values\030\016 \003(\005\022\027\n\017datetime_va" +
|
||||
"lues\030\017 \003(\003\022\037\n\027timestamp_second_values\030\020 " +
|
||||
"\003(\003\022$\n\034timestamp_millisecond_values\030\021 \003(" +
|
||||
"\003\022$\n\034timestamp_microsecond_values\030\022 \003(\003\022" +
|
||||
"#\n\033timestamp_nanosecond_values\030\023 \003(\003\022\032\n\022" +
|
||||
"time_second_values\030\024 \003(\003\022\037\n\027time_millise" +
|
||||
"cond_values\030\025 \003(\003\022\037\n\027time_microsecond_va" +
|
||||
"lues\030\026 \003(\003\022\036\n\026time_nanosecond_values\030\027 \003" +
|
||||
"(\003\022\"\n\032interval_year_month_values\030\030 \003(\005\022 " +
|
||||
"\n\030interval_day_time_values\030\031 \003(\003\022I\n\036inte" +
|
||||
"rval_month_day_nano_values\030\032 \003(\0132!.grept" +
|
||||
"ime.v1.IntervalMonthDayNano\0222\n\021decimal12" +
|
||||
"8_values\030\037 \003(\0132\027.greptime.v1.Decimal128B" +
|
||||
"P\n\016io.greptime.v1B\007ColumnsZ5github.com/G" +
|
||||
"reptimeTeam/greptime-proto/go/greptime/v" +
|
||||
"1b\006proto3"
|
||||
"\030greptime/v1/common.proto\032\025greptime/v1/r" +
|
||||
"ow.proto\"\241\t\n\006Column\022\023\n\013column_name\030\001 \001(\t" +
|
||||
"\0220\n\rsemantic_type\030\002 \001(\0162\031.greptime.v1.Se" +
|
||||
"manticType\022*\n\006values\030\003 \001(\0132\032.greptime.v1" +
|
||||
".Column.Values\022\021\n\tnull_mask\030\004 \001(\014\022-\n\010dat" +
|
||||
"atype\030\005 \001(\0162\033.greptime.v1.ColumnDataType" +
|
||||
"\022@\n\022datatype_extension\030\006 \001(\0132$.greptime." +
|
||||
"v1.ColumnDataTypeExtension\022+\n\007options\030\007 " +
|
||||
"\001(\0132\032.greptime.v1.ColumnOptions\032\362\006\n\006Valu" +
|
||||
"es\022\021\n\ti8_values\030\001 \003(\005\022\022\n\ni16_values\030\002 \003(" +
|
||||
"\005\022\022\n\ni32_values\030\003 \003(\005\022\022\n\ni64_values\030\004 \003(" +
|
||||
"\003\022\021\n\tu8_values\030\005 \003(\r\022\022\n\nu16_values\030\006 \003(\r" +
|
||||
"\022\022\n\nu32_values\030\007 \003(\r\022\022\n\nu64_values\030\010 \003(\004" +
|
||||
"\022\022\n\nf32_values\030\t \003(\002\022\022\n\nf64_values\030\n \003(\001" +
|
||||
"\022\023\n\013bool_values\030\013 \003(\010\022\025\n\rbinary_values\030\014" +
|
||||
" \003(\014\022\025\n\rstring_values\030\r \003(\t\022\023\n\013date_valu" +
|
||||
"es\030\016 \003(\005\022\027\n\017datetime_values\030\017 \003(\003\022\037\n\027tim" +
|
||||
"estamp_second_values\030\020 \003(\003\022$\n\034timestamp_" +
|
||||
"millisecond_values\030\021 \003(\003\022$\n\034timestamp_mi" +
|
||||
"crosecond_values\030\022 \003(\003\022#\n\033timestamp_nano" +
|
||||
"second_values\030\023 \003(\003\022\032\n\022time_second_value" +
|
||||
"s\030\024 \003(\003\022\037\n\027time_millisecond_values\030\025 \003(\003" +
|
||||
"\022\037\n\027time_microsecond_values\030\026 \003(\003\022\036\n\026tim" +
|
||||
"e_nanosecond_values\030\027 \003(\003\022\"\n\032interval_ye" +
|
||||
"ar_month_values\030\030 \003(\005\022 \n\030interval_day_ti" +
|
||||
"me_values\030\031 \003(\003\022I\n\036interval_month_day_na" +
|
||||
"no_values\030\032 \003(\0132!.greptime.v1.IntervalMo" +
|
||||
"nthDayNano\0222\n\021decimal128_values\030\037 \003(\0132\027." +
|
||||
"greptime.v1.Decimal128\022+\n\013list_values\030( " +
|
||||
"\003(\0132\026.greptime.v1.ListValue\022/\n\rstruct_va" +
|
||||
"lues\030) \003(\0132\030.greptime.v1.StructValueBP\n\016" +
|
||||
"io.greptime.v1B\007ColumnsZ5github.com/Grep" +
|
||||
"timeTeam/greptime-proto/go/greptime/v1b\006" +
|
||||
"proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
||||
io.greptime.v1.Common.getDescriptor(),
|
||||
io.greptime.v1.RowData.getDescriptor(),
|
||||
});
|
||||
internal_static_greptime_v1_Column_descriptor =
|
||||
getDescriptor().getMessageTypes().get(0);
|
||||
@@ -7891,8 +8639,9 @@ public final class Columns {
|
||||
internal_static_greptime_v1_Column_Values_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_Column_Values_descriptor,
|
||||
new java.lang.String[] { "I8Values", "I16Values", "I32Values", "I64Values", "U8Values", "U16Values", "U32Values", "U64Values", "F32Values", "F64Values", "BoolValues", "BinaryValues", "StringValues", "DateValues", "DatetimeValues", "TimestampSecondValues", "TimestampMillisecondValues", "TimestampMicrosecondValues", "TimestampNanosecondValues", "TimeSecondValues", "TimeMillisecondValues", "TimeMicrosecondValues", "TimeNanosecondValues", "IntervalYearMonthValues", "IntervalDayTimeValues", "IntervalMonthDayNanoValues", "Decimal128Values", });
|
||||
new java.lang.String[] { "I8Values", "I16Values", "I32Values", "I64Values", "U8Values", "U16Values", "U32Values", "U64Values", "F32Values", "F64Values", "BoolValues", "BinaryValues", "StringValues", "DateValues", "DatetimeValues", "TimestampSecondValues", "TimestampMillisecondValues", "TimestampMicrosecondValues", "TimestampNanosecondValues", "TimeSecondValues", "TimeMillisecondValues", "TimeMicrosecondValues", "TimeNanosecondValues", "IntervalYearMonthValues", "IntervalDayTimeValues", "IntervalMonthDayNanoValues", "Decimal128Values", "ListValues", "StructValues", });
|
||||
io.greptime.v1.Common.getDescriptor();
|
||||
io.greptime.v1.RowData.getDescriptor();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -17,6 +17,7 @@ syntax = "proto3";
|
||||
package greptime.v1;
|
||||
|
||||
import "greptime/v1/common.proto";
|
||||
import "greptime/v1/row.proto";
|
||||
|
||||
option go_package = "github.com/GreptimeTeam/greptime-proto/go/greptime/v1";
|
||||
option java_outer_classname = "Columns";
|
||||
@@ -58,7 +59,11 @@ message Column {
|
||||
repeated int64 interval_day_time_values = 25;
|
||||
repeated IntervalMonthDayNano interval_month_day_nano_values = 26;
|
||||
repeated Decimal128 decimal128_values = 31;
|
||||
|
||||
repeated ListValue list_values = 40;
|
||||
repeated StructValue struct_values = 41;
|
||||
}
|
||||
|
||||
// The array of non-null values in this column.
|
||||
//
|
||||
// For example: suppose there is a column "foo" that contains some int32
|
||||
|
||||
@@ -151,6 +151,8 @@ enum ColumnDataType {
|
||||
DECIMAL128 = 30;
|
||||
JSON = 31;
|
||||
VECTOR = 32;
|
||||
LIST = 40;
|
||||
STRUCT = 41;
|
||||
}
|
||||
|
||||
message IntervalMonthDayNano {
|
||||
@@ -185,6 +187,12 @@ message Decimal128 {
|
||||
int64 lo = 2;
|
||||
}
|
||||
|
||||
message StructField {
|
||||
string name = 1;
|
||||
ColumnDataType datatype = 2;
|
||||
ColumnDataTypeExtension datatype_extension = 3;
|
||||
}
|
||||
|
||||
// Type extension for some complex types
|
||||
message ColumnDataTypeExtension {
|
||||
oneof type_ext {
|
||||
@@ -192,6 +200,8 @@ message ColumnDataTypeExtension {
|
||||
// Marks the binary column in proto is actually a JSON column.
|
||||
JsonTypeExtension json_type = 2;
|
||||
VectorTypeExtension vector_type = 3;
|
||||
ListTypeExtension list_type = 4;
|
||||
StructTypeExtension struct_type = 5;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -208,6 +218,15 @@ message VectorTypeExtension {
|
||||
uint32 dim = 1;
|
||||
}
|
||||
|
||||
message ListTypeExtension {
|
||||
ColumnDataType datatype = 1;
|
||||
ColumnDataTypeExtension datatype_extension = 2;
|
||||
}
|
||||
|
||||
message StructTypeExtension {
|
||||
repeated StructField fields = 1;
|
||||
}
|
||||
|
||||
// Additional options for the column.
|
||||
message ColumnOptions {
|
||||
// Supported keys:
|
||||
|
||||
@@ -76,5 +76,16 @@ message Value {
|
||||
int64 interval_day_time_value = 25;
|
||||
IntervalMonthDayNano interval_month_day_nano_value = 26;
|
||||
Decimal128 decimal128_value = 31;
|
||||
|
||||
ListValue list_value = 40;
|
||||
StructValue struct_value = 41;
|
||||
}
|
||||
}
|
||||
|
||||
message ListValue {
|
||||
repeated Value items = 1;
|
||||
}
|
||||
|
||||
message StructValue {
|
||||
repeated Value items = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user