From fe8c13f5f3c1fbef63f57fbdd29f0490dfeb987b Mon Sep 17 00:00:00 2001 From: Weny Xu Date: Wed, 30 Jul 2025 11:47:09 +0800 Subject: [PATCH] feat: introduce `SyncColumns` (#261) --- c++/greptime/v1/region/server.pb.cc | 411 +++++- c++/greptime/v1/region/server.pb.h | 333 ++++- go/greptime/v1/region/server.pb.go | 571 ++++---- .../java/io/greptime/v1/region/Server.java | 1143 ++++++++++++++++- proto/greptime/v1/region/server.proto | 5 + 5 files changed, 2085 insertions(+), 378 deletions(-) diff --git a/c++/greptime/v1/region/server.pb.cc b/c++/greptime/v1/region/server.pb.cc index 09884d2..8d6e4dd 100644 --- a/c++/greptime/v1/region/server.pb.cc +++ b/c++/greptime/v1/region/server.pb.cc @@ -299,6 +299,19 @@ struct AlterRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AlterRequestDefaultTypeInternal _AlterRequest_default_instance_; +PROTOBUF_CONSTEXPR SyncColumns::SyncColumns( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.column_defs_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct SyncColumnsDefaultTypeInternal { + PROTOBUF_CONSTEXPR SyncColumnsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~SyncColumnsDefaultTypeInternal() {} + union { + SyncColumns _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SyncColumnsDefaultTypeInternal _SyncColumns_default_instance_; PROTOBUF_CONSTEXPR AddColumns::AddColumns( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.add_columns_)*/{} @@ -505,7 +518,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT } // namespace region } // namespace v1 } // namespace greptime -static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[35]; +static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[36]; 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; @@ -708,9 +721,17 @@ 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::AlterRequest, _impl_.schema_version_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::AlterRequest, _impl_.kind_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::region::SyncColumns, _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::SyncColumns, _impl_.column_defs_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::AddColumns, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -847,21 +868,22 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 166, -1, -1, sizeof(::greptime::v1::region::CloseRequest)}, { 173, -1, -1, sizeof(::greptime::v1::region::AlterRequests)}, { 180, -1, -1, sizeof(::greptime::v1::region::AlterRequest)}, - { 200, -1, -1, sizeof(::greptime::v1::region::AddColumns)}, - { 207, -1, -1, sizeof(::greptime::v1::region::DropColumns)}, - { 214, -1, -1, sizeof(::greptime::v1::region::AddColumn)}, - { 222, -1, -1, sizeof(::greptime::v1::region::DropColumn)}, - { 229, -1, -1, sizeof(::greptime::v1::region::FlushRequest)}, - { 236, -1, -1, sizeof(::greptime::v1::region::Regular)}, - { 242, -1, -1, sizeof(::greptime::v1::region::StrictWindow)}, - { 249, -1, -1, sizeof(::greptime::v1::region::CompactRequest)}, - { 259, -1, -1, sizeof(::greptime::v1::region::TruncateRequest)}, - { 266, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)}, - { 274, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)}, - { 283, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)}, - { 290, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)}, - { 298, -1, -1, sizeof(::greptime::v1::region::SyncRequest)}, - { 308, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)}, + { 201, -1, -1, sizeof(::greptime::v1::region::SyncColumns)}, + { 208, -1, -1, sizeof(::greptime::v1::region::AddColumns)}, + { 215, -1, -1, sizeof(::greptime::v1::region::DropColumns)}, + { 222, -1, -1, sizeof(::greptime::v1::region::AddColumn)}, + { 230, -1, -1, sizeof(::greptime::v1::region::DropColumn)}, + { 237, -1, -1, sizeof(::greptime::v1::region::FlushRequest)}, + { 244, -1, -1, sizeof(::greptime::v1::region::Regular)}, + { 250, -1, -1, sizeof(::greptime::v1::region::StrictWindow)}, + { 257, -1, -1, sizeof(::greptime::v1::region::CompactRequest)}, + { 267, -1, -1, sizeof(::greptime::v1::region::TruncateRequest)}, + { 274, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)}, + { 282, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)}, + { 291, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)}, + { 298, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)}, + { 306, -1, -1, sizeof(::greptime::v1::region::SyncRequest)}, + { 316, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -885,6 +907,7 @@ static const ::_pb::Message* const file_default_instances[] = { &::greptime::v1::region::_CloseRequest_default_instance_._instance, &::greptime::v1::region::_AlterRequests_default_instance_._instance, &::greptime::v1::region::_AlterRequest_default_instance_._instance, + &::greptime::v1::region::_SyncColumns_default_instance_._instance, &::greptime::v1::region::_AddColumns_default_instance_._instance, &::greptime::v1::region::_DropColumns_default_instance_._instance, &::greptime::v1::region::_AddColumn_default_instance_._instance, @@ -969,7 +992,7 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"!\n\014CloseRequest\022\021\n" "\tregion_id\030\001 \001(\004\"C\n\rAlterRequests\0222\n\010req" "uests\030\001 \003(\0132 .greptime.v1.region.AlterRe" - "quest\"\220\005\n\014AlterRequest\022\021\n\tregion_id\030\001 \001(" + "quest\"\311\005\n\014AlterRequest\022\021\n\tregion_id\030\001 \001(" "\004\0225\n\013add_columns\030\002 \001(\0132\036.greptime.v1.reg" "ion.AddColumnsH\000\0227\n\014drop_columns\030\003 \001(\0132\037" ".greptime.v1.region.DropColumnsH\000\022=\n\023mod" @@ -984,41 +1007,44 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P "H\000\022.\n\013set_indexes\030\r \001(\0132\027.greptime.v1.Se" "tIndexesH\000\0222\n\runset_indexes\030\016 \001(\0132\031.grep" "time.v1.UnsetIndexesH\000\0220\n\014set_defaults\030\017" - " \001(\0132\030.greptime.v1.SetDefaultsH\000\022\026\n\016sche" - "ma_version\030\004 \001(\004B\006\n\004kind\"@\n\nAddColumns\0222" - "\n\013add_columns\030\001 \003(\0132\035.greptime.v1.region" - ".AddColumn\"C\n\013DropColumns\0224\n\014drop_column" - "s\030\001 \003(\0132\036.greptime.v1.region.DropColumn\"" - "v\n\tAddColumn\0227\n\ncolumn_def\030\001 \001(\0132#.grept" - "ime.v1.region.RegionColumnDef\0220\n\010locatio" - "n\030\003 \001(\0132\036.greptime.v1.AddColumnLocation\"" - "\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"!\n\014FlushRequ" - "est\022\021\n\tregion_id\030\001 \001(\004\"\t\n\007Regular\"&\n\014Str" - "ictWindow\022\026\n\016window_seconds\030\001 \001(\003\"\231\001\n\016Co" - "mpactRequest\022\021\n\tregion_id\030\001 \001(\004\022.\n\007regul" - "ar\030\002 \001(\0132\033.greptime.v1.region.RegularH\000\022" - "9\n\rstrict_window\030\003 \001(\0132 .greptime.v1.reg" - "ion.StrictWindowH\000B\t\n\007options\"$\n\017Truncat" - "eRequest\022\021\n\tregion_id\030\001 \001(\004\"P\n\017RegionCol" - "umnDef\022*\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1" - ".ColumnDef\022\021\n\tcolumn_id\030\002 \001(\r\"Z\n\021BulkIns" - "ertRequest\022\021\n\tregion_id\030\001 \001(\004\022*\n\tarrow_i" - "pc\030\002 \001(\0132\025.greptime.v1.ArrowIpcH\000B\006\n\004bod" - "y\"1\n\020MitoManifestInfo\022\035\n\025data_manifest_v" - "ersion\030\001 \001(\004\"V\n\022MetricManifestInfo\022\035\n\025da" - "ta_manifest_version\030\001 \001(\004\022!\n\031metadata_ma" - "nifest_version\030\002 \001(\004\"\275\001\n\013SyncRequest\022\021\n\t" - "region_id\030\001 \001(\004\022B\n\022mito_manifest_info\030\002 " - "\001(\0132$.greptime.v1.region.MitoManifestInf" - "oH\000\022F\n\024metric_manifest_info\030\003 \001(\0132&.grep" - "time.v1.region.MetricManifestInfoH\000B\017\n\rm" - "anifest_info\")\n\023ListMetadataRequest\022\022\n\nr" - "egion_ids\030\001 \003(\0042Y\n\006Region\022O\n\006Handle\022!.gr" - "eptime.v1.region.RegionRequest\032\".greptim" - "e.v1.region.RegionResponseB]\n\025io.greptim" - "e.v1.regionB\006ServerZ_impl_.kind_.set_defaults_; } +const ::greptime::v1::region::SyncColumns& +AlterRequest::_Internal::sync_columns(const AlterRequest* msg) { + return *msg->_impl_.kind_.sync_columns_; +} void AlterRequest::set_allocated_add_columns(::greptime::v1::region::AddColumns* add_columns) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_kind(); @@ -6043,6 +6074,21 @@ void AlterRequest::clear_set_defaults() { clear_has_kind(); } } +void AlterRequest::set_allocated_sync_columns(::greptime::v1::region::SyncColumns* sync_columns) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_kind(); + if (sync_columns) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(sync_columns); + if (message_arena != submessage_arena) { + sync_columns = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, sync_columns, submessage_arena); + } + set_has_sync_columns(); + _impl_.kind_.sync_columns_ = sync_columns; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.AlterRequest.sync_columns) +} AlterRequest::AlterRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -6120,6 +6166,11 @@ AlterRequest::AlterRequest(const AlterRequest& from) from._internal_set_defaults()); break; } + case kSyncColumns: { + _this->_internal_mutable_sync_columns()->::greptime::v1::region::SyncColumns::MergeFrom( + from._internal_sync_columns()); + break; + } case KIND_NOT_SET: { break; } @@ -6230,6 +6281,12 @@ void AlterRequest::clear_kind() { } break; } + case kSyncColumns: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.sync_columns_; + } + break; + } case KIND_NOT_SET: { break; } @@ -6361,6 +6418,14 @@ const char* AlterRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* } else goto handle_unusual; continue; + // .greptime.v1.region.SyncColumns sync_columns = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { + ptr = ctx->ParseMessage(_internal_mutable_sync_columns(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -6479,6 +6544,13 @@ uint8_t* AlterRequest::_InternalSerialize( _Internal::set_defaults(this).GetCachedSize(), target, stream); } + // .greptime.v1.region.SyncColumns sync_columns = 16; + if (_internal_has_sync_columns()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(16, _Internal::sync_columns(this), + _Internal::sync_columns(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); @@ -6583,6 +6655,13 @@ size_t AlterRequest::ByteSizeLong() const { *_impl_.kind_.set_defaults_); break; } + // .greptime.v1.region.SyncColumns sync_columns = 16; + case kSyncColumns: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.kind_.sync_columns_); + break; + } case KIND_NOT_SET: { break; } @@ -6667,6 +6746,11 @@ void AlterRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::P from._internal_set_defaults()); break; } + case kSyncColumns: { + _this->_internal_mutable_sync_columns()->::greptime::v1::region::SyncColumns::MergeFrom( + from._internal_sync_columns()); + break; + } case KIND_NOT_SET: { break; } @@ -6706,6 +6790,191 @@ void AlterRequest::InternalSwap(AlterRequest* other) { // =================================================================== +class SyncColumns::_Internal { + public: +}; + +SyncColumns::SyncColumns(::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.SyncColumns) +} +SyncColumns::SyncColumns(const SyncColumns& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + SyncColumns* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.column_defs_){from._impl_.column_defs_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:greptime.v1.region.SyncColumns) +} + +inline void SyncColumns::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.column_defs_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +SyncColumns::~SyncColumns() { + // @@protoc_insertion_point(destructor:greptime.v1.region.SyncColumns) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void SyncColumns::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.column_defs_.~RepeatedPtrField(); +} + +void SyncColumns::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void SyncColumns::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.region.SyncColumns) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.column_defs_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* SyncColumns::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .greptime.v1.region.RegionColumnDef column_defs = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_column_defs(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* SyncColumns::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.region.SyncColumns) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .greptime.v1.region.RegionColumnDef column_defs = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_column_defs_size()); i < n; i++) { + const auto& repfield = this->_internal_column_defs(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.region.SyncColumns) + return target; +} + +size_t SyncColumns::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.region.SyncColumns) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .greptime.v1.region.RegionColumnDef column_defs = 1; + total_size += 1UL * this->_internal_column_defs_size(); + for (const auto& msg : this->_impl_.column_defs_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SyncColumns::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + SyncColumns::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SyncColumns::GetClassData() const { return &_class_data_; } + + +void SyncColumns::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.region.SyncColumns) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.column_defs_.MergeFrom(from._impl_.column_defs_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void SyncColumns::CopyFrom(const SyncColumns& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.region.SyncColumns) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SyncColumns::IsInitialized() const { + return true; +} + +void SyncColumns::InternalSwap(SyncColumns* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.column_defs_.InternalSwap(&other->_impl_.column_defs_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata SyncColumns::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[20]); +} + +// =================================================================== + class AddColumns::_Internal { public: }; @@ -6886,7 +7155,7 @@ void AddColumns::InternalSwap(AddColumns* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AddColumns::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[20]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[21]); } // =================================================================== @@ -7071,7 +7340,7 @@ void DropColumns::InternalSwap(DropColumns* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DropColumns::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[21]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[22]); } // =================================================================== @@ -7316,7 +7585,7 @@ void AddColumn::InternalSwap(AddColumn* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AddColumn::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[22]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[23]); } // =================================================================== @@ -7519,7 +7788,7 @@ void DropColumn::InternalSwap(DropColumn* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DropColumn::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[23]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[24]); } // =================================================================== @@ -7697,7 +7966,7 @@ void FlushRequest::InternalSwap(FlushRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata FlushRequest::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[24]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[25]); } // =================================================================== @@ -7737,7 +8006,7 @@ const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Regular::GetClassData() const ::PROTOBUF_NAMESPACE_ID::Metadata Regular::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[25]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[26]); } // =================================================================== @@ -7915,7 +8184,7 @@ void StrictWindow::InternalSwap(StrictWindow* other) { ::PROTOBUF_NAMESPACE_ID::Metadata StrictWindow::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[26]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[27]); } // =================================================================== @@ -8247,7 +8516,7 @@ void CompactRequest::InternalSwap(CompactRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CompactRequest::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[27]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[28]); } // =================================================================== @@ -8425,7 +8694,7 @@ void TruncateRequest::InternalSwap(TruncateRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata TruncateRequest::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[28]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[29]); } // =================================================================== @@ -8655,7 +8924,7 @@ void RegionColumnDef::InternalSwap(RegionColumnDef* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RegionColumnDef::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[29]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[30]); } // =================================================================== @@ -8938,7 +9207,7 @@ void BulkInsertRequest::InternalSwap(BulkInsertRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata BulkInsertRequest::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[30]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[31]); } // =================================================================== @@ -9116,7 +9385,7 @@ void MitoManifestInfo::InternalSwap(MitoManifestInfo* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MitoManifestInfo::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[31]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[32]); } // =================================================================== @@ -9327,7 +9596,7 @@ void MetricManifestInfo::InternalSwap(MetricManifestInfo* other) { ::PROTOBUF_NAMESPACE_ID::Metadata MetricManifestInfo::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[32]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[33]); } // =================================================================== @@ -9659,7 +9928,7 @@ void SyncRequest::InternalSwap(SyncRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata SyncRequest::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[33]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[34]); } // =================================================================== @@ -9852,7 +10121,7 @@ void ListMetadataRequest::InternalSwap(ListMetadataRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ListMetadataRequest::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[34]); + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[35]); } // @@protoc_insertion_point(namespace_scope) @@ -9940,6 +10209,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::region::AlterRequest* Arena::CreateMaybeMessage< ::greptime::v1::region::AlterRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::region::AlterRequest >(arena); } +template<> PROTOBUF_NOINLINE ::greptime::v1::region::SyncColumns* +Arena::CreateMaybeMessage< ::greptime::v1::region::SyncColumns >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::region::SyncColumns >(arena); +} template<> PROTOBUF_NOINLINE ::greptime::v1::region::AddColumns* Arena::CreateMaybeMessage< ::greptime::v1::region::AddColumns >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::region::AddColumns >(arena); diff --git a/c++/greptime/v1/region/server.pb.h b/c++/greptime/v1/region/server.pb.h index da49a9b..ff2ab5b 100644 --- a/c++/greptime/v1/region/server.pb.h +++ b/c++/greptime/v1/region/server.pb.h @@ -153,6 +153,9 @@ extern RegularDefaultTypeInternal _Regular_default_instance_; class StrictWindow; struct StrictWindowDefaultTypeInternal; extern StrictWindowDefaultTypeInternal _StrictWindow_default_instance_; +class SyncColumns; +struct SyncColumnsDefaultTypeInternal; +extern SyncColumnsDefaultTypeInternal _SyncColumns_default_instance_; class SyncRequest; struct SyncRequestDefaultTypeInternal; extern SyncRequestDefaultTypeInternal _SyncRequest_default_instance_; @@ -196,6 +199,7 @@ template<> ::greptime::v1::region::RegionResponse* Arena::CreateMaybeMessage<::g template<> ::greptime::v1::region::RegionResponse_ExtensionsEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::region::RegionResponse_ExtensionsEntry_DoNotUse>(Arena*); template<> ::greptime::v1::region::Regular* Arena::CreateMaybeMessage<::greptime::v1::region::Regular>(Arena*); template<> ::greptime::v1::region::StrictWindow* Arena::CreateMaybeMessage<::greptime::v1::region::StrictWindow>(Arena*); +template<> ::greptime::v1::region::SyncColumns* Arena::CreateMaybeMessage<::greptime::v1::region::SyncColumns>(Arena*); template<> ::greptime::v1::region::SyncRequest* Arena::CreateMaybeMessage<::greptime::v1::region::SyncRequest>(Arena*); template<> ::greptime::v1::region::TruncateRequest* Arena::CreateMaybeMessage<::greptime::v1::region::TruncateRequest>(Arena*); PROTOBUF_NAMESPACE_CLOSE @@ -3372,6 +3376,7 @@ class AlterRequest final : kSetIndexes = 13, kUnsetIndexes = 14, kSetDefaults = 15, + kSyncColumns = 16, KIND_NOT_SET = 0, }; @@ -3466,6 +3471,7 @@ class AlterRequest final : kSetIndexesFieldNumber = 13, kUnsetIndexesFieldNumber = 14, kSetDefaultsFieldNumber = 15, + kSyncColumnsFieldNumber = 16, }; // uint64 region_id = 1; void clear_region_id(); @@ -3683,6 +3689,24 @@ class AlterRequest final : ::greptime::v1::SetDefaults* set_defaults); ::greptime::v1::SetDefaults* unsafe_arena_release_set_defaults(); + // .greptime.v1.region.SyncColumns sync_columns = 16; + bool has_sync_columns() const; + private: + bool _internal_has_sync_columns() const; + public: + void clear_sync_columns(); + const ::greptime::v1::region::SyncColumns& sync_columns() const; + PROTOBUF_NODISCARD ::greptime::v1::region::SyncColumns* release_sync_columns(); + ::greptime::v1::region::SyncColumns* mutable_sync_columns(); + void set_allocated_sync_columns(::greptime::v1::region::SyncColumns* sync_columns); + private: + const ::greptime::v1::region::SyncColumns& _internal_sync_columns() const; + ::greptime::v1::region::SyncColumns* _internal_mutable_sync_columns(); + public: + void unsafe_arena_set_allocated_sync_columns( + ::greptime::v1::region::SyncColumns* sync_columns); + ::greptime::v1::region::SyncColumns* unsafe_arena_release_sync_columns(); + void clear_kind(); KindCase kind_case() const; // @@protoc_insertion_point(class_scope:greptime.v1.region.AlterRequest) @@ -3699,6 +3723,7 @@ class AlterRequest final : void set_has_set_indexes(); void set_has_unset_indexes(); void set_has_set_defaults(); + void set_has_sync_columns(); inline bool has_kind() const; inline void clear_has_kind(); @@ -3723,6 +3748,7 @@ class AlterRequest final : ::greptime::v1::SetIndexes* set_indexes_; ::greptime::v1::UnsetIndexes* unset_indexes_; ::greptime::v1::SetDefaults* set_defaults_; + ::greptime::v1::region::SyncColumns* sync_columns_; } kind_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; uint32_t _oneof_case_[1]; @@ -3733,6 +3759,163 @@ class AlterRequest final : }; // ------------------------------------------------------------------- +class SyncColumns final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.region.SyncColumns) */ { + public: + inline SyncColumns() : SyncColumns(nullptr) {} + ~SyncColumns() override; + explicit PROTOBUF_CONSTEXPR SyncColumns(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + SyncColumns(const SyncColumns& from); + SyncColumns(SyncColumns&& from) noexcept + : SyncColumns() { + *this = ::std::move(from); + } + + inline SyncColumns& operator=(const SyncColumns& from) { + CopyFrom(from); + return *this; + } + inline SyncColumns& operator=(SyncColumns&& 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 SyncColumns& default_instance() { + return *internal_default_instance(); + } + static inline const SyncColumns* internal_default_instance() { + return reinterpret_cast( + &_SyncColumns_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(SyncColumns& a, SyncColumns& b) { + a.Swap(&b); + } + inline void Swap(SyncColumns* 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(SyncColumns* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SyncColumns* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const SyncColumns& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const SyncColumns& from) { + SyncColumns::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(SyncColumns* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.region.SyncColumns"; + } + protected: + explicit SyncColumns(::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 { + kColumnDefsFieldNumber = 1, + }; + // repeated .greptime.v1.region.RegionColumnDef column_defs = 1; + int column_defs_size() const; + private: + int _internal_column_defs_size() const; + public: + void clear_column_defs(); + ::greptime::v1::region::RegionColumnDef* mutable_column_defs(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::region::RegionColumnDef >* + mutable_column_defs(); + private: + const ::greptime::v1::region::RegionColumnDef& _internal_column_defs(int index) const; + ::greptime::v1::region::RegionColumnDef* _internal_add_column_defs(); + public: + const ::greptime::v1::region::RegionColumnDef& column_defs(int index) const; + ::greptime::v1::region::RegionColumnDef* add_column_defs(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::region::RegionColumnDef >& + column_defs() const; + + // @@protoc_insertion_point(class_scope:greptime.v1.region.SyncColumns) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::region::RegionColumnDef > column_defs_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fregion_2fserver_2eproto; +}; +// ------------------------------------------------------------------- + class AddColumns final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.region.AddColumns) */ { public: @@ -3781,7 +3964,7 @@ class AddColumns final : &_AddColumns_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 21; friend void swap(AddColumns& a, AddColumns& b) { a.Swap(&b); @@ -3938,7 +4121,7 @@ class DropColumns final : &_DropColumns_default_instance_); } static constexpr int kIndexInFileMessages = - 21; + 22; friend void swap(DropColumns& a, DropColumns& b) { a.Swap(&b); @@ -4095,7 +4278,7 @@ class AddColumn final : &_AddColumn_default_instance_); } static constexpr int kIndexInFileMessages = - 22; + 23; friend void swap(AddColumn& a, AddColumn& b) { a.Swap(&b); @@ -4272,7 +4455,7 @@ class DropColumn final : &_DropColumn_default_instance_); } static constexpr int kIndexInFileMessages = - 23; + 24; friend void swap(DropColumn& a, DropColumn& b) { a.Swap(&b); @@ -4425,7 +4608,7 @@ class FlushRequest final : &_FlushRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 24; + 25; friend void swap(FlushRequest& a, FlushRequest& b) { a.Swap(&b); @@ -4572,7 +4755,7 @@ class Regular final : &_Regular_default_instance_); } static constexpr int kIndexInFileMessages = - 25; + 26; friend void swap(Regular& a, Regular& b) { a.Swap(&b); @@ -4691,7 +4874,7 @@ class StrictWindow final : &_StrictWindow_default_instance_); } static constexpr int kIndexInFileMessages = - 26; + 27; friend void swap(StrictWindow& a, StrictWindow& b) { a.Swap(&b); @@ -4845,7 +5028,7 @@ class CompactRequest final : &_CompactRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 27; + 28; friend void swap(CompactRequest& a, CompactRequest& b) { a.Swap(&b); @@ -5046,7 +5229,7 @@ class TruncateRequest final : &_TruncateRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 28; + 29; friend void swap(TruncateRequest& a, TruncateRequest& b) { a.Swap(&b); @@ -5194,7 +5377,7 @@ class RegionColumnDef final : &_RegionColumnDef_default_instance_); } static constexpr int kIndexInFileMessages = - 29; + 30; friend void swap(RegionColumnDef& a, RegionColumnDef& b) { a.Swap(&b); @@ -5367,7 +5550,7 @@ class BulkInsertRequest final : &_BulkInsertRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 30; + 31; friend void swap(BulkInsertRequest& a, BulkInsertRequest& b) { a.Swap(&b); @@ -5547,7 +5730,7 @@ class MitoManifestInfo final : &_MitoManifestInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 31; + 32; friend void swap(MitoManifestInfo& a, MitoManifestInfo& b) { a.Swap(&b); @@ -5695,7 +5878,7 @@ class MetricManifestInfo final : &_MetricManifestInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 32; + 33; friend void swap(MetricManifestInfo& a, MetricManifestInfo& b) { a.Swap(&b); @@ -5860,7 +6043,7 @@ class SyncRequest final : &_SyncRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 33; + 34; friend void swap(SyncRequest& a, SyncRequest& b) { a.Swap(&b); @@ -6061,7 +6244,7 @@ class ListMetadataRequest final : &_ListMetadataRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 34; + 35; friend void swap(ListMetadataRequest& a, ListMetadataRequest& b) { a.Swap(&b); @@ -9660,6 +9843,80 @@ inline ::greptime::v1::SetDefaults* AlterRequest::mutable_set_defaults() { return _msg; } +// .greptime.v1.region.SyncColumns sync_columns = 16; +inline bool AlterRequest::_internal_has_sync_columns() const { + return kind_case() == kSyncColumns; +} +inline bool AlterRequest::has_sync_columns() const { + return _internal_has_sync_columns(); +} +inline void AlterRequest::set_has_sync_columns() { + _impl_._oneof_case_[0] = kSyncColumns; +} +inline void AlterRequest::clear_sync_columns() { + if (_internal_has_sync_columns()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.sync_columns_; + } + clear_has_kind(); + } +} +inline ::greptime::v1::region::SyncColumns* AlterRequest::release_sync_columns() { + // @@protoc_insertion_point(field_release:greptime.v1.region.AlterRequest.sync_columns) + if (_internal_has_sync_columns()) { + clear_has_kind(); + ::greptime::v1::region::SyncColumns* temp = _impl_.kind_.sync_columns_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.kind_.sync_columns_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::region::SyncColumns& AlterRequest::_internal_sync_columns() const { + return _internal_has_sync_columns() + ? *_impl_.kind_.sync_columns_ + : reinterpret_cast< ::greptime::v1::region::SyncColumns&>(::greptime::v1::region::_SyncColumns_default_instance_); +} +inline const ::greptime::v1::region::SyncColumns& AlterRequest::sync_columns() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.AlterRequest.sync_columns) + return _internal_sync_columns(); +} +inline ::greptime::v1::region::SyncColumns* AlterRequest::unsafe_arena_release_sync_columns() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.region.AlterRequest.sync_columns) + if (_internal_has_sync_columns()) { + clear_has_kind(); + ::greptime::v1::region::SyncColumns* temp = _impl_.kind_.sync_columns_; + _impl_.kind_.sync_columns_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void AlterRequest::unsafe_arena_set_allocated_sync_columns(::greptime::v1::region::SyncColumns* sync_columns) { + clear_kind(); + if (sync_columns) { + set_has_sync_columns(); + _impl_.kind_.sync_columns_ = sync_columns; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.AlterRequest.sync_columns) +} +inline ::greptime::v1::region::SyncColumns* AlterRequest::_internal_mutable_sync_columns() { + if (!_internal_has_sync_columns()) { + clear_kind(); + set_has_sync_columns(); + _impl_.kind_.sync_columns_ = CreateMaybeMessage< ::greptime::v1::region::SyncColumns >(GetArenaForAllocation()); + } + return _impl_.kind_.sync_columns_; +} +inline ::greptime::v1::region::SyncColumns* AlterRequest::mutable_sync_columns() { + ::greptime::v1::region::SyncColumns* _msg = _internal_mutable_sync_columns(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.AlterRequest.sync_columns) + return _msg; +} + // uint64 schema_version = 4; inline void AlterRequest::clear_schema_version() { _impl_.schema_version_ = uint64_t{0u}; @@ -9691,6 +9948,50 @@ inline AlterRequest::KindCase AlterRequest::kind_case() const { } // ------------------------------------------------------------------- +// SyncColumns + +// repeated .greptime.v1.region.RegionColumnDef column_defs = 1; +inline int SyncColumns::_internal_column_defs_size() const { + return _impl_.column_defs_.size(); +} +inline int SyncColumns::column_defs_size() const { + return _internal_column_defs_size(); +} +inline void SyncColumns::clear_column_defs() { + _impl_.column_defs_.Clear(); +} +inline ::greptime::v1::region::RegionColumnDef* SyncColumns::mutable_column_defs(int index) { + // @@protoc_insertion_point(field_mutable:greptime.v1.region.SyncColumns.column_defs) + return _impl_.column_defs_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::region::RegionColumnDef >* +SyncColumns::mutable_column_defs() { + // @@protoc_insertion_point(field_mutable_list:greptime.v1.region.SyncColumns.column_defs) + return &_impl_.column_defs_; +} +inline const ::greptime::v1::region::RegionColumnDef& SyncColumns::_internal_column_defs(int index) const { + return _impl_.column_defs_.Get(index); +} +inline const ::greptime::v1::region::RegionColumnDef& SyncColumns::column_defs(int index) const { + // @@protoc_insertion_point(field_get:greptime.v1.region.SyncColumns.column_defs) + return _internal_column_defs(index); +} +inline ::greptime::v1::region::RegionColumnDef* SyncColumns::_internal_add_column_defs() { + return _impl_.column_defs_.Add(); +} +inline ::greptime::v1::region::RegionColumnDef* SyncColumns::add_column_defs() { + ::greptime::v1::region::RegionColumnDef* _add = _internal_add_column_defs(); + // @@protoc_insertion_point(field_add:greptime.v1.region.SyncColumns.column_defs) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::region::RegionColumnDef >& +SyncColumns::column_defs() const { + // @@protoc_insertion_point(field_list:greptime.v1.region.SyncColumns.column_defs) + return _impl_.column_defs_; +} + +// ------------------------------------------------------------------- + // AddColumns // repeated .greptime.v1.region.AddColumn add_columns = 1; @@ -10846,6 +11147,8 @@ ListMetadataRequest::mutable_region_ids() { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/go/greptime/v1/region/server.pb.go b/go/greptime/v1/region/server.pb.go index a9bac55..2058a6a 100644 --- a/go/greptime/v1/region/server.pb.go +++ b/go/greptime/v1/region/server.pb.go @@ -1167,6 +1167,7 @@ type AlterRequest struct { // *AlterRequest_SetIndexes // *AlterRequest_UnsetIndexes // *AlterRequest_SetDefaults + // *AlterRequest_SyncColumns Kind isAlterRequest_Kind `protobuf_oneof:"kind"` // The version of the schema before applying the alteration. SchemaVersion uint64 `protobuf:"varint,4,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"` @@ -1295,6 +1296,13 @@ func (x *AlterRequest) GetSetDefaults() *v1.SetDefaults { return nil } +func (x *AlterRequest) GetSyncColumns() *SyncColumns { + if x, ok := x.GetKind().(*AlterRequest_SyncColumns); ok { + return x.SyncColumns + } + return nil +} + func (x *AlterRequest) GetSchemaVersion() uint64 { if x != nil { return x.SchemaVersion @@ -1352,6 +1360,10 @@ type AlterRequest_SetDefaults struct { SetDefaults *v1.SetDefaults `protobuf:"bytes,15,opt,name=set_defaults,json=setDefaults,proto3,oneof"` } +type AlterRequest_SyncColumns struct { + SyncColumns *SyncColumns `protobuf:"bytes,16,opt,name=sync_columns,json=syncColumns,proto3,oneof"` +} + func (*AlterRequest_AddColumns) isAlterRequest_Kind() {} func (*AlterRequest_DropColumns) isAlterRequest_Kind() {} @@ -1374,6 +1386,55 @@ func (*AlterRequest_UnsetIndexes) isAlterRequest_Kind() {} func (*AlterRequest_SetDefaults) isAlterRequest_Kind() {} +func (*AlterRequest_SyncColumns) isAlterRequest_Kind() {} + +type SyncColumns struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnDefs []*RegionColumnDef `protobuf:"bytes,1,rep,name=column_defs,json=columnDefs,proto3" json:"column_defs,omitempty"` +} + +func (x *SyncColumns) Reset() { + *x = SyncColumns{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_region_server_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncColumns) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncColumns) ProtoMessage() {} + +func (x *SyncColumns) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_region_server_proto_msgTypes[16] + 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 SyncColumns.ProtoReflect.Descriptor instead. +func (*SyncColumns) Descriptor() ([]byte, []int) { + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{16} +} + +func (x *SyncColumns) GetColumnDefs() []*RegionColumnDef { + if x != nil { + return x.ColumnDefs + } + return nil +} + type AddColumns struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1385,7 +1446,7 @@ type AddColumns struct { func (x *AddColumns) Reset() { *x = AddColumns{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[16] + mi := &file_greptime_v1_region_server_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1398,7 +1459,7 @@ func (x *AddColumns) String() string { func (*AddColumns) ProtoMessage() {} func (x *AddColumns) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[16] + mi := &file_greptime_v1_region_server_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1411,7 +1472,7 @@ func (x *AddColumns) ProtoReflect() protoreflect.Message { // Deprecated: Use AddColumns.ProtoReflect.Descriptor instead. func (*AddColumns) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{16} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{17} } func (x *AddColumns) GetAddColumns() []*AddColumn { @@ -1432,7 +1493,7 @@ type DropColumns struct { func (x *DropColumns) Reset() { *x = DropColumns{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[17] + mi := &file_greptime_v1_region_server_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1445,7 +1506,7 @@ func (x *DropColumns) String() string { func (*DropColumns) ProtoMessage() {} func (x *DropColumns) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[17] + mi := &file_greptime_v1_region_server_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1458,7 +1519,7 @@ func (x *DropColumns) ProtoReflect() protoreflect.Message { // Deprecated: Use DropColumns.ProtoReflect.Descriptor instead. func (*DropColumns) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{17} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{18} } func (x *DropColumns) GetDropColumns() []*DropColumn { @@ -1480,7 +1541,7 @@ type AddColumn struct { func (x *AddColumn) Reset() { *x = AddColumn{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[18] + mi := &file_greptime_v1_region_server_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1493,7 +1554,7 @@ func (x *AddColumn) String() string { func (*AddColumn) ProtoMessage() {} func (x *AddColumn) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[18] + mi := &file_greptime_v1_region_server_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1506,7 +1567,7 @@ func (x *AddColumn) ProtoReflect() protoreflect.Message { // Deprecated: Use AddColumn.ProtoReflect.Descriptor instead. func (*AddColumn) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{18} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{19} } func (x *AddColumn) GetColumnDef() *RegionColumnDef { @@ -1534,7 +1595,7 @@ type DropColumn struct { func (x *DropColumn) Reset() { *x = DropColumn{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[19] + mi := &file_greptime_v1_region_server_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1547,7 +1608,7 @@ func (x *DropColumn) String() string { func (*DropColumn) ProtoMessage() {} func (x *DropColumn) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[19] + mi := &file_greptime_v1_region_server_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1560,7 +1621,7 @@ func (x *DropColumn) ProtoReflect() protoreflect.Message { // Deprecated: Use DropColumn.ProtoReflect.Descriptor instead. func (*DropColumn) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{19} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{20} } func (x *DropColumn) GetName() string { @@ -1581,7 +1642,7 @@ type FlushRequest struct { func (x *FlushRequest) Reset() { *x = FlushRequest{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[20] + mi := &file_greptime_v1_region_server_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1594,7 +1655,7 @@ func (x *FlushRequest) String() string { func (*FlushRequest) ProtoMessage() {} func (x *FlushRequest) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[20] + mi := &file_greptime_v1_region_server_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1607,7 +1668,7 @@ func (x *FlushRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FlushRequest.ProtoReflect.Descriptor instead. func (*FlushRequest) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{20} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{21} } func (x *FlushRequest) GetRegionId() uint64 { @@ -1627,7 +1688,7 @@ type Regular struct { func (x *Regular) Reset() { *x = Regular{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[21] + mi := &file_greptime_v1_region_server_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1640,7 +1701,7 @@ func (x *Regular) String() string { func (*Regular) ProtoMessage() {} func (x *Regular) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[21] + mi := &file_greptime_v1_region_server_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1653,7 +1714,7 @@ func (x *Regular) ProtoReflect() protoreflect.Message { // Deprecated: Use Regular.ProtoReflect.Descriptor instead. func (*Regular) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{21} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{22} } // / Strictly-windowed compaction. @@ -1668,7 +1729,7 @@ type StrictWindow struct { func (x *StrictWindow) Reset() { *x = StrictWindow{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[22] + mi := &file_greptime_v1_region_server_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1681,7 +1742,7 @@ func (x *StrictWindow) String() string { func (*StrictWindow) ProtoMessage() {} func (x *StrictWindow) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[22] + mi := &file_greptime_v1_region_server_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1694,7 +1755,7 @@ func (x *StrictWindow) ProtoReflect() protoreflect.Message { // Deprecated: Use StrictWindow.ProtoReflect.Descriptor instead. func (*StrictWindow) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{22} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{23} } func (x *StrictWindow) GetWindowSeconds() int64 { @@ -1720,7 +1781,7 @@ type CompactRequest struct { func (x *CompactRequest) Reset() { *x = CompactRequest{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[23] + mi := &file_greptime_v1_region_server_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1733,7 +1794,7 @@ func (x *CompactRequest) String() string { func (*CompactRequest) ProtoMessage() {} func (x *CompactRequest) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[23] + mi := &file_greptime_v1_region_server_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1746,7 +1807,7 @@ func (x *CompactRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CompactRequest.ProtoReflect.Descriptor instead. func (*CompactRequest) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{23} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{24} } func (x *CompactRequest) GetRegionId() uint64 { @@ -1804,7 +1865,7 @@ type TruncateRequest struct { func (x *TruncateRequest) Reset() { *x = TruncateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[24] + mi := &file_greptime_v1_region_server_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1817,7 +1878,7 @@ func (x *TruncateRequest) String() string { func (*TruncateRequest) ProtoMessage() {} func (x *TruncateRequest) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[24] + mi := &file_greptime_v1_region_server_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1830,7 +1891,7 @@ func (x *TruncateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use TruncateRequest.ProtoReflect.Descriptor instead. func (*TruncateRequest) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{24} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{25} } func (x *TruncateRequest) GetRegionId() uint64 { @@ -1856,7 +1917,7 @@ type RegionColumnDef struct { func (x *RegionColumnDef) Reset() { *x = RegionColumnDef{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[25] + mi := &file_greptime_v1_region_server_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1869,7 +1930,7 @@ func (x *RegionColumnDef) String() string { func (*RegionColumnDef) ProtoMessage() {} func (x *RegionColumnDef) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[25] + mi := &file_greptime_v1_region_server_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1882,7 +1943,7 @@ func (x *RegionColumnDef) ProtoReflect() protoreflect.Message { // Deprecated: Use RegionColumnDef.ProtoReflect.Descriptor instead. func (*RegionColumnDef) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{25} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{26} } func (x *RegionColumnDef) GetColumnDef() *v1.ColumnDef { @@ -1915,7 +1976,7 @@ type BulkInsertRequest struct { func (x *BulkInsertRequest) Reset() { *x = BulkInsertRequest{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[26] + mi := &file_greptime_v1_region_server_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1928,7 +1989,7 @@ func (x *BulkInsertRequest) String() string { func (*BulkInsertRequest) ProtoMessage() {} func (x *BulkInsertRequest) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[26] + mi := &file_greptime_v1_region_server_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1941,7 +2002,7 @@ func (x *BulkInsertRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BulkInsertRequest.ProtoReflect.Descriptor instead. func (*BulkInsertRequest) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{26} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{27} } func (x *BulkInsertRequest) GetRegionId() uint64 { @@ -1987,7 +2048,7 @@ type MitoManifestInfo struct { func (x *MitoManifestInfo) Reset() { *x = MitoManifestInfo{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[27] + mi := &file_greptime_v1_region_server_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2000,7 +2061,7 @@ func (x *MitoManifestInfo) String() string { func (*MitoManifestInfo) ProtoMessage() {} func (x *MitoManifestInfo) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[27] + mi := &file_greptime_v1_region_server_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2013,7 +2074,7 @@ func (x *MitoManifestInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use MitoManifestInfo.ProtoReflect.Descriptor instead. func (*MitoManifestInfo) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{27} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{28} } func (x *MitoManifestInfo) GetDataManifestVersion() uint64 { @@ -2036,7 +2097,7 @@ type MetricManifestInfo struct { func (x *MetricManifestInfo) Reset() { *x = MetricManifestInfo{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[28] + mi := &file_greptime_v1_region_server_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2049,7 +2110,7 @@ func (x *MetricManifestInfo) String() string { func (*MetricManifestInfo) ProtoMessage() {} func (x *MetricManifestInfo) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[28] + mi := &file_greptime_v1_region_server_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2062,7 +2123,7 @@ func (x *MetricManifestInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use MetricManifestInfo.ProtoReflect.Descriptor instead. func (*MetricManifestInfo) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{28} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{29} } func (x *MetricManifestInfo) GetDataManifestVersion() uint64 { @@ -2096,7 +2157,7 @@ type SyncRequest struct { func (x *SyncRequest) Reset() { *x = SyncRequest{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[29] + mi := &file_greptime_v1_region_server_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2109,7 +2170,7 @@ func (x *SyncRequest) String() string { func (*SyncRequest) ProtoMessage() {} func (x *SyncRequest) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[29] + mi := &file_greptime_v1_region_server_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2122,7 +2183,7 @@ func (x *SyncRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead. func (*SyncRequest) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{29} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{30} } func (x *SyncRequest) GetRegionId() uint64 { @@ -2181,7 +2242,7 @@ type ListMetadataRequest struct { func (x *ListMetadataRequest) Reset() { *x = ListMetadataRequest{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_region_server_proto_msgTypes[30] + mi := &file_greptime_v1_region_server_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2194,7 +2255,7 @@ func (x *ListMetadataRequest) String() string { func (*ListMetadataRequest) ProtoMessage() {} func (x *ListMetadataRequest) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_region_server_proto_msgTypes[30] + mi := &file_greptime_v1_region_server_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2207,7 +2268,7 @@ func (x *ListMetadataRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMetadataRequest.ProtoReflect.Descriptor instead. func (*ListMetadataRequest) Descriptor() ([]byte, []int) { - return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{30} + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{31} } func (x *ListMetadataRequest) GetRegionIds() []uint64 { @@ -2416,7 +2477,7 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{ 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, 0xc4, 0x06, 0x0a, 0x0c, 0x41, 0x6c, 0x74, + 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, @@ -2466,109 +2527,119 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{ 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, 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, - 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, 0x2e, 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, 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, + 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, 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, 0x2e, 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, 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, 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, + 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 ( @@ -2583,7 +2654,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, 35) +var file_greptime_v1_region_server_proto_msgTypes = make([]protoimpl.MessageInfo, 36) var file_greptime_v1_region_server_proto_goTypes = []interface{}{ (*RegionRequestHeader)(nil), // 0: greptime.v1.region.RegionRequestHeader (*RegionRequest)(nil), // 1: greptime.v1.region.RegionRequest @@ -2601,44 +2672,45 @@ var file_greptime_v1_region_server_proto_goTypes = []interface{}{ (*CloseRequest)(nil), // 13: greptime.v1.region.CloseRequest (*AlterRequests)(nil), // 14: greptime.v1.region.AlterRequests (*AlterRequest)(nil), // 15: greptime.v1.region.AlterRequest - (*AddColumns)(nil), // 16: greptime.v1.region.AddColumns - (*DropColumns)(nil), // 17: greptime.v1.region.DropColumns - (*AddColumn)(nil), // 18: greptime.v1.region.AddColumn - (*DropColumn)(nil), // 19: greptime.v1.region.DropColumn - (*FlushRequest)(nil), // 20: greptime.v1.region.FlushRequest - (*Regular)(nil), // 21: greptime.v1.region.Regular - (*StrictWindow)(nil), // 22: greptime.v1.region.StrictWindow - (*CompactRequest)(nil), // 23: greptime.v1.region.CompactRequest - (*TruncateRequest)(nil), // 24: greptime.v1.region.TruncateRequest - (*RegionColumnDef)(nil), // 25: greptime.v1.region.RegionColumnDef - (*BulkInsertRequest)(nil), // 26: greptime.v1.region.BulkInsertRequest - (*MitoManifestInfo)(nil), // 27: greptime.v1.region.MitoManifestInfo - (*MetricManifestInfo)(nil), // 28: greptime.v1.region.MetricManifestInfo - (*SyncRequest)(nil), // 29: greptime.v1.region.SyncRequest - (*ListMetadataRequest)(nil), // 30: greptime.v1.region.ListMetadataRequest - nil, // 31: greptime.v1.region.RegionRequestHeader.TracingContextEntry - nil, // 32: greptime.v1.region.RegionResponse.ExtensionsEntry - nil, // 33: greptime.v1.region.CreateRequest.OptionsEntry - nil, // 34: greptime.v1.region.OpenRequest.OptionsEntry - (*v1.QueryContext)(nil), // 35: greptime.v1.QueryContext - (*v1.ResponseHeader)(nil), // 36: greptime.v1.ResponseHeader - (*v1.Rows)(nil), // 37: greptime.v1.Rows - (*v1.ModifyColumnTypes)(nil), // 38: greptime.v1.ModifyColumnTypes - (*v1.SetTableOptions)(nil), // 39: greptime.v1.SetTableOptions - (*v1.UnsetTableOptions)(nil), // 40: greptime.v1.UnsetTableOptions - (*v1.SetIndex)(nil), // 41: greptime.v1.SetIndex - (*v1.UnsetIndex)(nil), // 42: greptime.v1.UnsetIndex - (*v1.DropDefaults)(nil), // 43: greptime.v1.DropDefaults - (*v1.SetIndexes)(nil), // 44: greptime.v1.SetIndexes - (*v1.UnsetIndexes)(nil), // 45: greptime.v1.UnsetIndexes - (*v1.SetDefaults)(nil), // 46: greptime.v1.SetDefaults - (*v1.AddColumnLocation)(nil), // 47: greptime.v1.AddColumnLocation - (*v1.ColumnDef)(nil), // 48: greptime.v1.ColumnDef - (*v1.ArrowIpc)(nil), // 49: greptime.v1.ArrowIpc + (*SyncColumns)(nil), // 16: greptime.v1.region.SyncColumns + (*AddColumns)(nil), // 17: greptime.v1.region.AddColumns + (*DropColumns)(nil), // 18: greptime.v1.region.DropColumns + (*AddColumn)(nil), // 19: greptime.v1.region.AddColumn + (*DropColumn)(nil), // 20: greptime.v1.region.DropColumn + (*FlushRequest)(nil), // 21: greptime.v1.region.FlushRequest + (*Regular)(nil), // 22: greptime.v1.region.Regular + (*StrictWindow)(nil), // 23: greptime.v1.region.StrictWindow + (*CompactRequest)(nil), // 24: greptime.v1.region.CompactRequest + (*TruncateRequest)(nil), // 25: greptime.v1.region.TruncateRequest + (*RegionColumnDef)(nil), // 26: greptime.v1.region.RegionColumnDef + (*BulkInsertRequest)(nil), // 27: greptime.v1.region.BulkInsertRequest + (*MitoManifestInfo)(nil), // 28: greptime.v1.region.MitoManifestInfo + (*MetricManifestInfo)(nil), // 29: greptime.v1.region.MetricManifestInfo + (*SyncRequest)(nil), // 30: greptime.v1.region.SyncRequest + (*ListMetadataRequest)(nil), // 31: greptime.v1.region.ListMetadataRequest + nil, // 32: greptime.v1.region.RegionRequestHeader.TracingContextEntry + nil, // 33: greptime.v1.region.RegionResponse.ExtensionsEntry + nil, // 34: greptime.v1.region.CreateRequest.OptionsEntry + nil, // 35: greptime.v1.region.OpenRequest.OptionsEntry + (*v1.QueryContext)(nil), // 36: greptime.v1.QueryContext + (*v1.ResponseHeader)(nil), // 37: greptime.v1.ResponseHeader + (*v1.Rows)(nil), // 38: greptime.v1.Rows + (*v1.ModifyColumnTypes)(nil), // 39: greptime.v1.ModifyColumnTypes + (*v1.SetTableOptions)(nil), // 40: greptime.v1.SetTableOptions + (*v1.UnsetTableOptions)(nil), // 41: greptime.v1.UnsetTableOptions + (*v1.SetIndex)(nil), // 42: greptime.v1.SetIndex + (*v1.UnsetIndex)(nil), // 43: greptime.v1.UnsetIndex + (*v1.DropDefaults)(nil), // 44: greptime.v1.DropDefaults + (*v1.SetIndexes)(nil), // 45: greptime.v1.SetIndexes + (*v1.UnsetIndexes)(nil), // 46: greptime.v1.UnsetIndexes + (*v1.SetDefaults)(nil), // 47: greptime.v1.SetDefaults + (*v1.AddColumnLocation)(nil), // 48: greptime.v1.AddColumnLocation + (*v1.ColumnDef)(nil), // 49: greptime.v1.ColumnDef + (*v1.ArrowIpc)(nil), // 50: greptime.v1.ArrowIpc } var file_greptime_v1_region_server_proto_depIdxs = []int32{ - 31, // 0: greptime.v1.region.RegionRequestHeader.tracing_context:type_name -> greptime.v1.region.RegionRequestHeader.TracingContextEntry - 35, // 1: greptime.v1.region.RegionRequestHeader.query_context:type_name -> greptime.v1.QueryContext + 32, // 0: greptime.v1.region.RegionRequestHeader.tracing_context:type_name -> greptime.v1.region.RegionRequestHeader.TracingContextEntry + 36, // 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 @@ -2647,56 +2719,58 @@ var file_greptime_v1_region_server_proto_depIdxs = []int32{ 12, // 7: greptime.v1.region.RegionRequest.open:type_name -> greptime.v1.region.OpenRequest 13, // 8: greptime.v1.region.RegionRequest.close:type_name -> greptime.v1.region.CloseRequest 15, // 9: greptime.v1.region.RegionRequest.alter:type_name -> greptime.v1.region.AlterRequest - 20, // 10: greptime.v1.region.RegionRequest.flush:type_name -> greptime.v1.region.FlushRequest - 23, // 11: greptime.v1.region.RegionRequest.compact:type_name -> greptime.v1.region.CompactRequest - 24, // 12: greptime.v1.region.RegionRequest.truncate:type_name -> greptime.v1.region.TruncateRequest + 21, // 10: greptime.v1.region.RegionRequest.flush:type_name -> greptime.v1.region.FlushRequest + 24, // 11: greptime.v1.region.RegionRequest.compact:type_name -> greptime.v1.region.CompactRequest + 25, // 12: greptime.v1.region.RegionRequest.truncate:type_name -> greptime.v1.region.TruncateRequest 8, // 13: greptime.v1.region.RegionRequest.creates:type_name -> greptime.v1.region.CreateRequests 10, // 14: greptime.v1.region.RegionRequest.drops:type_name -> greptime.v1.region.DropRequests 14, // 15: greptime.v1.region.RegionRequest.alters:type_name -> greptime.v1.region.AlterRequests - 26, // 16: greptime.v1.region.RegionRequest.bulk_insert:type_name -> greptime.v1.region.BulkInsertRequest - 29, // 17: greptime.v1.region.RegionRequest.sync:type_name -> greptime.v1.region.SyncRequest - 30, // 18: greptime.v1.region.RegionRequest.list_metadata:type_name -> greptime.v1.region.ListMetadataRequest - 36, // 19: greptime.v1.region.RegionResponse.header:type_name -> greptime.v1.ResponseHeader - 32, // 20: greptime.v1.region.RegionResponse.extensions:type_name -> greptime.v1.region.RegionResponse.ExtensionsEntry + 27, // 16: greptime.v1.region.RegionRequest.bulk_insert:type_name -> greptime.v1.region.BulkInsertRequest + 30, // 17: greptime.v1.region.RegionRequest.sync:type_name -> greptime.v1.region.SyncRequest + 31, // 18: greptime.v1.region.RegionRequest.list_metadata:type_name -> greptime.v1.region.ListMetadataRequest + 37, // 19: greptime.v1.region.RegionResponse.header:type_name -> greptime.v1.ResponseHeader + 33, // 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 - 37, // 23: greptime.v1.region.InsertRequest.rows:type_name -> greptime.v1.Rows - 37, // 24: greptime.v1.region.DeleteRequest.rows:type_name -> greptime.v1.Rows + 38, // 23: greptime.v1.region.InsertRequest.rows:type_name -> greptime.v1.Rows + 38, // 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 - 25, // 27: greptime.v1.region.CreateRequest.column_defs:type_name -> greptime.v1.region.RegionColumnDef - 33, // 28: greptime.v1.region.CreateRequest.options:type_name -> greptime.v1.region.CreateRequest.OptionsEntry + 26, // 27: greptime.v1.region.CreateRequest.column_defs:type_name -> greptime.v1.region.RegionColumnDef + 34, // 28: greptime.v1.region.CreateRequest.options:type_name -> greptime.v1.region.CreateRequest.OptionsEntry 11, // 29: greptime.v1.region.DropRequests.requests:type_name -> greptime.v1.region.DropRequest - 34, // 30: greptime.v1.region.OpenRequest.options:type_name -> greptime.v1.region.OpenRequest.OptionsEntry + 35, // 30: greptime.v1.region.OpenRequest.options:type_name -> greptime.v1.region.OpenRequest.OptionsEntry 15, // 31: greptime.v1.region.AlterRequests.requests:type_name -> greptime.v1.region.AlterRequest - 16, // 32: greptime.v1.region.AlterRequest.add_columns:type_name -> greptime.v1.region.AddColumns - 17, // 33: greptime.v1.region.AlterRequest.drop_columns:type_name -> greptime.v1.region.DropColumns - 38, // 34: greptime.v1.region.AlterRequest.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes - 39, // 35: greptime.v1.region.AlterRequest.set_table_options:type_name -> greptime.v1.SetTableOptions - 40, // 36: greptime.v1.region.AlterRequest.unset_table_options:type_name -> greptime.v1.UnsetTableOptions - 41, // 37: greptime.v1.region.AlterRequest.set_index:type_name -> greptime.v1.SetIndex - 42, // 38: greptime.v1.region.AlterRequest.unset_index:type_name -> greptime.v1.UnsetIndex - 43, // 39: greptime.v1.region.AlterRequest.drop_defaults:type_name -> greptime.v1.DropDefaults - 44, // 40: greptime.v1.region.AlterRequest.set_indexes:type_name -> greptime.v1.SetIndexes - 45, // 41: greptime.v1.region.AlterRequest.unset_indexes:type_name -> greptime.v1.UnsetIndexes - 46, // 42: greptime.v1.region.AlterRequest.set_defaults:type_name -> greptime.v1.SetDefaults - 18, // 43: greptime.v1.region.AddColumns.add_columns:type_name -> greptime.v1.region.AddColumn - 19, // 44: greptime.v1.region.DropColumns.drop_columns:type_name -> greptime.v1.region.DropColumn - 25, // 45: greptime.v1.region.AddColumn.column_def:type_name -> greptime.v1.region.RegionColumnDef - 47, // 46: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation - 21, // 47: greptime.v1.region.CompactRequest.regular:type_name -> greptime.v1.region.Regular - 22, // 48: greptime.v1.region.CompactRequest.strict_window:type_name -> greptime.v1.region.StrictWindow - 48, // 49: greptime.v1.region.RegionColumnDef.column_def:type_name -> greptime.v1.ColumnDef - 49, // 50: greptime.v1.region.BulkInsertRequest.arrow_ipc:type_name -> greptime.v1.ArrowIpc - 27, // 51: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo - 28, // 52: greptime.v1.region.SyncRequest.metric_manifest_info:type_name -> greptime.v1.region.MetricManifestInfo - 1, // 53: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest - 2, // 54: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse - 54, // [54:55] is the sub-list for method output_type - 53, // [53:54] is the sub-list for method input_type - 53, // [53:53] is the sub-list for extension type_name - 53, // [53:53] is the sub-list for extension extendee - 0, // [0:53] is the sub-list for field type_name + 17, // 32: greptime.v1.region.AlterRequest.add_columns:type_name -> greptime.v1.region.AddColumns + 18, // 33: greptime.v1.region.AlterRequest.drop_columns:type_name -> greptime.v1.region.DropColumns + 39, // 34: greptime.v1.region.AlterRequest.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes + 40, // 35: greptime.v1.region.AlterRequest.set_table_options:type_name -> greptime.v1.SetTableOptions + 41, // 36: greptime.v1.region.AlterRequest.unset_table_options:type_name -> greptime.v1.UnsetTableOptions + 42, // 37: greptime.v1.region.AlterRequest.set_index:type_name -> greptime.v1.SetIndex + 43, // 38: greptime.v1.region.AlterRequest.unset_index:type_name -> greptime.v1.UnsetIndex + 44, // 39: greptime.v1.region.AlterRequest.drop_defaults:type_name -> greptime.v1.DropDefaults + 45, // 40: greptime.v1.region.AlterRequest.set_indexes:type_name -> greptime.v1.SetIndexes + 46, // 41: greptime.v1.region.AlterRequest.unset_indexes:type_name -> greptime.v1.UnsetIndexes + 47, // 42: greptime.v1.region.AlterRequest.set_defaults:type_name -> greptime.v1.SetDefaults + 16, // 43: greptime.v1.region.AlterRequest.sync_columns:type_name -> greptime.v1.region.SyncColumns + 26, // 44: greptime.v1.region.SyncColumns.column_defs:type_name -> greptime.v1.region.RegionColumnDef + 19, // 45: greptime.v1.region.AddColumns.add_columns:type_name -> greptime.v1.region.AddColumn + 20, // 46: greptime.v1.region.DropColumns.drop_columns:type_name -> greptime.v1.region.DropColumn + 26, // 47: greptime.v1.region.AddColumn.column_def:type_name -> greptime.v1.region.RegionColumnDef + 48, // 48: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation + 22, // 49: greptime.v1.region.CompactRequest.regular:type_name -> greptime.v1.region.Regular + 23, // 50: greptime.v1.region.CompactRequest.strict_window:type_name -> greptime.v1.region.StrictWindow + 49, // 51: greptime.v1.region.RegionColumnDef.column_def:type_name -> greptime.v1.ColumnDef + 50, // 52: greptime.v1.region.BulkInsertRequest.arrow_ipc:type_name -> greptime.v1.ArrowIpc + 28, // 53: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo + 29, // 54: greptime.v1.region.SyncRequest.metric_manifest_info:type_name -> greptime.v1.region.MetricManifestInfo + 1, // 55: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest + 2, // 56: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse + 56, // [56:57] is the sub-list for method output_type + 55, // [55:56] is the sub-list for method input_type + 55, // [55:55] is the sub-list for extension type_name + 55, // [55:55] is the sub-list for extension extendee + 0, // [0:55] is the sub-list for field type_name } func init() { file_greptime_v1_region_server_proto_init() } @@ -2898,7 +2972,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddColumns); i { + switch v := v.(*SyncColumns); i { case 0: return &v.state case 1: @@ -2910,7 +2984,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DropColumns); i { + switch v := v.(*AddColumns); i { case 0: return &v.state case 1: @@ -2922,7 +2996,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddColumn); i { + switch v := v.(*DropColumns); i { case 0: return &v.state case 1: @@ -2934,7 +3008,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DropColumn); i { + switch v := v.(*AddColumn); i { case 0: return &v.state case 1: @@ -2946,7 +3020,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlushRequest); i { + switch v := v.(*DropColumn); i { case 0: return &v.state case 1: @@ -2958,7 +3032,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Regular); i { + switch v := v.(*FlushRequest); i { case 0: return &v.state case 1: @@ -2970,7 +3044,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StrictWindow); i { + switch v := v.(*Regular); i { case 0: return &v.state case 1: @@ -2982,7 +3056,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CompactRequest); i { + switch v := v.(*StrictWindow); i { case 0: return &v.state case 1: @@ -2994,7 +3068,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TruncateRequest); i { + switch v := v.(*CompactRequest); i { case 0: return &v.state case 1: @@ -3006,7 +3080,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RegionColumnDef); i { + switch v := v.(*TruncateRequest); i { case 0: return &v.state case 1: @@ -3018,7 +3092,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BulkInsertRequest); i { + switch v := v.(*RegionColumnDef); i { case 0: return &v.state case 1: @@ -3030,7 +3104,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MitoManifestInfo); i { + switch v := v.(*BulkInsertRequest); i { case 0: return &v.state case 1: @@ -3042,7 +3116,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MetricManifestInfo); i { + switch v := v.(*MitoManifestInfo); i { case 0: return &v.state case 1: @@ -3054,7 +3128,7 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncRequest); i { + switch v := v.(*MetricManifestInfo); i { case 0: return &v.state case 1: @@ -3066,6 +3140,18 @@ func file_greptime_v1_region_server_proto_init() { } } file_greptime_v1_region_server_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncRequest); 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[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListMetadataRequest); i { case 0: return &v.state @@ -3108,15 +3194,16 @@ func file_greptime_v1_region_server_proto_init() { (*AlterRequest_SetIndexes)(nil), (*AlterRequest_UnsetIndexes)(nil), (*AlterRequest_SetDefaults)(nil), + (*AlterRequest_SyncColumns)(nil), } - file_greptime_v1_region_server_proto_msgTypes[23].OneofWrappers = []interface{}{ + file_greptime_v1_region_server_proto_msgTypes[24].OneofWrappers = []interface{}{ (*CompactRequest_Regular)(nil), (*CompactRequest_StrictWindow)(nil), } - file_greptime_v1_region_server_proto_msgTypes[26].OneofWrappers = []interface{}{ + file_greptime_v1_region_server_proto_msgTypes[27].OneofWrappers = []interface{}{ (*BulkInsertRequest_ArrowIpc)(nil), } - file_greptime_v1_region_server_proto_msgTypes[29].OneofWrappers = []interface{}{ + file_greptime_v1_region_server_proto_msgTypes[30].OneofWrappers = []interface{}{ (*SyncRequest_MitoManifestInfo)(nil), (*SyncRequest_MetricManifestInfo)(nil), } @@ -3126,7 +3213,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: 35, + NumMessages: 36, NumExtensions: 0, NumServices: 1, }, diff --git a/java/src/main/java/io/greptime/v1/region/Server.java b/java/src/main/java/io/greptime/v1/region/Server.java index 8cafd3f..a8dd731 100644 --- a/java/src/main/java/io/greptime/v1/region/Server.java +++ b/java/src/main/java/io/greptime/v1/region/Server.java @@ -17477,6 +17477,21 @@ java.lang.String defaultValue); */ io.greptime.v1.Ddl.SetDefaultsOrBuilder getSetDefaultsOrBuilder(); + /** + * .greptime.v1.region.SyncColumns sync_columns = 16; + * @return Whether the syncColumns field is set. + */ + boolean hasSyncColumns(); + /** + * .greptime.v1.region.SyncColumns sync_columns = 16; + * @return The syncColumns. + */ + io.greptime.v1.region.Server.SyncColumns getSyncColumns(); + /** + * .greptime.v1.region.SyncColumns sync_columns = 16; + */ + io.greptime.v1.region.Server.SyncColumnsOrBuilder getSyncColumnsOrBuilder(); + /** *
      * The version of the schema before applying the alteration.
@@ -17698,6 +17713,20 @@ java.lang.String defaultValue);
               kindCase_ = 15;
               break;
             }
