From 11076cf0bd753e4ea9831d1d945ffb7c5aef9b3c Mon Sep 17 00:00:00 2001 From: Ning Sun Date: Thu, 16 Oct 2025 02:39:20 +0800 Subject: [PATCH] Reapply "feat: add `BuildIndexRequest` to `RegionRequestHeader` (#276)" This reverts commit b27dd6cd81e3023565088505971151e21fb9ae95. --- c++/greptime/v1/region/server.pb.cc | 523 +++++-- c++/greptime/v1/region/server.pb.h | 274 ++++ go/greptime/v1/region/server.pb.go | 770 ++++++----- .../java/io/greptime/v1/region/Server.java | 1196 +++++++++++++---- proto/greptime/v1/region/server.proto | 5 + 5 files changed, 2065 insertions(+), 703 deletions(-) diff --git a/c++/greptime/v1/region/server.pb.cc b/c++/greptime/v1/region/server.pb.cc index 75f47d82..6dcc7d25 100644 --- a/c++/greptime/v1/region/server.pb.cc +++ b/c++/greptime/v1/region/server.pb.cc @@ -529,10 +529,23 @@ struct ListMetadataRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListMetadataRequestDefaultTypeInternal _ListMetadataRequest_default_instance_; +PROTOBUF_CONSTEXPR BuildIndexRequest::BuildIndexRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.region_id_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct BuildIndexRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR BuildIndexRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~BuildIndexRequestDefaultTypeInternal() {} + union { + BuildIndexRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BuildIndexRequestDefaultTypeInternal _BuildIndexRequest_default_instance_; } // namespace region } // namespace v1 } // namespace greptime -static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[37]; +static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[38]; 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; @@ -579,6 +592,7 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::greptime::v1::region::RegionRequest, _impl_.body_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::RegionResponse_ExtensionsEntry_DoNotUse, _has_bits_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::RegionResponse_ExtensionsEntry_DoNotUse, _internal_metadata_), @@ -870,45 +884,53 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::ListMetadataRequest, _impl_.region_ids_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BuildIndexRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BuildIndexRequest, _impl_.region_id_), }; static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, 8, -1, sizeof(::greptime::v1::region::RegionRequestHeader_TracingContextEntry_DoNotUse)}, { 10, -1, -1, sizeof(::greptime::v1::region::RegionRequestHeader)}, { 19, -1, -1, sizeof(::greptime::v1::region::RegionRequest)}, - { 43, 51, -1, sizeof(::greptime::v1::region::RegionResponse_ExtensionsEntry_DoNotUse)}, - { 53, -1, -1, sizeof(::greptime::v1::region::RegionResponse)}, - { 63, -1, -1, sizeof(::greptime::v1::region::InsertRequests)}, - { 70, -1, -1, sizeof(::greptime::v1::region::DeleteRequests)}, - { 77, -1, -1, sizeof(::greptime::v1::region::InsertRequest)}, - { 85, -1, -1, sizeof(::greptime::v1::region::DeleteRequest)}, - { 93, -1, -1, sizeof(::greptime::v1::region::QueryRequest)}, - { 102, -1, -1, sizeof(::greptime::v1::region::CreateRequests)}, - { 109, 117, -1, sizeof(::greptime::v1::region::CreateRequest_OptionsEntry_DoNotUse)}, - { 119, -1, -1, sizeof(::greptime::v1::region::CreateRequest)}, - { 132, -1, -1, sizeof(::greptime::v1::region::DropRequests)}, - { 139, -1, -1, sizeof(::greptime::v1::region::DropRequest)}, - { 147, 155, -1, sizeof(::greptime::v1::region::OpenRequest_OptionsEntry_DoNotUse)}, - { 157, -1, -1, sizeof(::greptime::v1::region::OpenRequest)}, - { 167, -1, -1, sizeof(::greptime::v1::region::CloseRequest)}, - { 174, -1, -1, sizeof(::greptime::v1::region::AlterRequests)}, - { 181, -1, -1, sizeof(::greptime::v1::region::AlterRequest)}, - { 202, -1, -1, sizeof(::greptime::v1::region::SyncColumns)}, - { 209, -1, -1, sizeof(::greptime::v1::region::AddColumns)}, - { 216, -1, -1, sizeof(::greptime::v1::region::DropColumns)}, - { 223, -1, -1, sizeof(::greptime::v1::region::AddColumn)}, - { 231, -1, -1, sizeof(::greptime::v1::region::DropColumn)}, - { 238, -1, -1, sizeof(::greptime::v1::region::FlushRequest)}, - { 245, -1, -1, sizeof(::greptime::v1::region::Regular)}, - { 251, -1, -1, sizeof(::greptime::v1::region::StrictWindow)}, - { 258, -1, -1, sizeof(::greptime::v1::region::CompactRequest)}, - { 268, -1, -1, sizeof(::greptime::v1::region::TruncateRequest)}, - { 278, -1, -1, sizeof(::greptime::v1::region::All)}, - { 284, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)}, - { 292, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)}, - { 301, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)}, - { 308, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)}, - { 316, -1, -1, sizeof(::greptime::v1::region::SyncRequest)}, - { 326, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)}, + { 44, 52, -1, sizeof(::greptime::v1::region::RegionResponse_ExtensionsEntry_DoNotUse)}, + { 54, -1, -1, sizeof(::greptime::v1::region::RegionResponse)}, + { 64, -1, -1, sizeof(::greptime::v1::region::InsertRequests)}, + { 71, -1, -1, sizeof(::greptime::v1::region::DeleteRequests)}, + { 78, -1, -1, sizeof(::greptime::v1::region::InsertRequest)}, + { 86, -1, -1, sizeof(::greptime::v1::region::DeleteRequest)}, + { 94, -1, -1, sizeof(::greptime::v1::region::QueryRequest)}, + { 103, -1, -1, sizeof(::greptime::v1::region::CreateRequests)}, + { 110, 118, -1, sizeof(::greptime::v1::region::CreateRequest_OptionsEntry_DoNotUse)}, + { 120, -1, -1, sizeof(::greptime::v1::region::CreateRequest)}, + { 133, -1, -1, sizeof(::greptime::v1::region::DropRequests)}, + { 140, -1, -1, sizeof(::greptime::v1::region::DropRequest)}, + { 148, 156, -1, sizeof(::greptime::v1::region::OpenRequest_OptionsEntry_DoNotUse)}, + { 158, -1, -1, sizeof(::greptime::v1::region::OpenRequest)}, + { 168, -1, -1, sizeof(::greptime::v1::region::CloseRequest)}, + { 175, -1, -1, sizeof(::greptime::v1::region::AlterRequests)}, + { 182, -1, -1, sizeof(::greptime::v1::region::AlterRequest)}, + { 203, -1, -1, sizeof(::greptime::v1::region::SyncColumns)}, + { 210, -1, -1, sizeof(::greptime::v1::region::AddColumns)}, + { 217, -1, -1, sizeof(::greptime::v1::region::DropColumns)}, + { 224, -1, -1, sizeof(::greptime::v1::region::AddColumn)}, + { 232, -1, -1, sizeof(::greptime::v1::region::DropColumn)}, + { 239, -1, -1, sizeof(::greptime::v1::region::FlushRequest)}, + { 246, -1, -1, sizeof(::greptime::v1::region::Regular)}, + { 252, -1, -1, sizeof(::greptime::v1::region::StrictWindow)}, + { 259, -1, -1, sizeof(::greptime::v1::region::CompactRequest)}, + { 269, -1, -1, sizeof(::greptime::v1::region::TruncateRequest)}, + { 279, -1, -1, sizeof(::greptime::v1::region::All)}, + { 285, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)}, + { 293, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)}, + { 302, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)}, + { 309, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)}, + { 317, -1, -1, sizeof(::greptime::v1::region::SyncRequest)}, + { 327, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)}, + { 334, -1, -1, sizeof(::greptime::v1::region::BuildIndexRequest)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -949,6 +971,7 @@ static const ::_pb::Message* const file_default_instances[] = { &::greptime::v1::region::_MetricManifestInfo_default_instance_._instance, &::greptime::v1::region::_SyncRequest_default_instance_._instance, &::greptime::v1::region::_ListMetadataRequest_default_instance_._instance, + &::greptime::v1::region::_BuildIndexRequest_default_instance_._instance, }; const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = @@ -961,7 +984,7 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P "eader.TracingContextEntry\022\016\n\006dbname\030\003 \001(" "\t\0220\n\rquery_context\030\006 \001(\0132\031.greptime.v1.Q" "ueryContext\0325\n\023TracingContextEntry\022\013\n\003ke" - "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\256\007\n\rRegionReq" + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\354\007\n\rRegionReq" "uest\0227\n\006header\030\001 \001(\0132\'.greptime.v1.regio" "n.RegionRequestHeader\0225\n\007inserts\030\003 \001(\0132\"" ".greptime.v1.region.InsertRequestsH\000\0225\n\007" @@ -985,97 +1008,99 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P "equestH\000\022/\n\004sync\030\021 \001(\0132\037.greptime.v1.reg" "ion.SyncRequestH\000\022@\n\rlist_metadata\030\022 \001(\013" "2\'.greptime.v1.region.ListMetadataReques" - "tH\000B\006\n\004body\"\341\001\n\016RegionResponse\022+\n\006header" - "\030\001 \001(\0132\033.greptime.v1.ResponseHeader\022\025\n\ra" - "ffected_rows\030\002 \001(\004\022F\n\nextensions\030\003 \003(\01322" - ".greptime.v1.region.RegionResponse.Exten" - "sionsEntry\022\020\n\010metadata\030\004 \001(\014\0321\n\017Extensio" - "nsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"" - "E\n\016InsertRequests\0223\n\010requests\030\001 \003(\0132!.gr" - "eptime.v1.region.InsertRequest\"E\n\016Delete" - "Requests\0223\n\010requests\030\001 \003(\0132!.greptime.v1" - ".region.DeleteRequest\"C\n\rInsertRequest\022\021" - "\n\tregion_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.grepti" - "me.v1.Rows\"C\n\rDeleteRequest\022\021\n\tregion_id" - "\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime.v1.Rows\"" - "h\n\014QueryRequest\0227\n\006header\030\001 \001(\0132\'.grepti" - "me.v1.region.RegionRequestHeader\022\021\n\tregi" - "on_id\030\002 \001(\004\022\014\n\004plan\030\003 \001(\014\"E\n\016CreateReque" - "sts\0223\n\010requests\030\001 \003(\0132!.greptime.v1.regi" - "on.CreateRequest\"\260\002\n\rCreateRequest\022\021\n\tre" - "gion_id\030\001 \001(\004\022\016\n\006engine\030\002 \001(\t\0228\n\013column_" - "defs\030\003 \003(\0132#.greptime.v1.region.RegionCo" - "lumnDef\022\023\n\013primary_key\030\004 \003(\r\022\014\n\004path\030\005 \001" - "(\t\022\?\n\007options\030\006 \003(\0132..greptime.v1.region" - ".CreateRequest.OptionsEntry\022.\n\tpartition" - "\030\007 \001(\0132\033.greptime.v1.meta.Partition\032.\n\014O" - "ptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" - "\0028\001\"A\n\014DropRequests\0221\n\010requests\030\001 \003(\0132\037." - "greptime.v1.region.DropRequest\"3\n\013DropRe" - "quest\022\021\n\tregion_id\030\001 \001(\004\022\021\n\tfast_path\030\002 " - "\001(\010\"\255\001\n\013OpenRequest\022\021\n\tregion_id\030\001 \001(\004\022\016" - "\n\006engine\030\002 \001(\t\022\014\n\004path\030\003 \001(\t\022=\n\007options\030" - "\004 \003(\0132,.greptime.v1.region.OpenRequest.O" - "ptionsEntry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t" - "\022\r\n\005value\030\002 \001(\t:\0028\001\"!\n\014CloseRequest\022\021\n\tr" - "egion_id\030\001 \001(\004\"C\n\rAlterRequests\0222\n\010reque" - "sts\030\001 \003(\0132 .greptime.v1.region.AlterRequ" - "est\"\311\005\n\014AlterRequest\022\021\n\tregion_id\030\001 \001(\004\022" - "5\n\013add_columns\030\002 \001(\0132\036.greptime.v1.regio" - "n.AddColumnsH\000\0227\n\014drop_columns\030\003 \001(\0132\037.g" - "reptime.v1.region.DropColumnsH\000\022=\n\023modif" - "y_column_types\030\005 \001(\0132\036.greptime.v1.Modif" - "yColumnTypesH\000\0229\n\021set_table_options\030\006 \001(" - "\0132\034.greptime.v1.SetTableOptionsH\000\022=\n\023uns" - "et_table_options\030\t \001(\0132\036.greptime.v1.Uns" - "etTableOptionsH\000\022*\n\tset_index\030\n \001(\0132\025.gr" - "eptime.v1.SetIndexH\000\022.\n\013unset_index\030\013 \001(" - "\0132\027.greptime.v1.UnsetIndexH\000\0222\n\rdrop_def" - "aults\030\014 \001(\0132\031.greptime.v1.DropDefaultsH\000" - "\022.\n\013set_indexes\030\r \001(\0132\027.greptime.v1.SetI" - "ndexesH\000\0222\n\runset_indexes\030\016 \001(\0132\031.grepti" - "me.v1.UnsetIndexesH\000\0220\n\014set_defaults\030\017 \001" - "(\0132\030.greptime.v1.SetDefaultsH\000\0227\n\014sync_c" - "olumns\030\020 \001(\0132\037.greptime.v1.region.SyncCo" - "lumnsH\000\022\026\n\016schema_version\030\004 \001(\004B\006\n\004kind\"" - "G\n\013SyncColumns\0228\n\013column_defs\030\001 \003(\0132#.gr" - "eptime.v1.region.RegionColumnDef\"@\n\nAddC" - "olumns\0222\n\013add_columns\030\001 \003(\0132\035.greptime.v" - "1.region.AddColumn\"C\n\013DropColumns\0224\n\014dro" - "p_columns\030\001 \003(\0132\036.greptime.v1.region.Dro" - "pColumn\"v\n\tAddColumn\0227\n\ncolumn_def\030\001 \001(\013" - "2#.greptime.v1.region.RegionColumnDef\0220\n" - "\010location\030\003 \001(\0132\036.greptime.v1.AddColumnL" - "ocation\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"!\n\014F" - "lushRequest\022\021\n\tregion_id\030\001 \001(\004\"\t\n\007Regula" - "r\"&\n\014StrictWindow\022\026\n\016window_seconds\030\001 \001(" - "\003\"\231\001\n\016CompactRequest\022\021\n\tregion_id\030\001 \001(\004\022" - ".\n\007regular\030\002 \001(\0132\033.greptime.v1.region.Re" - "gularH\000\0229\n\rstrict_window\030\003 \001(\0132 .greptim" - "e.v1.region.StrictWindowH\000B\t\n\007options\"\204\001" - "\n\017TruncateRequest\022\021\n\tregion_id\030\001 \001(\004\022&\n\003" - "all\030\002 \001(\0132\027.greptime.v1.region.AllH\000\022.\n\013" - "time_ranges\030\003 \001(\0132\027.greptime.v1.TimeRang" - "esH\000B\006\n\004kind\"\005\n\003All\"P\n\017RegionColumnDef\022*" - "\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.ColumnD" - "ef\022\021\n\tcolumn_id\030\002 \001(\r\"Z\n\021BulkInsertReque" - "st\022\021\n\tregion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 \001(\013" - "2\025.greptime.v1.ArrowIpcH\000B\006\n\004body\"1\n\020Mit" - "oManifestInfo\022\035\n\025data_manifest_version\030\001" - " \001(\004\"V\n\022MetricManifestInfo\022\035\n\025data_manif" - "est_version\030\001 \001(\004\022!\n\031metadata_manifest_v" - "ersion\030\002 \001(\004\"\275\001\n\013SyncRequest\022\021\n\tregion_i" - "d\030\001 \001(\004\022B\n\022mito_manifest_info\030\002 \001(\0132$.gr" - "eptime.v1.region.MitoManifestInfoH\000\022F\n\024m" - "etric_manifest_info\030\003 \001(\0132&.greptime.v1." - "region.MetricManifestInfoH\000B\017\n\rmanifest_" - "info\")\n\023ListMetadataRequest\022\022\n\nregion_id" - "s\030\001 \003(\0042Y\n\006Region\022O\n\006Handle\022!.greptime.v" - "1.region.RegionRequest\032\".greptime.v1.reg" - "ion.RegionResponseB]\n\025io.greptime.v1.reg" - "ionB\006ServerZ_impl_.body_.list_metadata_; } +const ::greptime::v1::region::BuildIndexRequest& +RegionRequest::_Internal::build_index(const RegionRequest* msg) { + return *msg->_impl_.body_.build_index_; +} void RegionRequest::set_allocated_inserts(::greptime::v1::region::InsertRequests* inserts) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_body(); @@ -1766,6 +1796,21 @@ void RegionRequest::set_allocated_list_metadata(::greptime::v1::region::ListMeta } // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.RegionRequest.list_metadata) } +void RegionRequest::set_allocated_build_index(::greptime::v1::region::BuildIndexRequest* build_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_body(); + if (build_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(build_index); + if (message_arena != submessage_arena) { + build_index = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, build_index, submessage_arena); + } + set_has_build_index(); + _impl_.body_.build_index_ = build_index; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.RegionRequest.build_index) +} RegionRequest::RegionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -1867,6 +1912,11 @@ RegionRequest::RegionRequest(const RegionRequest& from) from._internal_list_metadata()); break; } + case kBuildIndex: { + _this->_internal_mutable_build_index()->::greptime::v1::region::BuildIndexRequest::MergeFrom( + from._internal_build_index()); + break; + } case BODY_NOT_SET: { break; } @@ -2007,6 +2057,12 @@ void RegionRequest::clear_body() { } break; } + case kBuildIndex: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.body_.build_index_; + } + break; + } case BODY_NOT_SET: { break; } @@ -2171,6 +2227,14 @@ const char* RegionRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* } else goto handle_unusual; continue; + // .greptime.v1.region.BuildIndexRequest build_index = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { + ptr = ctx->ParseMessage(_internal_mutable_build_index(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -2319,6 +2383,13 @@ uint8_t* RegionRequest::_InternalSerialize( _Internal::list_metadata(this).GetCachedSize(), target, stream); } + // .greptime.v1.region.BuildIndexRequest build_index = 19; + if (_internal_has_build_index()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(19, _Internal::build_index(this), + _Internal::build_index(this).GetCachedSize(), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -2455,6 +2526,13 @@ size_t RegionRequest::ByteSizeLong() const { *_impl_.body_.list_metadata_); break; } + // .greptime.v1.region.BuildIndexRequest build_index = 19; + case kBuildIndex: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.body_.build_index_); + break; + } case BODY_NOT_SET: { break; } @@ -2562,6 +2640,11 @@ void RegionRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :: from._internal_list_metadata()); break; } + case kBuildIndex: { + _this->_internal_mutable_build_index()->::greptime::v1::region::BuildIndexRequest::MergeFrom( + from._internal_build_index()); + break; + } case BODY_NOT_SET: { break; } @@ -10411,6 +10494,184 @@ ::PROTOBUF_NAMESPACE_ID::Metadata ListMetadataRequest::GetMetadata() const { file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[36]); } +// =================================================================== + +class BuildIndexRequest::_Internal { + public: +}; + +BuildIndexRequest::BuildIndexRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:greptime.v1.region.BuildIndexRequest) +} +BuildIndexRequest::BuildIndexRequest(const BuildIndexRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + BuildIndexRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.region_id_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.region_id_ = from._impl_.region_id_; + // @@protoc_insertion_point(copy_constructor:greptime.v1.region.BuildIndexRequest) +} + +inline void BuildIndexRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.region_id_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +BuildIndexRequest::~BuildIndexRequest() { + // @@protoc_insertion_point(destructor:greptime.v1.region.BuildIndexRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void BuildIndexRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void BuildIndexRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void BuildIndexRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.region.BuildIndexRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.region_id_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* BuildIndexRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 region_id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.region_id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* BuildIndexRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.region.BuildIndexRequest) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 region_id = 1; + if (this->_internal_region_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_region_id(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.region.BuildIndexRequest) + return target; +} + +size_t BuildIndexRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.region.BuildIndexRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint64 region_id = 1; + if (this->_internal_region_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_region_id()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BuildIndexRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + BuildIndexRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BuildIndexRequest::GetClassData() const { return &_class_data_; } + + +void BuildIndexRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.region.BuildIndexRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_region_id() != 0) { + _this->_internal_set_region_id(from._internal_region_id()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void BuildIndexRequest::CopyFrom(const BuildIndexRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.region.BuildIndexRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool BuildIndexRequest::IsInitialized() const { + return true; +} + +void BuildIndexRequest::InternalSwap(BuildIndexRequest* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.region_id_, other->_impl_.region_id_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata BuildIndexRequest::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, + file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[37]); +} + // @@protoc_insertion_point(namespace_scope) } // namespace region } // namespace v1 @@ -10564,6 +10825,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::region::ListMetadataRequest* Arena::CreateMaybeMessage< ::greptime::v1::region::ListMetadataRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::region::ListMetadataRequest >(arena); } +template<> PROTOBUF_NOINLINE ::greptime::v1::region::BuildIndexRequest* +Arena::CreateMaybeMessage< ::greptime::v1::region::BuildIndexRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::region::BuildIndexRequest >(arena); +} PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) diff --git a/c++/greptime/v1/region/server.pb.h b/c++/greptime/v1/region/server.pb.h index e34b7d0a..5a43c7ed 100644 --- a/c++/greptime/v1/region/server.pb.h +++ b/c++/greptime/v1/region/server.pb.h @@ -70,6 +70,9 @@ extern AlterRequestDefaultTypeInternal _AlterRequest_default_instance_; class AlterRequests; struct AlterRequestsDefaultTypeInternal; extern AlterRequestsDefaultTypeInternal _AlterRequests_default_instance_; +class BuildIndexRequest; +struct BuildIndexRequestDefaultTypeInternal; +extern BuildIndexRequestDefaultTypeInternal _BuildIndexRequest_default_instance_; class BulkInsertRequest; struct BulkInsertRequestDefaultTypeInternal; extern BulkInsertRequestDefaultTypeInternal _BulkInsertRequest_default_instance_; @@ -175,6 +178,7 @@ template<> ::greptime::v1::region::AddColumns* Arena::CreateMaybeMessage<::grept template<> ::greptime::v1::region::All* Arena::CreateMaybeMessage<::greptime::v1::region::All>(Arena*); template<> ::greptime::v1::region::AlterRequest* Arena::CreateMaybeMessage<::greptime::v1::region::AlterRequest>(Arena*); template<> ::greptime::v1::region::AlterRequests* Arena::CreateMaybeMessage<::greptime::v1::region::AlterRequests>(Arena*); +template<> ::greptime::v1::region::BuildIndexRequest* Arena::CreateMaybeMessage<::greptime::v1::region::BuildIndexRequest>(Arena*); template<> ::greptime::v1::region::BulkInsertRequest* Arena::CreateMaybeMessage<::greptime::v1::region::BulkInsertRequest>(Arena*); template<> ::greptime::v1::region::CloseRequest* Arena::CreateMaybeMessage<::greptime::v1::region::CloseRequest>(Arena*); template<> ::greptime::v1::region::CompactRequest* Arena::CreateMaybeMessage<::greptime::v1::region::CompactRequest>(Arena*); @@ -501,6 +505,7 @@ class RegionRequest final : kBulkInsert = 16, kSync = 17, kListMetadata = 18, + kBuildIndex = 19, BODY_NOT_SET = 0, }; @@ -599,6 +604,7 @@ class RegionRequest final : kBulkInsertFieldNumber = 16, kSyncFieldNumber = 17, kListMetadataFieldNumber = 18, + kBuildIndexFieldNumber = 19, }; // .greptime.v1.region.RegionRequestHeader header = 1; bool has_header() const; @@ -906,6 +912,24 @@ class RegionRequest final : ::greptime::v1::region::ListMetadataRequest* list_metadata); ::greptime::v1::region::ListMetadataRequest* unsafe_arena_release_list_metadata(); + // .greptime.v1.region.BuildIndexRequest build_index = 19; + bool has_build_index() const; + private: + bool _internal_has_build_index() const; + public: + void clear_build_index(); + const ::greptime::v1::region::BuildIndexRequest& build_index() const; + PROTOBUF_NODISCARD ::greptime::v1::region::BuildIndexRequest* release_build_index(); + ::greptime::v1::region::BuildIndexRequest* mutable_build_index(); + void set_allocated_build_index(::greptime::v1::region::BuildIndexRequest* build_index); + private: + const ::greptime::v1::region::BuildIndexRequest& _internal_build_index() const; + ::greptime::v1::region::BuildIndexRequest* _internal_mutable_build_index(); + public: + void unsafe_arena_set_allocated_build_index( + ::greptime::v1::region::BuildIndexRequest* build_index); + ::greptime::v1::region::BuildIndexRequest* unsafe_arena_release_build_index(); + void clear_body(); BodyCase body_case() const; // @@protoc_insertion_point(class_scope:greptime.v1.region.RegionRequest) @@ -927,6 +951,7 @@ class RegionRequest final : void set_has_bulk_insert(); void set_has_sync(); void set_has_list_metadata(); + void set_has_build_index(); inline bool has_body() const; inline void clear_has_body(); @@ -955,6 +980,7 @@ class RegionRequest final : ::greptime::v1::region::BulkInsertRequest* bulk_insert_; ::greptime::v1::region::SyncRequest* sync_; ::greptime::v1::region::ListMetadataRequest* list_metadata_; + ::greptime::v1::region::BuildIndexRequest* build_index_; } body_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; uint32_t _oneof_case_[1]; @@ -6558,6 +6584,154 @@ class ListMetadataRequest final : union { Impl_ _impl_; }; friend struct ::TableStruct_greptime_2fv1_2fregion_2fserver_2eproto; }; +// ------------------------------------------------------------------- + +class BuildIndexRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.region.BuildIndexRequest) */ { + public: + inline BuildIndexRequest() : BuildIndexRequest(nullptr) {} + ~BuildIndexRequest() override; + explicit PROTOBUF_CONSTEXPR BuildIndexRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + BuildIndexRequest(const BuildIndexRequest& from); + BuildIndexRequest(BuildIndexRequest&& from) noexcept + : BuildIndexRequest() { + *this = ::std::move(from); + } + + inline BuildIndexRequest& operator=(const BuildIndexRequest& from) { + CopyFrom(from); + return *this; + } + inline BuildIndexRequest& operator=(BuildIndexRequest&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BuildIndexRequest& default_instance() { + return *internal_default_instance(); + } + static inline const BuildIndexRequest* internal_default_instance() { + return reinterpret_cast( + &_BuildIndexRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 37; + + friend void swap(BuildIndexRequest& a, BuildIndexRequest& b) { + a.Swap(&b); + } + inline void Swap(BuildIndexRequest* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BuildIndexRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BuildIndexRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const BuildIndexRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const BuildIndexRequest& from) { + BuildIndexRequest::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(BuildIndexRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.region.BuildIndexRequest"; + } + protected: + explicit BuildIndexRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kRegionIdFieldNumber = 1, + }; + // uint64 region_id = 1; + void clear_region_id(); + uint64_t region_id() const; + void set_region_id(uint64_t value); + private: + uint64_t _internal_region_id() const; + void _internal_set_region_id(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:greptime.v1.region.BuildIndexRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + uint64_t region_id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fregion_2fserver_2eproto; +}; // =================================================================== @@ -8013,6 +8187,80 @@ inline ::greptime::v1::region::ListMetadataRequest* RegionRequest::mutable_list_ return _msg; } +// .greptime.v1.region.BuildIndexRequest build_index = 19; +inline bool RegionRequest::_internal_has_build_index() const { + return body_case() == kBuildIndex; +} +inline bool RegionRequest::has_build_index() const { + return _internal_has_build_index(); +} +inline void RegionRequest::set_has_build_index() { + _impl_._oneof_case_[0] = kBuildIndex; +} +inline void RegionRequest::clear_build_index() { + if (_internal_has_build_index()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.body_.build_index_; + } + clear_has_body(); + } +} +inline ::greptime::v1::region::BuildIndexRequest* RegionRequest::release_build_index() { + // @@protoc_insertion_point(field_release:greptime.v1.region.RegionRequest.build_index) + if (_internal_has_build_index()) { + clear_has_body(); + ::greptime::v1::region::BuildIndexRequest* temp = _impl_.body_.build_index_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.body_.build_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::region::BuildIndexRequest& RegionRequest::_internal_build_index() const { + return _internal_has_build_index() + ? *_impl_.body_.build_index_ + : reinterpret_cast< ::greptime::v1::region::BuildIndexRequest&>(::greptime::v1::region::_BuildIndexRequest_default_instance_); +} +inline const ::greptime::v1::region::BuildIndexRequest& RegionRequest::build_index() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.RegionRequest.build_index) + return _internal_build_index(); +} +inline ::greptime::v1::region::BuildIndexRequest* RegionRequest::unsafe_arena_release_build_index() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.region.RegionRequest.build_index) + if (_internal_has_build_index()) { + clear_has_body(); + ::greptime::v1::region::BuildIndexRequest* temp = _impl_.body_.build_index_; + _impl_.body_.build_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void RegionRequest::unsafe_arena_set_allocated_build_index(::greptime::v1::region::BuildIndexRequest* build_index) { + clear_body(); + if (build_index) { + set_has_build_index(); + _impl_.body_.build_index_ = build_index; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.RegionRequest.build_index) +} +inline ::greptime::v1::region::BuildIndexRequest* RegionRequest::_internal_mutable_build_index() { + if (!_internal_has_build_index()) { + clear_body(); + set_has_build_index(); + _impl_.body_.build_index_ = CreateMaybeMessage< ::greptime::v1::region::BuildIndexRequest >(GetArenaForAllocation()); + } + return _impl_.body_.build_index_; +} +inline ::greptime::v1::region::BuildIndexRequest* RegionRequest::mutable_build_index() { + ::greptime::v1::region::BuildIndexRequest* _msg = _internal_mutable_build_index(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.RegionRequest.build_index) + return _msg; +} + inline bool RegionRequest::has_body() const { return body_case() != BODY_NOT_SET; } @@ -11516,6 +11764,30 @@ ListMetadataRequest::mutable_region_ids() { return _internal_mutable_region_ids(); } +// ------------------------------------------------------------------- + +// BuildIndexRequest + +// uint64 region_id = 1; +inline void BuildIndexRequest::clear_region_id() { + _impl_.region_id_ = uint64_t{0u}; +} +inline uint64_t BuildIndexRequest::_internal_region_id() const { + return _impl_.region_id_; +} +inline uint64_t BuildIndexRequest::region_id() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.BuildIndexRequest.region_id) + return _internal_region_id(); +} +inline void BuildIndexRequest::_internal_set_region_id(uint64_t value) { + + _impl_.region_id_ = value; +} +inline void BuildIndexRequest::set_region_id(uint64_t value) { + _internal_set_region_id(value); + // @@protoc_insertion_point(field_set:greptime.v1.region.BuildIndexRequest.region_id) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -11591,6 +11863,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 8bf818a6..4d4c5e36 100644 --- a/go/greptime/v1/region/server.pb.go +++ b/go/greptime/v1/region/server.pb.go @@ -129,6 +129,7 @@ type RegionRequest struct { // *RegionRequest_BulkInsert // *RegionRequest_Sync // *RegionRequest_ListMetadata + // *RegionRequest_BuildIndex Body isRegionRequest_Body `protobuf_oneof:"body"` } @@ -290,6 +291,13 @@ func (x *RegionRequest) GetListMetadata() *ListMetadataRequest { return nil } +func (x *RegionRequest) GetBuildIndex() *BuildIndexRequest { + if x, ok := x.GetBody().(*RegionRequest_BuildIndex); ok { + return x.BuildIndex + } + return nil +} + type isRegionRequest_Body interface { isRegionRequest_Body() } @@ -358,6 +366,10 @@ type RegionRequest_ListMetadata struct { ListMetadata *ListMetadataRequest `protobuf:"bytes,18,opt,name=list_metadata,json=listMetadata,proto3,oneof"` } +type RegionRequest_BuildIndex struct { + BuildIndex *BuildIndexRequest `protobuf:"bytes,19,opt,name=build_index,json=buildIndex,proto3,oneof"` +} + func (*RegionRequest_Inserts) isRegionRequest_Body() {} func (*RegionRequest_Deletes) isRegionRequest_Body() {} @@ -390,6 +402,8 @@ func (*RegionRequest_Sync) isRegionRequest_Body() {} func (*RegionRequest_ListMetadata) isRegionRequest_Body() {} +func (*RegionRequest_BuildIndex) isRegionRequest_Body() {} + type RegionResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2369,6 +2383,53 @@ func (x *ListMetadataRequest) GetRegionIds() []uint64 { return nil } +type BuildIndexRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` +} + +func (x *BuildIndexRequest) Reset() { + *x = BuildIndexRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_region_server_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuildIndexRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuildIndexRequest) ProtoMessage() {} + +func (x *BuildIndexRequest) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_region_server_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuildIndexRequest.ProtoReflect.Descriptor instead. +func (*BuildIndexRequest) Descriptor() ([]byte, []int) { + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{33} +} + +func (x *BuildIndexRequest) GetRegionId() uint64 { + if x != nil { + return x.RegionId + } + return 0 +} + var File_greptime_v1_region_server_proto protoreflect.FileDescriptor var file_greptime_v1_region_server_proto_rawDesc = []byte{ @@ -2399,7 +2460,7 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{ 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0xbc, 0x08, 0x0a, 0x0d, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x86, 0x09, 0x0a, 0x0d, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, @@ -2466,284 +2527,292 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{ 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x6c, - 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04, 0x62, - 0x6f, 0x64, 0x79, 0x22, 0x99, 0x02, 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x61, - 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, - 0x12, 0x52, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x1a, 0x3d, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, - 0x4f, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, - 0x22, 0x4f, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x73, 0x22, 0x53, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, - 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, - 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, - 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22, 0x53, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, - 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x0c, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, - 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, - 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, - 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x0a, - 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6c, - 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x4f, - 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, - 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, - 0x80, 0x03, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x48, 0x0a, 0x0b, 0x62, + 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x25, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x99, 0x02, + 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x33, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x61, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x52, 0x0a, 0x0a, 0x65, 0x78, + 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3d, 0x0a, 0x0f, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4f, 0x0a, 0x0e, 0x49, 0x6e, 0x73, + 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x4f, 0x0a, 0x0e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x53, 0x0a, 0x0d, 0x49, + 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, + 0x22, 0x53, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, - 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, - 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, - 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, 0x12, 0x1f, 0x0a, 0x0b, - 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, - 0x0d, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x12, 0x48, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x70, - 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, - 0x61, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, - 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0x4b, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, - 0x47, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, - 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x66, - 0x61, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, - 0x66, 0x61, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0xda, 0x01, 0x0a, 0x0b, 0x4f, 0x70, 0x65, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, + 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, + 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, + 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x4f, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x80, 0x03, 0x0a, 0x0d, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, + 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, + 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, + 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x72, 0x69, + 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x48, 0x0a, 0x07, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x72, 0x74, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4b, 0x0a, 0x0c, + 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x08, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x47, 0x0a, 0x0b, 0x44, 0x72, 0x6f, + 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x12, 0x46, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2b, 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x0d, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x73, 0x22, 0x8a, 0x07, 0x0a, 0x0c, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x61, 0x73, 0x74, 0x50, 0x61, + 0x74, 0x68, 0x22, 0xda, 0x01, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, - 0x41, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, - 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, 0x6f, - 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x6d, 0x6f, 0x64, 0x69, - 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x54, 0x79, 0x70, 0x65, 0x73, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x73, 0x65, - 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x11, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x09, 0x73, 0x65, 0x74, 0x5f, - 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, + 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x46, 0x0a, 0x07, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0x2b, 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x0d, + 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3c, 0x0a, + 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x8a, 0x07, 0x0a, 0x0c, + 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x41, 0x0a, 0x0b, 0x61, 0x64, 0x64, + 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, + 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0c, + 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, + 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x48, + 0x00, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, + 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, + 0x0f, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x50, 0x0a, 0x13, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, + 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, + 0x11, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x09, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x08, + 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3a, 0x0a, 0x0b, 0x75, 0x6e, 0x73, 0x65, + 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, + 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x0a, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, + 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, - 0x65, 0x78, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3a, - 0x0a, 0x0b, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x0a, - 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x0d, 0x64, 0x72, - 0x6f, 0x70, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0c, - 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0b, - 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, - 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x65, - 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, - 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x75, 0x6e, - 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x73, 0x65, - 0x74, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, - 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x73, 0x79, 0x6e, - 0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, - 0x48, 0x00, 0x52, 0x0b, 0x73, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, - 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x53, - 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x44, 0x0a, - 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, - 0x65, 0x66, 0x73, 0x22, 0x4c, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x73, 0x22, 0x50, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, - 0x12, 0x41, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70, - 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x73, 0x22, 0x8b, 0x01, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x12, 0x42, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, - 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x20, 0x0a, 0x0a, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x22, 0x2b, 0x0a, 0x0c, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x22, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x22, 0x35, 0x0a, 0x0c, 0x53, - 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x25, 0x0a, 0x0e, 0x77, - 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0d, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x65, 0x63, 0x6f, 0x6e, - 0x64, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, - 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x12, 0x47, 0x0a, 0x0d, 0x73, - 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, 0x69, - 0x6e, 0x64, 0x6f, 0x77, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, 0x69, - 0x6e, 0x64, 0x6f, 0x77, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, - 0x9f, 0x01, 0x0a, 0x0f, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x12, 0x2b, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x3a, 0x0a, - 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x74, - 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, - 0x64, 0x22, 0x05, 0x0a, 0x03, 0x41, 0x6c, 0x6c, 0x22, 0x65, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, - 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x35, 0x0a, 0x0a, 0x63, + 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, + 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, + 0x6c, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x53, + 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x79, + 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x53, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, + 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, + 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, 0x22, 0x4c, 0x0a, + 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x61, + 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, + 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x50, 0x0a, 0x0b, 0x44, + 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x0c, 0x64, 0x72, + 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x8b, 0x01, + 0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x42, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, - 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x64, 0x22, - 0x6e, 0x0a, 0x11, 0x42, 0x75, 0x6c, 0x6b, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x12, 0x34, 0x0a, 0x09, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x5f, 0x69, 0x70, 0x63, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x48, 0x00, 0x52, 0x08, 0x61, - 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, - 0x46, 0x0a, 0x10, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, - 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x4d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, - 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, - 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x19, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, - 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4d, - 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xed, - 0x01, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, + 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, + 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x0a, 0x44, + 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2b, 0x0a, + 0x0c, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, + 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x09, 0x0a, 0x07, 0x52, 0x65, + 0x67, 0x75, 0x6c, 0x61, 0x72, 0x22, 0x35, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, + 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x25, 0x0a, 0x0e, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, + 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x77, + 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0xba, 0x01, 0x0a, + 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, + 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, + 0x67, 0x75, 0x6c, 0x61, 0x72, 0x12, 0x47, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, + 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x48, 0x00, + 0x52, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x42, 0x09, + 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0f, 0x54, 0x72, + 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, + 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x03, 0x61, 0x6c, + 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, + 0x48, 0x00, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x3a, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, + 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, + 0x61, 0x6e, 0x67, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, + 0x67, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x05, 0x0a, 0x03, 0x41, + 0x6c, 0x6c, 0x22, 0x65, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x35, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, + 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, + 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, + 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x64, 0x22, 0x6e, 0x0a, 0x11, 0x42, 0x75, 0x6c, + 0x6b, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 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, + 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x09, 0x61, + 0x72, 0x72, 0x6f, 0x77, 0x5f, 0x69, 0x70, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x72, + 0x6f, 0x77, 0x49, 0x70, 0x63, 0x48, 0x00, 0x52, 0x08, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, + 0x63, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x46, 0x0a, 0x10, 0x4d, 0x69, 0x74, + 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, + 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, + 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, + 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, + 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, + 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x19, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, + 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x17, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, + 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xed, 0x01, 0x0a, 0x0b, 0x53, 0x79, 0x6e, + 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x69, 0x74, 0x6f, 0x5f, 0x6d, 0x61, + 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, + 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x10, 0x6d, 0x69, 0x74, 0x6f, 0x4d, + 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5a, 0x0a, 0x14, 0x6d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, + 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0f, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x69, 0x66, + 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x30, + 0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x32, 0x59, 0x0a, 0x06, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06, 0x48, 0x61, + 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5d, 0x0a, 0x15, 0x69, + 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5a, 0x3c, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( @@ -2758,7 +2827,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, 37) +var file_greptime_v1_region_server_proto_msgTypes = make([]protoimpl.MessageInfo, 38) var file_greptime_v1_region_server_proto_goTypes = []interface{}{ (*RegionRequestHeader)(nil), // 0: greptime.v1.region.RegionRequestHeader (*RegionRequest)(nil), // 1: greptime.v1.region.RegionRequest @@ -2793,31 +2862,32 @@ var file_greptime_v1_region_server_proto_goTypes = []interface{}{ (*MetricManifestInfo)(nil), // 30: greptime.v1.region.MetricManifestInfo (*SyncRequest)(nil), // 31: greptime.v1.region.SyncRequest (*ListMetadataRequest)(nil), // 32: greptime.v1.region.ListMetadataRequest - nil, // 33: greptime.v1.region.RegionRequestHeader.TracingContextEntry - nil, // 34: greptime.v1.region.RegionResponse.ExtensionsEntry - nil, // 35: greptime.v1.region.CreateRequest.OptionsEntry - nil, // 36: greptime.v1.region.OpenRequest.OptionsEntry - (*v1.QueryContext)(nil), // 37: greptime.v1.QueryContext - (*v1.ResponseHeader)(nil), // 38: greptime.v1.ResponseHeader - (*v1.Rows)(nil), // 39: greptime.v1.Rows - (*meta.Partition)(nil), // 40: greptime.v1.meta.Partition - (*v1.ModifyColumnTypes)(nil), // 41: greptime.v1.ModifyColumnTypes - (*v1.SetTableOptions)(nil), // 42: greptime.v1.SetTableOptions - (*v1.UnsetTableOptions)(nil), // 43: greptime.v1.UnsetTableOptions - (*v1.SetIndex)(nil), // 44: greptime.v1.SetIndex - (*v1.UnsetIndex)(nil), // 45: greptime.v1.UnsetIndex - (*v1.DropDefaults)(nil), // 46: greptime.v1.DropDefaults - (*v1.SetIndexes)(nil), // 47: greptime.v1.SetIndexes - (*v1.UnsetIndexes)(nil), // 48: greptime.v1.UnsetIndexes - (*v1.SetDefaults)(nil), // 49: greptime.v1.SetDefaults - (*v1.AddColumnLocation)(nil), // 50: greptime.v1.AddColumnLocation - (*v1.TimeRanges)(nil), // 51: greptime.v1.TimeRanges - (*v1.ColumnDef)(nil), // 52: greptime.v1.ColumnDef - (*v1.ArrowIpc)(nil), // 53: greptime.v1.ArrowIpc + (*BuildIndexRequest)(nil), // 33: greptime.v1.region.BuildIndexRequest + nil, // 34: greptime.v1.region.RegionRequestHeader.TracingContextEntry + nil, // 35: greptime.v1.region.RegionResponse.ExtensionsEntry + nil, // 36: greptime.v1.region.CreateRequest.OptionsEntry + nil, // 37: greptime.v1.region.OpenRequest.OptionsEntry + (*v1.QueryContext)(nil), // 38: greptime.v1.QueryContext + (*v1.ResponseHeader)(nil), // 39: greptime.v1.ResponseHeader + (*v1.Rows)(nil), // 40: greptime.v1.Rows + (*meta.Partition)(nil), // 41: greptime.v1.meta.Partition + (*v1.ModifyColumnTypes)(nil), // 42: greptime.v1.ModifyColumnTypes + (*v1.SetTableOptions)(nil), // 43: greptime.v1.SetTableOptions + (*v1.UnsetTableOptions)(nil), // 44: greptime.v1.UnsetTableOptions + (*v1.SetIndex)(nil), // 45: greptime.v1.SetIndex + (*v1.UnsetIndex)(nil), // 46: greptime.v1.UnsetIndex + (*v1.DropDefaults)(nil), // 47: greptime.v1.DropDefaults + (*v1.SetIndexes)(nil), // 48: greptime.v1.SetIndexes + (*v1.UnsetIndexes)(nil), // 49: greptime.v1.UnsetIndexes + (*v1.SetDefaults)(nil), // 50: greptime.v1.SetDefaults + (*v1.AddColumnLocation)(nil), // 51: greptime.v1.AddColumnLocation + (*v1.TimeRanges)(nil), // 52: greptime.v1.TimeRanges + (*v1.ColumnDef)(nil), // 53: greptime.v1.ColumnDef + (*v1.ArrowIpc)(nil), // 54: greptime.v1.ArrowIpc } var file_greptime_v1_region_server_proto_depIdxs = []int32{ - 33, // 0: greptime.v1.region.RegionRequestHeader.tracing_context:type_name -> greptime.v1.region.RegionRequestHeader.TracingContextEntry - 37, // 1: greptime.v1.region.RegionRequestHeader.query_context:type_name -> greptime.v1.QueryContext + 34, // 0: greptime.v1.region.RegionRequestHeader.tracing_context:type_name -> greptime.v1.region.RegionRequestHeader.TracingContextEntry + 38, // 1: greptime.v1.region.RegionRequestHeader.query_context:type_name -> greptime.v1.QueryContext 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 @@ -2835,52 +2905,53 @@ var file_greptime_v1_region_server_proto_depIdxs = []int32{ 28, // 16: greptime.v1.region.RegionRequest.bulk_insert:type_name -> greptime.v1.region.BulkInsertRequest 31, // 17: greptime.v1.region.RegionRequest.sync:type_name -> greptime.v1.region.SyncRequest 32, // 18: greptime.v1.region.RegionRequest.list_metadata:type_name -> greptime.v1.region.ListMetadataRequest - 38, // 19: greptime.v1.region.RegionResponse.header:type_name -> greptime.v1.ResponseHeader - 34, // 20: greptime.v1.region.RegionResponse.extensions:type_name -> greptime.v1.region.RegionResponse.ExtensionsEntry - 5, // 21: greptime.v1.region.InsertRequests.requests:type_name -> greptime.v1.region.InsertRequest - 6, // 22: greptime.v1.region.DeleteRequests.requests:type_name -> greptime.v1.region.DeleteRequest - 39, // 23: greptime.v1.region.InsertRequest.rows:type_name -> greptime.v1.Rows - 39, // 24: greptime.v1.region.DeleteRequest.rows:type_name -> greptime.v1.Rows - 0, // 25: greptime.v1.region.QueryRequest.header:type_name -> greptime.v1.region.RegionRequestHeader - 9, // 26: greptime.v1.region.CreateRequests.requests:type_name -> greptime.v1.region.CreateRequest - 27, // 27: greptime.v1.region.CreateRequest.column_defs:type_name -> greptime.v1.region.RegionColumnDef - 35, // 28: greptime.v1.region.CreateRequest.options:type_name -> greptime.v1.region.CreateRequest.OptionsEntry - 40, // 29: greptime.v1.region.CreateRequest.partition:type_name -> greptime.v1.meta.Partition - 11, // 30: greptime.v1.region.DropRequests.requests:type_name -> greptime.v1.region.DropRequest - 36, // 31: greptime.v1.region.OpenRequest.options:type_name -> greptime.v1.region.OpenRequest.OptionsEntry - 15, // 32: greptime.v1.region.AlterRequests.requests:type_name -> greptime.v1.region.AlterRequest - 17, // 33: greptime.v1.region.AlterRequest.add_columns:type_name -> greptime.v1.region.AddColumns - 18, // 34: greptime.v1.region.AlterRequest.drop_columns:type_name -> greptime.v1.region.DropColumns - 41, // 35: greptime.v1.region.AlterRequest.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes - 42, // 36: greptime.v1.region.AlterRequest.set_table_options:type_name -> greptime.v1.SetTableOptions - 43, // 37: greptime.v1.region.AlterRequest.unset_table_options:type_name -> greptime.v1.UnsetTableOptions - 44, // 38: greptime.v1.region.AlterRequest.set_index:type_name -> greptime.v1.SetIndex - 45, // 39: greptime.v1.region.AlterRequest.unset_index:type_name -> greptime.v1.UnsetIndex - 46, // 40: greptime.v1.region.AlterRequest.drop_defaults:type_name -> greptime.v1.DropDefaults - 47, // 41: greptime.v1.region.AlterRequest.set_indexes:type_name -> greptime.v1.SetIndexes - 48, // 42: greptime.v1.region.AlterRequest.unset_indexes:type_name -> greptime.v1.UnsetIndexes - 49, // 43: greptime.v1.region.AlterRequest.set_defaults:type_name -> greptime.v1.SetDefaults - 16, // 44: greptime.v1.region.AlterRequest.sync_columns:type_name -> greptime.v1.region.SyncColumns - 27, // 45: greptime.v1.region.SyncColumns.column_defs:type_name -> greptime.v1.region.RegionColumnDef - 19, // 46: greptime.v1.region.AddColumns.add_columns:type_name -> greptime.v1.region.AddColumn - 20, // 47: greptime.v1.region.DropColumns.drop_columns:type_name -> greptime.v1.region.DropColumn - 27, // 48: greptime.v1.region.AddColumn.column_def:type_name -> greptime.v1.region.RegionColumnDef - 50, // 49: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation - 22, // 50: greptime.v1.region.CompactRequest.regular:type_name -> greptime.v1.region.Regular - 23, // 51: greptime.v1.region.CompactRequest.strict_window:type_name -> greptime.v1.region.StrictWindow - 26, // 52: greptime.v1.region.TruncateRequest.all:type_name -> greptime.v1.region.All - 51, // 53: greptime.v1.region.TruncateRequest.time_ranges:type_name -> greptime.v1.TimeRanges - 52, // 54: greptime.v1.region.RegionColumnDef.column_def:type_name -> greptime.v1.ColumnDef - 53, // 55: greptime.v1.region.BulkInsertRequest.arrow_ipc:type_name -> greptime.v1.ArrowIpc - 29, // 56: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo - 30, // 57: greptime.v1.region.SyncRequest.metric_manifest_info:type_name -> greptime.v1.region.MetricManifestInfo - 1, // 58: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest - 2, // 59: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse - 59, // [59:60] is the sub-list for method output_type - 58, // [58:59] is the sub-list for method input_type - 58, // [58:58] is the sub-list for extension type_name - 58, // [58:58] is the sub-list for extension extendee - 0, // [0:58] is the sub-list for field type_name + 33, // 19: greptime.v1.region.RegionRequest.build_index:type_name -> greptime.v1.region.BuildIndexRequest + 39, // 20: greptime.v1.region.RegionResponse.header:type_name -> greptime.v1.ResponseHeader + 35, // 21: greptime.v1.region.RegionResponse.extensions:type_name -> greptime.v1.region.RegionResponse.ExtensionsEntry + 5, // 22: greptime.v1.region.InsertRequests.requests:type_name -> greptime.v1.region.InsertRequest + 6, // 23: greptime.v1.region.DeleteRequests.requests:type_name -> greptime.v1.region.DeleteRequest + 40, // 24: greptime.v1.region.InsertRequest.rows:type_name -> greptime.v1.Rows + 40, // 25: greptime.v1.region.DeleteRequest.rows:type_name -> greptime.v1.Rows + 0, // 26: greptime.v1.region.QueryRequest.header:type_name -> greptime.v1.region.RegionRequestHeader + 9, // 27: greptime.v1.region.CreateRequests.requests:type_name -> greptime.v1.region.CreateRequest + 27, // 28: greptime.v1.region.CreateRequest.column_defs:type_name -> greptime.v1.region.RegionColumnDef + 36, // 29: greptime.v1.region.CreateRequest.options:type_name -> greptime.v1.region.CreateRequest.OptionsEntry + 41, // 30: greptime.v1.region.CreateRequest.partition:type_name -> greptime.v1.meta.Partition + 11, // 31: greptime.v1.region.DropRequests.requests:type_name -> greptime.v1.region.DropRequest + 37, // 32: greptime.v1.region.OpenRequest.options:type_name -> greptime.v1.region.OpenRequest.OptionsEntry + 15, // 33: greptime.v1.region.AlterRequests.requests:type_name -> greptime.v1.region.AlterRequest + 17, // 34: greptime.v1.region.AlterRequest.add_columns:type_name -> greptime.v1.region.AddColumns + 18, // 35: greptime.v1.region.AlterRequest.drop_columns:type_name -> greptime.v1.region.DropColumns + 42, // 36: greptime.v1.region.AlterRequest.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes + 43, // 37: greptime.v1.region.AlterRequest.set_table_options:type_name -> greptime.v1.SetTableOptions + 44, // 38: greptime.v1.region.AlterRequest.unset_table_options:type_name -> greptime.v1.UnsetTableOptions + 45, // 39: greptime.v1.region.AlterRequest.set_index:type_name -> greptime.v1.SetIndex + 46, // 40: greptime.v1.region.AlterRequest.unset_index:type_name -> greptime.v1.UnsetIndex + 47, // 41: greptime.v1.region.AlterRequest.drop_defaults:type_name -> greptime.v1.DropDefaults + 48, // 42: greptime.v1.region.AlterRequest.set_indexes:type_name -> greptime.v1.SetIndexes + 49, // 43: greptime.v1.region.AlterRequest.unset_indexes:type_name -> greptime.v1.UnsetIndexes + 50, // 44: greptime.v1.region.AlterRequest.set_defaults:type_name -> greptime.v1.SetDefaults + 16, // 45: greptime.v1.region.AlterRequest.sync_columns:type_name -> greptime.v1.region.SyncColumns + 27, // 46: greptime.v1.region.SyncColumns.column_defs:type_name -> greptime.v1.region.RegionColumnDef + 19, // 47: greptime.v1.region.AddColumns.add_columns:type_name -> greptime.v1.region.AddColumn + 20, // 48: greptime.v1.region.DropColumns.drop_columns:type_name -> greptime.v1.region.DropColumn + 27, // 49: greptime.v1.region.AddColumn.column_def:type_name -> greptime.v1.region.RegionColumnDef + 51, // 50: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation + 22, // 51: greptime.v1.region.CompactRequest.regular:type_name -> greptime.v1.region.Regular + 23, // 52: greptime.v1.region.CompactRequest.strict_window:type_name -> greptime.v1.region.StrictWindow + 26, // 53: greptime.v1.region.TruncateRequest.all:type_name -> greptime.v1.region.All + 52, // 54: greptime.v1.region.TruncateRequest.time_ranges:type_name -> greptime.v1.TimeRanges + 53, // 55: greptime.v1.region.RegionColumnDef.column_def:type_name -> greptime.v1.ColumnDef + 54, // 56: greptime.v1.region.BulkInsertRequest.arrow_ipc:type_name -> greptime.v1.ArrowIpc + 29, // 57: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo + 30, // 58: greptime.v1.region.SyncRequest.metric_manifest_info:type_name -> greptime.v1.region.MetricManifestInfo + 1, // 59: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest + 2, // 60: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse + 60, // [60:61] is the sub-list for method output_type + 59, // [59:60] is the sub-list for method input_type + 59, // [59:59] is the sub-list for extension type_name + 59, // [59:59] is the sub-list for extension extendee + 0, // [0:59] is the sub-list for field type_name } func init() { file_greptime_v1_region_server_proto_init() } @@ -3285,6 +3356,18 @@ func file_greptime_v1_region_server_proto_init() { return nil } } + file_greptime_v1_region_server_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuildIndexRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } file_greptime_v1_region_server_proto_msgTypes[1].OneofWrappers = []interface{}{ (*RegionRequest_Inserts)(nil), @@ -3303,6 +3386,7 @@ func file_greptime_v1_region_server_proto_init() { (*RegionRequest_BulkInsert)(nil), (*RegionRequest_Sync)(nil), (*RegionRequest_ListMetadata)(nil), + (*RegionRequest_BuildIndex)(nil), } file_greptime_v1_region_server_proto_msgTypes[15].OneofWrappers = []interface{}{ (*AlterRequest_AddColumns)(nil), @@ -3339,7 +3423,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: 37, + NumMessages: 38, 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 0b8236aa..6cc41d36 100644 --- a/java/src/main/java/io/greptime/v1/region/Server.java +++ b/java/src/main/java/io/greptime/v1/region/Server.java @@ -1547,6 +1547,21 @@ public interface RegionRequestOrBuilder extends */ io.greptime.v1.region.Server.ListMetadataRequestOrBuilder getListMetadataOrBuilder(); + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + * @return Whether the buildIndex field is set. + */ + boolean hasBuildIndex(); + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + * @return The buildIndex. + */ + io.greptime.v1.region.Server.BuildIndexRequest getBuildIndex(); + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + */ + io.greptime.v1.region.Server.BuildIndexRequestOrBuilder getBuildIndexOrBuilder(); + public io.greptime.v1.region.Server.RegionRequest.BodyCase getBodyCase(); } /** @@ -1831,6 +1846,20 @@ private RegionRequest( bodyCase_ = 18; break; } + case 154: { + io.greptime.v1.region.Server.BuildIndexRequest.Builder subBuilder = null; + if (bodyCase_ == 19) { + subBuilder = ((io.greptime.v1.region.Server.BuildIndexRequest) body_).toBuilder(); + } + body_ = + input.readMessage(io.greptime.v1.region.Server.BuildIndexRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.region.Server.BuildIndexRequest) body_); + body_ = subBuilder.buildPartial(); + } + bodyCase_ = 19; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -1886,6 +1915,7 @@ public enum BodyCase BULK_INSERT(16), SYNC(17), LIST_METADATA(18), + BUILD_INDEX(19), BODY_NOT_SET(0); private final int value; private BodyCase(int value) { @@ -1919,6 +1949,7 @@ public static BodyCase forNumber(int value) { case 16: return BULK_INSERT; case 17: return SYNC; case 18: return LIST_METADATA; + case 19: return BUILD_INDEX; case 0: return BODY_NOT_SET; default: return null; } @@ -2456,6 +2487,37 @@ public io.greptime.v1.region.Server.ListMetadataRequestOrBuilder getListMetadata return io.greptime.v1.region.Server.ListMetadataRequest.getDefaultInstance(); } + public static final int BUILD_INDEX_FIELD_NUMBER = 19; + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + * @return Whether the buildIndex field is set. + */ + @java.lang.Override + public boolean hasBuildIndex() { + return bodyCase_ == 19; + } + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + * @return The buildIndex. + */ + @java.lang.Override + public io.greptime.v1.region.Server.BuildIndexRequest getBuildIndex() { + if (bodyCase_ == 19) { + return (io.greptime.v1.region.Server.BuildIndexRequest) body_; + } + return io.greptime.v1.region.Server.BuildIndexRequest.getDefaultInstance(); + } + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + */ + @java.lang.Override + public io.greptime.v1.region.Server.BuildIndexRequestOrBuilder getBuildIndexOrBuilder() { + if (bodyCase_ == 19) { + return (io.greptime.v1.region.Server.BuildIndexRequest) body_; + } + return io.greptime.v1.region.Server.BuildIndexRequest.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -2521,6 +2583,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (bodyCase_ == 18) { output.writeMessage(18, (io.greptime.v1.region.Server.ListMetadataRequest) body_); } + if (bodyCase_ == 19) { + output.writeMessage(19, (io.greptime.v1.region.Server.BuildIndexRequest) body_); + } unknownFields.writeTo(output); } @@ -2598,6 +2663,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, (io.greptime.v1.region.Server.ListMetadataRequest) body_); } + if (bodyCase_ == 19) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, (io.greptime.v1.region.Server.BuildIndexRequest) body_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2684,6 +2753,10 @@ public boolean equals(final java.lang.Object obj) { if (!getListMetadata() .equals(other.getListMetadata())) return false; break; + case 19: + if (!getBuildIndex() + .equals(other.getBuildIndex())) return false; + break; case 0: default: } @@ -2767,6 +2840,10 @@ public int hashCode() { hash = (37 * hash) + LIST_METADATA_FIELD_NUMBER; hash = (53 * hash) + getListMetadata().hashCode(); break; + case 19: + hash = (37 * hash) + BUILD_INDEX_FIELD_NUMBER; + hash = (53 * hash) + getBuildIndex().hashCode(); + break; case 0: default: } @@ -3054,6 +3131,13 @@ public io.greptime.v1.region.Server.RegionRequest buildPartial() { result.body_ = listMetadataBuilder_.build(); } } + if (bodyCase_ == 19) { + if (buildIndexBuilder_ == null) { + result.body_ = body_; + } else { + result.body_ = buildIndexBuilder_.build(); + } + } result.bodyCase_ = bodyCase_; onBuilt(); return result; @@ -3171,6 +3255,10 @@ public Builder mergeFrom(io.greptime.v1.region.Server.RegionRequest other) { mergeListMetadata(other.getListMetadata()); break; } + case BUILD_INDEX: { + mergeBuildIndex(other.getBuildIndex()); + break; + } case BODY_NOT_SET: { break; } @@ -5609,6 +5697,148 @@ public io.greptime.v1.region.Server.ListMetadataRequestOrBuilder getListMetadata onChanged();; return listMetadataBuilder_; } + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.region.Server.BuildIndexRequest, io.greptime.v1.region.Server.BuildIndexRequest.Builder, io.greptime.v1.region.Server.BuildIndexRequestOrBuilder> buildIndexBuilder_; + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + * @return Whether the buildIndex field is set. + */ + @java.lang.Override + public boolean hasBuildIndex() { + return bodyCase_ == 19; + } + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + * @return The buildIndex. + */ + @java.lang.Override + public io.greptime.v1.region.Server.BuildIndexRequest getBuildIndex() { + if (buildIndexBuilder_ == null) { + if (bodyCase_ == 19) { + return (io.greptime.v1.region.Server.BuildIndexRequest) body_; + } + return io.greptime.v1.region.Server.BuildIndexRequest.getDefaultInstance(); + } else { + if (bodyCase_ == 19) { + return buildIndexBuilder_.getMessage(); + } + return io.greptime.v1.region.Server.BuildIndexRequest.getDefaultInstance(); + } + } + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + */ + public Builder setBuildIndex(io.greptime.v1.region.Server.BuildIndexRequest value) { + if (buildIndexBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + body_ = value; + onChanged(); + } else { + buildIndexBuilder_.setMessage(value); + } + bodyCase_ = 19; + return this; + } + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + */ + public Builder setBuildIndex( + io.greptime.v1.region.Server.BuildIndexRequest.Builder builderForValue) { + if (buildIndexBuilder_ == null) { + body_ = builderForValue.build(); + onChanged(); + } else { + buildIndexBuilder_.setMessage(builderForValue.build()); + } + bodyCase_ = 19; + return this; + } + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + */ + public Builder mergeBuildIndex(io.greptime.v1.region.Server.BuildIndexRequest value) { + if (buildIndexBuilder_ == null) { + if (bodyCase_ == 19 && + body_ != io.greptime.v1.region.Server.BuildIndexRequest.getDefaultInstance()) { + body_ = io.greptime.v1.region.Server.BuildIndexRequest.newBuilder((io.greptime.v1.region.Server.BuildIndexRequest) body_) + .mergeFrom(value).buildPartial(); + } else { + body_ = value; + } + onChanged(); + } else { + if (bodyCase_ == 19) { + buildIndexBuilder_.mergeFrom(value); + } else { + buildIndexBuilder_.setMessage(value); + } + } + bodyCase_ = 19; + return this; + } + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + */ + public Builder clearBuildIndex() { + if (buildIndexBuilder_ == null) { + if (bodyCase_ == 19) { + bodyCase_ = 0; + body_ = null; + onChanged(); + } + } else { + if (bodyCase_ == 19) { + bodyCase_ = 0; + body_ = null; + } + buildIndexBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + */ + public io.greptime.v1.region.Server.BuildIndexRequest.Builder getBuildIndexBuilder() { + return getBuildIndexFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + */ + @java.lang.Override + public io.greptime.v1.region.Server.BuildIndexRequestOrBuilder getBuildIndexOrBuilder() { + if ((bodyCase_ == 19) && (buildIndexBuilder_ != null)) { + return buildIndexBuilder_.getMessageOrBuilder(); + } else { + if (bodyCase_ == 19) { + return (io.greptime.v1.region.Server.BuildIndexRequest) body_; + } + return io.greptime.v1.region.Server.BuildIndexRequest.getDefaultInstance(); + } + } + /** + * .greptime.v1.region.BuildIndexRequest build_index = 19; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.region.Server.BuildIndexRequest, io.greptime.v1.region.Server.BuildIndexRequest.Builder, io.greptime.v1.region.Server.BuildIndexRequestOrBuilder> + getBuildIndexFieldBuilder() { + if (buildIndexBuilder_ == null) { + if (!(bodyCase_ == 19)) { + body_ = io.greptime.v1.region.Server.BuildIndexRequest.getDefaultInstance(); + } + buildIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.region.Server.BuildIndexRequest, io.greptime.v1.region.Server.BuildIndexRequest.Builder, io.greptime.v1.region.Server.BuildIndexRequestOrBuilder>( + (io.greptime.v1.region.Server.BuildIndexRequest) body_, + getParentForChildren(), + isClean()); + body_ = null; + } + bodyCase_ = 19; + onChanged();; + return buildIndexBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -32976,144 +33206,635 @@ public io.greptime.v1.region.Server.ListMetadataRequest getDefaultInstanceForTyp } - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_RegionRequestHeader_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_RegionRequestHeader_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_RegionRequestHeader_TracingContextEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_RegionRequestHeader_TracingContextEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_RegionRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_RegionRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_RegionResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_RegionResponse_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_RegionResponse_ExtensionsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_RegionResponse_ExtensionsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_InsertRequests_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_InsertRequests_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_DeleteRequests_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_DeleteRequests_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_InsertRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_InsertRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_DeleteRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_DeleteRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_QueryRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_QueryRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_CreateRequests_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_CreateRequests_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_CreateRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_CreateRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_CreateRequest_OptionsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_CreateRequest_OptionsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_DropRequests_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_DropRequests_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_DropRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_DropRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_OpenRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_OpenRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_OpenRequest_OptionsEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_OpenRequest_OptionsEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_CloseRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_CloseRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_AlterRequests_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_AlterRequests_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_AlterRequest_descriptor; - 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 - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_AddColumns_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_DropColumns_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_DropColumns_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_AddColumn_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_AddColumn_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_DropColumn_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_DropColumn_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_FlushRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_FlushRequest_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_Regular_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_region_Regular_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_region_StrictWindow_descriptor; - private static final + public interface BuildIndexRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.region.BuildIndexRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * uint64 region_id = 1; + * @return The regionId. + */ + long getRegionId(); + } + /** + * Protobuf type {@code greptime.v1.region.BuildIndexRequest} + */ + public static final class BuildIndexRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.region.BuildIndexRequest) + BuildIndexRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use BuildIndexRequest.newBuilder() to construct. + private BuildIndexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BuildIndexRequest() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BuildIndexRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BuildIndexRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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 8: { + + regionId_ = input.readUInt64(); + 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 { + 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_BuildIndexRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.region.Server.internal_static_greptime_v1_region_BuildIndexRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.region.Server.BuildIndexRequest.class, io.greptime.v1.region.Server.BuildIndexRequest.Builder.class); + } + + public static final int REGION_ID_FIELD_NUMBER = 1; + private long regionId_; + /** + * uint64 region_id = 1; + * @return The regionId. + */ + @java.lang.Override + public long getRegionId() { + return regionId_; + } + + 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 { + if (regionId_ != 0L) { + output.writeUInt64(1, regionId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (regionId_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(1, regionId_); + } + 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.BuildIndexRequest)) { + return super.equals(obj); + } + io.greptime.v1.region.Server.BuildIndexRequest other = (io.greptime.v1.region.Server.BuildIndexRequest) obj; + + if (getRegionId() + != other.getRegionId()) 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(); + hash = (37 * hash) + REGION_ID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRegionId()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.greptime.v1.region.Server.BuildIndexRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.region.Server.BuildIndexRequest 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.BuildIndexRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.region.Server.BuildIndexRequest 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.BuildIndexRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.region.Server.BuildIndexRequest 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.BuildIndexRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.region.Server.BuildIndexRequest 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.BuildIndexRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.region.Server.BuildIndexRequest 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.BuildIndexRequest 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.BuildIndexRequest 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.BuildIndexRequest 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.BuildIndexRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.region.BuildIndexRequest) + io.greptime.v1.region.Server.BuildIndexRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.region.Server.internal_static_greptime_v1_region_BuildIndexRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.region.Server.internal_static_greptime_v1_region_BuildIndexRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.region.Server.BuildIndexRequest.class, io.greptime.v1.region.Server.BuildIndexRequest.Builder.class); + } + + // Construct using io.greptime.v1.region.Server.BuildIndexRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + regionId_ = 0L; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.greptime.v1.region.Server.internal_static_greptime_v1_region_BuildIndexRequest_descriptor; + } + + @java.lang.Override + public io.greptime.v1.region.Server.BuildIndexRequest getDefaultInstanceForType() { + return io.greptime.v1.region.Server.BuildIndexRequest.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.region.Server.BuildIndexRequest build() { + io.greptime.v1.region.Server.BuildIndexRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.region.Server.BuildIndexRequest buildPartial() { + io.greptime.v1.region.Server.BuildIndexRequest result = new io.greptime.v1.region.Server.BuildIndexRequest(this); + result.regionId_ = regionId_; + 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.BuildIndexRequest) { + return mergeFrom((io.greptime.v1.region.Server.BuildIndexRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.region.Server.BuildIndexRequest other) { + if (other == io.greptime.v1.region.Server.BuildIndexRequest.getDefaultInstance()) return this; + if (other.getRegionId() != 0L) { + setRegionId(other.getRegionId()); + } + 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.BuildIndexRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.region.Server.BuildIndexRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private long regionId_ ; + /** + * uint64 region_id = 1; + * @return The regionId. + */ + @java.lang.Override + public long getRegionId() { + return regionId_; + } + /** + * uint64 region_id = 1; + * @param value The regionId to set. + * @return This builder for chaining. + */ + public Builder setRegionId(long value) { + + regionId_ = value; + onChanged(); + return this; + } + /** + * uint64 region_id = 1; + * @return This builder for chaining. + */ + public Builder clearRegionId() { + + regionId_ = 0L; + onChanged(); + return this; + } + @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.BuildIndexRequest) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.region.BuildIndexRequest) + private static final io.greptime.v1.region.Server.BuildIndexRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.region.Server.BuildIndexRequest(); + } + + public static io.greptime.v1.region.Server.BuildIndexRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BuildIndexRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BuildIndexRequest(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.BuildIndexRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_RegionRequestHeader_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_RegionRequestHeader_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_RegionRequestHeader_TracingContextEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_RegionRequestHeader_TracingContextEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_RegionRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_RegionRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_RegionResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_RegionResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_RegionResponse_ExtensionsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_RegionResponse_ExtensionsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_InsertRequests_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_InsertRequests_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_DeleteRequests_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_DeleteRequests_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_InsertRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_InsertRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_DeleteRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_DeleteRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_QueryRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_QueryRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_CreateRequests_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_CreateRequests_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_CreateRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_CreateRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_CreateRequest_OptionsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_CreateRequest_OptionsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_DropRequests_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_DropRequests_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_DropRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_DropRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_OpenRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_OpenRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_OpenRequest_OptionsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_OpenRequest_OptionsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_CloseRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_CloseRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_AlterRequests_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_AlterRequests_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_AlterRequest_descriptor; + 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 + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_AddColumns_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_DropColumns_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_DropColumns_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_AddColumn_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_AddColumn_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_DropColumn_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_DropColumn_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_FlushRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_FlushRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_Regular_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_Regular_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_StrictWindow_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_greptime_v1_region_StrictWindow_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor @@ -33161,6 +33882,11 @@ public io.greptime.v1.region.Server.ListMetadataRequest getDefaultInstanceForTyp private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_greptime_v1_region_ListMetadataRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_BuildIndexRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_BuildIndexRequest_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -33179,7 +33905,7 @@ public io.greptime.v1.region.Server.ListMetadataRequest getDefaultInstanceForTyp "eader.TracingContextEntry\022\016\n\006dbname\030\003 \001(" + "\t\0220\n\rquery_context\030\006 \001(\0132\031.greptime.v1.Q" + "ueryContext\0325\n\023TracingContextEntry\022\013\n\003ke" + - "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\256\007\n\rRegionReq" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\354\007\n\rRegionReq" + "uest\0227\n\006header\030\001 \001(\0132\'.greptime.v1.regio" + "n.RegionRequestHeader\0225\n\007inserts\030\003 \001(\0132\"" + ".greptime.v1.region.InsertRequestsH\000\0225\n\007" + @@ -33203,97 +33929,99 @@ public io.greptime.v1.region.Server.ListMetadataRequest getDefaultInstanceForTyp "equestH\000\022/\n\004sync\030\021 \001(\0132\037.greptime.v1.reg" + "ion.SyncRequestH\000\022@\n\rlist_metadata\030\022 \001(\013" + "2\'.greptime.v1.region.ListMetadataReques" + - "tH\000B\006\n\004body\"\341\001\n\016RegionResponse\022+\n\006header" + - "\030\001 \001(\0132\033.greptime.v1.ResponseHeader\022\025\n\ra" + - "ffected_rows\030\002 \001(\004\022F\n\nextensions\030\003 \003(\01322" + - ".greptime.v1.region.RegionResponse.Exten" + - "sionsEntry\022\020\n\010metadata\030\004 \001(\014\0321\n\017Extensio" + - "nsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"" + - "E\n\016InsertRequests\0223\n\010requests\030\001 \003(\0132!.gr" + - "eptime.v1.region.InsertRequest\"E\n\016Delete" + - "Requests\0223\n\010requests\030\001 \003(\0132!.greptime.v1" + - ".region.DeleteRequest\"C\n\rInsertRequest\022\021" + - "\n\tregion_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.grepti" + - "me.v1.Rows\"C\n\rDeleteRequest\022\021\n\tregion_id" + - "\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime.v1.Rows\"" + - "h\n\014QueryRequest\0227\n\006header\030\001 \001(\0132\'.grepti" + - "me.v1.region.RegionRequestHeader\022\021\n\tregi" + - "on_id\030\002 \001(\004\022\014\n\004plan\030\003 \001(\014\"E\n\016CreateReque" + - "sts\0223\n\010requests\030\001 \003(\0132!.greptime.v1.regi" + - "on.CreateRequest\"\260\002\n\rCreateRequest\022\021\n\tre" + - "gion_id\030\001 \001(\004\022\016\n\006engine\030\002 \001(\t\0228\n\013column_" + - "defs\030\003 \003(\0132#.greptime.v1.region.RegionCo" + - "lumnDef\022\023\n\013primary_key\030\004 \003(\r\022\014\n\004path\030\005 \001" + - "(\t\022?\n\007options\030\006 \003(\0132..greptime.v1.region" + - ".CreateRequest.OptionsEntry\022.\n\tpartition" + - "\030\007 \001(\0132\033.greptime.v1.meta.Partition\032.\n\014O" + - "ptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + - "\0028\001\"A\n\014DropRequests\0221\n\010requests\030\001 \003(\0132\037." + - "greptime.v1.region.DropRequest\"3\n\013DropRe" + - "quest\022\021\n\tregion_id\030\001 \001(\004\022\021\n\tfast_path\030\002 " + - "\001(\010\"\255\001\n\013OpenRequest\022\021\n\tregion_id\030\001 \001(\004\022\016" + - "\n\006engine\030\002 \001(\t\022\014\n\004path\030\003 \001(\t\022=\n\007options\030" + - "\004 \003(\0132,.greptime.v1.region.OpenRequest.O" + - "ptionsEntry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t" + - "\022\r\n\005value\030\002 \001(\t:\0028\001\"!\n\014CloseRequest\022\021\n\tr" + - "egion_id\030\001 \001(\004\"C\n\rAlterRequests\0222\n\010reque" + - "sts\030\001 \003(\0132 .greptime.v1.region.AlterRequ" + - "est\"\311\005\n\014AlterRequest\022\021\n\tregion_id\030\001 \001(\004\022" + - "5\n\013add_columns\030\002 \001(\0132\036.greptime.v1.regio" + - "n.AddColumnsH\000\0227\n\014drop_columns\030\003 \001(\0132\037.g" + - "reptime.v1.region.DropColumnsH\000\022=\n\023modif" + - "y_column_types\030\005 \001(\0132\036.greptime.v1.Modif" + - "yColumnTypesH\000\0229\n\021set_table_options\030\006 \001(" + - "\0132\034.greptime.v1.SetTableOptionsH\000\022=\n\023uns" + - "et_table_options\030\t \001(\0132\036.greptime.v1.Uns" + - "etTableOptionsH\000\022*\n\tset_index\030\n \001(\0132\025.gr" + - "eptime.v1.SetIndexH\000\022.\n\013unset_index\030\013 \001(" + - "\0132\027.greptime.v1.UnsetIndexH\000\0222\n\rdrop_def" + - "aults\030\014 \001(\0132\031.greptime.v1.DropDefaultsH\000" + - "\022.\n\013set_indexes\030\r \001(\0132\027.greptime.v1.SetI" + - "ndexesH\000\0222\n\runset_indexes\030\016 \001(\0132\031.grepti" + - "me.v1.UnsetIndexesH\000\0220\n\014set_defaults\030\017 \001" + - "(\0132\030.greptime.v1.SetDefaultsH\000\0227\n\014sync_c" + - "olumns\030\020 \001(\0132\037.greptime.v1.region.SyncCo" + - "lumnsH\000\022\026\n\016schema_version\030\004 \001(\004B\006\n\004kind\"" + - "G\n\013SyncColumns\0228\n\013column_defs\030\001 \003(\0132#.gr" + - "eptime.v1.region.RegionColumnDef\"@\n\nAddC" + - "olumns\0222\n\013add_columns\030\001 \003(\0132\035.greptime.v" + - "1.region.AddColumn\"C\n\013DropColumns\0224\n\014dro" + - "p_columns\030\001 \003(\0132\036.greptime.v1.region.Dro" + - "pColumn\"v\n\tAddColumn\0227\n\ncolumn_def\030\001 \001(\013" + - "2#.greptime.v1.region.RegionColumnDef\0220\n" + - "\010location\030\003 \001(\0132\036.greptime.v1.AddColumnL" + - "ocation\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"!\n\014F" + - "lushRequest\022\021\n\tregion_id\030\001 \001(\004\"\t\n\007Regula" + - "r\"&\n\014StrictWindow\022\026\n\016window_seconds\030\001 \001(" + - "\003\"\231\001\n\016CompactRequest\022\021\n\tregion_id\030\001 \001(\004\022" + - ".\n\007regular\030\002 \001(\0132\033.greptime.v1.region.Re" + - "gularH\000\0229\n\rstrict_window\030\003 \001(\0132 .greptim" + - "e.v1.region.StrictWindowH\000B\t\n\007options\"\204\001" + - "\n\017TruncateRequest\022\021\n\tregion_id\030\001 \001(\004\022&\n\003" + - "all\030\002 \001(\0132\027.greptime.v1.region.AllH\000\022.\n\013" + - "time_ranges\030\003 \001(\0132\027.greptime.v1.TimeRang" + - "esH\000B\006\n\004kind\"\005\n\003All\"P\n\017RegionColumnDef\022*" + - "\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.ColumnD" + - "ef\022\021\n\tcolumn_id\030\002 \001(\r\"Z\n\021BulkInsertReque" + - "st\022\021\n\tregion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 \001(\013" + - "2\025.greptime.v1.ArrowIpcH\000B\006\n\004body\"1\n\020Mit" + - "oManifestInfo\022\035\n\025data_manifest_version\030\001" + - " \001(\004\"V\n\022MetricManifestInfo\022\035\n\025data_manif" + - "est_version\030\001 \001(\004\022!\n\031metadata_manifest_v" + - "ersion\030\002 \001(\004\"\275\001\n\013SyncRequest\022\021\n\tregion_i" + - "d\030\001 \001(\004\022B\n\022mito_manifest_info\030\002 \001(\0132$.gr" + - "eptime.v1.region.MitoManifestInfoH\000\022F\n\024m" + - "etric_manifest_info\030\003 \001(\0132&.greptime.v1." + - "region.MetricManifestInfoH\000B\017\n\rmanifest_" + - "info\")\n\023ListMetadataRequest\022\022\n\nregion_id" + - "s\030\001 \003(\0042Y\n\006Region\022O\n\006Handle\022!.greptime.v" + - "1.region.RegionRequest\032\".greptime.v1.reg" + - "ion.RegionResponseB]\n\025io.greptime.v1.reg" + - "ionB\006ServerZ