From 520fa524f9d590752ea327683e82ffd65721b27c Mon Sep 17 00:00:00 2001 From: Weny Xu Date: Wed, 24 Dec 2025 16:30:08 +0800 Subject: [PATCH] feat: introduce `ApplyStagingManifestRequest` (#296) Signed-off-by: WenyXu --- c++/greptime/v1/region/server.pb.cc | 859 ++++++-- c++/greptime/v1/region/server.pb.h | 663 ++++++ go/greptime/v1/region/server.pb.go | 940 ++++---- .../java/io/greptime/v1/region/Server.java | 1920 ++++++++++++++++- proto/greptime/v1/region/server.proto | 17 + 5 files changed, 3791 insertions(+), 608 deletions(-) diff --git a/c++/greptime/v1/region/server.pb.cc b/c++/greptime/v1/region/server.pb.cc index 2a12197..103da31 100644 --- a/c++/greptime/v1/region/server.pb.cc +++ b/c++/greptime/v1/region/server.pb.cc @@ -543,10 +543,38 @@ struct BuildIndexRequestDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BuildIndexRequestDefaultTypeInternal _BuildIndexRequest_default_instance_; +PROTOBUF_CONSTEXPR FileMetas::FileMetas( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.data_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct FileMetasDefaultTypeInternal { + PROTOBUF_CONSTEXPR FileMetasDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~FileMetasDefaultTypeInternal() {} + union { + FileMetas _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FileMetasDefaultTypeInternal _FileMetas_default_instance_; +PROTOBUF_CONSTEXPR ApplyStagingManifestRequest::ApplyStagingManifestRequest( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.partition_expr_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.files_to_add_)*/nullptr + , /*decltype(_impl_.region_id_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct ApplyStagingManifestRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR ApplyStagingManifestRequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ApplyStagingManifestRequestDefaultTypeInternal() {} + union { + ApplyStagingManifestRequest _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ApplyStagingManifestRequestDefaultTypeInternal _ApplyStagingManifestRequest_default_instance_; } // namespace region } // namespace v1 } // namespace greptime -static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[38]; +static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[40]; 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; @@ -594,6 +622,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_), @@ -893,46 +922,64 @@ 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::BuildIndexRequest, _impl_.region_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::region::FileMetas, _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::FileMetas, _impl_.data_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::region::ApplyStagingManifestRequest, _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::ApplyStagingManifestRequest, _impl_.region_id_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::region::ApplyStagingManifestRequest, _impl_.partition_expr_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::region::ApplyStagingManifestRequest, _impl_.files_to_add_), }; static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, 8, -1, sizeof(::greptime::v1::region::RegionRequestHeader_TracingContextEntry_DoNotUse)}, { 10, -1, -1, sizeof(::greptime::v1::region::RegionRequestHeader)}, { 19, -1, -1, sizeof(::greptime::v1::region::RegionRequest)}, - { 44, 52, -1, sizeof(::greptime::v1::region::RegionResponse_ExtensionsEntry_DoNotUse)}, - { 54, -1, -1, sizeof(::greptime::v1::region::RegionResponse)}, - { 64, -1, -1, sizeof(::greptime::v1::region::InsertRequests)}, - { 71, -1, -1, sizeof(::greptime::v1::region::DeleteRequests)}, - { 78, -1, -1, sizeof(::greptime::v1::region::InsertRequest)}, - { 86, -1, -1, sizeof(::greptime::v1::region::DeleteRequest)}, - { 94, -1, -1, sizeof(::greptime::v1::region::QueryRequest)}, - { 103, -1, -1, sizeof(::greptime::v1::region::CreateRequests)}, - { 110, 118, -1, sizeof(::greptime::v1::region::CreateRequest_OptionsEntry_DoNotUse)}, - { 120, -1, -1, sizeof(::greptime::v1::region::CreateRequest)}, - { 133, -1, -1, sizeof(::greptime::v1::region::DropRequests)}, - { 140, -1, -1, sizeof(::greptime::v1::region::DropRequest)}, - { 148, 156, -1, sizeof(::greptime::v1::region::OpenRequest_OptionsEntry_DoNotUse)}, - { 158, -1, -1, sizeof(::greptime::v1::region::OpenRequest)}, - { 168, -1, -1, sizeof(::greptime::v1::region::CloseRequest)}, - { 175, -1, -1, sizeof(::greptime::v1::region::AlterRequests)}, - { 182, -1, -1, sizeof(::greptime::v1::region::AlterRequest)}, - { 203, -1, -1, sizeof(::greptime::v1::region::SyncColumns)}, - { 210, -1, -1, sizeof(::greptime::v1::region::AddColumns)}, - { 217, -1, -1, sizeof(::greptime::v1::region::DropColumns)}, - { 224, -1, -1, sizeof(::greptime::v1::region::AddColumn)}, - { 232, -1, -1, sizeof(::greptime::v1::region::DropColumn)}, - { 239, -1, -1, sizeof(::greptime::v1::region::FlushRequest)}, - { 246, -1, -1, sizeof(::greptime::v1::region::Regular)}, - { 252, -1, -1, sizeof(::greptime::v1::region::StrictWindow)}, - { 259, -1, -1, sizeof(::greptime::v1::region::CompactRequest)}, - { 270, -1, -1, sizeof(::greptime::v1::region::TruncateRequest)}, - { 280, -1, -1, sizeof(::greptime::v1::region::All)}, - { 286, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)}, - { 294, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)}, - { 303, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)}, - { 310, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)}, - { 318, -1, -1, sizeof(::greptime::v1::region::SyncRequest)}, - { 328, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)}, - { 335, -1, -1, sizeof(::greptime::v1::region::BuildIndexRequest)}, + { 45, 53, -1, sizeof(::greptime::v1::region::RegionResponse_ExtensionsEntry_DoNotUse)}, + { 55, -1, -1, sizeof(::greptime::v1::region::RegionResponse)}, + { 65, -1, -1, sizeof(::greptime::v1::region::InsertRequests)}, + { 72, -1, -1, sizeof(::greptime::v1::region::DeleteRequests)}, + { 79, -1, -1, sizeof(::greptime::v1::region::InsertRequest)}, + { 87, -1, -1, sizeof(::greptime::v1::region::DeleteRequest)}, + { 95, -1, -1, sizeof(::greptime::v1::region::QueryRequest)}, + { 104, -1, -1, sizeof(::greptime::v1::region::CreateRequests)}, + { 111, 119, -1, sizeof(::greptime::v1::region::CreateRequest_OptionsEntry_DoNotUse)}, + { 121, -1, -1, sizeof(::greptime::v1::region::CreateRequest)}, + { 134, -1, -1, sizeof(::greptime::v1::region::DropRequests)}, + { 141, -1, -1, sizeof(::greptime::v1::region::DropRequest)}, + { 149, 157, -1, sizeof(::greptime::v1::region::OpenRequest_OptionsEntry_DoNotUse)}, + { 159, -1, -1, sizeof(::greptime::v1::region::OpenRequest)}, + { 169, -1, -1, sizeof(::greptime::v1::region::CloseRequest)}, + { 176, -1, -1, sizeof(::greptime::v1::region::AlterRequests)}, + { 183, -1, -1, sizeof(::greptime::v1::region::AlterRequest)}, + { 204, -1, -1, sizeof(::greptime::v1::region::SyncColumns)}, + { 211, -1, -1, sizeof(::greptime::v1::region::AddColumns)}, + { 218, -1, -1, sizeof(::greptime::v1::region::DropColumns)}, + { 225, -1, -1, sizeof(::greptime::v1::region::AddColumn)}, + { 233, -1, -1, sizeof(::greptime::v1::region::DropColumn)}, + { 240, -1, -1, sizeof(::greptime::v1::region::FlushRequest)}, + { 247, -1, -1, sizeof(::greptime::v1::region::Regular)}, + { 253, -1, -1, sizeof(::greptime::v1::region::StrictWindow)}, + { 260, -1, -1, sizeof(::greptime::v1::region::CompactRequest)}, + { 271, -1, -1, sizeof(::greptime::v1::region::TruncateRequest)}, + { 281, -1, -1, sizeof(::greptime::v1::region::All)}, + { 287, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)}, + { 295, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)}, + { 304, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)}, + { 311, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)}, + { 319, -1, -1, sizeof(::greptime::v1::region::SyncRequest)}, + { 329, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)}, + { 336, -1, -1, sizeof(::greptime::v1::region::BuildIndexRequest)}, + { 343, -1, -1, sizeof(::greptime::v1::region::FileMetas)}, + { 350, -1, -1, sizeof(::greptime::v1::region::ApplyStagingManifestRequest)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -974,6 +1021,8 @@ static const ::_pb::Message* const file_default_instances[] = { &::greptime::v1::region::_SyncRequest_default_instance_._instance, &::greptime::v1::region::_ListMetadataRequest_default_instance_._instance, &::greptime::v1::region::_BuildIndexRequest_default_instance_._instance, + &::greptime::v1::region::_FileMetas_default_instance_._instance, + &::greptime::v1::region::_ApplyStagingManifestRequest_default_instance_._instance, }; const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = @@ -986,7 +1035,7 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P "eader.TracingContextEntry\022\016\n\006dbname\030\003 \001(" "\t\0220\n\rquery_context\030\006 \001(\0132\031.greptime.v1.Q" "ueryContext\0325\n\023TracingContextEntry\022\013\n\003ke" - "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\354\007\n\rRegionReq" + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\277\010\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" @@ -1011,99 +1060,105 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P "ion.SyncRequestH\000\022@\n\rlist_metadata\030\022 \001(\013" "2\'.greptime.v1.region.ListMetadataReques" "tH\000\022<\n\013build_index\030\023 \001(\0132%.greptime.v1.r" - "egion.BuildIndexRequestH\000B\006\n\004body\"\341\001\n\016Re" - "gionResponse\022+\n\006header\030\001 \001(\0132\033.greptime." - "v1.ResponseHeader\022\025\n\raffected_rows\030\002 \001(\004" - "\022F\n\nextensions\030\003 \003(\01322.greptime.v1.regio" - "n.RegionResponse.ExtensionsEntry\022\020\n\010meta" - "data\030\004 \001(\014\0321\n\017ExtensionsEntry\022\013\n\003key\030\001 \001" - "(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"E\n\016InsertRequests\022" - "3\n\010requests\030\001 \003(\0132!.greptime.v1.region.I" - "nsertRequest\"E\n\016DeleteRequests\0223\n\010reques" - "ts\030\001 \003(\0132!.greptime.v1.region.DeleteRequ" - "est\"C\n\rInsertRequest\022\021\n\tregion_id\030\001 \001(\004\022" - "\037\n\004rows\030\002 \001(\0132\021.greptime.v1.Rows\"C\n\rDele" - "teRequest\022\021\n\tregion_id\030\001 \001(\004\022\037\n\004rows\030\002 \001" - "(\0132\021.greptime.v1.Rows\"h\n\014QueryRequest\0227\n" - "\006header\030\001 \001(\0132\'.greptime.v1.region.Regio" - "nRequestHeader\022\021\n\tregion_id\030\002 \001(\004\022\014\n\004pla" - "n\030\003 \001(\014\"E\n\016CreateRequests\0223\n\010requests\030\001 " - "\003(\0132!.greptime.v1.region.CreateRequest\"\260" - "\002\n\rCreateRequest\022\021\n\tregion_id\030\001 \001(\004\022\016\n\006e" - "ngine\030\002 \001(\t\0228\n\013column_defs\030\003 \003(\0132#.grept" - "ime.v1.region.RegionColumnDef\022\023\n\013primary" - "_key\030\004 \003(\r\022\014\n\004path\030\005 \001(\t\022\?\n\007options\030\006 \003(" - "\0132..greptime.v1.region.CreateRequest.Opt" - "ionsEntry\022.\n\tpartition\030\007 \001(\0132\033.greptime." - "v1.meta.Partition\032.\n\014OptionsEntry\022\013\n\003key" - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"A\n\014DropRequest" - "s\0221\n\010requests\030\001 \003(\0132\037.greptime.v1.region" - ".DropRequest\"3\n\013DropRequest\022\021\n\tregion_id" - "\030\001 \001(\004\022\021\n\tfast_path\030\002 \001(\010\"\255\001\n\013OpenReques" - "t\022\021\n\tregion_id\030\001 \001(\004\022\016\n\006engine\030\002 \001(\t\022\014\n\004" - "path\030\003 \001(\t\022=\n\007options\030\004 \003(\0132,.greptime.v" - "1.region.OpenRequest.OptionsEntry\032.\n\014Opt" - "ionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - "\001\"!\n\014CloseRequest\022\021\n\tregion_id\030\001 \001(\004\"C\n\r" - "AlterRequests\0222\n\010requests\030\001 \003(\0132 .grepti" - "me.v1.region.AlterRequest\"\311\005\n\014AlterReque" - "st\022\021\n\tregion_id\030\001 \001(\004\0225\n\013add_columns\030\002 \001" - "(\0132\036.greptime.v1.region.AddColumnsH\000\0227\n\014" - "drop_columns\030\003 \001(\0132\037.greptime.v1.region." - "DropColumnsH\000\022=\n\023modify_column_types\030\005 \001" - "(\0132\036.greptime.v1.ModifyColumnTypesH\000\0229\n\021" - "set_table_options\030\006 \001(\0132\034.greptime.v1.Se" - "tTableOptionsH\000\022=\n\023unset_table_options\030\t" - " \001(\0132\036.greptime.v1.UnsetTableOptionsH\000\022*" - "\n\tset_index\030\n \001(\0132\025.greptime.v1.SetIndex" - "H\000\022.\n\013unset_index\030\013 \001(\0132\027.greptime.v1.Un" - "setIndexH\000\0222\n\rdrop_defaults\030\014 \001(\0132\031.grep" - "time.v1.DropDefaultsH\000\022.\n\013set_indexes\030\r " - "\001(\0132\027.greptime.v1.SetIndexesH\000\0222\n\runset_" - "indexes\030\016 \001(\0132\031.greptime.v1.UnsetIndexes" - "H\000\0220\n\014set_defaults\030\017 \001(\0132\030.greptime.v1.S" - "etDefaultsH\000\0227\n\014sync_columns\030\020 \001(\0132\037.gre" - "ptime.v1.region.SyncColumnsH\000\022\026\n\016schema_" - "version\030\004 \001(\004B\006\n\004kind\"G\n\013SyncColumns\0228\n\013" - "column_defs\030\001 \003(\0132#.greptime.v1.region.R" - "egionColumnDef\"@\n\nAddColumns\0222\n\013add_colu" - "mns\030\001 \003(\0132\035.greptime.v1.region.AddColumn" - "\"C\n\013DropColumns\0224\n\014drop_columns\030\001 \003(\0132\036." - "greptime.v1.region.DropColumn\"v\n\tAddColu" - "mn\0227\n\ncolumn_def\030\001 \001(\0132#.greptime.v1.reg" - "ion.RegionColumnDef\0220\n\010location\030\003 \001(\0132\036." - "greptime.v1.AddColumnLocation\"\032\n\nDropCol" - "umn\022\014\n\004name\030\001 \001(\t\"!\n\014FlushRequest\022\021\n\treg" - "ion_id\030\001 \001(\004\"\t\n\007Regular\"&\n\014StrictWindow\022" - "\026\n\016window_seconds\030\001 \001(\003\"\256\001\n\016CompactReque" - "st\022\021\n\tregion_id\030\001 \001(\004\022.\n\007regular\030\002 \001(\0132\033" - ".greptime.v1.region.RegularH\000\0229\n\rstrict_" - "window\030\003 \001(\0132 .greptime.v1.region.Strict" - "WindowH\000\022\023\n\013parallelism\030\004 \001(\rB\t\n\007options" - "\"\204\001\n\017TruncateRequest\022\021\n\tregion_id\030\001 \001(\004\022" - "&\n\003all\030\002 \001(\0132\027.greptime.v1.region.AllH\000\022" - ".\n\013time_ranges\030\003 \001(\0132\027.greptime.v1.TimeR" - "angesH\000B\006\n\004kind\"\005\n\003All\"P\n\017RegionColumnDe" - "f\022*\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.Colu" - "mnDef\022\021\n\tcolumn_id\030\002 \001(\r\"Z\n\021BulkInsertRe" - "quest\022\021\n\tregion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 " - "\001(\0132\025.greptime.v1.ArrowIpcH\000B\006\n\004body\"1\n\020" - "MitoManifestInfo\022\035\n\025data_manifest_versio" - "n\030\001 \001(\004\"V\n\022MetricManifestInfo\022\035\n\025data_ma" - "nifest_version\030\001 \001(\004\022!\n\031metadata_manifes" - "t_version\030\002 \001(\004\"\275\001\n\013SyncRequest\022\021\n\tregio" - "n_id\030\001 \001(\004\022B\n\022mito_manifest_info\030\002 \001(\0132$" - ".greptime.v1.region.MitoManifestInfoH\000\022F" - "\n\024metric_manifest_info\030\003 \001(\0132&.greptime." - "v1.region.MetricManifestInfoH\000B\017\n\rmanife" - "st_info\")\n\023ListMetadataRequest\022\022\n\nregion" - "_ids\030\001 \003(\004\"&\n\021BuildIndexRequest\022\021\n\tregio" - "n_id\030\001 \001(\0042Y\n\006Region\022O\n\006Handle\022!.greptim" - "e.v1.region.RegionRequest\032\".greptime.v1." - "region.RegionResponseB]\n\025io.greptime.v1." - "regionB\006ServerZ_impl_.body_.build_index_; } +const ::greptime::v1::region::ApplyStagingManifestRequest& +RegionRequest::_Internal::apply_staging_manifest(const RegionRequest* msg) { + return *msg->_impl_.body_.apply_staging_manifest_; +} void RegionRequest::set_allocated_inserts(::greptime::v1::region::InsertRequests* inserts) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_body(); @@ -1814,6 +1874,21 @@ void RegionRequest::set_allocated_build_index(::greptime::v1::region::BuildIndex } // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.RegionRequest.build_index) } +void RegionRequest::set_allocated_apply_staging_manifest(::greptime::v1::region::ApplyStagingManifestRequest* apply_staging_manifest) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_body(); + if (apply_staging_manifest) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(apply_staging_manifest); + if (message_arena != submessage_arena) { + apply_staging_manifest = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, apply_staging_manifest, submessage_arena); + } + set_has_apply_staging_manifest(); + _impl_.body_.apply_staging_manifest_ = apply_staging_manifest; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.RegionRequest.apply_staging_manifest) +} RegionRequest::RegionRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -1920,6 +1995,11 @@ RegionRequest::RegionRequest(const RegionRequest& from) from._internal_build_index()); break; } + case kApplyStagingManifest: { + _this->_internal_mutable_apply_staging_manifest()->::greptime::v1::region::ApplyStagingManifestRequest::MergeFrom( + from._internal_apply_staging_manifest()); + break; + } case BODY_NOT_SET: { break; } @@ -2066,6 +2146,12 @@ void RegionRequest::clear_body() { } break; } + case kApplyStagingManifest: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.body_.apply_staging_manifest_; + } + break; + } case BODY_NOT_SET: { break; } @@ -2238,6 +2324,14 @@ const char* RegionRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* } else goto handle_unusual; continue; + // .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { + ptr = ctx->ParseMessage(_internal_mutable_apply_staging_manifest(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -2393,6 +2487,13 @@ uint8_t* RegionRequest::_InternalSerialize( _Internal::build_index(this).GetCachedSize(), target, stream); } + // .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + if (_internal_has_apply_staging_manifest()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(20, _Internal::apply_staging_manifest(this), + _Internal::apply_staging_manifest(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); @@ -2536,6 +2637,13 @@ size_t RegionRequest::ByteSizeLong() const { *_impl_.body_.build_index_); break; } + // .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + case kApplyStagingManifest: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.body_.apply_staging_manifest_); + break; + } case BODY_NOT_SET: { break; } @@ -2648,6 +2756,11 @@ void RegionRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :: from._internal_build_index()); break; } + case kApplyStagingManifest: { + _this->_internal_mutable_apply_staging_manifest()->::greptime::v1::region::ApplyStagingManifestRequest::MergeFrom( + from._internal_apply_staging_manifest()); + break; + } case BODY_NOT_SET: { break; } @@ -10708,6 +10821,480 @@ void BuildIndexRequest::InternalSwap(BuildIndexRequest* other) { file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[37]); } +// =================================================================== + +class FileMetas::_Internal { + public: +}; + +FileMetas::FileMetas(::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.FileMetas) +} +FileMetas::FileMetas(const FileMetas& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + FileMetas* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.data_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_data().empty()) { + _this->_impl_.data_.Set(from._internal_data(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:greptime.v1.region.FileMetas) +} + +inline void FileMetas::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.data_){} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.data_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.data_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +FileMetas::~FileMetas() { + // @@protoc_insertion_point(destructor:greptime.v1.region.FileMetas) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void FileMetas::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.data_.Destroy(); +} + +void FileMetas::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void FileMetas::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.region.FileMetas) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.data_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* FileMetas::_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) { + // bytes data = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_data(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + 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* FileMetas::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.region.FileMetas) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bytes data = 1; + if (!this->_internal_data().empty()) { + target = stream->WriteBytesMaybeAliased( + 1, this->_internal_data(), 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.FileMetas) + return target; +} + +size_t FileMetas::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.region.FileMetas) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bytes data = 1; + if (!this->_internal_data().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_data()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FileMetas::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + FileMetas::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FileMetas::GetClassData() const { return &_class_data_; } + + +void FileMetas::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.FileMetas) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_data().empty()) { + _this->_internal_set_data(from._internal_data()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void FileMetas::CopyFrom(const FileMetas& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.region.FileMetas) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool FileMetas::IsInitialized() const { + return true; +} + +void FileMetas::InternalSwap(FileMetas* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.data_, lhs_arena, + &other->_impl_.data_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata FileMetas::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[38]); +} + +// =================================================================== + +class ApplyStagingManifestRequest::_Internal { + public: + static const ::greptime::v1::region::FileMetas& files_to_add(const ApplyStagingManifestRequest* msg); +}; + +const ::greptime::v1::region::FileMetas& +ApplyStagingManifestRequest::_Internal::files_to_add(const ApplyStagingManifestRequest* msg) { + return *msg->_impl_.files_to_add_; +} +ApplyStagingManifestRequest::ApplyStagingManifestRequest(::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.ApplyStagingManifestRequest) +} +ApplyStagingManifestRequest::ApplyStagingManifestRequest(const ApplyStagingManifestRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ApplyStagingManifestRequest* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.partition_expr_){} + , decltype(_impl_.files_to_add_){nullptr} + , decltype(_impl_.region_id_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.partition_expr_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.partition_expr_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_partition_expr().empty()) { + _this->_impl_.partition_expr_.Set(from._internal_partition_expr(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_files_to_add()) { + _this->_impl_.files_to_add_ = new ::greptime::v1::region::FileMetas(*from._impl_.files_to_add_); + } + _this->_impl_.region_id_ = from._impl_.region_id_; + // @@protoc_insertion_point(copy_constructor:greptime.v1.region.ApplyStagingManifestRequest) +} + +inline void ApplyStagingManifestRequest::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.partition_expr_){} + , decltype(_impl_.files_to_add_){nullptr} + , decltype(_impl_.region_id_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.partition_expr_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.partition_expr_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +ApplyStagingManifestRequest::~ApplyStagingManifestRequest() { + // @@protoc_insertion_point(destructor:greptime.v1.region.ApplyStagingManifestRequest) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ApplyStagingManifestRequest::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.partition_expr_.Destroy(); + if (this != internal_default_instance()) delete _impl_.files_to_add_; +} + +void ApplyStagingManifestRequest::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ApplyStagingManifestRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.region.ApplyStagingManifestRequest) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.partition_expr_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.files_to_add_ != nullptr) { + delete _impl_.files_to_add_; + } + _impl_.files_to_add_ = nullptr; + _impl_.region_id_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ApplyStagingManifestRequest::_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; + // string partition_expr = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_partition_expr(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.region.ApplyStagingManifestRequest.partition_expr")); + } else + goto handle_unusual; + continue; + // .greptime.v1.region.FileMetas files_to_add = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_files_to_add(), 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* ApplyStagingManifestRequest::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.region.ApplyStagingManifestRequest) + 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); + } + + // string partition_expr = 2; + if (!this->_internal_partition_expr().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_partition_expr().data(), static_cast(this->_internal_partition_expr().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.region.ApplyStagingManifestRequest.partition_expr"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_partition_expr(), target); + } + + // .greptime.v1.region.FileMetas files_to_add = 3; + if (this->_internal_has_files_to_add()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::files_to_add(this), + _Internal::files_to_add(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.region.ApplyStagingManifestRequest) + return target; +} + +size_t ApplyStagingManifestRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.region.ApplyStagingManifestRequest) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string partition_expr = 2; + if (!this->_internal_partition_expr().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_partition_expr()); + } + + // .greptime.v1.region.FileMetas files_to_add = 3; + if (this->_internal_has_files_to_add()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.files_to_add_); + } + + // 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 ApplyStagingManifestRequest::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ApplyStagingManifestRequest::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ApplyStagingManifestRequest::GetClassData() const { return &_class_data_; } + + +void ApplyStagingManifestRequest::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.ApplyStagingManifestRequest) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_partition_expr().empty()) { + _this->_internal_set_partition_expr(from._internal_partition_expr()); + } + if (from._internal_has_files_to_add()) { + _this->_internal_mutable_files_to_add()->::greptime::v1::region::FileMetas::MergeFrom( + from._internal_files_to_add()); + } + 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 ApplyStagingManifestRequest::CopyFrom(const ApplyStagingManifestRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.region.ApplyStagingManifestRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ApplyStagingManifestRequest::IsInitialized() const { + return true; +} + +void ApplyStagingManifestRequest::InternalSwap(ApplyStagingManifestRequest* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.partition_expr_, lhs_arena, + &other->_impl_.partition_expr_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ApplyStagingManifestRequest, _impl_.region_id_) + + sizeof(ApplyStagingManifestRequest::_impl_.region_id_) + - PROTOBUF_FIELD_OFFSET(ApplyStagingManifestRequest, _impl_.files_to_add_)>( + reinterpret_cast(&_impl_.files_to_add_), + reinterpret_cast(&other->_impl_.files_to_add_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ApplyStagingManifestRequest::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[39]); +} + // @@protoc_insertion_point(namespace_scope) } // namespace region } // namespace v1 @@ -10865,6 +11452,14 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::region::BuildIndexRequest* Arena::CreateMaybeMessage< ::greptime::v1::region::BuildIndexRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::region::BuildIndexRequest >(arena); } +template<> PROTOBUF_NOINLINE ::greptime::v1::region::FileMetas* +Arena::CreateMaybeMessage< ::greptime::v1::region::FileMetas >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::region::FileMetas >(arena); +} +template<> PROTOBUF_NOINLINE ::greptime::v1::region::ApplyStagingManifestRequest* +Arena::CreateMaybeMessage< ::greptime::v1::region::ApplyStagingManifestRequest >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::region::ApplyStagingManifestRequest >(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 486336f..5207d01 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 ApplyStagingManifestRequest; +struct ApplyStagingManifestRequestDefaultTypeInternal; +extern ApplyStagingManifestRequestDefaultTypeInternal _ApplyStagingManifestRequest_default_instance_; class BuildIndexRequest; struct BuildIndexRequestDefaultTypeInternal; extern BuildIndexRequestDefaultTypeInternal _BuildIndexRequest_default_instance_; @@ -109,6 +112,9 @@ extern DropRequestDefaultTypeInternal _DropRequest_default_instance_; class DropRequests; struct DropRequestsDefaultTypeInternal; extern DropRequestsDefaultTypeInternal _DropRequests_default_instance_; +class FileMetas; +struct FileMetasDefaultTypeInternal; +extern FileMetasDefaultTypeInternal _FileMetas_default_instance_; class FlushRequest; struct FlushRequestDefaultTypeInternal; extern FlushRequestDefaultTypeInternal _FlushRequest_default_instance_; @@ -178,6 +184,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::ApplyStagingManifestRequest* Arena::CreateMaybeMessage<::greptime::v1::region::ApplyStagingManifestRequest>(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*); @@ -191,6 +198,7 @@ template<> ::greptime::v1::region::DropColumn* Arena::CreateMaybeMessage<::grept template<> ::greptime::v1::region::DropColumns* Arena::CreateMaybeMessage<::greptime::v1::region::DropColumns>(Arena*); template<> ::greptime::v1::region::DropRequest* Arena::CreateMaybeMessage<::greptime::v1::region::DropRequest>(Arena*); template<> ::greptime::v1::region::DropRequests* Arena::CreateMaybeMessage<::greptime::v1::region::DropRequests>(Arena*); +template<> ::greptime::v1::region::FileMetas* Arena::CreateMaybeMessage<::greptime::v1::region::FileMetas>(Arena*); template<> ::greptime::v1::region::FlushRequest* Arena::CreateMaybeMessage<::greptime::v1::region::FlushRequest>(Arena*); template<> ::greptime::v1::region::InsertRequest* Arena::CreateMaybeMessage<::greptime::v1::region::InsertRequest>(Arena*); template<> ::greptime::v1::region::InsertRequests* Arena::CreateMaybeMessage<::greptime::v1::region::InsertRequests>(Arena*); @@ -506,6 +514,7 @@ class RegionRequest final : kSync = 17, kListMetadata = 18, kBuildIndex = 19, + kApplyStagingManifest = 20, BODY_NOT_SET = 0, }; @@ -605,6 +614,7 @@ class RegionRequest final : kSyncFieldNumber = 17, kListMetadataFieldNumber = 18, kBuildIndexFieldNumber = 19, + kApplyStagingManifestFieldNumber = 20, }; // .greptime.v1.region.RegionRequestHeader header = 1; bool has_header() const; @@ -930,6 +940,24 @@ class RegionRequest final : ::greptime::v1::region::BuildIndexRequest* build_index); ::greptime::v1::region::BuildIndexRequest* unsafe_arena_release_build_index(); + // .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + bool has_apply_staging_manifest() const; + private: + bool _internal_has_apply_staging_manifest() const; + public: + void clear_apply_staging_manifest(); + const ::greptime::v1::region::ApplyStagingManifestRequest& apply_staging_manifest() const; + PROTOBUF_NODISCARD ::greptime::v1::region::ApplyStagingManifestRequest* release_apply_staging_manifest(); + ::greptime::v1::region::ApplyStagingManifestRequest* mutable_apply_staging_manifest(); + void set_allocated_apply_staging_manifest(::greptime::v1::region::ApplyStagingManifestRequest* apply_staging_manifest); + private: + const ::greptime::v1::region::ApplyStagingManifestRequest& _internal_apply_staging_manifest() const; + ::greptime::v1::region::ApplyStagingManifestRequest* _internal_mutable_apply_staging_manifest(); + public: + void unsafe_arena_set_allocated_apply_staging_manifest( + ::greptime::v1::region::ApplyStagingManifestRequest* apply_staging_manifest); + ::greptime::v1::region::ApplyStagingManifestRequest* unsafe_arena_release_apply_staging_manifest(); + void clear_body(); BodyCase body_case() const; // @@protoc_insertion_point(class_scope:greptime.v1.region.RegionRequest) @@ -952,6 +980,7 @@ class RegionRequest final : void set_has_sync(); void set_has_list_metadata(); void set_has_build_index(); + void set_has_apply_staging_manifest(); inline bool has_body() const; inline void clear_has_body(); @@ -981,6 +1010,7 @@ class RegionRequest final : ::greptime::v1::region::SyncRequest* sync_; ::greptime::v1::region::ListMetadataRequest* list_metadata_; ::greptime::v1::region::BuildIndexRequest* build_index_; + ::greptime::v1::region::ApplyStagingManifestRequest* apply_staging_manifest_; } body_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; uint32_t _oneof_case_[1]; @@ -6743,6 +6773,343 @@ class BuildIndexRequest final : union { Impl_ _impl_; }; friend struct ::TableStruct_greptime_2fv1_2fregion_2fserver_2eproto; }; +// ------------------------------------------------------------------- + +class FileMetas final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.region.FileMetas) */ { + public: + inline FileMetas() : FileMetas(nullptr) {} + ~FileMetas() override; + explicit PROTOBUF_CONSTEXPR FileMetas(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + FileMetas(const FileMetas& from); + FileMetas(FileMetas&& from) noexcept + : FileMetas() { + *this = ::std::move(from); + } + + inline FileMetas& operator=(const FileMetas& from) { + CopyFrom(from); + return *this; + } + inline FileMetas& operator=(FileMetas&& 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 FileMetas& default_instance() { + return *internal_default_instance(); + } + static inline const FileMetas* internal_default_instance() { + return reinterpret_cast( + &_FileMetas_default_instance_); + } + static constexpr int kIndexInFileMessages = + 38; + + friend void swap(FileMetas& a, FileMetas& b) { + a.Swap(&b); + } + inline void Swap(FileMetas* 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(FileMetas* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + FileMetas* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const FileMetas& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const FileMetas& from) { + FileMetas::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(FileMetas* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.region.FileMetas"; + } + protected: + explicit FileMetas(::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 { + kDataFieldNumber = 1, + }; + // bytes data = 1; + void clear_data(); + const std::string& data() const; + template + void set_data(ArgT0&& arg0, ArgT... args); + std::string* mutable_data(); + PROTOBUF_NODISCARD std::string* release_data(); + void set_allocated_data(std::string* data); + private: + const std::string& _internal_data() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); + std::string* _internal_mutable_data(); + public: + + // @@protoc_insertion_point(class_scope:greptime.v1.region.FileMetas) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fregion_2fserver_2eproto; +}; +// ------------------------------------------------------------------- + +class ApplyStagingManifestRequest final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.region.ApplyStagingManifestRequest) */ { + public: + inline ApplyStagingManifestRequest() : ApplyStagingManifestRequest(nullptr) {} + ~ApplyStagingManifestRequest() override; + explicit PROTOBUF_CONSTEXPR ApplyStagingManifestRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ApplyStagingManifestRequest(const ApplyStagingManifestRequest& from); + ApplyStagingManifestRequest(ApplyStagingManifestRequest&& from) noexcept + : ApplyStagingManifestRequest() { + *this = ::std::move(from); + } + + inline ApplyStagingManifestRequest& operator=(const ApplyStagingManifestRequest& from) { + CopyFrom(from); + return *this; + } + inline ApplyStagingManifestRequest& operator=(ApplyStagingManifestRequest&& 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 ApplyStagingManifestRequest& default_instance() { + return *internal_default_instance(); + } + static inline const ApplyStagingManifestRequest* internal_default_instance() { + return reinterpret_cast( + &_ApplyStagingManifestRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 39; + + friend void swap(ApplyStagingManifestRequest& a, ApplyStagingManifestRequest& b) { + a.Swap(&b); + } + inline void Swap(ApplyStagingManifestRequest* 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(ApplyStagingManifestRequest* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ApplyStagingManifestRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ApplyStagingManifestRequest& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ApplyStagingManifestRequest& from) { + ApplyStagingManifestRequest::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(ApplyStagingManifestRequest* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.region.ApplyStagingManifestRequest"; + } + protected: + explicit ApplyStagingManifestRequest(::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 { + kPartitionExprFieldNumber = 2, + kFilesToAddFieldNumber = 3, + kRegionIdFieldNumber = 1, + }; + // string partition_expr = 2; + void clear_partition_expr(); + const std::string& partition_expr() const; + template + void set_partition_expr(ArgT0&& arg0, ArgT... args); + std::string* mutable_partition_expr(); + PROTOBUF_NODISCARD std::string* release_partition_expr(); + void set_allocated_partition_expr(std::string* partition_expr); + private: + const std::string& _internal_partition_expr() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_partition_expr(const std::string& value); + std::string* _internal_mutable_partition_expr(); + public: + + // .greptime.v1.region.FileMetas files_to_add = 3; + bool has_files_to_add() const; + private: + bool _internal_has_files_to_add() const; + public: + void clear_files_to_add(); + const ::greptime::v1::region::FileMetas& files_to_add() const; + PROTOBUF_NODISCARD ::greptime::v1::region::FileMetas* release_files_to_add(); + ::greptime::v1::region::FileMetas* mutable_files_to_add(); + void set_allocated_files_to_add(::greptime::v1::region::FileMetas* files_to_add); + private: + const ::greptime::v1::region::FileMetas& _internal_files_to_add() const; + ::greptime::v1::region::FileMetas* _internal_mutable_files_to_add(); + public: + void unsafe_arena_set_allocated_files_to_add( + ::greptime::v1::region::FileMetas* files_to_add); + ::greptime::v1::region::FileMetas* unsafe_arena_release_files_to_add(); + + // 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.ApplyStagingManifestRequest) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr partition_expr_; + ::greptime::v1::region::FileMetas* files_to_add_; + uint64_t region_id_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fregion_2fserver_2eproto; +}; // =================================================================== @@ -8272,6 +8639,80 @@ inline ::greptime::v1::region::BuildIndexRequest* RegionRequest::mutable_build_i return _msg; } +// .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; +inline bool RegionRequest::_internal_has_apply_staging_manifest() const { + return body_case() == kApplyStagingManifest; +} +inline bool RegionRequest::has_apply_staging_manifest() const { + return _internal_has_apply_staging_manifest(); +} +inline void RegionRequest::set_has_apply_staging_manifest() { + _impl_._oneof_case_[0] = kApplyStagingManifest; +} +inline void RegionRequest::clear_apply_staging_manifest() { + if (_internal_has_apply_staging_manifest()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.body_.apply_staging_manifest_; + } + clear_has_body(); + } +} +inline ::greptime::v1::region::ApplyStagingManifestRequest* RegionRequest::release_apply_staging_manifest() { + // @@protoc_insertion_point(field_release:greptime.v1.region.RegionRequest.apply_staging_manifest) + if (_internal_has_apply_staging_manifest()) { + clear_has_body(); + ::greptime::v1::region::ApplyStagingManifestRequest* temp = _impl_.body_.apply_staging_manifest_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.body_.apply_staging_manifest_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::region::ApplyStagingManifestRequest& RegionRequest::_internal_apply_staging_manifest() const { + return _internal_has_apply_staging_manifest() + ? *_impl_.body_.apply_staging_manifest_ + : reinterpret_cast< ::greptime::v1::region::ApplyStagingManifestRequest&>(::greptime::v1::region::_ApplyStagingManifestRequest_default_instance_); +} +inline const ::greptime::v1::region::ApplyStagingManifestRequest& RegionRequest::apply_staging_manifest() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.RegionRequest.apply_staging_manifest) + return _internal_apply_staging_manifest(); +} +inline ::greptime::v1::region::ApplyStagingManifestRequest* RegionRequest::unsafe_arena_release_apply_staging_manifest() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.region.RegionRequest.apply_staging_manifest) + if (_internal_has_apply_staging_manifest()) { + clear_has_body(); + ::greptime::v1::region::ApplyStagingManifestRequest* temp = _impl_.body_.apply_staging_manifest_; + _impl_.body_.apply_staging_manifest_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void RegionRequest::unsafe_arena_set_allocated_apply_staging_manifest(::greptime::v1::region::ApplyStagingManifestRequest* apply_staging_manifest) { + clear_body(); + if (apply_staging_manifest) { + set_has_apply_staging_manifest(); + _impl_.body_.apply_staging_manifest_ = apply_staging_manifest; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.RegionRequest.apply_staging_manifest) +} +inline ::greptime::v1::region::ApplyStagingManifestRequest* RegionRequest::_internal_mutable_apply_staging_manifest() { + if (!_internal_has_apply_staging_manifest()) { + clear_body(); + set_has_apply_staging_manifest(); + _impl_.body_.apply_staging_manifest_ = CreateMaybeMessage< ::greptime::v1::region::ApplyStagingManifestRequest >(GetArenaForAllocation()); + } + return _impl_.body_.apply_staging_manifest_; +} +inline ::greptime::v1::region::ApplyStagingManifestRequest* RegionRequest::mutable_apply_staging_manifest() { + ::greptime::v1::region::ApplyStagingManifestRequest* _msg = _internal_mutable_apply_staging_manifest(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.RegionRequest.apply_staging_manifest) + return _msg; +} + inline bool RegionRequest::has_body() const { return body_case() != BODY_NOT_SET; } @@ -11819,6 +12260,224 @@ inline void BuildIndexRequest::set_region_id(uint64_t value) { // @@protoc_insertion_point(field_set:greptime.v1.region.BuildIndexRequest.region_id) } +// ------------------------------------------------------------------- + +// FileMetas + +// bytes data = 1; +inline void FileMetas::clear_data() { + _impl_.data_.ClearToEmpty(); +} +inline const std::string& FileMetas::data() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.FileMetas.data) + return _internal_data(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void FileMetas::set_data(ArgT0&& arg0, ArgT... args) { + + _impl_.data_.SetBytes(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.region.FileMetas.data) +} +inline std::string* FileMetas::mutable_data() { + std::string* _s = _internal_mutable_data(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.FileMetas.data) + return _s; +} +inline const std::string& FileMetas::_internal_data() const { + return _impl_.data_.Get(); +} +inline void FileMetas::_internal_set_data(const std::string& value) { + + _impl_.data_.Set(value, GetArenaForAllocation()); +} +inline std::string* FileMetas::_internal_mutable_data() { + + return _impl_.data_.Mutable(GetArenaForAllocation()); +} +inline std::string* FileMetas::release_data() { + // @@protoc_insertion_point(field_release:greptime.v1.region.FileMetas.data) + return _impl_.data_.Release(); +} +inline void FileMetas::set_allocated_data(std::string* data) { + if (data != nullptr) { + + } else { + + } + _impl_.data_.SetAllocated(data, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.data_.IsDefault()) { + _impl_.data_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.FileMetas.data) +} + +// ------------------------------------------------------------------- + +// ApplyStagingManifestRequest + +// uint64 region_id = 1; +inline void ApplyStagingManifestRequest::clear_region_id() { + _impl_.region_id_ = uint64_t{0u}; +} +inline uint64_t ApplyStagingManifestRequest::_internal_region_id() const { + return _impl_.region_id_; +} +inline uint64_t ApplyStagingManifestRequest::region_id() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.ApplyStagingManifestRequest.region_id) + return _internal_region_id(); +} +inline void ApplyStagingManifestRequest::_internal_set_region_id(uint64_t value) { + + _impl_.region_id_ = value; +} +inline void ApplyStagingManifestRequest::set_region_id(uint64_t value) { + _internal_set_region_id(value); + // @@protoc_insertion_point(field_set:greptime.v1.region.ApplyStagingManifestRequest.region_id) +} + +// string partition_expr = 2; +inline void ApplyStagingManifestRequest::clear_partition_expr() { + _impl_.partition_expr_.ClearToEmpty(); +} +inline const std::string& ApplyStagingManifestRequest::partition_expr() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.ApplyStagingManifestRequest.partition_expr) + return _internal_partition_expr(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ApplyStagingManifestRequest::set_partition_expr(ArgT0&& arg0, ArgT... args) { + + _impl_.partition_expr_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.region.ApplyStagingManifestRequest.partition_expr) +} +inline std::string* ApplyStagingManifestRequest::mutable_partition_expr() { + std::string* _s = _internal_mutable_partition_expr(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.ApplyStagingManifestRequest.partition_expr) + return _s; +} +inline const std::string& ApplyStagingManifestRequest::_internal_partition_expr() const { + return _impl_.partition_expr_.Get(); +} +inline void ApplyStagingManifestRequest::_internal_set_partition_expr(const std::string& value) { + + _impl_.partition_expr_.Set(value, GetArenaForAllocation()); +} +inline std::string* ApplyStagingManifestRequest::_internal_mutable_partition_expr() { + + return _impl_.partition_expr_.Mutable(GetArenaForAllocation()); +} +inline std::string* ApplyStagingManifestRequest::release_partition_expr() { + // @@protoc_insertion_point(field_release:greptime.v1.region.ApplyStagingManifestRequest.partition_expr) + return _impl_.partition_expr_.Release(); +} +inline void ApplyStagingManifestRequest::set_allocated_partition_expr(std::string* partition_expr) { + if (partition_expr != nullptr) { + + } else { + + } + _impl_.partition_expr_.SetAllocated(partition_expr, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.partition_expr_.IsDefault()) { + _impl_.partition_expr_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.ApplyStagingManifestRequest.partition_expr) +} + +// .greptime.v1.region.FileMetas files_to_add = 3; +inline bool ApplyStagingManifestRequest::_internal_has_files_to_add() const { + return this != internal_default_instance() && _impl_.files_to_add_ != nullptr; +} +inline bool ApplyStagingManifestRequest::has_files_to_add() const { + return _internal_has_files_to_add(); +} +inline void ApplyStagingManifestRequest::clear_files_to_add() { + if (GetArenaForAllocation() == nullptr && _impl_.files_to_add_ != nullptr) { + delete _impl_.files_to_add_; + } + _impl_.files_to_add_ = nullptr; +} +inline const ::greptime::v1::region::FileMetas& ApplyStagingManifestRequest::_internal_files_to_add() const { + const ::greptime::v1::region::FileMetas* p = _impl_.files_to_add_; + return p != nullptr ? *p : reinterpret_cast( + ::greptime::v1::region::_FileMetas_default_instance_); +} +inline const ::greptime::v1::region::FileMetas& ApplyStagingManifestRequest::files_to_add() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.ApplyStagingManifestRequest.files_to_add) + return _internal_files_to_add(); +} +inline void ApplyStagingManifestRequest::unsafe_arena_set_allocated_files_to_add( + ::greptime::v1::region::FileMetas* files_to_add) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.files_to_add_); + } + _impl_.files_to_add_ = files_to_add; + if (files_to_add) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.ApplyStagingManifestRequest.files_to_add) +} +inline ::greptime::v1::region::FileMetas* ApplyStagingManifestRequest::release_files_to_add() { + + ::greptime::v1::region::FileMetas* temp = _impl_.files_to_add_; + _impl_.files_to_add_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::greptime::v1::region::FileMetas* ApplyStagingManifestRequest::unsafe_arena_release_files_to_add() { + // @@protoc_insertion_point(field_release:greptime.v1.region.ApplyStagingManifestRequest.files_to_add) + + ::greptime::v1::region::FileMetas* temp = _impl_.files_to_add_; + _impl_.files_to_add_ = nullptr; + return temp; +} +inline ::greptime::v1::region::FileMetas* ApplyStagingManifestRequest::_internal_mutable_files_to_add() { + + if (_impl_.files_to_add_ == nullptr) { + auto* p = CreateMaybeMessage<::greptime::v1::region::FileMetas>(GetArenaForAllocation()); + _impl_.files_to_add_ = p; + } + return _impl_.files_to_add_; +} +inline ::greptime::v1::region::FileMetas* ApplyStagingManifestRequest::mutable_files_to_add() { + ::greptime::v1::region::FileMetas* _msg = _internal_mutable_files_to_add(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.ApplyStagingManifestRequest.files_to_add) + return _msg; +} +inline void ApplyStagingManifestRequest::set_allocated_files_to_add(::greptime::v1::region::FileMetas* files_to_add) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.files_to_add_; + } + if (files_to_add) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(files_to_add); + if (message_arena != submessage_arena) { + files_to_add = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, files_to_add, submessage_arena); + } + + } else { + + } + _impl_.files_to_add_ = files_to_add; + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.ApplyStagingManifestRequest.files_to_add) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -11896,6 +12555,10 @@ inline void BuildIndexRequest::set_region_id(uint64_t value) { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/go/greptime/v1/region/server.pb.go b/go/greptime/v1/region/server.pb.go index 9edfd08..a65fcce 100644 --- a/go/greptime/v1/region/server.pb.go +++ b/go/greptime/v1/region/server.pb.go @@ -130,6 +130,7 @@ type RegionRequest struct { // *RegionRequest_Sync // *RegionRequest_ListMetadata // *RegionRequest_BuildIndex + // *RegionRequest_ApplyStagingManifest Body isRegionRequest_Body `protobuf_oneof:"body"` } @@ -298,6 +299,13 @@ func (x *RegionRequest) GetBuildIndex() *BuildIndexRequest { return nil } +func (x *RegionRequest) GetApplyStagingManifest() *ApplyStagingManifestRequest { + if x, ok := x.GetBody().(*RegionRequest_ApplyStagingManifest); ok { + return x.ApplyStagingManifest + } + return nil +} + type isRegionRequest_Body interface { isRegionRequest_Body() } @@ -370,6 +378,10 @@ type RegionRequest_BuildIndex struct { BuildIndex *BuildIndexRequest `protobuf:"bytes,19,opt,name=build_index,json=buildIndex,proto3,oneof"` } +type RegionRequest_ApplyStagingManifest struct { + ApplyStagingManifest *ApplyStagingManifestRequest `protobuf:"bytes,20,opt,name=apply_staging_manifest,json=applyStagingManifest,proto3,oneof"` +} + func (*RegionRequest_Inserts) isRegionRequest_Body() {} func (*RegionRequest_Deletes) isRegionRequest_Body() {} @@ -404,6 +416,8 @@ func (*RegionRequest_ListMetadata) isRegionRequest_Body() {} func (*RegionRequest_BuildIndex) isRegionRequest_Body() {} +func (*RegionRequest_ApplyStagingManifest) isRegionRequest_Body() {} + type RegionResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2438,6 +2452,122 @@ func (x *BuildIndexRequest) GetRegionId() uint64 { return 0 } +// The file metas of a staging manifest. +// It is a json array of file metadatas. +type FileMetas struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *FileMetas) Reset() { + *x = FileMetas{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_region_server_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FileMetas) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FileMetas) ProtoMessage() {} + +func (x *FileMetas) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_region_server_proto_msgTypes[34] + 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 FileMetas.ProtoReflect.Descriptor instead. +func (*FileMetas) Descriptor() ([]byte, []int) { + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{34} +} + +func (x *FileMetas) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// / Apply staging manifest request. +type ApplyStagingManifestRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The target region id. + RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` + // The partition expression of the staging manifest. + PartitionExpr string `protobuf:"bytes,2,opt,name=partition_expr,json=partitionExpr,proto3" json:"partition_expr,omitempty"` + // The file metas to add to the staging manifest. + FilesToAdd *FileMetas `protobuf:"bytes,3,opt,name=files_to_add,json=filesToAdd,proto3" json:"files_to_add,omitempty"` +} + +func (x *ApplyStagingManifestRequest) Reset() { + *x = ApplyStagingManifestRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_region_server_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyStagingManifestRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyStagingManifestRequest) ProtoMessage() {} + +func (x *ApplyStagingManifestRequest) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_region_server_proto_msgTypes[35] + 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 ApplyStagingManifestRequest.ProtoReflect.Descriptor instead. +func (*ApplyStagingManifestRequest) Descriptor() ([]byte, []int) { + return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{35} +} + +func (x *ApplyStagingManifestRequest) GetRegionId() uint64 { + if x != nil { + return x.RegionId + } + return 0 +} + +func (x *ApplyStagingManifestRequest) GetPartitionExpr() string { + if x != nil { + return x.PartitionExpr + } + return "" +} + +func (x *ApplyStagingManifestRequest) GetFilesToAdd() *FileMetas { + if x != nil { + return x.FilesToAdd + } + return nil +} + var File_greptime_v1_region_server_proto protoreflect.FileDescriptor var file_greptime_v1_region_server_proto_rawDesc = []byte{ @@ -2468,7 +2598,7 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{ 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x86, 0x09, 0x0a, 0x0d, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0xef, 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, @@ -2540,289 +2670,308 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{ 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, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x67, 0x0a, 0x16, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x73, + 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, + 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x53, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x14, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x53, + 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x42, 0x06, + 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x99, 0x02, 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x68, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x23, + 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, + 0x6f, 0x77, 0x73, 0x12, 0x52, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, + 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x1a, 0x3d, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0x4f, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x73, 0x65, + 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x73, 0x22, 0x4f, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x73, 0x22, 0x53, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22, 0x53, 0x0a, 0x0d, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22, 0x80, + 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x3f, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, + 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x6c, 0x61, + 0x6e, 0x22, 0x4f, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x73, 0x22, 0x80, 0x03, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 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, + 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, 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, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, + 0x0a, 0x09, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x66, 0x61, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0xda, 0x01, 0x0a, 0x0b, + 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, - 0x12, 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, + 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, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x61, 0x73, 0x74, 0x50, 0x61, - 0x74, 0x68, 0x22, 0xda, 0x01, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, - 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x46, 0x0a, 0x07, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, - 0x6e, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, - 0x2b, 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x0d, - 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3c, 0x0a, - 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x8a, 0x07, 0x0a, 0x0c, - 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, - 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x41, 0x0a, 0x0b, 0x61, 0x64, 0x64, - 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, - 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0c, - 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, - 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x48, - 0x00, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, - 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, - 0x0f, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x50, 0x0a, 0x13, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, - 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, - 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, - 0x11, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x09, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x08, - 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3a, 0x0a, 0x0b, 0x75, 0x6e, 0x73, 0x65, - 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, - 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x0a, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x65, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, - 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, - 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, - 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, - 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, - 0x65, 0x78, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x61, - 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, - 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, - 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x53, - 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x79, - 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x53, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, - 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, - 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, - 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, 0x22, 0x4c, 0x0a, - 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x61, - 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, - 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x50, 0x0a, 0x0b, 0x44, - 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x0c, 0x64, 0x72, - 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x8b, 0x01, - 0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x42, 0x0a, 0x0a, 0x63, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, - 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x0a, 0x44, - 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2b, 0x0a, - 0x0c, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, - 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 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, 0xdc, 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, 0x12, 0x20, - 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, - 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0f, - 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x03, - 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, - 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x3a, 0x0a, 0x0b, 0x74, 0x69, 0x6d, - 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x52, - 0x61, 0x6e, 0x67, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x05, 0x0a, - 0x03, 0x41, 0x6c, 0x6c, 0x22, 0x65, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x35, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x1b, - 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x64, 0x22, 0x6e, 0x0a, 0x11, 0x42, - 0x75, 0x6c, 0x6b, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, - 0x09, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x5f, 0x69, 0x70, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x48, 0x00, 0x52, 0x08, 0x61, 0x72, 0x72, 0x6f, 0x77, - 0x49, 0x70, 0x63, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x46, 0x0a, 0x10, 0x4d, - 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, - 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, - 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, - 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, - 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, - 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, - 0x0a, 0x19, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, - 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, - 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xed, 0x01, 0x0a, 0x0b, 0x53, - 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, - 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x69, 0x74, 0x6f, 0x5f, - 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, - 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x10, 0x6d, 0x69, 0x74, - 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5a, 0x0a, - 0x14, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, - 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, - 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, - 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0f, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, - 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x4c, 0x69, - 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, - 0x22, 0x30, 0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, + 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, 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, + 0x49, 0x64, 0x12, 0x41, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, + 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, + 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, + 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x6d, + 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x69, + 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4a, 0x0a, + 0x11, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x75, 0x6e, 0x73, + 0x65, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x11, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x09, 0x73, + 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x3a, 0x0a, 0x0b, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, + 0x00, 0x52, 0x0a, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, + 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, + 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, + 0x3a, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, + 0x0a, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x75, + 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, + 0x0c, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x3d, 0x0a, + 0x0c, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, + 0x0b, 0x73, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x0c, + 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x10, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, + 0x64, 0x22, 0x53, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, + 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, 0x22, 0x4c, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, + 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x50, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, + 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x8b, 0x01, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x42, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, + 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, + 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x0a, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2b, 0x0a, 0x0c, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 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, 0xdc, 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, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0f, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x03, 0x61, + 0x6c, 0x6c, 0x12, 0x3a, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, + 0x48, 0x00, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x42, 0x06, + 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x05, 0x0a, 0x03, 0x41, 0x6c, 0x6c, 0x22, 0x65, 0x0a, + 0x0f, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, + 0x12, 0x35, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x49, 0x64, 0x22, 0x6e, 0x0a, 0x11, 0x42, 0x75, 0x6c, 0x6b, 0x49, 0x6e, 0x73, 0x65, + 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x09, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x5f, + 0x69, 0x70, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, + 0x48, 0x00, 0x52, 0x08, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x42, 0x06, 0x0a, 0x04, + 0x62, 0x6f, 0x64, 0x79, 0x22, 0x46, 0x0a, 0x10, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, + 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, + 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, + 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, + 0x12, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, + 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x19, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x22, 0xed, 0x01, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x69, 0x74, 0x6f, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x2e, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x48, 0x00, 0x52, 0x10, 0x6d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, + 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5a, 0x0a, 0x14, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, + 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x42, 0x0f, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, + 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 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, 0x22, 0x1f, 0x0a, 0x09, 0x46, + 0x69, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xa2, 0x01, 0x0a, + 0x1b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x6e, + 0x69, 0x66, 0x65, 0x73, 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, 0x0e, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, + 0x12, 0x3f, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x69, 0x6c, 0x65, + 0x4d, 0x65, 0x74, 0x61, 0x73, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x54, 0x6f, 0x41, 0x64, + 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 ( @@ -2837,67 +2986,69 @@ func file_greptime_v1_region_server_proto_rawDescGZIP() []byte { return file_greptime_v1_region_server_proto_rawDescData } -var file_greptime_v1_region_server_proto_msgTypes = make([]protoimpl.MessageInfo, 38) +var file_greptime_v1_region_server_proto_msgTypes = make([]protoimpl.MessageInfo, 40) var file_greptime_v1_region_server_proto_goTypes = []interface{}{ - (*RegionRequestHeader)(nil), // 0: greptime.v1.region.RegionRequestHeader - (*RegionRequest)(nil), // 1: greptime.v1.region.RegionRequest - (*RegionResponse)(nil), // 2: greptime.v1.region.RegionResponse - (*InsertRequests)(nil), // 3: greptime.v1.region.InsertRequests - (*DeleteRequests)(nil), // 4: greptime.v1.region.DeleteRequests - (*InsertRequest)(nil), // 5: greptime.v1.region.InsertRequest - (*DeleteRequest)(nil), // 6: greptime.v1.region.DeleteRequest - (*QueryRequest)(nil), // 7: greptime.v1.region.QueryRequest - (*CreateRequests)(nil), // 8: greptime.v1.region.CreateRequests - (*CreateRequest)(nil), // 9: greptime.v1.region.CreateRequest - (*DropRequests)(nil), // 10: greptime.v1.region.DropRequests - (*DropRequest)(nil), // 11: greptime.v1.region.DropRequest - (*OpenRequest)(nil), // 12: greptime.v1.region.OpenRequest - (*CloseRequest)(nil), // 13: greptime.v1.region.CloseRequest - (*AlterRequests)(nil), // 14: greptime.v1.region.AlterRequests - (*AlterRequest)(nil), // 15: greptime.v1.region.AlterRequest - (*SyncColumns)(nil), // 16: greptime.v1.region.SyncColumns - (*AddColumns)(nil), // 17: greptime.v1.region.AddColumns - (*DropColumns)(nil), // 18: greptime.v1.region.DropColumns - (*AddColumn)(nil), // 19: greptime.v1.region.AddColumn - (*DropColumn)(nil), // 20: greptime.v1.region.DropColumn - (*FlushRequest)(nil), // 21: greptime.v1.region.FlushRequest - (*Regular)(nil), // 22: greptime.v1.region.Regular - (*StrictWindow)(nil), // 23: greptime.v1.region.StrictWindow - (*CompactRequest)(nil), // 24: greptime.v1.region.CompactRequest - (*TruncateRequest)(nil), // 25: greptime.v1.region.TruncateRequest - (*All)(nil), // 26: greptime.v1.region.All - (*RegionColumnDef)(nil), // 27: greptime.v1.region.RegionColumnDef - (*BulkInsertRequest)(nil), // 28: greptime.v1.region.BulkInsertRequest - (*MitoManifestInfo)(nil), // 29: greptime.v1.region.MitoManifestInfo - (*MetricManifestInfo)(nil), // 30: greptime.v1.region.MetricManifestInfo - (*SyncRequest)(nil), // 31: greptime.v1.region.SyncRequest - (*ListMetadataRequest)(nil), // 32: greptime.v1.region.ListMetadataRequest - (*BuildIndexRequest)(nil), // 33: greptime.v1.region.BuildIndexRequest - nil, // 34: greptime.v1.region.RegionRequestHeader.TracingContextEntry - nil, // 35: greptime.v1.region.RegionResponse.ExtensionsEntry - nil, // 36: greptime.v1.region.CreateRequest.OptionsEntry - nil, // 37: greptime.v1.region.OpenRequest.OptionsEntry - (*v1.QueryContext)(nil), // 38: greptime.v1.QueryContext - (*v1.ResponseHeader)(nil), // 39: greptime.v1.ResponseHeader - (*v1.Rows)(nil), // 40: greptime.v1.Rows - (*meta.Partition)(nil), // 41: greptime.v1.meta.Partition - (*v1.ModifyColumnTypes)(nil), // 42: greptime.v1.ModifyColumnTypes - (*v1.SetTableOptions)(nil), // 43: greptime.v1.SetTableOptions - (*v1.UnsetTableOptions)(nil), // 44: greptime.v1.UnsetTableOptions - (*v1.SetIndex)(nil), // 45: greptime.v1.SetIndex - (*v1.UnsetIndex)(nil), // 46: greptime.v1.UnsetIndex - (*v1.DropDefaults)(nil), // 47: greptime.v1.DropDefaults - (*v1.SetIndexes)(nil), // 48: greptime.v1.SetIndexes - (*v1.UnsetIndexes)(nil), // 49: greptime.v1.UnsetIndexes - (*v1.SetDefaults)(nil), // 50: greptime.v1.SetDefaults - (*v1.AddColumnLocation)(nil), // 51: greptime.v1.AddColumnLocation - (*v1.TimeRanges)(nil), // 52: greptime.v1.TimeRanges - (*v1.ColumnDef)(nil), // 53: greptime.v1.ColumnDef - (*v1.ArrowIpc)(nil), // 54: greptime.v1.ArrowIpc + (*RegionRequestHeader)(nil), // 0: greptime.v1.region.RegionRequestHeader + (*RegionRequest)(nil), // 1: greptime.v1.region.RegionRequest + (*RegionResponse)(nil), // 2: greptime.v1.region.RegionResponse + (*InsertRequests)(nil), // 3: greptime.v1.region.InsertRequests + (*DeleteRequests)(nil), // 4: greptime.v1.region.DeleteRequests + (*InsertRequest)(nil), // 5: greptime.v1.region.InsertRequest + (*DeleteRequest)(nil), // 6: greptime.v1.region.DeleteRequest + (*QueryRequest)(nil), // 7: greptime.v1.region.QueryRequest + (*CreateRequests)(nil), // 8: greptime.v1.region.CreateRequests + (*CreateRequest)(nil), // 9: greptime.v1.region.CreateRequest + (*DropRequests)(nil), // 10: greptime.v1.region.DropRequests + (*DropRequest)(nil), // 11: greptime.v1.region.DropRequest + (*OpenRequest)(nil), // 12: greptime.v1.region.OpenRequest + (*CloseRequest)(nil), // 13: greptime.v1.region.CloseRequest + (*AlterRequests)(nil), // 14: greptime.v1.region.AlterRequests + (*AlterRequest)(nil), // 15: greptime.v1.region.AlterRequest + (*SyncColumns)(nil), // 16: greptime.v1.region.SyncColumns + (*AddColumns)(nil), // 17: greptime.v1.region.AddColumns + (*DropColumns)(nil), // 18: greptime.v1.region.DropColumns + (*AddColumn)(nil), // 19: greptime.v1.region.AddColumn + (*DropColumn)(nil), // 20: greptime.v1.region.DropColumn + (*FlushRequest)(nil), // 21: greptime.v1.region.FlushRequest + (*Regular)(nil), // 22: greptime.v1.region.Regular + (*StrictWindow)(nil), // 23: greptime.v1.region.StrictWindow + (*CompactRequest)(nil), // 24: greptime.v1.region.CompactRequest + (*TruncateRequest)(nil), // 25: greptime.v1.region.TruncateRequest + (*All)(nil), // 26: greptime.v1.region.All + (*RegionColumnDef)(nil), // 27: greptime.v1.region.RegionColumnDef + (*BulkInsertRequest)(nil), // 28: greptime.v1.region.BulkInsertRequest + (*MitoManifestInfo)(nil), // 29: greptime.v1.region.MitoManifestInfo + (*MetricManifestInfo)(nil), // 30: greptime.v1.region.MetricManifestInfo + (*SyncRequest)(nil), // 31: greptime.v1.region.SyncRequest + (*ListMetadataRequest)(nil), // 32: greptime.v1.region.ListMetadataRequest + (*BuildIndexRequest)(nil), // 33: greptime.v1.region.BuildIndexRequest + (*FileMetas)(nil), // 34: greptime.v1.region.FileMetas + (*ApplyStagingManifestRequest)(nil), // 35: greptime.v1.region.ApplyStagingManifestRequest + nil, // 36: greptime.v1.region.RegionRequestHeader.TracingContextEntry + nil, // 37: greptime.v1.region.RegionResponse.ExtensionsEntry + nil, // 38: greptime.v1.region.CreateRequest.OptionsEntry + nil, // 39: greptime.v1.region.OpenRequest.OptionsEntry + (*v1.QueryContext)(nil), // 40: greptime.v1.QueryContext + (*v1.ResponseHeader)(nil), // 41: greptime.v1.ResponseHeader + (*v1.Rows)(nil), // 42: greptime.v1.Rows + (*meta.Partition)(nil), // 43: greptime.v1.meta.Partition + (*v1.ModifyColumnTypes)(nil), // 44: greptime.v1.ModifyColumnTypes + (*v1.SetTableOptions)(nil), // 45: greptime.v1.SetTableOptions + (*v1.UnsetTableOptions)(nil), // 46: greptime.v1.UnsetTableOptions + (*v1.SetIndex)(nil), // 47: greptime.v1.SetIndex + (*v1.UnsetIndex)(nil), // 48: greptime.v1.UnsetIndex + (*v1.DropDefaults)(nil), // 49: greptime.v1.DropDefaults + (*v1.SetIndexes)(nil), // 50: greptime.v1.SetIndexes + (*v1.UnsetIndexes)(nil), // 51: greptime.v1.UnsetIndexes + (*v1.SetDefaults)(nil), // 52: greptime.v1.SetDefaults + (*v1.AddColumnLocation)(nil), // 53: greptime.v1.AddColumnLocation + (*v1.TimeRanges)(nil), // 54: greptime.v1.TimeRanges + (*v1.ColumnDef)(nil), // 55: greptime.v1.ColumnDef + (*v1.ArrowIpc)(nil), // 56: greptime.v1.ArrowIpc } var file_greptime_v1_region_server_proto_depIdxs = []int32{ - 34, // 0: greptime.v1.region.RegionRequestHeader.tracing_context:type_name -> greptime.v1.region.RegionRequestHeader.TracingContextEntry - 38, // 1: greptime.v1.region.RegionRequestHeader.query_context:type_name -> greptime.v1.QueryContext + 36, // 0: greptime.v1.region.RegionRequestHeader.tracing_context:type_name -> greptime.v1.region.RegionRequestHeader.TracingContextEntry + 40, // 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 @@ -2916,52 +3067,54 @@ var file_greptime_v1_region_server_proto_depIdxs = []int32{ 31, // 17: greptime.v1.region.RegionRequest.sync:type_name -> greptime.v1.region.SyncRequest 32, // 18: greptime.v1.region.RegionRequest.list_metadata:type_name -> greptime.v1.region.ListMetadataRequest 33, // 19: greptime.v1.region.RegionRequest.build_index:type_name -> greptime.v1.region.BuildIndexRequest - 39, // 20: greptime.v1.region.RegionResponse.header:type_name -> greptime.v1.ResponseHeader - 35, // 21: greptime.v1.region.RegionResponse.extensions:type_name -> greptime.v1.region.RegionResponse.ExtensionsEntry - 5, // 22: greptime.v1.region.InsertRequests.requests:type_name -> greptime.v1.region.InsertRequest - 6, // 23: greptime.v1.region.DeleteRequests.requests:type_name -> greptime.v1.region.DeleteRequest - 40, // 24: greptime.v1.region.InsertRequest.rows:type_name -> greptime.v1.Rows - 40, // 25: greptime.v1.region.DeleteRequest.rows:type_name -> greptime.v1.Rows - 0, // 26: greptime.v1.region.QueryRequest.header:type_name -> greptime.v1.region.RegionRequestHeader - 9, // 27: greptime.v1.region.CreateRequests.requests:type_name -> greptime.v1.region.CreateRequest - 27, // 28: greptime.v1.region.CreateRequest.column_defs:type_name -> greptime.v1.region.RegionColumnDef - 36, // 29: greptime.v1.region.CreateRequest.options:type_name -> greptime.v1.region.CreateRequest.OptionsEntry - 41, // 30: greptime.v1.region.CreateRequest.partition:type_name -> greptime.v1.meta.Partition - 11, // 31: greptime.v1.region.DropRequests.requests:type_name -> greptime.v1.region.DropRequest - 37, // 32: greptime.v1.region.OpenRequest.options:type_name -> greptime.v1.region.OpenRequest.OptionsEntry - 15, // 33: greptime.v1.region.AlterRequests.requests:type_name -> greptime.v1.region.AlterRequest - 17, // 34: greptime.v1.region.AlterRequest.add_columns:type_name -> greptime.v1.region.AddColumns - 18, // 35: greptime.v1.region.AlterRequest.drop_columns:type_name -> greptime.v1.region.DropColumns - 42, // 36: greptime.v1.region.AlterRequest.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes - 43, // 37: greptime.v1.region.AlterRequest.set_table_options:type_name -> greptime.v1.SetTableOptions - 44, // 38: greptime.v1.region.AlterRequest.unset_table_options:type_name -> greptime.v1.UnsetTableOptions - 45, // 39: greptime.v1.region.AlterRequest.set_index:type_name -> greptime.v1.SetIndex - 46, // 40: greptime.v1.region.AlterRequest.unset_index:type_name -> greptime.v1.UnsetIndex - 47, // 41: greptime.v1.region.AlterRequest.drop_defaults:type_name -> greptime.v1.DropDefaults - 48, // 42: greptime.v1.region.AlterRequest.set_indexes:type_name -> greptime.v1.SetIndexes - 49, // 43: greptime.v1.region.AlterRequest.unset_indexes:type_name -> greptime.v1.UnsetIndexes - 50, // 44: greptime.v1.region.AlterRequest.set_defaults:type_name -> greptime.v1.SetDefaults - 16, // 45: greptime.v1.region.AlterRequest.sync_columns:type_name -> greptime.v1.region.SyncColumns - 27, // 46: greptime.v1.region.SyncColumns.column_defs:type_name -> greptime.v1.region.RegionColumnDef - 19, // 47: greptime.v1.region.AddColumns.add_columns:type_name -> greptime.v1.region.AddColumn - 20, // 48: greptime.v1.region.DropColumns.drop_columns:type_name -> greptime.v1.region.DropColumn - 27, // 49: greptime.v1.region.AddColumn.column_def:type_name -> greptime.v1.region.RegionColumnDef - 51, // 50: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation - 22, // 51: greptime.v1.region.CompactRequest.regular:type_name -> greptime.v1.region.Regular - 23, // 52: greptime.v1.region.CompactRequest.strict_window:type_name -> greptime.v1.region.StrictWindow - 26, // 53: greptime.v1.region.TruncateRequest.all:type_name -> greptime.v1.region.All - 52, // 54: greptime.v1.region.TruncateRequest.time_ranges:type_name -> greptime.v1.TimeRanges - 53, // 55: greptime.v1.region.RegionColumnDef.column_def:type_name -> greptime.v1.ColumnDef - 54, // 56: greptime.v1.region.BulkInsertRequest.arrow_ipc:type_name -> greptime.v1.ArrowIpc - 29, // 57: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo - 30, // 58: greptime.v1.region.SyncRequest.metric_manifest_info:type_name -> greptime.v1.region.MetricManifestInfo - 1, // 59: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest - 2, // 60: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse - 60, // [60:61] is the sub-list for method output_type - 59, // [59:60] is the sub-list for method input_type - 59, // [59:59] is the sub-list for extension type_name - 59, // [59:59] is the sub-list for extension extendee - 0, // [0:59] is the sub-list for field type_name + 35, // 20: greptime.v1.region.RegionRequest.apply_staging_manifest:type_name -> greptime.v1.region.ApplyStagingManifestRequest + 41, // 21: greptime.v1.region.RegionResponse.header:type_name -> greptime.v1.ResponseHeader + 37, // 22: greptime.v1.region.RegionResponse.extensions:type_name -> greptime.v1.region.RegionResponse.ExtensionsEntry + 5, // 23: greptime.v1.region.InsertRequests.requests:type_name -> greptime.v1.region.InsertRequest + 6, // 24: greptime.v1.region.DeleteRequests.requests:type_name -> greptime.v1.region.DeleteRequest + 42, // 25: greptime.v1.region.InsertRequest.rows:type_name -> greptime.v1.Rows + 42, // 26: greptime.v1.region.DeleteRequest.rows:type_name -> greptime.v1.Rows + 0, // 27: greptime.v1.region.QueryRequest.header:type_name -> greptime.v1.region.RegionRequestHeader + 9, // 28: greptime.v1.region.CreateRequests.requests:type_name -> greptime.v1.region.CreateRequest + 27, // 29: greptime.v1.region.CreateRequest.column_defs:type_name -> greptime.v1.region.RegionColumnDef + 38, // 30: greptime.v1.region.CreateRequest.options:type_name -> greptime.v1.region.CreateRequest.OptionsEntry + 43, // 31: greptime.v1.region.CreateRequest.partition:type_name -> greptime.v1.meta.Partition + 11, // 32: greptime.v1.region.DropRequests.requests:type_name -> greptime.v1.region.DropRequest + 39, // 33: greptime.v1.region.OpenRequest.options:type_name -> greptime.v1.region.OpenRequest.OptionsEntry + 15, // 34: greptime.v1.region.AlterRequests.requests:type_name -> greptime.v1.region.AlterRequest + 17, // 35: greptime.v1.region.AlterRequest.add_columns:type_name -> greptime.v1.region.AddColumns + 18, // 36: greptime.v1.region.AlterRequest.drop_columns:type_name -> greptime.v1.region.DropColumns + 44, // 37: greptime.v1.region.AlterRequest.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes + 45, // 38: greptime.v1.region.AlterRequest.set_table_options:type_name -> greptime.v1.SetTableOptions + 46, // 39: greptime.v1.region.AlterRequest.unset_table_options:type_name -> greptime.v1.UnsetTableOptions + 47, // 40: greptime.v1.region.AlterRequest.set_index:type_name -> greptime.v1.SetIndex + 48, // 41: greptime.v1.region.AlterRequest.unset_index:type_name -> greptime.v1.UnsetIndex + 49, // 42: greptime.v1.region.AlterRequest.drop_defaults:type_name -> greptime.v1.DropDefaults + 50, // 43: greptime.v1.region.AlterRequest.set_indexes:type_name -> greptime.v1.SetIndexes + 51, // 44: greptime.v1.region.AlterRequest.unset_indexes:type_name -> greptime.v1.UnsetIndexes + 52, // 45: greptime.v1.region.AlterRequest.set_defaults:type_name -> greptime.v1.SetDefaults + 16, // 46: greptime.v1.region.AlterRequest.sync_columns:type_name -> greptime.v1.region.SyncColumns + 27, // 47: greptime.v1.region.SyncColumns.column_defs:type_name -> greptime.v1.region.RegionColumnDef + 19, // 48: greptime.v1.region.AddColumns.add_columns:type_name -> greptime.v1.region.AddColumn + 20, // 49: greptime.v1.region.DropColumns.drop_columns:type_name -> greptime.v1.region.DropColumn + 27, // 50: greptime.v1.region.AddColumn.column_def:type_name -> greptime.v1.region.RegionColumnDef + 53, // 51: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation + 22, // 52: greptime.v1.region.CompactRequest.regular:type_name -> greptime.v1.region.Regular + 23, // 53: greptime.v1.region.CompactRequest.strict_window:type_name -> greptime.v1.region.StrictWindow + 26, // 54: greptime.v1.region.TruncateRequest.all:type_name -> greptime.v1.region.All + 54, // 55: greptime.v1.region.TruncateRequest.time_ranges:type_name -> greptime.v1.TimeRanges + 55, // 56: greptime.v1.region.RegionColumnDef.column_def:type_name -> greptime.v1.ColumnDef + 56, // 57: greptime.v1.region.BulkInsertRequest.arrow_ipc:type_name -> greptime.v1.ArrowIpc + 29, // 58: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo + 30, // 59: greptime.v1.region.SyncRequest.metric_manifest_info:type_name -> greptime.v1.region.MetricManifestInfo + 34, // 60: greptime.v1.region.ApplyStagingManifestRequest.files_to_add:type_name -> greptime.v1.region.FileMetas + 1, // 61: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest + 2, // 62: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse + 62, // [62:63] is the sub-list for method output_type + 61, // [61:62] is the sub-list for method input_type + 61, // [61:61] is the sub-list for extension type_name + 61, // [61:61] is the sub-list for extension extendee + 0, // [0:61] is the sub-list for field type_name } func init() { file_greptime_v1_region_server_proto_init() } @@ -3378,6 +3531,30 @@ func file_greptime_v1_region_server_proto_init() { return nil } } + file_greptime_v1_region_server_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileMetas); 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[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyStagingManifestRequest); 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), @@ -3397,6 +3574,7 @@ func file_greptime_v1_region_server_proto_init() { (*RegionRequest_Sync)(nil), (*RegionRequest_ListMetadata)(nil), (*RegionRequest_BuildIndex)(nil), + (*RegionRequest_ApplyStagingManifest)(nil), } file_greptime_v1_region_server_proto_msgTypes[15].OneofWrappers = []interface{}{ (*AlterRequest_AddColumns)(nil), @@ -3433,7 +3611,7 @@ func file_greptime_v1_region_server_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_greptime_v1_region_server_proto_rawDesc, NumEnums: 0, - NumMessages: 38, + NumMessages: 40, 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 057fc11..26979be 100644 --- a/java/src/main/java/io/greptime/v1/region/Server.java +++ b/java/src/main/java/io/greptime/v1/region/Server.java @@ -1562,6 +1562,21 @@ java.lang.String defaultValue); */ io.greptime.v1.region.Server.BuildIndexRequestOrBuilder getBuildIndexOrBuilder(); + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + * @return Whether the applyStagingManifest field is set. + */ + boolean hasApplyStagingManifest(); + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + * @return The applyStagingManifest. + */ + io.greptime.v1.region.Server.ApplyStagingManifestRequest getApplyStagingManifest(); + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + */ + io.greptime.v1.region.Server.ApplyStagingManifestRequestOrBuilder getApplyStagingManifestOrBuilder(); + public io.greptime.v1.region.Server.RegionRequest.BodyCase getBodyCase(); } /** @@ -1860,6 +1875,20 @@ java.lang.String defaultValue); bodyCase_ = 19; break; } + case 162: { + io.greptime.v1.region.Server.ApplyStagingManifestRequest.Builder subBuilder = null; + if (bodyCase_ == 20) { + subBuilder = ((io.greptime.v1.region.Server.ApplyStagingManifestRequest) body_).toBuilder(); + } + body_ = + input.readMessage(io.greptime.v1.region.Server.ApplyStagingManifestRequest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.region.Server.ApplyStagingManifestRequest) body_); + body_ = subBuilder.buildPartial(); + } + bodyCase_ = 20; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -1916,6 +1945,7 @@ java.lang.String defaultValue); SYNC(17), LIST_METADATA(18), BUILD_INDEX(19), + APPLY_STAGING_MANIFEST(20), BODY_NOT_SET(0); private final int value; private BodyCase(int value) { @@ -1950,6 +1980,7 @@ java.lang.String defaultValue); case 17: return SYNC; case 18: return LIST_METADATA; case 19: return BUILD_INDEX; + case 20: return APPLY_STAGING_MANIFEST; case 0: return BODY_NOT_SET; default: return null; } @@ -2518,6 +2549,37 @@ java.lang.String defaultValue); return io.greptime.v1.region.Server.BuildIndexRequest.getDefaultInstance(); } + public static final int APPLY_STAGING_MANIFEST_FIELD_NUMBER = 20; + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + * @return Whether the applyStagingManifest field is set. + */ + @java.lang.Override + public boolean hasApplyStagingManifest() { + return bodyCase_ == 20; + } + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + * @return The applyStagingManifest. + */ + @java.lang.Override + public io.greptime.v1.region.Server.ApplyStagingManifestRequest getApplyStagingManifest() { + if (bodyCase_ == 20) { + return (io.greptime.v1.region.Server.ApplyStagingManifestRequest) body_; + } + return io.greptime.v1.region.Server.ApplyStagingManifestRequest.getDefaultInstance(); + } + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + */ + @java.lang.Override + public io.greptime.v1.region.Server.ApplyStagingManifestRequestOrBuilder getApplyStagingManifestOrBuilder() { + if (bodyCase_ == 20) { + return (io.greptime.v1.region.Server.ApplyStagingManifestRequest) body_; + } + return io.greptime.v1.region.Server.ApplyStagingManifestRequest.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -2586,6 +2648,9 @@ java.lang.String defaultValue); if (bodyCase_ == 19) { output.writeMessage(19, (io.greptime.v1.region.Server.BuildIndexRequest) body_); } + if (bodyCase_ == 20) { + output.writeMessage(20, (io.greptime.v1.region.Server.ApplyStagingManifestRequest) body_); + } unknownFields.writeTo(output); } @@ -2667,6 +2732,10 @@ java.lang.String defaultValue); size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, (io.greptime.v1.region.Server.BuildIndexRequest) body_); } + if (bodyCase_ == 20) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, (io.greptime.v1.region.Server.ApplyStagingManifestRequest) body_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2757,6 +2826,10 @@ java.lang.String defaultValue); if (!getBuildIndex() .equals(other.getBuildIndex())) return false; break; + case 20: + if (!getApplyStagingManifest() + .equals(other.getApplyStagingManifest())) return false; + break; case 0: default: } @@ -2844,6 +2917,10 @@ java.lang.String defaultValue); hash = (37 * hash) + BUILD_INDEX_FIELD_NUMBER; hash = (53 * hash) + getBuildIndex().hashCode(); break; + case 20: + hash = (37 * hash) + APPLY_STAGING_MANIFEST_FIELD_NUMBER; + hash = (53 * hash) + getApplyStagingManifest().hashCode(); + break; case 0: default: } @@ -3138,6 +3215,13 @@ java.lang.String defaultValue); result.body_ = buildIndexBuilder_.build(); } } + if (bodyCase_ == 20) { + if (applyStagingManifestBuilder_ == null) { + result.body_ = body_; + } else { + result.body_ = applyStagingManifestBuilder_.build(); + } + } result.bodyCase_ = bodyCase_; onBuilt(); return result; @@ -3259,6 +3343,10 @@ java.lang.String defaultValue); mergeBuildIndex(other.getBuildIndex()); break; } + case APPLY_STAGING_MANIFEST: { + mergeApplyStagingManifest(other.getApplyStagingManifest()); + break; + } case BODY_NOT_SET: { break; } @@ -5839,6 +5927,148 @@ java.lang.String defaultValue); onChanged();; return buildIndexBuilder_; } + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.region.Server.ApplyStagingManifestRequest, io.greptime.v1.region.Server.ApplyStagingManifestRequest.Builder, io.greptime.v1.region.Server.ApplyStagingManifestRequestOrBuilder> applyStagingManifestBuilder_; + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + * @return Whether the applyStagingManifest field is set. + */ + @java.lang.Override + public boolean hasApplyStagingManifest() { + return bodyCase_ == 20; + } + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + * @return The applyStagingManifest. + */ + @java.lang.Override + public io.greptime.v1.region.Server.ApplyStagingManifestRequest getApplyStagingManifest() { + if (applyStagingManifestBuilder_ == null) { + if (bodyCase_ == 20) { + return (io.greptime.v1.region.Server.ApplyStagingManifestRequest) body_; + } + return io.greptime.v1.region.Server.ApplyStagingManifestRequest.getDefaultInstance(); + } else { + if (bodyCase_ == 20) { + return applyStagingManifestBuilder_.getMessage(); + } + return io.greptime.v1.region.Server.ApplyStagingManifestRequest.getDefaultInstance(); + } + } + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + */ + public Builder setApplyStagingManifest(io.greptime.v1.region.Server.ApplyStagingManifestRequest value) { + if (applyStagingManifestBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + body_ = value; + onChanged(); + } else { + applyStagingManifestBuilder_.setMessage(value); + } + bodyCase_ = 20; + return this; + } + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + */ + public Builder setApplyStagingManifest( + io.greptime.v1.region.Server.ApplyStagingManifestRequest.Builder builderForValue) { + if (applyStagingManifestBuilder_ == null) { + body_ = builderForValue.build(); + onChanged(); + } else { + applyStagingManifestBuilder_.setMessage(builderForValue.build()); + } + bodyCase_ = 20; + return this; + } + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + */ + public Builder mergeApplyStagingManifest(io.greptime.v1.region.Server.ApplyStagingManifestRequest value) { + if (applyStagingManifestBuilder_ == null) { + if (bodyCase_ == 20 && + body_ != io.greptime.v1.region.Server.ApplyStagingManifestRequest.getDefaultInstance()) { + body_ = io.greptime.v1.region.Server.ApplyStagingManifestRequest.newBuilder((io.greptime.v1.region.Server.ApplyStagingManifestRequest) body_) + .mergeFrom(value).buildPartial(); + } else { + body_ = value; + } + onChanged(); + } else { + if (bodyCase_ == 20) { + applyStagingManifestBuilder_.mergeFrom(value); + } else { + applyStagingManifestBuilder_.setMessage(value); + } + } + bodyCase_ = 20; + return this; + } + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + */ + public Builder clearApplyStagingManifest() { + if (applyStagingManifestBuilder_ == null) { + if (bodyCase_ == 20) { + bodyCase_ = 0; + body_ = null; + onChanged(); + } + } else { + if (bodyCase_ == 20) { + bodyCase_ = 0; + body_ = null; + } + applyStagingManifestBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + */ + public io.greptime.v1.region.Server.ApplyStagingManifestRequest.Builder getApplyStagingManifestBuilder() { + return getApplyStagingManifestFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + */ + @java.lang.Override + public io.greptime.v1.region.Server.ApplyStagingManifestRequestOrBuilder getApplyStagingManifestOrBuilder() { + if ((bodyCase_ == 20) && (applyStagingManifestBuilder_ != null)) { + return applyStagingManifestBuilder_.getMessageOrBuilder(); + } else { + if (bodyCase_ == 20) { + return (io.greptime.v1.region.Server.ApplyStagingManifestRequest) body_; + } + return io.greptime.v1.region.Server.ApplyStagingManifestRequest.getDefaultInstance(); + } + } + /** + * .greptime.v1.region.ApplyStagingManifestRequest apply_staging_manifest = 20; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.region.Server.ApplyStagingManifestRequest, io.greptime.v1.region.Server.ApplyStagingManifestRequest.Builder, io.greptime.v1.region.Server.ApplyStagingManifestRequestOrBuilder> + getApplyStagingManifestFieldBuilder() { + if (applyStagingManifestBuilder_ == null) { + if (!(bodyCase_ == 20)) { + body_ = io.greptime.v1.region.Server.ApplyStagingManifestRequest.getDefaultInstance(); + } + applyStagingManifestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.region.Server.ApplyStagingManifestRequest, io.greptime.v1.region.Server.ApplyStagingManifestRequest.Builder, io.greptime.v1.region.Server.ApplyStagingManifestRequestOrBuilder>( + (io.greptime.v1.region.Server.ApplyStagingManifestRequest) body_, + getParentForChildren(), + isClean()); + body_ = null; + } + bodyCase_ = 20; + onChanged();; + return applyStagingManifestBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -33767,6 +33997,1478 @@ java.lang.String defaultValue); } + public interface FileMetasOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.region.FileMetas) + com.google.protobuf.MessageOrBuilder { + + /** + * bytes data = 1; + * @return The data. + */ + com.google.protobuf.ByteString getData(); + } + /** + *
+   * The file metas of a staging manifest.
+   * It is a json array of file metadatas.
+   * 
+ * + * Protobuf type {@code greptime.v1.region.FileMetas} + */ + public static final class FileMetas extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.region.FileMetas) + FileMetasOrBuilder { + private static final long serialVersionUID = 0L; + // Use FileMetas.newBuilder() to construct. + private FileMetas(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FileMetas() { + data_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FileMetas(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FileMetas( + 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 10: { + + data_ = input.readBytes(); + 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_FileMetas_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.region.Server.internal_static_greptime_v1_region_FileMetas_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.region.Server.FileMetas.class, io.greptime.v1.region.Server.FileMetas.Builder.class); + } + + public static final int DATA_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString data_; + /** + * bytes data = 1; + * @return The data. + */ + @java.lang.Override + public com.google.protobuf.ByteString getData() { + return data_; + } + + 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 (!data_.isEmpty()) { + output.writeBytes(1, data_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!data_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, data_); + } + 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.FileMetas)) { + return super.equals(obj); + } + io.greptime.v1.region.Server.FileMetas other = (io.greptime.v1.region.Server.FileMetas) obj; + + if (!getData() + .equals(other.getData())) 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) + DATA_FIELD_NUMBER; + hash = (53 * hash) + getData().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.greptime.v1.region.Server.FileMetas parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.region.Server.FileMetas 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.FileMetas parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.region.Server.FileMetas 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.FileMetas parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.region.Server.FileMetas 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.FileMetas parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.region.Server.FileMetas 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.FileMetas parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.region.Server.FileMetas 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.FileMetas 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.FileMetas 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.FileMetas 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; + } + /** + *
+     * The file metas of a staging manifest.
+     * It is a json array of file metadatas.
+     * 
+ * + * Protobuf type {@code greptime.v1.region.FileMetas} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.region.FileMetas) + io.greptime.v1.region.Server.FileMetasOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.region.Server.internal_static_greptime_v1_region_FileMetas_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.region.Server.internal_static_greptime_v1_region_FileMetas_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.region.Server.FileMetas.class, io.greptime.v1.region.Server.FileMetas.Builder.class); + } + + // Construct using io.greptime.v1.region.Server.FileMetas.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(); + data_ = com.google.protobuf.ByteString.EMPTY; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.greptime.v1.region.Server.internal_static_greptime_v1_region_FileMetas_descriptor; + } + + @java.lang.Override + public io.greptime.v1.region.Server.FileMetas getDefaultInstanceForType() { + return io.greptime.v1.region.Server.FileMetas.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.region.Server.FileMetas build() { + io.greptime.v1.region.Server.FileMetas result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.region.Server.FileMetas buildPartial() { + io.greptime.v1.region.Server.FileMetas result = new io.greptime.v1.region.Server.FileMetas(this); + result.data_ = data_; + 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.FileMetas) { + return mergeFrom((io.greptime.v1.region.Server.FileMetas)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.region.Server.FileMetas other) { + if (other == io.greptime.v1.region.Server.FileMetas.getDefaultInstance()) return this; + if (other.getData() != com.google.protobuf.ByteString.EMPTY) { + setData(other.getData()); + } + 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.FileMetas parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.region.Server.FileMetas) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; + /** + * bytes data = 1; + * @return The data. + */ + @java.lang.Override + public com.google.protobuf.ByteString getData() { + return data_; + } + /** + * bytes data = 1; + * @param value The data to set. + * @return This builder for chaining. + */ + public Builder setData(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + data_ = value; + onChanged(); + return this; + } + /** + * bytes data = 1; + * @return This builder for chaining. + */ + public Builder clearData() { + + data_ = getDefaultInstance().getData(); + 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.FileMetas) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.region.FileMetas) + private static final io.greptime.v1.region.Server.FileMetas DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.region.Server.FileMetas(); + } + + public static io.greptime.v1.region.Server.FileMetas getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FileMetas parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FileMetas(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.FileMetas getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ApplyStagingManifestRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.region.ApplyStagingManifestRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The target region id.
+     * 
+ * + * uint64 region_id = 1; + * @return The regionId. + */ + long getRegionId(); + + /** + *
+     * The partition expression of the staging manifest.
+     * 
+ * + * string partition_expr = 2; + * @return The partitionExpr. + */ + java.lang.String getPartitionExpr(); + /** + *
+     * The partition expression of the staging manifest.
+     * 
+ * + * string partition_expr = 2; + * @return The bytes for partitionExpr. + */ + com.google.protobuf.ByteString + getPartitionExprBytes(); + + /** + *
+     * The file metas to add to the staging manifest.
+     * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + * @return Whether the filesToAdd field is set. + */ + boolean hasFilesToAdd(); + /** + *
+     * The file metas to add to the staging manifest.
+     * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + * @return The filesToAdd. + */ + io.greptime.v1.region.Server.FileMetas getFilesToAdd(); + /** + *
+     * The file metas to add to the staging manifest.
+     * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + */ + io.greptime.v1.region.Server.FileMetasOrBuilder getFilesToAddOrBuilder(); + } + /** + *
+   */ Apply staging manifest request.
+   * 
+ * + * Protobuf type {@code greptime.v1.region.ApplyStagingManifestRequest} + */ + public static final class ApplyStagingManifestRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.region.ApplyStagingManifestRequest) + ApplyStagingManifestRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ApplyStagingManifestRequest.newBuilder() to construct. + private ApplyStagingManifestRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ApplyStagingManifestRequest() { + partitionExpr_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ApplyStagingManifestRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ApplyStagingManifestRequest( + 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; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + partitionExpr_ = s; + break; + } + case 26: { + io.greptime.v1.region.Server.FileMetas.Builder subBuilder = null; + if (filesToAdd_ != null) { + subBuilder = filesToAdd_.toBuilder(); + } + filesToAdd_ = input.readMessage(io.greptime.v1.region.Server.FileMetas.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(filesToAdd_); + filesToAdd_ = subBuilder.buildPartial(); + } + + 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_ApplyStagingManifestRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.region.Server.internal_static_greptime_v1_region_ApplyStagingManifestRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.region.Server.ApplyStagingManifestRequest.class, io.greptime.v1.region.Server.ApplyStagingManifestRequest.Builder.class); + } + + public static final int REGION_ID_FIELD_NUMBER = 1; + private long regionId_; + /** + *
+     * The target region id.
+     * 
+ * + * uint64 region_id = 1; + * @return The regionId. + */ + @java.lang.Override + public long getRegionId() { + return regionId_; + } + + public static final int PARTITION_EXPR_FIELD_NUMBER = 2; + private volatile java.lang.Object partitionExpr_; + /** + *
+     * The partition expression of the staging manifest.
+     * 
+ * + * string partition_expr = 2; + * @return The partitionExpr. + */ + @java.lang.Override + public java.lang.String getPartitionExpr() { + java.lang.Object ref = partitionExpr_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partitionExpr_ = s; + return s; + } + } + /** + *
+     * The partition expression of the staging manifest.
+     * 
+ * + * string partition_expr = 2; + * @return The bytes for partitionExpr. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartitionExprBytes() { + java.lang.Object ref = partitionExpr_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partitionExpr_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILES_TO_ADD_FIELD_NUMBER = 3; + private io.greptime.v1.region.Server.FileMetas filesToAdd_; + /** + *
+     * The file metas to add to the staging manifest.
+     * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + * @return Whether the filesToAdd field is set. + */ + @java.lang.Override + public boolean hasFilesToAdd() { + return filesToAdd_ != null; + } + /** + *
+     * The file metas to add to the staging manifest.
+     * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + * @return The filesToAdd. + */ + @java.lang.Override + public io.greptime.v1.region.Server.FileMetas getFilesToAdd() { + return filesToAdd_ == null ? io.greptime.v1.region.Server.FileMetas.getDefaultInstance() : filesToAdd_; + } + /** + *
+     * The file metas to add to the staging manifest.
+     * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + */ + @java.lang.Override + public io.greptime.v1.region.Server.FileMetasOrBuilder getFilesToAddOrBuilder() { + return getFilesToAdd(); + } + + 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_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionExpr_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, partitionExpr_); + } + if (filesToAdd_ != null) { + output.writeMessage(3, getFilesToAdd()); + } + 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_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionExpr_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, partitionExpr_); + } + if (filesToAdd_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFilesToAdd()); + } + 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.ApplyStagingManifestRequest)) { + return super.equals(obj); + } + io.greptime.v1.region.Server.ApplyStagingManifestRequest other = (io.greptime.v1.region.Server.ApplyStagingManifestRequest) obj; + + if (getRegionId() + != other.getRegionId()) return false; + if (!getPartitionExpr() + .equals(other.getPartitionExpr())) return false; + if (hasFilesToAdd() != other.hasFilesToAdd()) return false; + if (hasFilesToAdd()) { + if (!getFilesToAdd() + .equals(other.getFilesToAdd())) 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 = (37 * hash) + PARTITION_EXPR_FIELD_NUMBER; + hash = (53 * hash) + getPartitionExpr().hashCode(); + if (hasFilesToAdd()) { + hash = (37 * hash) + FILES_TO_ADD_FIELD_NUMBER; + hash = (53 * hash) + getFilesToAdd().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.greptime.v1.region.Server.ApplyStagingManifestRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.region.Server.ApplyStagingManifestRequest 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.ApplyStagingManifestRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.region.Server.ApplyStagingManifestRequest 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.ApplyStagingManifestRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.region.Server.ApplyStagingManifestRequest 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.ApplyStagingManifestRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.region.Server.ApplyStagingManifestRequest 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.ApplyStagingManifestRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.region.Server.ApplyStagingManifestRequest 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.ApplyStagingManifestRequest 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.ApplyStagingManifestRequest 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.ApplyStagingManifestRequest 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; + } + /** + *
+     */ Apply staging manifest request.
+     * 
+ * + * Protobuf type {@code greptime.v1.region.ApplyStagingManifestRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.region.ApplyStagingManifestRequest) + io.greptime.v1.region.Server.ApplyStagingManifestRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.region.Server.internal_static_greptime_v1_region_ApplyStagingManifestRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.region.Server.internal_static_greptime_v1_region_ApplyStagingManifestRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.region.Server.ApplyStagingManifestRequest.class, io.greptime.v1.region.Server.ApplyStagingManifestRequest.Builder.class); + } + + // Construct using io.greptime.v1.region.Server.ApplyStagingManifestRequest.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; + + partitionExpr_ = ""; + + if (filesToAddBuilder_ == null) { + filesToAdd_ = null; + } else { + filesToAdd_ = null; + filesToAddBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.greptime.v1.region.Server.internal_static_greptime_v1_region_ApplyStagingManifestRequest_descriptor; + } + + @java.lang.Override + public io.greptime.v1.region.Server.ApplyStagingManifestRequest getDefaultInstanceForType() { + return io.greptime.v1.region.Server.ApplyStagingManifestRequest.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.region.Server.ApplyStagingManifestRequest build() { + io.greptime.v1.region.Server.ApplyStagingManifestRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.region.Server.ApplyStagingManifestRequest buildPartial() { + io.greptime.v1.region.Server.ApplyStagingManifestRequest result = new io.greptime.v1.region.Server.ApplyStagingManifestRequest(this); + result.regionId_ = regionId_; + result.partitionExpr_ = partitionExpr_; + if (filesToAddBuilder_ == null) { + result.filesToAdd_ = filesToAdd_; + } else { + result.filesToAdd_ = filesToAddBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.greptime.v1.region.Server.ApplyStagingManifestRequest) { + return mergeFrom((io.greptime.v1.region.Server.ApplyStagingManifestRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.region.Server.ApplyStagingManifestRequest other) { + if (other == io.greptime.v1.region.Server.ApplyStagingManifestRequest.getDefaultInstance()) return this; + if (other.getRegionId() != 0L) { + setRegionId(other.getRegionId()); + } + if (!other.getPartitionExpr().isEmpty()) { + partitionExpr_ = other.partitionExpr_; + onChanged(); + } + if (other.hasFilesToAdd()) { + mergeFilesToAdd(other.getFilesToAdd()); + } + 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.ApplyStagingManifestRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.region.Server.ApplyStagingManifestRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private long regionId_ ; + /** + *
+       * The target region id.
+       * 
+ * + * uint64 region_id = 1; + * @return The regionId. + */ + @java.lang.Override + public long getRegionId() { + return regionId_; + } + /** + *
+       * The target region id.
+       * 
+ * + * 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; + } + /** + *
+       * The target region id.
+       * 
+ * + * uint64 region_id = 1; + * @return This builder for chaining. + */ + public Builder clearRegionId() { + + regionId_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object partitionExpr_ = ""; + /** + *
+       * The partition expression of the staging manifest.
+       * 
+ * + * string partition_expr = 2; + * @return The partitionExpr. + */ + public java.lang.String getPartitionExpr() { + java.lang.Object ref = partitionExpr_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partitionExpr_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The partition expression of the staging manifest.
+       * 
+ * + * string partition_expr = 2; + * @return The bytes for partitionExpr. + */ + public com.google.protobuf.ByteString + getPartitionExprBytes() { + java.lang.Object ref = partitionExpr_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partitionExpr_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The partition expression of the staging manifest.
+       * 
+ * + * string partition_expr = 2; + * @param value The partitionExpr to set. + * @return This builder for chaining. + */ + public Builder setPartitionExpr( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + partitionExpr_ = value; + onChanged(); + return this; + } + /** + *
+       * The partition expression of the staging manifest.
+       * 
+ * + * string partition_expr = 2; + * @return This builder for chaining. + */ + public Builder clearPartitionExpr() { + + partitionExpr_ = getDefaultInstance().getPartitionExpr(); + onChanged(); + return this; + } + /** + *
+       * The partition expression of the staging manifest.
+       * 
+ * + * string partition_expr = 2; + * @param value The bytes for partitionExpr to set. + * @return This builder for chaining. + */ + public Builder setPartitionExprBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + partitionExpr_ = value; + onChanged(); + return this; + } + + private io.greptime.v1.region.Server.FileMetas filesToAdd_; + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.region.Server.FileMetas, io.greptime.v1.region.Server.FileMetas.Builder, io.greptime.v1.region.Server.FileMetasOrBuilder> filesToAddBuilder_; + /** + *
+       * The file metas to add to the staging manifest.
+       * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + * @return Whether the filesToAdd field is set. + */ + public boolean hasFilesToAdd() { + return filesToAddBuilder_ != null || filesToAdd_ != null; + } + /** + *
+       * The file metas to add to the staging manifest.
+       * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + * @return The filesToAdd. + */ + public io.greptime.v1.region.Server.FileMetas getFilesToAdd() { + if (filesToAddBuilder_ == null) { + return filesToAdd_ == null ? io.greptime.v1.region.Server.FileMetas.getDefaultInstance() : filesToAdd_; + } else { + return filesToAddBuilder_.getMessage(); + } + } + /** + *
+       * The file metas to add to the staging manifest.
+       * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + */ + public Builder setFilesToAdd(io.greptime.v1.region.Server.FileMetas value) { + if (filesToAddBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + filesToAdd_ = value; + onChanged(); + } else { + filesToAddBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The file metas to add to the staging manifest.
+       * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + */ + public Builder setFilesToAdd( + io.greptime.v1.region.Server.FileMetas.Builder builderForValue) { + if (filesToAddBuilder_ == null) { + filesToAdd_ = builderForValue.build(); + onChanged(); + } else { + filesToAddBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The file metas to add to the staging manifest.
+       * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + */ + public Builder mergeFilesToAdd(io.greptime.v1.region.Server.FileMetas value) { + if (filesToAddBuilder_ == null) { + if (filesToAdd_ != null) { + filesToAdd_ = + io.greptime.v1.region.Server.FileMetas.newBuilder(filesToAdd_).mergeFrom(value).buildPartial(); + } else { + filesToAdd_ = value; + } + onChanged(); + } else { + filesToAddBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The file metas to add to the staging manifest.
+       * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + */ + public Builder clearFilesToAdd() { + if (filesToAddBuilder_ == null) { + filesToAdd_ = null; + onChanged(); + } else { + filesToAdd_ = null; + filesToAddBuilder_ = null; + } + + return this; + } + /** + *
+       * The file metas to add to the staging manifest.
+       * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + */ + public io.greptime.v1.region.Server.FileMetas.Builder getFilesToAddBuilder() { + + onChanged(); + return getFilesToAddFieldBuilder().getBuilder(); + } + /** + *
+       * The file metas to add to the staging manifest.
+       * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + */ + public io.greptime.v1.region.Server.FileMetasOrBuilder getFilesToAddOrBuilder() { + if (filesToAddBuilder_ != null) { + return filesToAddBuilder_.getMessageOrBuilder(); + } else { + return filesToAdd_ == null ? + io.greptime.v1.region.Server.FileMetas.getDefaultInstance() : filesToAdd_; + } + } + /** + *
+       * The file metas to add to the staging manifest.
+       * 
+ * + * .greptime.v1.region.FileMetas files_to_add = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.region.Server.FileMetas, io.greptime.v1.region.Server.FileMetas.Builder, io.greptime.v1.region.Server.FileMetasOrBuilder> + getFilesToAddFieldBuilder() { + if (filesToAddBuilder_ == null) { + filesToAddBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.region.Server.FileMetas, io.greptime.v1.region.Server.FileMetas.Builder, io.greptime.v1.region.Server.FileMetasOrBuilder>( + getFilesToAdd(), + getParentForChildren(), + isClean()); + filesToAdd_ = null; + } + return filesToAddBuilder_; + } + @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.ApplyStagingManifestRequest) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.region.ApplyStagingManifestRequest) + private static final io.greptime.v1.region.Server.ApplyStagingManifestRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.region.Server.ApplyStagingManifestRequest(); + } + + public static io.greptime.v1.region.Server.ApplyStagingManifestRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ApplyStagingManifestRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ApplyStagingManifestRequest(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.ApplyStagingManifestRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + private static final com.google.protobuf.Descriptors.Descriptor internal_static_greptime_v1_region_RegionRequestHeader_descriptor; private static final @@ -33957,6 +35659,16 @@ java.lang.String defaultValue); private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_greptime_v1_region_BuildIndexRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_FileMetas_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_FileMetas_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_region_ApplyStagingManifestRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_region_ApplyStagingManifestRequest_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -33975,7 +35687,7 @@ java.lang.String defaultValue); "eader.TracingContextEntry\022\016\n\006dbname\030\003 \001(" + "\t\0220\n\rquery_context\030\006 \001(\0132\031.greptime.v1.Q" + "ueryContext\0325\n\023TracingContextEntry\022\013\n\003ke" + - "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\354\007\n\rRegionReq" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\277\010\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" + @@ -34000,99 +35712,105 @@ java.lang.String defaultValue); "ion.SyncRequestH\000\022@\n\rlist_metadata\030\022 \001(\013" + "2\'.greptime.v1.region.ListMetadataReques" + "tH\000\022<\n\013build_index\030\023 \001(\0132%.greptime.v1.r" + - "egion.BuildIndexRequestH\000B\006\n\004body\"\341\001\n\016Re" + - "gionResponse\022+\n\006header\030\001 \001(\0132\033.greptime." + - "v1.ResponseHeader\022\025\n\raffected_rows\030\002 \001(\004" + - "\022F\n\nextensions\030\003 \003(\01322.greptime.v1.regio" + - "n.RegionResponse.ExtensionsEntry\022\020\n\010meta" + - "data\030\004 \001(\014\0321\n\017ExtensionsEntry\022\013\n\003key\030\001 \001" + - "(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"E\n\016InsertRequests\022" + - "3\n\010requests\030\001 \003(\0132!.greptime.v1.region.I" + - "nsertRequest\"E\n\016DeleteRequests\0223\n\010reques" + - "ts\030\001 \003(\0132!.greptime.v1.region.DeleteRequ" + - "est\"C\n\rInsertRequest\022\021\n\tregion_id\030\001 \001(\004\022" + - "\037\n\004rows\030\002 \001(\0132\021.greptime.v1.Rows\"C\n\rDele" + - "teRequest\022\021\n\tregion_id\030\001 \001(\004\022\037\n\004rows\030\002 \001" + - "(\0132\021.greptime.v1.Rows\"h\n\014QueryRequest\0227\n" + - "\006header\030\001 \001(\0132\'.greptime.v1.region.Regio" + - "nRequestHeader\022\021\n\tregion_id\030\002 \001(\004\022\014\n\004pla" + - "n\030\003 \001(\014\"E\n\016CreateRequests\0223\n\010requests\030\001 " + - "\003(\0132!.greptime.v1.region.CreateRequest\"\260" + - "\002\n\rCreateRequest\022\021\n\tregion_id\030\001 \001(\004\022\016\n\006e" + - "ngine\030\002 \001(\t\0228\n\013column_defs\030\003 \003(\0132#.grept" + - "ime.v1.region.RegionColumnDef\022\023\n\013primary" + - "_key\030\004 \003(\r\022\014\n\004path\030\005 \001(\t\022?\n\007options\030\006 \003(" + - "\0132..greptime.v1.region.CreateRequest.Opt" + - "ionsEntry\022.\n\tpartition\030\007 \001(\0132\033.greptime." + - "v1.meta.Partition\032.\n\014OptionsEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"A\n\014DropRequest" + - "s\0221\n\010requests\030\001 \003(\0132\037.greptime.v1.region" + - ".DropRequest\"3\n\013DropRequest\022\021\n\tregion_id" + - "\030\001 \001(\004\022\021\n\tfast_path\030\002 \001(\010\"\255\001\n\013OpenReques" + - "t\022\021\n\tregion_id\030\001 \001(\004\022\016\n\006engine\030\002 \001(\t\022\014\n\004" + - "path\030\003 \001(\t\022=\n\007options\030\004 \003(\0132,.greptime.v" + - "1.region.OpenRequest.OptionsEntry\032.\n\014Opt" + - "ionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + - "\001\"!\n\014CloseRequest\022\021\n\tregion_id\030\001 \001(\004\"C\n\r" + - "AlterRequests\0222\n\010requests\030\001 \003(\0132 .grepti" + - "me.v1.region.AlterRequest\"\311\005\n\014AlterReque" + - "st\022\021\n\tregion_id\030\001 \001(\004\0225\n\013add_columns\030\002 \001" + - "(\0132\036.greptime.v1.region.AddColumnsH\000\0227\n\014" + - "drop_columns\030\003 \001(\0132\037.greptime.v1.region." + - "DropColumnsH\000\022=\n\023modify_column_types\030\005 \001" + - "(\0132\036.greptime.v1.ModifyColumnTypesH\000\0229\n\021" + - "set_table_options\030\006 \001(\0132\034.greptime.v1.Se" + - "tTableOptionsH\000\022=\n\023unset_table_options\030\t" + - " \001(\0132\036.greptime.v1.UnsetTableOptionsH\000\022*" + - "\n\tset_index\030\n \001(\0132\025.greptime.v1.SetIndex" + - "H\000\022.\n\013unset_index\030\013 \001(\0132\027.greptime.v1.Un" + - "setIndexH\000\0222\n\rdrop_defaults\030\014 \001(\0132\031.grep" + - "time.v1.DropDefaultsH\000\022.\n\013set_indexes\030\r " + - "\001(\0132\027.greptime.v1.SetIndexesH\000\0222\n\runset_" + - "indexes\030\016 \001(\0132\031.greptime.v1.UnsetIndexes" + - "H\000\0220\n\014set_defaults\030\017 \001(\0132\030.greptime.v1.S" + - "etDefaultsH\000\0227\n\014sync_columns\030\020 \001(\0132\037.gre" + - "ptime.v1.region.SyncColumnsH\000\022\026\n\016schema_" + - "version\030\004 \001(\004B\006\n\004kind\"G\n\013SyncColumns\0228\n\013" + - "column_defs\030\001 \003(\0132#.greptime.v1.region.R" + - "egionColumnDef\"@\n\nAddColumns\0222\n\013add_colu" + - "mns\030\001 \003(\0132\035.greptime.v1.region.AddColumn" + - "\"C\n\013DropColumns\0224\n\014drop_columns\030\001 \003(\0132\036." + - "greptime.v1.region.DropColumn\"v\n\tAddColu" + - "mn\0227\n\ncolumn_def\030\001 \001(\0132#.greptime.v1.reg" + - "ion.RegionColumnDef\0220\n\010location\030\003 \001(\0132\036." + - "greptime.v1.AddColumnLocation\"\032\n\nDropCol" + - "umn\022\014\n\004name\030\001 \001(\t\"!\n\014FlushRequest\022\021\n\treg" + - "ion_id\030\001 \001(\004\"\t\n\007Regular\"&\n\014StrictWindow\022" + - "\026\n\016window_seconds\030\001 \001(\003\"\256\001\n\016CompactReque" + - "st\022\021\n\tregion_id\030\001 \001(\004\022.\n\007regular\030\002 \001(\0132\033" + - ".greptime.v1.region.RegularH\000\0229\n\rstrict_" + - "window\030\003 \001(\0132 .greptime.v1.region.Strict" + - "WindowH\000\022\023\n\013parallelism\030\004 \001(\rB\t\n\007options" + - "\"\204\001\n\017TruncateRequest\022\021\n\tregion_id\030\001 \001(\004\022" + - "&\n\003all\030\002 \001(\0132\027.greptime.v1.region.AllH\000\022" + - ".\n\013time_ranges\030\003 \001(\0132\027.greptime.v1.TimeR" + - "angesH\000B\006\n\004kind\"\005\n\003All\"P\n\017RegionColumnDe" + - "f\022*\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.Colu" + - "mnDef\022\021\n\tcolumn_id\030\002 \001(\r\"Z\n\021BulkInsertRe" + - "quest\022\021\n\tregion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 " + - "\001(\0132\025.greptime.v1.ArrowIpcH\000B\006\n\004body\"1\n\020" + - "MitoManifestInfo\022\035\n\025data_manifest_versio" + - "n\030\001 \001(\004\"V\n\022MetricManifestInfo\022\035\n\025data_ma" + - "nifest_version\030\001 \001(\004\022!\n\031metadata_manifes" + - "t_version\030\002 \001(\004\"\275\001\n\013SyncRequest\022\021\n\tregio" + - "n_id\030\001 \001(\004\022B\n\022mito_manifest_info\030\002 \001(\0132$" + - ".greptime.v1.region.MitoManifestInfoH\000\022F" + - "\n\024metric_manifest_info\030\003 \001(\0132&.greptime." + - "v1.region.MetricManifestInfoH\000B\017\n\rmanife" + - "st_info\")\n\023ListMetadataRequest\022\022\n\nregion" + - "_ids\030\001 \003(\004\"&\n\021BuildIndexRequest\022\021\n\tregio" + - "n_id\030\001 \001(\0042Y\n\006Region\022O\n\006Handle\022!.greptim" + - "e.v1.region.RegionRequest\032\".greptime.v1." + - "region.RegionResponseB]\n\025io.greptime.v1." + - "regionB\006ServerZ