feat: add new json format (#281)
* feat: add new json format
* refactor: rename native format
* chore: store nested data type in json_native_extension
* feat: use json as a concrete type in proto
* Revert "feat: add `BuildIndexRequest` to `RegionRequestHeader` (#276)"
This reverts commit ee46a0eeaa.
This commit is contained in:
@@ -73,6 +73,7 @@ PROTOBUF_CONSTEXPR Column_Values::Column_Values(
|
||||
, /*decltype(_impl_.decimal128_values_)*/{}
|
||||
, /*decltype(_impl_.list_values_)*/{}
|
||||
, /*decltype(_impl_.struct_values_)*/{}
|
||||
, /*decltype(_impl_.json_values_)*/{}
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct Column_ValuesDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR Column_ValuesDefaultTypeInternal()
|
||||
@@ -144,6 +145,7 @@ const uint32_t TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets[] PROTOBUF_SE
|
||||
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_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column_Values, _impl_.json_values_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
@@ -160,7 +162,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)},
|
||||
{ 35, -1, -1, sizeof(::greptime::v1::Column)},
|
||||
{ 36, -1, -1, sizeof(::greptime::v1::Column)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -171,14 +173,14 @@ 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\032\025greptime/v1/r"
|
||||
"ow.proto\"\241\t\n\006Column\022\023\n\013column_name\030\001 \001(\t"
|
||||
"ow.proto\"\322\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"
|
||||
"\001(\0132\032.greptime.v1.ColumnOptions\032\243\007\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"
|
||||
@@ -200,10 +202,11 @@ const char descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto[] PROTOBUF_S
|
||||
"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"
|
||||
"lues\030) \003(\0132\030.greptime.v1.StructValue\022/\n\013"
|
||||
"json_values\030* \003(\0132\032.greptime.v1.Column.V"
|
||||
"aluesBP\n\016io.greptime.v1B\007ColumnsZ5github"
|
||||
".com/GreptimeTeam/greptime-proto/go/grep"
|
||||
"time/v1b\006proto3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps[2] = {
|
||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||
@@ -211,7 +214,7 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fcol
|
||||
};
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcolumn_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcolumn_2eproto = {
|
||||
false, false, 1366, descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto,
|
||||
false, false, 1415, 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, 2, 2,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets,
|
||||
@@ -304,6 +307,7 @@ Column_Values::Column_Values(const Column_Values& from)
|
||||
, 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_.json_values_){from._impl_.json_values_}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
@@ -364,6 +368,7 @@ inline void Column_Values::SharedCtor(
|
||||
, decltype(_impl_.decimal128_values_){arena}
|
||||
, decltype(_impl_.list_values_){arena}
|
||||
, decltype(_impl_.struct_values_){arena}
|
||||
, decltype(_impl_.json_values_){arena}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
}
|
||||
@@ -408,6 +413,7 @@ inline void Column_Values::SharedDtor() {
|
||||
_impl_.decimal128_values_.~RepeatedPtrField();
|
||||
_impl_.list_values_.~RepeatedPtrField();
|
||||
_impl_.struct_values_.~RepeatedPtrField();
|
||||
_impl_.json_values_.~RepeatedPtrField();
|
||||
}
|
||||
|
||||
void Column_Values::SetCachedSize(int size) const {
|
||||
@@ -449,6 +455,7 @@ void Column_Values::Clear() {
|
||||
_impl_.decimal128_values_.Clear();
|
||||
_impl_.list_values_.Clear();
|
||||
_impl_.struct_values_.Clear();
|
||||
_impl_.json_values_.Clear();
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
@@ -792,6 +799,19 @@ const char* Column_Values::_InternalParse(const char* ptr, ::_pbi::ParseContext*
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated .greptime.v1.Column.Values json_values = 42;
|
||||
case 42:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
|
||||
ptr -= 2;
|
||||
do {
|
||||
ptr += 2;
|
||||
ptr = ctx->ParseMessage(_internal_add_json_values(), ptr);
|
||||
CHK_(ptr);
|
||||
if (!ctx->DataAvailable(ptr)) break;
|
||||
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<338>(ptr));
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
@@ -1064,6 +1084,14 @@ uint8_t* Column_Values::_InternalSerialize(
|
||||
InternalWriteMessage(41, repfield, repfield.GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.Column.Values json_values = 42;
|
||||
for (unsigned i = 0,
|
||||
n = static_cast<unsigned>(this->_internal_json_values_size()); i < n; i++) {
|
||||
const auto& repfield = this->_internal_json_values(i);
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(42, 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);
|
||||
@@ -1437,6 +1465,13 @@ size_t Column_Values::ByteSizeLong() const {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.Column.Values json_values = 42;
|
||||
total_size += 2UL * this->_internal_json_values_size();
|
||||
for (const auto& msg : this->_impl_.json_values_) {
|
||||
total_size +=
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
@@ -1484,6 +1519,7 @@ void Column_Values::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::
|
||||
_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->_impl_.json_values_.MergeFrom(from._impl_.json_values_);
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
@@ -1530,6 +1566,7 @@ void Column_Values::InternalSwap(Column_Values* other) {
|
||||
_impl_.decimal128_values_.InternalSwap(&other->_impl_.decimal128_values_);
|
||||
_impl_.list_values_.InternalSwap(&other->_impl_.list_values_);
|
||||
_impl_.struct_values_.InternalSwap(&other->_impl_.struct_values_);
|
||||
_impl_.json_values_.InternalSwap(&other->_impl_.json_values_);
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata Column_Values::GetMetadata() const {
|
||||
|
||||
@@ -215,6 +215,7 @@ class Column_Values final :
|
||||
kDecimal128ValuesFieldNumber = 31,
|
||||
kListValuesFieldNumber = 40,
|
||||
kStructValuesFieldNumber = 41,
|
||||
kJsonValuesFieldNumber = 42,
|
||||
};
|
||||
// repeated int32 i8_values = 1;
|
||||
int i8_values_size() const;
|
||||
@@ -842,6 +843,24 @@ class Column_Values final :
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::StructValue >&
|
||||
struct_values() const;
|
||||
|
||||
// repeated .greptime.v1.Column.Values json_values = 42;
|
||||
int json_values_size() const;
|
||||
private:
|
||||
int _internal_json_values_size() const;
|
||||
public:
|
||||
void clear_json_values();
|
||||
::greptime::v1::Column_Values* mutable_json_values(int index);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Column_Values >*
|
||||
mutable_json_values();
|
||||
private:
|
||||
const ::greptime::v1::Column_Values& _internal_json_values(int index) const;
|
||||
::greptime::v1::Column_Values* _internal_add_json_values();
|
||||
public:
|
||||
const ::greptime::v1::Column_Values& json_values(int index) const;
|
||||
::greptime::v1::Column_Values* add_json_values();
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Column_Values >&
|
||||
json_values() const;
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.Column.Values)
|
||||
private:
|
||||
class _Internal;
|
||||
@@ -899,6 +918,7 @@ class Column_Values final :
|
||||
::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_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Column_Values > json_values_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
@@ -2547,6 +2567,46 @@ Column_Values::struct_values() const {
|
||||
return _impl_.struct_values_;
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.Column.Values json_values = 42;
|
||||
inline int Column_Values::_internal_json_values_size() const {
|
||||
return _impl_.json_values_.size();
|
||||
}
|
||||
inline int Column_Values::json_values_size() const {
|
||||
return _internal_json_values_size();
|
||||
}
|
||||
inline void Column_Values::clear_json_values() {
|
||||
_impl_.json_values_.Clear();
|
||||
}
|
||||
inline ::greptime::v1::Column_Values* Column_Values::mutable_json_values(int index) {
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.Column.Values.json_values)
|
||||
return _impl_.json_values_.Mutable(index);
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Column_Values >*
|
||||
Column_Values::mutable_json_values() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.Column.Values.json_values)
|
||||
return &_impl_.json_values_;
|
||||
}
|
||||
inline const ::greptime::v1::Column_Values& Column_Values::_internal_json_values(int index) const {
|
||||
return _impl_.json_values_.Get(index);
|
||||
}
|
||||
inline const ::greptime::v1::Column_Values& Column_Values::json_values(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Column.Values.json_values)
|
||||
return _internal_json_values(index);
|
||||
}
|
||||
inline ::greptime::v1::Column_Values* Column_Values::_internal_add_json_values() {
|
||||
return _impl_.json_values_.Add();
|
||||
}
|
||||
inline ::greptime::v1::Column_Values* Column_Values::add_json_values() {
|
||||
::greptime::v1::Column_Values* _add = _internal_add_json_values();
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.Column.Values.json_values)
|
||||
return _add;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::Column_Values >&
|
||||
Column_Values::json_values() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.Column.Values.json_values)
|
||||
return _impl_.json_values_;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// Column
|
||||
|
||||
+366
-47
@@ -419,6 +419,20 @@ struct StructTypeExtensionDefaultTypeInternal {
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructTypeExtensionDefaultTypeInternal _StructTypeExtension_default_instance_;
|
||||
PROTOBUF_CONSTEXPR JsonNativeTypeExtension::JsonNativeTypeExtension(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.datatype_extension_)*/nullptr
|
||||
, /*decltype(_impl_.datatype_)*/0
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct JsonNativeTypeExtensionDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR JsonNativeTypeExtensionDefaultTypeInternal()
|
||||
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||
~JsonNativeTypeExtensionDefaultTypeInternal() {}
|
||||
union {
|
||||
JsonNativeTypeExtension _instance;
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JsonNativeTypeExtensionDefaultTypeInternal _JsonNativeTypeExtension_default_instance_;
|
||||
PROTOBUF_CONSTEXPR ColumnOptions_OptionsEntry_DoNotUse::ColumnOptions_OptionsEntry_DoNotUse(
|
||||
::_pbi::ConstantInitialized) {}
|
||||
struct ColumnOptions_OptionsEntry_DoNotUseDefaultTypeInternal {
|
||||
@@ -460,7 +474,7 @@ struct ArrowIpcDefaultTypeInternal {
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrowIpcDefaultTypeInternal _ArrowIpc_default_instance_;
|
||||
} // namespace v1
|
||||
} // namespace greptime
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[32];
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[33];
|
||||
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto[4];
|
||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto = nullptr;
|
||||
|
||||
@@ -682,6 +696,7 @@ const uint32_t TableStruct_greptime_2fv1_2fcommon_2eproto::offsets[] PROTOBUF_SE
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDataTypeExtension, _impl_.type_ext_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::DecimalTypeExtension, _internal_metadata_),
|
||||
@@ -713,6 +728,14 @@ const uint32_t TableStruct_greptime_2fv1_2fcommon_2eproto::offsets[] PROTOBUF_SE
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::StructTypeExtension, _impl_.fields_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::JsonNativeTypeExtension, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::JsonNativeTypeExtension, _impl_.datatype_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::JsonNativeTypeExtension, _impl_.datatype_extension_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse, _has_bits_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
@@ -766,13 +789,14 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
||||
{ 189, -1, -1, sizeof(::greptime::v1::Decimal128)},
|
||||
{ 197, -1, -1, sizeof(::greptime::v1::StructField)},
|
||||
{ 206, -1, -1, sizeof(::greptime::v1::ColumnDataTypeExtension)},
|
||||
{ 218, -1, -1, sizeof(::greptime::v1::DecimalTypeExtension)},
|
||||
{ 226, -1, -1, sizeof(::greptime::v1::VectorTypeExtension)},
|
||||
{ 233, -1, -1, sizeof(::greptime::v1::ListTypeExtension)},
|
||||
{ 241, -1, -1, sizeof(::greptime::v1::StructTypeExtension)},
|
||||
{ 248, 256, -1, sizeof(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse)},
|
||||
{ 258, -1, -1, sizeof(::greptime::v1::ColumnOptions)},
|
||||
{ 265, -1, -1, sizeof(::greptime::v1::ArrowIpc)},
|
||||
{ 219, -1, -1, sizeof(::greptime::v1::DecimalTypeExtension)},
|
||||
{ 227, -1, -1, sizeof(::greptime::v1::VectorTypeExtension)},
|
||||
{ 234, -1, -1, sizeof(::greptime::v1::ListTypeExtension)},
|
||||
{ 242, -1, -1, sizeof(::greptime::v1::StructTypeExtension)},
|
||||
{ 249, -1, -1, sizeof(::greptime::v1::JsonNativeTypeExtension)},
|
||||
{ 257, 265, -1, sizeof(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse)},
|
||||
{ 267, -1, -1, sizeof(::greptime::v1::ColumnOptions)},
|
||||
{ 274, -1, -1, sizeof(::greptime::v1::ArrowIpc)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -805,6 +829,7 @@ static const ::_pb::Message* const file_default_instances[] = {
|
||||
&::greptime::v1::_VectorTypeExtension_default_instance_._instance,
|
||||
&::greptime::v1::_ListTypeExtension_default_instance_._instance,
|
||||
&::greptime::v1::_StructTypeExtension_default_instance_._instance,
|
||||
&::greptime::v1::_JsonNativeTypeExtension_default_instance_._instance,
|
||||
&::greptime::v1::_ColumnOptions_OptionsEntry_DoNotUse_default_instance_._instance,
|
||||
&::greptime::v1::_ColumnOptions_default_instance_._instance,
|
||||
&::greptime::v1::_ArrowIpc_default_instance_._instance,
|
||||
@@ -858,7 +883,7 @@ const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_S
|
||||
"\n\002lo\030\002 \001(\003\"\214\001\n\013StructField\022\014\n\004name\030\001 \001(\t"
|
||||
"\022-\n\010datatype\030\002 \001(\0162\033.greptime.v1.ColumnD"
|
||||
"ataType\022@\n\022datatype_extension\030\003 \001(\0132$.gr"
|
||||
"eptime.v1.ColumnDataTypeExtension\"\274\002\n\027Co"
|
||||
"eptime.v1.ColumnDataTypeExtension\"\376\002\n\027Co"
|
||||
"lumnDataTypeExtension\0229\n\014decimal_type\030\001 "
|
||||
"\001(\0132!.greptime.v1.DecimalTypeExtensionH\000"
|
||||
"\0223\n\tjson_type\030\002 \001(\0162\036.greptime.v1.JsonTy"
|
||||
@@ -866,45 +891,50 @@ const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_S
|
||||
"ptime.v1.VectorTypeExtensionH\000\0223\n\tlist_t"
|
||||
"ype\030\004 \001(\0132\036.greptime.v1.ListTypeExtensio"
|
||||
"nH\000\0227\n\013struct_type\030\005 \001(\0132 .greptime.v1.S"
|
||||
"tructTypeExtensionH\000B\n\n\010type_ext\"8\n\024Deci"
|
||||
"malTypeExtension\022\021\n\tprecision\030\001 \001(\005\022\r\n\005s"
|
||||
"cale\030\002 \001(\005\"\"\n\023VectorTypeExtension\022\013\n\003dim"
|
||||
"\030\001 \001(\r\"\204\001\n\021ListTypeExtension\022-\n\010datatype"
|
||||
"\030\001 \001(\0162\033.greptime.v1.ColumnDataType\022@\n\022d"
|
||||
"atatype_extension\030\002 \001(\0132$.greptime.v1.Co"
|
||||
"lumnDataTypeExtension\"\?\n\023StructTypeExten"
|
||||
"sion\022(\n\006fields\030\001 \003(\0132\030.greptime.v1.Struc"
|
||||
"tField\"y\n\rColumnOptions\0228\n\007options\030\001 \003(\013"
|
||||
"2\'.greptime.v1.ColumnOptions.OptionsEntr"
|
||||
"y\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
|
||||
"\002 \001(\t:\0028\001\"@\n\010ArrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n"
|
||||
"\013data_header\030\002 \001(\014\022\017\n\007payload\030\003 \001(\014*1\n\014S"
|
||||
"emanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMES"
|
||||
"TAMP\020\002*\202\004\n\016ColumnDataType\022\013\n\007BOOLEAN\020\000\022\010"
|
||||
"\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020"
|
||||
"\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006"
|
||||
"UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BI"
|
||||
"NARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME"
|
||||
"\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMESTAMP_MI"
|
||||
"LLISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECOND\020\021\022\030"
|
||||
"\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIME_SECOND\020"
|
||||
"\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME_MICROSEC"
|
||||
"OND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTERVAL_Y"
|
||||
"EAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027IN"
|
||||
"TERVAL_MONTH_DAY_NANO\020\031\022\016\n\nDECIMAL128\020\036\022"
|
||||
"\010\n\004JSON\020\037\022\n\n\006VECTOR\020 \022\010\n\004LIST\020(\022\n\n\006STRUC"
|
||||
"T\020)*H\n\010TimeUnit\022\017\n\013MILLISECOND\020\000\022\n\n\006SECO"
|
||||
"ND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNANOSECOND\020\003*$\n"
|
||||
"\021JsonTypeExtension\022\017\n\013JSON_BINARY\020\000BO\n\016i"
|
||||
"o.greptime.v1B\006CommonZ5github.com/Grepti"
|
||||
"meTeam/greptime-proto/go/greptime/v1b\006pr"
|
||||
"oto3"
|
||||
"tructTypeExtensionH\000\022@\n\020json_native_type"
|
||||
"\030\006 \001(\0132$.greptime.v1.JsonNativeTypeExten"
|
||||
"sionH\000B\n\n\010type_ext\"8\n\024DecimalTypeExtensi"
|
||||
"on\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002 \001(\005\"\"\n\023"
|
||||
"VectorTypeExtension\022\013\n\003dim\030\001 \001(\r\"\204\001\n\021Lis"
|
||||
"tTypeExtension\022-\n\010datatype\030\001 \001(\0162\033.grept"
|
||||
"ime.v1.ColumnDataType\022@\n\022datatype_extens"
|
||||
"ion\030\002 \001(\0132$.greptime.v1.ColumnDataTypeEx"
|
||||
"tension\"\?\n\023StructTypeExtension\022(\n\006fields"
|
||||
"\030\001 \003(\0132\030.greptime.v1.StructField\"\212\001\n\027Jso"
|
||||
"nNativeTypeExtension\022-\n\010datatype\030\001 \001(\0162\033"
|
||||
".greptime.v1.ColumnDataType\022@\n\022datatype_"
|
||||
"extension\030\002 \001(\0132$.greptime.v1.ColumnData"
|
||||
"TypeExtension\"y\n\rColumnOptions\0228\n\007option"
|
||||
"s\030\001 \003(\0132\'.greptime.v1.ColumnOptions.Opti"
|
||||
"onsEntry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n"
|
||||
"\005value\030\002 \001(\t:\0028\001\"@\n\010ArrowIpc\022\016\n\006schema\030\001"
|
||||
" \001(\014\022\023\n\013data_header\030\002 \001(\014\022\017\n\007payload\030\003 \001"
|
||||
"(\014*1\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r"
|
||||
"\n\tTIMESTAMP\020\002*\202\004\n\016ColumnDataType\022\013\n\007BOOL"
|
||||
"EAN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n"
|
||||
"\005INT64\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT3"
|
||||
"2\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020"
|
||||
"\n\022\n\n\006BINARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010D"
|
||||
"ATETIME\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMES"
|
||||
"TAMP_MILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROSEC"
|
||||
"OND\020\021\022\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIME_"
|
||||
"SECOND\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME_M"
|
||||
"ICROSECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INT"
|
||||
"ERVAL_YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020"
|
||||
"\030\022\033\n\027INTERVAL_MONTH_DAY_NANO\020\031\022\016\n\nDECIMA"
|
||||
"L128\020\036\022\010\n\004JSON\020\037\022\n\n\006VECTOR\020 \022\010\n\004LIST\020(\022\n"
|
||||
"\n\006STRUCT\020)*H\n\010TimeUnit\022\017\n\013MILLISECOND\020\000\022"
|
||||
"\n\n\006SECOND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNANOSECO"
|
||||
"ND\020\003*$\n\021JsonTypeExtension\022\017\n\013JSON_BINARY"
|
||||
"\020\000BO\n\016io.greptime.v1B\006CommonZ5github.com"
|
||||
"/GreptimeTeam/greptime-proto/go/greptime"
|
||||
"/v1b\006proto3"
|
||||
;
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcommon_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcommon_2eproto = {
|
||||
false, false, 3484, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto,
|
||||
false, false, 3691, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto,
|
||||
"greptime/v1/common.proto",
|
||||
&descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 32,
|
||||
&descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 33,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcommon_2eproto::offsets,
|
||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto, file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto,
|
||||
file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto,
|
||||
@@ -6058,6 +6088,7 @@ class ColumnDataTypeExtension::_Internal {
|
||||
static const ::greptime::v1::VectorTypeExtension& vector_type(const ColumnDataTypeExtension* msg);
|
||||
static const ::greptime::v1::ListTypeExtension& list_type(const ColumnDataTypeExtension* msg);
|
||||
static const ::greptime::v1::StructTypeExtension& struct_type(const ColumnDataTypeExtension* msg);
|
||||
static const ::greptime::v1::JsonNativeTypeExtension& json_native_type(const ColumnDataTypeExtension* msg);
|
||||
};
|
||||
|
||||
const ::greptime::v1::DecimalTypeExtension&
|
||||
@@ -6076,6 +6107,10 @@ const ::greptime::v1::StructTypeExtension&
|
||||
ColumnDataTypeExtension::_Internal::struct_type(const ColumnDataTypeExtension* msg) {
|
||||
return *msg->_impl_.type_ext_.struct_type_;
|
||||
}
|
||||
const ::greptime::v1::JsonNativeTypeExtension&
|
||||
ColumnDataTypeExtension::_Internal::json_native_type(const ColumnDataTypeExtension* msg) {
|
||||
return *msg->_impl_.type_ext_.json_native_type_;
|
||||
}
|
||||
void ColumnDataTypeExtension::set_allocated_decimal_type(::greptime::v1::DecimalTypeExtension* decimal_type) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_type_ext();
|
||||
@@ -6136,6 +6171,21 @@ void ColumnDataTypeExtension::set_allocated_struct_type(::greptime::v1::StructTy
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.ColumnDataTypeExtension.struct_type)
|
||||
}
|
||||
void ColumnDataTypeExtension::set_allocated_json_native_type(::greptime::v1::JsonNativeTypeExtension* json_native_type) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_type_ext();
|
||||
if (json_native_type) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(json_native_type);
|
||||
if (message_arena != submessage_arena) {
|
||||
json_native_type = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, json_native_type, submessage_arena);
|
||||
}
|
||||
set_has_json_native_type();
|
||||
_impl_.type_ext_.json_native_type_ = json_native_type;
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.ColumnDataTypeExtension.json_native_type)
|
||||
}
|
||||
ColumnDataTypeExtension::ColumnDataTypeExtension(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
@@ -6177,6 +6227,11 @@ ColumnDataTypeExtension::ColumnDataTypeExtension(const ColumnDataTypeExtension&
|
||||
from._internal_struct_type());
|
||||
break;
|
||||
}
|
||||
case kJsonNativeType: {
|
||||
_this->_internal_mutable_json_native_type()->::greptime::v1::JsonNativeTypeExtension::MergeFrom(
|
||||
from._internal_json_native_type());
|
||||
break;
|
||||
}
|
||||
case TYPE_EXT_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -6247,6 +6302,12 @@ void ColumnDataTypeExtension::clear_type_ext() {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case kJsonNativeType: {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.type_ext_.json_native_type_;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case TYPE_EXT_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -6312,6 +6373,14 @@ const char* ColumnDataTypeExtension::_InternalParse(const char* ptr, ::_pbi::Par
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.JsonNativeTypeExtension json_native_type = 6;
|
||||
case 6:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_json_native_type(), ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
@@ -6376,6 +6445,13 @@ uint8_t* ColumnDataTypeExtension::_InternalSerialize(
|
||||
_Internal::struct_type(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// .greptime.v1.JsonNativeTypeExtension json_native_type = 6;
|
||||
if (_internal_has_json_native_type()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(6, _Internal::json_native_type(this),
|
||||
_Internal::json_native_type(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);
|
||||
@@ -6427,6 +6503,13 @@ size_t ColumnDataTypeExtension::ByteSizeLong() const {
|
||||
*_impl_.type_ext_.struct_type_);
|
||||
break;
|
||||
}
|
||||
// .greptime.v1.JsonNativeTypeExtension json_native_type = 6;
|
||||
case kJsonNativeType: {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.type_ext_.json_native_type_);
|
||||
break;
|
||||
}
|
||||
case TYPE_EXT_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -6474,6 +6557,11 @@ void ColumnDataTypeExtension::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg
|
||||
from._internal_struct_type());
|
||||
break;
|
||||
}
|
||||
case kJsonNativeType: {
|
||||
_this->_internal_mutable_json_native_type()->::greptime::v1::JsonNativeTypeExtension::MergeFrom(
|
||||
from._internal_json_native_type());
|
||||
break;
|
||||
}
|
||||
case TYPE_EXT_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -7308,6 +7396,233 @@ void StructTypeExtension::InternalSwap(StructTypeExtension* other) {
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class JsonNativeTypeExtension::_Internal {
|
||||
public:
|
||||
static const ::greptime::v1::ColumnDataTypeExtension& datatype_extension(const JsonNativeTypeExtension* msg);
|
||||
};
|
||||
|
||||
const ::greptime::v1::ColumnDataTypeExtension&
|
||||
JsonNativeTypeExtension::_Internal::datatype_extension(const JsonNativeTypeExtension* msg) {
|
||||
return *msg->_impl_.datatype_extension_;
|
||||
}
|
||||
JsonNativeTypeExtension::JsonNativeTypeExtension(::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.JsonNativeTypeExtension)
|
||||
}
|
||||
JsonNativeTypeExtension::JsonNativeTypeExtension(const JsonNativeTypeExtension& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||
JsonNativeTypeExtension* const _this = this; (void)_this;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.datatype_extension_){nullptr}
|
||||
, decltype(_impl_.datatype_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
if (from._internal_has_datatype_extension()) {
|
||||
_this->_impl_.datatype_extension_ = new ::greptime::v1::ColumnDataTypeExtension(*from._impl_.datatype_extension_);
|
||||
}
|
||||
_this->_impl_.datatype_ = from._impl_.datatype_;
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.JsonNativeTypeExtension)
|
||||
}
|
||||
|
||||
inline void JsonNativeTypeExtension::SharedCtor(
|
||||
::_pb::Arena* arena, bool is_message_owned) {
|
||||
(void)arena;
|
||||
(void)is_message_owned;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.datatype_extension_){nullptr}
|
||||
, decltype(_impl_.datatype_){0}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
}
|
||||
|
||||
JsonNativeTypeExtension::~JsonNativeTypeExtension() {
|
||||
// @@protoc_insertion_point(destructor:greptime.v1.JsonNativeTypeExtension)
|
||||
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||
(void)arena;
|
||||
return;
|
||||
}
|
||||
SharedDtor();
|
||||
}
|
||||
|
||||
inline void JsonNativeTypeExtension::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
if (this != internal_default_instance()) delete _impl_.datatype_extension_;
|
||||
}
|
||||
|
||||
void JsonNativeTypeExtension::SetCachedSize(int size) const {
|
||||
_impl_._cached_size_.Set(size);
|
||||
}
|
||||
|
||||
void JsonNativeTypeExtension::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:greptime.v1.JsonNativeTypeExtension)
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.datatype_extension_ != nullptr) {
|
||||
delete _impl_.datatype_extension_;
|
||||
}
|
||||
_impl_.datatype_extension_ = nullptr;
|
||||
_impl_.datatype_ = 0;
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
const char* JsonNativeTypeExtension::_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) {
|
||||
// .greptime.v1.ColumnDataType datatype = 1;
|
||||
case 1:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
|
||||
uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||||
CHK_(ptr);
|
||||
_internal_set_datatype(static_cast<::greptime::v1::ColumnDataType>(val));
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.ColumnDataTypeExtension datatype_extension = 2;
|
||||
case 2:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_datatype_extension(), ptr);
|
||||
CHK_(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* JsonNativeTypeExtension::_InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.JsonNativeTypeExtension)
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// .greptime.v1.ColumnDataType datatype = 1;
|
||||
if (this->_internal_datatype() != 0) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::_pbi::WireFormatLite::WriteEnumToArray(
|
||||
1, this->_internal_datatype(), target);
|
||||
}
|
||||
|
||||
// .greptime.v1.ColumnDataTypeExtension datatype_extension = 2;
|
||||
if (this->_internal_has_datatype_extension()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(2, _Internal::datatype_extension(this),
|
||||
_Internal::datatype_extension(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);
|
||||
}
|
||||
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.JsonNativeTypeExtension)
|
||||
return target;
|
||||
}
|
||||
|
||||
size_t JsonNativeTypeExtension::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.JsonNativeTypeExtension)
|
||||
size_t total_size = 0;
|
||||
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
// .greptime.v1.ColumnDataTypeExtension datatype_extension = 2;
|
||||
if (this->_internal_has_datatype_extension()) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.datatype_extension_);
|
||||
}
|
||||
|
||||
// .greptime.v1.ColumnDataType datatype = 1;
|
||||
if (this->_internal_datatype() != 0) {
|
||||
total_size += 1 +
|
||||
::_pbi::WireFormatLite::EnumSize(this->_internal_datatype());
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData JsonNativeTypeExtension::_class_data_ = {
|
||||
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||
JsonNativeTypeExtension::MergeImpl
|
||||
};
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*JsonNativeTypeExtension::GetClassData() const { return &_class_data_; }
|
||||
|
||||
|
||||
void JsonNativeTypeExtension::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||
auto* const _this = static_cast<JsonNativeTypeExtension*>(&to_msg);
|
||||
auto& from = static_cast<const JsonNativeTypeExtension&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.JsonNativeTypeExtension)
|
||||
GOOGLE_DCHECK_NE(&from, _this);
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
if (from._internal_has_datatype_extension()) {
|
||||
_this->_internal_mutable_datatype_extension()->::greptime::v1::ColumnDataTypeExtension::MergeFrom(
|
||||
from._internal_datatype_extension());
|
||||
}
|
||||
if (from._internal_datatype() != 0) {
|
||||
_this->_internal_set_datatype(from._internal_datatype());
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
void JsonNativeTypeExtension::CopyFrom(const JsonNativeTypeExtension& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.JsonNativeTypeExtension)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
bool JsonNativeTypeExtension::IsInitialized() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void JsonNativeTypeExtension::InternalSwap(JsonNativeTypeExtension* other) {
|
||||
using std::swap;
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|
||||
PROTOBUF_FIELD_OFFSET(JsonNativeTypeExtension, _impl_.datatype_)
|
||||
+ sizeof(JsonNativeTypeExtension::_impl_.datatype_)
|
||||
- PROTOBUF_FIELD_OFFSET(JsonNativeTypeExtension, _impl_.datatype_extension_)>(
|
||||
reinterpret_cast<char*>(&_impl_.datatype_extension_),
|
||||
reinterpret_cast<char*>(&other->_impl_.datatype_extension_));
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata JsonNativeTypeExtension::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[29]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
|
||||
ColumnOptions_OptionsEntry_DoNotUse::ColumnOptions_OptionsEntry_DoNotUse() {}
|
||||
ColumnOptions_OptionsEntry_DoNotUse::ColumnOptions_OptionsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena)
|
||||
: SuperType(arena) {}
|
||||
@@ -7317,7 +7632,7 @@ void ColumnOptions_OptionsEntry_DoNotUse::MergeFrom(const ColumnOptions_OptionsE
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata ColumnOptions_OptionsEntry_DoNotUse::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[29]);
|
||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[30]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -7536,7 +7851,7 @@ void ColumnOptions::InternalSwap(ColumnOptions* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata ColumnOptions::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[30]);
|
||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[31]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -7824,7 +8139,7 @@ void ArrowIpc::InternalSwap(ArrowIpc* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata ArrowIpc::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[31]);
|
||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[32]);
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
@@ -7947,6 +8262,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::StructTypeExtension*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::StructTypeExtension >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::StructTypeExtension >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::JsonNativeTypeExtension*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::JsonNativeTypeExtension >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::JsonNativeTypeExtension >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse >(arena);
|
||||
|
||||
+386
-2
@@ -92,6 +92,9 @@ extern FlightMetadataDefaultTypeInternal _FlightMetadata_default_instance_;
|
||||
class IntervalMonthDayNano;
|
||||
struct IntervalMonthDayNanoDefaultTypeInternal;
|
||||
extern IntervalMonthDayNanoDefaultTypeInternal _IntervalMonthDayNano_default_instance_;
|
||||
class JsonNativeTypeExtension;
|
||||
struct JsonNativeTypeExtensionDefaultTypeInternal;
|
||||
extern JsonNativeTypeExtensionDefaultTypeInternal _JsonNativeTypeExtension_default_instance_;
|
||||
class ListTypeExtension;
|
||||
struct ListTypeExtensionDefaultTypeInternal;
|
||||
extern ListTypeExtensionDefaultTypeInternal _ListTypeExtension_default_instance_;
|
||||
@@ -163,6 +166,7 @@ template<> ::greptime::v1::ExpireAfter* Arena::CreateMaybeMessage<::greptime::v1
|
||||
template<> ::greptime::v1::ExplainOptions* Arena::CreateMaybeMessage<::greptime::v1::ExplainOptions>(Arena*);
|
||||
template<> ::greptime::v1::FlightMetadata* Arena::CreateMaybeMessage<::greptime::v1::FlightMetadata>(Arena*);
|
||||
template<> ::greptime::v1::IntervalMonthDayNano* Arena::CreateMaybeMessage<::greptime::v1::IntervalMonthDayNano>(Arena*);
|
||||
template<> ::greptime::v1::JsonNativeTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::JsonNativeTypeExtension>(Arena*);
|
||||
template<> ::greptime::v1::ListTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::ListTypeExtension>(Arena*);
|
||||
template<> ::greptime::v1::Metrics* Arena::CreateMaybeMessage<::greptime::v1::Metrics>(Arena*);
|
||||
template<> ::greptime::v1::QueryContext* Arena::CreateMaybeMessage<::greptime::v1::QueryContext>(Arena*);
|
||||
@@ -3952,6 +3956,7 @@ class ColumnDataTypeExtension final :
|
||||
kVectorType = 3,
|
||||
kListType = 4,
|
||||
kStructType = 5,
|
||||
kJsonNativeType = 6,
|
||||
TYPE_EXT_NOT_SET = 0,
|
||||
};
|
||||
|
||||
@@ -4038,6 +4043,7 @@ class ColumnDataTypeExtension final :
|
||||
kVectorTypeFieldNumber = 3,
|
||||
kListTypeFieldNumber = 4,
|
||||
kStructTypeFieldNumber = 5,
|
||||
kJsonNativeTypeFieldNumber = 6,
|
||||
};
|
||||
// .greptime.v1.DecimalTypeExtension decimal_type = 1;
|
||||
bool has_decimal_type() const;
|
||||
@@ -4124,6 +4130,24 @@ class ColumnDataTypeExtension final :
|
||||
::greptime::v1::StructTypeExtension* struct_type);
|
||||
::greptime::v1::StructTypeExtension* unsafe_arena_release_struct_type();
|
||||
|
||||
// .greptime.v1.JsonNativeTypeExtension json_native_type = 6;
|
||||
bool has_json_native_type() const;
|
||||
private:
|
||||
bool _internal_has_json_native_type() const;
|
||||
public:
|
||||
void clear_json_native_type();
|
||||
const ::greptime::v1::JsonNativeTypeExtension& json_native_type() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::JsonNativeTypeExtension* release_json_native_type();
|
||||
::greptime::v1::JsonNativeTypeExtension* mutable_json_native_type();
|
||||
void set_allocated_json_native_type(::greptime::v1::JsonNativeTypeExtension* json_native_type);
|
||||
private:
|
||||
const ::greptime::v1::JsonNativeTypeExtension& _internal_json_native_type() const;
|
||||
::greptime::v1::JsonNativeTypeExtension* _internal_mutable_json_native_type();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_json_native_type(
|
||||
::greptime::v1::JsonNativeTypeExtension* json_native_type);
|
||||
::greptime::v1::JsonNativeTypeExtension* unsafe_arena_release_json_native_type();
|
||||
|
||||
void clear_type_ext();
|
||||
TypeExtCase type_ext_case() const;
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.ColumnDataTypeExtension)
|
||||
@@ -4134,6 +4158,7 @@ class ColumnDataTypeExtension final :
|
||||
void set_has_vector_type();
|
||||
void set_has_list_type();
|
||||
void set_has_struct_type();
|
||||
void set_has_json_native_type();
|
||||
|
||||
inline bool has_type_ext() const;
|
||||
inline void clear_has_type_ext();
|
||||
@@ -4150,6 +4175,7 @@ class ColumnDataTypeExtension final :
|
||||
::greptime::v1::VectorTypeExtension* vector_type_;
|
||||
::greptime::v1::ListTypeExtension* list_type_;
|
||||
::greptime::v1::StructTypeExtension* struct_type_;
|
||||
::greptime::v1::JsonNativeTypeExtension* json_native_type_;
|
||||
} type_ext_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
uint32_t _oneof_case_[1];
|
||||
@@ -4792,6 +4818,174 @@ class StructTypeExtension final :
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class JsonNativeTypeExtension final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.JsonNativeTypeExtension) */ {
|
||||
public:
|
||||
inline JsonNativeTypeExtension() : JsonNativeTypeExtension(nullptr) {}
|
||||
~JsonNativeTypeExtension() override;
|
||||
explicit PROTOBUF_CONSTEXPR JsonNativeTypeExtension(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
JsonNativeTypeExtension(const JsonNativeTypeExtension& from);
|
||||
JsonNativeTypeExtension(JsonNativeTypeExtension&& from) noexcept
|
||||
: JsonNativeTypeExtension() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline JsonNativeTypeExtension& operator=(const JsonNativeTypeExtension& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline JsonNativeTypeExtension& operator=(JsonNativeTypeExtension&& 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 JsonNativeTypeExtension& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const JsonNativeTypeExtension* internal_default_instance() {
|
||||
return reinterpret_cast<const JsonNativeTypeExtension*>(
|
||||
&_JsonNativeTypeExtension_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
29;
|
||||
|
||||
friend void swap(JsonNativeTypeExtension& a, JsonNativeTypeExtension& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(JsonNativeTypeExtension* 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(JsonNativeTypeExtension* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
JsonNativeTypeExtension* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<JsonNativeTypeExtension>(arena);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||
void CopyFrom(const JsonNativeTypeExtension& from);
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||
void MergeFrom( const JsonNativeTypeExtension& from) {
|
||||
JsonNativeTypeExtension::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(JsonNativeTypeExtension* other);
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "greptime.v1.JsonNativeTypeExtension";
|
||||
}
|
||||
protected:
|
||||
explicit JsonNativeTypeExtension(::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 {
|
||||
kDatatypeExtensionFieldNumber = 2,
|
||||
kDatatypeFieldNumber = 1,
|
||||
};
|
||||
// .greptime.v1.ColumnDataTypeExtension datatype_extension = 2;
|
||||
bool has_datatype_extension() const;
|
||||
private:
|
||||
bool _internal_has_datatype_extension() const;
|
||||
public:
|
||||
void clear_datatype_extension();
|
||||
const ::greptime::v1::ColumnDataTypeExtension& datatype_extension() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::ColumnDataTypeExtension* release_datatype_extension();
|
||||
::greptime::v1::ColumnDataTypeExtension* mutable_datatype_extension();
|
||||
void set_allocated_datatype_extension(::greptime::v1::ColumnDataTypeExtension* datatype_extension);
|
||||
private:
|
||||
const ::greptime::v1::ColumnDataTypeExtension& _internal_datatype_extension() const;
|
||||
::greptime::v1::ColumnDataTypeExtension* _internal_mutable_datatype_extension();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_datatype_extension(
|
||||
::greptime::v1::ColumnDataTypeExtension* datatype_extension);
|
||||
::greptime::v1::ColumnDataTypeExtension* unsafe_arena_release_datatype_extension();
|
||||
|
||||
// .greptime.v1.ColumnDataType datatype = 1;
|
||||
void clear_datatype();
|
||||
::greptime::v1::ColumnDataType datatype() const;
|
||||
void set_datatype(::greptime::v1::ColumnDataType value);
|
||||
private:
|
||||
::greptime::v1::ColumnDataType _internal_datatype() const;
|
||||
void _internal_set_datatype(::greptime::v1::ColumnDataType value);
|
||||
public:
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.JsonNativeTypeExtension)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
::greptime::v1::ColumnDataTypeExtension* datatype_extension_;
|
||||
int datatype_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
friend struct ::TableStruct_greptime_2fv1_2fcommon_2eproto;
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class ColumnOptions_OptionsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ColumnOptions_OptionsEntry_DoNotUse,
|
||||
std::string, std::string,
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
|
||||
@@ -4868,7 +5062,7 @@ class ColumnOptions final :
|
||||
&_ColumnOptions_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
30;
|
||||
31;
|
||||
|
||||
friend void swap(ColumnOptions& a, ColumnOptions& b) {
|
||||
a.Swap(&b);
|
||||
@@ -5031,7 +5225,7 @@ class ArrowIpc final :
|
||||
&_ArrowIpc_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
31;
|
||||
32;
|
||||
|
||||
friend void swap(ArrowIpc& a, ArrowIpc& b) {
|
||||
a.Swap(&b);
|
||||
@@ -7642,6 +7836,80 @@ inline ::greptime::v1::StructTypeExtension* ColumnDataTypeExtension::mutable_str
|
||||
return _msg;
|
||||
}
|
||||
|
||||
// .greptime.v1.JsonNativeTypeExtension json_native_type = 6;
|
||||
inline bool ColumnDataTypeExtension::_internal_has_json_native_type() const {
|
||||
return type_ext_case() == kJsonNativeType;
|
||||
}
|
||||
inline bool ColumnDataTypeExtension::has_json_native_type() const {
|
||||
return _internal_has_json_native_type();
|
||||
}
|
||||
inline void ColumnDataTypeExtension::set_has_json_native_type() {
|
||||
_impl_._oneof_case_[0] = kJsonNativeType;
|
||||
}
|
||||
inline void ColumnDataTypeExtension::clear_json_native_type() {
|
||||
if (_internal_has_json_native_type()) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.type_ext_.json_native_type_;
|
||||
}
|
||||
clear_has_type_ext();
|
||||
}
|
||||
}
|
||||
inline ::greptime::v1::JsonNativeTypeExtension* ColumnDataTypeExtension::release_json_native_type() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.ColumnDataTypeExtension.json_native_type)
|
||||
if (_internal_has_json_native_type()) {
|
||||
clear_has_type_ext();
|
||||
::greptime::v1::JsonNativeTypeExtension* temp = _impl_.type_ext_.json_native_type_;
|
||||
if (GetArenaForAllocation() != nullptr) {
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
}
|
||||
_impl_.type_ext_.json_native_type_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline const ::greptime::v1::JsonNativeTypeExtension& ColumnDataTypeExtension::_internal_json_native_type() const {
|
||||
return _internal_has_json_native_type()
|
||||
? *_impl_.type_ext_.json_native_type_
|
||||
: reinterpret_cast< ::greptime::v1::JsonNativeTypeExtension&>(::greptime::v1::_JsonNativeTypeExtension_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::JsonNativeTypeExtension& ColumnDataTypeExtension::json_native_type() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.ColumnDataTypeExtension.json_native_type)
|
||||
return _internal_json_native_type();
|
||||
}
|
||||
inline ::greptime::v1::JsonNativeTypeExtension* ColumnDataTypeExtension::unsafe_arena_release_json_native_type() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.ColumnDataTypeExtension.json_native_type)
|
||||
if (_internal_has_json_native_type()) {
|
||||
clear_has_type_ext();
|
||||
::greptime::v1::JsonNativeTypeExtension* temp = _impl_.type_ext_.json_native_type_;
|
||||
_impl_.type_ext_.json_native_type_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline void ColumnDataTypeExtension::unsafe_arena_set_allocated_json_native_type(::greptime::v1::JsonNativeTypeExtension* json_native_type) {
|
||||
clear_type_ext();
|
||||
if (json_native_type) {
|
||||
set_has_json_native_type();
|
||||
_impl_.type_ext_.json_native_type_ = json_native_type;
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.ColumnDataTypeExtension.json_native_type)
|
||||
}
|
||||
inline ::greptime::v1::JsonNativeTypeExtension* ColumnDataTypeExtension::_internal_mutable_json_native_type() {
|
||||
if (!_internal_has_json_native_type()) {
|
||||
clear_type_ext();
|
||||
set_has_json_native_type();
|
||||
_impl_.type_ext_.json_native_type_ = CreateMaybeMessage< ::greptime::v1::JsonNativeTypeExtension >(GetArenaForAllocation());
|
||||
}
|
||||
return _impl_.type_ext_.json_native_type_;
|
||||
}
|
||||
inline ::greptime::v1::JsonNativeTypeExtension* ColumnDataTypeExtension::mutable_json_native_type() {
|
||||
::greptime::v1::JsonNativeTypeExtension* _msg = _internal_mutable_json_native_type();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.ColumnDataTypeExtension.json_native_type)
|
||||
return _msg;
|
||||
}
|
||||
|
||||
inline bool ColumnDataTypeExtension::has_type_ext() const {
|
||||
return type_ext_case() != TYPE_EXT_NOT_SET;
|
||||
}
|
||||
@@ -7879,6 +8147,120 @@ StructTypeExtension::fields() const {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// JsonNativeTypeExtension
|
||||
|
||||
// .greptime.v1.ColumnDataType datatype = 1;
|
||||
inline void JsonNativeTypeExtension::clear_datatype() {
|
||||
_impl_.datatype_ = 0;
|
||||
}
|
||||
inline ::greptime::v1::ColumnDataType JsonNativeTypeExtension::_internal_datatype() const {
|
||||
return static_cast< ::greptime::v1::ColumnDataType >(_impl_.datatype_);
|
||||
}
|
||||
inline ::greptime::v1::ColumnDataType JsonNativeTypeExtension::datatype() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.JsonNativeTypeExtension.datatype)
|
||||
return _internal_datatype();
|
||||
}
|
||||
inline void JsonNativeTypeExtension::_internal_set_datatype(::greptime::v1::ColumnDataType value) {
|
||||
|
||||
_impl_.datatype_ = value;
|
||||
}
|
||||
inline void JsonNativeTypeExtension::set_datatype(::greptime::v1::ColumnDataType value) {
|
||||
_internal_set_datatype(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.JsonNativeTypeExtension.datatype)
|
||||
}
|
||||
|
||||
// .greptime.v1.ColumnDataTypeExtension datatype_extension = 2;
|
||||
inline bool JsonNativeTypeExtension::_internal_has_datatype_extension() const {
|
||||
return this != internal_default_instance() && _impl_.datatype_extension_ != nullptr;
|
||||
}
|
||||
inline bool JsonNativeTypeExtension::has_datatype_extension() const {
|
||||
return _internal_has_datatype_extension();
|
||||
}
|
||||
inline void JsonNativeTypeExtension::clear_datatype_extension() {
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.datatype_extension_ != nullptr) {
|
||||
delete _impl_.datatype_extension_;
|
||||
}
|
||||
_impl_.datatype_extension_ = nullptr;
|
||||
}
|
||||
inline const ::greptime::v1::ColumnDataTypeExtension& JsonNativeTypeExtension::_internal_datatype_extension() const {
|
||||
const ::greptime::v1::ColumnDataTypeExtension* p = _impl_.datatype_extension_;
|
||||
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::ColumnDataTypeExtension&>(
|
||||
::greptime::v1::_ColumnDataTypeExtension_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::ColumnDataTypeExtension& JsonNativeTypeExtension::datatype_extension() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.JsonNativeTypeExtension.datatype_extension)
|
||||
return _internal_datatype_extension();
|
||||
}
|
||||
inline void JsonNativeTypeExtension::unsafe_arena_set_allocated_datatype_extension(
|
||||
::greptime::v1::ColumnDataTypeExtension* datatype_extension) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.datatype_extension_);
|
||||
}
|
||||
_impl_.datatype_extension_ = datatype_extension;
|
||||
if (datatype_extension) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.JsonNativeTypeExtension.datatype_extension)
|
||||
}
|
||||
inline ::greptime::v1::ColumnDataTypeExtension* JsonNativeTypeExtension::release_datatype_extension() {
|
||||
|
||||
::greptime::v1::ColumnDataTypeExtension* temp = _impl_.datatype_extension_;
|
||||
_impl_.datatype_extension_ = nullptr;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
if (GetArenaForAllocation() == nullptr) { delete old; }
|
||||
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
if (GetArenaForAllocation() != nullptr) {
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
}
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::ColumnDataTypeExtension* JsonNativeTypeExtension::unsafe_arena_release_datatype_extension() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.JsonNativeTypeExtension.datatype_extension)
|
||||
|
||||
::greptime::v1::ColumnDataTypeExtension* temp = _impl_.datatype_extension_;
|
||||
_impl_.datatype_extension_ = nullptr;
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::ColumnDataTypeExtension* JsonNativeTypeExtension::_internal_mutable_datatype_extension() {
|
||||
|
||||
if (_impl_.datatype_extension_ == nullptr) {
|
||||
auto* p = CreateMaybeMessage<::greptime::v1::ColumnDataTypeExtension>(GetArenaForAllocation());
|
||||
_impl_.datatype_extension_ = p;
|
||||
}
|
||||
return _impl_.datatype_extension_;
|
||||
}
|
||||
inline ::greptime::v1::ColumnDataTypeExtension* JsonNativeTypeExtension::mutable_datatype_extension() {
|
||||
::greptime::v1::ColumnDataTypeExtension* _msg = _internal_mutable_datatype_extension();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.JsonNativeTypeExtension.datatype_extension)
|
||||
return _msg;
|
||||
}
|
||||
inline void JsonNativeTypeExtension::set_allocated_datatype_extension(::greptime::v1::ColumnDataTypeExtension* datatype_extension) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
if (message_arena == nullptr) {
|
||||
delete _impl_.datatype_extension_;
|
||||
}
|
||||
if (datatype_extension) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(datatype_extension);
|
||||
if (message_arena != submessage_arena) {
|
||||
datatype_extension = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, datatype_extension, submessage_arena);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
_impl_.datatype_extension_ = datatype_extension;
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.JsonNativeTypeExtension.datatype_extension)
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// ColumnOptions
|
||||
@@ -8131,6 +8513,8 @@ inline void ArrowIpc::set_allocated_payload(std::string* payload) {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
|
||||
+129
-394
@@ -529,23 +529,10 @@ struct ListMetadataRequestDefaultTypeInternal {
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListMetadataRequestDefaultTypeInternal _ListMetadataRequest_default_instance_;
|
||||
PROTOBUF_CONSTEXPR BuildIndexRequest::BuildIndexRequest(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.region_id_)*/uint64_t{0u}
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct BuildIndexRequestDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR BuildIndexRequestDefaultTypeInternal()
|
||||
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||
~BuildIndexRequestDefaultTypeInternal() {}
|
||||
union {
|
||||
BuildIndexRequest _instance;
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BuildIndexRequestDefaultTypeInternal _BuildIndexRequest_default_instance_;
|
||||
} // namespace region
|
||||
} // namespace v1
|
||||
} // namespace greptime
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[38];
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[37];
|
||||
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_greptime_2fv1_2fregion_2fserver_2eproto = nullptr;
|
||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fregion_2fserver_2eproto = nullptr;
|
||||
|
||||
@@ -592,7 +579,6 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::RegionRequest, _impl_.body_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::RegionResponse_ExtensionsEntry_DoNotUse, _has_bits_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::RegionResponse_ExtensionsEntry_DoNotUse, _internal_metadata_),
|
||||
@@ -884,53 +870,45 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::ListMetadataRequest, _impl_.region_ids_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BuildIndexRequest, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BuildIndexRequest, _impl_.region_id_),
|
||||
};
|
||||
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||
{ 0, 8, -1, sizeof(::greptime::v1::region::RegionRequestHeader_TracingContextEntry_DoNotUse)},
|
||||
{ 10, -1, -1, sizeof(::greptime::v1::region::RegionRequestHeader)},
|
||||
{ 19, -1, -1, sizeof(::greptime::v1::region::RegionRequest)},
|
||||
{ 44, 52, -1, sizeof(::greptime::v1::region::RegionResponse_ExtensionsEntry_DoNotUse)},
|
||||
{ 54, -1, -1, sizeof(::greptime::v1::region::RegionResponse)},
|
||||
{ 64, -1, -1, sizeof(::greptime::v1::region::InsertRequests)},
|
||||
{ 71, -1, -1, sizeof(::greptime::v1::region::DeleteRequests)},
|
||||
{ 78, -1, -1, sizeof(::greptime::v1::region::InsertRequest)},
|
||||
{ 86, -1, -1, sizeof(::greptime::v1::region::DeleteRequest)},
|
||||
{ 94, -1, -1, sizeof(::greptime::v1::region::QueryRequest)},
|
||||
{ 103, -1, -1, sizeof(::greptime::v1::region::CreateRequests)},
|
||||
{ 110, 118, -1, sizeof(::greptime::v1::region::CreateRequest_OptionsEntry_DoNotUse)},
|
||||
{ 120, -1, -1, sizeof(::greptime::v1::region::CreateRequest)},
|
||||
{ 133, -1, -1, sizeof(::greptime::v1::region::DropRequests)},
|
||||
{ 140, -1, -1, sizeof(::greptime::v1::region::DropRequest)},
|
||||
{ 148, 156, -1, sizeof(::greptime::v1::region::OpenRequest_OptionsEntry_DoNotUse)},
|
||||
{ 158, -1, -1, sizeof(::greptime::v1::region::OpenRequest)},
|
||||
{ 168, -1, -1, sizeof(::greptime::v1::region::CloseRequest)},
|
||||
{ 175, -1, -1, sizeof(::greptime::v1::region::AlterRequests)},
|
||||
{ 182, -1, -1, sizeof(::greptime::v1::region::AlterRequest)},
|
||||
{ 203, -1, -1, sizeof(::greptime::v1::region::SyncColumns)},
|
||||
{ 210, -1, -1, sizeof(::greptime::v1::region::AddColumns)},
|
||||
{ 217, -1, -1, sizeof(::greptime::v1::region::DropColumns)},
|
||||
{ 224, -1, -1, sizeof(::greptime::v1::region::AddColumn)},
|
||||
{ 232, -1, -1, sizeof(::greptime::v1::region::DropColumn)},
|
||||
{ 239, -1, -1, sizeof(::greptime::v1::region::FlushRequest)},
|
||||
{ 246, -1, -1, sizeof(::greptime::v1::region::Regular)},
|
||||
{ 252, -1, -1, sizeof(::greptime::v1::region::StrictWindow)},
|
||||
{ 259, -1, -1, sizeof(::greptime::v1::region::CompactRequest)},
|
||||
{ 269, -1, -1, sizeof(::greptime::v1::region::TruncateRequest)},
|
||||
{ 279, -1, -1, sizeof(::greptime::v1::region::All)},
|
||||
{ 285, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)},
|
||||
{ 293, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)},
|
||||
{ 302, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)},
|
||||
{ 309, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)},
|
||||
{ 317, -1, -1, sizeof(::greptime::v1::region::SyncRequest)},
|
||||
{ 327, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)},
|
||||
{ 334, -1, -1, sizeof(::greptime::v1::region::BuildIndexRequest)},
|
||||
{ 43, 51, -1, sizeof(::greptime::v1::region::RegionResponse_ExtensionsEntry_DoNotUse)},
|
||||
{ 53, -1, -1, sizeof(::greptime::v1::region::RegionResponse)},
|
||||
{ 63, -1, -1, sizeof(::greptime::v1::region::InsertRequests)},
|
||||
{ 70, -1, -1, sizeof(::greptime::v1::region::DeleteRequests)},
|
||||
{ 77, -1, -1, sizeof(::greptime::v1::region::InsertRequest)},
|
||||
{ 85, -1, -1, sizeof(::greptime::v1::region::DeleteRequest)},
|
||||
{ 93, -1, -1, sizeof(::greptime::v1::region::QueryRequest)},
|
||||
{ 102, -1, -1, sizeof(::greptime::v1::region::CreateRequests)},
|
||||
{ 109, 117, -1, sizeof(::greptime::v1::region::CreateRequest_OptionsEntry_DoNotUse)},
|
||||
{ 119, -1, -1, sizeof(::greptime::v1::region::CreateRequest)},
|
||||
{ 132, -1, -1, sizeof(::greptime::v1::region::DropRequests)},
|
||||
{ 139, -1, -1, sizeof(::greptime::v1::region::DropRequest)},
|
||||
{ 147, 155, -1, sizeof(::greptime::v1::region::OpenRequest_OptionsEntry_DoNotUse)},
|
||||
{ 157, -1, -1, sizeof(::greptime::v1::region::OpenRequest)},
|
||||
{ 167, -1, -1, sizeof(::greptime::v1::region::CloseRequest)},
|
||||
{ 174, -1, -1, sizeof(::greptime::v1::region::AlterRequests)},
|
||||
{ 181, -1, -1, sizeof(::greptime::v1::region::AlterRequest)},
|
||||
{ 202, -1, -1, sizeof(::greptime::v1::region::SyncColumns)},
|
||||
{ 209, -1, -1, sizeof(::greptime::v1::region::AddColumns)},
|
||||
{ 216, -1, -1, sizeof(::greptime::v1::region::DropColumns)},
|
||||
{ 223, -1, -1, sizeof(::greptime::v1::region::AddColumn)},
|
||||
{ 231, -1, -1, sizeof(::greptime::v1::region::DropColumn)},
|
||||
{ 238, -1, -1, sizeof(::greptime::v1::region::FlushRequest)},
|
||||
{ 245, -1, -1, sizeof(::greptime::v1::region::Regular)},
|
||||
{ 251, -1, -1, sizeof(::greptime::v1::region::StrictWindow)},
|
||||
{ 258, -1, -1, sizeof(::greptime::v1::region::CompactRequest)},
|
||||
{ 268, -1, -1, sizeof(::greptime::v1::region::TruncateRequest)},
|
||||
{ 278, -1, -1, sizeof(::greptime::v1::region::All)},
|
||||
{ 284, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)},
|
||||
{ 292, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)},
|
||||
{ 301, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)},
|
||||
{ 308, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)},
|
||||
{ 316, -1, -1, sizeof(::greptime::v1::region::SyncRequest)},
|
||||
{ 326, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -971,7 +949,6 @@ static const ::_pb::Message* const file_default_instances[] = {
|
||||
&::greptime::v1::region::_MetricManifestInfo_default_instance_._instance,
|
||||
&::greptime::v1::region::_SyncRequest_default_instance_._instance,
|
||||
&::greptime::v1::region::_ListMetadataRequest_default_instance_._instance,
|
||||
&::greptime::v1::region::_BuildIndexRequest_default_instance_._instance,
|
||||
};
|
||||
|
||||
const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
||||
@@ -984,7 +961,7 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P
|
||||
"eader.TracingContextEntry\022\016\n\006dbname\030\003 \001("
|
||||
"\t\0220\n\rquery_context\030\006 \001(\0132\031.greptime.v1.Q"
|
||||
"ueryContext\0325\n\023TracingContextEntry\022\013\n\003ke"
|
||||
"y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\354\007\n\rRegionReq"
|
||||
"y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\256\007\n\rRegionReq"
|
||||
"uest\0227\n\006header\030\001 \001(\0132\'.greptime.v1.regio"
|
||||
"n.RegionRequestHeader\0225\n\007inserts\030\003 \001(\0132\""
|
||||
".greptime.v1.region.InsertRequestsH\000\0225\n\007"
|
||||
@@ -1008,99 +985,97 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P
|
||||
"equestH\000\022/\n\004sync\030\021 \001(\0132\037.greptime.v1.reg"
|
||||
"ion.SyncRequestH\000\022@\n\rlist_metadata\030\022 \001(\013"
|
||||
"2\'.greptime.v1.region.ListMetadataReques"
|
||||
"tH\000\022<\n\013build_index\030\023 \001(\0132%.greptime.v1.r"
|
||||
"egion.BuildIndexRequestH\000B\006\n\004body\"\341\001\n\016Re"
|
||||
"gionResponse\022+\n\006header\030\001 \001(\0132\033.greptime."
|
||||
"v1.ResponseHeader\022\025\n\raffected_rows\030\002 \001(\004"
|
||||
"\022F\n\nextensions\030\003 \003(\01322.greptime.v1.regio"
|
||||
"n.RegionResponse.ExtensionsEntry\022\020\n\010meta"
|
||||
"data\030\004 \001(\014\0321\n\017ExtensionsEntry\022\013\n\003key\030\001 \001"
|
||||
"(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"E\n\016InsertRequests\022"
|
||||
"3\n\010requests\030\001 \003(\0132!.greptime.v1.region.I"
|
||||
"nsertRequest\"E\n\016DeleteRequests\0223\n\010reques"
|
||||
"ts\030\001 \003(\0132!.greptime.v1.region.DeleteRequ"
|
||||
"est\"C\n\rInsertRequest\022\021\n\tregion_id\030\001 \001(\004\022"
|
||||
"\037\n\004rows\030\002 \001(\0132\021.greptime.v1.Rows\"C\n\rDele"
|
||||
"teRequest\022\021\n\tregion_id\030\001 \001(\004\022\037\n\004rows\030\002 \001"
|
||||
"(\0132\021.greptime.v1.Rows\"h\n\014QueryRequest\0227\n"
|
||||
"\006header\030\001 \001(\0132\'.greptime.v1.region.Regio"
|
||||
"nRequestHeader\022\021\n\tregion_id\030\002 \001(\004\022\014\n\004pla"
|
||||
"n\030\003 \001(\014\"E\n\016CreateRequests\0223\n\010requests\030\001 "
|
||||
"\003(\0132!.greptime.v1.region.CreateRequest\"\260"
|
||||
"\002\n\rCreateRequest\022\021\n\tregion_id\030\001 \001(\004\022\016\n\006e"
|
||||
"ngine\030\002 \001(\t\0228\n\013column_defs\030\003 \003(\0132#.grept"
|
||||
"ime.v1.region.RegionColumnDef\022\023\n\013primary"
|
||||
"_key\030\004 \003(\r\022\014\n\004path\030\005 \001(\t\022\?\n\007options\030\006 \003("
|
||||
"\0132..greptime.v1.region.CreateRequest.Opt"
|
||||
"ionsEntry\022.\n\tpartition\030\007 \001(\0132\033.greptime."
|
||||
"v1.meta.Partition\032.\n\014OptionsEntry\022\013\n\003key"
|
||||
"\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"A\n\014DropRequest"
|
||||
"s\0221\n\010requests\030\001 \003(\0132\037.greptime.v1.region"
|
||||
".DropRequest\"3\n\013DropRequest\022\021\n\tregion_id"
|
||||
"\030\001 \001(\004\022\021\n\tfast_path\030\002 \001(\010\"\255\001\n\013OpenReques"
|
||||
"t\022\021\n\tregion_id\030\001 \001(\004\022\016\n\006engine\030\002 \001(\t\022\014\n\004"
|
||||
"path\030\003 \001(\t\022=\n\007options\030\004 \003(\0132,.greptime.v"
|
||||
"1.region.OpenRequest.OptionsEntry\032.\n\014Opt"
|
||||
"ionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028"
|
||||
"\001\"!\n\014CloseRequest\022\021\n\tregion_id\030\001 \001(\004\"C\n\r"
|
||||
"AlterRequests\0222\n\010requests\030\001 \003(\0132 .grepti"
|
||||
"me.v1.region.AlterRequest\"\311\005\n\014AlterReque"
|
||||
"st\022\021\n\tregion_id\030\001 \001(\004\0225\n\013add_columns\030\002 \001"
|
||||
"(\0132\036.greptime.v1.region.AddColumnsH\000\0227\n\014"
|
||||
"drop_columns\030\003 \001(\0132\037.greptime.v1.region."
|
||||
"DropColumnsH\000\022=\n\023modify_column_types\030\005 \001"
|
||||
"(\0132\036.greptime.v1.ModifyColumnTypesH\000\0229\n\021"
|
||||
"set_table_options\030\006 \001(\0132\034.greptime.v1.Se"
|
||||
"tTableOptionsH\000\022=\n\023unset_table_options\030\t"
|
||||
" \001(\0132\036.greptime.v1.UnsetTableOptionsH\000\022*"
|
||||
"\n\tset_index\030\n \001(\0132\025.greptime.v1.SetIndex"
|
||||
"H\000\022.\n\013unset_index\030\013 \001(\0132\027.greptime.v1.Un"
|
||||
"setIndexH\000\0222\n\rdrop_defaults\030\014 \001(\0132\031.grep"
|
||||
"time.v1.DropDefaultsH\000\022.\n\013set_indexes\030\r "
|
||||
"\001(\0132\027.greptime.v1.SetIndexesH\000\0222\n\runset_"
|
||||
"indexes\030\016 \001(\0132\031.greptime.v1.UnsetIndexes"
|
||||
"H\000\0220\n\014set_defaults\030\017 \001(\0132\030.greptime.v1.S"
|
||||
"etDefaultsH\000\0227\n\014sync_columns\030\020 \001(\0132\037.gre"
|
||||
"ptime.v1.region.SyncColumnsH\000\022\026\n\016schema_"
|
||||
"version\030\004 \001(\004B\006\n\004kind\"G\n\013SyncColumns\0228\n\013"
|
||||
"column_defs\030\001 \003(\0132#.greptime.v1.region.R"
|
||||
"egionColumnDef\"@\n\nAddColumns\0222\n\013add_colu"
|
||||
"mns\030\001 \003(\0132\035.greptime.v1.region.AddColumn"
|
||||
"\"C\n\013DropColumns\0224\n\014drop_columns\030\001 \003(\0132\036."
|
||||
"greptime.v1.region.DropColumn\"v\n\tAddColu"
|
||||
"mn\0227\n\ncolumn_def\030\001 \001(\0132#.greptime.v1.reg"
|
||||
"ion.RegionColumnDef\0220\n\010location\030\003 \001(\0132\036."
|
||||
"greptime.v1.AddColumnLocation\"\032\n\nDropCol"
|
||||
"umn\022\014\n\004name\030\001 \001(\t\"!\n\014FlushRequest\022\021\n\treg"
|
||||
"ion_id\030\001 \001(\004\"\t\n\007Regular\"&\n\014StrictWindow\022"
|
||||
"\026\n\016window_seconds\030\001 \001(\003\"\231\001\n\016CompactReque"
|
||||
"st\022\021\n\tregion_id\030\001 \001(\004\022.\n\007regular\030\002 \001(\0132\033"
|
||||
".greptime.v1.region.RegularH\000\0229\n\rstrict_"
|
||||
"window\030\003 \001(\0132 .greptime.v1.region.Strict"
|
||||
"WindowH\000B\t\n\007options\"\204\001\n\017TruncateRequest\022"
|
||||
"\021\n\tregion_id\030\001 \001(\004\022&\n\003all\030\002 \001(\0132\027.grepti"
|
||||
"me.v1.region.AllH\000\022.\n\013time_ranges\030\003 \001(\0132"
|
||||
"\027.greptime.v1.TimeRangesH\000B\006\n\004kind\"\005\n\003Al"
|
||||
"l\"P\n\017RegionColumnDef\022*\n\ncolumn_def\030\001 \001(\013"
|
||||
"2\026.greptime.v1.ColumnDef\022\021\n\tcolumn_id\030\002 "
|
||||
"\001(\r\"Z\n\021BulkInsertRequest\022\021\n\tregion_id\030\001 "
|
||||
"\001(\004\022*\n\tarrow_ipc\030\002 \001(\0132\025.greptime.v1.Arr"
|
||||
"owIpcH\000B\006\n\004body\"1\n\020MitoManifestInfo\022\035\n\025d"
|
||||
"ata_manifest_version\030\001 \001(\004\"V\n\022MetricMani"
|
||||
"festInfo\022\035\n\025data_manifest_version\030\001 \001(\004\022"
|
||||
"!\n\031metadata_manifest_version\030\002 \001(\004\"\275\001\n\013S"
|
||||
"yncRequest\022\021\n\tregion_id\030\001 \001(\004\022B\n\022mito_ma"
|
||||
"nifest_info\030\002 \001(\0132$.greptime.v1.region.M"
|
||||
"itoManifestInfoH\000\022F\n\024metric_manifest_inf"
|
||||
"o\030\003 \001(\0132&.greptime.v1.region.MetricManif"
|
||||
"estInfoH\000B\017\n\rmanifest_info\")\n\023ListMetada"
|
||||
"taRequest\022\022\n\nregion_ids\030\001 \003(\004\"&\n\021BuildIn"
|
||||
"dexRequest\022\021\n\tregion_id\030\001 \001(\0042Y\n\006Region\022"
|
||||
"O\n\006Handle\022!.greptime.v1.region.RegionReq"
|
||||
"uest\032\".greptime.v1.region.RegionResponse"
|
||||
"B]\n\025io.greptime.v1.regionB\006ServerZ<githu"
|
||||
"b.com/GreptimeTeam/greptime-proto/go/gre"
|
||||
"ptime/v1/regionb\006proto3"
|
||||
"tH\000B\006\n\004body\"\341\001\n\016RegionResponse\022+\n\006header"
|
||||
"\030\001 \001(\0132\033.greptime.v1.ResponseHeader\022\025\n\ra"
|
||||
"ffected_rows\030\002 \001(\004\022F\n\nextensions\030\003 \003(\01322"
|
||||
".greptime.v1.region.RegionResponse.Exten"
|
||||
"sionsEntry\022\020\n\010metadata\030\004 \001(\014\0321\n\017Extensio"
|
||||
"nsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\""
|
||||
"E\n\016InsertRequests\0223\n\010requests\030\001 \003(\0132!.gr"
|
||||
"eptime.v1.region.InsertRequest\"E\n\016Delete"
|
||||
"Requests\0223\n\010requests\030\001 \003(\0132!.greptime.v1"
|
||||
".region.DeleteRequest\"C\n\rInsertRequest\022\021"
|
||||
"\n\tregion_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.grepti"
|
||||
"me.v1.Rows\"C\n\rDeleteRequest\022\021\n\tregion_id"
|
||||
"\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime.v1.Rows\""
|
||||
"h\n\014QueryRequest\0227\n\006header\030\001 \001(\0132\'.grepti"
|
||||
"me.v1.region.RegionRequestHeader\022\021\n\tregi"
|
||||
"on_id\030\002 \001(\004\022\014\n\004plan\030\003 \001(\014\"E\n\016CreateReque"
|
||||
"sts\0223\n\010requests\030\001 \003(\0132!.greptime.v1.regi"
|
||||
"on.CreateRequest\"\260\002\n\rCreateRequest\022\021\n\tre"
|
||||
"gion_id\030\001 \001(\004\022\016\n\006engine\030\002 \001(\t\0228\n\013column_"
|
||||
"defs\030\003 \003(\0132#.greptime.v1.region.RegionCo"
|
||||
"lumnDef\022\023\n\013primary_key\030\004 \003(\r\022\014\n\004path\030\005 \001"
|
||||
"(\t\022\?\n\007options\030\006 \003(\0132..greptime.v1.region"
|
||||
".CreateRequest.OptionsEntry\022.\n\tpartition"
|
||||
"\030\007 \001(\0132\033.greptime.v1.meta.Partition\032.\n\014O"
|
||||
"ptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:"
|
||||
"\0028\001\"A\n\014DropRequests\0221\n\010requests\030\001 \003(\0132\037."
|
||||
"greptime.v1.region.DropRequest\"3\n\013DropRe"
|
||||
"quest\022\021\n\tregion_id\030\001 \001(\004\022\021\n\tfast_path\030\002 "
|
||||
"\001(\010\"\255\001\n\013OpenRequest\022\021\n\tregion_id\030\001 \001(\004\022\016"
|
||||
"\n\006engine\030\002 \001(\t\022\014\n\004path\030\003 \001(\t\022=\n\007options\030"
|
||||
"\004 \003(\0132,.greptime.v1.region.OpenRequest.O"
|
||||
"ptionsEntry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t"
|
||||
"\022\r\n\005value\030\002 \001(\t:\0028\001\"!\n\014CloseRequest\022\021\n\tr"
|
||||
"egion_id\030\001 \001(\004\"C\n\rAlterRequests\0222\n\010reque"
|
||||
"sts\030\001 \003(\0132 .greptime.v1.region.AlterRequ"
|
||||
"est\"\311\005\n\014AlterRequest\022\021\n\tregion_id\030\001 \001(\004\022"
|
||||
"5\n\013add_columns\030\002 \001(\0132\036.greptime.v1.regio"
|
||||
"n.AddColumnsH\000\0227\n\014drop_columns\030\003 \001(\0132\037.g"
|
||||
"reptime.v1.region.DropColumnsH\000\022=\n\023modif"
|
||||
"y_column_types\030\005 \001(\0132\036.greptime.v1.Modif"
|
||||
"yColumnTypesH\000\0229\n\021set_table_options\030\006 \001("
|
||||
"\0132\034.greptime.v1.SetTableOptionsH\000\022=\n\023uns"
|
||||
"et_table_options\030\t \001(\0132\036.greptime.v1.Uns"
|
||||
"etTableOptionsH\000\022*\n\tset_index\030\n \001(\0132\025.gr"
|
||||
"eptime.v1.SetIndexH\000\022.\n\013unset_index\030\013 \001("
|
||||
"\0132\027.greptime.v1.UnsetIndexH\000\0222\n\rdrop_def"
|
||||
"aults\030\014 \001(\0132\031.greptime.v1.DropDefaultsH\000"
|
||||
"\022.\n\013set_indexes\030\r \001(\0132\027.greptime.v1.SetI"
|
||||
"ndexesH\000\0222\n\runset_indexes\030\016 \001(\0132\031.grepti"
|
||||
"me.v1.UnsetIndexesH\000\0220\n\014set_defaults\030\017 \001"
|
||||
"(\0132\030.greptime.v1.SetDefaultsH\000\0227\n\014sync_c"
|
||||
"olumns\030\020 \001(\0132\037.greptime.v1.region.SyncCo"
|
||||
"lumnsH\000\022\026\n\016schema_version\030\004 \001(\004B\006\n\004kind\""
|
||||
"G\n\013SyncColumns\0228\n\013column_defs\030\001 \003(\0132#.gr"
|
||||
"eptime.v1.region.RegionColumnDef\"@\n\nAddC"
|
||||
"olumns\0222\n\013add_columns\030\001 \003(\0132\035.greptime.v"
|
||||
"1.region.AddColumn\"C\n\013DropColumns\0224\n\014dro"
|
||||
"p_columns\030\001 \003(\0132\036.greptime.v1.region.Dro"
|
||||
"pColumn\"v\n\tAddColumn\0227\n\ncolumn_def\030\001 \001(\013"
|
||||
"2#.greptime.v1.region.RegionColumnDef\0220\n"
|
||||
"\010location\030\003 \001(\0132\036.greptime.v1.AddColumnL"
|
||||
"ocation\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"!\n\014F"
|
||||
"lushRequest\022\021\n\tregion_id\030\001 \001(\004\"\t\n\007Regula"
|
||||
"r\"&\n\014StrictWindow\022\026\n\016window_seconds\030\001 \001("
|
||||
"\003\"\231\001\n\016CompactRequest\022\021\n\tregion_id\030\001 \001(\004\022"
|
||||
".\n\007regular\030\002 \001(\0132\033.greptime.v1.region.Re"
|
||||
"gularH\000\0229\n\rstrict_window\030\003 \001(\0132 .greptim"
|
||||
"e.v1.region.StrictWindowH\000B\t\n\007options\"\204\001"
|
||||
"\n\017TruncateRequest\022\021\n\tregion_id\030\001 \001(\004\022&\n\003"
|
||||
"all\030\002 \001(\0132\027.greptime.v1.region.AllH\000\022.\n\013"
|
||||
"time_ranges\030\003 \001(\0132\027.greptime.v1.TimeRang"
|
||||
"esH\000B\006\n\004kind\"\005\n\003All\"P\n\017RegionColumnDef\022*"
|
||||
"\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.ColumnD"
|
||||
"ef\022\021\n\tcolumn_id\030\002 \001(\r\"Z\n\021BulkInsertReque"
|
||||
"st\022\021\n\tregion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 \001(\013"
|
||||
"2\025.greptime.v1.ArrowIpcH\000B\006\n\004body\"1\n\020Mit"
|
||||
"oManifestInfo\022\035\n\025data_manifest_version\030\001"
|
||||
" \001(\004\"V\n\022MetricManifestInfo\022\035\n\025data_manif"
|
||||
"est_version\030\001 \001(\004\022!\n\031metadata_manifest_v"
|
||||
"ersion\030\002 \001(\004\"\275\001\n\013SyncRequest\022\021\n\tregion_i"
|
||||
"d\030\001 \001(\004\022B\n\022mito_manifest_info\030\002 \001(\0132$.gr"
|
||||
"eptime.v1.region.MitoManifestInfoH\000\022F\n\024m"
|
||||
"etric_manifest_info\030\003 \001(\0132&.greptime.v1."
|
||||
"region.MetricManifestInfoH\000B\017\n\rmanifest_"
|
||||
"info\")\n\023ListMetadataRequest\022\022\n\nregion_id"
|
||||
"s\030\001 \003(\0042Y\n\006Region\022O\n\006Handle\022!.greptime.v"
|
||||
"1.region.RegionRequest\032\".greptime.v1.reg"
|
||||
"ion.RegionResponseB]\n\025io.greptime.v1.reg"
|
||||
"ionB\006ServerZ<github.com/GreptimeTeam/gre"
|
||||
"ptime-proto/go/greptime/v1/regionb\006proto"
|
||||
"3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps[4] = {
|
||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||
@@ -1110,9 +1085,9 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2freg
|
||||
};
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto = {
|
||||
false, false, 5023, descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto,
|
||||
false, false, 4921, descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto,
|
||||
"greptime/v1/region/server.proto",
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps, 4, 38,
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps, 4, 37,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto, file_level_enum_descriptors_greptime_2fv1_2fregion_2fserver_2eproto,
|
||||
file_level_service_descriptors_greptime_2fv1_2fregion_2fserver_2eproto,
|
||||
@@ -1481,7 +1456,6 @@ class RegionRequest::_Internal {
|
||||
static const ::greptime::v1::region::BulkInsertRequest& bulk_insert(const RegionRequest* msg);
|
||||
static const ::greptime::v1::region::SyncRequest& sync(const RegionRequest* msg);
|
||||
static const ::greptime::v1::region::ListMetadataRequest& list_metadata(const RegionRequest* msg);
|
||||
static const ::greptime::v1::region::BuildIndexRequest& build_index(const RegionRequest* msg);
|
||||
};
|
||||
|
||||
const ::greptime::v1::region::RegionRequestHeader&
|
||||
@@ -1552,10 +1526,6 @@ const ::greptime::v1::region::ListMetadataRequest&
|
||||
RegionRequest::_Internal::list_metadata(const RegionRequest* msg) {
|
||||
return *msg->_impl_.body_.list_metadata_;
|
||||
}
|
||||
const ::greptime::v1::region::BuildIndexRequest&
|
||||
RegionRequest::_Internal::build_index(const RegionRequest* msg) {
|
||||
return *msg->_impl_.body_.build_index_;
|
||||
}
|
||||
void RegionRequest::set_allocated_inserts(::greptime::v1::region::InsertRequests* inserts) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_body();
|
||||
@@ -1796,21 +1766,6 @@ void RegionRequest::set_allocated_list_metadata(::greptime::v1::region::ListMeta
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.RegionRequest.list_metadata)
|
||||
}
|
||||
void RegionRequest::set_allocated_build_index(::greptime::v1::region::BuildIndexRequest* build_index) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_body();
|
||||
if (build_index) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(build_index);
|
||||
if (message_arena != submessage_arena) {
|
||||
build_index = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, build_index, submessage_arena);
|
||||
}
|
||||
set_has_build_index();
|
||||
_impl_.body_.build_index_ = build_index;
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.RegionRequest.build_index)
|
||||
}
|
||||
RegionRequest::RegionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
@@ -1912,11 +1867,6 @@ RegionRequest::RegionRequest(const RegionRequest& from)
|
||||
from._internal_list_metadata());
|
||||
break;
|
||||
}
|
||||
case kBuildIndex: {
|
||||
_this->_internal_mutable_build_index()->::greptime::v1::region::BuildIndexRequest::MergeFrom(
|
||||
from._internal_build_index());
|
||||
break;
|
||||
}
|
||||
case BODY_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -2057,12 +2007,6 @@ void RegionRequest::clear_body() {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case kBuildIndex: {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.body_.build_index_;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case BODY_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -2227,14 +2171,6 @@ const char* RegionRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext*
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.region.BuildIndexRequest build_index = 19;
|
||||
case 19:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 154)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_build_index(), ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
@@ -2383,13 +2319,6 @@ uint8_t* RegionRequest::_InternalSerialize(
|
||||
_Internal::list_metadata(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// .greptime.v1.region.BuildIndexRequest build_index = 19;
|
||||
if (_internal_has_build_index()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(19, _Internal::build_index(this),
|
||||
_Internal::build_index(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);
|
||||
@@ -2526,13 +2455,6 @@ size_t RegionRequest::ByteSizeLong() const {
|
||||
*_impl_.body_.list_metadata_);
|
||||
break;
|
||||
}
|
||||
// .greptime.v1.region.BuildIndexRequest build_index = 19;
|
||||
case kBuildIndex: {
|
||||
total_size += 2 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.body_.build_index_);
|
||||
break;
|
||||
}
|
||||
case BODY_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -2640,11 +2562,6 @@ void RegionRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::
|
||||
from._internal_list_metadata());
|
||||
break;
|
||||
}
|
||||
case kBuildIndex: {
|
||||
_this->_internal_mutable_build_index()->::greptime::v1::region::BuildIndexRequest::MergeFrom(
|
||||
from._internal_build_index());
|
||||
break;
|
||||
}
|
||||
case BODY_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -10494,184 +10411,6 @@ void ListMetadataRequest::InternalSwap(ListMetadataRequest* other) {
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[36]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class BuildIndexRequest::_Internal {
|
||||
public:
|
||||
};
|
||||
|
||||
BuildIndexRequest::BuildIndexRequest(::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.region.BuildIndexRequest)
|
||||
}
|
||||
BuildIndexRequest::BuildIndexRequest(const BuildIndexRequest& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||
BuildIndexRequest* const _this = this; (void)_this;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.region_id_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
_this->_impl_.region_id_ = from._impl_.region_id_;
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.region.BuildIndexRequest)
|
||||
}
|
||||
|
||||
inline void BuildIndexRequest::SharedCtor(
|
||||
::_pb::Arena* arena, bool is_message_owned) {
|
||||
(void)arena;
|
||||
(void)is_message_owned;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.region_id_){uint64_t{0u}}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
}
|
||||
|
||||
BuildIndexRequest::~BuildIndexRequest() {
|
||||
// @@protoc_insertion_point(destructor:greptime.v1.region.BuildIndexRequest)
|
||||
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||
(void)arena;
|
||||
return;
|
||||
}
|
||||
SharedDtor();
|
||||
}
|
||||
|
||||
inline void BuildIndexRequest::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
}
|
||||
|
||||
void BuildIndexRequest::SetCachedSize(int size) const {
|
||||
_impl_._cached_size_.Set(size);
|
||||
}
|
||||
|
||||
void BuildIndexRequest::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:greptime.v1.region.BuildIndexRequest)
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
_impl_.region_id_ = uint64_t{0u};
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
const char* BuildIndexRequest::_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) {
|
||||
// uint64 region_id = 1;
|
||||
case 1:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
|
||||
_impl_.region_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||||
CHK_(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* BuildIndexRequest::_InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.region.BuildIndexRequest)
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// uint64 region_id = 1;
|
||||
if (this->_internal_region_id() != 0) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_region_id(), target);
|
||||
}
|
||||
|
||||
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.region.BuildIndexRequest)
|
||||
return target;
|
||||
}
|
||||
|
||||
size_t BuildIndexRequest::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.region.BuildIndexRequest)
|
||||
size_t total_size = 0;
|
||||
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
// uint64 region_id = 1;
|
||||
if (this->_internal_region_id() != 0) {
|
||||
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_region_id());
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BuildIndexRequest::_class_data_ = {
|
||||
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||
BuildIndexRequest::MergeImpl
|
||||
};
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BuildIndexRequest::GetClassData() const { return &_class_data_; }
|
||||
|
||||
|
||||
void BuildIndexRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||
auto* const _this = static_cast<BuildIndexRequest*>(&to_msg);
|
||||
auto& from = static_cast<const BuildIndexRequest&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.region.BuildIndexRequest)
|
||||
GOOGLE_DCHECK_NE(&from, _this);
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
if (from._internal_region_id() != 0) {
|
||||
_this->_internal_set_region_id(from._internal_region_id());
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
void BuildIndexRequest::CopyFrom(const BuildIndexRequest& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.region.BuildIndexRequest)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
bool BuildIndexRequest::IsInitialized() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void BuildIndexRequest::InternalSwap(BuildIndexRequest* other) {
|
||||
using std::swap;
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
swap(_impl_.region_id_, other->_impl_.region_id_);
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata BuildIndexRequest::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[37]);
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
} // namespace region
|
||||
} // namespace v1
|
||||
@@ -10825,10 +10564,6 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::region::ListMetadataRequest*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::region::ListMetadataRequest >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::region::ListMetadataRequest >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::region::BuildIndexRequest*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::region::BuildIndexRequest >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::region::BuildIndexRequest >(arena);
|
||||
}
|
||||
PROTOBUF_NAMESPACE_CLOSE
|
||||
|
||||
// @@protoc_insertion_point(global_scope)
|
||||
|
||||
@@ -70,9 +70,6 @@ extern AlterRequestDefaultTypeInternal _AlterRequest_default_instance_;
|
||||
class AlterRequests;
|
||||
struct AlterRequestsDefaultTypeInternal;
|
||||
extern AlterRequestsDefaultTypeInternal _AlterRequests_default_instance_;
|
||||
class BuildIndexRequest;
|
||||
struct BuildIndexRequestDefaultTypeInternal;
|
||||
extern BuildIndexRequestDefaultTypeInternal _BuildIndexRequest_default_instance_;
|
||||
class BulkInsertRequest;
|
||||
struct BulkInsertRequestDefaultTypeInternal;
|
||||
extern BulkInsertRequestDefaultTypeInternal _BulkInsertRequest_default_instance_;
|
||||
@@ -178,7 +175,6 @@ template<> ::greptime::v1::region::AddColumns* Arena::CreateMaybeMessage<::grept
|
||||
template<> ::greptime::v1::region::All* Arena::CreateMaybeMessage<::greptime::v1::region::All>(Arena*);
|
||||
template<> ::greptime::v1::region::AlterRequest* Arena::CreateMaybeMessage<::greptime::v1::region::AlterRequest>(Arena*);
|
||||
template<> ::greptime::v1::region::AlterRequests* Arena::CreateMaybeMessage<::greptime::v1::region::AlterRequests>(Arena*);
|
||||
template<> ::greptime::v1::region::BuildIndexRequest* Arena::CreateMaybeMessage<::greptime::v1::region::BuildIndexRequest>(Arena*);
|
||||
template<> ::greptime::v1::region::BulkInsertRequest* Arena::CreateMaybeMessage<::greptime::v1::region::BulkInsertRequest>(Arena*);
|
||||
template<> ::greptime::v1::region::CloseRequest* Arena::CreateMaybeMessage<::greptime::v1::region::CloseRequest>(Arena*);
|
||||
template<> ::greptime::v1::region::CompactRequest* Arena::CreateMaybeMessage<::greptime::v1::region::CompactRequest>(Arena*);
|
||||
@@ -505,7 +501,6 @@ class RegionRequest final :
|
||||
kBulkInsert = 16,
|
||||
kSync = 17,
|
||||
kListMetadata = 18,
|
||||
kBuildIndex = 19,
|
||||
BODY_NOT_SET = 0,
|
||||
};
|
||||
|
||||
@@ -604,7 +599,6 @@ class RegionRequest final :
|
||||
kBulkInsertFieldNumber = 16,
|
||||
kSyncFieldNumber = 17,
|
||||
kListMetadataFieldNumber = 18,
|
||||
kBuildIndexFieldNumber = 19,
|
||||
};
|
||||
// .greptime.v1.region.RegionRequestHeader header = 1;
|
||||
bool has_header() const;
|
||||
@@ -912,24 +906,6 @@ class RegionRequest final :
|
||||
::greptime::v1::region::ListMetadataRequest* list_metadata);
|
||||
::greptime::v1::region::ListMetadataRequest* unsafe_arena_release_list_metadata();
|
||||
|
||||
// .greptime.v1.region.BuildIndexRequest build_index = 19;
|
||||
bool has_build_index() const;
|
||||
private:
|
||||
bool _internal_has_build_index() const;
|
||||
public:
|
||||
void clear_build_index();
|
||||
const ::greptime::v1::region::BuildIndexRequest& build_index() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::region::BuildIndexRequest* release_build_index();
|
||||
::greptime::v1::region::BuildIndexRequest* mutable_build_index();
|
||||
void set_allocated_build_index(::greptime::v1::region::BuildIndexRequest* build_index);
|
||||
private:
|
||||
const ::greptime::v1::region::BuildIndexRequest& _internal_build_index() const;
|
||||
::greptime::v1::region::BuildIndexRequest* _internal_mutable_build_index();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_build_index(
|
||||
::greptime::v1::region::BuildIndexRequest* build_index);
|
||||
::greptime::v1::region::BuildIndexRequest* unsafe_arena_release_build_index();
|
||||
|
||||
void clear_body();
|
||||
BodyCase body_case() const;
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.region.RegionRequest)
|
||||
@@ -951,7 +927,6 @@ class RegionRequest final :
|
||||
void set_has_bulk_insert();
|
||||
void set_has_sync();
|
||||
void set_has_list_metadata();
|
||||
void set_has_build_index();
|
||||
|
||||
inline bool has_body() const;
|
||||
inline void clear_has_body();
|
||||
@@ -980,7 +955,6 @@ class RegionRequest final :
|
||||
::greptime::v1::region::BulkInsertRequest* bulk_insert_;
|
||||
::greptime::v1::region::SyncRequest* sync_;
|
||||
::greptime::v1::region::ListMetadataRequest* list_metadata_;
|
||||
::greptime::v1::region::BuildIndexRequest* build_index_;
|
||||
} body_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
uint32_t _oneof_case_[1];
|
||||
@@ -6584,154 +6558,6 @@ class ListMetadataRequest final :
|
||||
union { Impl_ _impl_; };
|
||||
friend struct ::TableStruct_greptime_2fv1_2fregion_2fserver_2eproto;
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class BuildIndexRequest final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.region.BuildIndexRequest) */ {
|
||||
public:
|
||||
inline BuildIndexRequest() : BuildIndexRequest(nullptr) {}
|
||||
~BuildIndexRequest() override;
|
||||
explicit PROTOBUF_CONSTEXPR BuildIndexRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
BuildIndexRequest(const BuildIndexRequest& from);
|
||||
BuildIndexRequest(BuildIndexRequest&& from) noexcept
|
||||
: BuildIndexRequest() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline BuildIndexRequest& operator=(const BuildIndexRequest& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline BuildIndexRequest& operator=(BuildIndexRequest&& 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 BuildIndexRequest& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const BuildIndexRequest* internal_default_instance() {
|
||||
return reinterpret_cast<const BuildIndexRequest*>(
|
||||
&_BuildIndexRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
37;
|
||||
|
||||
friend void swap(BuildIndexRequest& a, BuildIndexRequest& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(BuildIndexRequest* 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(BuildIndexRequest* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
BuildIndexRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<BuildIndexRequest>(arena);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||
void CopyFrom(const BuildIndexRequest& from);
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||
void MergeFrom( const BuildIndexRequest& from) {
|
||||
BuildIndexRequest::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(BuildIndexRequest* other);
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "greptime.v1.region.BuildIndexRequest";
|
||||
}
|
||||
protected:
|
||||
explicit BuildIndexRequest(::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 {
|
||||
kRegionIdFieldNumber = 1,
|
||||
};
|
||||
// uint64 region_id = 1;
|
||||
void clear_region_id();
|
||||
uint64_t region_id() const;
|
||||
void set_region_id(uint64_t value);
|
||||
private:
|
||||
uint64_t _internal_region_id() const;
|
||||
void _internal_set_region_id(uint64_t value);
|
||||
public:
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.region.BuildIndexRequest)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
uint64_t region_id_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
friend struct ::TableStruct_greptime_2fv1_2fregion_2fserver_2eproto;
|
||||
};
|
||||
// ===================================================================
|
||||
|
||||
|
||||
@@ -8187,80 +8013,6 @@ inline ::greptime::v1::region::ListMetadataRequest* RegionRequest::mutable_list_
|
||||
return _msg;
|
||||
}
|
||||
|
||||
// .greptime.v1.region.BuildIndexRequest build_index = 19;
|
||||
inline bool RegionRequest::_internal_has_build_index() const {
|
||||
return body_case() == kBuildIndex;
|
||||
}
|
||||
inline bool RegionRequest::has_build_index() const {
|
||||
return _internal_has_build_index();
|
||||
}
|
||||
inline void RegionRequest::set_has_build_index() {
|
||||
_impl_._oneof_case_[0] = kBuildIndex;
|
||||
}
|
||||
inline void RegionRequest::clear_build_index() {
|
||||
if (_internal_has_build_index()) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.body_.build_index_;
|
||||
}
|
||||
clear_has_body();
|
||||
}
|
||||
}
|
||||
inline ::greptime::v1::region::BuildIndexRequest* RegionRequest::release_build_index() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.region.RegionRequest.build_index)
|
||||
if (_internal_has_build_index()) {
|
||||
clear_has_body();
|
||||
::greptime::v1::region::BuildIndexRequest* temp = _impl_.body_.build_index_;
|
||||
if (GetArenaForAllocation() != nullptr) {
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
}
|
||||
_impl_.body_.build_index_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline const ::greptime::v1::region::BuildIndexRequest& RegionRequest::_internal_build_index() const {
|
||||
return _internal_has_build_index()
|
||||
? *_impl_.body_.build_index_
|
||||
: reinterpret_cast< ::greptime::v1::region::BuildIndexRequest&>(::greptime::v1::region::_BuildIndexRequest_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::region::BuildIndexRequest& RegionRequest::build_index() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.region.RegionRequest.build_index)
|
||||
return _internal_build_index();
|
||||
}
|
||||
inline ::greptime::v1::region::BuildIndexRequest* RegionRequest::unsafe_arena_release_build_index() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.region.RegionRequest.build_index)
|
||||
if (_internal_has_build_index()) {
|
||||
clear_has_body();
|
||||
::greptime::v1::region::BuildIndexRequest* temp = _impl_.body_.build_index_;
|
||||
_impl_.body_.build_index_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline void RegionRequest::unsafe_arena_set_allocated_build_index(::greptime::v1::region::BuildIndexRequest* build_index) {
|
||||
clear_body();
|
||||
if (build_index) {
|
||||
set_has_build_index();
|
||||
_impl_.body_.build_index_ = build_index;
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.RegionRequest.build_index)
|
||||
}
|
||||
inline ::greptime::v1::region::BuildIndexRequest* RegionRequest::_internal_mutable_build_index() {
|
||||
if (!_internal_has_build_index()) {
|
||||
clear_body();
|
||||
set_has_build_index();
|
||||
_impl_.body_.build_index_ = CreateMaybeMessage< ::greptime::v1::region::BuildIndexRequest >(GetArenaForAllocation());
|
||||
}
|
||||
return _impl_.body_.build_index_;
|
||||
}
|
||||
inline ::greptime::v1::region::BuildIndexRequest* RegionRequest::mutable_build_index() {
|
||||
::greptime::v1::region::BuildIndexRequest* _msg = _internal_mutable_build_index();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.region.RegionRequest.build_index)
|
||||
return _msg;
|
||||
}
|
||||
|
||||
inline bool RegionRequest::has_body() const {
|
||||
return body_case() != BODY_NOT_SET;
|
||||
}
|
||||
@@ -11764,30 +11516,6 @@ ListMetadataRequest::mutable_region_ids() {
|
||||
return _internal_mutable_region_ids();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// BuildIndexRequest
|
||||
|
||||
// uint64 region_id = 1;
|
||||
inline void BuildIndexRequest::clear_region_id() {
|
||||
_impl_.region_id_ = uint64_t{0u};
|
||||
}
|
||||
inline uint64_t BuildIndexRequest::_internal_region_id() const {
|
||||
return _impl_.region_id_;
|
||||
}
|
||||
inline uint64_t BuildIndexRequest::region_id() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.region.BuildIndexRequest.region_id)
|
||||
return _internal_region_id();
|
||||
}
|
||||
inline void BuildIndexRequest::_internal_set_region_id(uint64_t value) {
|
||||
|
||||
_impl_.region_id_ = value;
|
||||
}
|
||||
inline void BuildIndexRequest::set_region_id(uint64_t value) {
|
||||
_internal_set_region_id(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.region.BuildIndexRequest.region_id)
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif // __GNUC__
|
||||
@@ -11863,8 +11591,6 @@ inline void BuildIndexRequest::set_region_id(uint64_t value) {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
|
||||
+70
-10
@@ -174,6 +174,7 @@ const uint32_t TableStruct_greptime_2fv1_2frow_2eproto::offsets[] PROTOBUF_SECTI
|
||||
::_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_),
|
||||
@@ -195,8 +196,8 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
||||
{ 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)},
|
||||
{ 63, -1, -1, sizeof(::greptime::v1::ListValue)},
|
||||
{ 70, -1, -1, sizeof(::greptime::v1::StructValue)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -219,7 +220,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\"\234\007\n\005V"
|
||||
"\n\006values\030\001 \003(\0132\022.greptime.v1.Value\"\306\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"
|
||||
@@ -242,19 +243,20 @@ const char descriptor_table_protodef_greptime_2fv1_2frow_2eproto[] PROTOBUF_SECT
|
||||
"\n\020decimal128_value\030\037 \001(\0132\027.greptime.v1.D"
|
||||
"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"
|
||||
"\030.greptime.v1.StructValueH\000\022(\n\njson_valu"
|
||||
"e\030* \001(\0132\022.greptime.v1.ValueH\000B\014\n\nvalue_d"
|
||||
"ata\".\n\tListValue\022!\n\005items\030\001 \003(\0132\022.grepti"
|
||||
"me.v1.Value\"0\n\013StructValue\022!\n\005items\030\002 \003("
|
||||
"\0132\022.greptime.v1.ValueBP\n\016io.greptime.v1B"
|
||||
"\007RowDataZ5github.com/GreptimeTeam/grepti"
|
||||
"me-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, 1549, descriptor_table_protodef_greptime_2fv1_2frow_2eproto,
|
||||
false, false, 1591, 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, 6,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2frow_2eproto::offsets,
|
||||
@@ -1045,6 +1047,7 @@ class Value::_Internal {
|
||||
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);
|
||||
static const ::greptime::v1::Value& json_value(const Value* msg);
|
||||
};
|
||||
|
||||
const ::greptime::v1::IntervalMonthDayNano&
|
||||
@@ -1063,6 +1066,10 @@ const ::greptime::v1::StructValue&
|
||||
Value::_Internal::struct_value(const Value* msg) {
|
||||
return *msg->_impl_.value_data_.struct_value_;
|
||||
}
|
||||
const ::greptime::v1::Value&
|
||||
Value::_Internal::json_value(const Value* msg) {
|
||||
return *msg->_impl_.value_data_.json_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();
|
||||
@@ -1141,6 +1148,21 @@ void Value::set_allocated_struct_value(::greptime::v1::StructValue* struct_value
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.Value.struct_value)
|
||||
}
|
||||
void Value::set_allocated_json_value(::greptime::v1::Value* json_value) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_value_data();
|
||||
if (json_value) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(json_value);
|
||||
if (message_arena != submessage_arena) {
|
||||
json_value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, json_value, submessage_arena);
|
||||
}
|
||||
set_has_json_value();
|
||||
_impl_.value_data_.json_value_ = json_value;
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.Value.json_value)
|
||||
}
|
||||
Value::Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
@@ -1278,6 +1300,11 @@ Value::Value(const Value& from)
|
||||
from._internal_struct_value());
|
||||
break;
|
||||
}
|
||||
case kJsonValue: {
|
||||
_this->_internal_mutable_json_value()->::greptime::v1::Value::MergeFrom(
|
||||
from._internal_json_value());
|
||||
break;
|
||||
}
|
||||
case VALUE_DATA_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -1444,6 +1471,12 @@ void Value::clear_value_data() {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case kJsonValue: {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.value_data_.json_value_;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case VALUE_DATA_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -1703,6 +1736,14 @@ const char* Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.Value json_value = 42;
|
||||
case 42:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_json_value(), ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
@@ -1914,6 +1955,13 @@ uint8_t* Value::_InternalSerialize(
|
||||
_Internal::struct_value(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// .greptime.v1.Value json_value = 42;
|
||||
if (_internal_has_json_value()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(42, _Internal::json_value(this),
|
||||
_Internal::json_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);
|
||||
@@ -2108,6 +2156,13 @@ size_t Value::ByteSizeLong() const {
|
||||
*_impl_.value_data_.struct_value_);
|
||||
break;
|
||||
}
|
||||
// .greptime.v1.Value json_value = 42;
|
||||
case kJsonValue: {
|
||||
total_size += 2 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.value_data_.json_value_);
|
||||
break;
|
||||
}
|
||||
case VALUE_DATA_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -2251,6 +2306,11 @@ void Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF
|
||||
from._internal_struct_value());
|
||||
break;
|
||||
}
|
||||
case kJsonValue: {
|
||||
_this->_internal_mutable_json_value()->::greptime::v1::Value::MergeFrom(
|
||||
from._internal_json_value());
|
||||
break;
|
||||
}
|
||||
case VALUE_DATA_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -702,6 +702,7 @@ class Value final :
|
||||
kDecimal128Value = 31,
|
||||
kListValue = 40,
|
||||
kStructValue = 41,
|
||||
kJsonValue = 42,
|
||||
VALUE_DATA_NOT_SET = 0,
|
||||
};
|
||||
|
||||
@@ -812,6 +813,7 @@ class Value final :
|
||||
kDecimal128ValueFieldNumber = 31,
|
||||
kListValueFieldNumber = 40,
|
||||
kStructValueFieldNumber = 41,
|
||||
kJsonValueFieldNumber = 42,
|
||||
};
|
||||
// int32 i8_value = 1;
|
||||
bool has_i8_value() const;
|
||||
@@ -1220,6 +1222,24 @@ class Value final :
|
||||
::greptime::v1::StructValue* struct_value);
|
||||
::greptime::v1::StructValue* unsafe_arena_release_struct_value();
|
||||
|
||||
// .greptime.v1.Value json_value = 42;
|
||||
bool has_json_value() const;
|
||||
private:
|
||||
bool _internal_has_json_value() const;
|
||||
public:
|
||||
void clear_json_value();
|
||||
const ::greptime::v1::Value& json_value() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::Value* release_json_value();
|
||||
::greptime::v1::Value* mutable_json_value();
|
||||
void set_allocated_json_value(::greptime::v1::Value* json_value);
|
||||
private:
|
||||
const ::greptime::v1::Value& _internal_json_value() const;
|
||||
::greptime::v1::Value* _internal_mutable_json_value();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_json_value(
|
||||
::greptime::v1::Value* json_value);
|
||||
::greptime::v1::Value* unsafe_arena_release_json_value();
|
||||
|
||||
void clear_value_data();
|
||||
ValueDataCase value_data_case() const;
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.Value)
|
||||
@@ -1254,6 +1274,7 @@ class Value final :
|
||||
void set_has_decimal128_value();
|
||||
void set_has_list_value();
|
||||
void set_has_struct_value();
|
||||
void set_has_json_value();
|
||||
|
||||
inline bool has_value_data() const;
|
||||
inline void clear_has_value_data();
|
||||
@@ -1294,6 +1315,7 @@ class Value final :
|
||||
::greptime::v1::Decimal128* decimal128_value_;
|
||||
::greptime::v1::ListValue* list_value_;
|
||||
::greptime::v1::StructValue* struct_value_;
|
||||
::greptime::v1::Value* json_value_;
|
||||
} value_data_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
uint32_t _oneof_case_[1];
|
||||
@@ -3327,6 +3349,80 @@ inline ::greptime::v1::StructValue* Value::mutable_struct_value() {
|
||||
return _msg;
|
||||
}
|
||||
|
||||
// .greptime.v1.Value json_value = 42;
|
||||
inline bool Value::_internal_has_json_value() const {
|
||||
return value_data_case() == kJsonValue;
|
||||
}
|
||||
inline bool Value::has_json_value() const {
|
||||
return _internal_has_json_value();
|
||||
}
|
||||
inline void Value::set_has_json_value() {
|
||||
_impl_._oneof_case_[0] = kJsonValue;
|
||||
}
|
||||
inline void Value::clear_json_value() {
|
||||
if (_internal_has_json_value()) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.value_data_.json_value_;
|
||||
}
|
||||
clear_has_value_data();
|
||||
}
|
||||
}
|
||||
inline ::greptime::v1::Value* Value::release_json_value() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.Value.json_value)
|
||||
if (_internal_has_json_value()) {
|
||||
clear_has_value_data();
|
||||
::greptime::v1::Value* temp = _impl_.value_data_.json_value_;
|
||||
if (GetArenaForAllocation() != nullptr) {
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
}
|
||||
_impl_.value_data_.json_value_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline const ::greptime::v1::Value& Value::_internal_json_value() const {
|
||||
return _internal_has_json_value()
|
||||
? *_impl_.value_data_.json_value_
|
||||
: reinterpret_cast< ::greptime::v1::Value&>(::greptime::v1::_Value_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::Value& Value::json_value() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.Value.json_value)
|
||||
return _internal_json_value();
|
||||
}
|
||||
inline ::greptime::v1::Value* Value::unsafe_arena_release_json_value() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.Value.json_value)
|
||||
if (_internal_has_json_value()) {
|
||||
clear_has_value_data();
|
||||
::greptime::v1::Value* temp = _impl_.value_data_.json_value_;
|
||||
_impl_.value_data_.json_value_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline void Value::unsafe_arena_set_allocated_json_value(::greptime::v1::Value* json_value) {
|
||||
clear_value_data();
|
||||
if (json_value) {
|
||||
set_has_json_value();
|
||||
_impl_.value_data_.json_value_ = json_value;
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.Value.json_value)
|
||||
}
|
||||
inline ::greptime::v1::Value* Value::_internal_mutable_json_value() {
|
||||
if (!_internal_has_json_value()) {
|
||||
clear_value_data();
|
||||
set_has_json_value();
|
||||
_impl_.value_data_.json_value_ = CreateMaybeMessage< ::greptime::v1::Value >(GetArenaForAllocation());
|
||||
}
|
||||
return _impl_.value_data_.json_value_;
|
||||
}
|
||||
inline ::greptime::v1::Value* Value::mutable_json_value() {
|
||||
::greptime::v1::Value* _msg = _internal_mutable_json_value();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.Value.json_value)
|
||||
return _msg;
|
||||
}
|
||||
|
||||
inline bool Value::has_value_data() const {
|
||||
return value_data_case() != VALUE_DATA_NOT_SET;
|
||||
}
|
||||
|
||||
+26
-13
@@ -179,6 +179,7 @@ type Column_Values struct {
|
||||
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"`
|
||||
JsonValues []*Column_Values `protobuf:"bytes,42,rep,name=json_values,json=jsonValues,proto3" json:"json_values,omitempty"`
|
||||
}
|
||||
|
||||
func (x *Column_Values) Reset() {
|
||||
@@ -416,6 +417,13 @@ func (x *Column_Values) GetStructValues() []*StructValue {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Column_Values) GetJsonValues() []*Column_Values {
|
||||
if x != nil {
|
||||
return x.JsonValues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_greptime_v1_column_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_greptime_v1_column_proto_rawDesc = []byte{
|
||||
@@ -424,7 +432,7 @@ var file_greptime_v1_column_proto_rawDesc = []byte{
|
||||
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, 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,
|
||||
0x6f, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x0e, 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,
|
||||
@@ -448,7 +456,7 @@ var file_greptime_v1_column_proto_rawDesc = []byte{
|
||||
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,
|
||||
0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x97, 0x0b, 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,
|
||||
@@ -534,12 +542,16 @@ var file_greptime_v1_column_proto_rawDesc = []byte{
|
||||
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,
|
||||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x2a, 0x20, 0x03, 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, 0x0a, 0x6a, 0x73, 0x6f, 0x6e, 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 (
|
||||
@@ -577,11 +589,12 @@ var file_greptime_v1_column_proto_depIdxs = []int32{
|
||||
7, // 6: greptime.v1.Column.Values.decimal128_values:type_name -> greptime.v1.Decimal128
|
||||
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
|
||||
1, // 9: greptime.v1.Column.Values.json_values:type_name -> greptime.v1.Column.Values
|
||||
10, // [10:10] is the sub-list for method output_type
|
||||
10, // [10:10] is the sub-list for method input_type
|
||||
10, // [10:10] is the sub-list for extension type_name
|
||||
10, // [10:10] is the sub-list for extension extendee
|
||||
0, // [0:10] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_greptime_v1_column_proto_init() }
|
||||
|
||||
+221
-116
@@ -270,6 +270,7 @@ func (TimeUnit) EnumDescriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
// Deprecated
|
||||
type JsonTypeExtension int32
|
||||
|
||||
const (
|
||||
@@ -1509,6 +1510,7 @@ type ColumnDataTypeExtension struct {
|
||||
// *ColumnDataTypeExtension_VectorType
|
||||
// *ColumnDataTypeExtension_ListType
|
||||
// *ColumnDataTypeExtension_StructType
|
||||
// *ColumnDataTypeExtension_JsonNativeType
|
||||
TypeExt isColumnDataTypeExtension_TypeExt `protobuf_oneof:"type_ext"`
|
||||
}
|
||||
|
||||
@@ -1586,6 +1588,13 @@ func (x *ColumnDataTypeExtension) GetStructType() *StructTypeExtension {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *ColumnDataTypeExtension) GetJsonNativeType() *JsonNativeTypeExtension {
|
||||
if x, ok := x.GetTypeExt().(*ColumnDataTypeExtension_JsonNativeType); ok {
|
||||
return x.JsonNativeType
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isColumnDataTypeExtension_TypeExt interface {
|
||||
isColumnDataTypeExtension_TypeExt()
|
||||
}
|
||||
@@ -1596,6 +1605,7 @@ type ColumnDataTypeExtension_DecimalType struct {
|
||||
|
||||
type ColumnDataTypeExtension_JsonType struct {
|
||||
// Marks the binary column in proto is actually a JSON column.
|
||||
// Deprecated
|
||||
JsonType JsonTypeExtension `protobuf:"varint,2,opt,name=json_type,json=jsonType,proto3,enum=greptime.v1.JsonTypeExtension,oneof"`
|
||||
}
|
||||
|
||||
@@ -1611,6 +1621,11 @@ type ColumnDataTypeExtension_StructType struct {
|
||||
StructType *StructTypeExtension `protobuf:"bytes,5,opt,name=struct_type,json=structType,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ColumnDataTypeExtension_JsonNativeType struct {
|
||||
// Marks the data type is a logical json data
|
||||
JsonNativeType *JsonNativeTypeExtension `protobuf:"bytes,6,opt,name=json_native_type,json=jsonNativeType,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ColumnDataTypeExtension_DecimalType) isColumnDataTypeExtension_TypeExt() {}
|
||||
|
||||
func (*ColumnDataTypeExtension_JsonType) isColumnDataTypeExtension_TypeExt() {}
|
||||
@@ -1621,6 +1636,8 @@ func (*ColumnDataTypeExtension_ListType) isColumnDataTypeExtension_TypeExt() {}
|
||||
|
||||
func (*ColumnDataTypeExtension_StructType) isColumnDataTypeExtension_TypeExt() {}
|
||||
|
||||
func (*ColumnDataTypeExtension_JsonNativeType) isColumnDataTypeExtension_TypeExt() {}
|
||||
|
||||
type DecimalTypeExtension struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -1825,6 +1842,61 @@ func (x *StructTypeExtension) GetFields() []*StructField {
|
||||
return nil
|
||||
}
|
||||
|
||||
type JsonNativeTypeExtension 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 *JsonNativeTypeExtension) Reset() {
|
||||
*x = JsonNativeTypeExtension{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[25]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *JsonNativeTypeExtension) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*JsonNativeTypeExtension) ProtoMessage() {}
|
||||
|
||||
func (x *JsonNativeTypeExtension) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[25]
|
||||
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 JsonNativeTypeExtension.ProtoReflect.Descriptor instead.
|
||||
func (*JsonNativeTypeExtension) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{25}
|
||||
}
|
||||
|
||||
func (x *JsonNativeTypeExtension) GetDatatype() ColumnDataType {
|
||||
if x != nil {
|
||||
return x.Datatype
|
||||
}
|
||||
return ColumnDataType_BOOLEAN
|
||||
}
|
||||
|
||||
func (x *JsonNativeTypeExtension) GetDatatypeExtension() *ColumnDataTypeExtension {
|
||||
if x != nil {
|
||||
return x.DatatypeExtension
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Additional options for the column.
|
||||
type ColumnOptions struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -1857,7 +1929,7 @@ type ColumnOptions struct {
|
||||
func (x *ColumnOptions) Reset() {
|
||||
*x = ColumnOptions{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[25]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[26]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1870,7 +1942,7 @@ func (x *ColumnOptions) String() string {
|
||||
func (*ColumnOptions) ProtoMessage() {}
|
||||
|
||||
func (x *ColumnOptions) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[25]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[26]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1883,7 +1955,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{25}
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{26}
|
||||
}
|
||||
|
||||
func (x *ColumnOptions) GetOptions() map[string]string {
|
||||
@@ -1906,7 +1978,7 @@ type ArrowIpc struct {
|
||||
func (x *ArrowIpc) Reset() {
|
||||
*x = ArrowIpc{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[26]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[27]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1919,7 +1991,7 @@ func (x *ArrowIpc) String() string {
|
||||
func (*ArrowIpc) ProtoMessage() {}
|
||||
|
||||
func (x *ArrowIpc) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[26]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[27]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1932,7 +2004,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{26}
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{27}
|
||||
}
|
||||
|
||||
func (x *ArrowIpc) GetSchema() []byte {
|
||||
@@ -2110,7 +2182,7 @@ var file_greptime_v1_common_proto_rawDesc = []byte{
|
||||
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,
|
||||
0x6e, 0x22, 0xc7, 0x03, 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,
|
||||
@@ -2132,93 +2204,109 @@ var file_greptime_v1_common_proto_rawDesc = []byte{
|
||||
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,
|
||||
0x00, 0x52, 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x50, 0x0a,
|
||||
0x10, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x4e, 0x61, 0x74, 0x69, 0x76, 0x65,
|
||||
0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52,
|
||||
0x0e, 0x6a, 0x73, 0x6f, 0x6e, 0x4e, 0x61, 0x74, 0x69, 0x76, 0x65, 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, 0xa7, 0x01,
|
||||
0x0a, 0x17, 0x4a, 0x73, 0x6f, 0x6e, 0x4e, 0x61, 0x74, 0x69, 0x76, 0x65, 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, 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,
|
||||
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, 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 (
|
||||
@@ -2234,7 +2322,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, 32)
|
||||
var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 33)
|
||||
var file_greptime_v1_common_proto_goTypes = []interface{}{
|
||||
(SemanticType)(0), // 0: greptime.v1.SemanticType
|
||||
(ColumnDataType)(0), // 1: greptime.v1.ColumnDataType
|
||||
@@ -2265,22 +2353,23 @@ var file_greptime_v1_common_proto_goTypes = []interface{}{
|
||||
(*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
|
||||
(*JsonNativeTypeExtension)(nil), // 29: greptime.v1.JsonNativeTypeExtension
|
||||
(*ColumnOptions)(nil), // 30: greptime.v1.ColumnOptions
|
||||
(*ArrowIpc)(nil), // 31: greptime.v1.ArrowIpc
|
||||
nil, // 32: greptime.v1.QueryContext.ExtensionsEntry
|
||||
nil, // 33: greptime.v1.SnapshotSequences.SstMinSequencesEntry
|
||||
nil, // 34: greptime.v1.SnapshotSequences.SnapshotSeqsEntry
|
||||
nil, // 35: greptime.v1.RequestHeader.TracingContextEntry
|
||||
nil, // 36: greptime.v1.ColumnOptions.OptionsEntry
|
||||
}
|
||||
var file_greptime_v1_common_proto_depIdxs = []int32{
|
||||
31, // 0: greptime.v1.QueryContext.extensions:type_name -> greptime.v1.QueryContext.ExtensionsEntry
|
||||
32, // 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
|
||||
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
|
||||
33, // 3: greptime.v1.SnapshotSequences.sst_min_sequences:type_name -> greptime.v1.SnapshotSequences.SstMinSequencesEntry
|
||||
34, // 4: greptime.v1.SnapshotSequences.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences.SnapshotSeqsEntry
|
||||
10, // 5: greptime.v1.RequestHeader.authorization:type_name -> greptime.v1.AuthHeader
|
||||
34, // 6: greptime.v1.RequestHeader.tracing_context:type_name -> greptime.v1.RequestHeader.TracingContextEntry
|
||||
35, // 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
|
||||
@@ -2295,15 +2384,18 @@ var file_greptime_v1_common_proto_depIdxs = []int32{
|
||||
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
|
||||
29, // 21: greptime.v1.ColumnDataTypeExtension.json_native_type:type_name -> greptime.v1.JsonNativeTypeExtension
|
||||
1, // 22: greptime.v1.ListTypeExtension.datatype:type_name -> greptime.v1.ColumnDataType
|
||||
24, // 23: greptime.v1.ListTypeExtension.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
23, // 24: greptime.v1.StructTypeExtension.fields:type_name -> greptime.v1.StructField
|
||||
1, // 25: greptime.v1.JsonNativeTypeExtension.datatype:type_name -> greptime.v1.ColumnDataType
|
||||
24, // 26: greptime.v1.JsonNativeTypeExtension.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
36, // 27: greptime.v1.ColumnOptions.options:type_name -> greptime.v1.ColumnOptions.OptionsEntry
|
||||
28, // [28:28] is the sub-list for method output_type
|
||||
28, // [28:28] is the sub-list for method input_type
|
||||
28, // [28:28] is the sub-list for extension type_name
|
||||
28, // [28:28] is the sub-list for extension extendee
|
||||
0, // [0:28] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_greptime_v1_common_proto_init() }
|
||||
@@ -2613,7 +2705,7 @@ func file_greptime_v1_common_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ColumnOptions); i {
|
||||
switch v := v.(*JsonNativeTypeExtension); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -2625,6 +2717,18 @@ func file_greptime_v1_common_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[26].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[27].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ArrowIpc); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -2647,6 +2751,7 @@ func file_greptime_v1_common_proto_init() {
|
||||
(*ColumnDataTypeExtension_VectorType)(nil),
|
||||
(*ColumnDataTypeExtension_ListType)(nil),
|
||||
(*ColumnDataTypeExtension_StructType)(nil),
|
||||
(*ColumnDataTypeExtension_JsonNativeType)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
@@ -2654,7 +2759,7 @@ func file_greptime_v1_common_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_greptime_v1_common_proto_rawDesc,
|
||||
NumEnums: 4,
|
||||
NumMessages: 32,
|
||||
NumMessages: 33,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
||||
+343
-427
@@ -129,7 +129,6 @@ type RegionRequest struct {
|
||||
// *RegionRequest_BulkInsert
|
||||
// *RegionRequest_Sync
|
||||
// *RegionRequest_ListMetadata
|
||||
// *RegionRequest_BuildIndex
|
||||
Body isRegionRequest_Body `protobuf_oneof:"body"`
|
||||
}
|
||||
|
||||
@@ -291,13 +290,6 @@ func (x *RegionRequest) GetListMetadata() *ListMetadataRequest {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *RegionRequest) GetBuildIndex() *BuildIndexRequest {
|
||||
if x, ok := x.GetBody().(*RegionRequest_BuildIndex); ok {
|
||||
return x.BuildIndex
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isRegionRequest_Body interface {
|
||||
isRegionRequest_Body()
|
||||
}
|
||||
@@ -366,10 +358,6 @@ type RegionRequest_ListMetadata struct {
|
||||
ListMetadata *ListMetadataRequest `protobuf:"bytes,18,opt,name=list_metadata,json=listMetadata,proto3,oneof"`
|
||||
}
|
||||
|
||||
type RegionRequest_BuildIndex struct {
|
||||
BuildIndex *BuildIndexRequest `protobuf:"bytes,19,opt,name=build_index,json=buildIndex,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*RegionRequest_Inserts) isRegionRequest_Body() {}
|
||||
|
||||
func (*RegionRequest_Deletes) isRegionRequest_Body() {}
|
||||
@@ -402,8 +390,6 @@ func (*RegionRequest_Sync) isRegionRequest_Body() {}
|
||||
|
||||
func (*RegionRequest_ListMetadata) isRegionRequest_Body() {}
|
||||
|
||||
func (*RegionRequest_BuildIndex) isRegionRequest_Body() {}
|
||||
|
||||
type RegionResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -2383,53 +2369,6 @@ func (x *ListMetadataRequest) GetRegionIds() []uint64 {
|
||||
return nil
|
||||
}
|
||||
|
||||
type BuildIndexRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
|
||||
}
|
||||
|
||||
func (x *BuildIndexRequest) Reset() {
|
||||
*x = BuildIndexRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[33]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *BuildIndexRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BuildIndexRequest) ProtoMessage() {}
|
||||
|
||||
func (x *BuildIndexRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[33]
|
||||
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 BuildIndexRequest.ProtoReflect.Descriptor instead.
|
||||
func (*BuildIndexRequest) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{33}
|
||||
}
|
||||
|
||||
func (x *BuildIndexRequest) GetRegionId() uint64 {
|
||||
if x != nil {
|
||||
return x.RegionId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_greptime_v1_region_server_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_greptime_v1_region_server_proto_rawDesc = []byte{
|
||||
@@ -2460,7 +2399,7 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{
|
||||
0x65, 0x78, 0x74, 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, 0x86, 0x09, 0x0a, 0x0d, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52,
|
||||
0x3a, 0x02, 0x38, 0x01, 0x22, 0xbc, 0x08, 0x0a, 0x0d, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69,
|
||||
@@ -2527,292 +2466,284 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{
|
||||
0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61,
|
||||
0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x6c,
|
||||
0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x48, 0x0a, 0x0b, 0x62,
|
||||
0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x25, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72,
|
||||
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64,
|
||||
0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x99, 0x02,
|
||||
0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x33, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65,
|
||||
0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x61, 0x66,
|
||||
0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x52, 0x0a, 0x0a, 0x65, 0x78,
|
||||
0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67,
|
||||
0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74,
|
||||
0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a,
|
||||
0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c,
|
||||
0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3d, 0x0a, 0x0f, 0x45, 0x78,
|
||||
0x74, 0x65, 0x6e, 0x73, 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, 0x0c, 0x52, 0x05,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4f, 0x0a, 0x0e, 0x49, 0x6e, 0x73,
|
||||
0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x72,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x4f, 0x0a, 0x0e, 0x44, 0x65,
|
||||
0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08,
|
||||
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67,
|
||||
0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x53, 0x0a, 0x0d, 0x49,
|
||||
0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09,
|
||||
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
|
||||
0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77,
|
||||
0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73,
|
||||
0x22, 0x53, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25,
|
||||
0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52,
|
||||
0x04, 0x72, 0x6f, 0x77, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52,
|
||||
0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||
0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x4f, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||
0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
|
||||
0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x80, 0x03, 0x0a, 0x0d, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72,
|
||||
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08,
|
||||
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69,
|
||||
0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,
|
||||
0x12, 0x44, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18,
|
||||
0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f,
|
||||
0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72,
|
||||
0x79, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x72, 0x69,
|
||||
0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18,
|
||||
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x48, 0x0a, 0x07, 0x6f,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||
0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,
|
||||
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x72, 0x74,
|
||||
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
||||
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, 0x4b, 0x0a, 0x0c,
|
||||
0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x08,
|
||||
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67,
|
||||
0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
|
||||
0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x47, 0x0a, 0x0b, 0x44, 0x72, 0x6f,
|
||||
0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67,
|
||||
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x61,
|
||||
0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x61, 0x73, 0x74, 0x50, 0x61,
|
||||
0x74, 0x68, 0x22, 0xda, 0x01, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x46, 0x0a, 0x07, 0x6f,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||
0x6e, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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,
|
||||
0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04, 0x62,
|
||||
0x6f, 0x64, 0x79, 0x22, 0x99, 0x02, 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x61,
|
||||
0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x04, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73,
|
||||
0x12, 0x52, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
|
||||
0x1a, 0x3d, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 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,
|
||||
0x2b, 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x0d,
|
||||
0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3c, 0x0a,
|
||||
0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65,
|
||||
0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x8a, 0x07, 0x0a, 0x0c,
|
||||
0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09,
|
||||
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52,
|
||||
0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x41, 0x0a, 0x0b, 0x61, 0x64, 0x64,
|
||||
0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67,
|
||||
0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00,
|
||||
0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0c,
|
||||
0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
|
||||
0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6c,
|
||||
0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f,
|
||||
0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x48,
|
||||
0x00, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54,
|
||||
0x79, 0x70, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,
|
||||
0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52,
|
||||
0x0f, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
||||
0x12, 0x50, 0x0a, 0x13, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f,
|
||||
0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65,
|
||||
0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52,
|
||||
0x11, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x73, 0x12, 0x34, 0x0a, 0x09, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18,
|
||||
0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x08,
|
||||
0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3a, 0x0a, 0x0b, 0x75, 0x6e, 0x73, 0x65,
|
||||
0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65,
|
||||
0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x0a, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49,
|
||||
0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x65, 0x66,
|
||||
0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65,
|
||||
0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65,
|
||||
0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e,
|
||||
0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64,
|
||||
0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78,
|
||||
0x65, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65,
|
||||
0x78, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64,
|
||||
0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64,
|
||||
0x65, 0x78, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x61,
|
||||
0x75, 0x6c, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65,
|
||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61,
|
||||
0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75,
|
||||
0x6c, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x53,
|
||||
0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x79,
|
||||
0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68,
|
||||
0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||
0x04, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
||||
0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x53, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63,
|
||||
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
|
||||
0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67,
|
||||
0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
|
||||
0x4f, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x73, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73,
|
||||
0x22, 0x4f, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x73, 0x22, 0x53, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12,
|
||||
0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73,
|
||||
0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22, 0x53, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||
0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x0c,
|
||||
0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06,
|
||||
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||
0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65,
|
||||
0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, 0x22, 0x4c, 0x0a,
|
||||
0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x61,
|
||||
0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72,
|
||||
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52,
|
||||
0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x50, 0x0a, 0x0b, 0x44,
|
||||
0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x0c, 0x64, 0x72,
|
||||
0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72,
|
||||
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x8b, 0x01,
|
||||
0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x42, 0x0a, 0x0a, 0x63,
|
||||
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65,
|
||||
0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
|
||||
0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12,
|
||||
0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x0a, 0x44,
|
||||
0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2b, 0x0a,
|
||||
0x0c, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a,
|
||||
0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
|
||||
0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x09, 0x0a, 0x07, 0x52, 0x65,
|
||||
0x67, 0x75, 0x6c, 0x61, 0x72, 0x22, 0x35, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57,
|
||||
0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x25, 0x0a, 0x0e, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f,
|
||||
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x77,
|
||||
0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0xba, 0x01, 0x0a,
|
||||
0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07,
|
||||
0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65,
|
||||
0x67, 0x75, 0x6c, 0x61, 0x72, 0x12, 0x47, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f,
|
||||
0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||
0x6e, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x48, 0x00,
|
||||
0x52, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x42, 0x09,
|
||||
0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0f, 0x54, 0x72,
|
||||
0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a,
|
||||
0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
|
||||
0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x03, 0x61, 0x6c,
|
||||
0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x6c,
|
||||
0x48, 0x00, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x3a, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f,
|
||||
0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52,
|
||||
0x61, 0x6e, 0x67, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e,
|
||||
0x67, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x05, 0x0a, 0x03, 0x41,
|
||||
0x6c, 0x6c, 0x22, 0x65, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x35, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f,
|
||||
0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65,
|
||||
0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09,
|
||||
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
||||
0x08, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x64, 0x22, 0x6e, 0x0a, 0x11, 0x42, 0x75, 0x6c,
|
||||
0x6b, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b,
|
||||
0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x0a,
|
||||
0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04,
|
||||
0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6c,
|
||||
0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x4f,
|
||||
0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73,
|
||||
0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22,
|
||||
0x80, 0x03, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16,
|
||||
0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
||||
0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
||||
0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66,
|
||||
0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, 0x12, 0x1f, 0x0a, 0x0b,
|
||||
0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28,
|
||||
0x0d, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74,
|
||||
0x68, 0x12, 0x48, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74,
|
||||
0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x70,
|
||||
0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74,
|
||||
0x61, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72,
|
||||
0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 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, 0x4b, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22,
|
||||
0x47, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b,
|
||||
0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x09, 0x61,
|
||||
0x72, 0x72, 0x6f, 0x77, 0x5f, 0x69, 0x70, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x72,
|
||||
0x6f, 0x77, 0x49, 0x70, 0x63, 0x48, 0x00, 0x52, 0x08, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70,
|
||||
0x63, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x46, 0x0a, 0x10, 0x4d, 0x69, 0x74,
|
||||
0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a,
|
||||
0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76,
|
||||
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61,
|
||||
0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69,
|
||||
0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61,
|
||||
0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e,
|
||||
0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x19,
|
||||
0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
|
||||
0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52,
|
||||
0x17, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
|
||||
0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xed, 0x01, 0x0a, 0x0b, 0x53, 0x79, 0x6e,
|
||||
0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69,
|
||||
0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x66,
|
||||
0x61, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08,
|
||||
0x66, 0x61, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0xda, 0x01, 0x0a, 0x0b, 0x4f, 0x70, 0x65,
|
||||
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67,
|
||||
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x69, 0x74, 0x6f, 0x5f, 0x6d, 0x61,
|
||||
0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66,
|
||||
0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x10, 0x6d, 0x69, 0x74, 0x6f, 0x4d,
|
||||
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5a, 0x0a, 0x14, 0x6d,
|
||||
0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69,
|
||||
0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d,
|
||||
0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66,
|
||||
0x6f, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66,
|
||||
0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0f, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x69, 0x66,
|
||||
0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74,
|
||||
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20,
|
||||
0x03, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x30,
|
||||
0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75,
|
||||
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74,
|
||||
0x68, 0x12, 0x46, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 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, 0x2b, 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
||||
0x49, 0x64, 0x22, 0x4d, 0x0a, 0x0d, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18,
|
||||
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x73, 0x22, 0x8a, 0x07, 0x0a, 0x0c, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12,
|
||||
0x41, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c,
|
||||
0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
|
||||
0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
|
||||
0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72,
|
||||
0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, 0x6f,
|
||||
0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x6d, 0x6f, 0x64, 0x69,
|
||||
0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18,
|
||||
0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x54, 0x79, 0x70, 0x65, 0x73, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43,
|
||||
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x73, 0x65,
|
||||
0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
|
||||
0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f,
|
||||
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x11, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x09, 0x73, 0x65, 0x74, 0x5f,
|
||||
0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64,
|
||||
0x65, 0x78, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3a,
|
||||
0x0a, 0x0b, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0b, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x0a,
|
||||
0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x0d, 0x64, 0x72,
|
||||
0x6f, 0x70, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0c,
|
||||
0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0b,
|
||||
0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65,
|
||||
0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x65,
|
||||
0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e,
|
||||
0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x75, 0x6e,
|
||||
0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x73, 0x65,
|
||||
0x74, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,
|
||||
0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65,
|
||||
0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x73, 0x79, 0x6e,
|
||||
0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65,
|
||||
0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
|
||||
0x48, 0x00, 0x52, 0x0b, 0x73, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12,
|
||||
0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56,
|
||||
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x53,
|
||||
0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x44, 0x0a,
|
||||
0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x01, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f,
|
||||
0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44,
|
||||
0x65, 0x66, 0x73, 0x22, 0x4c, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43,
|
||||
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x73, 0x22, 0x50, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
|
||||
0x12, 0x41, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70,
|
||||
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x73, 0x22, 0x8b, 0x01, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
|
||||
0x6e, 0x12, 0x42, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f,
|
||||
0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c,
|
||||
0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x22, 0x20, 0x0a, 0x0a, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x22, 0x2b, 0x0a, 0x0c, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64,
|
||||
0x32, 0x59, 0x0a, 0x06, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06, 0x48, 0x61,
|
||||
0x6e, 0x64, 0x6c, 0x65, 0x12, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67,
|
||||
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5d, 0x0a, 0x15, 0x69,
|
||||
0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65,
|
||||
0x67, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5a, 0x3c, 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, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x33,
|
||||
0x22, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x22, 0x35, 0x0a, 0x0c, 0x53,
|
||||
0x74, 0x72, 0x69, 0x63, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x25, 0x0a, 0x0e, 0x77,
|
||||
0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x0d, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x65, 0x63, 0x6f, 0x6e,
|
||||
0x64, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
||||
0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72,
|
||||
0x48, 0x00, 0x52, 0x07, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x12, 0x47, 0x0a, 0x0d, 0x73,
|
||||
0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, 0x69,
|
||||
0x6e, 0x64, 0x6f, 0x77, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, 0x69,
|
||||
0x6e, 0x64, 0x6f, 0x77, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,
|
||||
0x9f, 0x01, 0x0a, 0x0f, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64,
|
||||
0x12, 0x2b, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x3a, 0x0a,
|
||||
0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e,
|
||||
0x64, 0x22, 0x05, 0x0a, 0x03, 0x41, 0x6c, 0x6c, 0x22, 0x65, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x35, 0x0a, 0x0a, 0x63,
|
||||
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,
|
||||
0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44,
|
||||
0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x69, 0x64, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x64, 0x22,
|
||||
0x6e, 0x0a, 0x11, 0x42, 0x75, 0x6c, 0x6b, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49,
|
||||
0x64, 0x12, 0x34, 0x0a, 0x09, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x5f, 0x69, 0x70, 0x63, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x41, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x48, 0x00, 0x52, 0x08, 0x61,
|
||||
0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22,
|
||||
0x46, 0x0a, 0x10, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49,
|
||||
0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69,
|
||||
0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74,
|
||||
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x4d, 0x65, 0x74, 0x72,
|
||||
0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32,
|
||||
0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f,
|
||||
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64,
|
||||
0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x19, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d,
|
||||
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4d,
|
||||
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xed,
|
||||
0x01, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b,
|
||||
0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x12, 0x6d,
|
||||
0x69, 0x74, 0x6f, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66,
|
||||
0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x69, 0x74,
|
||||
0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52,
|
||||
0x10, 0x6d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66,
|
||||
0x6f, 0x12, 0x5a, 0x0a, 0x14, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6d, 0x61, 0x6e, 0x69,
|
||||
0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x26, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65,
|
||||
0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66,
|
||||
0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x65, 0x74, 0x72, 0x69,
|
||||
0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0f, 0x0a,
|
||||
0x0d, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x34,
|
||||
0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f,
|
||||
0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||
0x6e, 0x49, 0x64, 0x73, 0x32, 0x59, 0x0a, 0x06, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x4f,
|
||||
0x0a, 0x06, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65,
|
||||
0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
||||
0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
|
||||
0x5d, 0x0a, 0x15, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
|
||||
0x5a, 0x3c, 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, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x62, 0x06,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -2827,7 +2758,7 @@ func file_greptime_v1_region_server_proto_rawDescGZIP() []byte {
|
||||
return file_greptime_v1_region_server_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_greptime_v1_region_server_proto_msgTypes = make([]protoimpl.MessageInfo, 38)
|
||||
var file_greptime_v1_region_server_proto_msgTypes = make([]protoimpl.MessageInfo, 37)
|
||||
var file_greptime_v1_region_server_proto_goTypes = []interface{}{
|
||||
(*RegionRequestHeader)(nil), // 0: greptime.v1.region.RegionRequestHeader
|
||||
(*RegionRequest)(nil), // 1: greptime.v1.region.RegionRequest
|
||||
@@ -2862,32 +2793,31 @@ var file_greptime_v1_region_server_proto_goTypes = []interface{}{
|
||||
(*MetricManifestInfo)(nil), // 30: greptime.v1.region.MetricManifestInfo
|
||||
(*SyncRequest)(nil), // 31: greptime.v1.region.SyncRequest
|
||||
(*ListMetadataRequest)(nil), // 32: greptime.v1.region.ListMetadataRequest
|
||||
(*BuildIndexRequest)(nil), // 33: greptime.v1.region.BuildIndexRequest
|
||||
nil, // 34: greptime.v1.region.RegionRequestHeader.TracingContextEntry
|
||||
nil, // 35: greptime.v1.region.RegionResponse.ExtensionsEntry
|
||||
nil, // 36: greptime.v1.region.CreateRequest.OptionsEntry
|
||||
nil, // 37: greptime.v1.region.OpenRequest.OptionsEntry
|
||||
(*v1.QueryContext)(nil), // 38: greptime.v1.QueryContext
|
||||
(*v1.ResponseHeader)(nil), // 39: greptime.v1.ResponseHeader
|
||||
(*v1.Rows)(nil), // 40: greptime.v1.Rows
|
||||
(*meta.Partition)(nil), // 41: greptime.v1.meta.Partition
|
||||
(*v1.ModifyColumnTypes)(nil), // 42: greptime.v1.ModifyColumnTypes
|
||||
(*v1.SetTableOptions)(nil), // 43: greptime.v1.SetTableOptions
|
||||
(*v1.UnsetTableOptions)(nil), // 44: greptime.v1.UnsetTableOptions
|
||||
(*v1.SetIndex)(nil), // 45: greptime.v1.SetIndex
|
||||
(*v1.UnsetIndex)(nil), // 46: greptime.v1.UnsetIndex
|
||||
(*v1.DropDefaults)(nil), // 47: greptime.v1.DropDefaults
|
||||
(*v1.SetIndexes)(nil), // 48: greptime.v1.SetIndexes
|
||||
(*v1.UnsetIndexes)(nil), // 49: greptime.v1.UnsetIndexes
|
||||
(*v1.SetDefaults)(nil), // 50: greptime.v1.SetDefaults
|
||||
(*v1.AddColumnLocation)(nil), // 51: greptime.v1.AddColumnLocation
|
||||
(*v1.TimeRanges)(nil), // 52: greptime.v1.TimeRanges
|
||||
(*v1.ColumnDef)(nil), // 53: greptime.v1.ColumnDef
|
||||
(*v1.ArrowIpc)(nil), // 54: greptime.v1.ArrowIpc
|
||||
nil, // 33: greptime.v1.region.RegionRequestHeader.TracingContextEntry
|
||||
nil, // 34: greptime.v1.region.RegionResponse.ExtensionsEntry
|
||||
nil, // 35: greptime.v1.region.CreateRequest.OptionsEntry
|
||||
nil, // 36: greptime.v1.region.OpenRequest.OptionsEntry
|
||||
(*v1.QueryContext)(nil), // 37: greptime.v1.QueryContext
|
||||
(*v1.ResponseHeader)(nil), // 38: greptime.v1.ResponseHeader
|
||||
(*v1.Rows)(nil), // 39: greptime.v1.Rows
|
||||
(*meta.Partition)(nil), // 40: greptime.v1.meta.Partition
|
||||
(*v1.ModifyColumnTypes)(nil), // 41: greptime.v1.ModifyColumnTypes
|
||||
(*v1.SetTableOptions)(nil), // 42: greptime.v1.SetTableOptions
|
||||
(*v1.UnsetTableOptions)(nil), // 43: greptime.v1.UnsetTableOptions
|
||||
(*v1.SetIndex)(nil), // 44: greptime.v1.SetIndex
|
||||
(*v1.UnsetIndex)(nil), // 45: greptime.v1.UnsetIndex
|
||||
(*v1.DropDefaults)(nil), // 46: greptime.v1.DropDefaults
|
||||
(*v1.SetIndexes)(nil), // 47: greptime.v1.SetIndexes
|
||||
(*v1.UnsetIndexes)(nil), // 48: greptime.v1.UnsetIndexes
|
||||
(*v1.SetDefaults)(nil), // 49: greptime.v1.SetDefaults
|
||||
(*v1.AddColumnLocation)(nil), // 50: greptime.v1.AddColumnLocation
|
||||
(*v1.TimeRanges)(nil), // 51: greptime.v1.TimeRanges
|
||||
(*v1.ColumnDef)(nil), // 52: greptime.v1.ColumnDef
|
||||
(*v1.ArrowIpc)(nil), // 53: greptime.v1.ArrowIpc
|
||||
}
|
||||
var file_greptime_v1_region_server_proto_depIdxs = []int32{
|
||||
34, // 0: greptime.v1.region.RegionRequestHeader.tracing_context:type_name -> greptime.v1.region.RegionRequestHeader.TracingContextEntry
|
||||
38, // 1: greptime.v1.region.RegionRequestHeader.query_context:type_name -> greptime.v1.QueryContext
|
||||
33, // 0: greptime.v1.region.RegionRequestHeader.tracing_context:type_name -> greptime.v1.region.RegionRequestHeader.TracingContextEntry
|
||||
37, // 1: greptime.v1.region.RegionRequestHeader.query_context:type_name -> greptime.v1.QueryContext
|
||||
0, // 2: greptime.v1.region.RegionRequest.header:type_name -> greptime.v1.region.RegionRequestHeader
|
||||
3, // 3: greptime.v1.region.RegionRequest.inserts:type_name -> greptime.v1.region.InsertRequests
|
||||
4, // 4: greptime.v1.region.RegionRequest.deletes:type_name -> greptime.v1.region.DeleteRequests
|
||||
@@ -2905,53 +2835,52 @@ var file_greptime_v1_region_server_proto_depIdxs = []int32{
|
||||
28, // 16: greptime.v1.region.RegionRequest.bulk_insert:type_name -> greptime.v1.region.BulkInsertRequest
|
||||
31, // 17: greptime.v1.region.RegionRequest.sync:type_name -> greptime.v1.region.SyncRequest
|
||||
32, // 18: greptime.v1.region.RegionRequest.list_metadata:type_name -> greptime.v1.region.ListMetadataRequest
|
||||
33, // 19: greptime.v1.region.RegionRequest.build_index:type_name -> greptime.v1.region.BuildIndexRequest
|
||||
39, // 20: greptime.v1.region.RegionResponse.header:type_name -> greptime.v1.ResponseHeader
|
||||
35, // 21: greptime.v1.region.RegionResponse.extensions:type_name -> greptime.v1.region.RegionResponse.ExtensionsEntry
|
||||
5, // 22: greptime.v1.region.InsertRequests.requests:type_name -> greptime.v1.region.InsertRequest
|
||||
6, // 23: greptime.v1.region.DeleteRequests.requests:type_name -> greptime.v1.region.DeleteRequest
|
||||
40, // 24: greptime.v1.region.InsertRequest.rows:type_name -> greptime.v1.Rows
|
||||
40, // 25: greptime.v1.region.DeleteRequest.rows:type_name -> greptime.v1.Rows
|
||||
0, // 26: greptime.v1.region.QueryRequest.header:type_name -> greptime.v1.region.RegionRequestHeader
|
||||
9, // 27: greptime.v1.region.CreateRequests.requests:type_name -> greptime.v1.region.CreateRequest
|
||||
27, // 28: greptime.v1.region.CreateRequest.column_defs:type_name -> greptime.v1.region.RegionColumnDef
|
||||
36, // 29: greptime.v1.region.CreateRequest.options:type_name -> greptime.v1.region.CreateRequest.OptionsEntry
|
||||
41, // 30: greptime.v1.region.CreateRequest.partition:type_name -> greptime.v1.meta.Partition
|
||||
11, // 31: greptime.v1.region.DropRequests.requests:type_name -> greptime.v1.region.DropRequest
|
||||
37, // 32: greptime.v1.region.OpenRequest.options:type_name -> greptime.v1.region.OpenRequest.OptionsEntry
|
||||
15, // 33: greptime.v1.region.AlterRequests.requests:type_name -> greptime.v1.region.AlterRequest
|
||||
17, // 34: greptime.v1.region.AlterRequest.add_columns:type_name -> greptime.v1.region.AddColumns
|
||||
18, // 35: greptime.v1.region.AlterRequest.drop_columns:type_name -> greptime.v1.region.DropColumns
|
||||
42, // 36: greptime.v1.region.AlterRequest.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes
|
||||
43, // 37: greptime.v1.region.AlterRequest.set_table_options:type_name -> greptime.v1.SetTableOptions
|
||||
44, // 38: greptime.v1.region.AlterRequest.unset_table_options:type_name -> greptime.v1.UnsetTableOptions
|
||||
45, // 39: greptime.v1.region.AlterRequest.set_index:type_name -> greptime.v1.SetIndex
|
||||
46, // 40: greptime.v1.region.AlterRequest.unset_index:type_name -> greptime.v1.UnsetIndex
|
||||
47, // 41: greptime.v1.region.AlterRequest.drop_defaults:type_name -> greptime.v1.DropDefaults
|
||||
48, // 42: greptime.v1.region.AlterRequest.set_indexes:type_name -> greptime.v1.SetIndexes
|
||||
49, // 43: greptime.v1.region.AlterRequest.unset_indexes:type_name -> greptime.v1.UnsetIndexes
|
||||
50, // 44: greptime.v1.region.AlterRequest.set_defaults:type_name -> greptime.v1.SetDefaults
|
||||
16, // 45: greptime.v1.region.AlterRequest.sync_columns:type_name -> greptime.v1.region.SyncColumns
|
||||
27, // 46: greptime.v1.region.SyncColumns.column_defs:type_name -> greptime.v1.region.RegionColumnDef
|
||||
19, // 47: greptime.v1.region.AddColumns.add_columns:type_name -> greptime.v1.region.AddColumn
|
||||
20, // 48: greptime.v1.region.DropColumns.drop_columns:type_name -> greptime.v1.region.DropColumn
|
||||
27, // 49: greptime.v1.region.AddColumn.column_def:type_name -> greptime.v1.region.RegionColumnDef
|
||||
51, // 50: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
|
||||
22, // 51: greptime.v1.region.CompactRequest.regular:type_name -> greptime.v1.region.Regular
|
||||
23, // 52: greptime.v1.region.CompactRequest.strict_window:type_name -> greptime.v1.region.StrictWindow
|
||||
26, // 53: greptime.v1.region.TruncateRequest.all:type_name -> greptime.v1.region.All
|
||||
52, // 54: greptime.v1.region.TruncateRequest.time_ranges:type_name -> greptime.v1.TimeRanges
|
||||
53, // 55: greptime.v1.region.RegionColumnDef.column_def:type_name -> greptime.v1.ColumnDef
|
||||
54, // 56: greptime.v1.region.BulkInsertRequest.arrow_ipc:type_name -> greptime.v1.ArrowIpc
|
||||
29, // 57: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo
|
||||
30, // 58: greptime.v1.region.SyncRequest.metric_manifest_info:type_name -> greptime.v1.region.MetricManifestInfo
|
||||
1, // 59: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest
|
||||
2, // 60: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse
|
||||
60, // [60:61] is the sub-list for method output_type
|
||||
59, // [59:60] is the sub-list for method input_type
|
||||
59, // [59:59] is the sub-list for extension type_name
|
||||
59, // [59:59] is the sub-list for extension extendee
|
||||
0, // [0:59] is the sub-list for field type_name
|
||||
38, // 19: greptime.v1.region.RegionResponse.header:type_name -> greptime.v1.ResponseHeader
|
||||
34, // 20: greptime.v1.region.RegionResponse.extensions:type_name -> greptime.v1.region.RegionResponse.ExtensionsEntry
|
||||
5, // 21: greptime.v1.region.InsertRequests.requests:type_name -> greptime.v1.region.InsertRequest
|
||||
6, // 22: greptime.v1.region.DeleteRequests.requests:type_name -> greptime.v1.region.DeleteRequest
|
||||
39, // 23: greptime.v1.region.InsertRequest.rows:type_name -> greptime.v1.Rows
|
||||
39, // 24: greptime.v1.region.DeleteRequest.rows:type_name -> greptime.v1.Rows
|
||||
0, // 25: greptime.v1.region.QueryRequest.header:type_name -> greptime.v1.region.RegionRequestHeader
|
||||
9, // 26: greptime.v1.region.CreateRequests.requests:type_name -> greptime.v1.region.CreateRequest
|
||||
27, // 27: greptime.v1.region.CreateRequest.column_defs:type_name -> greptime.v1.region.RegionColumnDef
|
||||
35, // 28: greptime.v1.region.CreateRequest.options:type_name -> greptime.v1.region.CreateRequest.OptionsEntry
|
||||
40, // 29: greptime.v1.region.CreateRequest.partition:type_name -> greptime.v1.meta.Partition
|
||||
11, // 30: greptime.v1.region.DropRequests.requests:type_name -> greptime.v1.region.DropRequest
|
||||
36, // 31: greptime.v1.region.OpenRequest.options:type_name -> greptime.v1.region.OpenRequest.OptionsEntry
|
||||
15, // 32: greptime.v1.region.AlterRequests.requests:type_name -> greptime.v1.region.AlterRequest
|
||||
17, // 33: greptime.v1.region.AlterRequest.add_columns:type_name -> greptime.v1.region.AddColumns
|
||||
18, // 34: greptime.v1.region.AlterRequest.drop_columns:type_name -> greptime.v1.region.DropColumns
|
||||
41, // 35: greptime.v1.region.AlterRequest.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes
|
||||
42, // 36: greptime.v1.region.AlterRequest.set_table_options:type_name -> greptime.v1.SetTableOptions
|
||||
43, // 37: greptime.v1.region.AlterRequest.unset_table_options:type_name -> greptime.v1.UnsetTableOptions
|
||||
44, // 38: greptime.v1.region.AlterRequest.set_index:type_name -> greptime.v1.SetIndex
|
||||
45, // 39: greptime.v1.region.AlterRequest.unset_index:type_name -> greptime.v1.UnsetIndex
|
||||
46, // 40: greptime.v1.region.AlterRequest.drop_defaults:type_name -> greptime.v1.DropDefaults
|
||||
47, // 41: greptime.v1.region.AlterRequest.set_indexes:type_name -> greptime.v1.SetIndexes
|
||||
48, // 42: greptime.v1.region.AlterRequest.unset_indexes:type_name -> greptime.v1.UnsetIndexes
|
||||
49, // 43: greptime.v1.region.AlterRequest.set_defaults:type_name -> greptime.v1.SetDefaults
|
||||
16, // 44: greptime.v1.region.AlterRequest.sync_columns:type_name -> greptime.v1.region.SyncColumns
|
||||
27, // 45: greptime.v1.region.SyncColumns.column_defs:type_name -> greptime.v1.region.RegionColumnDef
|
||||
19, // 46: greptime.v1.region.AddColumns.add_columns:type_name -> greptime.v1.region.AddColumn
|
||||
20, // 47: greptime.v1.region.DropColumns.drop_columns:type_name -> greptime.v1.region.DropColumn
|
||||
27, // 48: greptime.v1.region.AddColumn.column_def:type_name -> greptime.v1.region.RegionColumnDef
|
||||
50, // 49: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
|
||||
22, // 50: greptime.v1.region.CompactRequest.regular:type_name -> greptime.v1.region.Regular
|
||||
23, // 51: greptime.v1.region.CompactRequest.strict_window:type_name -> greptime.v1.region.StrictWindow
|
||||
26, // 52: greptime.v1.region.TruncateRequest.all:type_name -> greptime.v1.region.All
|
||||
51, // 53: greptime.v1.region.TruncateRequest.time_ranges:type_name -> greptime.v1.TimeRanges
|
||||
52, // 54: greptime.v1.region.RegionColumnDef.column_def:type_name -> greptime.v1.ColumnDef
|
||||
53, // 55: greptime.v1.region.BulkInsertRequest.arrow_ipc:type_name -> greptime.v1.ArrowIpc
|
||||
29, // 56: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo
|
||||
30, // 57: greptime.v1.region.SyncRequest.metric_manifest_info:type_name -> greptime.v1.region.MetricManifestInfo
|
||||
1, // 58: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest
|
||||
2, // 59: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse
|
||||
59, // [59:60] is the sub-list for method output_type
|
||||
58, // [58:59] is the sub-list for method input_type
|
||||
58, // [58:58] is the sub-list for extension type_name
|
||||
58, // [58:58] is the sub-list for extension extendee
|
||||
0, // [0:58] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_greptime_v1_region_server_proto_init() }
|
||||
@@ -3356,18 +3285,6 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*BuildIndexRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[1].OneofWrappers = []interface{}{
|
||||
(*RegionRequest_Inserts)(nil),
|
||||
@@ -3386,7 +3303,6 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
(*RegionRequest_BulkInsert)(nil),
|
||||
(*RegionRequest_Sync)(nil),
|
||||
(*RegionRequest_ListMetadata)(nil),
|
||||
(*RegionRequest_BuildIndex)(nil),
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[15].OneofWrappers = []interface{}{
|
||||
(*AlterRequest_AddColumns)(nil),
|
||||
@@ -3423,7 +3339,7 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_greptime_v1_region_server_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 38,
|
||||
NumMessages: 37,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
+42
-22
@@ -253,6 +253,7 @@ type Value struct {
|
||||
// *Value_Decimal128Value
|
||||
// *Value_ListValue
|
||||
// *Value_StructValue
|
||||
// *Value_JsonValue
|
||||
ValueData isValue_ValueData `protobuf_oneof:"value_data"`
|
||||
}
|
||||
|
||||
@@ -498,6 +499,13 @@ func (x *Value) GetStructValue() *StructValue {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Value) GetJsonValue() *Value {
|
||||
if x, ok := x.GetValueData().(*Value_JsonValue); ok {
|
||||
return x.JsonValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isValue_ValueData interface {
|
||||
isValue_ValueData()
|
||||
}
|
||||
@@ -618,6 +626,10 @@ type Value_StructValue struct {
|
||||
StructValue *StructValue `protobuf:"bytes,41,opt,name=struct_value,json=structValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_JsonValue struct {
|
||||
JsonValue *Value `protobuf:"bytes,42,opt,name=json_value,json=jsonValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Value_I8Value) isValue_ValueData() {}
|
||||
|
||||
func (*Value_I16Value) isValue_ValueData() {}
|
||||
@@ -676,6 +688,8 @@ func (*Value_ListValue) isValue_ValueData() {}
|
||||
|
||||
func (*Value_StructValue) isValue_ValueData() {}
|
||||
|
||||
func (*Value_JsonValue) isValue_ValueData() {}
|
||||
|
||||
type ListValue struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -805,7 +819,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, 0xe7, 0x0a, 0x0a, 0x05, 0x56, 0x61, 0x6c,
|
||||
0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x9c, 0x0b, 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,
|
||||
@@ -891,20 +905,24 @@ var file_greptime_v1_row_proto_rawDesc = []byte{
|
||||
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,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x12, 0x33, 0x0a, 0x0a, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09,
|
||||
0x6a, 0x73, 0x6f, 0x6e, 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 (
|
||||
@@ -946,13 +964,14 @@ var file_greptime_v1_row_proto_depIdxs = []int32{
|
||||
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
|
||||
3, // 11: greptime.v1.Value.json_value:type_name -> greptime.v1.Value
|
||||
3, // 12: greptime.v1.ListValue.items:type_name -> greptime.v1.Value
|
||||
3, // 13: greptime.v1.StructValue.items:type_name -> greptime.v1.Value
|
||||
14, // [14:14] is the sub-list for method output_type
|
||||
14, // [14:14] is the sub-list for method input_type
|
||||
14, // [14:14] is the sub-list for extension type_name
|
||||
14, // [14:14] is the sub-list for extension extendee
|
||||
0, // [0:14] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_greptime_v1_row_proto_init() }
|
||||
@@ -1065,6 +1084,7 @@ func file_greptime_v1_row_proto_init() {
|
||||
(*Value_Decimal128Value)(nil),
|
||||
(*Value_ListValue)(nil),
|
||||
(*Value_StructValue)(nil),
|
||||
(*Value_JsonValue)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
|
||||
@@ -851,6 +851,30 @@ public final class Columns {
|
||||
*/
|
||||
io.greptime.v1.RowData.StructValueOrBuilder getStructValuesOrBuilder(
|
||||
int index);
|
||||
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
java.util.List<io.greptime.v1.Columns.Column.Values>
|
||||
getJsonValuesList();
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
io.greptime.v1.Columns.Column.Values getJsonValues(int index);
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
int getJsonValuesCount();
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
java.util.List<? extends io.greptime.v1.Columns.Column.ValuesOrBuilder>
|
||||
getJsonValuesOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
io.greptime.v1.Columns.Column.ValuesOrBuilder getJsonValuesOrBuilder(
|
||||
int index);
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.Column.Values}
|
||||
@@ -894,6 +918,7 @@ public final class Columns {
|
||||
decimal128Values_ = java.util.Collections.emptyList();
|
||||
listValues_ = java.util.Collections.emptyList();
|
||||
structValues_ = java.util.Collections.emptyList();
|
||||
jsonValues_ = java.util.Collections.emptyList();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@@ -1463,6 +1488,15 @@ public final class Columns {
|
||||
input.readMessage(io.greptime.v1.RowData.StructValue.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
case 338: {
|
||||
if (!((mutable_bitField0_ & 0x20000000) != 0)) {
|
||||
jsonValues_ = new java.util.ArrayList<io.greptime.v1.Columns.Column.Values>();
|
||||
mutable_bitField0_ |= 0x20000000;
|
||||
}
|
||||
jsonValues_.add(
|
||||
input.readMessage(io.greptime.v1.Columns.Column.Values.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -1567,6 +1601,9 @@ public final class Columns {
|
||||
if (((mutable_bitField0_ & 0x10000000) != 0)) {
|
||||
structValues_ = java.util.Collections.unmodifiableList(structValues_);
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x20000000) != 0)) {
|
||||
jsonValues_ = java.util.Collections.unmodifiableList(jsonValues_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
@@ -2450,6 +2487,46 @@ public final class Columns {
|
||||
return structValues_.get(index);
|
||||
}
|
||||
|
||||
public static final int JSON_VALUES_FIELD_NUMBER = 42;
|
||||
private java.util.List<io.greptime.v1.Columns.Column.Values> jsonValues_;
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<io.greptime.v1.Columns.Column.Values> getJsonValuesList() {
|
||||
return jsonValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends io.greptime.v1.Columns.Column.ValuesOrBuilder>
|
||||
getJsonValuesOrBuilderList() {
|
||||
return jsonValues_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getJsonValuesCount() {
|
||||
return jsonValues_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Columns.Column.Values getJsonValues(int index) {
|
||||
return jsonValues_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Columns.Column.ValuesOrBuilder getJsonValuesOrBuilder(
|
||||
int index) {
|
||||
return jsonValues_.get(index);
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -2644,6 +2721,9 @@ public final class Columns {
|
||||
for (int i = 0; i < structValues_.size(); i++) {
|
||||
output.writeMessage(41, structValues_.get(i));
|
||||
}
|
||||
for (int i = 0; i < jsonValues_.size(); i++) {
|
||||
output.writeMessage(42, jsonValues_.get(i));
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -2999,6 +3079,10 @@ public final class Columns {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(41, structValues_.get(i));
|
||||
}
|
||||
for (int i = 0; i < jsonValues_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(42, jsonValues_.get(i));
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -3072,6 +3156,8 @@ public final class Columns {
|
||||
.equals(other.getListValuesList())) return false;
|
||||
if (!getStructValuesList()
|
||||
.equals(other.getStructValuesList())) return false;
|
||||
if (!getJsonValuesList()
|
||||
.equals(other.getJsonValuesList())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -3199,6 +3285,10 @@ public final class Columns {
|
||||
hash = (37 * hash) + STRUCT_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getStructValuesList().hashCode();
|
||||
}
|
||||
if (getJsonValuesCount() > 0) {
|
||||
hash = (37 * hash) + JSON_VALUES_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getJsonValuesList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -3331,6 +3421,7 @@ public final class Columns {
|
||||
getDecimal128ValuesFieldBuilder();
|
||||
getListValuesFieldBuilder();
|
||||
getStructValuesFieldBuilder();
|
||||
getJsonValuesFieldBuilder();
|
||||
}
|
||||
}
|
||||
@java.lang.Override
|
||||
@@ -3410,6 +3501,12 @@ public final class Columns {
|
||||
} else {
|
||||
structValuesBuilder_.clear();
|
||||
}
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
jsonValues_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x20000000);
|
||||
} else {
|
||||
jsonValuesBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -3598,6 +3695,15 @@ public final class Columns {
|
||||
} else {
|
||||
result.structValues_ = structValuesBuilder_.build();
|
||||
}
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
if (((bitField0_ & 0x20000000) != 0)) {
|
||||
jsonValues_ = java.util.Collections.unmodifiableList(jsonValues_);
|
||||
bitField0_ = (bitField0_ & ~0x20000000);
|
||||
}
|
||||
result.jsonValues_ = jsonValues_;
|
||||
} else {
|
||||
result.jsonValues_ = jsonValuesBuilder_.build();
|
||||
}
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -4000,6 +4106,32 @@ public final class Columns {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
if (!other.jsonValues_.isEmpty()) {
|
||||
if (jsonValues_.isEmpty()) {
|
||||
jsonValues_ = other.jsonValues_;
|
||||
bitField0_ = (bitField0_ & ~0x20000000);
|
||||
} else {
|
||||
ensureJsonValuesIsMutable();
|
||||
jsonValues_.addAll(other.jsonValues_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (!other.jsonValues_.isEmpty()) {
|
||||
if (jsonValuesBuilder_.isEmpty()) {
|
||||
jsonValuesBuilder_.dispose();
|
||||
jsonValuesBuilder_ = null;
|
||||
jsonValues_ = other.jsonValues_;
|
||||
bitField0_ = (bitField0_ & ~0x20000000);
|
||||
jsonValuesBuilder_ =
|
||||
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
||||
getJsonValuesFieldBuilder() : null;
|
||||
} else {
|
||||
jsonValuesBuilder_.addAllMessages(other.jsonValues_);
|
||||
}
|
||||
}
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -7001,6 +7133,246 @@ public final class Columns {
|
||||
}
|
||||
return structValuesBuilder_;
|
||||
}
|
||||
|
||||
private java.util.List<io.greptime.v1.Columns.Column.Values> jsonValues_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureJsonValuesIsMutable() {
|
||||
if (!((bitField0_ & 0x20000000) != 0)) {
|
||||
jsonValues_ = new java.util.ArrayList<io.greptime.v1.Columns.Column.Values>(jsonValues_);
|
||||
bitField0_ |= 0x20000000;
|
||||
}
|
||||
}
|
||||
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.Columns.Column.Values, io.greptime.v1.Columns.Column.Values.Builder, io.greptime.v1.Columns.Column.ValuesOrBuilder> jsonValuesBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public java.util.List<io.greptime.v1.Columns.Column.Values> getJsonValuesList() {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(jsonValues_);
|
||||
} else {
|
||||
return jsonValuesBuilder_.getMessageList();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public int getJsonValuesCount() {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
return jsonValues_.size();
|
||||
} else {
|
||||
return jsonValuesBuilder_.getCount();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public io.greptime.v1.Columns.Column.Values getJsonValues(int index) {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
return jsonValues_.get(index);
|
||||
} else {
|
||||
return jsonValuesBuilder_.getMessage(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public Builder setJsonValues(
|
||||
int index, io.greptime.v1.Columns.Column.Values value) {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureJsonValuesIsMutable();
|
||||
jsonValues_.set(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
jsonValuesBuilder_.setMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public Builder setJsonValues(
|
||||
int index, io.greptime.v1.Columns.Column.Values.Builder builderForValue) {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
ensureJsonValuesIsMutable();
|
||||
jsonValues_.set(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
jsonValuesBuilder_.setMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public Builder addJsonValues(io.greptime.v1.Columns.Column.Values value) {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureJsonValuesIsMutable();
|
||||
jsonValues_.add(value);
|
||||
onChanged();
|
||||
} else {
|
||||
jsonValuesBuilder_.addMessage(value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public Builder addJsonValues(
|
||||
int index, io.greptime.v1.Columns.Column.Values value) {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureJsonValuesIsMutable();
|
||||
jsonValues_.add(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
jsonValuesBuilder_.addMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public Builder addJsonValues(
|
||||
io.greptime.v1.Columns.Column.Values.Builder builderForValue) {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
ensureJsonValuesIsMutable();
|
||||
jsonValues_.add(builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
jsonValuesBuilder_.addMessage(builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public Builder addJsonValues(
|
||||
int index, io.greptime.v1.Columns.Column.Values.Builder builderForValue) {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
ensureJsonValuesIsMutable();
|
||||
jsonValues_.add(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
jsonValuesBuilder_.addMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public Builder addAllJsonValues(
|
||||
java.lang.Iterable<? extends io.greptime.v1.Columns.Column.Values> values) {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
ensureJsonValuesIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, jsonValues_);
|
||||
onChanged();
|
||||
} else {
|
||||
jsonValuesBuilder_.addAllMessages(values);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public Builder clearJsonValues() {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
jsonValues_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x20000000);
|
||||
onChanged();
|
||||
} else {
|
||||
jsonValuesBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public Builder removeJsonValues(int index) {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
ensureJsonValuesIsMutable();
|
||||
jsonValues_.remove(index);
|
||||
onChanged();
|
||||
} else {
|
||||
jsonValuesBuilder_.remove(index);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public io.greptime.v1.Columns.Column.Values.Builder getJsonValuesBuilder(
|
||||
int index) {
|
||||
return getJsonValuesFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public io.greptime.v1.Columns.Column.ValuesOrBuilder getJsonValuesOrBuilder(
|
||||
int index) {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
return jsonValues_.get(index); } else {
|
||||
return jsonValuesBuilder_.getMessageOrBuilder(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public java.util.List<? extends io.greptime.v1.Columns.Column.ValuesOrBuilder>
|
||||
getJsonValuesOrBuilderList() {
|
||||
if (jsonValuesBuilder_ != null) {
|
||||
return jsonValuesBuilder_.getMessageOrBuilderList();
|
||||
} else {
|
||||
return java.util.Collections.unmodifiableList(jsonValues_);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public io.greptime.v1.Columns.Column.Values.Builder addJsonValuesBuilder() {
|
||||
return getJsonValuesFieldBuilder().addBuilder(
|
||||
io.greptime.v1.Columns.Column.Values.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public io.greptime.v1.Columns.Column.Values.Builder addJsonValuesBuilder(
|
||||
int index) {
|
||||
return getJsonValuesFieldBuilder().addBuilder(
|
||||
index, io.greptime.v1.Columns.Column.Values.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .greptime.v1.Column.Values json_values = 42;</code>
|
||||
*/
|
||||
public java.util.List<io.greptime.v1.Columns.Column.Values.Builder>
|
||||
getJsonValuesBuilderList() {
|
||||
return getJsonValuesFieldBuilder().getBuilderList();
|
||||
}
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.Columns.Column.Values, io.greptime.v1.Columns.Column.Values.Builder, io.greptime.v1.Columns.Column.ValuesOrBuilder>
|
||||
getJsonValuesFieldBuilder() {
|
||||
if (jsonValuesBuilder_ == null) {
|
||||
jsonValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
io.greptime.v1.Columns.Column.Values, io.greptime.v1.Columns.Column.Values.Builder, io.greptime.v1.Columns.Column.ValuesOrBuilder>(
|
||||
jsonValues_,
|
||||
((bitField0_ & 0x20000000) != 0),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
jsonValues_ = null;
|
||||
}
|
||||
return jsonValuesBuilder_;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -8588,14 +8960,14 @@ public final class Columns {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\030greptime/v1/column.proto\022\013greptime.v1\032" +
|
||||
"\030greptime/v1/common.proto\032\025greptime/v1/r" +
|
||||
"ow.proto\"\241\t\n\006Column\022\023\n\013column_name\030\001 \001(\t" +
|
||||
"ow.proto\"\322\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" +
|
||||
"\001(\0132\032.greptime.v1.ColumnOptions\032\243\007\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" +
|
||||
@@ -8617,10 +8989,11 @@ public final class Columns {
|
||||
"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"
|
||||
"lues\030) \003(\0132\030.greptime.v1.StructValue\022/\n\013" +
|
||||
"json_values\030* \003(\0132\032.greptime.v1.Column.V" +
|
||||
"aluesBP\n\016io.greptime.v1B\007ColumnsZ5github" +
|
||||
".com/GreptimeTeam/greptime-proto/go/grep" +
|
||||
"time/v1b\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -8639,7 +9012,7 @@ 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", "ListValues", "StructValues", });
|
||||
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", "JsonValues", });
|
||||
io.greptime.v1.Common.getDescriptor();
|
||||
io.greptime.v1.RowData.getDescriptor();
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3631,6 +3631,21 @@ public final class RowData {
|
||||
*/
|
||||
io.greptime.v1.RowData.StructValueOrBuilder getStructValueOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
* @return Whether the jsonValue field is set.
|
||||
*/
|
||||
boolean hasJsonValue();
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
* @return The jsonValue.
|
||||
*/
|
||||
io.greptime.v1.RowData.Value getJsonValue();
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
*/
|
||||
io.greptime.v1.RowData.ValueOrBuilder getJsonValueOrBuilder();
|
||||
|
||||
public io.greptime.v1.RowData.Value.ValueDataCase getValueDataCase();
|
||||
}
|
||||
/**
|
||||
@@ -3860,6 +3875,20 @@ public final class RowData {
|
||||
valueDataCase_ = 41;
|
||||
break;
|
||||
}
|
||||
case 338: {
|
||||
io.greptime.v1.RowData.Value.Builder subBuilder = null;
|
||||
if (valueDataCase_ == 42) {
|
||||
subBuilder = ((io.greptime.v1.RowData.Value) valueData_).toBuilder();
|
||||
}
|
||||
valueData_ =
|
||||
input.readMessage(io.greptime.v1.RowData.Value.parser(), extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom((io.greptime.v1.RowData.Value) valueData_);
|
||||
valueData_ = subBuilder.buildPartial();
|
||||
}
|
||||
valueDataCase_ = 42;
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -3928,6 +3957,7 @@ public final class RowData {
|
||||
DECIMAL128_VALUE(31),
|
||||
LIST_VALUE(40),
|
||||
STRUCT_VALUE(41),
|
||||
JSON_VALUE(42),
|
||||
VALUEDATA_NOT_SET(0);
|
||||
private final int value;
|
||||
private ValueDataCase(int value) {
|
||||
@@ -3974,6 +4004,7 @@ public final class RowData {
|
||||
case 31: return DECIMAL128_VALUE;
|
||||
case 40: return LIST_VALUE;
|
||||
case 41: return STRUCT_VALUE;
|
||||
case 42: return JSON_VALUE;
|
||||
case 0: return VALUEDATA_NOT_SET;
|
||||
default: return null;
|
||||
}
|
||||
@@ -4669,6 +4700,37 @@ public final class RowData {
|
||||
return io.greptime.v1.RowData.StructValue.getDefaultInstance();
|
||||
}
|
||||
|
||||
public static final int JSON_VALUE_FIELD_NUMBER = 42;
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
* @return Whether the jsonValue field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasJsonValue() {
|
||||
return valueDataCase_ == 42;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
* @return The jsonValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.RowData.Value getJsonValue() {
|
||||
if (valueDataCase_ == 42) {
|
||||
return (io.greptime.v1.RowData.Value) valueData_;
|
||||
}
|
||||
return io.greptime.v1.RowData.Value.getDefaultInstance();
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.RowData.ValueOrBuilder getJsonValueOrBuilder() {
|
||||
if (valueDataCase_ == 42) {
|
||||
return (io.greptime.v1.RowData.Value) valueData_;
|
||||
}
|
||||
return io.greptime.v1.RowData.Value.getDefaultInstance();
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -4794,6 +4856,9 @@ public final class RowData {
|
||||
if (valueDataCase_ == 41) {
|
||||
output.writeMessage(41, (io.greptime.v1.RowData.StructValue) valueData_);
|
||||
}
|
||||
if (valueDataCase_ == 42) {
|
||||
output.writeMessage(42, (io.greptime.v1.RowData.Value) valueData_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -4942,6 +5007,10 @@ public final class RowData {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(41, (io.greptime.v1.RowData.StructValue) valueData_);
|
||||
}
|
||||
if (valueDataCase_ == 42) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(42, (io.greptime.v1.RowData.Value) valueData_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -5077,6 +5146,10 @@ public final class RowData {
|
||||
if (!getStructValue()
|
||||
.equals(other.getStructValue())) return false;
|
||||
break;
|
||||
case 42:
|
||||
if (!getJsonValue()
|
||||
.equals(other.getJsonValue())) return false;
|
||||
break;
|
||||
case 0:
|
||||
default:
|
||||
}
|
||||
@@ -5223,6 +5296,10 @@ public final class RowData {
|
||||
hash = (37 * hash) + STRUCT_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getStructValue().hashCode();
|
||||
break;
|
||||
case 42:
|
||||
hash = (37 * hash) + JSON_VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getJsonValue().hashCode();
|
||||
break;
|
||||
case 0:
|
||||
default:
|
||||
}
|
||||
@@ -5490,6 +5567,13 @@ public final class RowData {
|
||||
result.valueData_ = structValueBuilder_.build();
|
||||
}
|
||||
}
|
||||
if (valueDataCase_ == 42) {
|
||||
if (jsonValueBuilder_ == null) {
|
||||
result.valueData_ = valueData_;
|
||||
} else {
|
||||
result.valueData_ = jsonValueBuilder_.build();
|
||||
}
|
||||
}
|
||||
result.valueDataCase_ = valueDataCase_;
|
||||
onBuilt();
|
||||
return result;
|
||||
@@ -5658,6 +5742,10 @@ public final class RowData {
|
||||
mergeStructValue(other.getStructValue());
|
||||
break;
|
||||
}
|
||||
case JSON_VALUE: {
|
||||
mergeJsonValue(other.getJsonValue());
|
||||
break;
|
||||
}
|
||||
case VALUEDATA_NOT_SET: {
|
||||
break;
|
||||
}
|
||||
@@ -7357,6 +7445,148 @@ public final class RowData {
|
||||
onChanged();;
|
||||
return structValueBuilder_;
|
||||
}
|
||||
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.RowData.Value, io.greptime.v1.RowData.Value.Builder, io.greptime.v1.RowData.ValueOrBuilder> jsonValueBuilder_;
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
* @return Whether the jsonValue field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasJsonValue() {
|
||||
return valueDataCase_ == 42;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
* @return The jsonValue.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.RowData.Value getJsonValue() {
|
||||
if (jsonValueBuilder_ == null) {
|
||||
if (valueDataCase_ == 42) {
|
||||
return (io.greptime.v1.RowData.Value) valueData_;
|
||||
}
|
||||
return io.greptime.v1.RowData.Value.getDefaultInstance();
|
||||
} else {
|
||||
if (valueDataCase_ == 42) {
|
||||
return jsonValueBuilder_.getMessage();
|
||||
}
|
||||
return io.greptime.v1.RowData.Value.getDefaultInstance();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
*/
|
||||
public Builder setJsonValue(io.greptime.v1.RowData.Value value) {
|
||||
if (jsonValueBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
valueData_ = value;
|
||||
onChanged();
|
||||
} else {
|
||||
jsonValueBuilder_.setMessage(value);
|
||||
}
|
||||
valueDataCase_ = 42;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
*/
|
||||
public Builder setJsonValue(
|
||||
io.greptime.v1.RowData.Value.Builder builderForValue) {
|
||||
if (jsonValueBuilder_ == null) {
|
||||
valueData_ = builderForValue.build();
|
||||
onChanged();
|
||||
} else {
|
||||
jsonValueBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
valueDataCase_ = 42;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
*/
|
||||
public Builder mergeJsonValue(io.greptime.v1.RowData.Value value) {
|
||||
if (jsonValueBuilder_ == null) {
|
||||
if (valueDataCase_ == 42 &&
|
||||
valueData_ != io.greptime.v1.RowData.Value.getDefaultInstance()) {
|
||||
valueData_ = io.greptime.v1.RowData.Value.newBuilder((io.greptime.v1.RowData.Value) valueData_)
|
||||
.mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
valueData_ = value;
|
||||
}
|
||||
onChanged();
|
||||
} else {
|
||||
if (valueDataCase_ == 42) {
|
||||
jsonValueBuilder_.mergeFrom(value);
|
||||
} else {
|
||||
jsonValueBuilder_.setMessage(value);
|
||||
}
|
||||
}
|
||||
valueDataCase_ = 42;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
*/
|
||||
public Builder clearJsonValue() {
|
||||
if (jsonValueBuilder_ == null) {
|
||||
if (valueDataCase_ == 42) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (valueDataCase_ == 42) {
|
||||
valueDataCase_ = 0;
|
||||
valueData_ = null;
|
||||
}
|
||||
jsonValueBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
*/
|
||||
public io.greptime.v1.RowData.Value.Builder getJsonValueBuilder() {
|
||||
return getJsonValueFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.RowData.ValueOrBuilder getJsonValueOrBuilder() {
|
||||
if ((valueDataCase_ == 42) && (jsonValueBuilder_ != null)) {
|
||||
return jsonValueBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
if (valueDataCase_ == 42) {
|
||||
return (io.greptime.v1.RowData.Value) valueData_;
|
||||
}
|
||||
return io.greptime.v1.RowData.Value.getDefaultInstance();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.Value json_value = 42;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.RowData.Value, io.greptime.v1.RowData.Value.Builder, io.greptime.v1.RowData.ValueOrBuilder>
|
||||
getJsonValueFieldBuilder() {
|
||||
if (jsonValueBuilder_ == null) {
|
||||
if (!(valueDataCase_ == 42)) {
|
||||
valueData_ = io.greptime.v1.RowData.Value.getDefaultInstance();
|
||||
}
|
||||
jsonValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.RowData.Value, io.greptime.v1.RowData.Value.Builder, io.greptime.v1.RowData.ValueOrBuilder>(
|
||||
(io.greptime.v1.RowData.Value) valueData_,
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
valueData_ = null;
|
||||
}
|
||||
valueDataCase_ = 42;
|
||||
onChanged();;
|
||||
return jsonValueBuilder_;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -9049,7 +9279,7 @@ public final class RowData {
|
||||
"\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\"\234\007\n\005V" +
|
||||
"\n\006values\030\001 \003(\0132\022.greptime.v1.Value\"\306\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" +
|
||||
@@ -9072,12 +9302,13 @@ public final class RowData {
|
||||
"\n\020decimal128_value\030\037 \001(\0132\027.greptime.v1.D" +
|
||||
"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"
|
||||
"\030.greptime.v1.StructValueH\000\022(\n\njson_valu" +
|
||||
"e\030* \001(\0132\022.greptime.v1.ValueH\000B\014\n\nvalue_d" +
|
||||
"ata\".\n\tListValue\022!\n\005items\030\001 \003(\0132\022.grepti" +
|
||||
"me.v1.Value\"0\n\013StructValue\022!\n\005items\030\002 \003(" +
|
||||
"\0132\022.greptime.v1.ValueBP\n\016io.greptime.v1B" +
|
||||
"\007RowDataZ5github.com/GreptimeTeam/grepti" +
|
||||
"me-proto/go/greptime/v1b\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -9107,7 +9338,7 @@ public final class RowData {
|
||||
internal_static_greptime_v1_Value_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_Value_descriptor,
|
||||
new java.lang.String[] { "I8Value", "I16Value", "I32Value", "I64Value", "U8Value", "U16Value", "U32Value", "U64Value", "F32Value", "F64Value", "BoolValue", "BinaryValue", "StringValue", "DateValue", "DatetimeValue", "TimestampSecondValue", "TimestampMillisecondValue", "TimestampMicrosecondValue", "TimestampNanosecondValue", "TimeSecondValue", "TimeMillisecondValue", "TimeMicrosecondValue", "TimeNanosecondValue", "IntervalYearMonthValue", "IntervalDayTimeValue", "IntervalMonthDayNanoValue", "Decimal128Value", "ListValue", "StructValue", "ValueData", });
|
||||
new java.lang.String[] { "I8Value", "I16Value", "I32Value", "I64Value", "U8Value", "U16Value", "U32Value", "U64Value", "F32Value", "F64Value", "BoolValue", "BinaryValue", "StringValue", "DateValue", "DatetimeValue", "TimestampSecondValue", "TimestampMillisecondValue", "TimestampMicrosecondValue", "TimestampNanosecondValue", "TimeSecondValue", "TimeMillisecondValue", "TimeMicrosecondValue", "TimeNanosecondValue", "IntervalYearMonthValue", "IntervalDayTimeValue", "IntervalMonthDayNanoValue", "Decimal128Value", "ListValue", "StructValue", "JsonValue", "ValueData", });
|
||||
internal_static_greptime_v1_ListValue_descriptor =
|
||||
getDescriptor().getMessageTypes().get(4);
|
||||
internal_static_greptime_v1_ListValue_fieldAccessorTable = new
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -62,6 +62,7 @@ message Column {
|
||||
|
||||
repeated ListValue list_values = 40;
|
||||
repeated StructValue struct_values = 41;
|
||||
repeated Values json_values = 42;
|
||||
}
|
||||
|
||||
// The array of non-null values in this column.
|
||||
|
||||
@@ -198,10 +198,13 @@ message ColumnDataTypeExtension {
|
||||
oneof type_ext {
|
||||
DecimalTypeExtension decimal_type = 1;
|
||||
// Marks the binary column in proto is actually a JSON column.
|
||||
// Deprecated
|
||||
JsonTypeExtension json_type = 2;
|
||||
VectorTypeExtension vector_type = 3;
|
||||
ListTypeExtension list_type = 4;
|
||||
StructTypeExtension struct_type = 5;
|
||||
// Marks the data type is a logical json data
|
||||
JsonNativeTypeExtension json_native_type = 6;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -210,6 +213,7 @@ message DecimalTypeExtension {
|
||||
int32 scale = 2;
|
||||
}
|
||||
|
||||
// Deprecated
|
||||
enum JsonTypeExtension {
|
||||
JSON_BINARY = 0;
|
||||
}
|
||||
@@ -227,6 +231,11 @@ message StructTypeExtension {
|
||||
repeated StructField fields = 1;
|
||||
}
|
||||
|
||||
message JsonNativeTypeExtension {
|
||||
ColumnDataType datatype = 1;
|
||||
ColumnDataTypeExtension datatype_extension = 2;
|
||||
}
|
||||
|
||||
// Additional options for the column.
|
||||
message ColumnOptions {
|
||||
// Supported keys:
|
||||
|
||||
@@ -59,7 +59,6 @@ message RegionRequest {
|
||||
BulkInsertRequest bulk_insert = 16;
|
||||
SyncRequest sync = 17;
|
||||
ListMetadataRequest list_metadata = 18;
|
||||
BuildIndexRequest build_index = 19;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -268,7 +267,3 @@ message SyncRequest {
|
||||
message ListMetadataRequest {
|
||||
repeated uint64 region_ids = 1;
|
||||
}
|
||||
|
||||
message BuildIndexRequest {
|
||||
uint64 region_id = 1;
|
||||
}
|
||||
|
||||
@@ -79,6 +79,7 @@ message Value {
|
||||
|
||||
ListValue list_value = 40;
|
||||
StructValue struct_value = 41;
|
||||
Value json_value = 42;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user