+            case 130: {
+              io.greptime.v1.region.Server.SyncColumns.Builder subBuilder = null;
+              if (kindCase_ == 16) {
+                subBuilder = ((io.greptime.v1.region.Server.SyncColumns) kind_).toBuilder();
+              }
+              kind_ =
+                  input.readMessage(io.greptime.v1.region.Server.SyncColumns.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((io.greptime.v1.region.Server.SyncColumns) kind_);
+                kind_ = subBuilder.buildPartial();
+              }
+              kindCase_ = 16;
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -17748,6 +17777,7 @@ java.lang.String defaultValue);
       SET_INDEXES(13),
       UNSET_INDEXES(14),
       SET_DEFAULTS(15),
+      SYNC_COLUMNS(16),
       KIND_NOT_SET(0);
       private final int value;
       private KindCase(int value) {
@@ -17776,6 +17806,7 @@ java.lang.String defaultValue);
           case 13: return SET_INDEXES;
           case 14: return UNSET_INDEXES;
           case 15: return SET_DEFAULTS;
+          case 16: return SYNC_COLUMNS;
           case 0: return KIND_NOT_SET;
           default: return null;
         }
@@ -18167,6 +18198,37 @@ java.lang.String defaultValue);
       return io.greptime.v1.Ddl.SetDefaults.getDefaultInstance();
     }
 
