From ccb57ba4b2aaf4ebed2a2056b63a39448b4197fa Mon Sep 17 00:00:00 2001 From: Yusup Date: Sat, 18 Sep 2021 03:13:51 +0000 Subject: [PATCH] add collection alias (#7255) Signed-off-by: Yusup --- internal/core/src/pb/common.pb.cc | 58 +- internal/core/src/pb/common.pb.h | 3 + internal/core/src/pb/milvus.pb.cc | 2052 ++++++++++++++--- internal/core/src/pb/milvus.pb.h | 1101 ++++++++- internal/datacoord/mock_test.go | 12 + internal/distributed/proxy/service.go | 12 + .../distributed/rootcoord/client/client.go | 21 + internal/distributed/rootcoord/service.go | 12 + internal/proto/common.proto | 4 + internal/proto/commonpb/common.pb.go | 174 +- internal/proto/internal.proto | 17 + internal/proto/internalpb/internal.pb.go | 445 ++-- internal/proto/milvus.proto | 29 +- internal/proto/milvuspb/milvus.pb.go | 792 +++++-- internal/proto/root_coord.proto | 4 + internal/proto/rootcoordpb/root_coord.pb.go | 212 +- internal/proxy/impl.go | 136 ++ internal/proxy/proxy_test.go | 75 + internal/proxy/rootcoord_mock_test.go | 99 +- internal/proxy/task.go | 213 ++ internal/proxy/task_test.go | 123 + internal/proxy/validate_util.go | 32 +- internal/proxy/validate_util_test.go | 2 + internal/querynode/mock_components_test.go | 12 + internal/rootcoord/meta_table.go | 134 +- internal/rootcoord/meta_table_test.go | 30 +- internal/rootcoord/root_coord.go | 93 + internal/rootcoord/root_coord_test.go | 125 +- internal/rootcoord/task.go | 200 ++ internal/types/types.go | 5 + 30 files changed, 5201 insertions(+), 1026 deletions(-) diff --git a/internal/core/src/pb/common.pb.cc b/internal/core/src/pb/common.pb.cc index af12c8907a..3066a34433 100644 --- a/internal/core/src/pb/common.pb.cc +++ b/internal/core/src/pb/common.pb.cc @@ -226,36 +226,37 @@ const char descriptor_table_protodef_common_2eproto[] PROTOBUF_SECTION_VARIABLE( "sued\020\001\022\016\n\nInProgress\020\002\022\014\n\010Finished\020\003\022\n\n\006" "Failed\020\004*f\n\014SegmentState\022\024\n\020SegmentState" "None\020\000\022\014\n\010NotExist\020\001\022\013\n\007Growing\020\002\022\n\n\006Sea" - "led\020\003\022\013\n\007Flushed\020\004\022\014\n\010Flushing\020\005*\204\010\n\007Msg" + "led\020\003\022\013\n\007Flushed\020\004\022\014\n\010Flushing\020\005*\264\010\n\007Msg" "Type\022\r\n\tUndefined\020\000\022\024\n\020CreateCollection\020" "d\022\022\n\016DropCollection\020e\022\021\n\rHasCollection\020f" "\022\026\n\022DescribeCollection\020g\022\023\n\017ShowCollecti" "ons\020h\022\024\n\020GetSystemConfigs\020i\022\022\n\016LoadColle" - "ction\020j\022\025\n\021ReleaseCollection\020k\022\024\n\017Create" - "Partition\020\310\001\022\022\n\rDropPartition\020\311\001\022\021\n\014HasP" - "artition\020\312\001\022\026\n\021DescribePartition\020\313\001\022\023\n\016S" - "howPartitions\020\314\001\022\023\n\016LoadPartitions\020\315\001\022\026\n" - "\021ReleasePartitions\020\316\001\022\021\n\014ShowSegments\020\372\001" - "\022\024\n\017DescribeSegment\020\373\001\022\021\n\014LoadSegments\020\374" - "\001\022\024\n\017ReleaseSegments\020\375\001\022\024\n\017HandoffSegmen" - "ts\020\376\001\022\030\n\023LoadBalanceSegments\020\377\001\022\020\n\013Creat" - "eIndex\020\254\002\022\022\n\rDescribeIndex\020\255\002\022\016\n\tDropInd" - "ex\020\256\002\022\013\n\006Insert\020\220\003\022\013\n\006Delete\020\221\003\022\n\n\005Flush" - "\020\222\003\022\013\n\006Search\020\364\003\022\021\n\014SearchResult\020\365\003\022\022\n\rG" - "etIndexState\020\366\003\022\032\n\025GetIndexBuildProgress" - "\020\367\003\022\034\n\027GetCollectionStatistics\020\370\003\022\033\n\026Get" - "PartitionStatistics\020\371\003\022\r\n\010Retrieve\020\372\003\022\023\n" - "\016RetrieveResult\020\373\003\022\024\n\017WatchDmChannels\020\374\003" - "\022\025\n\020RemoveDmChannels\020\375\003\022\027\n\022WatchQueryCha" - "nnels\020\376\003\022\030\n\023RemoveQueryChannels\020\377\003\022\020\n\013Se" - "gmentInfo\020\330\004\022\r\n\010TimeTick\020\260\t\022\023\n\016QueryNode" - "Stats\020\261\t\022\016\n\tLoadIndex\020\262\t\022\016\n\tRequestID\020\263\t" - "\022\017\n\nRequestTSO\020\264\t\022\024\n\017AllocateSegment\020\265\t\022" - "\026\n\021SegmentStatistics\020\266\t\022\025\n\020SegmentFlushD" - "one\020\267\t\022\017\n\nDataNodeTt\020\270\t*\"\n\007DslType\022\007\n\003Ds" - "l\020\000\022\016\n\nBoolExprV1\020\001B5Z3github.com/milvus" - "-io/milvus/internal/proto/commonpbb\006prot" - "o3" + "ction\020j\022\025\n\021ReleaseCollection\020k\022\017\n\013Create" + "Alias\020l\022\r\n\tDropAlias\020m\022\016\n\nAlterAlias\020n\022\024" + "\n\017CreatePartition\020\310\001\022\022\n\rDropPartition\020\311\001" + "\022\021\n\014HasPartition\020\312\001\022\026\n\021DescribePartition" + "\020\313\001\022\023\n\016ShowPartitions\020\314\001\022\023\n\016LoadPartitio" + "ns\020\315\001\022\026\n\021ReleasePartitions\020\316\001\022\021\n\014ShowSeg" + "ments\020\372\001\022\024\n\017DescribeSegment\020\373\001\022\021\n\014LoadSe" + "gments\020\374\001\022\024\n\017ReleaseSegments\020\375\001\022\024\n\017Hando" + "ffSegments\020\376\001\022\030\n\023LoadBalanceSegments\020\377\001\022" + "\020\n\013CreateIndex\020\254\002\022\022\n\rDescribeIndex\020\255\002\022\016\n" + "\tDropIndex\020\256\002\022\013\n\006Insert\020\220\003\022\013\n\006Delete\020\221\003\022" + "\n\n\005Flush\020\222\003\022\013\n\006Search\020\364\003\022\021\n\014SearchResult" + "\020\365\003\022\022\n\rGetIndexState\020\366\003\022\032\n\025GetIndexBuild" + "Progress\020\367\003\022\034\n\027GetCollectionStatistics\020\370" + "\003\022\033\n\026GetPartitionStatistics\020\371\003\022\r\n\010Retrie" + "ve\020\372\003\022\023\n\016RetrieveResult\020\373\003\022\024\n\017WatchDmCha" + "nnels\020\374\003\022\025\n\020RemoveDmChannels\020\375\003\022\027\n\022Watch" + "QueryChannels\020\376\003\022\030\n\023RemoveQueryChannels\020" + "\377\003\022\020\n\013SegmentInfo\020\330\004\022\r\n\010TimeTick\020\260\t\022\023\n\016Q" + "ueryNodeStats\020\261\t\022\016\n\tLoadIndex\020\262\t\022\016\n\tRequ" + "estID\020\263\t\022\017\n\nRequestTSO\020\264\t\022\024\n\017AllocateSeg" + "ment\020\265\t\022\026\n\021SegmentStatistics\020\266\t\022\025\n\020Segme" + "ntFlushDone\020\267\t\022\017\n\nDataNodeTt\020\270\t*\"\n\007DslTy" + "pe\022\007\n\003Dsl\020\000\022\016\n\nBoolExprV1\020\001B5Z3github.co" + "m/milvus-io/milvus/internal/proto/common" + "pbb\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_common_2eproto_deps[1] = { }; @@ -270,7 +271,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_com static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_common_2eproto_once; static bool descriptor_table_common_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_common_2eproto = { - &descriptor_table_common_2eproto_initialized, descriptor_table_protodef_common_2eproto, "common.proto", 2282, + &descriptor_table_common_2eproto_initialized, descriptor_table_protodef_common_2eproto, "common.proto", 2330, &descriptor_table_common_2eproto_once, descriptor_table_common_2eproto_sccs, descriptor_table_common_2eproto_deps, 6, 0, schemas, file_default_instances, TableStruct_common_2eproto::offsets, file_level_metadata_common_2eproto, 6, file_level_enum_descriptors_common_2eproto, file_level_service_descriptors_common_2eproto, @@ -370,6 +371,9 @@ bool MsgType_IsValid(int value) { case 105: case 106: case 107: + case 108: + case 109: + case 110: case 200: case 201: case 202: diff --git a/internal/core/src/pb/common.pb.h b/internal/core/src/pb/common.pb.h index e5ced5369d..2ed078d67f 100644 --- a/internal/core/src/pb/common.pb.h +++ b/internal/core/src/pb/common.pb.h @@ -208,6 +208,9 @@ enum MsgType : int { GetSystemConfigs = 105, LoadCollection = 106, ReleaseCollection = 107, + CreateAlias = 108, + DropAlias = 109, + AlterAlias = 110, CreatePartition = 200, DropPartition = 201, HasPartition = 202, diff --git a/internal/core/src/pb/milvus.pb.cc b/internal/core/src/pb/milvus.pb.cc index fdbedb0858..7ea8cd99a3 100644 --- a/internal/core/src/pb/milvus.pb.cc +++ b/internal/core/src/pb/milvus.pb.cc @@ -37,6 +37,18 @@ extern PROTOBUF_INTERNAL_EXPORT_schema_2eproto ::PROTOBUF_NAMESPACE_ID::internal namespace milvus { namespace proto { namespace milvus { +class CreateAliasRequestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; +} _CreateAliasRequest_default_instance_; +class DropAliasRequestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; +} _DropAliasRequest_default_instance_; +class AlterAliasRequestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; +} _AlterAliasRequest_default_instance_; class CreateCollectionRequestDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; @@ -300,6 +312,21 @@ class GetMetricsResponseDefaultTypeInternal { } // namespace milvus } // namespace proto } // namespace milvus +static void InitDefaultsscc_info_AlterAliasRequest_milvus_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::milvus::proto::milvus::_AlterAliasRequest_default_instance_; + new (ptr) ::milvus::proto::milvus::AlterAliasRequest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::milvus::proto::milvus::AlterAliasRequest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_AlterAliasRequest_milvus_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_AlterAliasRequest_milvus_2eproto}, { + &scc_info_MsgBase_common_2eproto.base,}}; + static void InitDefaultsscc_info_BoolResponse_milvus_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -349,6 +376,21 @@ static void InitDefaultsscc_info_CalcDistanceResults_milvus_2eproto() { &scc_info_IntArray_schema_2eproto.base, &scc_info_FloatArray_schema_2eproto.base,}}; +static void InitDefaultsscc_info_CreateAliasRequest_milvus_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::milvus::proto::milvus::_CreateAliasRequest_default_instance_; + new (ptr) ::milvus::proto::milvus::CreateAliasRequest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::milvus::proto::milvus::CreateAliasRequest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_CreateAliasRequest_milvus_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_CreateAliasRequest_milvus_2eproto}, { + &scc_info_MsgBase_common_2eproto.base,}}; + static void InitDefaultsscc_info_CreateCollectionRequest_milvus_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -502,6 +544,21 @@ static void InitDefaultsscc_info_DescribeSegmentResponse_milvus_2eproto() { {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_DescribeSegmentResponse_milvus_2eproto}, { &scc_info_Status_common_2eproto.base,}}; +static void InitDefaultsscc_info_DropAliasRequest_milvus_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::milvus::proto::milvus::_DropAliasRequest_default_instance_; + new (ptr) ::milvus::proto::milvus::DropAliasRequest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::milvus::proto::milvus::DropAliasRequest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_DropAliasRequest_milvus_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_DropAliasRequest_milvus_2eproto}, { + &scc_info_MsgBase_common_2eproto.base,}}; + static void InitDefaultsscc_info_DropCollectionRequest_milvus_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -1271,11 +1328,34 @@ static void InitDefaultsscc_info_VectorsArray_milvus_2eproto() { &scc_info_VectorIDs_milvus_2eproto.base, &scc_info_VectorField_schema_2eproto.base,}}; -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_milvus_2eproto[64]; +static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_milvus_2eproto[67]; static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_milvus_2eproto[2]; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_milvus_2eproto = nullptr; const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_milvus_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::CreateAliasRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::CreateAliasRequest, base_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::CreateAliasRequest, collection_name_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::CreateAliasRequest, alias_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DropAliasRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DropAliasRequest, base_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DropAliasRequest, alias_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::AlterAliasRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::AlterAliasRequest, base_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::AlterAliasRequest, collection_name_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::AlterAliasRequest, alias_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::CreateCollectionRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -1340,6 +1420,7 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_milvus_2eproto::offsets[] PROT PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeCollectionResponse, created_timestamp_), PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeCollectionResponse, created_utc_timestamp_), PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeCollectionResponse, shards_num_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeCollectionResponse, aliases_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::LoadCollectionRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -1843,73 +1924,79 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_milvus_2eproto::offsets[] PROT PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetMetricsResponse, component_name_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, -1, sizeof(::milvus::proto::milvus::CreateCollectionRequest)}, - { 10, -1, sizeof(::milvus::proto::milvus::DropCollectionRequest)}, - { 18, -1, sizeof(::milvus::proto::milvus::HasCollectionRequest)}, - { 27, -1, sizeof(::milvus::proto::milvus::BoolResponse)}, - { 34, -1, sizeof(::milvus::proto::milvus::StringResponse)}, - { 41, -1, sizeof(::milvus::proto::milvus::DescribeCollectionRequest)}, - { 51, -1, sizeof(::milvus::proto::milvus::DescribeCollectionResponse)}, - { 64, -1, sizeof(::milvus::proto::milvus::LoadCollectionRequest)}, - { 72, -1, sizeof(::milvus::proto::milvus::ReleaseCollectionRequest)}, - { 80, -1, sizeof(::milvus::proto::milvus::GetCollectionStatisticsRequest)}, - { 88, -1, sizeof(::milvus::proto::milvus::GetCollectionStatisticsResponse)}, - { 95, -1, sizeof(::milvus::proto::milvus::ShowCollectionsRequest)}, - { 105, -1, sizeof(::milvus::proto::milvus::ShowCollectionsResponse)}, - { 116, -1, sizeof(::milvus::proto::milvus::CreatePartitionRequest)}, - { 125, -1, sizeof(::milvus::proto::milvus::DropPartitionRequest)}, - { 134, -1, sizeof(::milvus::proto::milvus::HasPartitionRequest)}, - { 143, -1, sizeof(::milvus::proto::milvus::LoadPartitionsRequest)}, - { 152, -1, sizeof(::milvus::proto::milvus::ReleasePartitionsRequest)}, - { 161, -1, sizeof(::milvus::proto::milvus::GetPartitionStatisticsRequest)}, - { 170, -1, sizeof(::milvus::proto::milvus::GetPartitionStatisticsResponse)}, - { 177, -1, sizeof(::milvus::proto::milvus::ShowPartitionsRequest)}, - { 188, -1, sizeof(::milvus::proto::milvus::ShowPartitionsResponse)}, - { 199, -1, sizeof(::milvus::proto::milvus::DescribeSegmentRequest)}, - { 207, -1, sizeof(::milvus::proto::milvus::DescribeSegmentResponse)}, - { 216, -1, sizeof(::milvus::proto::milvus::ShowSegmentsRequest)}, - { 224, -1, sizeof(::milvus::proto::milvus::ShowSegmentsResponse)}, - { 231, -1, sizeof(::milvus::proto::milvus::CreateIndexRequest)}, - { 241, -1, sizeof(::milvus::proto::milvus::DescribeIndexRequest)}, - { 251, -1, sizeof(::milvus::proto::milvus::IndexDescription)}, - { 260, -1, sizeof(::milvus::proto::milvus::DescribeIndexResponse)}, - { 267, -1, sizeof(::milvus::proto::milvus::GetIndexBuildProgressRequest)}, - { 277, -1, sizeof(::milvus::proto::milvus::GetIndexBuildProgressResponse)}, - { 285, -1, sizeof(::milvus::proto::milvus::GetIndexStateRequest)}, - { 295, -1, sizeof(::milvus::proto::milvus::GetIndexStateResponse)}, - { 303, -1, sizeof(::milvus::proto::milvus::DropIndexRequest)}, - { 313, -1, sizeof(::milvus::proto::milvus::InsertRequest)}, - { 325, -1, sizeof(::milvus::proto::milvus::MutationResult)}, - { 339, -1, sizeof(::milvus::proto::milvus::DeleteRequest)}, - { 349, -1, sizeof(::milvus::proto::milvus::PlaceholderValue)}, - { 357, -1, sizeof(::milvus::proto::milvus::PlaceholderGroup)}, - { 363, -1, sizeof(::milvus::proto::milvus::SearchRequest)}, - { 379, -1, sizeof(::milvus::proto::milvus::Hits)}, - { 387, -1, sizeof(::milvus::proto::milvus::SearchResults)}, - { 394, -1, sizeof(::milvus::proto::milvus::FlushRequest)}, - { 402, 409, sizeof(::milvus::proto::milvus::FlushResponse_CollSegIDsEntry_DoNotUse)}, - { 411, -1, sizeof(::milvus::proto::milvus::FlushResponse)}, - { 419, -1, sizeof(::milvus::proto::milvus::QueryRequest)}, - { 432, -1, sizeof(::milvus::proto::milvus::QueryResults)}, - { 439, -1, sizeof(::milvus::proto::milvus::VectorIDs)}, - { 448, -1, sizeof(::milvus::proto::milvus::VectorsArray)}, - { 456, -1, sizeof(::milvus::proto::milvus::CalcDistanceRequest)}, - { 465, -1, sizeof(::milvus::proto::milvus::CalcDistanceResults)}, - { 474, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfo)}, - { 484, -1, sizeof(::milvus::proto::milvus::GetPersistentSegmentInfoRequest)}, - { 492, -1, sizeof(::milvus::proto::milvus::GetPersistentSegmentInfoResponse)}, - { 499, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfo)}, - { 511, -1, sizeof(::milvus::proto::milvus::GetQuerySegmentInfoRequest)}, - { 519, -1, sizeof(::milvus::proto::milvus::GetQuerySegmentInfoResponse)}, - { 526, -1, sizeof(::milvus::proto::milvus::DummyRequest)}, - { 532, -1, sizeof(::milvus::proto::milvus::DummyResponse)}, - { 538, -1, sizeof(::milvus::proto::milvus::RegisterLinkRequest)}, - { 543, -1, sizeof(::milvus::proto::milvus::RegisterLinkResponse)}, - { 550, -1, sizeof(::milvus::proto::milvus::GetMetricsRequest)}, - { 557, -1, sizeof(::milvus::proto::milvus::GetMetricsResponse)}, + { 0, -1, sizeof(::milvus::proto::milvus::CreateAliasRequest)}, + { 8, -1, sizeof(::milvus::proto::milvus::DropAliasRequest)}, + { 15, -1, sizeof(::milvus::proto::milvus::AlterAliasRequest)}, + { 23, -1, sizeof(::milvus::proto::milvus::CreateCollectionRequest)}, + { 33, -1, sizeof(::milvus::proto::milvus::DropCollectionRequest)}, + { 41, -1, sizeof(::milvus::proto::milvus::HasCollectionRequest)}, + { 50, -1, sizeof(::milvus::proto::milvus::BoolResponse)}, + { 57, -1, sizeof(::milvus::proto::milvus::StringResponse)}, + { 64, -1, sizeof(::milvus::proto::milvus::DescribeCollectionRequest)}, + { 74, -1, sizeof(::milvus::proto::milvus::DescribeCollectionResponse)}, + { 88, -1, sizeof(::milvus::proto::milvus::LoadCollectionRequest)}, + { 96, -1, sizeof(::milvus::proto::milvus::ReleaseCollectionRequest)}, + { 104, -1, sizeof(::milvus::proto::milvus::GetCollectionStatisticsRequest)}, + { 112, -1, sizeof(::milvus::proto::milvus::GetCollectionStatisticsResponse)}, + { 119, -1, sizeof(::milvus::proto::milvus::ShowCollectionsRequest)}, + { 129, -1, sizeof(::milvus::proto::milvus::ShowCollectionsResponse)}, + { 140, -1, sizeof(::milvus::proto::milvus::CreatePartitionRequest)}, + { 149, -1, sizeof(::milvus::proto::milvus::DropPartitionRequest)}, + { 158, -1, sizeof(::milvus::proto::milvus::HasPartitionRequest)}, + { 167, -1, sizeof(::milvus::proto::milvus::LoadPartitionsRequest)}, + { 176, -1, sizeof(::milvus::proto::milvus::ReleasePartitionsRequest)}, + { 185, -1, sizeof(::milvus::proto::milvus::GetPartitionStatisticsRequest)}, + { 194, -1, sizeof(::milvus::proto::milvus::GetPartitionStatisticsResponse)}, + { 201, -1, sizeof(::milvus::proto::milvus::ShowPartitionsRequest)}, + { 212, -1, sizeof(::milvus::proto::milvus::ShowPartitionsResponse)}, + { 223, -1, sizeof(::milvus::proto::milvus::DescribeSegmentRequest)}, + { 231, -1, sizeof(::milvus::proto::milvus::DescribeSegmentResponse)}, + { 240, -1, sizeof(::milvus::proto::milvus::ShowSegmentsRequest)}, + { 248, -1, sizeof(::milvus::proto::milvus::ShowSegmentsResponse)}, + { 255, -1, sizeof(::milvus::proto::milvus::CreateIndexRequest)}, + { 265, -1, sizeof(::milvus::proto::milvus::DescribeIndexRequest)}, + { 275, -1, sizeof(::milvus::proto::milvus::IndexDescription)}, + { 284, -1, sizeof(::milvus::proto::milvus::DescribeIndexResponse)}, + { 291, -1, sizeof(::milvus::proto::milvus::GetIndexBuildProgressRequest)}, + { 301, -1, sizeof(::milvus::proto::milvus::GetIndexBuildProgressResponse)}, + { 309, -1, sizeof(::milvus::proto::milvus::GetIndexStateRequest)}, + { 319, -1, sizeof(::milvus::proto::milvus::GetIndexStateResponse)}, + { 327, -1, sizeof(::milvus::proto::milvus::DropIndexRequest)}, + { 337, -1, sizeof(::milvus::proto::milvus::InsertRequest)}, + { 349, -1, sizeof(::milvus::proto::milvus::MutationResult)}, + { 363, -1, sizeof(::milvus::proto::milvus::DeleteRequest)}, + { 373, -1, sizeof(::milvus::proto::milvus::PlaceholderValue)}, + { 381, -1, sizeof(::milvus::proto::milvus::PlaceholderGroup)}, + { 387, -1, sizeof(::milvus::proto::milvus::SearchRequest)}, + { 403, -1, sizeof(::milvus::proto::milvus::Hits)}, + { 411, -1, sizeof(::milvus::proto::milvus::SearchResults)}, + { 418, -1, sizeof(::milvus::proto::milvus::FlushRequest)}, + { 426, 433, sizeof(::milvus::proto::milvus::FlushResponse_CollSegIDsEntry_DoNotUse)}, + { 435, -1, sizeof(::milvus::proto::milvus::FlushResponse)}, + { 443, -1, sizeof(::milvus::proto::milvus::QueryRequest)}, + { 456, -1, sizeof(::milvus::proto::milvus::QueryResults)}, + { 463, -1, sizeof(::milvus::proto::milvus::VectorIDs)}, + { 472, -1, sizeof(::milvus::proto::milvus::VectorsArray)}, + { 480, -1, sizeof(::milvus::proto::milvus::CalcDistanceRequest)}, + { 489, -1, sizeof(::milvus::proto::milvus::CalcDistanceResults)}, + { 498, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfo)}, + { 508, -1, sizeof(::milvus::proto::milvus::GetPersistentSegmentInfoRequest)}, + { 516, -1, sizeof(::milvus::proto::milvus::GetPersistentSegmentInfoResponse)}, + { 523, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfo)}, + { 535, -1, sizeof(::milvus::proto::milvus::GetQuerySegmentInfoRequest)}, + { 543, -1, sizeof(::milvus::proto::milvus::GetQuerySegmentInfoResponse)}, + { 550, -1, sizeof(::milvus::proto::milvus::DummyRequest)}, + { 556, -1, sizeof(::milvus::proto::milvus::DummyResponse)}, + { 562, -1, sizeof(::milvus::proto::milvus::RegisterLinkRequest)}, + { 567, -1, sizeof(::milvus::proto::milvus::RegisterLinkResponse)}, + { 574, -1, sizeof(::milvus::proto::milvus::GetMetricsRequest)}, + { 581, -1, sizeof(::milvus::proto::milvus::GetMetricsResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { + reinterpret_cast(&::milvus::proto::milvus::_CreateAliasRequest_default_instance_), + reinterpret_cast(&::milvus::proto::milvus::_DropAliasRequest_default_instance_), + reinterpret_cast(&::milvus::proto::milvus::_AlterAliasRequest_default_instance_), reinterpret_cast(&::milvus::proto::milvus::_CreateCollectionRequest_default_instance_), reinterpret_cast(&::milvus::proto::milvus::_DropCollectionRequest_default_instance_), reinterpret_cast(&::milvus::proto::milvus::_HasCollectionRequest_default_instance_), @@ -1978,324 +2065,340 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = const char descriptor_table_protodef_milvus_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\014milvus.proto\022\023milvus.proto.milvus\032\014com" - "mon.proto\032\014schema.proto\"\223\001\n\027CreateCollec" - "tionRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto" - ".common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017coll" - "ection_name\030\003 \001(\t\022\016\n\006schema\030\004 \001(\014\022\022\n\nsha" - "rds_num\030\005 \001(\005\"m\n\025DropCollectionRequest\022*" + "mon.proto\032\014schema.proto\"h\n\022CreateAliasRe" + "quest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.commo" + "n.MsgBase\022\027\n\017collection_name\030\002 \001(\t\022\r\n\005al" + "ias\030\003 \001(\t\"M\n\020DropAliasRequest\022*\n\004base\030\001 " + "\001(\0132\034.milvus.proto.common.MsgBase\022\r\n\005ali" + "as\030\002 \001(\t\"g\n\021AlterAliasRequest\022*\n\004base\030\001 " + "\001(\0132\034.milvus.proto.common.MsgBase\022\027\n\017col" + "lection_name\030\002 \001(\t\022\r\n\005alias\030\003 \001(\t\"\223\001\n\027Cr" + "eateCollectionRequest\022*\n\004base\030\001 \001(\0132\034.mi" + "lvus.proto.common.MsgBase\022\017\n\007db_name\030\002 \001" + "(\t\022\027\n\017collection_name\030\003 \001(\t\022\016\n\006schema\030\004 " + "\001(\014\022\022\n\nshards_num\030\005 \001(\005\"m\n\025DropCollectio" + "nRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.co" + "mmon.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collect" + "ion_name\030\003 \001(\t\"\200\001\n\024HasCollectionRequest\022" + "*\n\004base\030\001 \001(\0132\034.milvus.proto.common.MsgB" + "ase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030" + "\003 \001(\t\022\022\n\ntime_stamp\030\004 \001(\004\"J\n\014BoolRespons" + "e\022+\n\006status\030\001 \001(\0132\033.milvus.proto.common." + "Status\022\r\n\005value\030\002 \001(\010\"L\n\016StringResponse\022" + "+\n\006status\030\001 \001(\0132\033.milvus.proto.common.St" + "atus\022\r\n\005value\030\002 \001(\t\"\233\001\n\031DescribeCollecti" + "onRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.c" + "ommon.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collec" + "tion_name\030\003 \001(\t\022\024\n\014collectionID\030\004 \001(\003\022\022\n" + "\ntime_stamp\030\005 \001(\004\"\264\002\n\032DescribeCollection" + "Response\022+\n\006status\030\001 \001(\0132\033.milvus.proto." + "common.Status\0225\n\006schema\030\002 \001(\0132%.milvus.p" + "roto.schema.CollectionSchema\022\024\n\014collecti" + "onID\030\003 \001(\003\022\035\n\025virtual_channel_names\030\004 \003(" + "\t\022\036\n\026physical_channel_names\030\005 \003(\t\022\031\n\021cre" + "ated_timestamp\030\006 \001(\004\022\035\n\025created_utc_time" + "stamp\030\007 \001(\004\022\022\n\nshards_num\030\010 \001(\005\022\017\n\007alias" + "es\030\t \003(\t\"m\n\025LoadCollectionRequest\022*\n\004bas" + "e\030\001 \001(\0132\034.milvus.proto.common.MsgBase\022\017\n" + "\007db_name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\"" + "p\n\030ReleaseCollectionRequest\022*\n\004base\030\001 \001(" + "\0132\034.milvus.proto.common.MsgBase\022\017\n\007db_na" + "me\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\"v\n\036Get" + "CollectionStatisticsRequest\022*\n\004base\030\001 \001(" + "\0132\034.milvus.proto.common.MsgBase\022\017\n\007db_na" + "me\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\"\200\001\n\037Ge" + "tCollectionStatisticsResponse\022+\n\006status\030" + "\001 \001(\0132\033.milvus.proto.common.Status\0220\n\005st" + "ats\030\002 \003(\0132!.milvus.proto.common.KeyValue" + "Pair\"\260\001\n\026ShowCollectionsRequest\022*\n\004base\030" + "\001 \001(\0132\034.milvus.proto.common.MsgBase\022\017\n\007d" + "b_name\030\002 \001(\t\022\022\n\ntime_stamp\030\003 \001(\004\022+\n\004type" + "\030\004 \001(\0162\035.milvus.proto.milvus.ShowType\022\030\n" + "\020collection_names\030\005 \003(\t\"\322\001\n\027ShowCollecti" + "onsResponse\022+\n\006status\030\001 \001(\0132\033.milvus.pro" + "to.common.Status\022\030\n\020collection_names\030\002 \003" + "(\t\022\026\n\016collection_ids\030\003 \003(\003\022\032\n\022created_ti" + "mestamps\030\004 \003(\004\022\036\n\026created_utc_timestamps" + "\030\005 \003(\004\022\034\n\024inMemory_percentages\030\006 \003(\003\"\206\001\n" + "\026CreatePartitionRequest\022*\n\004base\030\001 \001(\0132\034." + "milvus.proto.common.MsgBase\022\017\n\007db_name\030\002" + " \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\026\n\016partiti" + "on_name\030\004 \001(\t\"\204\001\n\024DropPartitionRequest\022*" "\n\004base\030\001 \001(\0132\034.milvus.proto.common.MsgBa" "se\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030\003" - " \001(\t\"\200\001\n\024HasCollectionRequest\022*\n\004base\030\001 " - "\001(\0132\034.milvus.proto.common.MsgBase\022\017\n\007db_" - "name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\022\n\nt" - "ime_stamp\030\004 \001(\004\"J\n\014BoolResponse\022+\n\006statu" - "s\030\001 \001(\0132\033.milvus.proto.common.Status\022\r\n\005" - "value\030\002 \001(\010\"L\n\016StringResponse\022+\n\006status\030" - "\001 \001(\0132\033.milvus.proto.common.Status\022\r\n\005va" - "lue\030\002 \001(\t\"\233\001\n\031DescribeCollectionRequest\022" - "*\n\004base\030\001 \001(\0132\034.milvus.proto.common.MsgB" - "ase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030" - "\003 \001(\t\022\024\n\014collectionID\030\004 \001(\003\022\022\n\ntime_stam" - "p\030\005 \001(\004\"\243\002\n\032DescribeCollectionResponse\022+" - "\n\006status\030\001 \001(\0132\033.milvus.proto.common.Sta" - "tus\0225\n\006schema\030\002 \001(\0132%.milvus.proto.schem" - "a.CollectionSchema\022\024\n\014collectionID\030\003 \001(\003" - "\022\035\n\025virtual_channel_names\030\004 \003(\t\022\036\n\026physi" - "cal_channel_names\030\005 \003(\t\022\031\n\021created_times" - "tamp\030\006 \001(\004\022\035\n\025created_utc_timestamp\030\007 \001(" - "\004\022\022\n\nshards_num\030\010 \001(\005\"m\n\025LoadCollectionR" - "equest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.comm" - "on.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collectio" - "n_name\030\003 \001(\t\"p\n\030ReleaseCollectionRequest" - "\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.Msg" - "Base\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name" - "\030\003 \001(\t\"v\n\036GetCollectionStatisticsRequest" - "\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.Msg" - "Base\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name" - "\030\003 \001(\t\"\200\001\n\037GetCollectionStatisticsRespon" - "se\022+\n\006status\030\001 \001(\0132\033.milvus.proto.common" - ".Status\0220\n\005stats\030\002 \003(\0132!.milvus.proto.co" - "mmon.KeyValuePair\"\260\001\n\026ShowCollectionsReq" - "uest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common" - ".MsgBase\022\017\n\007db_name\030\002 \001(\t\022\022\n\ntime_stamp\030" - "\003 \001(\004\022+\n\004type\030\004 \001(\0162\035.milvus.proto.milvu" - "s.ShowType\022\030\n\020collection_names\030\005 \003(\t\"\322\001\n" - "\027ShowCollectionsResponse\022+\n\006status\030\001 \001(\013" - "2\033.milvus.proto.common.Status\022\030\n\020collect" - "ion_names\030\002 \003(\t\022\026\n\016collection_ids\030\003 \003(\003\022" - "\032\n\022created_timestamps\030\004 \003(\004\022\036\n\026created_u" - "tc_timestamps\030\005 \003(\004\022\034\n\024inMemory_percenta" - "ges\030\006 \003(\003\"\206\001\n\026CreatePartitionRequest\022*\n\004" - "base\030\001 \001(\0132\034.milvus.proto.common.MsgBase" - "\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001" - "(\t\022\026\n\016partition_name\030\004 \001(\t\"\204\001\n\024DropParti" - "tionRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto" - ".common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017coll" - "ection_name\030\003 \001(\t\022\026\n\016partition_name\030\004 \001(" - "\t\"\203\001\n\023HasPartitionRequest\022*\n\004base\030\001 \001(\0132" - "\034.milvus.proto.common.MsgBase\022\017\n\007db_name" - "\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\026\n\016parti" - "tion_name\030\004 \001(\t\"\206\001\n\025LoadPartitionsReques" - "t\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.Ms" - "gBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_nam" - "e\030\003 \001(\t\022\027\n\017partition_names\030\004 \003(\t\"\211\001\n\030Rel" - "easePartitionsRequest\022*\n\004base\030\001 \001(\0132\034.mi" - "lvus.proto.common.MsgBase\022\017\n\007db_name\030\002 \001" - "(\t\022\027\n\017collection_name\030\003 \001(\t\022\027\n\017partition" - "_names\030\004 \003(\t\"\215\001\n\035GetPartitionStatisticsR" - "equest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.comm" - "on.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collectio" - "n_name\030\003 \001(\t\022\026\n\016partition_name\030\004 \001(\t\"\177\n\036" - "GetPartitionStatisticsResponse\022+\n\006status" - "\030\001 \001(\0132\033.milvus.proto.common.Status\0220\n\005s" - "tats\030\002 \003(\0132!.milvus.proto.common.KeyValu" - "ePair\"\311\001\n\025ShowPartitionsRequest\022*\n\004base\030" - "\001 \001(\0132\034.milvus.proto.common.MsgBase\022\017\n\007d" - "b_name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\024\n" - "\014collectionID\030\004 \001(\003\022\027\n\017partition_names\030\005" - " \003(\t\022+\n\004type\030\006 \001(\0162\035.milvus.proto.milvus" - ".ShowType\"\316\001\n\026ShowPartitionsResponse\022+\n\006" - "status\030\001 \001(\0132\033.milvus.proto.common.Statu" - "s\022\027\n\017partition_names\030\002 \003(\t\022\024\n\014partitionI" - "Ds\030\003 \003(\003\022\032\n\022created_timestamps\030\004 \003(\004\022\036\n\026" - "created_utc_timestamps\030\005 \003(\004\022\034\n\024inMemory" - "_percentages\030\006 \003(\003\"m\n\026DescribeSegmentReq" - "uest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common" - ".MsgBase\022\024\n\014collectionID\030\002 \001(\003\022\021\n\tsegmen" - "tID\030\003 \001(\003\"~\n\027DescribeSegmentResponse\022+\n\006" - "status\030\001 \001(\0132\033.milvus.proto.common.Statu" - "s\022\017\n\007indexID\030\002 \001(\003\022\017\n\007buildID\030\003 \001(\003\022\024\n\014e" - "nable_index\030\004 \001(\010\"l\n\023ShowSegmentsRequest" - "\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.Msg" - "Base\022\024\n\014collectionID\030\002 \001(\003\022\023\n\013partitionI" - "D\030\003 \001(\003\"W\n\024ShowSegmentsResponse\022+\n\006statu" - "s\030\001 \001(\0132\033.milvus.proto.common.Status\022\022\n\n" - "segmentIDs\030\002 \003(\003\"\267\001\n\022CreateIndexRequest\022" - "*\n\004base\030\001 \001(\0132\034.milvus.proto.common.MsgB" - "ase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030" - "\003 \001(\t\022\022\n\nfield_name\030\004 \001(\t\0227\n\014extra_param" - "s\030\005 \003(\0132!.milvus.proto.common.KeyValuePa" - "ir\"\224\001\n\024DescribeIndexRequest\022*\n\004base\030\001 \001(" - "\0132\034.milvus.proto.common.MsgBase\022\017\n\007db_na" - "me\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\022\n\nfie" - "ld_name\030\004 \001(\t\022\022\n\nindex_name\030\005 \001(\t\"~\n\020Ind" - "exDescription\022\022\n\nindex_name\030\001 \001(\t\022\017\n\007ind" - "exID\030\002 \001(\003\0221\n\006params\030\003 \003(\0132!.milvus.prot" - "o.common.KeyValuePair\022\022\n\nfield_name\030\004 \001(" - "\t\"\207\001\n\025DescribeIndexResponse\022+\n\006status\030\001 " - "\001(\0132\033.milvus.proto.common.Status\022A\n\022inde" - "x_descriptions\030\002 \003(\0132%.milvus.proto.milv" - "us.IndexDescription\"\234\001\n\034GetIndexBuildPro" - "gressRequest\022*\n\004base\030\001 \001(\0132\034.milvus.prot" + " \001(\t\022\026\n\016partition_name\030\004 \001(\t\"\203\001\n\023HasPart" + "itionRequest\022*\n\004base\030\001 \001(\0132\034.milvus.prot" "o.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017col" - "lection_name\030\003 \001(\t\022\022\n\nfield_name\030\004 \001(\t\022\022" - "\n\nindex_name\030\005 \001(\t\"v\n\035GetIndexBuildProgr" - "essResponse\022+\n\006status\030\001 \001(\0132\033.milvus.pro" - "to.common.Status\022\024\n\014indexed_rows\030\002 \001(\003\022\022" - "\n\ntotal_rows\030\003 \001(\003\"\224\001\n\024GetIndexStateRequ" - "est\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common." - "MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_n" - "ame\030\003 \001(\t\022\022\n\nfield_name\030\004 \001(\t\022\022\n\nindex_n" - "ame\030\005 \001(\t\"\211\001\n\025GetIndexStateResponse\022+\n\006s" - "tatus\030\001 \001(\0132\033.milvus.proto.common.Status" - "\022.\n\005state\030\002 \001(\0162\037.milvus.proto.common.In" - "dexState\022\023\n\013fail_reason\030\003 \001(\t\"\220\001\n\020DropIn" - "dexRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto." - "common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017colle" - "ction_name\030\003 \001(\t\022\022\n\nfield_name\030\004 \001(\t\022\022\n\n" - "index_name\030\005 \001(\t\"\327\001\n\rInsertRequest\022*\n\004ba" - "se\030\001 \001(\0132\034.milvus.proto.common.MsgBase\022\017" - "\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t" - "\022\026\n\016partition_name\030\004 \001(\t\0223\n\013fields_data\030" - "\005 \003(\0132\036.milvus.proto.schema.FieldData\022\021\n" - "\thash_keys\030\006 \003(\r\022\020\n\010num_rows\030\007 \001(\r\"\360\001\n\016M" - "utationResult\022+\n\006status\030\001 \001(\0132\033.milvus.p" - "roto.common.Status\022%\n\003IDs\030\002 \001(\0132\030.milvus" - ".proto.schema.IDs\022\022\n\nsucc_index\030\003 \003(\r\022\021\n" - "\terr_index\030\004 \003(\r\022\024\n\014acknowledged\030\005 \001(\010\022\022" - "\n\ninsert_cnt\030\006 \001(\003\022\022\n\ndelete_cnt\030\007 \001(\003\022\022" - "\n\nupsert_cnt\030\010 \001(\003\022\021\n\ttimestamp\030\t \001(\004\"\213\001" - "\n\rDeleteRequest\022*\n\004base\030\001 \001(\0132\034.milvus.p" - "roto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017" - "collection_name\030\003 \001(\t\022\026\n\016partition_name\030" - "\004 \001(\t\022\014\n\004expr\030\005 \001(\t\"c\n\020PlaceholderValue\022" - "\013\n\003tag\030\001 \001(\t\0222\n\004type\030\002 \001(\0162$.milvus.prot" - "o.milvus.PlaceholderType\022\016\n\006values\030\003 \003(\014" - "\"O\n\020PlaceholderGroup\022;\n\014placeholders\030\001 \003" - "(\0132%.milvus.proto.milvus.PlaceholderValu" - "e\"\336\002\n\rSearchRequest\022*\n\004base\030\001 \001(\0132\034.milv" - "us.proto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t" - "\022\027\n\017collection_name\030\003 \001(\t\022\027\n\017partition_n" - "ames\030\004 \003(\t\022\013\n\003dsl\030\005 \001(\t\022\031\n\021placeholder_g" - "roup\030\006 \001(\014\022.\n\010dsl_type\030\007 \001(\0162\034.milvus.pr" - "oto.common.DslType\022\025\n\routput_fields\030\010 \003(" - "\t\0228\n\rsearch_params\030\t \003(\0132!.milvus.proto." - "common.KeyValuePair\022\030\n\020travel_timestamp\030" - "\n \001(\004\022\033\n\023guarantee_timestamp\030\013 \001(\004\"5\n\004Hi" - "ts\022\013\n\003IDs\030\001 \003(\003\022\020\n\010row_data\030\002 \003(\014\022\016\n\006sco" - "res\030\003 \003(\002\"t\n\rSearchResults\022+\n\006status\030\001 \001" - "(\0132\033.milvus.proto.common.Status\0226\n\007resul" - "ts\030\002 \001(\0132%.milvus.proto.schema.SearchRes" - "ultData\"e\n\014FlushRequest\022*\n\004base\030\001 \001(\0132\034." - "milvus.proto.common.MsgBase\022\017\n\007db_name\030\002" - " \001(\t\022\030\n\020collection_names\030\003 \003(\t\"\351\001\n\rFlush" - "Response\022+\n\006status\030\001 \001(\0132\033.milvus.proto." - "common.Status\022\017\n\007db_name\030\002 \001(\t\022G\n\013coll_s" - "egIDs\030\003 \003(\01322.milvus.proto.milvus.FlushR" - "esponse.CollSegIDsEntry\032Q\n\017CollSegIDsEnt" - "ry\022\013\n\003key\030\001 \001(\t\022-\n\005value\030\002 \001(\0132\036.milvus." - "proto.schema.LongArray:\0028\001\"\331\001\n\014QueryRequ" - "est\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common." - "MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_n" - "ame\030\003 \001(\t\022\014\n\004expr\030\004 \001(\t\022\025\n\routput_fields" - "\030\005 \003(\t\022\027\n\017partition_names\030\006 \003(\t\022\030\n\020trave" - "l_timestamp\030\007 \001(\004\022\033\n\023guarantee_timestamp" - "\030\010 \001(\004\"p\n\014QueryResults\022+\n\006status\030\001 \001(\0132\033" - ".milvus.proto.common.Status\0223\n\013fields_da" - "ta\030\002 \003(\0132\036.milvus.proto.schema.FieldData" - "\"}\n\tVectorIDs\022\027\n\017collection_name\030\001 \001(\t\022\022" - "\n\nfield_name\030\002 \001(\t\022*\n\010id_array\030\003 \001(\0132\030.m" - "ilvus.proto.schema.IDs\022\027\n\017partition_name" - "s\030\004 \003(\t\"\203\001\n\014VectorsArray\0222\n\010id_array\030\001 \001" - "(\0132\036.milvus.proto.milvus.VectorIDsH\000\0226\n\n" - "data_array\030\002 \001(\0132 .milvus.proto.schema.V" - "ectorFieldH\000B\007\n\005array\"\335\001\n\023CalcDistanceRe" - "quest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.commo" - "n.MsgBase\0222\n\007op_left\030\002 \001(\0132!.milvus.prot" - "o.milvus.VectorsArray\0223\n\010op_right\030\003 \001(\0132" - "!.milvus.proto.milvus.VectorsArray\0221\n\006pa" - "rams\030\004 \003(\0132!.milvus.proto.common.KeyValu" - "ePair\"\265\001\n\023CalcDistanceResults\022+\n\006status\030" - "\001 \001(\0132\033.milvus.proto.common.Status\0221\n\010in" - "t_dist\030\002 \001(\0132\035.milvus.proto.schema.IntAr" - "rayH\000\0225\n\nfloat_dist\030\003 \001(\0132\037.milvus.proto" - ".schema.FloatArrayH\000B\007\n\005array\"\231\001\n\025Persis" - "tentSegmentInfo\022\021\n\tsegmentID\030\001 \001(\003\022\024\n\014co" - "llectionID\030\002 \001(\003\022\023\n\013partitionID\030\003 \001(\003\022\020\n" - "\010num_rows\030\004 \001(\003\0220\n\005state\030\005 \001(\0162!.milvus." - "proto.common.SegmentState\"u\n\037GetPersiste" - "ntSegmentInfoRequest\022*\n\004base\030\001 \001(\0132\034.mil" - "vus.proto.common.MsgBase\022\016\n\006dbName\030\002 \001(\t" - "\022\026\n\016collectionName\030\003 \001(\t\"\212\001\n GetPersiste" - "ntSegmentInfoResponse\022+\n\006status\030\001 \001(\0132\033." - "milvus.proto.common.Status\0229\n\005infos\030\002 \003(" - "\0132*.milvus.proto.milvus.PersistentSegmen" - "tInfo\"\231\001\n\020QuerySegmentInfo\022\021\n\tsegmentID\030" - "\001 \001(\003\022\024\n\014collectionID\030\002 \001(\003\022\023\n\013partition" - "ID\030\003 \001(\003\022\020\n\010mem_size\030\004 \001(\003\022\020\n\010num_rows\030\005" - " \001(\003\022\022\n\nindex_name\030\006 \001(\t\022\017\n\007indexID\030\007 \001(" - "\003\"p\n\032GetQuerySegmentInfoRequest\022*\n\004base\030" - "\001 \001(\0132\034.milvus.proto.common.MsgBase\022\016\n\006d" - "bName\030\002 \001(\t\022\026\n\016collectionName\030\003 \001(\t\"\200\001\n\033" - "GetQuerySegmentInfoResponse\022+\n\006status\030\001 " - "\001(\0132\033.milvus.proto.common.Status\0224\n\005info" - "s\030\002 \003(\0132%.milvus.proto.milvus.QuerySegme" - "ntInfo\"$\n\014DummyRequest\022\024\n\014request_type\030\001" - " \001(\t\"!\n\rDummyResponse\022\020\n\010response\030\001 \001(\t\"" - "\025\n\023RegisterLinkRequest\"r\n\024RegisterLinkRe" - "sponse\022-\n\007address\030\001 \001(\0132\034.milvus.proto.c" - "ommon.Address\022+\n\006status\030\002 \001(\0132\033.milvus.p" - "roto.common.Status\"P\n\021GetMetricsRequest\022" + "lection_name\030\003 \001(\t\022\026\n\016partition_name\030\004 \001" + "(\t\"\206\001\n\025LoadPartitionsRequest\022*\n\004base\030\001 \001" + "(\0132\034.milvus.proto.common.MsgBase\022\017\n\007db_n" + "ame\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\027\n\017pa" + "rtition_names\030\004 \003(\t\"\211\001\n\030ReleasePartition" + "sRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.co" + "mmon.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collect" + "ion_name\030\003 \001(\t\022\027\n\017partition_names\030\004 \003(\t\"" + "\215\001\n\035GetPartitionStatisticsRequest\022*\n\004bas" + "e\030\001 \001(\0132\034.milvus.proto.common.MsgBase\022\017\n" + "\007db_name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022" + "\026\n\016partition_name\030\004 \001(\t\"\177\n\036GetPartitionS" + "tatisticsResponse\022+\n\006status\030\001 \001(\0132\033.milv" + "us.proto.common.Status\0220\n\005stats\030\002 \003(\0132!." + "milvus.proto.common.KeyValuePair\"\311\001\n\025Sho" + "wPartitionsRequest\022*\n\004base\030\001 \001(\0132\034.milvu" + "s.proto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022" + "\027\n\017collection_name\030\003 \001(\t\022\024\n\014collectionID" + "\030\004 \001(\003\022\027\n\017partition_names\030\005 \003(\t\022+\n\004type\030" + "\006 \001(\0162\035.milvus.proto.milvus.ShowType\"\316\001\n" + "\026ShowPartitionsResponse\022+\n\006status\030\001 \001(\0132" + "\033.milvus.proto.common.Status\022\027\n\017partitio" + "n_names\030\002 \003(\t\022\024\n\014partitionIDs\030\003 \003(\003\022\032\n\022c" + "reated_timestamps\030\004 \003(\004\022\036\n\026created_utc_t" + "imestamps\030\005 \003(\004\022\034\n\024inMemory_percentages\030" + "\006 \003(\003\"m\n\026DescribeSegmentRequest\022*\n\004base\030" + "\001 \001(\0132\034.milvus.proto.common.MsgBase\022\024\n\014c" + "ollectionID\030\002 \001(\003\022\021\n\tsegmentID\030\003 \001(\003\"~\n\027" + "DescribeSegmentResponse\022+\n\006status\030\001 \001(\0132" + "\033.milvus.proto.common.Status\022\017\n\007indexID\030" + "\002 \001(\003\022\017\n\007buildID\030\003 \001(\003\022\024\n\014enable_index\030\004" + " \001(\010\"l\n\023ShowSegmentsRequest\022*\n\004base\030\001 \001(" + "\0132\034.milvus.proto.common.MsgBase\022\024\n\014colle" + "ctionID\030\002 \001(\003\022\023\n\013partitionID\030\003 \001(\003\"W\n\024Sh" + "owSegmentsResponse\022+\n\006status\030\001 \001(\0132\033.mil" + "vus.proto.common.Status\022\022\n\nsegmentIDs\030\002 " + "\003(\003\"\267\001\n\022CreateIndexRequest\022*\n\004base\030\001 \001(\013" + "2\034.milvus.proto.common.MsgBase\022\017\n\007db_nam" + "e\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\022\n\nfiel" + "d_name\030\004 \001(\t\0227\n\014extra_params\030\005 \003(\0132!.mil" + "vus.proto.common.KeyValuePair\"\224\001\n\024Descri" + "beIndexRequest\022*\n\004base\030\001 \001(\0132\034.milvus.pr" + "oto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017c" + "ollection_name\030\003 \001(\t\022\022\n\nfield_name\030\004 \001(\t" + "\022\022\n\nindex_name\030\005 \001(\t\"~\n\020IndexDescription" + "\022\022\n\nindex_name\030\001 \001(\t\022\017\n\007indexID\030\002 \001(\003\0221\n" + "\006params\030\003 \003(\0132!.milvus.proto.common.KeyV" + "aluePair\022\022\n\nfield_name\030\004 \001(\t\"\207\001\n\025Describ" + "eIndexResponse\022+\n\006status\030\001 \001(\0132\033.milvus." + "proto.common.Status\022A\n\022index_description" + "s\030\002 \003(\0132%.milvus.proto.milvus.IndexDescr" + "iption\"\234\001\n\034GetIndexBuildProgressRequest\022" "*\n\004base\030\001 \001(\0132\034.milvus.proto.common.MsgB" - "ase\022\017\n\007request\030\002 \001(\t\"k\n\022GetMetricsRespon" - "se\022+\n\006status\030\001 \001(\0132\033.milvus.proto.common" - ".Status\022\020\n\010response\030\002 \001(\t\022\026\n\016component_n" - "ame\030\003 \001(\t*!\n\010ShowType\022\007\n\003All\020\000\022\014\n\010InMemo" - "ry\020\001*>\n\017PlaceholderType\022\010\n\004None\020\000\022\020\n\014Bin" - "aryVector\020d\022\017\n\013FloatVector\020e2\326\030\n\rMilvusS" - "ervice\022_\n\020CreateCollection\022,.milvus.prot" - "o.milvus.CreateCollectionRequest\032\033.milvu" - "s.proto.common.Status\"\000\022[\n\016DropCollectio" - "n\022*.milvus.proto.milvus.DropCollectionRe" - "quest\032\033.milvus.proto.common.Status\"\000\022_\n\r" - "HasCollection\022).milvus.proto.milvus.HasC" - "ollectionRequest\032!.milvus.proto.milvus.B" - "oolResponse\"\000\022[\n\016LoadCollection\022*.milvus" - ".proto.milvus.LoadCollectionRequest\032\033.mi" - "lvus.proto.common.Status\"\000\022a\n\021ReleaseCol" - "lection\022-.milvus.proto.milvus.ReleaseCol" - "lectionRequest\032\033.milvus.proto.common.Sta" - "tus\"\000\022w\n\022DescribeCollection\022..milvus.pro" - "to.milvus.DescribeCollectionRequest\032/.mi" - "lvus.proto.milvus.DescribeCollectionResp" - "onse\"\000\022\206\001\n\027GetCollectionStatistics\0223.mil" + "ase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030" + "\003 \001(\t\022\022\n\nfield_name\030\004 \001(\t\022\022\n\nindex_name\030" + "\005 \001(\t\"v\n\035GetIndexBuildProgressResponse\022+" + "\n\006status\030\001 \001(\0132\033.milvus.proto.common.Sta" + "tus\022\024\n\014indexed_rows\030\002 \001(\003\022\022\n\ntotal_rows\030" + "\003 \001(\003\"\224\001\n\024GetIndexStateRequest\022*\n\004base\030\001" + " \001(\0132\034.milvus.proto.common.MsgBase\022\017\n\007db" + "_name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\022\n\n" + "field_name\030\004 \001(\t\022\022\n\nindex_name\030\005 \001(\t\"\211\001\n" + "\025GetIndexStateResponse\022+\n\006status\030\001 \001(\0132\033" + ".milvus.proto.common.Status\022.\n\005state\030\002 \001" + "(\0162\037.milvus.proto.common.IndexState\022\023\n\013f" + "ail_reason\030\003 \001(\t\"\220\001\n\020DropIndexRequest\022*\n" + "\004base\030\001 \001(\0132\034.milvus.proto.common.MsgBas" + "e\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030\003 " + "\001(\t\022\022\n\nfield_name\030\004 \001(\t\022\022\n\nindex_name\030\005 " + "\001(\t\"\327\001\n\rInsertRequest\022*\n\004base\030\001 \001(\0132\034.mi" + "lvus.proto.common.MsgBase\022\017\n\007db_name\030\002 \001" + "(\t\022\027\n\017collection_name\030\003 \001(\t\022\026\n\016partition" + "_name\030\004 \001(\t\0223\n\013fields_data\030\005 \003(\0132\036.milvu" + "s.proto.schema.FieldData\022\021\n\thash_keys\030\006 " + "\003(\r\022\020\n\010num_rows\030\007 \001(\r\"\360\001\n\016MutationResult" + "\022+\n\006status\030\001 \001(\0132\033.milvus.proto.common.S" + "tatus\022%\n\003IDs\030\002 \001(\0132\030.milvus.proto.schema" + ".IDs\022\022\n\nsucc_index\030\003 \003(\r\022\021\n\terr_index\030\004 " + "\003(\r\022\024\n\014acknowledged\030\005 \001(\010\022\022\n\ninsert_cnt\030" + "\006 \001(\003\022\022\n\ndelete_cnt\030\007 \001(\003\022\022\n\nupsert_cnt\030" + "\010 \001(\003\022\021\n\ttimestamp\030\t \001(\004\"\213\001\n\rDeleteReque" + "st\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.M" + "sgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_na" + "me\030\003 \001(\t\022\026\n\016partition_name\030\004 \001(\t\022\014\n\004expr" + "\030\005 \001(\t\"c\n\020PlaceholderValue\022\013\n\003tag\030\001 \001(\t\022" + "2\n\004type\030\002 \001(\0162$.milvus.proto.milvus.Plac" + "eholderType\022\016\n\006values\030\003 \003(\014\"O\n\020Placehold" + "erGroup\022;\n\014placeholders\030\001 \003(\0132%.milvus.p" + "roto.milvus.PlaceholderValue\"\336\002\n\rSearchR" + "equest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.comm" + "on.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collectio" + "n_name\030\003 \001(\t\022\027\n\017partition_names\030\004 \003(\t\022\013\n" + "\003dsl\030\005 \001(\t\022\031\n\021placeholder_group\030\006 \001(\014\022.\n" + "\010dsl_type\030\007 \001(\0162\034.milvus.proto.common.Ds" + "lType\022\025\n\routput_fields\030\010 \003(\t\0228\n\rsearch_p" + "arams\030\t \003(\0132!.milvus.proto.common.KeyVal" + "uePair\022\030\n\020travel_timestamp\030\n \001(\004\022\033\n\023guar" + "antee_timestamp\030\013 \001(\004\"5\n\004Hits\022\013\n\003IDs\030\001 \003" + "(\003\022\020\n\010row_data\030\002 \003(\014\022\016\n\006scores\030\003 \003(\002\"t\n\r" + "SearchResults\022+\n\006status\030\001 \001(\0132\033.milvus.p" + "roto.common.Status\0226\n\007results\030\002 \001(\0132%.mi" + "lvus.proto.schema.SearchResultData\"e\n\014Fl" + "ushRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto." + "common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\030\n\020colle" + "ction_names\030\003 \003(\t\"\351\001\n\rFlushResponse\022+\n\006s" + "tatus\030\001 \001(\0132\033.milvus.proto.common.Status" + "\022\017\n\007db_name\030\002 \001(\t\022G\n\013coll_segIDs\030\003 \003(\01322" + ".milvus.proto.milvus.FlushResponse.CollS" + "egIDsEntry\032Q\n\017CollSegIDsEntry\022\013\n\003key\030\001 \001" + "(\t\022-\n\005value\030\002 \001(\0132\036.milvus.proto.schema." + "LongArray:\0028\001\"\331\001\n\014QueryRequest\022*\n\004base\030\001" + " \001(\0132\034.milvus.proto.common.MsgBase\022\017\n\007db" + "_name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\014\n\004" + "expr\030\004 \001(\t\022\025\n\routput_fields\030\005 \003(\t\022\027\n\017par" + "tition_names\030\006 \003(\t\022\030\n\020travel_timestamp\030\007" + " \001(\004\022\033\n\023guarantee_timestamp\030\010 \001(\004\"p\n\014Que" + "ryResults\022+\n\006status\030\001 \001(\0132\033.milvus.proto" + ".common.Status\0223\n\013fields_data\030\002 \003(\0132\036.mi" + "lvus.proto.schema.FieldData\"}\n\tVectorIDs" + "\022\027\n\017collection_name\030\001 \001(\t\022\022\n\nfield_name\030" + "\002 \001(\t\022*\n\010id_array\030\003 \001(\0132\030.milvus.proto.s" + "chema.IDs\022\027\n\017partition_names\030\004 \003(\t\"\203\001\n\014V" + "ectorsArray\0222\n\010id_array\030\001 \001(\0132\036.milvus.p" + "roto.milvus.VectorIDsH\000\0226\n\ndata_array\030\002 " + "\001(\0132 .milvus.proto.schema.VectorFieldH\000B" + "\007\n\005array\"\335\001\n\023CalcDistanceRequest\022*\n\004base" + "\030\001 \001(\0132\034.milvus.proto.common.MsgBase\0222\n\007" + "op_left\030\002 \001(\0132!.milvus.proto.milvus.Vect" + "orsArray\0223\n\010op_right\030\003 \001(\0132!.milvus.prot" + "o.milvus.VectorsArray\0221\n\006params\030\004 \003(\0132!." + "milvus.proto.common.KeyValuePair\"\265\001\n\023Cal" + "cDistanceResults\022+\n\006status\030\001 \001(\0132\033.milvu" + "s.proto.common.Status\0221\n\010int_dist\030\002 \001(\0132" + "\035.milvus.proto.schema.IntArrayH\000\0225\n\nfloa" + "t_dist\030\003 \001(\0132\037.milvus.proto.schema.Float" + "ArrayH\000B\007\n\005array\"\231\001\n\025PersistentSegmentIn" + "fo\022\021\n\tsegmentID\030\001 \001(\003\022\024\n\014collectionID\030\002 " + "\001(\003\022\023\n\013partitionID\030\003 \001(\003\022\020\n\010num_rows\030\004 \001" + "(\003\0220\n\005state\030\005 \001(\0162!.milvus.proto.common." + "SegmentState\"u\n\037GetPersistentSegmentInfo" + "Request\022*\n\004base\030\001 \001(\0132\034.milvus.proto.com" + "mon.MsgBase\022\016\n\006dbName\030\002 \001(\t\022\026\n\016collectio" + "nName\030\003 \001(\t\"\212\001\n GetPersistentSegmentInfo" + "Response\022+\n\006status\030\001 \001(\0132\033.milvus.proto." + "common.Status\0229\n\005infos\030\002 \003(\0132*.milvus.pr" + "oto.milvus.PersistentSegmentInfo\"\231\001\n\020Que" + "rySegmentInfo\022\021\n\tsegmentID\030\001 \001(\003\022\024\n\014coll" + "ectionID\030\002 \001(\003\022\023\n\013partitionID\030\003 \001(\003\022\020\n\010m" + "em_size\030\004 \001(\003\022\020\n\010num_rows\030\005 \001(\003\022\022\n\nindex" + "_name\030\006 \001(\t\022\017\n\007indexID\030\007 \001(\003\"p\n\032GetQuery" + "SegmentInfoRequest\022*\n\004base\030\001 \001(\0132\034.milvu" + "s.proto.common.MsgBase\022\016\n\006dbName\030\002 \001(\t\022\026" + "\n\016collectionName\030\003 \001(\t\"\200\001\n\033GetQuerySegme" + "ntInfoResponse\022+\n\006status\030\001 \001(\0132\033.milvus." + "proto.common.Status\0224\n\005infos\030\002 \003(\0132%.mil" + "vus.proto.milvus.QuerySegmentInfo\"$\n\014Dum" + "myRequest\022\024\n\014request_type\030\001 \001(\t\"!\n\rDummy" + "Response\022\020\n\010response\030\001 \001(\t\"\025\n\023RegisterLi" + "nkRequest\"r\n\024RegisterLinkResponse\022-\n\007add" + "ress\030\001 \001(\0132\034.milvus.proto.common.Address" + "\022+\n\006status\030\002 \001(\0132\033.milvus.proto.common.S" + "tatus\"P\n\021GetMetricsRequest\022*\n\004base\030\001 \001(\013" + "2\034.milvus.proto.common.MsgBase\022\017\n\007reques" + "t\030\002 \001(\t\"k\n\022GetMetricsResponse\022+\n\006status\030" + "\001 \001(\0132\033.milvus.proto.common.Status\022\020\n\010re" + "sponse\030\002 \001(\t\022\026\n\016component_name\030\003 \001(\t*!\n\010" + "ShowType\022\007\n\003All\020\000\022\014\n\010InMemory\020\001*>\n\017Place" + "holderType\022\010\n\004None\020\000\022\020\n\014BinaryVector\020d\022\017" + "\n\013FloatVector\020e2\325\032\n\rMilvusService\022_\n\020Cre" + "ateCollection\022,.milvus.proto.milvus.Crea" + "teCollectionRequest\032\033.milvus.proto.commo" + "n.Status\"\000\022[\n\016DropCollection\022*.milvus.pr" + "oto.milvus.DropCollectionRequest\032\033.milvu" + "s.proto.common.Status\"\000\022_\n\rHasCollection" + "\022).milvus.proto.milvus.HasCollectionRequ" + "est\032!.milvus.proto.milvus.BoolResponse\"\000" + "\022[\n\016LoadCollection\022*.milvus.proto.milvus" + ".LoadCollectionRequest\032\033.milvus.proto.co" + "mmon.Status\"\000\022a\n\021ReleaseCollection\022-.mil" + "vus.proto.milvus.ReleaseCollectionReques" + "t\032\033.milvus.proto.common.Status\"\000\022w\n\022Desc" + "ribeCollection\022..milvus.proto.milvus.Des" + "cribeCollectionRequest\032/.milvus.proto.mi" + "lvus.DescribeCollectionResponse\"\000\022\206\001\n\027Ge" + "tCollectionStatistics\0223.milvus.proto.mil" + "vus.GetCollectionStatisticsRequest\0324.mil" "vus.proto.milvus.GetCollectionStatistics" - "Request\0324.milvus.proto.milvus.GetCollect" - "ionStatisticsResponse\"\000\022n\n\017ShowCollectio" - "ns\022+.milvus.proto.milvus.ShowCollections" - "Request\032,.milvus.proto.milvus.ShowCollec" - "tionsResponse\"\000\022]\n\017CreatePartition\022+.mil" - "vus.proto.milvus.CreatePartitionRequest\032" - "\033.milvus.proto.common.Status\"\000\022Y\n\rDropPa" - "rtition\022).milvus.proto.milvus.DropPartit" - "ionRequest\032\033.milvus.proto.common.Status\"" - "\000\022]\n\014HasPartition\022(.milvus.proto.milvus." - "HasPartitionRequest\032!.milvus.proto.milvu" - "s.BoolResponse\"\000\022[\n\016LoadPartitions\022*.mil" - "vus.proto.milvus.LoadPartitionsRequest\032\033" - ".milvus.proto.common.Status\"\000\022a\n\021Release" - "Partitions\022-.milvus.proto.milvus.Release" - "PartitionsRequest\032\033.milvus.proto.common." - "Status\"\000\022\203\001\n\026GetPartitionStatistics\0222.mi" - "lvus.proto.milvus.GetPartitionStatistics" - "Request\0323.milvus.proto.milvus.GetPartiti" - "onStatisticsResponse\"\000\022k\n\016ShowPartitions" - "\022*.milvus.proto.milvus.ShowPartitionsReq" - "uest\032+.milvus.proto.milvus.ShowPartition" - "sResponse\"\000\022U\n\013CreateIndex\022\'.milvus.prot" - "o.milvus.CreateIndexRequest\032\033.milvus.pro" - "to.common.Status\"\000\022h\n\rDescribeIndex\022).mi" - "lvus.proto.milvus.DescribeIndexRequest\032*" - ".milvus.proto.milvus.DescribeIndexRespon" - "se\"\000\022h\n\rGetIndexState\022).milvus.proto.mil" - "vus.GetIndexStateRequest\032*.milvus.proto." - "milvus.GetIndexStateResponse\"\000\022\200\001\n\025GetIn" - "dexBuildProgress\0221.milvus.proto.milvus.G" - "etIndexBuildProgressRequest\0322.milvus.pro" - "to.milvus.GetIndexBuildProgressResponse\"" - "\000\022Q\n\tDropIndex\022%.milvus.proto.milvus.Dro" - "pIndexRequest\032\033.milvus.proto.common.Stat" - "us\"\000\022S\n\006Insert\022\".milvus.proto.milvus.Ins" - "ertRequest\032#.milvus.proto.milvus.Mutatio" - "nResult\"\000\022S\n\006Delete\022\".milvus.proto.milvu" - "s.DeleteRequest\032#.milvus.proto.milvus.Mu" - "tationResult\"\000\022R\n\006Search\022\".milvus.proto." - "milvus.SearchRequest\032\".milvus.proto.milv" - "us.SearchResults\"\000\022P\n\005Flush\022!.milvus.pro" - "to.milvus.FlushRequest\032\".milvus.proto.mi" - "lvus.FlushResponse\"\000\022O\n\005Query\022!.milvus.p" - "roto.milvus.QueryRequest\032!.milvus.proto." - "milvus.QueryResults\"\000\022d\n\014CalcDistance\022(." - "milvus.proto.milvus.CalcDistanceRequest\032" - "(.milvus.proto.milvus.CalcDistanceResult" - "s\"\000\022\211\001\n\030GetPersistentSegmentInfo\0224.milvu" - "s.proto.milvus.GetPersistentSegmentInfoR" - "equest\0325.milvus.proto.milvus.GetPersiste" - "ntSegmentInfoResponse\"\000\022z\n\023GetQuerySegme" - "ntInfo\022/.milvus.proto.milvus.GetQuerySeg" - "mentInfoRequest\0320.milvus.proto.milvus.Ge" - "tQuerySegmentInfoResponse\"\000\022P\n\005Dummy\022!.m" - "ilvus.proto.milvus.DummyRequest\032\".milvus" - ".proto.milvus.DummyResponse\"\000\022e\n\014Registe" - "rLink\022(.milvus.proto.milvus.RegisterLink" - "Request\032).milvus.proto.milvus.RegisterLi" - "nkResponse\"\000\022_\n\nGetMetrics\022&.milvus.prot" - "o.milvus.GetMetricsRequest\032\'.milvus.prot" - "o.milvus.GetMetricsResponse\"\0002u\n\014ProxySe" - "rvice\022e\n\014RegisterLink\022(.milvus.proto.mil" - "vus.RegisterLinkRequest\032).milvus.proto.m" - "ilvus.RegisterLinkResponse\"\000B5Z3github.c" - "om/milvus-io/milvus/internal/proto/milvu" - "spbb\006proto3" + "Response\"\000\022n\n\017ShowCollections\022+.milvus.p" + "roto.milvus.ShowCollectionsRequest\032,.mil" + "vus.proto.milvus.ShowCollectionsResponse" + "\"\000\022]\n\017CreatePartition\022+.milvus.proto.mil" + "vus.CreatePartitionRequest\032\033.milvus.prot" + "o.common.Status\"\000\022Y\n\rDropPartition\022).mil" + "vus.proto.milvus.DropPartitionRequest\032\033." + "milvus.proto.common.Status\"\000\022]\n\014HasParti" + "tion\022(.milvus.proto.milvus.HasPartitionR" + "equest\032!.milvus.proto.milvus.BoolRespons" + "e\"\000\022[\n\016LoadPartitions\022*.milvus.proto.mil" + "vus.LoadPartitionsRequest\032\033.milvus.proto" + ".common.Status\"\000\022a\n\021ReleasePartitions\022-." + "milvus.proto.milvus.ReleasePartitionsReq" + "uest\032\033.milvus.proto.common.Status\"\000\022\203\001\n\026" + "GetPartitionStatistics\0222.milvus.proto.mi" + "lvus.GetPartitionStatisticsRequest\0323.mil" + "vus.proto.milvus.GetPartitionStatisticsR" + "esponse\"\000\022k\n\016ShowPartitions\022*.milvus.pro" + "to.milvus.ShowPartitionsRequest\032+.milvus" + ".proto.milvus.ShowPartitionsResponse\"\000\022U" + "\n\013CreateAlias\022\'.milvus.proto.milvus.Crea" + "teAliasRequest\032\033.milvus.proto.common.Sta" + "tus\"\000\022Q\n\tDropAlias\022%.milvus.proto.milvus" + ".DropAliasRequest\032\033.milvus.proto.common." + "Status\"\000\022S\n\nAlterAlias\022&.milvus.proto.mi" + "lvus.AlterAliasRequest\032\033.milvus.proto.co" + "mmon.Status\"\000\022U\n\013CreateIndex\022\'.milvus.pr" + "oto.milvus.CreateIndexRequest\032\033.milvus.p" + "roto.common.Status\"\000\022h\n\rDescribeIndex\022)." + "milvus.proto.milvus.DescribeIndexRequest" + "\032*.milvus.proto.milvus.DescribeIndexResp" + "onse\"\000\022h\n\rGetIndexState\022).milvus.proto.m" + "ilvus.GetIndexStateRequest\032*.milvus.prot" + "o.milvus.GetIndexStateResponse\"\000\022\200\001\n\025Get" + "IndexBuildProgress\0221.milvus.proto.milvus" + ".GetIndexBuildProgressRequest\0322.milvus.p" + "roto.milvus.GetIndexBuildProgressRespons" + "e\"\000\022Q\n\tDropIndex\022%.milvus.proto.milvus.D" + "ropIndexRequest\032\033.milvus.proto.common.St" + "atus\"\000\022S\n\006Insert\022\".milvus.proto.milvus.I" + "nsertRequest\032#.milvus.proto.milvus.Mutat" + "ionResult\"\000\022S\n\006Delete\022\".milvus.proto.mil" + "vus.DeleteRequest\032#.milvus.proto.milvus." + "MutationResult\"\000\022R\n\006Search\022\".milvus.prot" + "o.milvus.SearchRequest\032\".milvus.proto.mi" + "lvus.SearchResults\"\000\022P\n\005Flush\022!.milvus.p" + "roto.milvus.FlushRequest\032\".milvus.proto." + "milvus.FlushResponse\"\000\022O\n\005Query\022!.milvus" + ".proto.milvus.QueryRequest\032!.milvus.prot" + "o.milvus.QueryResults\"\000\022d\n\014CalcDistance\022" + "(.milvus.proto.milvus.CalcDistanceReques" + "t\032(.milvus.proto.milvus.CalcDistanceResu" + "lts\"\000\022\211\001\n\030GetPersistentSegmentInfo\0224.mil" + "vus.proto.milvus.GetPersistentSegmentInf" + "oRequest\0325.milvus.proto.milvus.GetPersis" + "tentSegmentInfoResponse\"\000\022z\n\023GetQuerySeg" + "mentInfo\022/.milvus.proto.milvus.GetQueryS" + "egmentInfoRequest\0320.milvus.proto.milvus." + "GetQuerySegmentInfoResponse\"\000\022P\n\005Dummy\022!" + ".milvus.proto.milvus.DummyRequest\032\".milv" + "us.proto.milvus.DummyResponse\"\000\022e\n\014Regis" + "terLink\022(.milvus.proto.milvus.RegisterLi" + "nkRequest\032).milvus.proto.milvus.Register" + "LinkResponse\"\000\022_\n\nGetMetrics\022&.milvus.pr" + "oto.milvus.GetMetricsRequest\032\'.milvus.pr" + "oto.milvus.GetMetricsResponse\"\0002u\n\014Proxy" + "Service\022e\n\014RegisterLink\022(.milvus.proto.m" + "ilvus.RegisterLinkRequest\032).milvus.proto" + ".milvus.RegisterLinkResponse\"\000B5Z3github" + ".com/milvus-io/milvus/internal/proto/mil" + "vuspbb\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_milvus_2eproto_deps[2] = { &::descriptor_table_common_2eproto, &::descriptor_table_schema_2eproto, }; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_milvus_2eproto_sccs[64] = { +static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_milvus_2eproto_sccs[67] = { + &scc_info_AlterAliasRequest_milvus_2eproto.base, &scc_info_BoolResponse_milvus_2eproto.base, &scc_info_CalcDistanceRequest_milvus_2eproto.base, &scc_info_CalcDistanceResults_milvus_2eproto.base, + &scc_info_CreateAliasRequest_milvus_2eproto.base, &scc_info_CreateCollectionRequest_milvus_2eproto.base, &scc_info_CreateIndexRequest_milvus_2eproto.base, &scc_info_CreatePartitionRequest_milvus_2eproto.base, @@ -2306,6 +2409,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mil &scc_info_DescribeIndexResponse_milvus_2eproto.base, &scc_info_DescribeSegmentRequest_milvus_2eproto.base, &scc_info_DescribeSegmentResponse_milvus_2eproto.base, + &scc_info_DropAliasRequest_milvus_2eproto.base, &scc_info_DropCollectionRequest_milvus_2eproto.base, &scc_info_DropIndexRequest_milvus_2eproto.base, &scc_info_DropPartitionRequest_milvus_2eproto.base, @@ -2361,10 +2465,10 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mil static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_milvus_2eproto_once; static bool descriptor_table_milvus_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_milvus_2eproto = { - &descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 12371, - &descriptor_table_milvus_2eproto_once, descriptor_table_milvus_2eproto_sccs, descriptor_table_milvus_2eproto_deps, 64, 2, + &descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 12933, + &descriptor_table_milvus_2eproto_once, descriptor_table_milvus_2eproto_sccs, descriptor_table_milvus_2eproto_deps, 67, 2, schemas, file_default_instances, TableStruct_milvus_2eproto::offsets, - file_level_metadata_milvus_2eproto, 64, file_level_enum_descriptors_milvus_2eproto, file_level_service_descriptors_milvus_2eproto, + file_level_metadata_milvus_2eproto, 67, file_level_enum_descriptors_milvus_2eproto, file_level_service_descriptors_milvus_2eproto, }; // Force running AddDescriptors() at dynamic initialization time. @@ -2402,6 +2506,1137 @@ bool PlaceholderType_IsValid(int value) { } +// =================================================================== + +void CreateAliasRequest::InitAsDefaultInstance() { + ::milvus::proto::milvus::_CreateAliasRequest_default_instance_._instance.get_mutable()->base_ = const_cast< ::milvus::proto::common::MsgBase*>( + ::milvus::proto::common::MsgBase::internal_default_instance()); +} +class CreateAliasRequest::_Internal { + public: + static const ::milvus::proto::common::MsgBase& base(const CreateAliasRequest* msg); +}; + +const ::milvus::proto::common::MsgBase& +CreateAliasRequest::_Internal::base(const CreateAliasRequest* msg) { + return *msg->base_; +} +void CreateAliasRequest::clear_base() { + if (GetArenaNoVirtual() == nullptr && base_ != nullptr) { + delete base_; + } + base_ = nullptr; +} +CreateAliasRequest::CreateAliasRequest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:milvus.proto.milvus.CreateAliasRequest) +} +CreateAliasRequest::CreateAliasRequest(const CreateAliasRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + collection_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.collection_name().empty()) { + collection_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.collection_name_); + } + alias_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.alias().empty()) { + alias_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.alias_); + } + if (from.has_base()) { + base_ = new ::milvus::proto::common::MsgBase(*from.base_); + } else { + base_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.CreateAliasRequest) +} + +void CreateAliasRequest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_CreateAliasRequest_milvus_2eproto.base); + collection_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + alias_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + base_ = nullptr; +} + +CreateAliasRequest::~CreateAliasRequest() { + // @@protoc_insertion_point(destructor:milvus.proto.milvus.CreateAliasRequest) + SharedDtor(); +} + +void CreateAliasRequest::SharedDtor() { + collection_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + alias_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete base_; +} + +void CreateAliasRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CreateAliasRequest& CreateAliasRequest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_CreateAliasRequest_milvus_2eproto.base); + return *internal_default_instance(); +} + + +void CreateAliasRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:milvus.proto.milvus.CreateAliasRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + alias_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && base_ != nullptr) { + delete base_; + } + base_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* CreateAliasRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .milvus.proto.common.MsgBase base = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(mutable_base(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string collection_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_collection_name(), ptr, ctx, "milvus.proto.milvus.CreateAliasRequest.collection_name"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string alias = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_alias(), ptr, ctx, "milvus.proto.milvus.CreateAliasRequest.alias"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool CreateAliasRequest::MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + // @@protoc_insertion_point(parse_start:milvus.proto.milvus.CreateAliasRequest) + for (;;) { + ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .milvus.proto.common.MsgBase base = 1; + case 1: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( + input, mutable_base())); + } else { + goto handle_unusual; + } + break; + } + + // string collection_name = 2; + case 2: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_collection_name())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->collection_name().data(), static_cast(this->collection_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "milvus.proto.milvus.CreateAliasRequest.collection_name")); + } else { + goto handle_unusual; + } + break; + } + + // string alias = 3; + case 3: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_alias())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->alias().data(), static_cast(this->alias().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "milvus.proto.milvus.CreateAliasRequest.alias")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:milvus.proto.milvus.CreateAliasRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:milvus.proto.milvus.CreateAliasRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CreateAliasRequest::SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:milvus.proto.milvus.CreateAliasRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .milvus.proto.common.MsgBase base = 1; + if (this->has_base()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, _Internal::base(this), output); + } + + // string collection_name = 2; + if (this->collection_name().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->collection_name().data(), static_cast(this->collection_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "milvus.proto.milvus.CreateAliasRequest.collection_name"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->collection_name(), output); + } + + // string alias = 3; + if (this->alias().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->alias().data(), static_cast(this->alias().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "milvus.proto.milvus.CreateAliasRequest.alias"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->alias(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:milvus.proto.milvus.CreateAliasRequest) +} + +::PROTOBUF_NAMESPACE_ID::uint8* CreateAliasRequest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:milvus.proto.milvus.CreateAliasRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .milvus.proto.common.MsgBase base = 1; + if (this->has_base()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::base(this), target); + } + + // string collection_name = 2; + if (this->collection_name().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->collection_name().data(), static_cast(this->collection_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "milvus.proto.milvus.CreateAliasRequest.collection_name"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 2, this->collection_name(), target); + } + + // string alias = 3; + if (this->alias().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->alias().data(), static_cast(this->alias().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "milvus.proto.milvus.CreateAliasRequest.alias"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 3, this->alias(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:milvus.proto.milvus.CreateAliasRequest) + return target; +} + +size_t CreateAliasRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:milvus.proto.milvus.CreateAliasRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string collection_name = 2; + if (this->collection_name().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->collection_name()); + } + + // string alias = 3; + if (this->alias().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->alias()); + } + + // .milvus.proto.common.MsgBase base = 1; + if (this->has_base()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *base_); + } + + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CreateAliasRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.milvus.CreateAliasRequest) + GOOGLE_DCHECK_NE(&from, this); + const CreateAliasRequest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.milvus.CreateAliasRequest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.milvus.CreateAliasRequest) + MergeFrom(*source); + } +} + +void CreateAliasRequest::MergeFrom(const CreateAliasRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.milvus.CreateAliasRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.collection_name().size() > 0) { + + collection_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.collection_name_); + } + if (from.alias().size() > 0) { + + alias_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.alias_); + } + if (from.has_base()) { + mutable_base()->::milvus::proto::common::MsgBase::MergeFrom(from.base()); + } +} + +void CreateAliasRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.milvus.CreateAliasRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CreateAliasRequest::CopyFrom(const CreateAliasRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.milvus.CreateAliasRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CreateAliasRequest::IsInitialized() const { + return true; +} + +void CreateAliasRequest::InternalSwap(CreateAliasRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + collection_name_.Swap(&other->collection_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + alias_.Swap(&other->alias_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(base_, other->base_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CreateAliasRequest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void DropAliasRequest::InitAsDefaultInstance() { + ::milvus::proto::milvus::_DropAliasRequest_default_instance_._instance.get_mutable()->base_ = const_cast< ::milvus::proto::common::MsgBase*>( + ::milvus::proto::common::MsgBase::internal_default_instance()); +} +class DropAliasRequest::_Internal { + public: + static const ::milvus::proto::common::MsgBase& base(const DropAliasRequest* msg); +}; + +const ::milvus::proto::common::MsgBase& +DropAliasRequest::_Internal::base(const DropAliasRequest* msg) { + return *msg->base_; +} +void DropAliasRequest::clear_base() { + if (GetArenaNoVirtual() == nullptr && base_ != nullptr) { + delete base_; + } + base_ = nullptr; +} +DropAliasRequest::DropAliasRequest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:milvus.proto.milvus.DropAliasRequest) +} +DropAliasRequest::DropAliasRequest(const DropAliasRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + alias_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.alias().empty()) { + alias_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.alias_); + } + if (from.has_base()) { + base_ = new ::milvus::proto::common::MsgBase(*from.base_); + } else { + base_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.DropAliasRequest) +} + +void DropAliasRequest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_DropAliasRequest_milvus_2eproto.base); + alias_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + base_ = nullptr; +} + +DropAliasRequest::~DropAliasRequest() { + // @@protoc_insertion_point(destructor:milvus.proto.milvus.DropAliasRequest) + SharedDtor(); +} + +void DropAliasRequest::SharedDtor() { + alias_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete base_; +} + +void DropAliasRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DropAliasRequest& DropAliasRequest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DropAliasRequest_milvus_2eproto.base); + return *internal_default_instance(); +} + + +void DropAliasRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:milvus.proto.milvus.DropAliasRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + alias_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && base_ != nullptr) { + delete base_; + } + base_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* DropAliasRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .milvus.proto.common.MsgBase base = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(mutable_base(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string alias = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_alias(), ptr, ctx, "milvus.proto.milvus.DropAliasRequest.alias"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool DropAliasRequest::MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + // @@protoc_insertion_point(parse_start:milvus.proto.milvus.DropAliasRequest) + for (;;) { + ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .milvus.proto.common.MsgBase base = 1; + case 1: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( + input, mutable_base())); + } else { + goto handle_unusual; + } + break; + } + + // string alias = 2; + case 2: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_alias())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->alias().data(), static_cast(this->alias().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "milvus.proto.milvus.DropAliasRequest.alias")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:milvus.proto.milvus.DropAliasRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:milvus.proto.milvus.DropAliasRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DropAliasRequest::SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:milvus.proto.milvus.DropAliasRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .milvus.proto.common.MsgBase base = 1; + if (this->has_base()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, _Internal::base(this), output); + } + + // string alias = 2; + if (this->alias().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->alias().data(), static_cast(this->alias().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "milvus.proto.milvus.DropAliasRequest.alias"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->alias(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:milvus.proto.milvus.DropAliasRequest) +} + +::PROTOBUF_NAMESPACE_ID::uint8* DropAliasRequest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:milvus.proto.milvus.DropAliasRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .milvus.proto.common.MsgBase base = 1; + if (this->has_base()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::base(this), target); + } + + // string alias = 2; + if (this->alias().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->alias().data(), static_cast(this->alias().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "milvus.proto.milvus.DropAliasRequest.alias"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 2, this->alias(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:milvus.proto.milvus.DropAliasRequest) + return target; +} + +size_t DropAliasRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:milvus.proto.milvus.DropAliasRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string alias = 2; + if (this->alias().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->alias()); + } + + // .milvus.proto.common.MsgBase base = 1; + if (this->has_base()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *base_); + } + + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DropAliasRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.milvus.DropAliasRequest) + GOOGLE_DCHECK_NE(&from, this); + const DropAliasRequest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.milvus.DropAliasRequest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.milvus.DropAliasRequest) + MergeFrom(*source); + } +} + +void DropAliasRequest::MergeFrom(const DropAliasRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.milvus.DropAliasRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.alias().size() > 0) { + + alias_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.alias_); + } + if (from.has_base()) { + mutable_base()->::milvus::proto::common::MsgBase::MergeFrom(from.base()); + } +} + +void DropAliasRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.milvus.DropAliasRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DropAliasRequest::CopyFrom(const DropAliasRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.milvus.DropAliasRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DropAliasRequest::IsInitialized() const { + return true; +} + +void DropAliasRequest::InternalSwap(DropAliasRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + alias_.Swap(&other->alias_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(base_, other->base_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata DropAliasRequest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void AlterAliasRequest::InitAsDefaultInstance() { + ::milvus::proto::milvus::_AlterAliasRequest_default_instance_._instance.get_mutable()->base_ = const_cast< ::milvus::proto::common::MsgBase*>( + ::milvus::proto::common::MsgBase::internal_default_instance()); +} +class AlterAliasRequest::_Internal { + public: + static const ::milvus::proto::common::MsgBase& base(const AlterAliasRequest* msg); +}; + +const ::milvus::proto::common::MsgBase& +AlterAliasRequest::_Internal::base(const AlterAliasRequest* msg) { + return *msg->base_; +} +void AlterAliasRequest::clear_base() { + if (GetArenaNoVirtual() == nullptr && base_ != nullptr) { + delete base_; + } + base_ = nullptr; +} +AlterAliasRequest::AlterAliasRequest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:milvus.proto.milvus.AlterAliasRequest) +} +AlterAliasRequest::AlterAliasRequest(const AlterAliasRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + collection_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.collection_name().empty()) { + collection_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.collection_name_); + } + alias_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from.alias().empty()) { + alias_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.alias_); + } + if (from.has_base()) { + base_ = new ::milvus::proto::common::MsgBase(*from.base_); + } else { + base_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.AlterAliasRequest) +} + +void AlterAliasRequest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_AlterAliasRequest_milvus_2eproto.base); + collection_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + alias_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + base_ = nullptr; +} + +AlterAliasRequest::~AlterAliasRequest() { + // @@protoc_insertion_point(destructor:milvus.proto.milvus.AlterAliasRequest) + SharedDtor(); +} + +void AlterAliasRequest::SharedDtor() { + collection_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + alias_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete base_; +} + +void AlterAliasRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const AlterAliasRequest& AlterAliasRequest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AlterAliasRequest_milvus_2eproto.base); + return *internal_default_instance(); +} + + +void AlterAliasRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:milvus.proto.milvus.AlterAliasRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + alias_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && base_ != nullptr) { + delete base_; + } + base_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* AlterAliasRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .milvus.proto.common.MsgBase base = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(mutable_base(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string collection_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_collection_name(), ptr, ctx, "milvus.proto.milvus.AlterAliasRequest.collection_name"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string alias = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_alias(), ptr, ctx, "milvus.proto.milvus.AlterAliasRequest.alias"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool AlterAliasRequest::MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + // @@protoc_insertion_point(parse_start:milvus.proto.milvus.AlterAliasRequest) + for (;;) { + ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .milvus.proto.common.MsgBase base = 1; + case 1: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( + input, mutable_base())); + } else { + goto handle_unusual; + } + break; + } + + // string collection_name = 2; + case 2: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_collection_name())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->collection_name().data(), static_cast(this->collection_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "milvus.proto.milvus.AlterAliasRequest.collection_name")); + } else { + goto handle_unusual; + } + break; + } + + // string alias = 3; + case 3: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->mutable_alias())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->alias().data(), static_cast(this->alias().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "milvus.proto.milvus.AlterAliasRequest.alias")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:milvus.proto.milvus.AlterAliasRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:milvus.proto.milvus.AlterAliasRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void AlterAliasRequest::SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:milvus.proto.milvus.AlterAliasRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .milvus.proto.common.MsgBase base = 1; + if (this->has_base()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, _Internal::base(this), output); + } + + // string collection_name = 2; + if (this->collection_name().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->collection_name().data(), static_cast(this->collection_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "milvus.proto.milvus.AlterAliasRequest.collection_name"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->collection_name(), output); + } + + // string alias = 3; + if (this->alias().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->alias().data(), static_cast(this->alias().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "milvus.proto.milvus.AlterAliasRequest.alias"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->alias(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:milvus.proto.milvus.AlterAliasRequest) +} + +::PROTOBUF_NAMESPACE_ID::uint8* AlterAliasRequest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:milvus.proto.milvus.AlterAliasRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .milvus.proto.common.MsgBase base = 1; + if (this->has_base()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::base(this), target); + } + + // string collection_name = 2; + if (this->collection_name().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->collection_name().data(), static_cast(this->collection_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "milvus.proto.milvus.AlterAliasRequest.collection_name"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 2, this->collection_name(), target); + } + + // string alias = 3; + if (this->alias().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->alias().data(), static_cast(this->alias().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "milvus.proto.milvus.AlterAliasRequest.alias"); + target = + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray( + 3, this->alias(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:milvus.proto.milvus.AlterAliasRequest) + return target; +} + +size_t AlterAliasRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:milvus.proto.milvus.AlterAliasRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string collection_name = 2; + if (this->collection_name().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->collection_name()); + } + + // string alias = 3; + if (this->alias().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->alias()); + } + + // .milvus.proto.common.MsgBase base = 1; + if (this->has_base()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *base_); + } + + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void AlterAliasRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.milvus.AlterAliasRequest) + GOOGLE_DCHECK_NE(&from, this); + const AlterAliasRequest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.milvus.AlterAliasRequest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.milvus.AlterAliasRequest) + MergeFrom(*source); + } +} + +void AlterAliasRequest::MergeFrom(const AlterAliasRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.milvus.AlterAliasRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.collection_name().size() > 0) { + + collection_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.collection_name_); + } + if (from.alias().size() > 0) { + + alias_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.alias_); + } + if (from.has_base()) { + mutable_base()->::milvus::proto::common::MsgBase::MergeFrom(from.base()); + } +} + +void AlterAliasRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.milvus.AlterAliasRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void AlterAliasRequest::CopyFrom(const AlterAliasRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.milvus.AlterAliasRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool AlterAliasRequest::IsInitialized() const { + return true; +} + +void AlterAliasRequest::InternalSwap(AlterAliasRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + collection_name_.Swap(&other->collection_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + alias_.Swap(&other->alias_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(base_, other->base_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata AlterAliasRequest::GetMetadata() const { + return GetMetadataStatic(); +} + + // =================================================================== void CreateCollectionRequest::InitAsDefaultInstance() { @@ -4918,7 +6153,8 @@ DescribeCollectionResponse::DescribeCollectionResponse(const DescribeCollectionR : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), virtual_channel_names_(from.virtual_channel_names_), - physical_channel_names_(from.physical_channel_names_) { + physical_channel_names_(from.physical_channel_names_), + aliases_(from.aliases_) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from.has_status()) { status_ = new ::milvus::proto::common::Status(*from.status_); @@ -4970,6 +6206,7 @@ void DescribeCollectionResponse::Clear() { virtual_channel_names_.Clear(); physical_channel_names_.Clear(); + aliases_.Clear(); if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { delete status_; } @@ -5058,6 +6295,18 @@ const char* DescribeCollectionResponse::_InternalParse(const char* ptr, ::PROTOB CHK_(ptr); } else goto handle_unusual; continue; + // repeated string aliases = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr -= 1; + do { + ptr += 1; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(add_aliases(), ptr, ctx, "milvus.proto.milvus.DescribeCollectionResponse.aliases"); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 74); + } else goto handle_unusual; + continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -5194,6 +6443,22 @@ bool DescribeCollectionResponse::MergePartialFromCodedStream( break; } + // repeated string aliases = 9; + case 9: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (74 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString( + input, this->add_aliases())); + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->aliases(this->aliases_size() - 1).data(), + static_cast(this->aliases(this->aliases_size() - 1).length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, + "milvus.proto.milvus.DescribeCollectionResponse.aliases")); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -5273,6 +6538,16 @@ void DescribeCollectionResponse::SerializeWithCachedSizes( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32(8, this->shards_num(), output); } + // repeated string aliases = 9; + for (int i = 0, n = this->aliases_size(); i < n; i++) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->aliases(i).data(), static_cast(this->aliases(i).length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "milvus.proto.milvus.DescribeCollectionResponse.aliases"); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteString( + 9, this->aliases(i), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -5340,6 +6615,16 @@ void DescribeCollectionResponse::SerializeWithCachedSizes( target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(8, this->shards_num(), target); } + // repeated string aliases = 9; + for (int i = 0, n = this->aliases_size(); i < n; i++) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->aliases(i).data(), static_cast(this->aliases(i).length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "milvus.proto.milvus.DescribeCollectionResponse.aliases"); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteStringToArray(9, this->aliases(i), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -5377,6 +6662,14 @@ size_t DescribeCollectionResponse::ByteSizeLong() const { this->physical_channel_names(i)); } + // repeated string aliases = 9; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->aliases_size()); + for (int i = 0, n = this->aliases_size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->aliases(i)); + } + // .milvus.proto.common.Status status = 1; if (this->has_status()) { total_size += 1 + @@ -5448,6 +6741,7 @@ void DescribeCollectionResponse::MergeFrom(const DescribeCollectionResponse& fro virtual_channel_names_.MergeFrom(from.virtual_channel_names_); physical_channel_names_.MergeFrom(from.physical_channel_names_); + aliases_.MergeFrom(from.aliases_); if (from.has_status()) { mutable_status()->::milvus::proto::common::Status::MergeFrom(from.status()); } @@ -5491,6 +6785,7 @@ void DescribeCollectionResponse::InternalSwap(DescribeCollectionResponse* other) _internal_metadata_.Swap(&other->_internal_metadata_); virtual_channel_names_.InternalSwap(CastToBase(&other->virtual_channel_names_)); physical_channel_names_.InternalSwap(CastToBase(&other->physical_channel_names_)); + aliases_.InternalSwap(CastToBase(&other->aliases_)); swap(status_, other->status_); swap(schema_, other->schema_); swap(collectionid_, other->collectionid_); @@ -29825,6 +31120,15 @@ void GetMetricsResponse::InternalSwap(GetMetricsResponse* other) { } // namespace proto } // namespace milvus PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::CreateAliasRequest* Arena::CreateMaybeMessage< ::milvus::proto::milvus::CreateAliasRequest >(Arena* arena) { + return Arena::CreateInternal< ::milvus::proto::milvus::CreateAliasRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::DropAliasRequest* Arena::CreateMaybeMessage< ::milvus::proto::milvus::DropAliasRequest >(Arena* arena) { + return Arena::CreateInternal< ::milvus::proto::milvus::DropAliasRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::AlterAliasRequest* Arena::CreateMaybeMessage< ::milvus::proto::milvus::AlterAliasRequest >(Arena* arena) { + return Arena::CreateInternal< ::milvus::proto::milvus::AlterAliasRequest >(arena); +} template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::CreateCollectionRequest* Arena::CreateMaybeMessage< ::milvus::proto::milvus::CreateCollectionRequest >(Arena* arena) { return Arena::CreateInternal< ::milvus::proto::milvus::CreateCollectionRequest >(arena); } diff --git a/internal/core/src/pb/milvus.pb.h b/internal/core/src/pb/milvus.pb.h index 37c02be6e2..f8b515ed97 100644 --- a/internal/core/src/pb/milvus.pb.h +++ b/internal/core/src/pb/milvus.pb.h @@ -53,7 +53,7 @@ struct TableStruct_milvus_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[64] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[67] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -63,6 +63,9 @@ extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table namespace milvus { namespace proto { namespace milvus { +class AlterAliasRequest; +class AlterAliasRequestDefaultTypeInternal; +extern AlterAliasRequestDefaultTypeInternal _AlterAliasRequest_default_instance_; class BoolResponse; class BoolResponseDefaultTypeInternal; extern BoolResponseDefaultTypeInternal _BoolResponse_default_instance_; @@ -72,6 +75,9 @@ extern CalcDistanceRequestDefaultTypeInternal _CalcDistanceRequest_default_insta class CalcDistanceResults; class CalcDistanceResultsDefaultTypeInternal; extern CalcDistanceResultsDefaultTypeInternal _CalcDistanceResults_default_instance_; +class CreateAliasRequest; +class CreateAliasRequestDefaultTypeInternal; +extern CreateAliasRequestDefaultTypeInternal _CreateAliasRequest_default_instance_; class CreateCollectionRequest; class CreateCollectionRequestDefaultTypeInternal; extern CreateCollectionRequestDefaultTypeInternal _CreateCollectionRequest_default_instance_; @@ -102,6 +108,9 @@ extern DescribeSegmentRequestDefaultTypeInternal _DescribeSegmentRequest_default class DescribeSegmentResponse; class DescribeSegmentResponseDefaultTypeInternal; extern DescribeSegmentResponseDefaultTypeInternal _DescribeSegmentResponse_default_instance_; +class DropAliasRequest; +class DropAliasRequestDefaultTypeInternal; +extern DropAliasRequestDefaultTypeInternal _DropAliasRequest_default_instance_; class DropCollectionRequest; class DropCollectionRequestDefaultTypeInternal; extern DropCollectionRequestDefaultTypeInternal _DropCollectionRequest_default_instance_; @@ -259,9 +268,11 @@ extern VectorsArrayDefaultTypeInternal _VectorsArray_default_instance_; } // namespace proto } // namespace milvus PROTOBUF_NAMESPACE_OPEN +template<> ::milvus::proto::milvus::AlterAliasRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::AlterAliasRequest>(Arena*); template<> ::milvus::proto::milvus::BoolResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::BoolResponse>(Arena*); template<> ::milvus::proto::milvus::CalcDistanceRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::CalcDistanceRequest>(Arena*); template<> ::milvus::proto::milvus::CalcDistanceResults* Arena::CreateMaybeMessage<::milvus::proto::milvus::CalcDistanceResults>(Arena*); +template<> ::milvus::proto::milvus::CreateAliasRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::CreateAliasRequest>(Arena*); template<> ::milvus::proto::milvus::CreateCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::CreateCollectionRequest>(Arena*); template<> ::milvus::proto::milvus::CreateIndexRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::CreateIndexRequest>(Arena*); template<> ::milvus::proto::milvus::CreatePartitionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::CreatePartitionRequest>(Arena*); @@ -272,6 +283,7 @@ template<> ::milvus::proto::milvus::DescribeIndexRequest* Arena::CreateMaybeMess template<> ::milvus::proto::milvus::DescribeIndexResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::DescribeIndexResponse>(Arena*); template<> ::milvus::proto::milvus::DescribeSegmentRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DescribeSegmentRequest>(Arena*); template<> ::milvus::proto::milvus::DescribeSegmentResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::DescribeSegmentResponse>(Arena*); +template<> ::milvus::proto::milvus::DropAliasRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DropAliasRequest>(Arena*); template<> ::milvus::proto::milvus::DropCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DropCollectionRequest>(Arena*); template<> ::milvus::proto::milvus::DropIndexRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DropIndexRequest>(Arena*); template<> ::milvus::proto::milvus::DropPartitionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::DropPartitionRequest>(Arena*); @@ -381,6 +393,473 @@ inline bool PlaceholderType_Parse( } // =================================================================== +class CreateAliasRequest : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.CreateAliasRequest) */ { + public: + CreateAliasRequest(); + virtual ~CreateAliasRequest(); + + CreateAliasRequest(const CreateAliasRequest& from); + CreateAliasRequest(CreateAliasRequest&& from) noexcept + : CreateAliasRequest() { + *this = ::std::move(from); + } + + inline CreateAliasRequest& operator=(const CreateAliasRequest& from) { + CopyFrom(from); + return *this; + } + inline CreateAliasRequest& operator=(CreateAliasRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } + static const CreateAliasRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CreateAliasRequest* internal_default_instance() { + return reinterpret_cast( + &_CreateAliasRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(CreateAliasRequest& a, CreateAliasRequest& b) { + a.Swap(&b); + } + inline void Swap(CreateAliasRequest* other) { + if (other == this) return; + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + inline CreateAliasRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + CreateAliasRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void CopyFrom(const CreateAliasRequest& from); + void MergeFrom(const CreateAliasRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + #else + bool MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; + ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CreateAliasRequest* other); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "milvus.proto.milvus.CreateAliasRequest"; + } + private: + inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); + return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCollectionNameFieldNumber = 2, + kAliasFieldNumber = 3, + kBaseFieldNumber = 1, + }; + // string collection_name = 2; + void clear_collection_name(); + const std::string& collection_name() const; + void set_collection_name(const std::string& value); + void set_collection_name(std::string&& value); + void set_collection_name(const char* value); + void set_collection_name(const char* value, size_t size); + std::string* mutable_collection_name(); + std::string* release_collection_name(); + void set_allocated_collection_name(std::string* collection_name); + + // string alias = 3; + void clear_alias(); + const std::string& alias() const; + void set_alias(const std::string& value); + void set_alias(std::string&& value); + void set_alias(const char* value); + void set_alias(const char* value, size_t size); + std::string* mutable_alias(); + std::string* release_alias(); + void set_allocated_alias(std::string* alias); + + // .milvus.proto.common.MsgBase base = 1; + bool has_base() const; + void clear_base(); + const ::milvus::proto::common::MsgBase& base() const; + ::milvus::proto::common::MsgBase* release_base(); + ::milvus::proto::common::MsgBase* mutable_base(); + void set_allocated_base(::milvus::proto::common::MsgBase* base); + + // @@protoc_insertion_point(class_scope:milvus.proto.milvus.CreateAliasRequest) + private: + class _Internal; + + ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr alias_; + ::milvus::proto::common::MsgBase* base_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_milvus_2eproto; +}; +// ------------------------------------------------------------------- + +class DropAliasRequest : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.DropAliasRequest) */ { + public: + DropAliasRequest(); + virtual ~DropAliasRequest(); + + DropAliasRequest(const DropAliasRequest& from); + DropAliasRequest(DropAliasRequest&& from) noexcept + : DropAliasRequest() { + *this = ::std::move(from); + } + + inline DropAliasRequest& operator=(const DropAliasRequest& from) { + CopyFrom(from); + return *this; + } + inline DropAliasRequest& operator=(DropAliasRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } + static const DropAliasRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DropAliasRequest* internal_default_instance() { + return reinterpret_cast( + &_DropAliasRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(DropAliasRequest& a, DropAliasRequest& b) { + a.Swap(&b); + } + inline void Swap(DropAliasRequest* other) { + if (other == this) return; + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + inline DropAliasRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + DropAliasRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void CopyFrom(const DropAliasRequest& from); + void MergeFrom(const DropAliasRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + #else + bool MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; + ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DropAliasRequest* other); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "milvus.proto.milvus.DropAliasRequest"; + } + private: + inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); + return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kAliasFieldNumber = 2, + kBaseFieldNumber = 1, + }; + // string alias = 2; + void clear_alias(); + const std::string& alias() const; + void set_alias(const std::string& value); + void set_alias(std::string&& value); + void set_alias(const char* value); + void set_alias(const char* value, size_t size); + std::string* mutable_alias(); + std::string* release_alias(); + void set_allocated_alias(std::string* alias); + + // .milvus.proto.common.MsgBase base = 1; + bool has_base() const; + void clear_base(); + const ::milvus::proto::common::MsgBase& base() const; + ::milvus::proto::common::MsgBase* release_base(); + ::milvus::proto::common::MsgBase* mutable_base(); + void set_allocated_base(::milvus::proto::common::MsgBase* base); + + // @@protoc_insertion_point(class_scope:milvus.proto.milvus.DropAliasRequest) + private: + class _Internal; + + ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr alias_; + ::milvus::proto::common::MsgBase* base_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_milvus_2eproto; +}; +// ------------------------------------------------------------------- + +class AlterAliasRequest : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.AlterAliasRequest) */ { + public: + AlterAliasRequest(); + virtual ~AlterAliasRequest(); + + AlterAliasRequest(const AlterAliasRequest& from); + AlterAliasRequest(AlterAliasRequest&& from) noexcept + : AlterAliasRequest() { + *this = ::std::move(from); + } + + inline AlterAliasRequest& operator=(const AlterAliasRequest& from) { + CopyFrom(from); + return *this; + } + inline AlterAliasRequest& operator=(AlterAliasRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } + static const AlterAliasRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const AlterAliasRequest* internal_default_instance() { + return reinterpret_cast( + &_AlterAliasRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(AlterAliasRequest& a, AlterAliasRequest& b) { + a.Swap(&b); + } + inline void Swap(AlterAliasRequest* other) { + if (other == this) return; + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + inline AlterAliasRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + AlterAliasRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void CopyFrom(const AlterAliasRequest& from); + void MergeFrom(const AlterAliasRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + #else + bool MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; + ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(AlterAliasRequest* other); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "milvus.proto.milvus.AlterAliasRequest"; + } + private: + inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); + return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCollectionNameFieldNumber = 2, + kAliasFieldNumber = 3, + kBaseFieldNumber = 1, + }; + // string collection_name = 2; + void clear_collection_name(); + const std::string& collection_name() const; + void set_collection_name(const std::string& value); + void set_collection_name(std::string&& value); + void set_collection_name(const char* value); + void set_collection_name(const char* value, size_t size); + std::string* mutable_collection_name(); + std::string* release_collection_name(); + void set_allocated_collection_name(std::string* collection_name); + + // string alias = 3; + void clear_alias(); + const std::string& alias() const; + void set_alias(const std::string& value); + void set_alias(std::string&& value); + void set_alias(const char* value); + void set_alias(const char* value, size_t size); + std::string* mutable_alias(); + std::string* release_alias(); + void set_allocated_alias(std::string* alias); + + // .milvus.proto.common.MsgBase base = 1; + bool has_base() const; + void clear_base(); + const ::milvus::proto::common::MsgBase& base() const; + ::milvus::proto::common::MsgBase* release_base(); + ::milvus::proto::common::MsgBase* mutable_base(); + void set_allocated_base(::milvus::proto::common::MsgBase* base); + + // @@protoc_insertion_point(class_scope:milvus.proto.milvus.AlterAliasRequest) + private: + class _Internal; + + ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr alias_; + ::milvus::proto::common::MsgBase* base_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_milvus_2eproto; +}; +// ------------------------------------------------------------------- + class CreateCollectionRequest : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.CreateCollectionRequest) */ { public: @@ -423,7 +902,7 @@ class CreateCollectionRequest : &_CreateCollectionRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 0; + 3; friend void swap(CreateCollectionRequest& a, CreateCollectionRequest& b) { a.Swap(&b); @@ -603,7 +1082,7 @@ class DropCollectionRequest : &_DropCollectionRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 1; + 4; friend void swap(DropCollectionRequest& a, DropCollectionRequest& b) { a.Swap(&b); @@ -763,7 +1242,7 @@ class HasCollectionRequest : &_HasCollectionRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 2; + 5; friend void swap(HasCollectionRequest& a, HasCollectionRequest& b) { a.Swap(&b); @@ -930,7 +1409,7 @@ class BoolResponse : &_BoolResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 3; + 6; friend void swap(BoolResponse& a, BoolResponse& b) { a.Swap(&b); @@ -1071,7 +1550,7 @@ class StringResponse : &_StringResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 4; + 7; friend void swap(StringResponse& a, StringResponse& b) { a.Swap(&b); @@ -1218,7 +1697,7 @@ class DescribeCollectionRequest : &_DescribeCollectionRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 5; + 8; friend void swap(DescribeCollectionRequest& a, DescribeCollectionRequest& b) { a.Swap(&b); @@ -1392,7 +1871,7 @@ class DescribeCollectionResponse : &_DescribeCollectionResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 6; + 9; friend void swap(DescribeCollectionResponse& a, DescribeCollectionResponse& b) { a.Swap(&b); @@ -1465,6 +1944,7 @@ class DescribeCollectionResponse : enum : int { kVirtualChannelNamesFieldNumber = 4, kPhysicalChannelNamesFieldNumber = 5, + kAliasesFieldNumber = 9, kStatusFieldNumber = 1, kSchemaFieldNumber = 2, kCollectionIDFieldNumber = 3, @@ -1506,6 +1986,23 @@ class DescribeCollectionResponse : const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& physical_channel_names() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_physical_channel_names(); + // repeated string aliases = 9; + int aliases_size() const; + void clear_aliases(); + const std::string& aliases(int index) const; + std::string* mutable_aliases(int index); + void set_aliases(int index, const std::string& value); + void set_aliases(int index, std::string&& value); + void set_aliases(int index, const char* value); + void set_aliases(int index, const char* value, size_t size); + std::string* add_aliases(); + void add_aliases(const std::string& value); + void add_aliases(std::string&& value); + void add_aliases(const char* value); + void add_aliases(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& aliases() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_aliases(); + // .milvus.proto.common.Status status = 1; bool has_status() const; void clear_status(); @@ -1549,6 +2046,7 @@ class DescribeCollectionResponse : ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField virtual_channel_names_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField physical_channel_names_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField aliases_; ::milvus::proto::common::Status* status_; ::milvus::proto::schema::CollectionSchema* schema_; ::PROTOBUF_NAMESPACE_ID::int64 collectionid_; @@ -1602,7 +2100,7 @@ class LoadCollectionRequest : &_LoadCollectionRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 7; + 10; friend void swap(LoadCollectionRequest& a, LoadCollectionRequest& b) { a.Swap(&b); @@ -1762,7 +2260,7 @@ class ReleaseCollectionRequest : &_ReleaseCollectionRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 8; + 11; friend void swap(ReleaseCollectionRequest& a, ReleaseCollectionRequest& b) { a.Swap(&b); @@ -1922,7 +2420,7 @@ class GetCollectionStatisticsRequest : &_GetCollectionStatisticsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 9; + 12; friend void swap(GetCollectionStatisticsRequest& a, GetCollectionStatisticsRequest& b) { a.Swap(&b); @@ -2082,7 +2580,7 @@ class GetCollectionStatisticsResponse : &_GetCollectionStatisticsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 10; + 13; friend void swap(GetCollectionStatisticsResponse& a, GetCollectionStatisticsResponse& b) { a.Swap(&b); @@ -2229,7 +2727,7 @@ class ShowCollectionsRequest : &_ShowCollectionsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 11; + 14; friend void swap(ShowCollectionsRequest& a, ShowCollectionsRequest& b) { a.Swap(&b); @@ -2409,7 +2907,7 @@ class ShowCollectionsResponse : &_ShowCollectionsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 12; + 15; friend void swap(ShowCollectionsResponse& a, ShowCollectionsResponse& b) { a.Swap(&b); @@ -2618,7 +3116,7 @@ class CreatePartitionRequest : &_CreatePartitionRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 13; + 16; friend void swap(CreatePartitionRequest& a, CreatePartitionRequest& b) { a.Swap(&b); @@ -2791,7 +3289,7 @@ class DropPartitionRequest : &_DropPartitionRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 14; + 17; friend void swap(DropPartitionRequest& a, DropPartitionRequest& b) { a.Swap(&b); @@ -2964,7 +3462,7 @@ class HasPartitionRequest : &_HasPartitionRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 15; + 18; friend void swap(HasPartitionRequest& a, HasPartitionRequest& b) { a.Swap(&b); @@ -3137,7 +3635,7 @@ class LoadPartitionsRequest : &_LoadPartitionsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 16; + 19; friend void swap(LoadPartitionsRequest& a, LoadPartitionsRequest& b) { a.Swap(&b); @@ -3316,7 +3814,7 @@ class ReleasePartitionsRequest : &_ReleasePartitionsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 17; + 20; friend void swap(ReleasePartitionsRequest& a, ReleasePartitionsRequest& b) { a.Swap(&b); @@ -3495,7 +3993,7 @@ class GetPartitionStatisticsRequest : &_GetPartitionStatisticsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 18; + 21; friend void swap(GetPartitionStatisticsRequest& a, GetPartitionStatisticsRequest& b) { a.Swap(&b); @@ -3668,7 +4166,7 @@ class GetPartitionStatisticsResponse : &_GetPartitionStatisticsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 19; + 22; friend void swap(GetPartitionStatisticsResponse& a, GetPartitionStatisticsResponse& b) { a.Swap(&b); @@ -3815,7 +4313,7 @@ class ShowPartitionsRequest : &_ShowPartitionsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 23; friend void swap(ShowPartitionsRequest& a, ShowPartitionsRequest& b) { a.Swap(&b); @@ -4008,7 +4506,7 @@ class ShowPartitionsResponse : &_ShowPartitionsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 21; + 24; friend void swap(ShowPartitionsResponse& a, ShowPartitionsResponse& b) { a.Swap(&b); @@ -4217,7 +4715,7 @@ class DescribeSegmentRequest : &_DescribeSegmentRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 22; + 25; friend void swap(DescribeSegmentRequest& a, DescribeSegmentRequest& b) { a.Swap(&b); @@ -4365,7 +4863,7 @@ class DescribeSegmentResponse : &_DescribeSegmentResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 23; + 26; friend void swap(DescribeSegmentResponse& a, DescribeSegmentResponse& b) { a.Swap(&b); @@ -4520,7 +5018,7 @@ class ShowSegmentsRequest : &_ShowSegmentsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 24; + 27; friend void swap(ShowSegmentsRequest& a, ShowSegmentsRequest& b) { a.Swap(&b); @@ -4668,7 +5166,7 @@ class ShowSegmentsResponse : &_ShowSegmentsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 25; + 28; friend void swap(ShowSegmentsResponse& a, ShowSegmentsResponse& b) { a.Swap(&b); @@ -4816,7 +5314,7 @@ class CreateIndexRequest : &_CreateIndexRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 26; + 29; friend void swap(CreateIndexRequest& a, CreateIndexRequest& b) { a.Swap(&b); @@ -5002,7 +5500,7 @@ class DescribeIndexRequest : &_DescribeIndexRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 27; + 30; friend void swap(DescribeIndexRequest& a, DescribeIndexRequest& b) { a.Swap(&b); @@ -5188,7 +5686,7 @@ class IndexDescription : &_IndexDescription_default_instance_); } static constexpr int kIndexInFileMessages = - 28; + 31; friend void swap(IndexDescription& a, IndexDescription& b) { a.Swap(&b); @@ -5358,7 +5856,7 @@ class DescribeIndexResponse : &_DescribeIndexResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 29; + 32; friend void swap(DescribeIndexResponse& a, DescribeIndexResponse& b) { a.Swap(&b); @@ -5505,7 +6003,7 @@ class GetIndexBuildProgressRequest : &_GetIndexBuildProgressRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 30; + 33; friend void swap(GetIndexBuildProgressRequest& a, GetIndexBuildProgressRequest& b) { a.Swap(&b); @@ -5691,7 +6189,7 @@ class GetIndexBuildProgressResponse : &_GetIndexBuildProgressResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 31; + 34; friend void swap(GetIndexBuildProgressResponse& a, GetIndexBuildProgressResponse& b) { a.Swap(&b); @@ -5839,7 +6337,7 @@ class GetIndexStateRequest : &_GetIndexStateRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 32; + 35; friend void swap(GetIndexStateRequest& a, GetIndexStateRequest& b) { a.Swap(&b); @@ -6025,7 +6523,7 @@ class GetIndexStateResponse : &_GetIndexStateResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 33; + 36; friend void swap(GetIndexStateResponse& a, GetIndexStateResponse& b) { a.Swap(&b); @@ -6179,7 +6677,7 @@ class DropIndexRequest : &_DropIndexRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 34; + 37; friend void swap(DropIndexRequest& a, DropIndexRequest& b) { a.Swap(&b); @@ -6365,7 +6863,7 @@ class InsertRequest : &_InsertRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 35; + 38; friend void swap(InsertRequest& a, InsertRequest& b) { a.Swap(&b); @@ -6572,7 +7070,7 @@ class MutationResult : &_MutationResult_default_instance_); } static constexpr int kIndexInFileMessages = - 36; + 39; friend void swap(MutationResult& a, MutationResult& b) { a.Swap(&b); @@ -6779,7 +7277,7 @@ class DeleteRequest : &_DeleteRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 37; + 40; friend void swap(DeleteRequest& a, DeleteRequest& b) { a.Swap(&b); @@ -6965,7 +7463,7 @@ class PlaceholderValue : &_PlaceholderValue_default_instance_); } static constexpr int kIndexInFileMessages = - 38; + 41; friend void swap(PlaceholderValue& a, PlaceholderValue& b) { a.Swap(&b); @@ -7128,7 +7626,7 @@ class PlaceholderGroup : &_PlaceholderGroup_default_instance_); } static constexpr int kIndexInFileMessages = - 39; + 42; friend void swap(PlaceholderGroup& a, PlaceholderGroup& b) { a.Swap(&b); @@ -7265,7 +7763,7 @@ class SearchRequest : &_SearchRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 40; + 43; friend void swap(SearchRequest& a, SearchRequest& b) { a.Swap(&b); @@ -7523,7 +8021,7 @@ class Hits : &_Hits_default_instance_); } static constexpr int kIndexInFileMessages = - 41; + 44; friend void swap(Hits& a, Hits& b) { a.Swap(&b); @@ -7694,7 +8192,7 @@ class SearchResults : &_SearchResults_default_instance_); } static constexpr int kIndexInFileMessages = - 42; + 45; friend void swap(SearchResults& a, SearchResults& b) { a.Swap(&b); @@ -7838,7 +8336,7 @@ class FlushRequest : &_FlushRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 43; + 46; friend void swap(FlushRequest& a, FlushRequest& b) { a.Swap(&b); @@ -7986,7 +8484,7 @@ public: private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); - return ::descriptor_table_milvus_2eproto.file_level_metadata[44]; + return ::descriptor_table_milvus_2eproto.file_level_metadata[47]; } public: @@ -8036,7 +8534,7 @@ class FlushResponse : &_FlushResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 45; + 48; friend void swap(FlushResponse& a, FlushResponse& b) { a.Swap(&b); @@ -8199,7 +8697,7 @@ class QueryRequest : &_QueryRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 46; + 49; friend void swap(QueryRequest& a, QueryRequest& b) { a.Swap(&b); @@ -8424,7 +8922,7 @@ class QueryResults : &_QueryResults_default_instance_); } static constexpr int kIndexInFileMessages = - 47; + 50; friend void swap(QueryResults& a, QueryResults& b) { a.Swap(&b); @@ -8571,7 +9069,7 @@ class VectorIDs : &_VectorIDs_default_instance_); } static constexpr int kIndexInFileMessages = - 48; + 51; friend void swap(VectorIDs& a, VectorIDs& b) { a.Swap(&b); @@ -8756,7 +9254,7 @@ class VectorsArray : &_VectorsArray_default_instance_); } static constexpr int kIndexInFileMessages = - 49; + 52; friend void swap(VectorsArray& a, VectorsArray& b) { a.Swap(&b); @@ -8912,7 +9410,7 @@ class CalcDistanceRequest : &_CalcDistanceRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 50; + 53; friend void swap(CalcDistanceRequest& a, CalcDistanceRequest& b) { a.Swap(&b); @@ -9085,7 +9583,7 @@ class CalcDistanceResults : &_CalcDistanceResults_default_instance_); } static constexpr int kIndexInFileMessages = - 51; + 54; friend void swap(CalcDistanceResults& a, CalcDistanceResults& b) { a.Swap(&b); @@ -9251,7 +9749,7 @@ class PersistentSegmentInfo : &_PersistentSegmentInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 52; + 55; friend void swap(PersistentSegmentInfo& a, PersistentSegmentInfo& b) { a.Swap(&b); @@ -9410,7 +9908,7 @@ class GetPersistentSegmentInfoRequest : &_GetPersistentSegmentInfoRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 53; + 56; friend void swap(GetPersistentSegmentInfoRequest& a, GetPersistentSegmentInfoRequest& b) { a.Swap(&b); @@ -9570,7 +10068,7 @@ class GetPersistentSegmentInfoResponse : &_GetPersistentSegmentInfoResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 54; + 57; friend void swap(GetPersistentSegmentInfoResponse& a, GetPersistentSegmentInfoResponse& b) { a.Swap(&b); @@ -9717,7 +10215,7 @@ class QuerySegmentInfo : &_QuerySegmentInfo_default_instance_); } static constexpr int kIndexInFileMessages = - 55; + 58; friend void swap(QuerySegmentInfo& a, QuerySegmentInfo& b) { a.Swap(&b); @@ -9896,7 +10394,7 @@ class GetQuerySegmentInfoRequest : &_GetQuerySegmentInfoRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 56; + 59; friend void swap(GetQuerySegmentInfoRequest& a, GetQuerySegmentInfoRequest& b) { a.Swap(&b); @@ -10056,7 +10554,7 @@ class GetQuerySegmentInfoResponse : &_GetQuerySegmentInfoResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 57; + 60; friend void swap(GetQuerySegmentInfoResponse& a, GetQuerySegmentInfoResponse& b) { a.Swap(&b); @@ -10203,7 +10701,7 @@ class DummyRequest : &_DummyRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 58; + 61; friend void swap(DummyRequest& a, DummyRequest& b) { a.Swap(&b); @@ -10340,7 +10838,7 @@ class DummyResponse : &_DummyResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 59; + 62; friend void swap(DummyResponse& a, DummyResponse& b) { a.Swap(&b); @@ -10477,7 +10975,7 @@ class RegisterLinkRequest : &_RegisterLinkRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 60; + 63; friend void swap(RegisterLinkRequest& a, RegisterLinkRequest& b) { a.Swap(&b); @@ -10599,7 +11097,7 @@ class RegisterLinkResponse : &_RegisterLinkResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 61; + 64; friend void swap(RegisterLinkResponse& a, RegisterLinkResponse& b) { a.Swap(&b); @@ -10743,7 +11241,7 @@ class GetMetricsRequest : &_GetMetricsRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 62; + 65; friend void swap(GetMetricsRequest& a, GetMetricsRequest& b) { a.Swap(&b); @@ -10890,7 +11388,7 @@ class GetMetricsResponse : &_GetMetricsResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 63; + 66; friend void swap(GetMetricsResponse& a, GetMetricsResponse& b) { a.Swap(&b); @@ -11015,6 +11513,408 @@ class GetMetricsResponse : #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ +// CreateAliasRequest + +// .milvus.proto.common.MsgBase base = 1; +inline bool CreateAliasRequest::has_base() const { + return this != internal_default_instance() && base_ != nullptr; +} +inline const ::milvus::proto::common::MsgBase& CreateAliasRequest::base() const { + const ::milvus::proto::common::MsgBase* p = base_; + // @@protoc_insertion_point(field_get:milvus.proto.milvus.CreateAliasRequest.base) + return p != nullptr ? *p : *reinterpret_cast( + &::milvus::proto::common::_MsgBase_default_instance_); +} +inline ::milvus::proto::common::MsgBase* CreateAliasRequest::release_base() { + // @@protoc_insertion_point(field_release:milvus.proto.milvus.CreateAliasRequest.base) + + ::milvus::proto::common::MsgBase* temp = base_; + base_ = nullptr; + return temp; +} +inline ::milvus::proto::common::MsgBase* CreateAliasRequest::mutable_base() { + + if (base_ == nullptr) { + auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual()); + base_ = p; + } + // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreateAliasRequest.base) + return base_; +} +inline void CreateAliasRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_); + } + if (base) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, base, submessage_arena); + } + + } else { + + } + base_ = base; + // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreateAliasRequest.base) +} + +// string collection_name = 2; +inline void CreateAliasRequest::clear_collection_name() { + collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& CreateAliasRequest::collection_name() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.CreateAliasRequest.collection_name) + return collection_name_.GetNoArena(); +} +inline void CreateAliasRequest::set_collection_name(const std::string& value) { + + collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:milvus.proto.milvus.CreateAliasRequest.collection_name) +} +inline void CreateAliasRequest::set_collection_name(std::string&& value) { + + collection_name_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.CreateAliasRequest.collection_name) +} +inline void CreateAliasRequest::set_collection_name(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:milvus.proto.milvus.CreateAliasRequest.collection_name) +} +inline void CreateAliasRequest::set_collection_name(const char* value, size_t size) { + + collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.CreateAliasRequest.collection_name) +} +inline std::string* CreateAliasRequest::mutable_collection_name() { + + // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreateAliasRequest.collection_name) + return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* CreateAliasRequest::release_collection_name() { + // @@protoc_insertion_point(field_release:milvus.proto.milvus.CreateAliasRequest.collection_name) + + return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void CreateAliasRequest::set_allocated_collection_name(std::string* collection_name) { + if (collection_name != nullptr) { + + } else { + + } + collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name); + // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreateAliasRequest.collection_name) +} + +// string alias = 3; +inline void CreateAliasRequest::clear_alias() { + alias_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& CreateAliasRequest::alias() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.CreateAliasRequest.alias) + return alias_.GetNoArena(); +} +inline void CreateAliasRequest::set_alias(const std::string& value) { + + alias_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:milvus.proto.milvus.CreateAliasRequest.alias) +} +inline void CreateAliasRequest::set_alias(std::string&& value) { + + alias_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.CreateAliasRequest.alias) +} +inline void CreateAliasRequest::set_alias(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + alias_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:milvus.proto.milvus.CreateAliasRequest.alias) +} +inline void CreateAliasRequest::set_alias(const char* value, size_t size) { + + alias_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.CreateAliasRequest.alias) +} +inline std::string* CreateAliasRequest::mutable_alias() { + + // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.CreateAliasRequest.alias) + return alias_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* CreateAliasRequest::release_alias() { + // @@protoc_insertion_point(field_release:milvus.proto.milvus.CreateAliasRequest.alias) + + return alias_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void CreateAliasRequest::set_allocated_alias(std::string* alias) { + if (alias != nullptr) { + + } else { + + } + alias_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), alias); + // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.CreateAliasRequest.alias) +} + +// ------------------------------------------------------------------- + +// DropAliasRequest + +// .milvus.proto.common.MsgBase base = 1; +inline bool DropAliasRequest::has_base() const { + return this != internal_default_instance() && base_ != nullptr; +} +inline const ::milvus::proto::common::MsgBase& DropAliasRequest::base() const { + const ::milvus::proto::common::MsgBase* p = base_; + // @@protoc_insertion_point(field_get:milvus.proto.milvus.DropAliasRequest.base) + return p != nullptr ? *p : *reinterpret_cast( + &::milvus::proto::common::_MsgBase_default_instance_); +} +inline ::milvus::proto::common::MsgBase* DropAliasRequest::release_base() { + // @@protoc_insertion_point(field_release:milvus.proto.milvus.DropAliasRequest.base) + + ::milvus::proto::common::MsgBase* temp = base_; + base_ = nullptr; + return temp; +} +inline ::milvus::proto::common::MsgBase* DropAliasRequest::mutable_base() { + + if (base_ == nullptr) { + auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual()); + base_ = p; + } + // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropAliasRequest.base) + return base_; +} +inline void DropAliasRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_); + } + if (base) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, base, submessage_arena); + } + + } else { + + } + base_ = base; + // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropAliasRequest.base) +} + +// string alias = 2; +inline void DropAliasRequest::clear_alias() { + alias_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& DropAliasRequest::alias() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.DropAliasRequest.alias) + return alias_.GetNoArena(); +} +inline void DropAliasRequest::set_alias(const std::string& value) { + + alias_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:milvus.proto.milvus.DropAliasRequest.alias) +} +inline void DropAliasRequest::set_alias(std::string&& value) { + + alias_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.DropAliasRequest.alias) +} +inline void DropAliasRequest::set_alias(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + alias_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DropAliasRequest.alias) +} +inline void DropAliasRequest::set_alias(const char* value, size_t size) { + + alias_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DropAliasRequest.alias) +} +inline std::string* DropAliasRequest::mutable_alias() { + + // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DropAliasRequest.alias) + return alias_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* DropAliasRequest::release_alias() { + // @@protoc_insertion_point(field_release:milvus.proto.milvus.DropAliasRequest.alias) + + return alias_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void DropAliasRequest::set_allocated_alias(std::string* alias) { + if (alias != nullptr) { + + } else { + + } + alias_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), alias); + // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DropAliasRequest.alias) +} + +// ------------------------------------------------------------------- + +// AlterAliasRequest + +// .milvus.proto.common.MsgBase base = 1; +inline bool AlterAliasRequest::has_base() const { + return this != internal_default_instance() && base_ != nullptr; +} +inline const ::milvus::proto::common::MsgBase& AlterAliasRequest::base() const { + const ::milvus::proto::common::MsgBase* p = base_; + // @@protoc_insertion_point(field_get:milvus.proto.milvus.AlterAliasRequest.base) + return p != nullptr ? *p : *reinterpret_cast( + &::milvus::proto::common::_MsgBase_default_instance_); +} +inline ::milvus::proto::common::MsgBase* AlterAliasRequest::release_base() { + // @@protoc_insertion_point(field_release:milvus.proto.milvus.AlterAliasRequest.base) + + ::milvus::proto::common::MsgBase* temp = base_; + base_ = nullptr; + return temp; +} +inline ::milvus::proto::common::MsgBase* AlterAliasRequest::mutable_base() { + + if (base_ == nullptr) { + auto* p = CreateMaybeMessage<::milvus::proto::common::MsgBase>(GetArenaNoVirtual()); + base_ = p; + } + // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.AlterAliasRequest.base) + return base_; +} +inline void AlterAliasRequest::set_allocated_base(::milvus::proto::common::MsgBase* base) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(base_); + } + if (base) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + base = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, base, submessage_arena); + } + + } else { + + } + base_ = base; + // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.AlterAliasRequest.base) +} + +// string collection_name = 2; +inline void AlterAliasRequest::clear_collection_name() { + collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& AlterAliasRequest::collection_name() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.AlterAliasRequest.collection_name) + return collection_name_.GetNoArena(); +} +inline void AlterAliasRequest::set_collection_name(const std::string& value) { + + collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:milvus.proto.milvus.AlterAliasRequest.collection_name) +} +inline void AlterAliasRequest::set_collection_name(std::string&& value) { + + collection_name_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.AlterAliasRequest.collection_name) +} +inline void AlterAliasRequest::set_collection_name(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:milvus.proto.milvus.AlterAliasRequest.collection_name) +} +inline void AlterAliasRequest::set_collection_name(const char* value, size_t size) { + + collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.AlterAliasRequest.collection_name) +} +inline std::string* AlterAliasRequest::mutable_collection_name() { + + // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.AlterAliasRequest.collection_name) + return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* AlterAliasRequest::release_collection_name() { + // @@protoc_insertion_point(field_release:milvus.proto.milvus.AlterAliasRequest.collection_name) + + return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void AlterAliasRequest::set_allocated_collection_name(std::string* collection_name) { + if (collection_name != nullptr) { + + } else { + + } + collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name); + // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.AlterAliasRequest.collection_name) +} + +// string alias = 3; +inline void AlterAliasRequest::clear_alias() { + alias_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline const std::string& AlterAliasRequest::alias() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.AlterAliasRequest.alias) + return alias_.GetNoArena(); +} +inline void AlterAliasRequest::set_alias(const std::string& value) { + + alias_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:milvus.proto.milvus.AlterAliasRequest.alias) +} +inline void AlterAliasRequest::set_alias(std::string&& value) { + + alias_.SetNoArena( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:milvus.proto.milvus.AlterAliasRequest.alias) +} +inline void AlterAliasRequest::set_alias(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + alias_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:milvus.proto.milvus.AlterAliasRequest.alias) +} +inline void AlterAliasRequest::set_alias(const char* value, size_t size) { + + alias_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.AlterAliasRequest.alias) +} +inline std::string* AlterAliasRequest::mutable_alias() { + + // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.AlterAliasRequest.alias) + return alias_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline std::string* AlterAliasRequest::release_alias() { + // @@protoc_insertion_point(field_release:milvus.proto.milvus.AlterAliasRequest.alias) + + return alias_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} +inline void AlterAliasRequest::set_allocated_alias(std::string* alias) { + if (alias != nullptr) { + + } else { + + } + alias_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), alias); + // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.AlterAliasRequest.alias) +} + +// ------------------------------------------------------------------- + // CreateCollectionRequest // .milvus.proto.common.MsgBase base = 1; @@ -12167,6 +13067,71 @@ inline void DescribeCollectionResponse::set_shards_num(::PROTOBUF_NAMESPACE_ID:: // @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeCollectionResponse.shards_num) } +// repeated string aliases = 9; +inline int DescribeCollectionResponse::aliases_size() const { + return aliases_.size(); +} +inline void DescribeCollectionResponse::clear_aliases() { + aliases_.Clear(); +} +inline const std::string& DescribeCollectionResponse::aliases(int index) const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeCollectionResponse.aliases) + return aliases_.Get(index); +} +inline std::string* DescribeCollectionResponse::mutable_aliases(int index) { + // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeCollectionResponse.aliases) + return aliases_.Mutable(index); +} +inline void DescribeCollectionResponse::set_aliases(int index, const std::string& value) { + // @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeCollectionResponse.aliases) + aliases_.Mutable(index)->assign(value); +} +inline void DescribeCollectionResponse::set_aliases(int index, std::string&& value) { + // @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeCollectionResponse.aliases) + aliases_.Mutable(index)->assign(std::move(value)); +} +inline void DescribeCollectionResponse::set_aliases(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + aliases_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:milvus.proto.milvus.DescribeCollectionResponse.aliases) +} +inline void DescribeCollectionResponse::set_aliases(int index, const char* value, size_t size) { + aliases_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:milvus.proto.milvus.DescribeCollectionResponse.aliases) +} +inline std::string* DescribeCollectionResponse::add_aliases() { + // @@protoc_insertion_point(field_add_mutable:milvus.proto.milvus.DescribeCollectionResponse.aliases) + return aliases_.Add(); +} +inline void DescribeCollectionResponse::add_aliases(const std::string& value) { + aliases_.Add()->assign(value); + // @@protoc_insertion_point(field_add:milvus.proto.milvus.DescribeCollectionResponse.aliases) +} +inline void DescribeCollectionResponse::add_aliases(std::string&& value) { + aliases_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:milvus.proto.milvus.DescribeCollectionResponse.aliases) +} +inline void DescribeCollectionResponse::add_aliases(const char* value) { + GOOGLE_DCHECK(value != nullptr); + aliases_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:milvus.proto.milvus.DescribeCollectionResponse.aliases) +} +inline void DescribeCollectionResponse::add_aliases(const char* value, size_t size) { + aliases_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:milvus.proto.milvus.DescribeCollectionResponse.aliases) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +DescribeCollectionResponse::aliases() const { + // @@protoc_insertion_point(field_list:milvus.proto.milvus.DescribeCollectionResponse.aliases) + return aliases_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +DescribeCollectionResponse::mutable_aliases() { + // @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.DescribeCollectionResponse.aliases) + return &aliases_; +} + // ------------------------------------------------------------------- // LoadCollectionRequest @@ -21082,6 +22047,12 @@ inline void GetMetricsResponse::set_allocated_component_name(std::string* compon // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/internal/datacoord/mock_test.go b/internal/datacoord/mock_test.go index 260775125e..7bdfad89b9 100644 --- a/internal/datacoord/mock_test.go +++ b/internal/datacoord/mock_test.go @@ -192,6 +192,18 @@ type mockRootCoordService struct { cnt int64 } +func (m *mockRootCoordService) CreateAlias(ctx context.Context, req *milvuspb.CreateAliasRequest) (*commonpb.Status, error) { + panic("implement me") +} + +func (m *mockRootCoordService) DropAlias(ctx context.Context, req *milvuspb.DropAliasRequest) (*commonpb.Status, error) { + panic("implement me") +} + +func (m *mockRootCoordService) AlterAlias(ctx context.Context, req *milvuspb.AlterAliasRequest) (*commonpb.Status, error) { + panic("implement me") +} + func newMockRootCoordService() *mockRootCoordService { return &mockRootCoordService{state: internalpb.StateCode_Healthy} } diff --git a/internal/distributed/proxy/service.go b/internal/distributed/proxy/service.go index 1f0d01a8e9..9effdb8a21 100644 --- a/internal/distributed/proxy/service.go +++ b/internal/distributed/proxy/service.go @@ -417,3 +417,15 @@ func (s *Server) RegisterLink(ctx context.Context, request *milvuspb.RegisterLin func (s *Server) GetMetrics(ctx context.Context, request *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) { return s.proxy.GetMetrics(ctx, request) } + +func (s *Server) CreateAlias(ctx context.Context, request *milvuspb.CreateAliasRequest) (*commonpb.Status, error) { + return s.proxy.CreateAlias(ctx, request) +} + +func (s *Server) DropAlias(ctx context.Context, request *milvuspb.DropAliasRequest) (*commonpb.Status, error) { + return s.proxy.DropAlias(ctx, request) +} + +func (s *Server) AlterAlias(ctx context.Context, request *milvuspb.AlterAliasRequest) (*commonpb.Status, error) { + return s.proxy.AlterAlias(ctx, request) +} diff --git a/internal/distributed/rootcoord/client/client.go b/internal/distributed/rootcoord/client/client.go index 10e88bddbc..0d95db7f36 100644 --- a/internal/distributed/rootcoord/client/client.go +++ b/internal/distributed/rootcoord/client/client.go @@ -559,3 +559,24 @@ func (c *GrpcClient) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequ } return ret.(*milvuspb.GetMetricsResponse), err } + +func (c *GrpcClient) CreateAlias(ctx context.Context, req *milvuspb.CreateAliasRequest) (*commonpb.Status, error) { + ret, err := c.recall(func() (interface{}, error) { + return c.grpcClient.CreateAlias(ctx, req) + }) + return ret.(*commonpb.Status), err +} + +func (c *GrpcClient) DropAlias(ctx context.Context, req *milvuspb.DropAliasRequest) (*commonpb.Status, error) { + ret, err := c.recall(func() (interface{}, error) { + return c.grpcClient.DropAlias(ctx, req) + }) + return ret.(*commonpb.Status), err +} + +func (c *GrpcClient) AlterAlias(ctx context.Context, req *milvuspb.AlterAliasRequest) (*commonpb.Status, error) { + ret, err := c.recall(func() (interface{}, error) { + return c.grpcClient.AlterAlias(ctx, req) + }) + return ret.(*commonpb.Status), err +} diff --git a/internal/distributed/rootcoord/service.go b/internal/distributed/rootcoord/service.go index 1b31e1b16d..92f6e99840 100644 --- a/internal/distributed/rootcoord/service.go +++ b/internal/distributed/rootcoord/service.go @@ -63,6 +63,18 @@ type Server struct { closer io.Closer } +func (s *Server) CreateAlias(ctx context.Context, request *milvuspb.CreateAliasRequest) (*commonpb.Status, error) { + return s.rootCoord.CreateAlias(ctx, request) +} + +func (s *Server) DropAlias(ctx context.Context, request *milvuspb.DropAliasRequest) (*commonpb.Status, error) { + return s.rootCoord.DropAlias(ctx, request) +} + +func (s *Server) AlterAlias(ctx context.Context, request *milvuspb.AlterAliasRequest) (*commonpb.Status, error) { + return s.rootCoord.AlterAlias(ctx, request) +} + func NewServer(ctx context.Context, factory msgstream.Factory) (*Server, error) { ctx1, cancel := context.WithCancel(ctx) s := &Server{ diff --git a/internal/proto/common.proto b/internal/proto/common.proto index 94b57f9dd6..9d8373253d 100644 --- a/internal/proto/common.proto +++ b/internal/proto/common.proto @@ -83,6 +83,10 @@ enum MsgType { GetSystemConfigs = 105; LoadCollection = 106; ReleaseCollection = 107; + CreateAlias = 108; + DropAlias = 109; + AlterAlias = 110; + /* DEFINITION REQUESTS: PARTITION */ CreatePartition = 200; diff --git a/internal/proto/commonpb/common.pb.go b/internal/proto/commonpb/common.pb.go index 8b01554e49..5456159d90 100644 --- a/internal/proto/commonpb/common.pb.go +++ b/internal/proto/commonpb/common.pb.go @@ -205,6 +205,9 @@ const ( MsgType_GetSystemConfigs MsgType = 105 MsgType_LoadCollection MsgType = 106 MsgType_ReleaseCollection MsgType = 107 + MsgType_CreateAlias MsgType = 108 + MsgType_DropAlias MsgType = 109 + MsgType_AlterAlias MsgType = 110 // DEFINITION REQUESTS: PARTITION MsgType_CreatePartition MsgType = 200 MsgType_DropPartition MsgType = 201 @@ -265,6 +268,9 @@ var MsgType_name = map[int32]string{ 105: "GetSystemConfigs", 106: "LoadCollection", 107: "ReleaseCollection", + 108: "CreateAlias", + 109: "DropAlias", + 110: "AlterAlias", 200: "CreatePartition", 201: "DropPartition", 202: "HasPartition", @@ -318,6 +324,9 @@ var MsgType_value = map[string]int32{ "GetSystemConfigs": 105, "LoadCollection": 106, "ReleaseCollection": 107, + "CreateAlias": 108, + "DropAlias": 109, + "AlterAlias": 110, "CreatePartition": 200, "DropPartition": 201, "HasPartition": 202, @@ -694,86 +703,87 @@ func init() { func init() { proto.RegisterFile("common.proto", fileDescriptor_555bd8c177793206) } var fileDescriptor_555bd8c177793206 = []byte{ - // 1288 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x55, 0xd9, 0x6e, 0xdb, 0x46, - 0x17, 0xb6, 0x44, 0xd9, 0x32, 0xc7,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, 0x44, 0xe8, 0x31, 0xe8, 0x54, 0x18, 0x23, 0x94, 0x0c, 0x40, 0x0a, 0x88, 0xa9, - 0xc7, 0x2e, 0x90, 0xc5, 0xa6, 0x4a, 0x12, 0x88, 0xac, 0x50, 0xf2, 0x50, 0xd9, 0x9d, 0x73, 0x61, - 0xac, 0xa1, 0x35, 0x2c, 0xdb, 0x4a, 0x12, 0xe8, 0xf2, 0xe4, 0x86, 0xee, 0x66, 0x29, 0x48, 0x4b, - 0x27, 0xb1, 0x46, 0x01, 0x06, 0x22, 0x05, 0x89, 0x95, 0x68, 0xbd, 0x84, 0xb6, 0x64, 0x0c, 0xe7, - 0xa8, 0x1f, 0x9d, 0x66, 0x17, 0xc9, 0x72, 0x81, 0x96, 0x1a, 0xf0, 0x14, 0xa8, 0xcf, 0xe6, 0xc9, - 0x4c, 0xe1, 0x3a, 0x39, 0x3a, 0xbe, 0x49, 0x49, 0xa9, 0x42, 0xa8, 0xee, 0x87, 0x10, 0x29, 0x1d, - 0xd3, 0x99, 0x12, 0x85, 0x3b, 0x10, 0x59, 0xa5, 0x5b, 0x01, 0x6d, 0x20, 0xe1, 0x02, 0x6c, 0x03, - 0xd7, 0x51, 0x2f, 0x04, 0x93, 0x25, 0x96, 0xce, 0x32, 0x4a, 0x1a, 0xbb, 0x22, 0x81, 0x43, 0x65, - 0x77, 0x55, 0x26, 0x63, 0x3a, 0xc7, 0xe6, 0x08, 0x39, 0x00, 0xcb, 0x0b, 0x05, 0xe6, 0xb1, 0x6d, - 0x93, 0x47, 0x3d, 0x28, 0x00, 0xca, 0x56, 0x08, 0x6b, 0x72, 0x29, 0x95, 0x6d, 0x6a, 0xe0, 0x16, - 0x76, 0x55, 0x12, 0x83, 0xa6, 0x0b, 0x48, 0xe7, 0x39, 0x5c, 0x24, 0x40, 0xd9, 0x38, 0x3a, 0x80, - 0x04, 0x46, 0xd1, 0x8b, 0xe3, 0xe8, 0x02, 0xc7, 0xe8, 0x25, 0x24, 0xbf, 0x9d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, - 0xaf, 0x35, 0x64, 0x75, 0x22, 0x52, 0x38, 0x11, 0xd1, 0x3d, 0xfa, 0x89, 0x8f, 0xac, 0x5c, 0xd2, - 0xa1, 0x8a, 0x01, 0xe9, 0x1b, 0xfa, 0xa9, 0x8f, 0xd2, 0xe3, 0xe8, 0x72, 0xe9, 0x3f, 0x73, 0x76, - 0xf1, 0xc6, 0xb4, 0x02, 0xfa, 0x39, 0x3e, 0xe8, 0xa4, 0xb0, 0x4f, 0xda, 0x47, 0xf4, 0x0b, 0x1f, - 0x8f, 0x71, 0x23, 0x49, 0x54, 0xc4, 0xed, 0xe8, 0x02, 0x7d, 0xe9, 0xe3, 0x0d, 0x2c, 0x3d, 0x0f, - 0x85, 0x30, 0x5f, 0xf9, 0x78, 0xbc, 0x02, 0x77, 0x63, 0x0b, 0xf0, 0xd9, 0xf8, 0xda, 0x55, 0x0d, - 0xb8, 0xe5, 0xc8, 0xe4, 0xc4, 0xd2, 0x6f, 0xfc, 0x8d, 0x75, 0x52, 0x0f, 0x4c, 0xe2, 0x5e, 0x81, - 0x3a, 0xf1, 0x02, 0x93, 0xd0, 0x09, 0x7c, 0xac, 0xb6, 0x95, 0x4a, 0x76, 0xce, 0xfb, 0xfa, 0xce, - 0xcb, 0xb4, 0xb2, 0xfd, 0xea, 0xdb, 0xd7, 0xba, 0xc2, 0xf6, 0xb2, 0x53, 0xfc, 0x91, 0x6e, 0xe5, - 0x7f, 0xd6, 0xab, 0x42, 0x15, 0x5f, 0x5b, 0x42, 0x5a, 0xd0, 0x92, 0x27, 0x5b, 0xee, 0x67, 0xbb, - 0x95, 0xff, 0x6c, 0xfb, 0xa7, 0xa7, 0x53, 0xce, 0xbe, 0xf6, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xe0, 0x24, 0x61, 0xe5, 0x46, 0x09, 0x00, 0x00, + // 1310 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 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 0xec, 0x72, 0xa8, 0xc7, 0x16, 0xc8, 0x6c, 0x53, 0x49, 0x09, 0x91, 0xdd, 0xe3, + 0x22, 0x81, 0x98, 0x56, 0xd8, 0x12, 0xa1, 0x27, 0xa0, 0x53, 0x61, 0x8c, 0x50, 0x32, 0x00, 0x29, + 0x20, 0xa6, 0x3e, 0xbb, 0x44, 0x16, 0x9b, 0x2a, 0x49, 0x20, 0xb2, 0x42, 0xc9, 0x23, 0x65, 0x77, + 0x2f, 0x84, 0xb1, 0x86, 0x56, 0x91, 0xb6, 0x95, 0x24, 0xd0, 0xe5, 0xc9, 0xb6, 0xee, 0x66, 0x29, + 0x48, 0x4b, 0x27, 0x91, 0xa3, 0x00, 0x03, 0x91, 0x82, 0x44, 0x26, 0x5a, 0x2b, 0xa1, 0x2d, 0x19, + 0xc3, 0x05, 0xfa, 0x47, 0xa7, 0xd9, 0x65, 0xb2, 0x5c, 0xa0, 0xa5, 0x03, 0x78, 0x0a, 0xb4, 0xce, + 0xe6, 0xc9, 0x4c, 0xb1, 0x74, 0x7a, 0x7c, 0x72, 0x8b, 0x92, 0x12, 0x43, 0xa8, 0x1e, 0x84, 0x10, + 0x29, 0x1d, 0xd3, 0x99, 0x92, 0x84, 0xbb, 0x10, 0x59, 0xa5, 0x5b, 0x01, 0x6d, 0xa0, 0xe0, 0x02, + 0x6c, 0x03, 0xd7, 0x51, 0x2f, 0x04, 0x93, 0x25, 0x96, 0xce, 0x32, 0x4a, 0x1a, 0x7b, 0x22, 0x81, + 0x23, 0x65, 0xf7, 0x54, 0x26, 0x63, 0x3a, 0xc7, 0xe6, 0x08, 0x39, 0x04, 0xcb, 0x0b, 0x07, 0xe6, + 0xf1, 0xd8, 0x26, 0x8f, 0x7a, 0x50, 0x00, 0x94, 0xad, 0x10, 0xd6, 0xe4, 0x52, 0x2a, 0xdb, 0xd4, + 0xc0, 0x2d, 0xec, 0xa9, 0x24, 0x06, 0x4d, 0x17, 0x50, 0xce, 0x4b, 0xb8, 0x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 0x13, 0x03, 0x4c, 0x9b, 0xdc, 0x78, 0x34, 0xed, 0xae, 0xb4, 0xbb, 0x99, + 0xb3, 0xa4, 0x7e, 0x47, 0xc6, 0xd0, 0x11, 0x12, 0x62, 0x3a, 0xe1, 0xdc, 0x77, 0x5d, 0x2a, 0xd9, + 0x10, 0x63, 0x91, 0x81, 0x56, 0xfd, 0x12, 0x06, 0x68, 0xe1, 0x01, 0x37, 0x25, 0xa8, 0x83, 0x2d, + 0x0d, 0xc0, 0x44, 0x5a, 0x9c, 0x95, 0xb7, 0x77, 0xd1, 0xda, 0x76, 0x4f, 0x3d, 0x18, 0x63, 0x86, + 0xf6, 0xf0, 0xa4, 0x7d, 0xb0, 0xed, 0x81, 0xb1, 0x90, 0x36, 0x95, 0xec, 0x88, 0xae, 0xa1, 0x02, + 0x4f, 0xba, 0xad, 0x78, 0x5c, 0xda, 0xfe, 0x0e, 0x36, 0x35, 0x84, 0x04, 0xb8, 0x29, 0xb3, 0xde, + 0x77, 0xf3, 0xe7, 0xa4, 0x6e, 0x27, 0x82, 0x1b, 0x9a, 0x60, 0x29, 0xa8, 0x32, 0x0f, 0x53, 0xf4, + 0x7d, 0x3b, 0xb1, 0xa0, 0xf3, 0x58, 0xb2, 0x25, 0x32, 0x9f, 0xe7, 0x9f, 0x70, 0x6d, 0x85, 0x23, + 0xf9, 0xc6, 0x73, 0x1d, 0xd6, 0xaa, 0x3f, 0xc6, 0xbe, 0xc5, 0xeb, 0xde, 0x38, 0xe0, 0x66, 0x0c, + 0x7d, 0xe7, 0xb1, 0x15, 0xb2, 0x30, 0x2c, 0x6d, 0x8c, 0x7f, 0xef, 0xb1, 0x45, 0x32, 0x87, 0xa5, + 0x8d, 0x30, 0x43, 0x7f, 0x70, 0x20, 0x16, 0x51, 0x02, 0x7f, 0x74, 0x0c, 0x45, 0x15, 0x25, 0xfc, + 0x27, 0x77, 0x18, 0x32, 0x14, 0x8d, 0x36, 0xf4, 0xb1, 0x87, 0x4a, 0x87, 0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, 0xce, 0x5b, 0xf9, 0xcf, 0xb9, 0x7f, 0x76, 0x36, 0xe5, 0xe2, 0x1b, + 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xa4, 0x10, 0x52, 0xd9, 0x76, 0x09, 0x00, 0x00, } diff --git a/internal/proto/internal.proto b/internal/proto/internal.proto index 9ed7495083..7e301ff9ed 100644 --- a/internal/proto/internal.proto +++ b/internal/proto/internal.proto @@ -97,6 +97,23 @@ message DropPartitionRequest { int64 partitionID = 7; } +message CreateAliasRequest { + common.MsgBase base = 1; + string collection_name = 2; + string alias = 3; +} + +message DropAliasRequest { + common.MsgBase base = 1; + string alias = 2; +} + +message AlterAliasRequest{ + common.MsgBase base = 1; + string collection_name = 2; + string alias = 3; +} + message CreateIndexRequest { common.MsgBase base = 1; string db_name = 2; diff --git a/internal/proto/internalpb/internal.pb.go b/internal/proto/internalpb/internal.pb.go index 111871e895..a2d8f9e83f 100644 --- a/internal/proto/internalpb/internal.pb.go +++ b/internal/proto/internalpb/internal.pb.go @@ -829,6 +829,163 @@ func (m *DropPartitionRequest) GetPartitionID() int64 { return 0 } +type CreateAliasRequest struct { + Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + CollectionName string `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` + Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateAliasRequest) Reset() { *m = CreateAliasRequest{} } +func (m *CreateAliasRequest) String() string { return proto.CompactTextString(m) } +func (*CreateAliasRequest) ProtoMessage() {} +func (*CreateAliasRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_41f4a519b878ee3b, []int{14} +} + +func (m *CreateAliasRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateAliasRequest.Unmarshal(m, b) +} +func (m *CreateAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateAliasRequest.Marshal(b, m, deterministic) +} +func (m *CreateAliasRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateAliasRequest.Merge(m, src) +} +func (m *CreateAliasRequest) XXX_Size() int { + return xxx_messageInfo_CreateAliasRequest.Size(m) +} +func (m *CreateAliasRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateAliasRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateAliasRequest proto.InternalMessageInfo + +func (m *CreateAliasRequest) GetBase() *commonpb.MsgBase { + if m != nil { + return m.Base + } + return nil +} + +func (m *CreateAliasRequest) GetCollectionName() string { + if m != nil { + return m.CollectionName + } + return "" +} + +func (m *CreateAliasRequest) GetAlias() string { + if m != nil { + return m.Alias + } + return "" +} + +type DropAliasRequest struct { + Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DropAliasRequest) Reset() { *m = DropAliasRequest{} } +func (m *DropAliasRequest) String() string { return proto.CompactTextString(m) } +func (*DropAliasRequest) ProtoMessage() {} +func (*DropAliasRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_41f4a519b878ee3b, []int{15} +} + +func (m *DropAliasRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DropAliasRequest.Unmarshal(m, b) +} +func (m *DropAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DropAliasRequest.Marshal(b, m, deterministic) +} +func (m *DropAliasRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DropAliasRequest.Merge(m, src) +} +func (m *DropAliasRequest) XXX_Size() int { + return xxx_messageInfo_DropAliasRequest.Size(m) +} +func (m *DropAliasRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DropAliasRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DropAliasRequest proto.InternalMessageInfo + +func (m *DropAliasRequest) GetBase() *commonpb.MsgBase { + if m != nil { + return m.Base + } + return nil +} + +func (m *DropAliasRequest) GetAlias() string { + if m != nil { + return m.Alias + } + return "" +} + +type AlterAliasRequest struct { + Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + CollectionName string `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` + Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AlterAliasRequest) Reset() { *m = AlterAliasRequest{} } +func (m *AlterAliasRequest) String() string { return proto.CompactTextString(m) } +func (*AlterAliasRequest) ProtoMessage() {} +func (*AlterAliasRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_41f4a519b878ee3b, []int{16} +} + +func (m *AlterAliasRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AlterAliasRequest.Unmarshal(m, b) +} +func (m *AlterAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AlterAliasRequest.Marshal(b, m, deterministic) +} +func (m *AlterAliasRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AlterAliasRequest.Merge(m, src) +} +func (m *AlterAliasRequest) XXX_Size() int { + return xxx_messageInfo_AlterAliasRequest.Size(m) +} +func (m *AlterAliasRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AlterAliasRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AlterAliasRequest proto.InternalMessageInfo + +func (m *AlterAliasRequest) GetBase() *commonpb.MsgBase { + if m != nil { + return m.Base + } + return nil +} + +func (m *AlterAliasRequest) GetCollectionName() string { + if m != nil { + return m.CollectionName + } + return "" +} + +func (m *AlterAliasRequest) GetAlias() string { + if m != nil { + return m.Alias + } + return "" +} + type CreateIndexRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` @@ -847,7 +1004,7 @@ func (m *CreateIndexRequest) Reset() { *m = CreateIndexRequest{} } func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) } func (*CreateIndexRequest) ProtoMessage() {} func (*CreateIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{14} + return fileDescriptor_41f4a519b878ee3b, []int{17} } func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error { @@ -946,7 +1103,7 @@ func (m *InsertRequest) Reset() { *m = InsertRequest{} } func (m *InsertRequest) String() string { return proto.CompactTextString(m) } func (*InsertRequest) ProtoMessage() {} func (*InsertRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{15} + return fileDescriptor_41f4a519b878ee3b, []int{18} } func (m *InsertRequest) XXX_Unmarshal(b []byte) error { @@ -1074,7 +1231,7 @@ func (m *SearchRequest) Reset() { *m = SearchRequest{} } func (m *SearchRequest) String() string { return proto.CompactTextString(m) } func (*SearchRequest) ProtoMessage() {} func (*SearchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{16} + return fileDescriptor_41f4a519b878ee3b, []int{19} } func (m *SearchRequest) XXX_Unmarshal(b []byte) error { @@ -1202,7 +1359,7 @@ func (m *SearchResults) Reset() { *m = SearchResults{} } func (m *SearchResults) String() string { return proto.CompactTextString(m) } func (*SearchResults) ProtoMessage() {} func (*SearchResults) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{17} + return fileDescriptor_41f4a519b878ee3b, []int{20} } func (m *SearchResults) XXX_Unmarshal(b []byte) error { @@ -1326,7 +1483,7 @@ func (m *RetrieveRequest) Reset() { *m = RetrieveRequest{} } func (m *RetrieveRequest) String() string { return proto.CompactTextString(m) } func (*RetrieveRequest) ProtoMessage() {} func (*RetrieveRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{18} + return fileDescriptor_41f4a519b878ee3b, []int{21} } func (m *RetrieveRequest) XXX_Unmarshal(b []byte) error { @@ -1428,7 +1585,7 @@ func (m *RetrieveResults) Reset() { *m = RetrieveResults{} } func (m *RetrieveResults) String() string { return proto.CompactTextString(m) } func (*RetrieveResults) ProtoMessage() {} func (*RetrieveResults) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{19} + return fileDescriptor_41f4a519b878ee3b, []int{22} } func (m *RetrieveResults) XXX_Unmarshal(b []byte) error { @@ -1520,7 +1677,7 @@ func (m *DeleteRequest) Reset() { *m = DeleteRequest{} } func (m *DeleteRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRequest) ProtoMessage() {} func (*DeleteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{20} + return fileDescriptor_41f4a519b878ee3b, []int{23} } func (m *DeleteRequest) XXX_Unmarshal(b []byte) error { @@ -1588,7 +1745,7 @@ func (m *LoadBalanceSegmentsRequest) Reset() { *m = LoadBalanceSegmentsR func (m *LoadBalanceSegmentsRequest) String() string { return proto.CompactTextString(m) } func (*LoadBalanceSegmentsRequest) ProtoMessage() {} func (*LoadBalanceSegmentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{21} + return fileDescriptor_41f4a519b878ee3b, []int{24} } func (m *LoadBalanceSegmentsRequest) XXX_Unmarshal(b []byte) error { @@ -1639,7 +1796,7 @@ func (m *LoadIndex) Reset() { *m = LoadIndex{} } func (m *LoadIndex) String() string { return proto.CompactTextString(m) } func (*LoadIndex) ProtoMessage() {} func (*LoadIndex) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{22} + return fileDescriptor_41f4a519b878ee3b, []int{25} } func (m *LoadIndex) XXX_Unmarshal(b []byte) error { @@ -1719,7 +1876,7 @@ func (m *SegmentStatisticsUpdates) Reset() { *m = SegmentStatisticsUpdat func (m *SegmentStatisticsUpdates) String() string { return proto.CompactTextString(m) } func (*SegmentStatisticsUpdates) ProtoMessage() {} func (*SegmentStatisticsUpdates) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{23} + return fileDescriptor_41f4a519b878ee3b, []int{26} } func (m *SegmentStatisticsUpdates) XXX_Unmarshal(b []byte) error { @@ -1801,7 +1958,7 @@ func (m *SegmentStatistics) Reset() { *m = SegmentStatistics{} } func (m *SegmentStatistics) String() string { return proto.CompactTextString(m) } func (*SegmentStatistics) ProtoMessage() {} func (*SegmentStatistics) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{24} + return fileDescriptor_41f4a519b878ee3b, []int{27} } func (m *SegmentStatistics) XXX_Unmarshal(b []byte) error { @@ -1848,7 +2005,7 @@ func (m *IndexStats) Reset() { *m = IndexStats{} } func (m *IndexStats) String() string { return proto.CompactTextString(m) } func (*IndexStats) ProtoMessage() {} func (*IndexStats) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{25} + return fileDescriptor_41f4a519b878ee3b, []int{28} } func (m *IndexStats) XXX_Unmarshal(b []byte) error { @@ -1896,7 +2053,7 @@ func (m *FieldStats) Reset() { *m = FieldStats{} } func (m *FieldStats) String() string { return proto.CompactTextString(m) } func (*FieldStats) ProtoMessage() {} func (*FieldStats) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{26} + return fileDescriptor_41f4a519b878ee3b, []int{29} } func (m *FieldStats) XXX_Unmarshal(b []byte) error { @@ -1952,7 +2109,7 @@ func (m *SegmentStats) Reset() { *m = SegmentStats{} } func (m *SegmentStats) String() string { return proto.CompactTextString(m) } func (*SegmentStats) ProtoMessage() {} func (*SegmentStats) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{27} + return fileDescriptor_41f4a519b878ee3b, []int{30} } func (m *SegmentStats) XXX_Unmarshal(b []byte) error { @@ -2014,7 +2171,7 @@ func (m *QueryNodeStats) Reset() { *m = QueryNodeStats{} } func (m *QueryNodeStats) String() string { return proto.CompactTextString(m) } func (*QueryNodeStats) ProtoMessage() {} func (*QueryNodeStats) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{28} + return fileDescriptor_41f4a519b878ee3b, []int{31} } func (m *QueryNodeStats) XXX_Unmarshal(b []byte) error { @@ -2070,7 +2227,7 @@ func (m *MsgPosition) Reset() { *m = MsgPosition{} } func (m *MsgPosition) String() string { return proto.CompactTextString(m) } func (*MsgPosition) ProtoMessage() {} func (*MsgPosition) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{29} + return fileDescriptor_41f4a519b878ee3b, []int{32} } func (m *MsgPosition) XXX_Unmarshal(b []byte) error { @@ -2133,7 +2290,7 @@ func (m *ChannelTimeTickMsg) Reset() { *m = ChannelTimeTickMsg{} } func (m *ChannelTimeTickMsg) String() string { return proto.CompactTextString(m) } func (*ChannelTimeTickMsg) ProtoMessage() {} func (*ChannelTimeTickMsg) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{30} + return fileDescriptor_41f4a519b878ee3b, []int{33} } func (m *ChannelTimeTickMsg) XXX_Unmarshal(b []byte) error { @@ -2198,6 +2355,9 @@ func init() { proto.RegisterType((*DropCollectionRequest)(nil), "milvus.proto.internal.DropCollectionRequest") proto.RegisterType((*CreatePartitionRequest)(nil), "milvus.proto.internal.CreatePartitionRequest") proto.RegisterType((*DropPartitionRequest)(nil), "milvus.proto.internal.DropPartitionRequest") + proto.RegisterType((*CreateAliasRequest)(nil), "milvus.proto.internal.CreateAliasRequest") + proto.RegisterType((*DropAliasRequest)(nil), "milvus.proto.internal.DropAliasRequest") + proto.RegisterType((*AlterAliasRequest)(nil), "milvus.proto.internal.AlterAliasRequest") proto.RegisterType((*CreateIndexRequest)(nil), "milvus.proto.internal.CreateIndexRequest") proto.RegisterType((*InsertRequest)(nil), "milvus.proto.internal.InsertRequest") proto.RegisterType((*SearchRequest)(nil), "milvus.proto.internal.SearchRequest") @@ -2220,128 +2380,131 @@ func init() { func init() { proto.RegisterFile("internal.proto", fileDescriptor_41f4a519b878ee3b) } var fileDescriptor_41f4a519b878ee3b = []byte{ - // 1958 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0x5b, 0x6f, 0x1c, 0x49, - 0x15, 0xa6, 0xa7, 0xc7, 0x9e, 0x99, 0xd3, 0x63, 0x67, 0x52, 0xf1, 0x66, 0xdb, 0x4e, 0x36, 0xf1, - 0xf6, 0x2e, 0x60, 0x36, 0x22, 0x0e, 0x5e, 0x60, 0x57, 0x08, 0x91, 0x5d, 0x7b, 0x96, 0x30, 0xca, - 0xda, 0x98, 0x76, 0x76, 0x25, 0x78, 0x69, 0xd5, 0x74, 0x97, 0xc7, 0x4d, 0xfa, 0xb6, 0x5d, 0xd5, - 0x4e, 0x66, 0x9f, 0x10, 0xe2, 0x09, 0x04, 0x12, 0x48, 0xfc, 0x0d, 0x5e, 0x79, 0xe2, 0x22, 0x9e, - 0x90, 0xf8, 0x05, 0xfc, 0x13, 0xc4, 0x13, 0xaa, 0x53, 0xd5, 0x97, 0x19, 0x8f, 0x8d, 0xe3, 0x08, - 0x58, 0x04, 0x6f, 0x5d, 0xdf, 0x39, 0x75, 0x39, 0xdf, 0xb9, 0xd4, 0x99, 0x1a, 0x58, 0x0d, 0x13, - 0xc1, 0xf2, 0x84, 0x46, 0xf7, 0xb3, 0x3c, 0x15, 0x29, 0x79, 0x25, 0x0e, 0xa3, 0xd3, 0x82, 0xab, - 0xd1, 0xfd, 0x52, 0xb8, 0xd1, 0xf7, 0xd3, 0x38, 0x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26, 0x9a, 0xfb, 0x17, 0x5f, 0x8d, 0xbc, 0x0a, 0x9d, 0x60, 0xec, 0x25, 0x34, 0x2e, - 0xc9, 0x5e, 0x0e, 0xc6, 0x07, 0x34, 0x66, 0xe4, 0x0b, 0xb0, 0xea, 0x57, 0xeb, 0x4b, 0x04, 0x63, - 0xae, 0xe7, 0xce, 0xa1, 0xe4, 0x4d, 0x58, 0xc9, 0x68, 0x2e, 0xc2, 0x4a, 0xad, 0x8d, 0x6a, 0xb3, - 0xa0, 0x74, 0x68, 0x30, 0x1e, 0x0d, 0xed, 0x25, 0x74, 0x16, 0x7e, 0x13, 0x07, 0xfa, 0xf5, 0x5a, - 0xa3, 0xa1, 0xbd, 0x8c, 0xb2, 0x19, 0x8c, 0x6c, 0x82, 0x55, 0x2d, 0x34, 0x1a, 0xda, 0x1d, 0x54, - 0x69, 0x42, 0xd2, 0x39, 0xaa, 0x16, 0xd9, 0xdd, 0x4d, 0x63, 0xab, 0xef, 0xea, 0x11, 0x79, 0x00, - 0x37, 0x4e, 0xc3, 0x5c, 0x14, 0x34, 0xd2, 0xf1, 0x29, 0xcf, 0xc1, 0xed, 0x1e, 0x7a, 0x70, 0x91, - 0x88, 0xec, 0xc0, 0x5a, 0x76, 0x32, 0xe5, 0xa1, 0x3f, 0x37, 0x05, 0x70, 0xca, 0x42, 0x99, 0xf3, - 0x27, 0x03, 0x5e, 0x19, 0xe6, 0x69, 0xf6, 0x99, 0x70, 0x45, 0x49, 0x72, 0xfb, 0x02, 0x92, 0x97, - 0xce, 0x92, 0xec, 0xfc, 0xbc, 0x05, 0x37, 0x55, 0x44, 0x1d, 0x96, 0xc4, 0xfe, 0x0b, 0xac, 0xf8, - 0x22, 0x5c, 0xab, 0x77, 0x55, 0x0a, 0x8b, 0xcd, 0xf8, 0x3c, 0xac, 0x56, 0x0e, 0x56, 0x7a, 0xff, - 0xde, 0x90, 0x72, 0x7e, 0xd6, 0x82, 0x35, 0xe9, 0xd4, 0xff, 0xb3, 0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x1a, 0x00, 0x00, + // 2003 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xdd, 0x6f, 0x24, 0x47, + 0x11, 0x67, 0x76, 0xd6, 0xde, 0xdd, 0xda, 0xb5, 0x6f, 0xdd, 0xf6, 0x5d, 0xc6, 0xbe, 0xcb, 0x9d, + 0x33, 0x09, 0x60, 0x72, 0xe2, 0x7c, 0x38, 0x40, 0x22, 0x84, 0xb8, 0x9c, 0xbd, 0xe1, 0x58, 0x5d, + 0x6c, 0xcc, 0xf8, 0x12, 0x89, 0xbc, 0x8c, 0x7a, 0x67, 0xda, 0xeb, 0xe1, 0xe6, 0x2b, 0xd3, 0x3d, + 0xbe, 0xdb, 0x3c, 0x21, 0x04, 0x2f, 0x20, 0x90, 0x40, 0xe2, 0xdf, 0xe0, 0x95, 0x27, 0x3e, 0xc4, + 0x13, 0x12, 0x7f, 0x01, 0xff, 0x09, 0xe2, 0x09, 0x75, 0x75, 0xcf, 0xc7, 0xae, 0xd7, 0xc6, 0xe7, + 0x13, 0x49, 0x10, 0xbc, 0x4d, 0x57, 0x55, 0x7f, 0xd4, 0xaf, 0x7e, 0xd5, 0x55, 0xdb, 0x0b, 0xcb, + 0x41, 0x2c, 0x58, 0x16, 0xd3, 0xf0, 0x5e, 0x9a, 0x25, 0x22, 0x21, 0xd7, 0xa3, 0x20, 0x3c, 0xcd, + 0xb9, 0x1a, 0xdd, 0x2b, 0x94, 0x1b, 0x3d, 0x2f, 0x89, 0xa2, 0x24, 0x56, 0xe2, 0x8d, 0x1e, 0xf7, + 0x4e, 0x58, 0x44, 0xd5, 0xc8, 0xfe, 0xa3, 0x01, 0x4b, 0x7b, 0x49, 0x94, 0x26, 0x31, 0x8b, 0xc5, + 0x30, 0x3e, 0x4e, 0xc8, 0x0d, 0x58, 0x8c, 0x13, 0x9f, 0x0d, 0x07, 0x96, 0xb1, 0x69, 0x6c, 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 0x11, 0xc3, 0x09, 0x01, 0x17, 0x81, 0xc7, 0x67, 0xd4, 0xd7, + 0x61, 0xf5, 0x11, 0x13, 0x03, 0x7f, 0x46, 0xfc, 0x21, 0xb4, 0x0f, 0x64, 0xb0, 0x25, 0x0d, 0xbe, + 0x09, 0x2d, 0xea, 0xfb, 0x19, 0xe3, 0x5c, 0xa3, 0x78, 0x6b, 0xee, 0x89, 0x1f, 0x2a, 0x1b, 0xa7, + 0x30, 0x9e, 0x47, 0x13, 0xfb, 0x47, 0x00, 0xc3, 0x38, 0x10, 0x87, 0x34, 0xa3, 0x11, 0x3f, 0x97, + 0x60, 0x03, 0xe8, 0x71, 0x41, 0x33, 0xe1, 0xa6, 0x68, 0xa7, 0x21, 0xbf, 0x04, 0x1b, 0xba, 0x38, + 0x4d, 0xad, 0x6e, 0xff, 0x10, 0xe0, 0x48, 0x64, 0x41, 0x3c, 0x7e, 0x3f, 0xe0, 0x42, 0xee, 0x75, + 0x2a, 0xed, 0xa4, 0x13, 0xe6, 0x56, 0xc7, 0xd1, 0xa3, 0x5a, 0x38, 0x1a, 0x97, 0x0f, 0xc7, 0x03, + 0xe8, 0x16, 0x70, 0xef, 0xf3, 0x31, 0xb9, 0x0f, 0xcd, 0x11, 0xe5, 0xec, 0x42, 0x78, 0xf6, 0xf9, + 0x78, 0x97, 0x72, 0xe6, 0xa0, 0xa5, 0xfd, 0x73, 0x13, 0x5e, 0xd9, 0xcb, 0x18, 0x92, 0x3f, 0x0c, + 0x99, 0x27, 0x82, 0x24, 0xd6, 0xd8, 0xbf, 0xf8, 0x6a, 0xe4, 0x15, 0x68, 0xf9, 0x23, 0x37, 0xa6, + 0x51, 0x01, 0xf6, 0xa2, 0x3f, 0x3a, 0xa0, 0x11, 0x23, 0x5f, 0x82, 0x65, 0xaf, 0x5c, 0x5f, 0x4a, + 0x90, 0x73, 0x1d, 0x67, 0x46, 0x4a, 0xde, 0x80, 0xa5, 0x94, 0x66, 0x22, 0x28, 0xcd, 0x9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1c, 0x00, 0x00, } diff --git a/internal/proto/milvus.proto b/internal/proto/milvus.proto index 17823e4bb7..ce996c858e 100644 --- a/internal/proto/milvus.proto +++ b/internal/proto/milvus.proto @@ -24,6 +24,10 @@ service MilvusService { rpc GetPartitionStatistics(GetPartitionStatisticsRequest) returns (GetPartitionStatisticsResponse) {} rpc ShowPartitions(ShowPartitionsRequest) returns (ShowPartitionsResponse) {} + rpc CreateAlias(CreateAliasRequest) returns (common.Status) {} + rpc DropAlias(DropAliasRequest) returns (common.Status) {} + rpc AlterAlias(AlterAliasRequest) returns (common.Status) {} + rpc CreateIndex(CreateIndexRequest) returns (common.Status) {} rpc DescribeIndex(DescribeIndexRequest) returns (DescribeIndexResponse) {} rpc GetIndexState(GetIndexStateRequest) returns (GetIndexStateResponse) {} @@ -49,8 +53,25 @@ service MilvusService { rpc GetMetrics(GetMetricsRequest) returns (GetMetricsResponse) {} } +message CreateAliasRequest { + common.MsgBase base = 1; + string collection_name = 2; + string alias = 3; +} + +message DropAliasRequest { + common.MsgBase base = 1; + string alias = 2; +} + +message AlterAliasRequest{ + common.MsgBase base = 1; + string collection_name = 2; + string alias = 3; +} + /** -* Create collection in milvus +* Create collection in milvus */ message CreateCollectionRequest { // Not useful for now @@ -138,7 +159,9 @@ message DescribeCollectionResponse { // The utc timestamp calculated by created_timestamp uint64 created_utc_timestamp = 7; // The shards number you set. - int32 shards_num = 8; + int32 shards_num = 8; + // The aliases of this collection + repeated string aliases = 9; } /** @@ -563,4 +586,4 @@ message GetMetricsResponse { service ProxyService { rpc RegisterLink(RegisterLinkRequest) returns (RegisterLinkResponse) {} -} \ No newline at end of file +} diff --git a/internal/proto/milvuspb/milvus.pb.go b/internal/proto/milvuspb/milvus.pb.go index ffa1d8d3ed..7ec8e429d8 100644 --- a/internal/proto/milvuspb/milvus.pb.go +++ b/internal/proto/milvuspb/milvus.pb.go @@ -79,6 +79,163 @@ func (PlaceholderType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_02345ba45cc0e303, []int{1} } +type CreateAliasRequest struct { + Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + CollectionName string `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` + Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateAliasRequest) Reset() { *m = CreateAliasRequest{} } +func (m *CreateAliasRequest) String() string { return proto.CompactTextString(m) } +func (*CreateAliasRequest) ProtoMessage() {} +func (*CreateAliasRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_02345ba45cc0e303, []int{0} +} + +func (m *CreateAliasRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateAliasRequest.Unmarshal(m, b) +} +func (m *CreateAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateAliasRequest.Marshal(b, m, deterministic) +} +func (m *CreateAliasRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateAliasRequest.Merge(m, src) +} +func (m *CreateAliasRequest) XXX_Size() int { + return xxx_messageInfo_CreateAliasRequest.Size(m) +} +func (m *CreateAliasRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateAliasRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateAliasRequest proto.InternalMessageInfo + +func (m *CreateAliasRequest) GetBase() *commonpb.MsgBase { + if m != nil { + return m.Base + } + return nil +} + +func (m *CreateAliasRequest) GetCollectionName() string { + if m != nil { + return m.CollectionName + } + return "" +} + +func (m *CreateAliasRequest) GetAlias() string { + if m != nil { + return m.Alias + } + return "" +} + +type DropAliasRequest struct { + Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DropAliasRequest) Reset() { *m = DropAliasRequest{} } +func (m *DropAliasRequest) String() string { return proto.CompactTextString(m) } +func (*DropAliasRequest) ProtoMessage() {} +func (*DropAliasRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_02345ba45cc0e303, []int{1} +} + +func (m *DropAliasRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DropAliasRequest.Unmarshal(m, b) +} +func (m *DropAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DropAliasRequest.Marshal(b, m, deterministic) +} +func (m *DropAliasRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DropAliasRequest.Merge(m, src) +} +func (m *DropAliasRequest) XXX_Size() int { + return xxx_messageInfo_DropAliasRequest.Size(m) +} +func (m *DropAliasRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DropAliasRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DropAliasRequest proto.InternalMessageInfo + +func (m *DropAliasRequest) GetBase() *commonpb.MsgBase { + if m != nil { + return m.Base + } + return nil +} + +func (m *DropAliasRequest) GetAlias() string { + if m != nil { + return m.Alias + } + return "" +} + +type AlterAliasRequest struct { + Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + CollectionName string `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` + Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AlterAliasRequest) Reset() { *m = AlterAliasRequest{} } +func (m *AlterAliasRequest) String() string { return proto.CompactTextString(m) } +func (*AlterAliasRequest) ProtoMessage() {} +func (*AlterAliasRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_02345ba45cc0e303, []int{2} +} + +func (m *AlterAliasRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AlterAliasRequest.Unmarshal(m, b) +} +func (m *AlterAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AlterAliasRequest.Marshal(b, m, deterministic) +} +func (m *AlterAliasRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AlterAliasRequest.Merge(m, src) +} +func (m *AlterAliasRequest) XXX_Size() int { + return xxx_messageInfo_AlterAliasRequest.Size(m) +} +func (m *AlterAliasRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AlterAliasRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AlterAliasRequest proto.InternalMessageInfo + +func (m *AlterAliasRequest) GetBase() *commonpb.MsgBase { + if m != nil { + return m.Base + } + return nil +} + +func (m *AlterAliasRequest) GetCollectionName() string { + if m != nil { + return m.CollectionName + } + return "" +} + +func (m *AlterAliasRequest) GetAlias() string { + if m != nil { + return m.Alias + } + return "" +} + //* // Create collection in milvus type CreateCollectionRequest struct { @@ -102,7 +259,7 @@ func (m *CreateCollectionRequest) Reset() { *m = CreateCollectionRequest func (m *CreateCollectionRequest) String() string { return proto.CompactTextString(m) } func (*CreateCollectionRequest) ProtoMessage() {} func (*CreateCollectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{0} + return fileDescriptor_02345ba45cc0e303, []int{3} } func (m *CreateCollectionRequest) XXX_Unmarshal(b []byte) error { @@ -176,7 +333,7 @@ func (m *DropCollectionRequest) Reset() { *m = DropCollectionRequest{} } func (m *DropCollectionRequest) String() string { return proto.CompactTextString(m) } func (*DropCollectionRequest) ProtoMessage() {} func (*DropCollectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{1} + return fileDescriptor_02345ba45cc0e303, []int{4} } func (m *DropCollectionRequest) XXX_Unmarshal(b []byte) error { @@ -238,7 +395,7 @@ func (m *HasCollectionRequest) Reset() { *m = HasCollectionRequest{} } func (m *HasCollectionRequest) String() string { return proto.CompactTextString(m) } func (*HasCollectionRequest) ProtoMessage() {} func (*HasCollectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{2} + return fileDescriptor_02345ba45cc0e303, []int{5} } func (m *HasCollectionRequest) XXX_Unmarshal(b []byte) error { @@ -299,7 +456,7 @@ func (m *BoolResponse) Reset() { *m = BoolResponse{} } func (m *BoolResponse) String() string { return proto.CompactTextString(m) } func (*BoolResponse) ProtoMessage() {} func (*BoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{3} + return fileDescriptor_02345ba45cc0e303, []int{6} } func (m *BoolResponse) XXX_Unmarshal(b []byte) error { @@ -346,7 +503,7 @@ func (m *StringResponse) Reset() { *m = StringResponse{} } func (m *StringResponse) String() string { return proto.CompactTextString(m) } func (*StringResponse) ProtoMessage() {} func (*StringResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{4} + return fileDescriptor_02345ba45cc0e303, []int{7} } func (m *StringResponse) XXX_Unmarshal(b []byte) error { @@ -403,7 +560,7 @@ func (m *DescribeCollectionRequest) Reset() { *m = DescribeCollectionReq func (m *DescribeCollectionRequest) String() string { return proto.CompactTextString(m) } func (*DescribeCollectionRequest) ProtoMessage() {} func (*DescribeCollectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{5} + return fileDescriptor_02345ba45cc0e303, []int{8} } func (m *DescribeCollectionRequest) XXX_Unmarshal(b []byte) error { @@ -477,7 +634,9 @@ type DescribeCollectionResponse struct { // The utc timestamp calculated by created_timestamp CreatedUtcTimestamp uint64 `protobuf:"varint,7,opt,name=created_utc_timestamp,json=createdUtcTimestamp,proto3" json:"created_utc_timestamp,omitempty"` // The shards number you set. - ShardsNum int32 `protobuf:"varint,8,opt,name=shards_num,json=shardsNum,proto3" json:"shards_num,omitempty"` + ShardsNum int32 `protobuf:"varint,8,opt,name=shards_num,json=shardsNum,proto3" json:"shards_num,omitempty"` + // The aliases of this collection + Aliases []string `protobuf:"bytes,9,rep,name=aliases,proto3" json:"aliases,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -487,7 +646,7 @@ func (m *DescribeCollectionResponse) Reset() { *m = DescribeCollectionRe func (m *DescribeCollectionResponse) String() string { return proto.CompactTextString(m) } func (*DescribeCollectionResponse) ProtoMessage() {} func (*DescribeCollectionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{6} + return fileDescriptor_02345ba45cc0e303, []int{9} } func (m *DescribeCollectionResponse) XXX_Unmarshal(b []byte) error { @@ -564,6 +723,13 @@ func (m *DescribeCollectionResponse) GetShardsNum() int32 { return 0 } +func (m *DescribeCollectionResponse) GetAliases() []string { + if m != nil { + return m.Aliases + } + return nil +} + //* // Load collection data into query nodes, then you can do vector search on this collection. type LoadCollectionRequest struct { @@ -582,7 +748,7 @@ func (m *LoadCollectionRequest) Reset() { *m = LoadCollectionRequest{} } func (m *LoadCollectionRequest) String() string { return proto.CompactTextString(m) } func (*LoadCollectionRequest) ProtoMessage() {} func (*LoadCollectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{7} + return fileDescriptor_02345ba45cc0e303, []int{10} } func (m *LoadCollectionRequest) XXX_Unmarshal(b []byte) error { @@ -642,7 +808,7 @@ func (m *ReleaseCollectionRequest) Reset() { *m = ReleaseCollectionReque func (m *ReleaseCollectionRequest) String() string { return proto.CompactTextString(m) } func (*ReleaseCollectionRequest) ProtoMessage() {} func (*ReleaseCollectionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{8} + return fileDescriptor_02345ba45cc0e303, []int{11} } func (m *ReleaseCollectionRequest) XXX_Unmarshal(b []byte) error { @@ -702,7 +868,7 @@ func (m *GetCollectionStatisticsRequest) Reset() { *m = GetCollectionSta func (m *GetCollectionStatisticsRequest) String() string { return proto.CompactTextString(m) } func (*GetCollectionStatisticsRequest) ProtoMessage() {} func (*GetCollectionStatisticsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{9} + return fileDescriptor_02345ba45cc0e303, []int{12} } func (m *GetCollectionStatisticsRequest) XXX_Unmarshal(b []byte) error { @@ -760,7 +926,7 @@ func (m *GetCollectionStatisticsResponse) Reset() { *m = GetCollectionSt func (m *GetCollectionStatisticsResponse) String() string { return proto.CompactTextString(m) } func (*GetCollectionStatisticsResponse) ProtoMessage() {} func (*GetCollectionStatisticsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{10} + return fileDescriptor_02345ba45cc0e303, []int{13} } func (m *GetCollectionStatisticsResponse) XXX_Unmarshal(b []byte) error { @@ -810,7 +976,7 @@ func (m *ShowCollectionsRequest) Reset() { *m = ShowCollectionsRequest{} func (m *ShowCollectionsRequest) String() string { return proto.CompactTextString(m) } func (*ShowCollectionsRequest) ProtoMessage() {} func (*ShowCollectionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{11} + return fileDescriptor_02345ba45cc0e303, []int{14} } func (m *ShowCollectionsRequest) XXX_Unmarshal(b []byte) error { @@ -882,7 +1048,7 @@ func (m *ShowCollectionsResponse) Reset() { *m = ShowCollectionsResponse func (m *ShowCollectionsResponse) String() string { return proto.CompactTextString(m) } func (*ShowCollectionsResponse) ProtoMessage() {} func (*ShowCollectionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{12} + return fileDescriptor_02345ba45cc0e303, []int{15} } func (m *ShowCollectionsResponse) XXX_Unmarshal(b []byte) error { @@ -959,7 +1125,7 @@ func (m *CreatePartitionRequest) Reset() { *m = CreatePartitionRequest{} func (m *CreatePartitionRequest) String() string { return proto.CompactTextString(m) } func (*CreatePartitionRequest) ProtoMessage() {} func (*CreatePartitionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{13} + return fileDescriptor_02345ba45cc0e303, []int{16} } func (m *CreatePartitionRequest) XXX_Unmarshal(b []byte) error { @@ -1022,7 +1188,7 @@ func (m *DropPartitionRequest) Reset() { *m = DropPartitionRequest{} } func (m *DropPartitionRequest) String() string { return proto.CompactTextString(m) } func (*DropPartitionRequest) ProtoMessage() {} func (*DropPartitionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{14} + return fileDescriptor_02345ba45cc0e303, []int{17} } func (m *DropPartitionRequest) XXX_Unmarshal(b []byte) error { @@ -1085,7 +1251,7 @@ func (m *HasPartitionRequest) Reset() { *m = HasPartitionRequest{} } func (m *HasPartitionRequest) String() string { return proto.CompactTextString(m) } func (*HasPartitionRequest) ProtoMessage() {} func (*HasPartitionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{15} + return fileDescriptor_02345ba45cc0e303, []int{18} } func (m *HasPartitionRequest) XXX_Unmarshal(b []byte) error { @@ -1148,7 +1314,7 @@ func (m *LoadPartitionsRequest) Reset() { *m = LoadPartitionsRequest{} } func (m *LoadPartitionsRequest) String() string { return proto.CompactTextString(m) } func (*LoadPartitionsRequest) ProtoMessage() {} func (*LoadPartitionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{16} + return fileDescriptor_02345ba45cc0e303, []int{19} } func (m *LoadPartitionsRequest) XXX_Unmarshal(b []byte) error { @@ -1211,7 +1377,7 @@ func (m *ReleasePartitionsRequest) Reset() { *m = ReleasePartitionsReque func (m *ReleasePartitionsRequest) String() string { return proto.CompactTextString(m) } func (*ReleasePartitionsRequest) ProtoMessage() {} func (*ReleasePartitionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{17} + return fileDescriptor_02345ba45cc0e303, []int{20} } func (m *ReleasePartitionsRequest) XXX_Unmarshal(b []byte) error { @@ -1274,7 +1440,7 @@ func (m *GetPartitionStatisticsRequest) Reset() { *m = GetPartitionStati func (m *GetPartitionStatisticsRequest) String() string { return proto.CompactTextString(m) } func (*GetPartitionStatisticsRequest) ProtoMessage() {} func (*GetPartitionStatisticsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{18} + return fileDescriptor_02345ba45cc0e303, []int{21} } func (m *GetPartitionStatisticsRequest) XXX_Unmarshal(b []byte) error { @@ -1335,7 +1501,7 @@ func (m *GetPartitionStatisticsResponse) Reset() { *m = GetPartitionStat func (m *GetPartitionStatisticsResponse) String() string { return proto.CompactTextString(m) } func (*GetPartitionStatisticsResponse) ProtoMessage() {} func (*GetPartitionStatisticsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{19} + return fileDescriptor_02345ba45cc0e303, []int{22} } func (m *GetPartitionStatisticsResponse) XXX_Unmarshal(b []byte) error { @@ -1386,7 +1552,7 @@ func (m *ShowPartitionsRequest) Reset() { *m = ShowPartitionsRequest{} } func (m *ShowPartitionsRequest) String() string { return proto.CompactTextString(m) } func (*ShowPartitionsRequest) ProtoMessage() {} func (*ShowPartitionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{20} + return fileDescriptor_02345ba45cc0e303, []int{23} } func (m *ShowPartitionsRequest) XXX_Unmarshal(b []byte) error { @@ -1465,7 +1631,7 @@ func (m *ShowPartitionsResponse) Reset() { *m = ShowPartitionsResponse{} func (m *ShowPartitionsResponse) String() string { return proto.CompactTextString(m) } func (*ShowPartitionsResponse) ProtoMessage() {} func (*ShowPartitionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{21} + return fileDescriptor_02345ba45cc0e303, []int{24} } func (m *ShowPartitionsResponse) XXX_Unmarshal(b []byte) error { @@ -1541,7 +1707,7 @@ func (m *DescribeSegmentRequest) Reset() { *m = DescribeSegmentRequest{} func (m *DescribeSegmentRequest) String() string { return proto.CompactTextString(m) } func (*DescribeSegmentRequest) ProtoMessage() {} func (*DescribeSegmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{22} + return fileDescriptor_02345ba45cc0e303, []int{25} } func (m *DescribeSegmentRequest) XXX_Unmarshal(b []byte) error { @@ -1597,7 +1763,7 @@ func (m *DescribeSegmentResponse) Reset() { *m = DescribeSegmentResponse func (m *DescribeSegmentResponse) String() string { return proto.CompactTextString(m) } func (*DescribeSegmentResponse) ProtoMessage() {} func (*DescribeSegmentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{23} + return fileDescriptor_02345ba45cc0e303, []int{26} } func (m *DescribeSegmentResponse) XXX_Unmarshal(b []byte) error { @@ -1659,7 +1825,7 @@ func (m *ShowSegmentsRequest) Reset() { *m = ShowSegmentsRequest{} } func (m *ShowSegmentsRequest) String() string { return proto.CompactTextString(m) } func (*ShowSegmentsRequest) ProtoMessage() {} func (*ShowSegmentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{24} + return fileDescriptor_02345ba45cc0e303, []int{27} } func (m *ShowSegmentsRequest) XXX_Unmarshal(b []byte) error { @@ -1713,7 +1879,7 @@ func (m *ShowSegmentsResponse) Reset() { *m = ShowSegmentsResponse{} } func (m *ShowSegmentsResponse) String() string { return proto.CompactTextString(m) } func (*ShowSegmentsResponse) ProtoMessage() {} func (*ShowSegmentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{25} + return fileDescriptor_02345ba45cc0e303, []int{28} } func (m *ShowSegmentsResponse) XXX_Unmarshal(b []byte) error { @@ -1763,7 +1929,7 @@ func (m *CreateIndexRequest) Reset() { *m = CreateIndexRequest{} } func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) } func (*CreateIndexRequest) ProtoMessage() {} func (*CreateIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{26} + return fileDescriptor_02345ba45cc0e303, []int{29} } func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error { @@ -1834,7 +2000,7 @@ func (m *DescribeIndexRequest) Reset() { *m = DescribeIndexRequest{} } func (m *DescribeIndexRequest) String() string { return proto.CompactTextString(m) } func (*DescribeIndexRequest) ProtoMessage() {} func (*DescribeIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{27} + return fileDescriptor_02345ba45cc0e303, []int{30} } func (m *DescribeIndexRequest) XXX_Unmarshal(b []byte) error { @@ -1904,7 +2070,7 @@ func (m *IndexDescription) Reset() { *m = IndexDescription{} } func (m *IndexDescription) String() string { return proto.CompactTextString(m) } func (*IndexDescription) ProtoMessage() {} func (*IndexDescription) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{28} + return fileDescriptor_02345ba45cc0e303, []int{31} } func (m *IndexDescription) XXX_Unmarshal(b []byte) error { @@ -1965,7 +2131,7 @@ func (m *DescribeIndexResponse) Reset() { *m = DescribeIndexResponse{} } func (m *DescribeIndexResponse) String() string { return proto.CompactTextString(m) } func (*DescribeIndexResponse) ProtoMessage() {} func (*DescribeIndexResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{29} + return fileDescriptor_02345ba45cc0e303, []int{32} } func (m *DescribeIndexResponse) XXX_Unmarshal(b []byte) error { @@ -2015,7 +2181,7 @@ func (m *GetIndexBuildProgressRequest) Reset() { *m = GetIndexBuildProgr func (m *GetIndexBuildProgressRequest) String() string { return proto.CompactTextString(m) } func (*GetIndexBuildProgressRequest) ProtoMessage() {} func (*GetIndexBuildProgressRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{30} + return fileDescriptor_02345ba45cc0e303, []int{33} } func (m *GetIndexBuildProgressRequest) XXX_Unmarshal(b []byte) error { @@ -2084,7 +2250,7 @@ func (m *GetIndexBuildProgressResponse) Reset() { *m = GetIndexBuildProg func (m *GetIndexBuildProgressResponse) String() string { return proto.CompactTextString(m) } func (*GetIndexBuildProgressResponse) ProtoMessage() {} func (*GetIndexBuildProgressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{31} + return fileDescriptor_02345ba45cc0e303, []int{34} } func (m *GetIndexBuildProgressResponse) XXX_Unmarshal(b []byte) error { @@ -2141,7 +2307,7 @@ func (m *GetIndexStateRequest) Reset() { *m = GetIndexStateRequest{} } func (m *GetIndexStateRequest) String() string { return proto.CompactTextString(m) } func (*GetIndexStateRequest) ProtoMessage() {} func (*GetIndexStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{32} + return fileDescriptor_02345ba45cc0e303, []int{35} } func (m *GetIndexStateRequest) XXX_Unmarshal(b []byte) error { @@ -2210,7 +2376,7 @@ func (m *GetIndexStateResponse) Reset() { *m = GetIndexStateResponse{} } func (m *GetIndexStateResponse) String() string { return proto.CompactTextString(m) } func (*GetIndexStateResponse) ProtoMessage() {} func (*GetIndexStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{33} + return fileDescriptor_02345ba45cc0e303, []int{36} } func (m *GetIndexStateResponse) XXX_Unmarshal(b []byte) error { @@ -2267,7 +2433,7 @@ func (m *DropIndexRequest) Reset() { *m = DropIndexRequest{} } func (m *DropIndexRequest) String() string { return proto.CompactTextString(m) } func (*DropIndexRequest) ProtoMessage() {} func (*DropIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{34} + return fileDescriptor_02345ba45cc0e303, []int{37} } func (m *DropIndexRequest) XXX_Unmarshal(b []byte) error { @@ -2340,7 +2506,7 @@ func (m *InsertRequest) Reset() { *m = InsertRequest{} } func (m *InsertRequest) String() string { return proto.CompactTextString(m) } func (*InsertRequest) ProtoMessage() {} func (*InsertRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{35} + return fileDescriptor_02345ba45cc0e303, []int{38} } func (m *InsertRequest) XXX_Unmarshal(b []byte) error { @@ -2429,7 +2595,7 @@ func (m *MutationResult) Reset() { *m = MutationResult{} } func (m *MutationResult) String() string { return proto.CompactTextString(m) } func (*MutationResult) ProtoMessage() {} func (*MutationResult) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{36} + return fileDescriptor_02345ba45cc0e303, []int{39} } func (m *MutationResult) XXX_Unmarshal(b []byte) error { @@ -2528,7 +2694,7 @@ func (m *DeleteRequest) Reset() { *m = DeleteRequest{} } func (m *DeleteRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRequest) ProtoMessage() {} func (*DeleteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{37} + return fileDescriptor_02345ba45cc0e303, []int{40} } func (m *DeleteRequest) XXX_Unmarshal(b []byte) error { @@ -2598,7 +2764,7 @@ func (m *PlaceholderValue) Reset() { *m = PlaceholderValue{} } func (m *PlaceholderValue) String() string { return proto.CompactTextString(m) } func (*PlaceholderValue) ProtoMessage() {} func (*PlaceholderValue) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{38} + return fileDescriptor_02345ba45cc0e303, []int{41} } func (m *PlaceholderValue) XXX_Unmarshal(b []byte) error { @@ -2651,7 +2817,7 @@ func (m *PlaceholderGroup) Reset() { *m = PlaceholderGroup{} } func (m *PlaceholderGroup) String() string { return proto.CompactTextString(m) } func (*PlaceholderGroup) ProtoMessage() {} func (*PlaceholderGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{39} + return fileDescriptor_02345ba45cc0e303, []int{42} } func (m *PlaceholderGroup) XXX_Unmarshal(b []byte) error { @@ -2701,7 +2867,7 @@ func (m *SearchRequest) Reset() { *m = SearchRequest{} } func (m *SearchRequest) String() string { return proto.CompactTextString(m) } func (*SearchRequest) ProtoMessage() {} func (*SearchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{40} + return fileDescriptor_02345ba45cc0e303, []int{43} } func (m *SearchRequest) XXX_Unmarshal(b []byte) error { @@ -2812,7 +2978,7 @@ func (m *Hits) Reset() { *m = Hits{} } func (m *Hits) String() string { return proto.CompactTextString(m) } func (*Hits) ProtoMessage() {} func (*Hits) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{41} + return fileDescriptor_02345ba45cc0e303, []int{44} } func (m *Hits) XXX_Unmarshal(b []byte) error { @@ -2866,7 +3032,7 @@ func (m *SearchResults) Reset() { *m = SearchResults{} } func (m *SearchResults) String() string { return proto.CompactTextString(m) } func (*SearchResults) ProtoMessage() {} func (*SearchResults) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{42} + return fileDescriptor_02345ba45cc0e303, []int{45} } func (m *SearchResults) XXX_Unmarshal(b []byte) error { @@ -2914,7 +3080,7 @@ func (m *FlushRequest) Reset() { *m = FlushRequest{} } func (m *FlushRequest) String() string { return proto.CompactTextString(m) } func (*FlushRequest) ProtoMessage() {} func (*FlushRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{43} + return fileDescriptor_02345ba45cc0e303, []int{46} } func (m *FlushRequest) XXX_Unmarshal(b []byte) error { @@ -2969,7 +3135,7 @@ func (m *FlushResponse) Reset() { *m = FlushResponse{} } func (m *FlushResponse) String() string { return proto.CompactTextString(m) } func (*FlushResponse) ProtoMessage() {} func (*FlushResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{44} + return fileDescriptor_02345ba45cc0e303, []int{47} } func (m *FlushResponse) XXX_Unmarshal(b []byte) error { @@ -3029,7 +3195,7 @@ func (m *QueryRequest) Reset() { *m = QueryRequest{} } func (m *QueryRequest) String() string { return proto.CompactTextString(m) } func (*QueryRequest) ProtoMessage() {} func (*QueryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{45} + return fileDescriptor_02345ba45cc0e303, []int{48} } func (m *QueryRequest) XXX_Unmarshal(b []byte) error { @@ -3118,7 +3284,7 @@ func (m *QueryResults) Reset() { *m = QueryResults{} } func (m *QueryResults) String() string { return proto.CompactTextString(m) } func (*QueryResults) ProtoMessage() {} func (*QueryResults) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{46} + return fileDescriptor_02345ba45cc0e303, []int{49} } func (m *QueryResults) XXX_Unmarshal(b []byte) error { @@ -3167,7 +3333,7 @@ func (m *VectorIDs) Reset() { *m = VectorIDs{} } func (m *VectorIDs) String() string { return proto.CompactTextString(m) } func (*VectorIDs) ProtoMessage() {} func (*VectorIDs) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{47} + return fileDescriptor_02345ba45cc0e303, []int{50} } func (m *VectorIDs) XXX_Unmarshal(b []byte) error { @@ -3230,7 +3396,7 @@ func (m *VectorsArray) Reset() { *m = VectorsArray{} } func (m *VectorsArray) String() string { return proto.CompactTextString(m) } func (*VectorsArray) ProtoMessage() {} func (*VectorsArray) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{48} + return fileDescriptor_02345ba45cc0e303, []int{51} } func (m *VectorsArray) XXX_Unmarshal(b []byte) error { @@ -3310,7 +3476,7 @@ func (m *CalcDistanceRequest) Reset() { *m = CalcDistanceRequest{} } func (m *CalcDistanceRequest) String() string { return proto.CompactTextString(m) } func (*CalcDistanceRequest) ProtoMessage() {} func (*CalcDistanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{49} + return fileDescriptor_02345ba45cc0e303, []int{52} } func (m *CalcDistanceRequest) XXX_Unmarshal(b []byte) error { @@ -3376,7 +3542,7 @@ func (m *CalcDistanceResults) Reset() { *m = CalcDistanceResults{} } func (m *CalcDistanceResults) String() string { return proto.CompactTextString(m) } func (*CalcDistanceResults) ProtoMessage() {} func (*CalcDistanceResults) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{50} + return fileDescriptor_02345ba45cc0e303, []int{53} } func (m *CalcDistanceResults) XXX_Unmarshal(b []byte) error { @@ -3464,7 +3630,7 @@ func (m *PersistentSegmentInfo) Reset() { *m = PersistentSegmentInfo{} } func (m *PersistentSegmentInfo) String() string { return proto.CompactTextString(m) } func (*PersistentSegmentInfo) ProtoMessage() {} func (*PersistentSegmentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{51} + return fileDescriptor_02345ba45cc0e303, []int{54} } func (m *PersistentSegmentInfo) XXX_Unmarshal(b []byte) error { @@ -3533,7 +3699,7 @@ func (m *GetPersistentSegmentInfoRequest) Reset() { *m = GetPersistentSe func (m *GetPersistentSegmentInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetPersistentSegmentInfoRequest) ProtoMessage() {} func (*GetPersistentSegmentInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{52} + return fileDescriptor_02345ba45cc0e303, []int{55} } func (m *GetPersistentSegmentInfoRequest) XXX_Unmarshal(b []byte) error { @@ -3587,7 +3753,7 @@ func (m *GetPersistentSegmentInfoResponse) Reset() { *m = GetPersistentS func (m *GetPersistentSegmentInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetPersistentSegmentInfoResponse) ProtoMessage() {} func (*GetPersistentSegmentInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{53} + return fileDescriptor_02345ba45cc0e303, []int{56} } func (m *GetPersistentSegmentInfoResponse) XXX_Unmarshal(b []byte) error { @@ -3639,7 +3805,7 @@ func (m *QuerySegmentInfo) Reset() { *m = QuerySegmentInfo{} } func (m *QuerySegmentInfo) String() string { return proto.CompactTextString(m) } func (*QuerySegmentInfo) ProtoMessage() {} func (*QuerySegmentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{54} + return fileDescriptor_02345ba45cc0e303, []int{57} } func (m *QuerySegmentInfo) XXX_Unmarshal(b []byte) error { @@ -3722,7 +3888,7 @@ func (m *GetQuerySegmentInfoRequest) Reset() { *m = GetQuerySegmentInfoR func (m *GetQuerySegmentInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetQuerySegmentInfoRequest) ProtoMessage() {} func (*GetQuerySegmentInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{55} + return fileDescriptor_02345ba45cc0e303, []int{58} } func (m *GetQuerySegmentInfoRequest) XXX_Unmarshal(b []byte) error { @@ -3776,7 +3942,7 @@ func (m *GetQuerySegmentInfoResponse) Reset() { *m = GetQuerySegmentInfo func (m *GetQuerySegmentInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetQuerySegmentInfoResponse) ProtoMessage() {} func (*GetQuerySegmentInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{56} + return fileDescriptor_02345ba45cc0e303, []int{59} } func (m *GetQuerySegmentInfoResponse) XXX_Unmarshal(b []byte) error { @@ -3822,7 +3988,7 @@ func (m *DummyRequest) Reset() { *m = DummyRequest{} } func (m *DummyRequest) String() string { return proto.CompactTextString(m) } func (*DummyRequest) ProtoMessage() {} func (*DummyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{57} + return fileDescriptor_02345ba45cc0e303, []int{60} } func (m *DummyRequest) XXX_Unmarshal(b []byte) error { @@ -3861,7 +4027,7 @@ func (m *DummyResponse) Reset() { *m = DummyResponse{} } func (m *DummyResponse) String() string { return proto.CompactTextString(m) } func (*DummyResponse) ProtoMessage() {} func (*DummyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{58} + return fileDescriptor_02345ba45cc0e303, []int{61} } func (m *DummyResponse) XXX_Unmarshal(b []byte) error { @@ -3899,7 +4065,7 @@ func (m *RegisterLinkRequest) Reset() { *m = RegisterLinkRequest{} } func (m *RegisterLinkRequest) String() string { return proto.CompactTextString(m) } func (*RegisterLinkRequest) ProtoMessage() {} func (*RegisterLinkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{59} + return fileDescriptor_02345ba45cc0e303, []int{62} } func (m *RegisterLinkRequest) XXX_Unmarshal(b []byte) error { @@ -3932,7 +4098,7 @@ func (m *RegisterLinkResponse) Reset() { *m = RegisterLinkResponse{} } func (m *RegisterLinkResponse) String() string { return proto.CompactTextString(m) } func (*RegisterLinkResponse) ProtoMessage() {} func (*RegisterLinkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{60} + return fileDescriptor_02345ba45cc0e303, []int{63} } func (m *RegisterLinkResponse) XXX_Unmarshal(b []byte) error { @@ -3979,7 +4145,7 @@ func (m *GetMetricsRequest) Reset() { *m = GetMetricsRequest{} } func (m *GetMetricsRequest) String() string { return proto.CompactTextString(m) } func (*GetMetricsRequest) ProtoMessage() {} func (*GetMetricsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{61} + return fileDescriptor_02345ba45cc0e303, []int{64} } func (m *GetMetricsRequest) XXX_Unmarshal(b []byte) error { @@ -4027,7 +4193,7 @@ func (m *GetMetricsResponse) Reset() { *m = GetMetricsResponse{} } func (m *GetMetricsResponse) String() string { return proto.CompactTextString(m) } func (*GetMetricsResponse) ProtoMessage() {} func (*GetMetricsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_02345ba45cc0e303, []int{62} + return fileDescriptor_02345ba45cc0e303, []int{65} } func (m *GetMetricsResponse) XXX_Unmarshal(b []byte) error { @@ -4072,6 +4238,9 @@ func (m *GetMetricsResponse) GetComponentName() string { func init() { proto.RegisterEnum("milvus.proto.milvus.ShowType", ShowType_name, ShowType_value) proto.RegisterEnum("milvus.proto.milvus.PlaceholderType", PlaceholderType_name, PlaceholderType_value) + proto.RegisterType((*CreateAliasRequest)(nil), "milvus.proto.milvus.CreateAliasRequest") + proto.RegisterType((*DropAliasRequest)(nil), "milvus.proto.milvus.DropAliasRequest") + proto.RegisterType((*AlterAliasRequest)(nil), "milvus.proto.milvus.AlterAliasRequest") proto.RegisterType((*CreateCollectionRequest)(nil), "milvus.proto.milvus.CreateCollectionRequest") proto.RegisterType((*DropCollectionRequest)(nil), "milvus.proto.milvus.DropCollectionRequest") proto.RegisterType((*HasCollectionRequest)(nil), "milvus.proto.milvus.HasCollectionRequest") @@ -4141,197 +4310,202 @@ func init() { func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) } var fileDescriptor_02345ba45cc0e303 = []byte{ - // 3026 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3a, 0x4b, 0x6f, 0x1c, 0xc7, - 0xd1, 0x9c, 0x5d, 0xee, 0xab, 0x76, 0x96, 0x5c, 0x35, 0x1f, 0x5a, 0xaf, 0x25, 0x8b, 0x1c, 0x7f, - 0xb2, 0x29, 0xc9, 0x96, 0x2c, 0xca, 0xfe, 0xec, 0xcf, 0xfe, 0x12, 0x5b, 0x12, 0x63, 0x89, 0xb0, - 0xe4, 0xd0, 0x43, 0xdb, 0x80, 0x63, 0x18, 0x83, 0xe1, 0x4e, 0x73, 0x39, 0xe0, 0xec, 0xcc, 0x66, - 0xba, 0x57, 0xd4, 0xfa, 0x14, 0xc0, 0x49, 0x80, 0xc0, 0x8e, 0x8d, 0x20, 0x41, 0x82, 0x5c, 0x72, - 0x48, 0xe2, 0x43, 0x6e, 0x71, 0x12, 0x20, 0x41, 0x0e, 0x41, 0x0e, 0x3e, 0xe4, 0x10, 0x20, 0x8f, - 0x43, 0xce, 0xb9, 0xe4, 0xe8, 0x7f, 0x90, 0x43, 0xd0, 0x8f, 0x99, 0x9d, 0x59, 0xf6, 0x2c, 0x97, - 0x5a, 0x3b, 0x24, 0x6f, 0x33, 0xd5, 0x55, 0xdd, 0x55, 0xd5, 0xd5, 0xd5, 0x55, 0x5d, 0x05, 0x7a, - 0xc7, 0xf5, 0xee, 0xf5, 0xc8, 0xe5, 0x6e, 0x18, 0xd0, 0x00, 0xcd, 0x25,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 0x8f, 0xe0, 0x8c, 0xad, 0x08, 0xb9, 0x47, 0x5b, 0x09, 0x82, 0x12, - 0x27, 0x98, 0x93, 0x83, 0x6f, 0xd0, 0xd6, 0x80, 0x26, 0xed, 0x67, 0xca, 0x2a, 0x3f, 0x73, 0x27, - 0xb0, 0x9d, 0xe3, 0xe1, 0x67, 0x3e, 0xd4, 0xa0, 0x61, 0x62, 0x0f, 0xdb, 0xe4, 0x78, 0x1c, 0x01, - 0xe3, 0x07, 0x1a, 0x3c, 0x72, 0x0b, 0xd3, 0x84, 0x31, 0x51, 0x9b, 0xba, 0x84, 0xba, 0x2d, 0x72, - 0x94, 0x6c, 0x7d, 0xa4, 0xc1, 0xb9, 0x4c, 0xb6, 0x26, 0x39, 0x5b, 0xcf, 0x42, 0x81, 0x7d, 0x91, - 0x46, 0x6e, 0x29, 0xbf, 0x52, 0x5d, 0x5d, 0x56, 0xd2, 0xbc, 0x82, 0xfb, 0x6f, 0x32, 0x97, 0xb5, - 0x61, 0xbb, 0xa1, 0x29, 0xf0, 0x8d, 0x7f, 0x6a, 0xb0, 0xb8, 0xb9, 0x13, 0xec, 0x0d, 0x58, 0xfa, - 0x22, 0x14, 0x94, 0xf6, 0x36, 0xf9, 0x21, 0x6f, 0x83, 0xae, 0xc2, 0x34, 0xed, 0x77, 0x31, 0x77, - 0x54, 0x33, 0xab, 0x67, 0x2f, 0x2b, 0x62, 0x87, 0xcb, 0x8c, 0xc9, 0xd7, 0xfb, 0x5d, 0x6c, 0x72, - 0x54, 0x74, 0x01, 0xea, 0x43, 0x2a, 0x8f, 0xce, 0xeb, 0x6c, 0x5a, 0xe7, 0xc4, 0xf8, 0x5d, 0x0e, - 0x4e, 0xef, 0x13, 0x71, 0x12, 0x65, 0xab, 0xd6, 0xce, 0x29, 0xd7, 0x46, 0xe7, 0x21, 0x61, 0x02, - 0x96, 0xeb, 0x90, 0x46, 0x7e, 0x29, 0xbf, 0x92, 0x37, 0x6b, 0x09, 0xb7, 0xe5, 0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, 0x58, 0x30, 0x26, 0x8d, 0xf2, 0xb8, 0x4b, - 0x7c, 0x16, 0x80, 0x1b, 0xad, 0x18, 0x2e, 0x88, 0x61, 0x0e, 0xe1, 0x57, 0xd8, 0xc7, 0x1a, 0xd4, - 0xb9, 0x08, 0x42, 0x9e, 0x2e, 0x9b, 0x76, 0x88, 0x46, 0x1b, 0xa2, 0x19, 0x71, 0x84, 0xfe, 0x0f, - 0x8a, 0x52, 0xb1, 0xf9, 0x71, 0x15, 0x2b, 0x09, 0x0e, 0x10, 0xc3, 0xf8, 0xa9, 0x06, 0x0b, 0x43, - 0x2a, 0x9f, 0xc4, 0xa2, 0x5f, 0x07, 0x24, 0x24, 0x74, 0x06, 0x62, 0x47, 0xd7, 0xed, 0x79, 0xe5, - 0xdd, 0x32, 0xac, 0x24, 0xf3, 0x94, 0x3b, 0x04, 0x21, 0xc6, 0x5f, 0x35, 0x38, 0x73, 0x0b, 0x53, - 0x8e, 0x7a, 0x83, 0xf9, 0x8e, 0x8d, 0x30, 0x68, 0x87, 0x98, 0x90, 0x93, 0x6b, 0x1f, 0x3f, 0x14, - 0xf1, 0x99, 0x4a, 0xa4, 0x49, 0xf4, 0xbf, 0x0c, 0x3a, 0x5f, 0x03, 0x3b, 0x56, 0x18, 0xec, 0x11, - 0x69, 0x47, 0x55, 0x09, 0x33, 0x83, 0x3d, 0x6e, 0x10, 0x34, 0xa0, 0xb6, 0x27, 0x10, 0xe4, 0xc5, - 0xc0, 0x21, 0x6c, 0x98, 0x9f, 0xc1, 0x88, 0x31, 0x36, 0x39, 0x3e, 0xb9, 0x3a, 0xfe, 0xb9, 0x06, - 0x0b, 0x43, 0xa2, 0x4c, 0xa2, 0xdb, 0x67, 0x44, 0xf4, 0x28, 0x84, 0x99, 0x59, 0x3d, 0xa7, 0xa4, - 0x49, 0x2c, 0x26, 0xb0, 0xd1, 0x39, 0xa8, 0x6e, 0xdb, 0xae, 0x67, 0x85, 0xd8, 0x26, 0x81, 0x2f, - 0x05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2, 0xe6, 0x38, 0x98, 0xd1, 0x2a, 0xdf, 0xd1, 0xa0, 0x91, 0x95, 0x2d, 0xa3, - 0xcc, 0x8b, 0x79, 0x54, 0xca, 0xdf, 0x7c, 0xe6, 0x90, 0x54, 0xb1, 0x0a, 0xdf, 0x85, 0x39, 0x45, - 0x8e, 0x86, 0xae, 0x64, 0xcd, 0x97, 0x91, 0x5e, 0x36, 0x9f, 0x1a, 0x9f, 0x20, 0x5e, 0x7b, 0x03, - 0x0a, 0x3c, 0xb7, 0xca, 0xd8, 0xbe, 0x64, 0xaa, 0x96, 0x61, 0x10, 0xa9, 0xd4, 0xcc, 0x98, 0x42, - 0x18, 0xf4, 0x64, 0xa2, 0x95, 0xb1, 0x7f, 0x8a, 0x1c, 0xad, 0x79, 0x61, 0x0c, 0xcc, 0x78, 0x19, - 0x0b, 0x60, 0x90, 0xe8, 0xa0, 0xc7, 0xb2, 0x44, 0x4f, 0xe7, 0x5a, 0xcd, 0xc7, 0x0f, 0xc4, 0x8b, - 0x16, 0x58, 0xed, 0x81, 0xbe, 0x11, 0x06, 0xf7, 0xfb, 0x51, 0x5a, 0xf1, 0xdf, 0x91, 0xeb, 0xc6, - 0x33, 0x5f, 0xbb, 0xd6, 0x76, 0xe9, 0x4e, 0x6f, 0x8b, 0x79, 0xae, 0x2b, 0x02, 0xf7, 0x49, 0x37, - 0x90, 0x5f, 0x57, 0x5c, 0x9f, 0xe2, 0xd0, 0xb7, 0xbd, 0x2b, 0x7c, 0x2e, 0x09, 0xed, 0x6e, 0x6d, - 0x15, 0xf9, 0xff, 0xb5, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x79, 0xfe, 0x2f, 0x81, 0x9a, 0x3a, - 0x00, 0x00, + // 3119 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3b, 0xcd, 0x6f, 0x1b, 0xc7, + 0xf5, 0x5a, 0x52, 0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 0x5d, 0x22, + 0x85, 0x7c, 0x50, 0x29, 0xe4, 0x16, 0x47, 0x31, 0x24, 0x2a, 0xb3, 0xad, 0xbb, 0x96, 0xdb, 0x15, + 0x32, 0x16, 0x0d, 0xf1, 0xa1, 0xbf, 0x05, 0x33, 0x5b, 0x34, 0x70, 0xbc, 0xd6, 0x97, 0xc8, 0xbc, + 0x14, 0x32, 0xff, 0x87, 0x06, 0x0f, 0xac, 0x63, 0xd2, 0x0c, 0x9c, 0xed, 0x63, 0x62, 0xba, 0x3a, + 0x54, 0xfa, 0x90, 0x8d, 0x75, 0xae, 0xea, 0xac, 0x91, 0x80, 0x0d, 0x6c, 0x46, 0x6e, 0x70, 0x33, + 0x3e, 0xcb, 0x42, 0x43, 0xb5, 0xa8, 0x49, 0xd4, 0xf7, 0x8d, 0xe8, 0x44, 0x65, 0x38, 0xd1, 0xb9, + 0x24, 0x91, 0x74, 0xbc, 0xfd, 0xd9, 0xb6, 0x38, 0x20, 0x3a, 0x78, 0x83, 0xab, 0xca, 0x2a, 0x56, + 0xb5, 0x06, 0x8b, 0x77, 0x9d, 0x80, 0x76, 0x2d, 0xd7, 0x6c, 0xee, 0x5a, 0x9e, 0x87, 0x5d, 0xae, + 0x27, 0x52, 0x9f, 0x5e, 0xce, 0xae, 0x96, 0x8c, 0x79, 0x39, 0x78, 0x43, 0x8c, 0x31, 0x65, 0x11, + 0xf4, 0x24, 0x2c, 0x75, 0x76, 0x7b, 0xc4, 0x69, 0x0e, 0x11, 0xe5, 0x38, 0xd1, 0x42, 0x38, 0x9a, + 0xa0, 0xba, 0x08, 0x73, 0x4d, 0xee, 0xad, 0x6c, 0x93, 0x69, 0x4d, 0xa8, 0x31, 0xcf, 0xd5, 0x58, + 0x93, 0x03, 0xaf, 0x86, 0x70, 0x26, 0x56, 0x88, 0xdc, 0xa5, 0xcd, 0x18, 0x41, 0x81, 0x13, 0xcc, + 0xcb, 0xc1, 0xd7, 0x68, 0xb3, 0x4f, 0x93, 0xf4, 0x33, 0xc5, 0x01, 0x3f, 0x83, 0xea, 0x50, 0xe0, + 0x7e, 0x13, 0x93, 0x7a, 0x89, 0x8b, 0x19, 0x7e, 0x72, 0x0f, 0x74, 0xdb, 0xb7, 0xec, 0xe3, 0xe1, + 0x81, 0x3e, 0xd2, 0xa0, 0x6e, 0x60, 0x17, 0x5b, 0xe4, 0x78, 0x1c, 0x0e, 0xfd, 0xc7, 0x1a, 0x3c, + 0x74, 0x13, 0xd3, 0x98, 0x99, 0x51, 0x8b, 0x3a, 0x84, 0x3a, 0x4d, 0x72, 0x94, 0x62, 0x7d, 0xac, + 0xc1, 0xd9, 0x54, 0xb1, 0x26, 0x39, 0x75, 0x4f, 0x43, 0x8e, 0xfd, 0x62, 0x97, 0x7e, 0x76, 0xb5, + 0xbc, 0xb6, 0xa2, 0xa4, 0x79, 0x09, 0xf7, 0x5e, 0x67, 0xce, 0x6c, 0xd3, 0x72, 0x02, 0x43, 0xe0, + 0xeb, 0xff, 0xd2, 0x60, 0x69, 0x6b, 0xd7, 0xdf, 0xef, 0x8b, 0xf4, 0x55, 0x28, 0x28, 0xe9, 0x87, + 0xb2, 0x03, 0x7e, 0x08, 0x5d, 0x81, 0x69, 0xda, 0xeb, 0x60, 0xee, 0xc2, 0x66, 0xd6, 0xce, 0x5c, + 0x52, 0x04, 0x70, 0x97, 0x98, 0x90, 0xaf, 0xf6, 0x3a, 0xd8, 0xe0, 0xa8, 0xe8, 0x3c, 0xd4, 0x06, + 0x54, 0x1e, 0x9e, 0xe4, 0xd9, 0xa4, 0xce, 0x89, 0xfe, 0x59, 0x06, 0x4e, 0x0d, 0x2d, 0x71, 0x12, + 0x65, 0xab, 0xe6, 0xce, 0x28, 0xe7, 0x46, 0xe7, 0x20, 0x66, 0x02, 0xa6, 0x63, 0xb3, 0x70, 0x28, + 0xbb, 0x9a, 0x35, 0xaa, 0x31, 0x87, 0x66, 0x13, 0xf4, 0x38, 0xa0, 0x21, 0x3f, 0x23, 0xdc, 0xd9, +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72, 0x4c, 0x73, 0x99, 0xb1, 0x35, 0xa7, + 0x9b, 0x30, 0x77, 0x13, 0xd3, 0x3b, 0x98, 0x06, 0x13, 0x15, 0xb2, 0xeb, 0xec, 0x65, 0xc0, 0x89, + 0xa5, 0x59, 0x84, 0x9f, 0xfa, 0x87, 0x1a, 0xa0, 0xf8, 0x0c, 0x93, 0x6c, 0x73, 0x5c, 0xcb, 0x99, + 0xa4, 0x96, 0x45, 0xaf, 0x4f, 0xbb, 0xe3, 0x7b, 0xd8, 0xa3, 0xf1, 0x10, 0xb3, 0x1a, 0x41, 0x99, + 0xf9, 0x5d, 0x58, 0x81, 0x62, 0x58, 0x7b, 0x45, 0x05, 0xc8, 0x5e, 0x73, 0xdd, 0xda, 0x14, 0xaa, + 0x40, 0x71, 0x43, 0x16, 0x18, 0x6b, 0xda, 0x85, 0x6f, 0xc2, 0xec, 0xc0, 0xcb, 0x1f, 0x15, 0x61, + 0xfa, 0x65, 0xdf, 0xc3, 0xb5, 0x29, 0x54, 0x83, 0xca, 0x75, 0xc7, 0xb3, 0x82, 0x9e, 0xb8, 0x69, + 0x6b, 0x36, 0x9a, 0x85, 0x32, 0xbf, 0x71, 0x24, 0x00, 0xaf, 0xfd, 0xb3, 0x01, 0xd5, 0x3b, 0x7c, + 0x31, 0x5b, 0x38, 0xb8, 0xeb, 0x34, 0x31, 0x32, 0xa1, 0x36, 0xd8, 0x76, 0x8d, 0x1e, 0x53, 0xda, + 0x68, 0x4a, 0x77, 0x76, 0x63, 0x94, 0x7a, 0xf4, 0x29, 0xf4, 0x16, 0xcc, 0x24, 0x1b, 0xa2, 0x91, + 0xda, 0x25, 0x2a, 0xbb, 0xa6, 0x0f, 0x62, 0x6e, 0x42, 0x35, 0xd1, 0xdf, 0x8c, 0xce, 0x2b, 0x79, + 0xab, 0x7a, 0xa0, 0x1b, 0xea, 0x28, 0x25, 0xde, 0x83, 0x2c, 0xa4, 0x4f, 0x36, 0x53, 0xa6, 0x48, + 0xaf, 0xec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, 0x3a, 0xc2, 0x8e, 0xe3, 0xff, 0x1e, 0x3a, 0x48, 0x93, + 0xaf, 0x40, 0x29, 0xfa, 0x3b, 0x13, 0x3a, 0x97, 0x6a, 0xbf, 0x87, 0x61, 0xb9, 0x05, 0xd0, 0xff, + 0x13, 0x13, 0x7a, 0x44, 0xc9, 0x73, 0xe8, 0x5f, 0x4e, 0x07, 0x31, 0x8d, 0x96, 0x2f, 0xaa, 0x23, + 0xa3, 0x96, 0x1f, 0x2f, 0xe7, 0x1d, 0xc4, 0x76, 0x17, 0xaa, 0x89, 0x22, 0x7c, 0xda, 0x11, 0x56, + 0xf4, 0x46, 0x34, 0x2e, 0x8c, 0x83, 0x1a, 0xed, 0xdf, 0x2e, 0x54, 0x13, 0x25, 0xd1, 0x94, 0x99, + 0x54, 0x15, 0xe0, 0x94, 0x99, 0x94, 0x15, 0x56, 0x7d, 0x0a, 0x7d, 0x37, 0x56, 0x7d, 0x4d, 0x54, + 0xb8, 0xd1, 0x95, 0x91, 0x7c, 0x54, 0x05, 0xfe, 0xc6, 0xda, 0x61, 0x48, 0x22, 0x11, 0xa4, 0x55, + 0x09, 0x95, 0xa6, 0x5b, 0xd5, 0x61, 0x76, 0x6a, 0x0b, 0xf2, 0xa2, 0xc8, 0x89, 0xf4, 0x94, 0x76, + 0x86, 0x58, 0x05, 0xb4, 0xf1, 0xb0, 0x12, 0x27, 0x59, 0xff, 0x13, 0x4c, 0x45, 0x11, 0x2b, 0x85, + 0x69, 0xa2, 0xc2, 0x35, 0x2e, 0x53, 0x03, 0xf2, 0x22, 0xb5, 0x9d, 0xc2, 0x34, 0x51, 0x9e, 0x69, + 0x8c, 0xc6, 0x11, 0xf9, 0xf0, 0x29, 0xb4, 0x09, 0x39, 0x9e, 0x02, 0x46, 0x2b, 0xa3, 0xd2, 0xc3, + 0xa3, 0x38, 0x26, 0x32, 0xc8, 0xfa, 0x14, 0xfa, 0x36, 0xe4, 0xf8, 0x4b, 0x27, 0x85, 0x63, 0x3c, + 0xc7, 0xdb, 0x18, 0x89, 0x12, 0x8a, 0x68, 0x43, 0x25, 0x9e, 0x01, 0x4a, 0xb9, 0xb2, 0x14, 0x39, + 0xb2, 0xc6, 0x38, 0x98, 0xe1, 0x2c, 0xdf, 0xd7, 0xa0, 0x9e, 0x96, 0x2c, 0x40, 0xa9, 0x71, 0xc9, + 0xa8, 0x8c, 0x47, 0xe3, 0xa9, 0x43, 0x52, 0x45, 0x2a, 0x7c, 0x07, 0xe6, 0x15, 0x4f, 0x54, 0x74, + 0x39, 0x8d, 0x5f, 0xca, 0xeb, 0xba, 0xf1, 0xc4, 0xf8, 0x04, 0xd1, 0xdc, 0x9b, 0x90, 0xe3, 0x4f, + 0xcb, 0x94, 0xed, 0x8b, 0xbf, 0x54, 0x53, 0x0c, 0x22, 0xf1, 0x32, 0xd5, 0xa7, 0x10, 0x86, 0x4a, + 0xfc, 0x9d, 0x99, 0xb2, 0x7f, 0x8a, 0x27, 0x6a, 0xe3, 0xfc, 0x18, 0x98, 0xd1, 0x34, 0x26, 0x40, + 0xff, 0x9d, 0x97, 0x72, 0x3b, 0x0c, 0x3d, 0x35, 0x1b, 0x8f, 0x1e, 0x88, 0x17, 0x4e, 0xb0, 0xd6, + 0x85, 0xca, 0x66, 0xe0, 0xdf, 0xeb, 0x85, 0xaf, 0xaa, 0xff, 0xcd, 0xba, 0xae, 0x3f, 0xf5, 0xe6, + 0xd5, 0x96, 0x43, 0x77, 0xbb, 0xdb, 0xcc, 0x73, 0x5d, 0x16, 0xb8, 0x8f, 0x3b, 0xbe, 0xfc, 0x75, + 0xd9, 0xf1, 0x28, 0x0e, 0x3c, 0xcb, 0xbd, 0xcc, 0x79, 0x49, 0x68, 0x67, 0x7b, 0x3b, 0xcf, 0xbf, + 0xaf, 0xfe, 0x37, 0x00, 0x00, 0xff, 0xff, 0x39, 0xdf, 0x81, 0xa0, 0x1e, 0x3d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -4361,6 +4535,9 @@ type MilvusServiceClient interface { ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) GetPartitionStatistics(ctx context.Context, in *GetPartitionStatisticsRequest, opts ...grpc.CallOption) (*GetPartitionStatisticsResponse, error) ShowPartitions(ctx context.Context, in *ShowPartitionsRequest, opts ...grpc.CallOption) (*ShowPartitionsResponse, error) + CreateAlias(ctx context.Context, in *CreateAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) + DropAlias(ctx context.Context, in *DropAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) + AlterAlias(ctx context.Context, in *AlterAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error) GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error) @@ -4524,6 +4701,33 @@ func (c *milvusServiceClient) ShowPartitions(ctx context.Context, in *ShowPartit return out, nil } +func (c *milvusServiceClient) CreateAlias(ctx context.Context, in *CreateAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { + out := new(commonpb.Status) + err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CreateAlias", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *milvusServiceClient) DropAlias(ctx context.Context, in *DropAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { + out := new(commonpb.Status) + err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DropAlias", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *milvusServiceClient) AlterAlias(ctx context.Context, in *AlterAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { + out := new(commonpb.Status) + err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/AlterAlias", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *milvusServiceClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CreateIndex", in, out, opts...) @@ -4685,6 +4889,9 @@ type MilvusServiceServer interface { ReleasePartitions(context.Context, *ReleasePartitionsRequest) (*commonpb.Status, error) GetPartitionStatistics(context.Context, *GetPartitionStatisticsRequest) (*GetPartitionStatisticsResponse, error) ShowPartitions(context.Context, *ShowPartitionsRequest) (*ShowPartitionsResponse, error) + CreateAlias(context.Context, *CreateAliasRequest) (*commonpb.Status, error) + DropAlias(context.Context, *DropAliasRequest) (*commonpb.Status, error) + AlterAlias(context.Context, *AlterAliasRequest) (*commonpb.Status, error) CreateIndex(context.Context, *CreateIndexRequest) (*commonpb.Status, error) DescribeIndex(context.Context, *DescribeIndexRequest) (*DescribeIndexResponse, error) GetIndexState(context.Context, *GetIndexStateRequest) (*GetIndexStateResponse, error) @@ -4754,6 +4961,15 @@ func (*UnimplementedMilvusServiceServer) GetPartitionStatistics(ctx context.Cont func (*UnimplementedMilvusServiceServer) ShowPartitions(ctx context.Context, req *ShowPartitionsRequest) (*ShowPartitionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ShowPartitions not implemented") } +func (*UnimplementedMilvusServiceServer) CreateAlias(ctx context.Context, req *CreateAliasRequest) (*commonpb.Status, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAlias not implemented") +} +func (*UnimplementedMilvusServiceServer) DropAlias(ctx context.Context, req *DropAliasRequest) (*commonpb.Status, error) { + return nil, status.Errorf(codes.Unimplemented, "method DropAlias not implemented") +} +func (*UnimplementedMilvusServiceServer) AlterAlias(ctx context.Context, req *AlterAliasRequest) (*commonpb.Status, error) { + return nil, status.Errorf(codes.Unimplemented, "method AlterAlias not implemented") +} func (*UnimplementedMilvusServiceServer) CreateIndex(ctx context.Context, req *CreateIndexRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented") } @@ -5077,6 +5293,60 @@ func _MilvusService_ShowPartitions_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _MilvusService_CreateAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateAliasRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MilvusServiceServer).CreateAlias(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.milvus.MilvusService/CreateAlias", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MilvusServiceServer).CreateAlias(ctx, req.(*CreateAliasRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MilvusService_DropAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DropAliasRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MilvusServiceServer).DropAlias(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.milvus.MilvusService/DropAlias", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MilvusServiceServer).DropAlias(ctx, req.(*DropAliasRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MilvusService_AlterAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AlterAliasRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MilvusServiceServer).AlterAlias(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.milvus.MilvusService/AlterAlias", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MilvusServiceServer).AlterAlias(ctx, req.(*AlterAliasRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _MilvusService_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateIndexRequest) if err := dec(in); err != nil { @@ -5429,6 +5699,18 @@ var _MilvusService_serviceDesc = grpc.ServiceDesc{ MethodName: "ShowPartitions", Handler: _MilvusService_ShowPartitions_Handler, }, + { + MethodName: "CreateAlias", + Handler: _MilvusService_CreateAlias_Handler, + }, + { + MethodName: "DropAlias", + Handler: _MilvusService_DropAlias_Handler, + }, + { + MethodName: "AlterAlias", + Handler: _MilvusService_AlterAlias_Handler, + }, { MethodName: "CreateIndex", Handler: _MilvusService_CreateIndex_Handler, diff --git a/internal/proto/root_coord.proto b/internal/proto/root_coord.proto index d6bfc294be..fd105d5e92 100644 --- a/internal/proto/root_coord.proto +++ b/internal/proto/root_coord.proto @@ -49,6 +49,10 @@ service RootCoord { */ rpc DescribeCollection(milvus.DescribeCollectionRequest) returns (milvus.DescribeCollectionResponse) {} + rpc CreateAlias(milvus.CreateAliasRequest) returns (common.Status) {} + rpc DropAlias(milvus.DropAliasRequest) returns (common.Status) {} + rpc AlterAlias(milvus.AlterAliasRequest) returns (common.Status) {} + /** * @brief This method is used to list all collections. * diff --git a/internal/proto/rootcoordpb/root_coord.pb.go b/internal/proto/rootcoordpb/root_coord.pb.go index 9d8fb740b9..d8f5fde50f 100644 --- a/internal/proto/rootcoordpb/root_coord.pb.go +++ b/internal/proto/rootcoordpb/root_coord.pb.go @@ -243,57 +243,59 @@ func init() { func init() { proto.RegisterFile("root_coord.proto", fileDescriptor_4513485a144f6b06) } var fileDescriptor_4513485a144f6b06 = []byte{ - // 787 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x5d, 0x4f, 0xdb, 0x3e, - 0x14, 0xc6, 0x69, 0xe1, 0xcf, 0x5f, 0x1c, 0xda, 0x82,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 0xdd, - 0xf4, 0xc9, 0x63, 0x9d, 0x05, 0xbf, 0x9a, 0x32, 0x8d, 0xa6, 0xa7, 0xd4, 0x0c, 0x03, 0xb6, 0x07, - 0x83, 0x65, 0xef, 0xd3, 0xd9, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa8, 0x2e, 0x6c, 0xa3, 0xa7, - 0x0b, 0x00, 0x00, + // 826 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xdb, 0x4f, 0xe3, 0x46, + 0x14, 0xc6, 0x49, 0xa0, 0x54, 0x1c, 0x72, 0x41, 0x23, 0xa0, 0x28, 0xe5, 0x81, 0xa6, 0x2a, 0x24, + 0x5c, 0x1c, 0x04, 0x52, 0xd5, 0x57, 0x48, 0x54, 0x88, 0xd4, 0x48, 0xc5, 0x01, 0x69, 0x6f, 0x28, + 0x9a, 0x38, 0x47, 0x89, 0x85, 0xed, 0x31, 0x9e, 0xc9, 0xc2, 0x3e, 0xee, 0x5f, 0xb6, 0xff, 0xda, + 0xca, 0x97, 0x71, 0x6c, 0xc7, 0x0e, 0x8e, 0x76, 0xdf, 0xe2, 0xf8, 0x37, 0xdf, 0x37, 0xe7, 0x3b, + 0x1e, 0xfb, 0xc0, 0x96, 0xc3, 0x98, 0x18, 0x68, 0x8c, 0x39, 0x23, 0xc5, 0x76, 0x98, 0x60, 0x64, + 0xd7, 0xd4, 0x8d, 0xcf, 0x53, 0xee, 0x5f, 0x29, 0xee, 0x6d, 0xef, 0x6e, 0xad, 0xa4, 0x31, 0xd3, + 0x64, 0x96, 0xff, 0x7f, 0xad, 0x14, 0xa5, 0x6a, 0x15, 0xdd, 0x12, 0xe8, 0x58, 0xd4, 0x08, 0xae, + 0x37, 0x6d, 0x87, 0xbd, 0x7e, 0x09, 0x2e, 0xb6, 0x46, 0x54, 0xd0, 0xa8, 0x45, 0x7d, 0x00, 0x3b, + 0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 0xa4, 0xff, 0x1d, 0x96, 0x93, 0x40, 0xb2, 0x2b, 0xb3, 0x69, 0x23, 0xce, 0xf5, 0xf8, + 0xf8, 0xad, 0xcc, 0x0c, 0xf8, 0x4d, 0x45, 0x03, 0x29, 0xc7, 0xce, 0xdd, 0x7f, 0x3d, 0xe4, 0x9c, + 0x8e, 0xb1, 0x2f, 0x1c, 0xa4, 0x66, 0x72, 0x42, 0xf0, 0x47, 0xe0, 0x0c, 0x38, 0x67, 0x87, 0x34, + 0xd8, 0x09, 0x9e, 0xe5, 0x7f, 0x8d, 0x29, 0x9f, 0xb8, 0xc3, 0x91, 0x81, 0x02, 0x47, 0xc9, 0x23, + 0xe9, 0x4e, 0xd8, 0x4a, 0x2a, 0x99, 0xa3, 0xa4, 0x01, 0xc0, 0x0d, 0x8a, 0x1e, 0x0a, 0x47, 0xd7, + 0xb2, 0x3e, 0x1e, 0x33, 0x20, 0xa3, 0x2d, 0x29, 0x9c, 0x6c, 0xcb, 0xf5, 0x3f, 0x1f, 0xfe, 0x1e, + 0xeb, 0x62, 0x32, 0x1d, 0xba, 0xd6, 0x2d, 0x9f, 0x3c, 0xd3, 0x59, 0xf0, 0xab, 0x25, 0xbb, 0xd1, + 0xf2, 0x94, 0x5a, 0x61, 0x83, 0xed, 0xe1, 0x70, 0xdd, 0xfb, 0xeb, 0xf2, 0x7b, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x27, 0xad, 0x32, 0xbe, 0xa6, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -339,6 +341,9 @@ type RootCoordClient interface { // // @return CollectionSchema DescribeCollection(ctx context.Context, in *milvuspb.DescribeCollectionRequest, opts ...grpc.CallOption) (*milvuspb.DescribeCollectionResponse, error) + CreateAlias(ctx context.Context, in *milvuspb.CreateAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) + DropAlias(ctx context.Context, in *milvuspb.DropAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) + AlterAlias(ctx context.Context, in *milvuspb.AlterAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) //* // @brief This method is used to list all collections. // @@ -451,6 +456,33 @@ func (c *rootCoordClient) DescribeCollection(ctx context.Context, in *milvuspb.D return out, nil } +func (c *rootCoordClient) CreateAlias(ctx context.Context, in *milvuspb.CreateAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { + out := new(commonpb.Status) + err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/CreateAlias", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *rootCoordClient) DropAlias(ctx context.Context, in *milvuspb.DropAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { + out := new(commonpb.Status) + err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/DropAlias", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *rootCoordClient) AlterAlias(ctx context.Context, in *milvuspb.AlterAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { + out := new(commonpb.Status) + err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/AlterAlias", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *rootCoordClient) ShowCollections(ctx context.Context, in *milvuspb.ShowCollectionsRequest, opts ...grpc.CallOption) (*milvuspb.ShowCollectionsResponse, error) { out := new(milvuspb.ShowCollectionsResponse) err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/ShowCollections", in, out, opts...) @@ -628,6 +660,9 @@ type RootCoordServer interface { // // @return CollectionSchema DescribeCollection(context.Context, *milvuspb.DescribeCollectionRequest) (*milvuspb.DescribeCollectionResponse, error) + CreateAlias(context.Context, *milvuspb.CreateAliasRequest) (*commonpb.Status, error) + DropAlias(context.Context, *milvuspb.DropAliasRequest) (*commonpb.Status, error) + AlterAlias(context.Context, *milvuspb.AlterAliasRequest) (*commonpb.Status, error) //* // @brief This method is used to list all collections. // @@ -694,6 +729,15 @@ func (*UnimplementedRootCoordServer) HasCollection(ctx context.Context, req *mil func (*UnimplementedRootCoordServer) DescribeCollection(ctx context.Context, req *milvuspb.DescribeCollectionRequest) (*milvuspb.DescribeCollectionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DescribeCollection not implemented") } +func (*UnimplementedRootCoordServer) CreateAlias(ctx context.Context, req *milvuspb.CreateAliasRequest) (*commonpb.Status, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAlias not implemented") +} +func (*UnimplementedRootCoordServer) DropAlias(ctx context.Context, req *milvuspb.DropAliasRequest) (*commonpb.Status, error) { + return nil, status.Errorf(codes.Unimplemented, "method DropAlias not implemented") +} +func (*UnimplementedRootCoordServer) AlterAlias(ctx context.Context, req *milvuspb.AlterAliasRequest) (*commonpb.Status, error) { + return nil, status.Errorf(codes.Unimplemented, "method AlterAlias not implemented") +} func (*UnimplementedRootCoordServer) ShowCollections(ctx context.Context, req *milvuspb.ShowCollectionsRequest) (*milvuspb.ShowCollectionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ShowCollections not implemented") } @@ -873,6 +917,60 @@ func _RootCoord_DescribeCollection_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _RootCoord_CreateAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(milvuspb.CreateAliasRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RootCoordServer).CreateAlias(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.rootcoord.RootCoord/CreateAlias", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RootCoordServer).CreateAlias(ctx, req.(*milvuspb.CreateAliasRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RootCoord_DropAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(milvuspb.DropAliasRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RootCoordServer).DropAlias(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.rootcoord.RootCoord/DropAlias", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RootCoordServer).DropAlias(ctx, req.(*milvuspb.DropAliasRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RootCoord_AlterAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(milvuspb.AlterAliasRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RootCoordServer).AlterAlias(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.rootcoord.RootCoord/AlterAlias", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RootCoordServer).AlterAlias(ctx, req.(*milvuspb.AlterAliasRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _RootCoord_ShowCollections_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(milvuspb.ShowCollectionsRequest) if err := dec(in); err != nil { @@ -1193,6 +1291,18 @@ var _RootCoord_serviceDesc = grpc.ServiceDesc{ MethodName: "DescribeCollection", Handler: _RootCoord_DescribeCollection_Handler, }, + { + MethodName: "CreateAlias", + Handler: _RootCoord_CreateAlias_Handler, + }, + { + MethodName: "DropAlias", + Handler: _RootCoord_DropAlias_Handler, + }, + { + MethodName: "AlterAlias", + Handler: _RootCoord_AlterAlias_Handler, + }, { MethodName: "ShowCollections", Handler: _RootCoord_ShowCollections_Handler, diff --git a/internal/proxy/impl.go b/internal/proxy/impl.go index c950e748da..e538581f09 100644 --- a/internal/proxy/impl.go +++ b/internal/proxy/impl.go @@ -1630,6 +1630,142 @@ func (node *Proxy) Query(ctx context.Context, request *milvuspb.QueryRequest) (* }, nil } +func (node *Proxy) CreateAlias(ctx context.Context, request *milvuspb.CreateAliasRequest) (*commonpb.Status, error) { + if !node.checkHealthy() { + return unhealthyStatus(), nil + } + cat := &CreateAliasTask{ + ctx: ctx, + Condition: NewTaskCondition(ctx), + CreateAliasRequest: request, + rootCoord: node.rootCoord, + } + + err := node.sched.ddQueue.Enqueue(cat) + if err != nil { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: err.Error(), + }, nil + } + + log.Debug("CreateAlias", + zap.String("role", Params.RoleName), + zap.Int64("msgID", request.Base.MsgID), + zap.Uint64("timestamp", request.Base.Timestamp), + zap.String("alias", request.Alias), + zap.String("collection", request.CollectionName)) + defer func() { + log.Debug("CreateAlias Done", + zap.Error(err), + zap.String("role", Params.RoleName), + zap.Int64("msgID", request.Base.MsgID), + zap.Uint64("timestamp", request.Base.Timestamp), + zap.String("alias", request.Alias), + zap.String("collection", request.CollectionName)) + }() + + err = cat.WaitToFinish() + if err != nil { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: err.Error(), + }, nil + } + + return cat.result, nil +} + +func (node *Proxy) DropAlias(ctx context.Context, request *milvuspb.DropAliasRequest) (*commonpb.Status, error) { + if !node.checkHealthy() { + return unhealthyStatus(), nil + } + dat := &DropAliasTask{ + ctx: ctx, + Condition: NewTaskCondition(ctx), + DropAliasRequest: request, + rootCoord: node.rootCoord, + } + + err := node.sched.ddQueue.Enqueue(dat) + if err != nil { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: err.Error(), + }, nil + } + + log.Debug("DropAlias", + zap.String("role", Params.RoleName), + zap.Int64("msgID", request.Base.MsgID), + zap.Uint64("timestamp", request.Base.Timestamp), + zap.String("alias", request.Alias)) + defer func() { + log.Debug("DropAlias Done", + zap.Error(err), + zap.String("role", Params.RoleName), + zap.Int64("msgID", request.Base.MsgID), + zap.Uint64("timestamp", request.Base.Timestamp), + zap.String("alias", request.Alias)) + }() + + err = dat.WaitToFinish() + if err != nil { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: err.Error(), + }, nil + } + + return dat.result, nil +} + +func (node *Proxy) AlterAlias(ctx context.Context, request *milvuspb.AlterAliasRequest) (*commonpb.Status, error) { + if !node.checkHealthy() { + return unhealthyStatus(), nil + } + aat := &AlterAliasTask{ + ctx: ctx, + Condition: NewTaskCondition(ctx), + AlterAliasRequest: request, + rootCoord: node.rootCoord, + } + + err := node.sched.ddQueue.Enqueue(aat) + if err != nil { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: err.Error(), + }, nil + } + + log.Debug("AlterAlias", + zap.String("role", Params.RoleName), + zap.Int64("msgID", request.Base.MsgID), + zap.Uint64("timestamp", request.Base.Timestamp), + zap.String("alias", request.Alias), + zap.String("collection", request.CollectionName)) + defer func() { + log.Debug("AlterAlias Done", + zap.Error(err), + zap.String("role", Params.RoleName), + zap.Int64("msgID", request.Base.MsgID), + zap.Uint64("timestamp", request.Base.Timestamp), + zap.String("alias", request.Alias), + zap.String("collection", request.CollectionName)) + }() + + err = aat.WaitToFinish() + if err != nil { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: err.Error(), + }, nil + } + + return aat.result, nil +} + func (node *Proxy) CalcDistance(ctx context.Context, request *milvuspb.CalcDistanceRequest) (*milvuspb.CalcDistanceResults, error) { param, _ := GetAttrByKeyFromRepeatedKV("metric", request.GetParams()) metric, err := distance.ValidateMetricType(param) diff --git a/internal/proxy/proxy_test.go b/internal/proxy/proxy_test.go index d36fe09049..0593fd458b 100644 --- a/internal/proxy/proxy_test.go +++ b/internal/proxy/proxy_test.go @@ -2035,5 +2035,80 @@ func TestProxy(t *testing.T) { assert.NotEqual(t, commonpb.ErrorCode_Success, resp.Status.ErrorCode) }) + t.Run("create alias", func(t *testing.T) { + req := createCollectionReq + resp, err := proxy.CreateCollection(ctx, req) + assert.NoError(t, err) + assert.Equal(t, commonpb.ErrorCode_Success, resp.ErrorCode) + // create alias + aliasReq := &milvuspb.CreateAliasRequest{ + Base: nil, + CollectionName: collectionName, + Alias: "alias", + } + resp, err = proxy.CreateAlias(ctx, aliasReq) + assert.NoError(t, err) + assert.Equal(t, commonpb.ErrorCode_Success, resp.ErrorCode) + sameAliasReq := &milvuspb.CreateAliasRequest{ + Base: nil, + CollectionName: collectionName, + Alias: "alias", + } + + resp, err = proxy.CreateAlias(ctx, sameAliasReq) + assert.NoError(t, err) + assert.Equal(t, commonpb.ErrorCode_UnexpectedError, resp.ErrorCode) + }) + + t.Run("alter alias", func(t *testing.T) { + // alter alias + alterReq := &milvuspb.AlterAliasRequest{ + Base: nil, + CollectionName: collectionName, + Alias: "alias", + } + resp, err := proxy.AlterAlias(ctx, alterReq) + assert.NoError(t, err) + assert.Equal(t, commonpb.ErrorCode_Success, resp.ErrorCode) + + nonExistingCollName := "coll_name_random_zarathustra" + faultyAlterReq := &milvuspb.AlterAliasRequest{ + Base: nil, + CollectionName: nonExistingCollName, + Alias: "alias", + } + resp, err = proxy.AlterAlias(ctx, faultyAlterReq) + assert.NoError(t, err) + assert.Equal(t, commonpb.ErrorCode_UnexpectedError, resp.ErrorCode) + }) + + t.Run("drop alias", func(t *testing.T) { + // drop alias + resp, err := proxy.DropAlias(ctx, &milvuspb.DropAliasRequest{ + Base: nil, + Alias: "alias", + }) + assert.NoError(t, err) + assert.Equal(t, commonpb.ErrorCode_Success, resp.ErrorCode) + + sameDropReq := &milvuspb.DropAliasRequest{ + Base: nil, + Alias: "alias", + } + + // Can't drop non-existing alias + resp, err = proxy.DropAlias(ctx, sameDropReq) + assert.NoError(t, err) + assert.Equal(t, commonpb.ErrorCode_UnexpectedError, resp.ErrorCode) + + dropReq := &milvuspb.DropCollectionRequest{ + DbName: dbName, + CollectionName: collectionName, + } + resp, err = proxy.DropCollection(ctx, dropReq) + assert.NoError(t, err) + assert.Equal(t, commonpb.ErrorCode_Success, resp.ErrorCode) + }) + cancel() } diff --git a/internal/proxy/rootcoord_mock_test.go b/internal/proxy/rootcoord_mock_test.go index 586bbd03c9..812d861fed 100644 --- a/internal/proxy/rootcoord_mock_test.go +++ b/internal/proxy/rootcoord_mock_test.go @@ -80,9 +80,10 @@ type RootCoordMock struct { timeTickChannel string // naive inverted index - collName2ID map[string]typeutil.UniqueID - collID2Meta map[typeutil.UniqueID]collectionMeta - collMtx sync.RWMutex + collName2ID map[string]typeutil.UniqueID + collID2Meta map[typeutil.UniqueID]collectionMeta + collAlias2ID map[string]typeutil.UniqueID + collMtx sync.RWMutex // TODO(dragondriver): need default partition? collID2Partitions map[typeutil.UniqueID]partitionMap @@ -102,6 +103,98 @@ type RootCoordMock struct { lastTsMtx sync.Mutex } +func (coord *RootCoordMock) CreateAlias(ctx context.Context, req *milvuspb.CreateAliasRequest) (*commonpb.Status, error) { + code := coord.state.Load().(internalpb.StateCode) + if code != internalpb.StateCode_Healthy { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: fmt.Sprintf("state code = %s", internalpb.StateCode_name[int32(code)]), + }, nil + } + coord.collMtx.Lock() + defer coord.collMtx.Unlock() + + _, exist := coord.collAlias2ID[req.Alias] + if exist { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: fmt.Sprintf("duplicate collection alias, alias = %s", req.Alias), + }, nil + } + + collID, exist := coord.collName2ID[req.CollectionName] + if !exist { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: fmt.Sprintf("aliased collection name does not exist, name = %s", req.CollectionName), + }, nil + } + + coord.collAlias2ID[req.Alias] = collID + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_Success, + Reason: "", + }, nil +} + +func (coord *RootCoordMock) DropAlias(ctx context.Context, req *milvuspb.DropAliasRequest) (*commonpb.Status, error) { + code := coord.state.Load().(internalpb.StateCode) + if code != internalpb.StateCode_Healthy { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: fmt.Sprintf("state code = %s", internalpb.StateCode_name[int32(code)]), + }, nil + } + coord.collMtx.Lock() + defer coord.collMtx.Unlock() + + _, exist := coord.collAlias2ID[req.Alias] + if !exist { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: fmt.Sprintf("alias does not exist, alias = %s", req.Alias), + }, nil + } + + delete(coord.collAlias2ID, req.Alias) + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_Success, + Reason: "", + }, nil +} + +func (coord *RootCoordMock) AlterAlias(ctx context.Context, req *milvuspb.AlterAliasRequest) (*commonpb.Status, error) { + code := coord.state.Load().(internalpb.StateCode) + if code != internalpb.StateCode_Healthy { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: fmt.Sprintf("state code = %s", internalpb.StateCode_name[int32(code)]), + }, nil + } + coord.collMtx.Lock() + defer coord.collMtx.Unlock() + + _, exist := coord.collAlias2ID[req.Alias] + if !exist { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_CollectionNotExists, + Reason: fmt.Sprintf("alias does not exist, alias = %s", req.Alias), + }, nil + } + collID, exist := coord.collName2ID[req.CollectionName] + if !exist { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_CollectionNotExists, + Reason: fmt.Sprintf("aliased collection name does not exist, name = %s", req.CollectionName), + }, nil + } + coord.collAlias2ID[req.Alias] = collID + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_Success, + Reason: "", + }, nil +} + func (coord *RootCoordMock) updateState(state internalpb.StateCode) { coord.state.Store(state) } diff --git a/internal/proxy/task.go b/internal/proxy/task.go index 32e3d15365..fad14c873d 100644 --- a/internal/proxy/task.go +++ b/internal/proxy/task.go @@ -80,6 +80,9 @@ const ( LoadPartitionTaskName = "LoadPartitionsTask" ReleasePartitionTaskName = "ReleasePartitionsTask" deleteTaskName = "DeleteTask" + CreateAliasTaskName = "CreateAliasTask" + DropAliasTaskName = "DropAliasTask" + AlterAliasTaskName = "AlterAliasTask" ) type task interface { @@ -4632,3 +4635,213 @@ func (dt *deleteTask) Execute(ctx context.Context) (err error) { func (dt *deleteTask) PostExecute(ctx context.Context) error { return nil } + +type CreateAliasTask struct { + Condition + *milvuspb.CreateAliasRequest + ctx context.Context + rootCoord types.RootCoord + result *commonpb.Status +} + +func (c *CreateAliasTask) TraceCtx() context.Context { + return c.ctx +} + +func (c *CreateAliasTask) ID() UniqueID { + return c.Base.MsgID +} + +func (c *CreateAliasTask) SetID(uid UniqueID) { + c.Base.MsgID = uid +} + +func (c *CreateAliasTask) Name() string { + return CreateAliasTaskName +} + +func (c *CreateAliasTask) Type() commonpb.MsgType { + return c.Base.MsgType +} + +func (c *CreateAliasTask) BeginTs() Timestamp { + return c.Base.Timestamp +} + +func (c *CreateAliasTask) EndTs() Timestamp { + return c.Base.Timestamp +} + +func (c *CreateAliasTask) SetTs(ts Timestamp) { + c.Base.Timestamp = ts +} + +func (c *CreateAliasTask) OnEnqueue() error { + c.Base = &commonpb.MsgBase{} + return nil +} + +func (c *CreateAliasTask) PreExecute(ctx context.Context) error { + c.Base.MsgType = commonpb.MsgType_CreateAlias + c.Base.SourceID = Params.ProxyID + + collAlias := c.Alias + // collection alias uses the same format as collection name + if err := ValidateCollectionAlias(collAlias); err != nil { + return err + } + + collName := c.CollectionName + if err := ValidateCollectionName(collName); err != nil { + return err + } + return nil +} + +func (c *CreateAliasTask) Execute(ctx context.Context) error { + var err error + c.result, err = c.rootCoord.CreateAlias(ctx, c.CreateAliasRequest) + return err +} + +func (c *CreateAliasTask) PostExecute(ctx context.Context) error { + return nil +} + +type DropAliasTask struct { + Condition + *milvuspb.DropAliasRequest + ctx context.Context + rootCoord types.RootCoord + result *commonpb.Status +} + +func (d *DropAliasTask) TraceCtx() context.Context { + return d.ctx +} + +func (d *DropAliasTask) ID() UniqueID { + return d.Base.MsgID +} + +func (d *DropAliasTask) SetID(uid UniqueID) { + d.Base.MsgID = uid +} + +func (d *DropAliasTask) Name() string { + return DropAliasTaskName +} + +func (d *DropAliasTask) Type() commonpb.MsgType { + return d.Base.MsgType +} + +func (d *DropAliasTask) BeginTs() Timestamp { + return d.Base.Timestamp +} + +func (d *DropAliasTask) EndTs() Timestamp { + return d.Base.Timestamp +} + +func (d *DropAliasTask) SetTs(ts Timestamp) { + d.Base.Timestamp = ts +} + +func (d *DropAliasTask) OnEnqueue() error { + d.Base = &commonpb.MsgBase{} + return nil +} + +func (d *DropAliasTask) PreExecute(ctx context.Context) error { + d.Base.MsgType = commonpb.MsgType_DropAlias + d.Base.SourceID = Params.ProxyID + collAlias := d.Alias + if err := ValidateCollectionAlias(collAlias); err != nil { + return err + } + return nil +} + +func (d *DropAliasTask) Execute(ctx context.Context) error { + var err error + d.result, err = d.rootCoord.DropAlias(ctx, d.DropAliasRequest) + return err +} + +func (d *DropAliasTask) PostExecute(ctx context.Context) error { + return nil +} + +type AlterAliasTask struct { + Condition + *milvuspb.AlterAliasRequest + ctx context.Context + rootCoord types.RootCoord + result *commonpb.Status +} + +func (a *AlterAliasTask) TraceCtx() context.Context { + return a.ctx +} + +func (a *AlterAliasTask) ID() UniqueID { + return a.Base.MsgID +} + +func (a *AlterAliasTask) SetID(uid UniqueID) { + a.Base.MsgID = uid +} + +func (a *AlterAliasTask) Name() string { + return AlterAliasTaskName +} + +func (a *AlterAliasTask) Type() commonpb.MsgType { + return a.Base.MsgType +} + +func (a *AlterAliasTask) BeginTs() Timestamp { + return a.Base.Timestamp +} + +func (a *AlterAliasTask) EndTs() Timestamp { + return a.Base.Timestamp +} + +func (a *AlterAliasTask) SetTs(ts Timestamp) { + a.Base.Timestamp = ts +} + +func (a *AlterAliasTask) OnEnqueue() error { + a.Base = &commonpb.MsgBase{} + return nil +} + +func (a *AlterAliasTask) PreExecute(ctx context.Context) error { + a.Base.MsgType = commonpb.MsgType_AlterAlias + a.Base.SourceID = Params.ProxyID + + collAlias := a.Alias + // collection alias uses the same format as collection name + if err := ValidateCollectionAlias(collAlias); err != nil { + return err + } + + collName := a.CollectionName + if err := ValidateCollectionName(collName); err != nil { + return err + } + + return nil +} + +func (a *AlterAliasTask) Execute(ctx context.Context) error { + var err error + a.result, err = a.rootCoord.AlterAlias(ctx, a.AlterAliasRequest) + return err +} + +func (a *AlterAliasTask) PostExecute(ctx context.Context) error { + return nil +} diff --git a/internal/proxy/task_test.go b/internal/proxy/task_test.go index 5f1be18e26..6e598ec338 100644 --- a/internal/proxy/task_test.go +++ b/internal/proxy/task_test.go @@ -3077,3 +3077,126 @@ func TestDeleteTask_PreExecute(t *testing.T) { assert.Error(t, task.PreExecute(ctx)) task.DeleteRequest.PartitionName = partitionName } + +func TestCreateAlias_all(t *testing.T) { + Params.Init() + rc := NewRootCoordMock() + rc.Start() + defer rc.Stop() + ctx := context.Background() + prefix := "TestCreateAlias_all" + collectionName := prefix + funcutil.GenRandomStr() + task := &CreateAliasTask{ + Condition: NewTaskCondition(ctx), + CreateAliasRequest: &milvuspb.CreateAliasRequest{ + Base: nil, + CollectionName: collectionName, + Alias: "alias1", + }, + ctx: ctx, + result: &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_Success, + }, + rootCoord: rc, + } + + assert.NoError(t, task.OnEnqueue()) + + assert.NotNil(t, task.TraceCtx()) + + id := UniqueID(uniquegenerator.GetUniqueIntGeneratorIns().GetInt()) + task.SetID(id) + assert.Equal(t, id, task.ID()) + + task.Base.MsgType = commonpb.MsgType_CreateAlias + assert.Equal(t, commonpb.MsgType_CreateAlias, task.Type()) + ts := Timestamp(time.Now().UnixNano()) + task.SetTs(ts) + assert.Equal(t, ts, task.BeginTs()) + assert.Equal(t, ts, task.EndTs()) + + assert.NoError(t, task.PreExecute(ctx)) + assert.NoError(t, task.Execute(ctx)) + assert.NoError(t, task.PostExecute(ctx)) +} + +func TestDropAlias_all(t *testing.T) { + Params.Init() + rc := NewRootCoordMock() + rc.Start() + defer rc.Stop() + ctx := context.Background() + task := &DropAliasTask{ + Condition: NewTaskCondition(ctx), + DropAliasRequest: &milvuspb.DropAliasRequest{ + Base: nil, + Alias: "alias1", + }, + ctx: ctx, + result: &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_Success, + }, + rootCoord: rc, + } + + assert.NoError(t, task.OnEnqueue()) + assert.NotNil(t, task.TraceCtx()) + + id := UniqueID(uniquegenerator.GetUniqueIntGeneratorIns().GetInt()) + task.SetID(id) + assert.Equal(t, id, task.ID()) + + task.Base.MsgType = commonpb.MsgType_DropAlias + assert.Equal(t, commonpb.MsgType_DropAlias, task.Type()) + ts := Timestamp(time.Now().UnixNano()) + task.SetTs(ts) + assert.Equal(t, ts, task.BeginTs()) + assert.Equal(t, ts, task.EndTs()) + + assert.NoError(t, task.PreExecute(ctx)) + assert.NoError(t, task.Execute(ctx)) + assert.NoError(t, task.PostExecute(ctx)) + +} + +func TestAlterAlias_all(t *testing.T) { + Params.Init() + rc := NewRootCoordMock() + rc.Start() + defer rc.Stop() + ctx := context.Background() + prefix := "TestAlterAlias_all" + collectionName := prefix + funcutil.GenRandomStr() + task := &AlterAliasTask{ + Condition: NewTaskCondition(ctx), + AlterAliasRequest: &milvuspb.AlterAliasRequest{ + Base: nil, + CollectionName: collectionName, + Alias: "alias1", + }, + ctx: ctx, + result: &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_Success, + }, + rootCoord: rc, + } + + assert.NoError(t, task.OnEnqueue()) + + assert.NotNil(t, task.TraceCtx()) + + id := UniqueID(uniquegenerator.GetUniqueIntGeneratorIns().GetInt()) + task.SetID(id) + assert.Equal(t, id, task.ID()) + + task.Base.MsgType = commonpb.MsgType_AlterAlias + assert.Equal(t, commonpb.MsgType_AlterAlias, task.Type()) + ts := Timestamp(time.Now().UnixNano()) + task.SetTs(ts) + assert.Equal(t, ts, task.BeginTs()) + assert.Equal(t, ts, task.EndTs()) + + assert.NoError(t, task.PreExecute(ctx)) + assert.NoError(t, task.Execute(ctx)) + assert.NoError(t, task.PostExecute(ctx)) +} diff --git a/internal/proxy/validate_util.go b/internal/proxy/validate_util.go index 1356011984..2eb7c49305 100644 --- a/internal/proxy/validate_util.go +++ b/internal/proxy/validate_util.go @@ -35,36 +35,44 @@ func isNumber(c uint8) bool { return true } -func ValidateCollectionName(collName string) error { - collName = strings.TrimSpace(collName) +func validateCollectionNameOrAlias(entity, entityType string) error { + entity = strings.TrimSpace(entity) - if collName == "" { - return errors.New("Collection name should not be empty") + if entity == "" { + return fmt.Errorf("Collection %s should not be empty", entityType) } - invalidMsg := "Invalid collection name: " + collName + ". " - if int64(len(collName)) > Params.MaxNameLength { - msg := invalidMsg + "The length of a collection name must be less than " + + invalidMsg := fmt.Sprintf("Invalid collection %s: %s. ", entityType, entity) + if int64(len(entity)) > Params.MaxNameLength { + msg := invalidMsg + fmt.Sprintf("The length of a collection %s must be less than ", entityType) + strconv.FormatInt(Params.MaxNameLength, 10) + " characters." return errors.New(msg) } - firstChar := collName[0] + firstChar := entity[0] if firstChar != '_' && !isAlpha(firstChar) { - msg := invalidMsg + "The first character of a collection name must be an underscore or letter." + msg := invalidMsg + fmt.Sprintf("The first character of a collection %s must be an underscore or letter.", entityType) return errors.New(msg) } - for i := 1; i < len(collName); i++ { - c := collName[i] + for i := 1; i < len(entity); i++ { + c := entity[i] if c != '_' && c != '$' && !isAlpha(c) && !isNumber(c) { - msg := invalidMsg + "Collection name can only contain numbers, letters, dollars and underscores." + msg := invalidMsg + fmt.Sprintf("Collection %s can only contain numbers, letters, dollars and underscores.", entityType) return errors.New(msg) } } return nil } +func ValidateCollectionAlias(collAlias string) error { + return validateCollectionNameOrAlias(collAlias, "alias") +} + +func ValidateCollectionName(collName string) error { + return validateCollectionNameOrAlias(collName, "name") +} + func ValidatePartitionTag(partitionTag string, strictCheck bool) error { partitionTag = strings.TrimSpace(partitionTag) diff --git a/internal/proxy/validate_util_test.go b/internal/proxy/validate_util_test.go index 73c62b44f7..6c0e2a32d0 100644 --- a/internal/proxy/validate_util_test.go +++ b/internal/proxy/validate_util_test.go @@ -40,6 +40,8 @@ func TestValidateCollectionName(t *testing.T) { for _, name := range invalidNames { assert.NotNil(t, ValidateCollectionName(name)) + assert.NotNil(t, validateCollectionNameOrAlias(name, "name")) + assert.NotNil(t, validateCollectionNameOrAlias(name, "alias")) } } diff --git a/internal/querynode/mock_components_test.go b/internal/querynode/mock_components_test.go index 473ca54945..05f4f36a1d 100644 --- a/internal/querynode/mock_components_test.go +++ b/internal/querynode/mock_components_test.go @@ -31,6 +31,18 @@ type mockRootCoord struct { returnError bool // TODO: add error tests } +func (m *mockRootCoord) CreateAlias(ctx context.Context, req *milvuspb.CreateAliasRequest) (*commonpb.Status, error) { + panic("implement me") +} + +func (m *mockRootCoord) DropAlias(ctx context.Context, req *milvuspb.DropAliasRequest) (*commonpb.Status, error) { + panic("implement me") +} + +func (m *mockRootCoord) AlterAlias(ctx context.Context, req *milvuspb.AlterAliasRequest) (*commonpb.Status, error) { + panic("implement me") +} + func newMockRootCoord() *mockRootCoord { return &mockRootCoord{ state: internalpb.StateCode_Healthy, diff --git a/internal/rootcoord/meta_table.go b/internal/rootcoord/meta_table.go index ad44993a71..973e4fd01f 100644 --- a/internal/rootcoord/meta_table.go +++ b/internal/rootcoord/meta_table.go @@ -29,12 +29,13 @@ import ( ) const ( - ComponentPrefix = "root-coord" - TenantMetaPrefix = ComponentPrefix + "/tenant" - ProxyMetaPrefix = ComponentPrefix + "/proxy" - CollectionMetaPrefix = ComponentPrefix + "/collection" - SegmentIndexMetaPrefix = ComponentPrefix + "/segment-index" - IndexMetaPrefix = ComponentPrefix + "/index" + ComponentPrefix = "root-coord" + TenantMetaPrefix = ComponentPrefix + "/tenant" + ProxyMetaPrefix = ComponentPrefix + "/proxy" + CollectionMetaPrefix = ComponentPrefix + "/collection" + SegmentIndexMetaPrefix = ComponentPrefix + "/segment-index" + IndexMetaPrefix = ComponentPrefix + "/index" + CollectionAliasMetaPrefix = ComponentPrefix + "/collection-alias" TimestampPrefix = ComponentPrefix + "/timestamp" @@ -45,6 +46,9 @@ const ( DropCollectionDDType = "DropCollection" CreatePartitionDDType = "CreatePartition" DropPartitionDDType = "DropPartition" + CreateAliasDDType = "CreateAlias" + DropAliasDDType = "DropAlias" + AlterAliasDDType = "AlterAlias" ) type metaTable struct { @@ -53,6 +57,7 @@ type metaTable struct { proxyID2Meta map[typeutil.UniqueID]pb.ProxyMeta // proxy id to proxy meta collID2Meta map[typeutil.UniqueID]pb.CollectionInfo // collection_id -> meta collName2ID map[string]typeutil.UniqueID // collection name to collection id + collAlias2ID map[string]typeutil.UniqueID // collection alias to collection id partID2SegID map[typeutil.UniqueID]map[typeutil.UniqueID]bool // partition_id -> segment_id -> bool segID2IndexMeta map[typeutil.UniqueID]map[typeutil.UniqueID]pb.SegmentIndexInfo // collection_id/index_id/partition_id/segment_id -> meta indexID2Meta map[typeutil.UniqueID]pb.IndexInfo // collection_id/index_id -> meta @@ -82,6 +87,7 @@ func (mt *metaTable) reloadFromKV() error { mt.proxyID2Meta = make(map[typeutil.UniqueID]pb.ProxyMeta) mt.collID2Meta = make(map[typeutil.UniqueID]pb.CollectionInfo) mt.collName2ID = make(map[string]typeutil.UniqueID) + mt.collAlias2ID = make(map[string]typeutil.UniqueID) mt.partID2SegID = make(map[typeutil.UniqueID]map[typeutil.UniqueID]bool) mt.segID2IndexMeta = make(map[typeutil.UniqueID]map[typeutil.UniqueID]pb.SegmentIndexInfo) mt.indexID2Meta = make(map[typeutil.UniqueID]pb.IndexInfo) @@ -174,6 +180,19 @@ func (mt *metaTable) reloadFromKV() error { mt.indexID2Meta[meta.IndexID] = meta } + _, values, err = mt.client.LoadWithPrefix(CollectionAliasMetaPrefix, 0) + if err != nil { + return err + } + for _, value := range values { + aliasInfo := pb.CollectionInfo{} + err = proto.UnmarshalText(value, &aliasInfo) + if err != nil { + return fmt.Errorf("RootCoord UnmarshalText pb.AliasInfo err:%w", err) + } + mt.collAlias2ID[aliasInfo.Schema.Name] = aliasInfo.ID + } + log.Debug("reload meta table from KV successfully") return nil } @@ -310,6 +329,13 @@ func (mt *metaTable) DeleteCollection(collID typeutil.UniqueID, ts typeutil.Time } delete(mt.indexID2Meta, idxInfo.IndexID) } + var aliases []string + // delete collection aliases + for alias, cid := range mt.collAlias2ID { + if cid == collID { + aliases = append(aliases, alias) + } + } delMetakeys := []string{ fmt.Sprintf("%s/%d", CollectionMetaPrefix, collID), @@ -317,6 +343,13 @@ func (mt *metaTable) DeleteCollection(collID typeutil.UniqueID, ts typeutil.Time fmt.Sprintf("%s/%d", IndexMetaPrefix, collID), } + for _, alias := range aliases { + delete(mt.collAlias2ID, alias) + delMetakeys = append(delMetakeys, + fmt.Sprintf("%s/%s", CollectionAliasMetaPrefix, alias), + ) + } + // save ddOpStr into etcd var saveMeta = map[string]string{} addition := mt.getAdditionKV(ddOpStr, saveMeta) @@ -373,7 +406,9 @@ func (mt *metaTable) GetCollectionByName(collectionName string, ts typeutil.Time if ts == 0 { vid, ok := mt.collName2ID[collectionName] if !ok { - return nil, fmt.Errorf("can't find collection: " + collectionName) + if vid, ok = mt.collAlias2ID[collectionName]; !ok { + return nil, fmt.Errorf("can't find collection: " + collectionName) + } } col, ok := mt.collID2Meta[vid] if !ok { @@ -1046,3 +1081,88 @@ func (mt *metaTable) dupMeta() ( } return collID2Meta, segID2IndexMeta, indexID2Meta } + +func (mt *metaTable) AddAlias(collectionAlias string, collectionName string, + ts typeutil.Timestamp, ddOpStr func(ts typeutil.Timestamp) (string, error)) error { + mt.ddLock.Lock() + defer mt.ddLock.Unlock() + if _, ok := mt.collAlias2ID[collectionAlias]; ok { + return fmt.Errorf("duplicate collection alias, alias = %s", collectionAlias) + } + + if _, ok := mt.collName2ID[collectionAlias]; ok { + return fmt.Errorf("collection alias collides with existing collection name. collection = %s, alias = %s", collectionAlias, collectionAlias) + } + + id, ok := mt.collName2ID[collectionName] + if !ok { + return fmt.Errorf("aliased collection name does not exist, name = %s", collectionName) + } + mt.collAlias2ID[collectionAlias] = id + + meta := make(map[string]string) + addition := mt.getAdditionKV(ddOpStr, meta) + saveAlias := func(ts typeutil.Timestamp) (string, string, error) { + k1 := fmt.Sprintf("%s/%s", CollectionAliasMetaPrefix, collectionAlias) + v1 := proto.MarshalTextString(&pb.CollectionInfo{ID: id, Schema: &schemapb.CollectionSchema{Name: collectionAlias}}) + meta[k1] = v1 + return k1, v1, nil + } + + err := mt.client.MultiSave(meta, ts, addition, saveAlias) + if err != nil { + log.Error("SnapShotKV MultiSave fail", zap.Error(err)) + panic("SnapShotKV MultiSave fail") + } + return nil +} + +func (mt *metaTable) DeleteAlias(collectionAlias string, ts typeutil.Timestamp, ddOpStr func(ts typeutil.Timestamp) (string, error)) error { + mt.ddLock.Lock() + defer mt.ddLock.Unlock() + if _, ok := mt.collAlias2ID[collectionAlias]; !ok { + return fmt.Errorf("alias does not exist, alias = %s", collectionAlias) + } + delete(mt.collAlias2ID, collectionAlias) + + delMetakeys := []string{ + fmt.Sprintf("%s/%s", CollectionAliasMetaPrefix, collectionAlias), + } + meta := make(map[string]string) + addition := mt.getAdditionKV(ddOpStr, meta) + err := mt.client.MultiSaveAndRemoveWithPrefix(meta, delMetakeys, ts, addition) + if err != nil { + log.Error("SnapShotKV MultiSave fail", zap.Error(err)) + panic("SnapShotKV MultiSave fail") + } + return nil +} + +func (mt *metaTable) AlterAlias(collectionAlias string, collectionName string, ts typeutil.Timestamp, ddOpStr func(ts typeutil.Timestamp) (string, error)) error { + mt.ddLock.Lock() + defer mt.ddLock.Unlock() + if _, ok := mt.collAlias2ID[collectionAlias]; !ok { + return fmt.Errorf("alias does not exist, alias = %s", collectionAlias) + } + + id, ok := mt.collName2ID[collectionName] + if !ok { + return fmt.Errorf("aliased collection name does not exist, name = %s", collectionName) + } + mt.collAlias2ID[collectionAlias] = id + meta := make(map[string]string) + addition := mt.getAdditionKV(ddOpStr, meta) + alterAlias := func(ts typeutil.Timestamp) (string, string, error) { + k1 := fmt.Sprintf("%s/%s", CollectionAliasMetaPrefix, collectionAlias) + v1 := proto.MarshalTextString(&pb.CollectionInfo{ID: id, Schema: &schemapb.CollectionSchema{Name: collectionAlias}}) + meta[k1] = v1 + return k1, v1, nil + } + + err := mt.client.MultiSave(meta, ts, addition, alterAlias) + if err != nil { + log.Error("SnapShotKV MultiSave fail", zap.Error(err)) + panic("SnapShotKV MultiSave fail") + } + return nil +} diff --git a/internal/rootcoord/meta_table_test.go b/internal/rootcoord/meta_table_test.go index 6383b11589..5533958e27 100644 --- a/internal/rootcoord/meta_table_test.go +++ b/internal/rootcoord/meta_table_test.go @@ -116,7 +116,9 @@ func Test_MockKV(t *testing.T) { prefix[IndexMetaPrefix] = []string{proto.MarshalTextString(&pb.IndexInfo{})} m1, err := NewMetaTable(k1) - assert.Nil(t, err) + assert.NotNil(t, err) + assert.EqualError(t, err, "load prefix error") + prefix[CollectionAliasMetaPrefix] = []string{"alias-meta"} k1.save = func(key string, value string, ts typeutil.Timestamp) error { return fmt.Errorf("save tenant error") @@ -269,11 +271,29 @@ func TestMetaTable(t *testing.T) { assert.Equal(t, "false", flag) }) + t.Run("add alias", func(t *testing.T) { + ts := ftso() + err = mt.AddAlias("alias1", "testColl", ts, ddOp) + assert.Nil(t, err) + }) + + t.Run("alter alias", func(t *testing.T) { + ts := ftso() + err = mt.AlterAlias("alias1", "testColl", ts, ddOp) + assert.Nil(t, err) + }) + + t.Run("delete alias", func(t *testing.T) { + ts := ftso() + err = mt.DeleteAlias("alias1", ts, ddOp) + assert.Nil(t, err) + }) + t.Run("add partition", func(t *testing.T) { ts := ftso() err = mt.AddPartition(collID, partName, partID, ts, ddOp) assert.Nil(t, err) - assert.Equal(t, ts, uint64(2)) + //assert.Equal(t, ts, uint64(2)) collMeta, ok := mt.collID2Meta[collID] assert.True(t, ok) @@ -441,8 +461,14 @@ func TestMetaTable(t *testing.T) { ts := ftso() err = mt.DeleteCollection(collIDInvalid, ts, nil) assert.NotNil(t, err) + ts2 := ftso() + err = mt.AddAlias("alias1", "testColl", ts2, ddOp) + assert.Nil(t, err) err = mt.DeleteCollection(collID, ts, nil) assert.Nil(t, err) + ts3 := ftso() + err = mt.DeleteAlias("alias1", ts3, ddOp) + assert.NotNil(t, err) // check DD operation flag flag, err := mt.client.Load(DDMsgSendPrefix, 0) diff --git a/internal/rootcoord/root_coord.go b/internal/rootcoord/root_coord.go index 517c5da7a1..8fe0e8527f 100644 --- a/internal/rootcoord/root_coord.go +++ b/internal/rootcoord/root_coord.go @@ -2003,3 +2003,96 @@ func (c *Core) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) Response: "", }, nil } + +func (c *Core) CreateAlias(ctx context.Context, in *milvuspb.CreateAliasRequest) (*commonpb.Status, error) { + code := c.stateCode.Load().(internalpb.StateCode) + if code != internalpb.StateCode_Healthy { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: fmt.Sprintf("state code = %s", internalpb.StateCode_name[int32(code)]), + }, nil + } + log.Debug("CreateAlias ", zap.String("alias", in.Alias), zap.String("name", in.CollectionName)) + t := &CreateAliasReqTask{ + baseReqTask: baseReqTask{ + ctx: ctx, + core: c, + }, + Req: in, + } + err := executeTask(t) + if err != nil { + log.Debug("CreateAlias failed", zap.String("alias", in.Alias), zap.String("name", in.CollectionName), zap.Error(err)) + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: "Create alias failed: " + err.Error(), + }, nil + } + log.Debug("CreateAlias Success", zap.String("alias", in.Alias), zap.String("name", in.CollectionName)) + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_Success, + Reason: "", + }, nil +} + +func (c *Core) DropAlias(ctx context.Context, in *milvuspb.DropAliasRequest) (*commonpb.Status, error) { + code := c.stateCode.Load().(internalpb.StateCode) + if code != internalpb.StateCode_Healthy { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: fmt.Sprintf("state code = %s", internalpb.StateCode_name[int32(code)]), + }, nil + } + log.Debug("DropAlias ", zap.String("alias", in.Alias)) + t := &DropAliasReqTask{ + baseReqTask: baseReqTask{ + ctx: ctx, + core: c, + }, + Req: in, + } + err := executeTask(t) + if err != nil { + log.Debug("DropAlias failed", zap.String("alias", in.Alias), zap.Error(err)) + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: "Drop alias failed: " + err.Error(), + }, nil + } + log.Debug("DropAlias Success", zap.String("alias", in.Alias)) + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_Success, + Reason: "", + }, nil +} + +func (c *Core) AlterAlias(ctx context.Context, in *milvuspb.AlterAliasRequest) (*commonpb.Status, error) { + code := c.stateCode.Load().(internalpb.StateCode) + if code != internalpb.StateCode_Healthy { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: fmt.Sprintf("state code = %s", internalpb.StateCode_name[int32(code)]), + }, nil + } + log.Debug("AlterAlias ", zap.String("alias", in.Alias), zap.String("name", in.CollectionName)) + t := &AlterAliasReqTask{ + baseReqTask: baseReqTask{ + ctx: ctx, + core: c, + }, + Req: in, + } + err := executeTask(t) + if err != nil { + log.Debug("AlterAlias failed", zap.String("alias", in.Alias), zap.String("name", in.CollectionName), zap.Error(err)) + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_UnexpectedError, + Reason: "Alter alias failed: " + err.Error(), + }, nil + } + log.Debug("AlterAlias Success", zap.String("alias", in.Alias), zap.String("name", in.CollectionName)) + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_Success, + Reason: "", + }, nil +} diff --git a/internal/rootcoord/root_coord_test.go b/internal/rootcoord/root_coord_test.go index 4faf39b964..ee162d0f38 100644 --- a/internal/rootcoord/root_coord_test.go +++ b/internal/rootcoord/root_coord_test.go @@ -505,10 +505,12 @@ func TestRootCoordInit(t *testing.T) { func TestRootCoord(t *testing.T) { const ( - dbName = "testDb" - collName = "testColl" - partName = "testPartition" - segID = 1001 + dbName = "testDb" + collName = "testColl" + collName2 = "testColl2" + aliasName = "alias1" + partName = "testPartition" + segID = 1001 ) ctx, cancel := context.WithCancel(context.Background()) @@ -1775,6 +1777,120 @@ func TestRootCoord(t *testing.T) { assert.Nil(t, err) }) + schema := schemapb.CollectionSchema{ + Name: collName, + } + sbf, err := proto.Marshal(&schema) + assert.Nil(t, err) + req := &milvuspb.CreateCollectionRequest{ + Base: &commonpb.MsgBase{ + MsgType: commonpb.MsgType_CreateCollection, + MsgID: 3011, + Timestamp: 3011, + SourceID: 3011, + }, + DbName: dbName, + CollectionName: collName, + Schema: sbf, + } + status, err := core.CreateCollection(ctx, req) + assert.Nil(t, err) + assert.Equal(t, commonpb.ErrorCode_Success, status.ErrorCode) + + t.Run("create alias", func(t *testing.T) { + req := &milvuspb.CreateAliasRequest{ + Base: &commonpb.MsgBase{ + MsgType: commonpb.MsgType_CreateAlias, + MsgID: 3012, + Timestamp: 3012, + SourceID: 3012, + }, + CollectionName: collName, + Alias: aliasName, + } + rsp, err := core.CreateAlias(ctx, req) + assert.Nil(t, err) + assert.Equal(t, commonpb.ErrorCode_Success, rsp.ErrorCode) + }) + + // temporarily create collName2 + schema = schemapb.CollectionSchema{ + Name: collName2, + } + sbf, err = proto.Marshal(&schema) + assert.Nil(t, err) + req2 := &milvuspb.CreateCollectionRequest{ + Base: &commonpb.MsgBase{ + MsgType: commonpb.MsgType_CreateCollection, + MsgID: 3013, + Timestamp: 3013, + SourceID: 3013, + }, + DbName: dbName, + CollectionName: collName2, + Schema: sbf, + } + status, err = core.CreateCollection(ctx, req2) + assert.Nil(t, err) + assert.Equal(t, commonpb.ErrorCode_Success, status.ErrorCode) + + t.Run("alter alias", func(t *testing.T) { + req := &milvuspb.AlterAliasRequest{ + Base: &commonpb.MsgBase{ + MsgType: commonpb.MsgType_AlterAlias, + MsgID: 3014, + Timestamp: 3014, + SourceID: 3014, + }, + CollectionName: collName2, + Alias: aliasName, + } + rsp, err := core.AlterAlias(ctx, req) + assert.Nil(t, err) + assert.Equal(t, commonpb.ErrorCode_Success, rsp.ErrorCode) + }) + + t.Run("drop alias", func(t *testing.T) { + req := &milvuspb.DropAliasRequest{ + Base: &commonpb.MsgBase{ + MsgType: commonpb.MsgType_DropAlias, + MsgID: 3015, + Timestamp: 3015, + SourceID: 3015, + }, + Alias: aliasName, + } + rsp, err := core.DropAlias(ctx, req) + assert.Nil(t, err) + assert.Equal(t, commonpb.ErrorCode_Success, rsp.ErrorCode) + }) + + status, err = core.DropCollection(ctx, &milvuspb.DropCollectionRequest{ + Base: &commonpb.MsgBase{ + MsgType: commonpb.MsgType_DropCollection, + MsgID: 3016, + Timestamp: 3016, + SourceID: 3016, + }, + DbName: dbName, + CollectionName: collName, + }) + assert.Nil(t, err) + assert.Equal(t, commonpb.ErrorCode_Success, status.ErrorCode) + + status, err = core.DropCollection(ctx, &milvuspb.DropCollectionRequest{ + Base: &commonpb.MsgBase{ + MsgType: commonpb.MsgType_DropCollection, + MsgID: 3017, + Timestamp: 3017, + SourceID: 3017, + }, + DbName: dbName, + CollectionName: collName2, + }) + assert.Nil(t, err) + assert.Equal(t, commonpb.ErrorCode_Success, status.ErrorCode) + t.Run("get metrics", func(t *testing.T) { // not healthy stateSave := core.stateCode.Load().(internalpb.StateCode) @@ -2021,6 +2137,7 @@ func TestRootCoord(t *testing.T) { }) err = core.Stop() assert.Nil(t, err) + } func TestRootCoord2(t *testing.T) { diff --git a/internal/rootcoord/task.go b/internal/rootcoord/task.go index 9aaa6cb177..131490fea2 100644 --- a/internal/rootcoord/task.go +++ b/internal/rootcoord/task.go @@ -889,3 +889,203 @@ func (t *DropIndexReqTask) Execute(ctx context.Context) error { _, _, err = t.core.MetaTable.DropIndex(t.Req.CollectionName, t.Req.FieldName, t.Req.IndexName, ts) return err } + +type CreateAliasReqTask struct { + baseReqTask + Req *milvuspb.CreateAliasRequest +} + +func (t *CreateAliasReqTask) Type() commonpb.MsgType { + return t.Req.Base.MsgType +} + +func (t *CreateAliasReqTask) Execute(ctx context.Context) error { + if t.Type() != commonpb.MsgType_CreateAlias { + return fmt.Errorf("create alias, msg type = %s", commonpb.MsgType_name[int32(t.Type())]) + } + + ddReq := internalpb.CreateAliasRequest{ + Base: t.Req.Base, + CollectionName: t.Req.CollectionName, + Alias: t.Req.Alias, + } + + // build DdOperation and save it into etcd, when ddmsg send fail, + // system can restore ddmsg from etcd and re-send + ddOp := func(ts typeutil.Timestamp) (string, error) { + ddReq.Base.Timestamp = ts + return EncodeDdOperation(&ddReq, CreateAliasDDType) + } + + reason := fmt.Sprintf("create alias %s", t.Req.Alias) + ts, err := t.core.TSOAllocator(1) + if err != nil { + return fmt.Errorf("TSO alloc fail, error = %w", err) + } + + // use lambda function here to guarantee all resources to be released + createAliasFn := func() error { + // lock for ddl operation + t.core.ddlLock.Lock() + defer t.core.ddlLock.Unlock() + + t.core.chanTimeTick.AddDdlTimeTick(ts, reason) + // clear ddl timetick in all conditions + defer t.core.chanTimeTick.RemoveDdlTimeTick(ts, reason) + err = t.core.MetaTable.AddAlias(t.Req.Alias, t.Req.CollectionName, ts, ddOp) + if err != nil { + return err + } + return t.core.SendTimeTick(ts, reason) + } + + err = createAliasFn() + if err != nil { + return err + } + + // Update DDOperation in etcd + return t.core.setDdMsgSendFlag(true) +} + +type DropAliasReqTask struct { + baseReqTask + Req *milvuspb.DropAliasRequest +} + +func (t *DropAliasReqTask) Type() commonpb.MsgType { + return t.Req.Base.MsgType +} + +func (t *DropAliasReqTask) Execute(ctx context.Context) error { + if t.Type() != commonpb.MsgType_DropAlias { + return fmt.Errorf("create alias, msg type = %s", commonpb.MsgType_name[int32(t.Type())]) + } + + ddReq := internalpb.DropAliasRequest{ + Base: t.Req.Base, + Alias: t.Req.Alias, + } + + // build DdOperation and save it into etcd, when ddmsg send fail, + // system can restore ddmsg from etcd and re-send + ddOp := func(ts typeutil.Timestamp) (string, error) { + ddReq.Base.Timestamp = ts + return EncodeDdOperation(&ddReq, DropAliasDDType) + } + + reason := fmt.Sprintf("create alias %s", t.Req.Alias) + ts, err := t.core.TSOAllocator(1) + if err != nil { + return fmt.Errorf("TSO alloc fail, error = %w", err) + } + + // use lambda function here to guarantee all resources to be released + dropAliasFn := func() error { + // lock for ddl operation + t.core.ddlLock.Lock() + defer t.core.ddlLock.Unlock() + + t.core.chanTimeTick.AddDdlTimeTick(ts, reason) + // clear ddl timetick in all conditions + defer t.core.chanTimeTick.RemoveDdlTimeTick(ts, reason) + err = t.core.MetaTable.DeleteAlias(t.Req.Alias, ts, ddOp) + if err != nil { + return err + } + t.core.SendTimeTick(ts, reason) + return nil + } + + err = dropAliasFn() + if err != nil { + return err + } + + req := proxypb.InvalidateCollMetaCacheRequest{ + Base: &commonpb.MsgBase{ + MsgType: 0, //TODO, msg type + MsgID: 0, //TODO, msg id + Timestamp: ts, + SourceID: t.core.session.ServerID, + }, + CollectionName: t.Req.Alias, + } + // error doesn't matter here + t.core.proxyClientManager.InvalidateCollectionMetaCache(ctx, &req) + + // Update DDOperation in etcd + return t.core.setDdMsgSendFlag(true) + +} + +type AlterAliasReqTask struct { + baseReqTask + Req *milvuspb.AlterAliasRequest +} + +func (t *AlterAliasReqTask) Type() commonpb.MsgType { + return t.Req.Base.MsgType +} + +func (t *AlterAliasReqTask) Execute(ctx context.Context) error { + if t.Type() != commonpb.MsgType_AlterAlias { + return fmt.Errorf("alter alias, msg type = %s", commonpb.MsgType_name[int32(t.Type())]) + } + + ddReq := internalpb.DropAliasRequest{ + Base: t.Req.Base, + Alias: t.Req.Alias, + } + + // build DdOperation and save it into etcd, when ddmsg send fail, + // system can restore ddmsg from etcd and re-send + ddOp := func(ts typeutil.Timestamp) (string, error) { + ddReq.Base.Timestamp = ts + return EncodeDdOperation(&ddReq, AlterAliasDDType) + } + + reason := fmt.Sprintf("alter alias %s", t.Req.Alias) + ts, err := t.core.TSOAllocator(1) + if err != nil { + return fmt.Errorf("TSO alloc fail, error = %w", err) + } + + // use lambda function here to guarantee all resources to be released + alterAliasFn := func() error { + // lock for ddl operation + t.core.ddlLock.Lock() + defer t.core.ddlLock.Unlock() + + t.core.chanTimeTick.AddDdlTimeTick(ts, reason) + // clear ddl timetick in all conditions + defer t.core.chanTimeTick.RemoveDdlTimeTick(ts, reason) + err = t.core.MetaTable.AlterAlias(t.Req.Alias, t.Req.CollectionName, ts, ddOp) + if err != nil { + return err + } + t.core.SendTimeTick(ts, reason) + return nil + } + + err = alterAliasFn() + if err != nil { + return err + } + + req := proxypb.InvalidateCollMetaCacheRequest{ + Base: &commonpb.MsgBase{ + MsgType: 0, //TODO, msg type + MsgID: 0, //TODO, msg id + Timestamp: ts, + SourceID: t.core.session.ServerID, + }, + CollectionName: t.Req.Alias, + } + // error doesn't matter here + t.core.proxyClientManager.InvalidateCollectionMetaCache(ctx, &req) + + // Update DDOperation in etcd + return t.core.setDdMsgSendFlag(true) + +} diff --git a/internal/types/types.go b/internal/types/types.go index c16afb79ea..30d47cb6f8 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -106,6 +106,11 @@ type RootCoord interface { DescribeIndex(ctx context.Context, req *milvuspb.DescribeIndexRequest) (*milvuspb.DescribeIndexResponse, error) DropIndex(ctx context.Context, req *milvuspb.DropIndexRequest) (*commonpb.Status, error) + // collection alias + CreateAlias(ctx context.Context, req *milvuspb.CreateAliasRequest) (*commonpb.Status, error) + DropAlias(ctx context.Context, req *milvuspb.DropAliasRequest) (*commonpb.Status, error) + AlterAlias(ctx context.Context, req *milvuspb.AlterAliasRequest) (*commonpb.Status, error) + //global timestamp allocator AllocTimestamp(ctx context.Context, req *rootcoordpb.AllocTimestampRequest) (*rootcoordpb.AllocTimestampResponse, error) AllocID(ctx context.Context, req *rootcoordpb.AllocIDRequest) (*rootcoordpb.AllocIDResponse, error)