+    public static final int SYNC_COLUMNS_FIELD_NUMBER = 16;
+    /**
+     * .greptime.v1.region.SyncColumns sync_columns = 16;
+     * @return Whether the syncColumns field is set.
+     */
+    @java.lang.Override
+    public boolean hasSyncColumns() {
+      return kindCase_ == 16;
+    }
+    /**
+     * .greptime.v1.region.SyncColumns sync_columns = 16;
+     * @return The syncColumns.
+     */
+    @java.lang.Override
+    public io.greptime.v1.region.Server.SyncColumns getSyncColumns() {
+      if (kindCase_ == 16) {
+         return (io.greptime.v1.region.Server.SyncColumns) kind_;
+      }
+      return io.greptime.v1.region.Server.SyncColumns.getDefaultInstance();
+    }
+    /**
+     * .greptime.v1.region.SyncColumns sync_columns = 16;
+     */
+    @java.lang.Override
+    public io.greptime.v1.region.Server.SyncColumnsOrBuilder getSyncColumnsOrBuilder() {
+      if (kindCase_ == 16) {
+         return (io.greptime.v1.region.Server.SyncColumns) kind_;
+      }
+      return io.greptime.v1.region.Server.SyncColumns.getDefaultInstance();
+    }
+
     public static final int SCHEMA_VERSION_FIELD_NUMBER = 4;
     private long schemaVersion_;
     /**
@@ -18235,6 +18297,9 @@ java.lang.String defaultValue);
       if (kindCase_ == 15) {
         output.writeMessage(15, (io.greptime.v1.Ddl.SetDefaults) kind_);
       }
+      if (kindCase_ == 16) {
+        output.writeMessage(16, (io.greptime.v1.region.Server.SyncColumns) kind_);
+      }
       unknownFields.writeTo(output);
     }
 
@@ -18296,6 +18361,10 @@ java.lang.String defaultValue);
         size += com.google.protobuf.CodedOutputStream
           .computeMessageSize(15, (io.greptime.v1.Ddl.SetDefaults) kind_);
       }
+      if (kindCase_ == 16) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(16, (io.greptime.v1.region.Server.SyncColumns) kind_);
+      }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
       return size;
@@ -18361,6 +18430,10 @@ java.lang.String defaultValue);
           if (!getSetDefaults()
               .equals(other.getSetDefaults())) return false;
           break;
+        case 16:
+          if (!getSyncColumns()
+              .equals(other.getSyncColumns())) return false;
+          break;
         case 0:
         default:
       }
@@ -18426,6 +18499,10 @@ java.lang.String defaultValue);
           hash = (37 * hash) + SET_DEFAULTS_FIELD_NUMBER;
           hash = (53 * hash) + getSetDefaults().hashCode();
           break;
+        case 16:
+          hash = (37 * hash) + SYNC_COLUMNS_FIELD_NUMBER;
+          hash = (53 * hash) + getSyncColumns().hashCode();
+          break;
         case 0:
         default:
       }
@@ -18672,6 +18749,13 @@ java.lang.String defaultValue);
             result.kind_ = setDefaultsBuilder_.build();
           }
         }
+        if (kindCase_ == 16) {
+          if (syncColumnsBuilder_ == null) {
+            result.kind_ = kind_;
+          } else {
+            result.kind_ = syncColumnsBuilder_.build();
+          }
+        }
         result.schemaVersion_ = schemaVersion_;
         result.kindCase_ = kindCase_;
         onBuilt();
@@ -18773,6 +18857,10 @@ java.lang.String defaultValue);
             mergeSetDefaults(other.getSetDefaults());
             break;
           }
+          case SYNC_COLUMNS: {
+            mergeSyncColumns(other.getSyncColumns());
+            break;
+          }
           case KIND_NOT_SET: {
             break;
           }
@@ -20486,6 +20574,148 @@ java.lang.String defaultValue);
         return setDefaultsBuilder_;
       }
 
+      private com.google.protobuf.SingleFieldBuilderV3<
+          io.greptime.v1.region.Server.SyncColumns, io.greptime.v1.region.Server.SyncColumns.Builder, io.greptime.v1.region.Server.SyncColumnsOrBuilder> syncColumnsBuilder_;
+      /**
+       * .greptime.v1.region.SyncColumns sync_columns = 16;
+       * @return Whether the syncColumns field is set.
+       */
+      @java.lang.Override
+      public boolean hasSyncColumns() {
+        return kindCase_ == 16;
+      }
+      /**
+       * .greptime.v1.region.SyncColumns sync_columns = 16;
+       * @return The syncColumns.
+       */
+      @java.lang.Override
+      public io.greptime.v1.region.Server.SyncColumns getSyncColumns() {
+        if (syncColumnsBuilder_ == null) {
+          if (kindCase_ == 16) {
+            return (io.greptime.v1.region.Server.SyncColumns) kind_;
+          }
+          return io.greptime.v1.region.Server.SyncColumns.getDefaultInstance();
+        } else {
+          if (kindCase_ == 16) {
+            return syncColumnsBuilder_.getMessage();
+          }
+          return io.greptime.v1.region.Server.SyncColumns.getDefaultInstance();
+        }
+      }
+      /**
+       * .greptime.v1.region.SyncColumns sync_columns = 16;
+       */
+      public Builder setSyncColumns(io.greptime.v1.region.Server.SyncColumns value) {
+        if (syncColumnsBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          kind_ = value;
+          onChanged();
+        } else {
+          syncColumnsBuilder_.setMessage(value);
+        }
+        kindCase_ = 16;
+        return this;
+      }
+      /**
+       * .greptime.v1.region.SyncColumns sync_columns = 16;
+       */
+      public Builder setSyncColumns(
+          io.greptime.v1.region.Server.SyncColumns.Builder builderForValue) {
+        if (syncColumnsBuilder_ == null) {
+          kind_ = builderForValue.build();
+          onChanged();
+        } else {
+          syncColumnsBuilder_.setMessage(builderForValue.build());
+        }
+        kindCase_ = 16;
+        return this;
+      }
+      /**
+       * .greptime.v1.region.SyncColumns sync_columns = 16;
+       */
+      public Builder mergeSyncColumns(io.greptime.v1.region.Server.SyncColumns value) {
+        if (syncColumnsBuilder_ == null) {
+          if (kindCase_ == 16 &&
+              kind_ != io.greptime.v1.region.Server.SyncColumns.getDefaultInstance()) {
+            kind_ = io.greptime.v1.region.Server.SyncColumns.newBuilder((io.greptime.v1.region.Server.SyncColumns) kind_)
+                .mergeFrom(value).buildPartial();
+          } else {
+            kind_ = value;
+          }
+          onChanged();
+        } else {
+          if (kindCase_ == 16) {
+            syncColumnsBuilder_.mergeFrom(value);
+          } else {
+            syncColumnsBuilder_.setMessage(value);
+          }
+        }
+        kindCase_ = 16;
+        return this;
+      }
+      /**
+       * .greptime.v1.region.SyncColumns sync_columns = 16;
+       */
+      public Builder clearSyncColumns() {
+        if (syncColumnsBuilder_ == null) {
+          if (kindCase_ == 16) {
+            kindCase_ = 0;
+            kind_ = null;
+            onChanged();
+          }
+        } else {
+          if (kindCase_ == 16) {
+            kindCase_ = 0;
+            kind_ = null;
+          }
+          syncColumnsBuilder_.clear();
+        }
+        return this;
+      }
+      /**
+       * .greptime.v1.region.SyncColumns sync_columns = 16;
+       */
+      public io.greptime.v1.region.Server.SyncColumns.Builder getSyncColumnsBuilder() {
+        return getSyncColumnsFieldBuilder().getBuilder();
+      }
+      /**
+       * .greptime.v1.region.SyncColumns sync_columns = 16;
+       */
+      @java.lang.Override
+      public io.greptime.v1.region.Server.SyncColumnsOrBuilder getSyncColumnsOrBuilder() {
+        if ((kindCase_ == 16) && (syncColumnsBuilder_ != null)) {
+          return syncColumnsBuilder_.getMessageOrBuilder();
+        } else {
+          if (kindCase_ == 16) {
+            return (io.greptime.v1.region.Server.SyncColumns) kind_;
+          }
+          return io.greptime.v1.region.Server.SyncColumns.getDefaultInstance();
+        }
+      }
+      /**
+       * .greptime.v1.region.SyncColumns sync_columns = 16;
+       */
+      private com.google.protobuf.SingleFieldBuilderV3<
+          io.greptime.v1.region.Server.SyncColumns, io.greptime.v1.region.Server.SyncColumns.Builder, io.greptime.v1.region.Server.SyncColumnsOrBuilder> 
+          getSyncColumnsFieldBuilder() {
+        if (syncColumnsBuilder_ == null) {
+          if (!(kindCase_ == 16)) {
+            kind_ = io.greptime.v1.region.Server.SyncColumns.getDefaultInstance();
+          }
+          syncColumnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              io.greptime.v1.region.Server.SyncColumns, io.greptime.v1.region.Server.SyncColumns.Builder, io.greptime.v1.region.Server.SyncColumnsOrBuilder>(
+                  (io.greptime.v1.region.Server.SyncColumns) kind_,
+                  getParentForChildren(),
+                  isClean());
+          kind_ = null;
+        }
+        kindCase_ = 16;
+        onChanged();;
+        return syncColumnsBuilder_;
+      }
+
       private long schemaVersion_ ;
       /**
        * 
@@ -20581,6 +20811,801 @@ java.lang.String defaultValue);
 
   }
 
+  public interface SyncColumnsOrBuilder extends
+      // @@protoc_insertion_point(interface_extends:greptime.v1.region.SyncColumns)
+      com.google.protobuf.MessageOrBuilder {
+
+    /**
+     * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+     */
+    java.util.List 
+        getColumnDefsList();
+    /**
+     * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+     */
+    io.greptime.v1.region.Server.RegionColumnDef getColumnDefs(int index);
+    /**
+     * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+     */
+    int getColumnDefsCount();
+    /**
+     * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+     */
+    java.util.List 
+        getColumnDefsOrBuilderList();
+    /**
+     * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+     */
+    io.greptime.v1.region.Server.RegionColumnDefOrBuilder getColumnDefsOrBuilder(
+        int index);
+  }
+  /**
+   * Protobuf type {@code greptime.v1.region.SyncColumns}
+   */
+  public static final class SyncColumns extends
+      com.google.protobuf.GeneratedMessageV3 implements
+      // @@protoc_insertion_point(message_implements:greptime.v1.region.SyncColumns)
+      SyncColumnsOrBuilder {
+  private static final long serialVersionUID = 0L;
+    // Use SyncColumns.newBuilder() to construct.
+    private SyncColumns(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+      super(builder);
+    }
+    private SyncColumns() {
+      columnDefs_ = java.util.Collections.emptyList();
+    }
+
+    @java.lang.Override
+    @SuppressWarnings({"unused"})
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
+      return new SyncColumns();
+    }
+
+    @java.lang.Override
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
+      return this.unknownFields;
+    }
+    private SyncColumns(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      this();
+      if (extensionRegistry == null) {
+        throw new java.lang.NullPointerException();
+      }
+      int mutable_bitField0_ = 0;
+      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+          com.google.protobuf.UnknownFieldSet.newBuilder();
+      try {
+        boolean done = false;
+        while (!done) {
+          int tag = input.readTag();
+          switch (tag) {
+            case 0:
+              done = true;
+              break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                columnDefs_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              columnDefs_.add(
+                  input.readMessage(io.greptime.v1.region.Server.RegionColumnDef.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
+          }
+        }
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(this);
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
+      } finally {
+        if (((mutable_bitField0_ & 0x00000001) != 0)) {
+          columnDefs_ = java.util.Collections.unmodifiableList(columnDefs_);
+        }
+        this.unknownFields = unknownFields.build();
+        makeExtensionsImmutable();
+      }
+    }
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return io.greptime.v1.region.Server.internal_static_greptime_v1_region_SyncColumns_descriptor;
+    }
+
+    @java.lang.Override
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return io.greptime.v1.region.Server.internal_static_greptime_v1_region_SyncColumns_fieldAccessorTable
+          .ensureFieldAccessorsInitialized(
+              io.greptime.v1.region.Server.SyncColumns.class, io.greptime.v1.region.Server.SyncColumns.Builder.class);
+    }
+
+    public static final int COLUMN_DEFS_FIELD_NUMBER = 1;
+    private java.util.List columnDefs_;
+    /**
+     * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+     */
+    @java.lang.Override
+    public java.util.List getColumnDefsList() {
+      return columnDefs_;
+    }
+    /**
+     * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+     */
+    @java.lang.Override
+    public java.util.List 
+        getColumnDefsOrBuilderList() {
+      return columnDefs_;
+    }
+    /**
+     * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+     */
+    @java.lang.Override
+    public int getColumnDefsCount() {
+      return columnDefs_.size();
+    }
+    /**
+     * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+     */
+    @java.lang.Override
+    public io.greptime.v1.region.Server.RegionColumnDef getColumnDefs(int index) {
+      return columnDefs_.get(index);
+    }
+    /**
+     * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+     */
+    @java.lang.Override
+    public io.greptime.v1.region.Server.RegionColumnDefOrBuilder getColumnDefsOrBuilder(
+        int index) {
+      return columnDefs_.get(index);
+    }
+
+    private byte memoizedIsInitialized = -1;
+    @java.lang.Override
+    public final boolean isInitialized() {
+      byte isInitialized = memoizedIsInitialized;
+      if (isInitialized == 1) return true;
+      if (isInitialized == 0) return false;
+
+      memoizedIsInitialized = 1;
+      return true;
+    }
+
+    @java.lang.Override
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      for (int i = 0; i < columnDefs_.size(); i++) {
+        output.writeMessage(1, columnDefs_.get(i));
+      }
+      unknownFields.writeTo(output);
+    }
+
+    @java.lang.Override
+    public int getSerializedSize() {
+      int size = memoizedSize;
+      if (size != -1) return size;
+
+      size = 0;
+      for (int i = 0; i < columnDefs_.size(); i++) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, columnDefs_.get(i));
+      }
+      size += unknownFields.getSerializedSize();
+      memoizedSize = size;
+      return size;
+    }
+
+    @java.lang.Override
+    public boolean equals(final java.lang.Object obj) {
+      if (obj == this) {
+       return true;
+      }
+      if (!(obj instanceof io.greptime.v1.region.Server.SyncColumns)) {
+        return super.equals(obj);
+      }
+      io.greptime.v1.region.Server.SyncColumns other = (io.greptime.v1.region.Server.SyncColumns) obj;
+
+      if (!getColumnDefsList()
+          .equals(other.getColumnDefsList())) return false;
+      if (!unknownFields.equals(other.unknownFields)) return false;
+      return true;
+    }
+
+    @java.lang.Override
+    public int hashCode() {
+      if (memoizedHashCode != 0) {
+        return memoizedHashCode;
+      }
+      int hash = 41;
+      hash = (19 * hash) + getDescriptor().hashCode();
+      if (getColumnDefsCount() > 0) {
+        hash = (37 * hash) + COLUMN_DEFS_FIELD_NUMBER;
+        hash = (53 * hash) + getColumnDefsList().hashCode();
+      }
+      hash = (29 * hash) + unknownFields.hashCode();
+      memoizedHashCode = hash;
+      return hash;
+    }
+
+    public static io.greptime.v1.region.Server.SyncColumns parseFrom(
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data);
+    }
+    public static io.greptime.v1.region.Server.SyncColumns parseFrom(
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data, extensionRegistry);
+    }
+    public static io.greptime.v1.region.Server.SyncColumns parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data);
+    }
+    public static io.greptime.v1.region.Server.SyncColumns parseFrom(
+        com.google.protobuf.ByteString data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data, extensionRegistry);
+    }
+    public static io.greptime.v1.region.Server.SyncColumns parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data);
+    }
+    public static io.greptime.v1.region.Server.SyncColumns parseFrom(
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return PARSER.parseFrom(data, extensionRegistry);
+    }
+    public static io.greptime.v1.region.Server.SyncColumns parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
+    }
+    public static io.greptime.v1.region.Server.SyncColumns parseFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
+    }
+    public static io.greptime.v1.region.Server.SyncColumns parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
+    }
+    public static io.greptime.v1.region.Server.SyncColumns parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    }
+    public static io.greptime.v1.region.Server.SyncColumns parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
+    }
+    public static io.greptime.v1.region.Server.SyncColumns parseFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
+    }
+
+    @java.lang.Override
+    public Builder newBuilderForType() { return newBuilder(); }
+    public static Builder newBuilder() {
+      return DEFAULT_INSTANCE.toBuilder();
+    }
+    public static Builder newBuilder(io.greptime.v1.region.Server.SyncColumns prototype) {
+      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+    }
+    @java.lang.Override
+    public Builder toBuilder() {
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
+    }
+
+    @java.lang.Override
+    protected Builder newBuilderForType(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      Builder builder = new Builder(parent);
+      return builder;
+    }
+    /**
+     * Protobuf type {@code greptime.v1.region.SyncColumns}
+     */
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
+        // @@protoc_insertion_point(builder_implements:greptime.v1.region.SyncColumns)
+        io.greptime.v1.region.Server.SyncColumnsOrBuilder {
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return io.greptime.v1.region.Server.internal_static_greptime_v1_region_SyncColumns_descriptor;
+      }
+
+      @java.lang.Override
+      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+          internalGetFieldAccessorTable() {
+        return io.greptime.v1.region.Server.internal_static_greptime_v1_region_SyncColumns_fieldAccessorTable
+            .ensureFieldAccessorsInitialized(
+                io.greptime.v1.region.Server.SyncColumns.class, io.greptime.v1.region.Server.SyncColumns.Builder.class);
+      }
+
+      // Construct using io.greptime.v1.region.Server.SyncColumns.newBuilder()
+      private Builder() {
+        maybeForceBuilderInitialization();
+      }
+
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+        maybeForceBuilderInitialization();
+      }
+      private void maybeForceBuilderInitialization() {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+          getColumnDefsFieldBuilder();
+        }
+      }
+      @java.lang.Override
+      public Builder clear() {
+        super.clear();
+        if (columnDefsBuilder_ == null) {
+          columnDefs_ = java.util.Collections.emptyList();
+          bitField0_ = (bitField0_ & ~0x00000001);
+        } else {
+          columnDefsBuilder_.clear();
+        }
+        return this;
+      }
+
+      @java.lang.Override
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return io.greptime.v1.region.Server.internal_static_greptime_v1_region_SyncColumns_descriptor;
+      }
+
+      @java.lang.Override
+      public io.greptime.v1.region.Server.SyncColumns getDefaultInstanceForType() {
+        return io.greptime.v1.region.Server.SyncColumns.getDefaultInstance();
+      }
+
+      @java.lang.Override
+      public io.greptime.v1.region.Server.SyncColumns build() {
+        io.greptime.v1.region.Server.SyncColumns result = buildPartial();
+        if (!result.isInitialized()) {
+          throw newUninitializedMessageException(result);
+        }
+        return result;
+      }
+
+      @java.lang.Override
+      public io.greptime.v1.region.Server.SyncColumns buildPartial() {
+        io.greptime.v1.region.Server.SyncColumns result = new io.greptime.v1.region.Server.SyncColumns(this);
+        int from_bitField0_ = bitField0_;
+        if (columnDefsBuilder_ == null) {
+          if (((bitField0_ & 0x00000001) != 0)) {
+            columnDefs_ = java.util.Collections.unmodifiableList(columnDefs_);
+            bitField0_ = (bitField0_ & ~0x00000001);
+          }
+          result.columnDefs_ = columnDefs_;
+        } else {
+          result.columnDefs_ = columnDefsBuilder_.build();
+        }
+        onBuilt();
+        return result;
+      }
+
+      @java.lang.Override
+      public Builder clone() {
+        return super.clone();
+      }
+      @java.lang.Override
+      public Builder setField(
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
+        return super.setField(field, value);
+      }
+      @java.lang.Override
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
+        return super.clearField(field);
+      }
+      @java.lang.Override
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        return super.clearOneof(oneof);
+      }
+      @java.lang.Override
+      public Builder setRepeatedField(
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          int index, java.lang.Object value) {
+        return super.setRepeatedField(field, index, value);
+      }
+      @java.lang.Override
+      public Builder addRepeatedField(
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
+        return super.addRepeatedField(field, value);
+      }
+      @java.lang.Override
+      public Builder mergeFrom(com.google.protobuf.Message other) {
+        if (other instanceof io.greptime.v1.region.Server.SyncColumns) {
+          return mergeFrom((io.greptime.v1.region.Server.SyncColumns)other);
+        } else {
+          super.mergeFrom(other);
+          return this;
+        }
+      }
+
+      public Builder mergeFrom(io.greptime.v1.region.Server.SyncColumns other) {
+        if (other == io.greptime.v1.region.Server.SyncColumns.getDefaultInstance()) return this;
+        if (columnDefsBuilder_ == null) {
+          if (!other.columnDefs_.isEmpty()) {
+            if (columnDefs_.isEmpty()) {
+              columnDefs_ = other.columnDefs_;
+              bitField0_ = (bitField0_ & ~0x00000001);
+            } else {
+              ensureColumnDefsIsMutable();
+              columnDefs_.addAll(other.columnDefs_);
+            }
+            onChanged();
+          }
+        } else {
+          if (!other.columnDefs_.isEmpty()) {
+            if (columnDefsBuilder_.isEmpty()) {
+              columnDefsBuilder_.dispose();
+              columnDefsBuilder_ = null;
+              columnDefs_ = other.columnDefs_;
+              bitField0_ = (bitField0_ & ~0x00000001);
+              columnDefsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getColumnDefsFieldBuilder() : null;
+            } else {
+              columnDefsBuilder_.addAllMessages(other.columnDefs_);
+            }
+          }
+        }
+        this.mergeUnknownFields(other.unknownFields);
+        onChanged();
+        return this;
+      }
+
+      @java.lang.Override
+      public final boolean isInitialized() {
+        return true;
+      }
+
+      @java.lang.Override
+      public Builder mergeFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+        io.greptime.v1.region.Server.SyncColumns parsedMessage = null;
+        try {
+          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          parsedMessage = (io.greptime.v1.region.Server.SyncColumns) e.getUnfinishedMessage();
+          throw e.unwrapIOException();
+        } finally {
+          if (parsedMessage != null) {
+            mergeFrom(parsedMessage);
+          }
+        }
+        return this;
+      }
+      private int bitField0_;
+
+      private java.util.List columnDefs_ =
+        java.util.Collections.emptyList();
+      private void ensureColumnDefsIsMutable() {
+        if (!((bitField0_ & 0x00000001) != 0)) {
+          columnDefs_ = new java.util.ArrayList(columnDefs_);
+          bitField0_ |= 0x00000001;
+         }
+      }
+
+      private com.google.protobuf.RepeatedFieldBuilderV3<
+          io.greptime.v1.region.Server.RegionColumnDef, io.greptime.v1.region.Server.RegionColumnDef.Builder, io.greptime.v1.region.Server.RegionColumnDefOrBuilder> columnDefsBuilder_;
+
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public java.util.List getColumnDefsList() {
+        if (columnDefsBuilder_ == null) {
+          return java.util.Collections.unmodifiableList(columnDefs_);
+        } else {
+          return columnDefsBuilder_.getMessageList();
+        }
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public int getColumnDefsCount() {
+        if (columnDefsBuilder_ == null) {
+          return columnDefs_.size();
+        } else {
+          return columnDefsBuilder_.getCount();
+        }
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public io.greptime.v1.region.Server.RegionColumnDef getColumnDefs(int index) {
+        if (columnDefsBuilder_ == null) {
+          return columnDefs_.get(index);
+        } else {
+          return columnDefsBuilder_.getMessage(index);
+        }
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public Builder setColumnDefs(
+          int index, io.greptime.v1.region.Server.RegionColumnDef value) {
+        if (columnDefsBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          ensureColumnDefsIsMutable();
+          columnDefs_.set(index, value);
+          onChanged();
+        } else {
+          columnDefsBuilder_.setMessage(index, value);
+        }
+        return this;
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public Builder setColumnDefs(
+          int index, io.greptime.v1.region.Server.RegionColumnDef.Builder builderForValue) {
+        if (columnDefsBuilder_ == null) {
+          ensureColumnDefsIsMutable();
+          columnDefs_.set(index, builderForValue.build());
+          onChanged();
+        } else {
+          columnDefsBuilder_.setMessage(index, builderForValue.build());
+        }
+        return this;
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public Builder addColumnDefs(io.greptime.v1.region.Server.RegionColumnDef value) {
+        if (columnDefsBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          ensureColumnDefsIsMutable();
+          columnDefs_.add(value);
+          onChanged();
+        } else {
+          columnDefsBuilder_.addMessage(value);
+        }
+        return this;
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public Builder addColumnDefs(
+          int index, io.greptime.v1.region.Server.RegionColumnDef value) {
+        if (columnDefsBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          ensureColumnDefsIsMutable();
+          columnDefs_.add(index, value);
+          onChanged();
+        } else {
+          columnDefsBuilder_.addMessage(index, value);
+        }
+        return this;
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public Builder addColumnDefs(
+          io.greptime.v1.region.Server.RegionColumnDef.Builder builderForValue) {
+        if (columnDefsBuilder_ == null) {
+          ensureColumnDefsIsMutable();
+          columnDefs_.add(builderForValue.build());
+          onChanged();
+        } else {
+          columnDefsBuilder_.addMessage(builderForValue.build());
+        }
+        return this;
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public Builder addColumnDefs(
+          int index, io.greptime.v1.region.Server.RegionColumnDef.Builder builderForValue) {
+        if (columnDefsBuilder_ == null) {
+          ensureColumnDefsIsMutable();
+          columnDefs_.add(index, builderForValue.build());
+          onChanged();
+        } else {
+          columnDefsBuilder_.addMessage(index, builderForValue.build());
+        }
+        return this;
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public Builder addAllColumnDefs(
+          java.lang.Iterable values) {
+        if (columnDefsBuilder_ == null) {
+          ensureColumnDefsIsMutable();
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, columnDefs_);
+          onChanged();
+        } else {
+          columnDefsBuilder_.addAllMessages(values);
+        }
+        return this;
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public Builder clearColumnDefs() {
+        if (columnDefsBuilder_ == null) {
+          columnDefs_ = java.util.Collections.emptyList();
+          bitField0_ = (bitField0_ & ~0x00000001);
+          onChanged();
+        } else {
+          columnDefsBuilder_.clear();
+        }
+        return this;
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public Builder removeColumnDefs(int index) {
+        if (columnDefsBuilder_ == null) {
+          ensureColumnDefsIsMutable();
+          columnDefs_.remove(index);
+          onChanged();
+        } else {
+          columnDefsBuilder_.remove(index);
+        }
+        return this;
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public io.greptime.v1.region.Server.RegionColumnDef.Builder getColumnDefsBuilder(
+          int index) {
+        return getColumnDefsFieldBuilder().getBuilder(index);
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public io.greptime.v1.region.Server.RegionColumnDefOrBuilder getColumnDefsOrBuilder(
+          int index) {
+        if (columnDefsBuilder_ == null) {
+          return columnDefs_.get(index);  } else {
+          return columnDefsBuilder_.getMessageOrBuilder(index);
+        }
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public java.util.List 
+           getColumnDefsOrBuilderList() {
+        if (columnDefsBuilder_ != null) {
+          return columnDefsBuilder_.getMessageOrBuilderList();
+        } else {
+          return java.util.Collections.unmodifiableList(columnDefs_);
+        }
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public io.greptime.v1.region.Server.RegionColumnDef.Builder addColumnDefsBuilder() {
+        return getColumnDefsFieldBuilder().addBuilder(
+            io.greptime.v1.region.Server.RegionColumnDef.getDefaultInstance());
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public io.greptime.v1.region.Server.RegionColumnDef.Builder addColumnDefsBuilder(
+          int index) {
+        return getColumnDefsFieldBuilder().addBuilder(
+            index, io.greptime.v1.region.Server.RegionColumnDef.getDefaultInstance());
+      }
+      /**
+       * repeated .greptime.v1.region.RegionColumnDef column_defs = 1;
+       */
+      public java.util.List 
+           getColumnDefsBuilderList() {
+        return getColumnDefsFieldBuilder().getBuilderList();
+      }
+      private com.google.protobuf.RepeatedFieldBuilderV3<
+          io.greptime.v1.region.Server.RegionColumnDef, io.greptime.v1.region.Server.RegionColumnDef.Builder, io.greptime.v1.region.Server.RegionColumnDefOrBuilder> 
+          getColumnDefsFieldBuilder() {
+        if (columnDefsBuilder_ == null) {
+          columnDefsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              io.greptime.v1.region.Server.RegionColumnDef, io.greptime.v1.region.Server.RegionColumnDef.Builder, io.greptime.v1.region.Server.RegionColumnDefOrBuilder>(
+                  columnDefs_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
+          columnDefs_ = null;
+        }
+        return columnDefsBuilder_;
+      }
+      @java.lang.Override
+      public final Builder setUnknownFields(
+          final com.google.protobuf.UnknownFieldSet unknownFields) {
+        return super.setUnknownFields(unknownFields);
+      }
+
+      @java.lang.Override
+      public final Builder mergeUnknownFields(
+          final com.google.protobuf.UnknownFieldSet unknownFields) {
+        return super.mergeUnknownFields(unknownFields);
+      }
+
+
+      // @@protoc_insertion_point(builder_scope:greptime.v1.region.SyncColumns)
+    }
+
+    // @@protoc_insertion_point(class_scope:greptime.v1.region.SyncColumns)
+    private static final io.greptime.v1.region.Server.SyncColumns DEFAULT_INSTANCE;
+    static {
+      DEFAULT_INSTANCE = new io.greptime.v1.region.Server.SyncColumns();
+    }
+
+    public static io.greptime.v1.region.Server.SyncColumns getDefaultInstance() {
+      return DEFAULT_INSTANCE;
+    }
+
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public SyncColumns parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new SyncColumns(input, extensionRegistry);
+      }
+    };
+
+    public static com.google.protobuf.Parser parser() {
+      return PARSER;
+    }
+
+    @java.lang.Override
+    public com.google.protobuf.Parser getParserForType() {
+      return PARSER;
+    }
+
+    @java.lang.Override
+    public io.greptime.v1.region.Server.SyncColumns getDefaultInstanceForType() {
+      return DEFAULT_INSTANCE;
+    }
+
+  }
+
   public interface AddColumnsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:greptime.v1.region.AddColumns)
       com.google.protobuf.MessageOrBuilder {
@@ -30829,6 +31854,11 @@ java.lang.String defaultValue);
   private static final 
     com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_greptime_v1_region_AlterRequest_fieldAccessorTable;
+  private static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_greptime_v1_region_SyncColumns_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_greptime_v1_region_SyncColumns_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
     internal_static_greptime_v1_region_AddColumns_descriptor;
   private static final 
@@ -30979,7 +32009,7 @@ java.lang.String defaultValue);
       "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"!\n\014CloseRequest\022\021\n" +
       "\tregion_id\030\001 \001(\004\"C\n\rAlterRequests\0222\n\010req" +
       "uests\030\001 \003(\0132 .greptime.v1.region.AlterRe" +
-      "quest\"\220\005\n\014AlterRequest\022\021\n\tregion_id\030\001 \001(" +
+      "quest\"\311\005\n\014AlterRequest\022\021\n\tregion_id\030\001 \001(" +
       "\004\0225\n\013add_columns\030\002 \001(\0132\036.greptime.v1.reg" +
       "ion.AddColumnsH\000\0227\n\014drop_columns\030\003 \001(\0132\037" +
       ".greptime.v1.region.DropColumnsH\000\022=\n\023mod" +
@@ -30994,41 +32024,44 @@ java.lang.String defaultValue);
       "H\000\022.\n\013set_indexes\030\r \001(\0132\027.greptime.v1.Se" +
       "tIndexesH\000\0222\n\runset_indexes\030\016 \001(\0132\031.grep" +
       "time.v1.UnsetIndexesH\000\0220\n\014set_defaults\030\017" +
-      " \001(\0132\030.greptime.v1.SetDefaultsH\000\022\026\n\016sche" +
-      "ma_version\030\004 \001(\004B\006\n\004kind\"@\n\nAddColumns\0222" +
-      "\n\013add_columns\030\001 \003(\0132\035.greptime.v1.region" +
-      ".AddColumn\"C\n\013DropColumns\0224\n\014drop_column" +
-      "s\030\001 \003(\0132\036.greptime.v1.region.DropColumn\"" +
-      "v\n\tAddColumn\0227\n\ncolumn_def\030\001 \001(\0132#.grept" +
-      "ime.v1.region.RegionColumnDef\0220\n\010locatio" +
-      "n\030\003 \001(\0132\036.greptime.v1.AddColumnLocation\"" +
-      "\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"!\n\014FlushRequ" +
-      "est\022\021\n\tregion_id\030\001 \001(\004\"\t\n\007Regular\"&\n\014Str" +
-      "ictWindow\022\026\n\016window_seconds\030\001 \001(\003\"\231\001\n\016Co" +
-      "mpactRequest\022\021\n\tregion_id\030\001 \001(\004\022.\n\007regul" +
-      "ar\030\002 \001(\0132\033.greptime.v1.region.RegularH\000\022" +
-      "9\n\rstrict_window\030\003 \001(\0132 .greptime.v1.reg" +
-      "ion.StrictWindowH\000B\t\n\007options\"$\n\017Truncat" +
-      "eRequest\022\021\n\tregion_id\030\001 \001(\004\"P\n\017RegionCol" +
-      "umnDef\022*\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1" +
-      ".ColumnDef\022\021\n\tcolumn_id\030\002 \001(\r\"Z\n\021BulkIns" +
-      "ertRequest\022\021\n\tregion_id\030\001 \001(\004\022*\n\tarrow_i" +
-      "pc\030\002 \001(\0132\025.greptime.v1.ArrowIpcH\000B\006\n\004bod" +
-      "y\"1\n\020MitoManifestInfo\022\035\n\025data_manifest_v" +
-      "ersion\030\001 \001(\004\"V\n\022MetricManifestInfo\022\035\n\025da" +
-      "ta_manifest_version\030\001 \001(\004\022!\n\031metadata_ma" +
-      "nifest_version\030\002 \001(\004\"\275\001\n\013SyncRequest\022\021\n\t" +
-      "region_id\030\001 \001(\004\022B\n\022mito_manifest_info\030\002 " +
-      "\001(\0132$.greptime.v1.region.MitoManifestInf" +
-      "oH\000\022F\n\024metric_manifest_info\030\003 \001(\0132&.grep" +
-      "time.v1.region.MetricManifestInfoH\000B\017\n\rm" +
-      "anifest_info\")\n\023ListMetadataRequest\022\022\n\nr" +
-      "egion_ids\030\001 \003(\0042Y\n\006Region\022O\n\006Handle\022!.gr" +
-      "eptime.v1.region.RegionRequest\032\".greptim" +
-      "e.v1.region.RegionResponseB]\n\025io.greptim" +
-      "e.v1.regionB\006ServerZ