From 619d110450f73d789a596800c23450255aadc87c Mon Sep 17 00:00:00 2001 From: bigsheeper Date: Thu, 7 Sep 2023 11:10:38 +0800 Subject: [PATCH] Use FlushTs and ColelctionName in GetFlushState Signed-off-by: bigsheeper --- pymilvus/client/grpc_handler.py | 14 +- pymilvus/client/prepare.py | 4 +- pymilvus/grpc_gen/common_pb2.py | 123 +- pymilvus/grpc_gen/common_pb2.pyi | 943 ++++------- pymilvus/grpc_gen/feder_pb2.py | 35 +- pymilvus/grpc_gen/feder_pb2.pyi | 72 +- pymilvus/grpc_gen/milvus-proto | 2 +- pymilvus/grpc_gen/milvus_pb2.py | 673 ++++---- pymilvus/grpc_gen/milvus_pb2.pyi | 2682 +++++++++++++++--------------- pymilvus/grpc_gen/schema_pb2.py | 83 +- pymilvus/grpc_gen/schema_pb2.pyi | 335 ++-- 11 files changed, 2355 insertions(+), 2611 deletions(-) diff --git a/pymilvus/client/grpc_handler.py b/pymilvus/client/grpc_handler.py index 6daaa3a45..e364ecbbc 100644 --- a/pymilvus/client/grpc_handler.py +++ b/pymilvus/client/grpc_handler.py @@ -1216,8 +1216,8 @@ def get_collection_stats(self, collection_name: str, timeout: Optional[float] = raise MilvusException(status.error_code, status.reason) @retry_on_rpc_failure() - def get_flush_state(self, segment_ids: List[int], timeout: Optional[float] = None, **kwargs): - req = Prepare.get_flush_state_request(segment_ids) + def get_flush_state(self, collection_name: str, flush_ts: int, timeout: Optional[float] = None, **kwargs): + req = Prepare.get_flush_state_request(collection_name, flush_ts) future = self._stub.GetFlushState.future(req, timeout=timeout) response = future.result() status = response.status @@ -1238,14 +1238,14 @@ def get_persistent_segment_infos( return response.infos # todo: A wrapper class of PersistentSegmentInfo raise MilvusException(status.error_code, status.reason) - def _wait_for_flushed(self, segment_ids: List[int], timeout: Optional[float] = None, **kwargs): + def _wait_for_flushed(self, collection_name: str, flush_ts: int, timeout: Optional[float] = None, **kwargs): flush_ret = False start = time.time() while not flush_ret: - flush_ret = self.get_flush_state(segment_ids, timeout, **kwargs) + flush_ret = self.get_flush_state(collection_name, flush_ts, timeout, **kwargs) end = time.time() if timeout is not None and end - start > timeout: - raise MilvusException(message=f"wait for flush timeout, segment ids: {segment_ids}") + raise MilvusException(message=f"wait for flush timeout, collection: {collection_name}") if not flush_ret: time.sleep(0.5) @@ -1266,8 +1266,8 @@ def flush(self, collection_names: list, timeout: Optional[float] = None, **kwarg def _check(): for collection_name in collection_names: - segment_ids = future.result().coll_segIDs[collection_name].data - self._wait_for_flushed(segment_ids, timeout=timeout) + flush_ts = future.result().coll_flush_ts[collection_name] + self._wait_for_flushed(collection_name, flush_ts, timeout=timeout) if kwargs.get("_async", False): flush_future = FlushFuture(future) diff --git a/pymilvus/client/prepare.py b/pymilvus/client/prepare.py index 5f4815b79..d3c189dc3 100644 --- a/pymilvus/client/prepare.py +++ b/pymilvus/client/prepare.py @@ -764,8 +764,8 @@ def get_persistent_segment_info_request(cls, collection_name: str): return milvus_types.GetPersistentSegmentInfoRequest(collectionName=collection_name) @classmethod - def get_flush_state_request(cls, segment_ids: List[int]): - return milvus_types.GetFlushStateRequest(segmentIDs=segment_ids) + def get_flush_state_request(cls, collection_name: str, flush_ts: int): + return milvus_types.GetFlushStateRequest(collection_name=collection_name, flush_ts=flush_ts) @classmethod def get_query_segment_info_request(cls, collection_name: str): diff --git a/pymilvus/grpc_gen/common_pb2.py b/pymilvus/grpc_gen/common_pb2.py index ae6ed3cd5..a922bd405 100644 --- a/pymilvus/grpc_gen/common_pb2.py +++ b/pymilvus/grpc_gen/common_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: common.proto """Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,9 +16,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x63ommon.proto\x12\x13milvus.proto.common\x1a google/protobuf/descriptor.proto\"Z\n\x06Status\x12\x32\n\nerror_code\x18\x01 \x01(\x0e\x32\x1e.milvus.proto.common.ErrorCode\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x0c\n\x04\x63ode\x18\x03 \x01(\x05\"*\n\x0cKeyValuePair\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"(\n\x0bKeyDataPair\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\x15\n\x04\x42lob\x12\r\n\x05value\x18\x01 \x01(\x0c\"c\n\x10PlaceholderValue\x12\x0b\n\x03tag\x18\x01 \x01(\t\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.milvus.proto.common.PlaceholderType\x12\x0e\n\x06values\x18\x03 \x03(\x0c\"O\n\x10PlaceholderGroup\x12;\n\x0cplaceholders\x18\x01 \x03(\x0b\x32%.milvus.proto.common.PlaceholderValue\"#\n\x07\x41\x64\x64ress\x12\n\n\x02ip\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x03\"\x7f\n\x07MsgBase\x12.\n\x08msg_type\x18\x01 \x01(\x0e\x32\x1c.milvus.proto.common.MsgType\x12\r\n\x05msgID\x18\x02 \x01(\x03\x12\x11\n\ttimestamp\x18\x03 \x01(\x04\x12\x10\n\x08sourceID\x18\x04 \x01(\x03\x12\x10\n\x08targetID\x18\x05 \x01(\x03\"7\n\tMsgHeader\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\"M\n\x0c\x44MLMsgHeader\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x11\n\tshardName\x18\x02 \x01(\t\"\xbb\x01\n\x0cPrivilegeExt\x12\x34\n\x0bobject_type\x18\x01 \x01(\x0e\x32\x1f.milvus.proto.common.ObjectType\x12>\n\x10object_privilege\x18\x02 \x01(\x0e\x32$.milvus.proto.common.ObjectPrivilege\x12\x19\n\x11object_name_index\x18\x03 \x01(\x05\x12\x1a\n\x12object_name_indexs\x18\x04 \x01(\x05\"2\n\x0cSegmentStats\x12\x11\n\tSegmentID\x18\x01 \x01(\x03\x12\x0f\n\x07NumRows\x18\x02 \x01(\x03\"\xd5\x01\n\nClientInfo\x12\x10\n\x08sdk_type\x18\x01 \x01(\t\x12\x13\n\x0bsdk_version\x18\x02 \x01(\t\x12\x12\n\nlocal_time\x18\x03 \x01(\t\x12\x0c\n\x04user\x18\x04 \x01(\t\x12\x0c\n\x04host\x18\x05 \x01(\t\x12?\n\x08reserved\x18\x06 \x03(\x0b\x32-.milvus.proto.common.ClientInfo.ReservedEntry\x1a/\n\rReservedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xe3\x01\n\nServerInfo\x12\x12\n\nbuild_tags\x18\x01 \x01(\t\x12\x12\n\nbuild_time\x18\x02 \x01(\t\x12\x12\n\ngit_commit\x18\x03 \x01(\t\x12\x12\n\ngo_version\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65ploy_mode\x18\x05 \x01(\t\x12?\n\x08reserved\x18\x06 \x03(\x0b\x32-.milvus.proto.common.ServerInfo.ReservedEntry\x1a/\n\rReservedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*\xc3\n\n\tErrorCode\x12\x0b\n\x07Success\x10\x00\x12\x13\n\x0fUnexpectedError\x10\x01\x12\x11\n\rConnectFailed\x10\x02\x12\x14\n\x10PermissionDenied\x10\x03\x12\x17\n\x13\x43ollectionNotExists\x10\x04\x12\x13\n\x0fIllegalArgument\x10\x05\x12\x14\n\x10IllegalDimension\x10\x07\x12\x14\n\x10IllegalIndexType\x10\x08\x12\x19\n\x15IllegalCollectionName\x10\t\x12\x0f\n\x0bIllegalTOPK\x10\n\x12\x14\n\x10IllegalRowRecord\x10\x0b\x12\x13\n\x0fIllegalVectorID\x10\x0c\x12\x17\n\x13IllegalSearchResult\x10\r\x12\x10\n\x0c\x46ileNotFound\x10\x0e\x12\x0e\n\nMetaFailed\x10\x0f\x12\x0f\n\x0b\x43\x61\x63heFailed\x10\x10\x12\x16\n\x12\x43\x61nnotCreateFolder\x10\x11\x12\x14\n\x10\x43\x61nnotCreateFile\x10\x12\x12\x16\n\x12\x43\x61nnotDeleteFolder\x10\x13\x12\x14\n\x10\x43\x61nnotDeleteFile\x10\x14\x12\x13\n\x0f\x42uildIndexError\x10\x15\x12\x10\n\x0cIllegalNLIST\x10\x16\x12\x15\n\x11IllegalMetricType\x10\x17\x12\x0f\n\x0bOutOfMemory\x10\x18\x12\x11\n\rIndexNotExist\x10\x19\x12\x13\n\x0f\x45mptyCollection\x10\x1a\x12\x1b\n\x17UpdateImportTaskFailure\x10\x1b\x12\x1a\n\x16\x43ollectionNameNotFound\x10\x1c\x12\x1b\n\x17\x43reateCredentialFailure\x10\x1d\x12\x1b\n\x17UpdateCredentialFailure\x10\x1e\x12\x1b\n\x17\x44\x65leteCredentialFailure\x10\x1f\x12\x18\n\x14GetCredentialFailure\x10 \x12\x18\n\x14ListCredUsersFailure\x10!\x12\x12\n\x0eGetUserFailure\x10\"\x12\x15\n\x11\x43reateRoleFailure\x10#\x12\x13\n\x0f\x44ropRoleFailure\x10$\x12\x1a\n\x16OperateUserRoleFailure\x10%\x12\x15\n\x11SelectRoleFailure\x10&\x12\x15\n\x11SelectUserFailure\x10\'\x12\x19\n\x15SelectResourceFailure\x10(\x12\x1b\n\x17OperatePrivilegeFailure\x10)\x12\x16\n\x12SelectGrantFailure\x10*\x12!\n\x1dRefreshPolicyInfoCacheFailure\x10+\x12\x15\n\x11ListPolicyFailure\x10,\x12\x12\n\x0eNotShardLeader\x10-\x12\x16\n\x12NoReplicaAvailable\x10.\x12\x13\n\x0fSegmentNotFound\x10/\x12\r\n\tForceDeny\x10\x30\x12\r\n\tRateLimit\x10\x31\x12\x12\n\x0eNodeIDNotMatch\x10\x32\x12\x14\n\x10UpsertAutoIDTrue\x10\x33\x12\x1c\n\x18InsufficientMemoryToLoad\x10\x34\x12\x18\n\x14MemoryQuotaExhausted\x10\x35\x12\x16\n\x12\x44iskQuotaExhausted\x10\x36\x12\x15\n\x11TimeTickLongDelay\x10\x37\x12\x11\n\rNotReadyServe\x10\x38\x12\x1b\n\x17NotReadyCoordActivating\x10\x39\x12\x0f\n\x0b\x44\x61taCoordNA\x10\x64\x12\x12\n\rDDRequestRace\x10\xe8\x07*c\n\nIndexState\x12\x12\n\x0eIndexStateNone\x10\x00\x12\x0c\n\x08Unissued\x10\x01\x12\x0e\n\nInProgress\x10\x02\x12\x0c\n\x08\x46inished\x10\x03\x12\n\n\x06\x46\x61iled\x10\x04\x12\t\n\x05Retry\x10\x05*\x82\x01\n\x0cSegmentState\x12\x14\n\x10SegmentStateNone\x10\x00\x12\x0c\n\x08NotExist\x10\x01\x12\x0b\n\x07Growing\x10\x02\x12\n\n\x06Sealed\x10\x03\x12\x0b\n\x07\x46lushed\x10\x04\x12\x0c\n\x08\x46lushing\x10\x05\x12\x0b\n\x07\x44ropped\x10\x06\x12\r\n\tImporting\x10\x07*i\n\x0fPlaceholderType\x12\x08\n\x04None\x10\x00\x12\x10\n\x0c\x42inaryVector\x10\x64\x12\x0f\n\x0b\x46loatVector\x10\x65\x12\x11\n\rFloat16Vector\x10\x66\x12\t\n\x05Int64\x10\x05\x12\x0b\n\x07VarChar\x10\x15*\xb4\x10\n\x07MsgType\x12\r\n\tUndefined\x10\x00\x12\x14\n\x10\x43reateCollection\x10\x64\x12\x12\n\x0e\x44ropCollection\x10\x65\x12\x11\n\rHasCollection\x10\x66\x12\x16\n\x12\x44\x65scribeCollection\x10g\x12\x13\n\x0fShowCollections\x10h\x12\x14\n\x10GetSystemConfigs\x10i\x12\x12\n\x0eLoadCollection\x10j\x12\x15\n\x11ReleaseCollection\x10k\x12\x0f\n\x0b\x43reateAlias\x10l\x12\r\n\tDropAlias\x10m\x12\x0e\n\nAlterAlias\x10n\x12\x13\n\x0f\x41lterCollection\x10o\x12\x14\n\x10RenameCollection\x10p\x12\x11\n\rDescribeAlias\x10q\x12\x0f\n\x0bListAliases\x10r\x12\x14\n\x0f\x43reatePartition\x10\xc8\x01\x12\x12\n\rDropPartition\x10\xc9\x01\x12\x11\n\x0cHasPartition\x10\xca\x01\x12\x16\n\x11\x44\x65scribePartition\x10\xcb\x01\x12\x13\n\x0eShowPartitions\x10\xcc\x01\x12\x13\n\x0eLoadPartitions\x10\xcd\x01\x12\x16\n\x11ReleasePartitions\x10\xce\x01\x12\x11\n\x0cShowSegments\x10\xfa\x01\x12\x14\n\x0f\x44\x65scribeSegment\x10\xfb\x01\x12\x11\n\x0cLoadSegments\x10\xfc\x01\x12\x14\n\x0fReleaseSegments\x10\xfd\x01\x12\x14\n\x0fHandoffSegments\x10\xfe\x01\x12\x18\n\x13LoadBalanceSegments\x10\xff\x01\x12\x15\n\x10\x44\x65scribeSegments\x10\x80\x02\x12\x1c\n\x17\x46\x65\x64\x65rListIndexedSegment\x10\x81\x02\x12\"\n\x1d\x46\x65\x64\x65rDescribeSegmentIndexData\x10\x82\x02\x12\x10\n\x0b\x43reateIndex\x10\xac\x02\x12\x12\n\rDescribeIndex\x10\xad\x02\x12\x0e\n\tDropIndex\x10\xae\x02\x12\x17\n\x12GetIndexStatistics\x10\xaf\x02\x12\x0b\n\x06Insert\x10\x90\x03\x12\x0b\n\x06\x44\x65lete\x10\x91\x03\x12\n\n\x05\x46lush\x10\x92\x03\x12\x17\n\x12ResendSegmentStats\x10\x93\x03\x12\x0b\n\x06Upsert\x10\x94\x03\x12\x0b\n\x06Search\x10\xf4\x03\x12\x11\n\x0cSearchResult\x10\xf5\x03\x12\x12\n\rGetIndexState\x10\xf6\x03\x12\x1a\n\x15GetIndexBuildProgress\x10\xf7\x03\x12\x1c\n\x17GetCollectionStatistics\x10\xf8\x03\x12\x1b\n\x16GetPartitionStatistics\x10\xf9\x03\x12\r\n\x08Retrieve\x10\xfa\x03\x12\x13\n\x0eRetrieveResult\x10\xfb\x03\x12\x14\n\x0fWatchDmChannels\x10\xfc\x03\x12\x15\n\x10RemoveDmChannels\x10\xfd\x03\x12\x17\n\x12WatchQueryChannels\x10\xfe\x03\x12\x18\n\x13RemoveQueryChannels\x10\xff\x03\x12\x1d\n\x18SealedSegmentsChangeInfo\x10\x80\x04\x12\x17\n\x12WatchDeltaChannels\x10\x81\x04\x12\x14\n\x0fGetShardLeaders\x10\x82\x04\x12\x10\n\x0bGetReplicas\x10\x83\x04\x12\x13\n\x0eUnsubDmChannel\x10\x84\x04\x12\x14\n\x0fGetDistribution\x10\x85\x04\x12\x15\n\x10SyncDistribution\x10\x86\x04\x12\x10\n\x0bSegmentInfo\x10\xd8\x04\x12\x0f\n\nSystemInfo\x10\xd9\x04\x12\x14\n\x0fGetRecoveryInfo\x10\xda\x04\x12\x14\n\x0fGetSegmentState\x10\xdb\x04\x12\r\n\x08TimeTick\x10\xb0\t\x12\x13\n\x0eQueryNodeStats\x10\xb1\t\x12\x0e\n\tLoadIndex\x10\xb2\t\x12\x0e\n\tRequestID\x10\xb3\t\x12\x0f\n\nRequestTSO\x10\xb4\t\x12\x14\n\x0f\x41llocateSegment\x10\xb5\t\x12\x16\n\x11SegmentStatistics\x10\xb6\t\x12\x15\n\x10SegmentFlushDone\x10\xb7\t\x12\x0f\n\nDataNodeTt\x10\xb8\t\x12\x0c\n\x07\x43onnect\x10\xb9\t\x12\x14\n\x0fListClientInfos\x10\xba\t\x12\x13\n\x0e\x41llocTimestamp\x10\xbb\t\x12\x15\n\x10\x43reateCredential\x10\xdc\x0b\x12\x12\n\rGetCredential\x10\xdd\x0b\x12\x15\n\x10\x44\x65leteCredential\x10\xde\x0b\x12\x15\n\x10UpdateCredential\x10\xdf\x0b\x12\x16\n\x11ListCredUsernames\x10\xe0\x0b\x12\x0f\n\nCreateRole\x10\xc0\x0c\x12\r\n\x08\x44ropRole\x10\xc1\x0c\x12\x14\n\x0fOperateUserRole\x10\xc2\x0c\x12\x0f\n\nSelectRole\x10\xc3\x0c\x12\x0f\n\nSelectUser\x10\xc4\x0c\x12\x13\n\x0eSelectResource\x10\xc5\x0c\x12\x15\n\x10OperatePrivilege\x10\xc6\x0c\x12\x10\n\x0bSelectGrant\x10\xc7\x0c\x12\x1b\n\x16RefreshPolicyInfoCache\x10\xc8\x0c\x12\x0f\n\nListPolicy\x10\xc9\x0c\x12\x18\n\x13\x43reateResourceGroup\x10\xa4\r\x12\x16\n\x11\x44ropResourceGroup\x10\xa5\r\x12\x17\n\x12ListResourceGroups\x10\xa6\r\x12\x1a\n\x15\x44\x65scribeResourceGroup\x10\xa7\r\x12\x11\n\x0cTransferNode\x10\xa8\r\x12\x14\n\x0fTransferReplica\x10\xa9\r\x12\x13\n\x0e\x43reateDatabase\x10\x89\x0e\x12\x11\n\x0c\x44ropDatabase\x10\x8a\x0e\x12\x12\n\rListDatabases\x10\x8b\x0e*\"\n\x07\x44slType\x12\x07\n\x03\x44sl\x10\x00\x12\x0e\n\nBoolExprV1\x10\x01*B\n\x0f\x43ompactionState\x12\x11\n\rUndefiedState\x10\x00\x12\r\n\tExecuting\x10\x01\x12\r\n\tCompleted\x10\x02*X\n\x10\x43onsistencyLevel\x12\n\n\x06Strong\x10\x00\x12\x0b\n\x07Session\x10\x01\x12\x0b\n\x07\x42ounded\x10\x02\x12\x0e\n\nEventually\x10\x03\x12\x0e\n\nCustomized\x10\x04*\x9e\x01\n\x0bImportState\x12\x11\n\rImportPending\x10\x00\x12\x10\n\x0cImportFailed\x10\x01\x12\x11\n\rImportStarted\x10\x02\x12\x13\n\x0fImportPersisted\x10\x05\x12\x11\n\rImportFlushed\x10\x08\x12\x13\n\x0fImportCompleted\x10\x06\x12\x1a\n\x16ImportFailedAndCleaned\x10\x07*2\n\nObjectType\x12\x0e\n\nCollection\x10\x00\x12\n\n\x06Global\x10\x01\x12\x08\n\x04User\x10\x02*\xa1\x08\n\x0fObjectPrivilege\x12\x10\n\x0cPrivilegeAll\x10\x00\x12\x1d\n\x19PrivilegeCreateCollection\x10\x01\x12\x1b\n\x17PrivilegeDropCollection\x10\x02\x12\x1f\n\x1bPrivilegeDescribeCollection\x10\x03\x12\x1c\n\x18PrivilegeShowCollections\x10\x04\x12\x11\n\rPrivilegeLoad\x10\x05\x12\x14\n\x10PrivilegeRelease\x10\x06\x12\x17\n\x13PrivilegeCompaction\x10\x07\x12\x13\n\x0fPrivilegeInsert\x10\x08\x12\x13\n\x0fPrivilegeDelete\x10\t\x12\x1a\n\x16PrivilegeGetStatistics\x10\n\x12\x18\n\x14PrivilegeCreateIndex\x10\x0b\x12\x18\n\x14PrivilegeIndexDetail\x10\x0c\x12\x16\n\x12PrivilegeDropIndex\x10\r\x12\x13\n\x0fPrivilegeSearch\x10\x0e\x12\x12\n\x0ePrivilegeFlush\x10\x0f\x12\x12\n\x0ePrivilegeQuery\x10\x10\x12\x18\n\x14PrivilegeLoadBalance\x10\x11\x12\x13\n\x0fPrivilegeImport\x10\x12\x12\x1c\n\x18PrivilegeCreateOwnership\x10\x13\x12\x17\n\x13PrivilegeUpdateUser\x10\x14\x12\x1a\n\x16PrivilegeDropOwnership\x10\x15\x12\x1c\n\x18PrivilegeSelectOwnership\x10\x16\x12\x1c\n\x18PrivilegeManageOwnership\x10\x17\x12\x17\n\x13PrivilegeSelectUser\x10\x18\x12\x13\n\x0fPrivilegeUpsert\x10\x19\x12 \n\x1cPrivilegeCreateResourceGroup\x10\x1a\x12\x1e\n\x1aPrivilegeDropResourceGroup\x10\x1b\x12\"\n\x1ePrivilegeDescribeResourceGroup\x10\x1c\x12\x1f\n\x1bPrivilegeListResourceGroups\x10\x1d\x12\x19\n\x15PrivilegeTransferNode\x10\x1e\x12\x1c\n\x18PrivilegeTransferReplica\x10\x1f\x12\x1f\n\x1bPrivilegeGetLoadingProgress\x10 \x12\x19\n\x15PrivilegeGetLoadState\x10!\x12\x1d\n\x19PrivilegeRenameCollection\x10\"\x12\x1b\n\x17PrivilegeCreateDatabase\x10#\x12\x19\n\x15PrivilegeDropDatabase\x10$\x12\x1a\n\x16PrivilegeListDatabases\x10%\x12\x15\n\x11PrivilegeFlushAll\x10&*S\n\tStateCode\x12\x10\n\x0cInitializing\x10\x00\x12\x0b\n\x07Healthy\x10\x01\x12\x0c\n\x08\x41\x62normal\x10\x02\x12\x0b\n\x07StandBy\x10\x03\x12\x0c\n\x08Stopping\x10\x04*c\n\tLoadState\x12\x15\n\x11LoadStateNotExist\x10\x00\x12\x14\n\x10LoadStateNotLoad\x10\x01\x12\x14\n\x10LoadStateLoading\x10\x02\x12\x13\n\x0fLoadStateLoaded\x10\x03:^\n\x11privilege_ext_obj\x12\x1f.google.protobuf.MessageOptions\x18\xe9\x07 \x01(\x0b\x32!.milvus.proto.common.PrivilegeExtBm\n\x0eio.milvus.grpcB\x0b\x43ommonProtoP\x01Z4github.com/milvus-io/milvus-proto/go-api/v2/commonpb\xa0\x01\x01\xaa\x02\x12Milvus.Client.Grpcb\x06proto3') -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common_pb2', _globals) +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(privilege_ext_obj) @@ -28,62 +27,62 @@ _CLIENTINFO_RESERVEDENTRY._serialized_options = b'8\001' _SERVERINFO_RESERVEDENTRY._options = None _SERVERINFO_RESERVEDENTRY._serialized_options = b'8\001' - _globals['_ERRORCODE']._serialized_start=1445 - _globals['_ERRORCODE']._serialized_end=2792 - _globals['_INDEXSTATE']._serialized_start=2794 - _globals['_INDEXSTATE']._serialized_end=2893 - _globals['_SEGMENTSTATE']._serialized_start=2896 - _globals['_SEGMENTSTATE']._serialized_end=3026 - _globals['_PLACEHOLDERTYPE']._serialized_start=3028 - _globals['_PLACEHOLDERTYPE']._serialized_end=3133 - _globals['_MSGTYPE']._serialized_start=3136 - _globals['_MSGTYPE']._serialized_end=5236 - _globals['_DSLTYPE']._serialized_start=5238 - _globals['_DSLTYPE']._serialized_end=5272 - _globals['_COMPACTIONSTATE']._serialized_start=5274 - _globals['_COMPACTIONSTATE']._serialized_end=5340 - _globals['_CONSISTENCYLEVEL']._serialized_start=5342 - _globals['_CONSISTENCYLEVEL']._serialized_end=5430 - _globals['_IMPORTSTATE']._serialized_start=5433 - _globals['_IMPORTSTATE']._serialized_end=5591 - _globals['_OBJECTTYPE']._serialized_start=5593 - _globals['_OBJECTTYPE']._serialized_end=5643 - _globals['_OBJECTPRIVILEGE']._serialized_start=5646 - _globals['_OBJECTPRIVILEGE']._serialized_end=6703 - _globals['_STATECODE']._serialized_start=6705 - _globals['_STATECODE']._serialized_end=6788 - _globals['_LOADSTATE']._serialized_start=6790 - _globals['_LOADSTATE']._serialized_end=6889 - _globals['_STATUS']._serialized_start=71 - _globals['_STATUS']._serialized_end=161 - _globals['_KEYVALUEPAIR']._serialized_start=163 - _globals['_KEYVALUEPAIR']._serialized_end=205 - _globals['_KEYDATAPAIR']._serialized_start=207 - _globals['_KEYDATAPAIR']._serialized_end=247 - _globals['_BLOB']._serialized_start=249 - _globals['_BLOB']._serialized_end=270 - _globals['_PLACEHOLDERVALUE']._serialized_start=272 - _globals['_PLACEHOLDERVALUE']._serialized_end=371 - _globals['_PLACEHOLDERGROUP']._serialized_start=373 - _globals['_PLACEHOLDERGROUP']._serialized_end=452 - _globals['_ADDRESS']._serialized_start=454 - _globals['_ADDRESS']._serialized_end=489 - _globals['_MSGBASE']._serialized_start=491 - _globals['_MSGBASE']._serialized_end=618 - _globals['_MSGHEADER']._serialized_start=620 - _globals['_MSGHEADER']._serialized_end=675 - _globals['_DMLMSGHEADER']._serialized_start=677 - _globals['_DMLMSGHEADER']._serialized_end=754 - _globals['_PRIVILEGEEXT']._serialized_start=757 - _globals['_PRIVILEGEEXT']._serialized_end=944 - _globals['_SEGMENTSTATS']._serialized_start=946 - _globals['_SEGMENTSTATS']._serialized_end=996 - _globals['_CLIENTINFO']._serialized_start=999 - _globals['_CLIENTINFO']._serialized_end=1212 - _globals['_CLIENTINFO_RESERVEDENTRY']._serialized_start=1165 - _globals['_CLIENTINFO_RESERVEDENTRY']._serialized_end=1212 - _globals['_SERVERINFO']._serialized_start=1215 - _globals['_SERVERINFO']._serialized_end=1442 - _globals['_SERVERINFO_RESERVEDENTRY']._serialized_start=1165 - _globals['_SERVERINFO_RESERVEDENTRY']._serialized_end=1212 + _ERRORCODE._serialized_start=1445 + _ERRORCODE._serialized_end=2792 + _INDEXSTATE._serialized_start=2794 + _INDEXSTATE._serialized_end=2893 + _SEGMENTSTATE._serialized_start=2896 + _SEGMENTSTATE._serialized_end=3026 + _PLACEHOLDERTYPE._serialized_start=3028 + _PLACEHOLDERTYPE._serialized_end=3133 + _MSGTYPE._serialized_start=3136 + _MSGTYPE._serialized_end=5236 + _DSLTYPE._serialized_start=5238 + _DSLTYPE._serialized_end=5272 + _COMPACTIONSTATE._serialized_start=5274 + _COMPACTIONSTATE._serialized_end=5340 + _CONSISTENCYLEVEL._serialized_start=5342 + _CONSISTENCYLEVEL._serialized_end=5430 + _IMPORTSTATE._serialized_start=5433 + _IMPORTSTATE._serialized_end=5591 + _OBJECTTYPE._serialized_start=5593 + _OBJECTTYPE._serialized_end=5643 + _OBJECTPRIVILEGE._serialized_start=5646 + _OBJECTPRIVILEGE._serialized_end=6703 + _STATECODE._serialized_start=6705 + _STATECODE._serialized_end=6788 + _LOADSTATE._serialized_start=6790 + _LOADSTATE._serialized_end=6889 + _STATUS._serialized_start=71 + _STATUS._serialized_end=161 + _KEYVALUEPAIR._serialized_start=163 + _KEYVALUEPAIR._serialized_end=205 + _KEYDATAPAIR._serialized_start=207 + _KEYDATAPAIR._serialized_end=247 + _BLOB._serialized_start=249 + _BLOB._serialized_end=270 + _PLACEHOLDERVALUE._serialized_start=272 + _PLACEHOLDERVALUE._serialized_end=371 + _PLACEHOLDERGROUP._serialized_start=373 + _PLACEHOLDERGROUP._serialized_end=452 + _ADDRESS._serialized_start=454 + _ADDRESS._serialized_end=489 + _MSGBASE._serialized_start=491 + _MSGBASE._serialized_end=618 + _MSGHEADER._serialized_start=620 + _MSGHEADER._serialized_end=675 + _DMLMSGHEADER._serialized_start=677 + _DMLMSGHEADER._serialized_end=754 + _PRIVILEGEEXT._serialized_start=757 + _PRIVILEGEEXT._serialized_end=944 + _SEGMENTSTATS._serialized_start=946 + _SEGMENTSTATS._serialized_end=996 + _CLIENTINFO._serialized_start=999 + _CLIENTINFO._serialized_end=1212 + _CLIENTINFO_RESERVEDENTRY._serialized_start=1165 + _CLIENTINFO_RESERVEDENTRY._serialized_end=1212 + _SERVERINFO._serialized_start=1215 + _SERVERINFO._serialized_end=1442 + _SERVERINFO_RESERVEDENTRY._serialized_start=1165 + _SERVERINFO_RESERVEDENTRY._serialized_end=1212 # @@protoc_insertion_point(module_scope) diff --git a/pymilvus/grpc_gen/common_pb2.pyi b/pymilvus/grpc_gen/common_pb2.pyi index 747f9953d..5adb74636 100644 --- a/pymilvus/grpc_gen/common_pb2.pyi +++ b/pymilvus/grpc_gen/common_pb2.pyi @@ -5,568 +5,264 @@ from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union -DESCRIPTOR: _descriptor.FileDescriptor - -class ErrorCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - Success: _ClassVar[ErrorCode] - UnexpectedError: _ClassVar[ErrorCode] - ConnectFailed: _ClassVar[ErrorCode] - PermissionDenied: _ClassVar[ErrorCode] - CollectionNotExists: _ClassVar[ErrorCode] - IllegalArgument: _ClassVar[ErrorCode] - IllegalDimension: _ClassVar[ErrorCode] - IllegalIndexType: _ClassVar[ErrorCode] - IllegalCollectionName: _ClassVar[ErrorCode] - IllegalTOPK: _ClassVar[ErrorCode] - IllegalRowRecord: _ClassVar[ErrorCode] - IllegalVectorID: _ClassVar[ErrorCode] - IllegalSearchResult: _ClassVar[ErrorCode] - FileNotFound: _ClassVar[ErrorCode] - MetaFailed: _ClassVar[ErrorCode] - CacheFailed: _ClassVar[ErrorCode] - CannotCreateFolder: _ClassVar[ErrorCode] - CannotCreateFile: _ClassVar[ErrorCode] - CannotDeleteFolder: _ClassVar[ErrorCode] - CannotDeleteFile: _ClassVar[ErrorCode] - BuildIndexError: _ClassVar[ErrorCode] - IllegalNLIST: _ClassVar[ErrorCode] - IllegalMetricType: _ClassVar[ErrorCode] - OutOfMemory: _ClassVar[ErrorCode] - IndexNotExist: _ClassVar[ErrorCode] - EmptyCollection: _ClassVar[ErrorCode] - UpdateImportTaskFailure: _ClassVar[ErrorCode] - CollectionNameNotFound: _ClassVar[ErrorCode] - CreateCredentialFailure: _ClassVar[ErrorCode] - UpdateCredentialFailure: _ClassVar[ErrorCode] - DeleteCredentialFailure: _ClassVar[ErrorCode] - GetCredentialFailure: _ClassVar[ErrorCode] - ListCredUsersFailure: _ClassVar[ErrorCode] - GetUserFailure: _ClassVar[ErrorCode] - CreateRoleFailure: _ClassVar[ErrorCode] - DropRoleFailure: _ClassVar[ErrorCode] - OperateUserRoleFailure: _ClassVar[ErrorCode] - SelectRoleFailure: _ClassVar[ErrorCode] - SelectUserFailure: _ClassVar[ErrorCode] - SelectResourceFailure: _ClassVar[ErrorCode] - OperatePrivilegeFailure: _ClassVar[ErrorCode] - SelectGrantFailure: _ClassVar[ErrorCode] - RefreshPolicyInfoCacheFailure: _ClassVar[ErrorCode] - ListPolicyFailure: _ClassVar[ErrorCode] - NotShardLeader: _ClassVar[ErrorCode] - NoReplicaAvailable: _ClassVar[ErrorCode] - SegmentNotFound: _ClassVar[ErrorCode] - ForceDeny: _ClassVar[ErrorCode] - RateLimit: _ClassVar[ErrorCode] - NodeIDNotMatch: _ClassVar[ErrorCode] - UpsertAutoIDTrue: _ClassVar[ErrorCode] - InsufficientMemoryToLoad: _ClassVar[ErrorCode] - MemoryQuotaExhausted: _ClassVar[ErrorCode] - DiskQuotaExhausted: _ClassVar[ErrorCode] - TimeTickLongDelay: _ClassVar[ErrorCode] - NotReadyServe: _ClassVar[ErrorCode] - NotReadyCoordActivating: _ClassVar[ErrorCode] - DataCoordNA: _ClassVar[ErrorCode] - DDRequestRace: _ClassVar[ErrorCode] - -class IndexState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - IndexStateNone: _ClassVar[IndexState] - Unissued: _ClassVar[IndexState] - InProgress: _ClassVar[IndexState] - Finished: _ClassVar[IndexState] - Failed: _ClassVar[IndexState] - Retry: _ClassVar[IndexState] - -class SegmentState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - SegmentStateNone: _ClassVar[SegmentState] - NotExist: _ClassVar[SegmentState] - Growing: _ClassVar[SegmentState] - Sealed: _ClassVar[SegmentState] - Flushed: _ClassVar[SegmentState] - Flushing: _ClassVar[SegmentState] - Dropped: _ClassVar[SegmentState] - Importing: _ClassVar[SegmentState] - -class PlaceholderType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - None: _ClassVar[PlaceholderType] - BinaryVector: _ClassVar[PlaceholderType] - FloatVector: _ClassVar[PlaceholderType] - Float16Vector: _ClassVar[PlaceholderType] - Int64: _ClassVar[PlaceholderType] - VarChar: _ClassVar[PlaceholderType] - -class MsgType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - Undefined: _ClassVar[MsgType] - CreateCollection: _ClassVar[MsgType] - DropCollection: _ClassVar[MsgType] - HasCollection: _ClassVar[MsgType] - DescribeCollection: _ClassVar[MsgType] - ShowCollections: _ClassVar[MsgType] - GetSystemConfigs: _ClassVar[MsgType] - LoadCollection: _ClassVar[MsgType] - ReleaseCollection: _ClassVar[MsgType] - CreateAlias: _ClassVar[MsgType] - DropAlias: _ClassVar[MsgType] - AlterAlias: _ClassVar[MsgType] - AlterCollection: _ClassVar[MsgType] - RenameCollection: _ClassVar[MsgType] - DescribeAlias: _ClassVar[MsgType] - ListAliases: _ClassVar[MsgType] - CreatePartition: _ClassVar[MsgType] - DropPartition: _ClassVar[MsgType] - HasPartition: _ClassVar[MsgType] - DescribePartition: _ClassVar[MsgType] - ShowPartitions: _ClassVar[MsgType] - LoadPartitions: _ClassVar[MsgType] - ReleasePartitions: _ClassVar[MsgType] - ShowSegments: _ClassVar[MsgType] - DescribeSegment: _ClassVar[MsgType] - LoadSegments: _ClassVar[MsgType] - ReleaseSegments: _ClassVar[MsgType] - HandoffSegments: _ClassVar[MsgType] - LoadBalanceSegments: _ClassVar[MsgType] - DescribeSegments: _ClassVar[MsgType] - FederListIndexedSegment: _ClassVar[MsgType] - FederDescribeSegmentIndexData: _ClassVar[MsgType] - CreateIndex: _ClassVar[MsgType] - DescribeIndex: _ClassVar[MsgType] - DropIndex: _ClassVar[MsgType] - GetIndexStatistics: _ClassVar[MsgType] - Insert: _ClassVar[MsgType] - Delete: _ClassVar[MsgType] - Flush: _ClassVar[MsgType] - ResendSegmentStats: _ClassVar[MsgType] - Upsert: _ClassVar[MsgType] - Search: _ClassVar[MsgType] - SearchResult: _ClassVar[MsgType] - GetIndexState: _ClassVar[MsgType] - GetIndexBuildProgress: _ClassVar[MsgType] - GetCollectionStatistics: _ClassVar[MsgType] - GetPartitionStatistics: _ClassVar[MsgType] - Retrieve: _ClassVar[MsgType] - RetrieveResult: _ClassVar[MsgType] - WatchDmChannels: _ClassVar[MsgType] - RemoveDmChannels: _ClassVar[MsgType] - WatchQueryChannels: _ClassVar[MsgType] - RemoveQueryChannels: _ClassVar[MsgType] - SealedSegmentsChangeInfo: _ClassVar[MsgType] - WatchDeltaChannels: _ClassVar[MsgType] - GetShardLeaders: _ClassVar[MsgType] - GetReplicas: _ClassVar[MsgType] - UnsubDmChannel: _ClassVar[MsgType] - GetDistribution: _ClassVar[MsgType] - SyncDistribution: _ClassVar[MsgType] - SegmentInfo: _ClassVar[MsgType] - SystemInfo: _ClassVar[MsgType] - GetRecoveryInfo: _ClassVar[MsgType] - GetSegmentState: _ClassVar[MsgType] - TimeTick: _ClassVar[MsgType] - QueryNodeStats: _ClassVar[MsgType] - LoadIndex: _ClassVar[MsgType] - RequestID: _ClassVar[MsgType] - RequestTSO: _ClassVar[MsgType] - AllocateSegment: _ClassVar[MsgType] - SegmentStatistics: _ClassVar[MsgType] - SegmentFlushDone: _ClassVar[MsgType] - DataNodeTt: _ClassVar[MsgType] - Connect: _ClassVar[MsgType] - ListClientInfos: _ClassVar[MsgType] - AllocTimestamp: _ClassVar[MsgType] - CreateCredential: _ClassVar[MsgType] - GetCredential: _ClassVar[MsgType] - DeleteCredential: _ClassVar[MsgType] - UpdateCredential: _ClassVar[MsgType] - ListCredUsernames: _ClassVar[MsgType] - CreateRole: _ClassVar[MsgType] - DropRole: _ClassVar[MsgType] - OperateUserRole: _ClassVar[MsgType] - SelectRole: _ClassVar[MsgType] - SelectUser: _ClassVar[MsgType] - SelectResource: _ClassVar[MsgType] - OperatePrivilege: _ClassVar[MsgType] - SelectGrant: _ClassVar[MsgType] - RefreshPolicyInfoCache: _ClassVar[MsgType] - ListPolicy: _ClassVar[MsgType] - CreateResourceGroup: _ClassVar[MsgType] - DropResourceGroup: _ClassVar[MsgType] - ListResourceGroups: _ClassVar[MsgType] - DescribeResourceGroup: _ClassVar[MsgType] - TransferNode: _ClassVar[MsgType] - TransferReplica: _ClassVar[MsgType] - CreateDatabase: _ClassVar[MsgType] - DropDatabase: _ClassVar[MsgType] - ListDatabases: _ClassVar[MsgType] - -class DslType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - Dsl: _ClassVar[DslType] - BoolExprV1: _ClassVar[DslType] - -class CompactionState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - UndefiedState: _ClassVar[CompactionState] - Executing: _ClassVar[CompactionState] - Completed: _ClassVar[CompactionState] - -class ConsistencyLevel(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - Strong: _ClassVar[ConsistencyLevel] - Session: _ClassVar[ConsistencyLevel] - Bounded: _ClassVar[ConsistencyLevel] - Eventually: _ClassVar[ConsistencyLevel] - Customized: _ClassVar[ConsistencyLevel] - -class ImportState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - ImportPending: _ClassVar[ImportState] - ImportFailed: _ClassVar[ImportState] - ImportStarted: _ClassVar[ImportState] - ImportPersisted: _ClassVar[ImportState] - ImportFlushed: _ClassVar[ImportState] - ImportCompleted: _ClassVar[ImportState] - ImportFailedAndCleaned: _ClassVar[ImportState] - -class ObjectType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - Collection: _ClassVar[ObjectType] - Global: _ClassVar[ObjectType] - User: _ClassVar[ObjectType] - -class ObjectPrivilege(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - PrivilegeAll: _ClassVar[ObjectPrivilege] - PrivilegeCreateCollection: _ClassVar[ObjectPrivilege] - PrivilegeDropCollection: _ClassVar[ObjectPrivilege] - PrivilegeDescribeCollection: _ClassVar[ObjectPrivilege] - PrivilegeShowCollections: _ClassVar[ObjectPrivilege] - PrivilegeLoad: _ClassVar[ObjectPrivilege] - PrivilegeRelease: _ClassVar[ObjectPrivilege] - PrivilegeCompaction: _ClassVar[ObjectPrivilege] - PrivilegeInsert: _ClassVar[ObjectPrivilege] - PrivilegeDelete: _ClassVar[ObjectPrivilege] - PrivilegeGetStatistics: _ClassVar[ObjectPrivilege] - PrivilegeCreateIndex: _ClassVar[ObjectPrivilege] - PrivilegeIndexDetail: _ClassVar[ObjectPrivilege] - PrivilegeDropIndex: _ClassVar[ObjectPrivilege] - PrivilegeSearch: _ClassVar[ObjectPrivilege] - PrivilegeFlush: _ClassVar[ObjectPrivilege] - PrivilegeQuery: _ClassVar[ObjectPrivilege] - PrivilegeLoadBalance: _ClassVar[ObjectPrivilege] - PrivilegeImport: _ClassVar[ObjectPrivilege] - PrivilegeCreateOwnership: _ClassVar[ObjectPrivilege] - PrivilegeUpdateUser: _ClassVar[ObjectPrivilege] - PrivilegeDropOwnership: _ClassVar[ObjectPrivilege] - PrivilegeSelectOwnership: _ClassVar[ObjectPrivilege] - PrivilegeManageOwnership: _ClassVar[ObjectPrivilege] - PrivilegeSelectUser: _ClassVar[ObjectPrivilege] - PrivilegeUpsert: _ClassVar[ObjectPrivilege] - PrivilegeCreateResourceGroup: _ClassVar[ObjectPrivilege] - PrivilegeDropResourceGroup: _ClassVar[ObjectPrivilege] - PrivilegeDescribeResourceGroup: _ClassVar[ObjectPrivilege] - PrivilegeListResourceGroups: _ClassVar[ObjectPrivilege] - PrivilegeTransferNode: _ClassVar[ObjectPrivilege] - PrivilegeTransferReplica: _ClassVar[ObjectPrivilege] - PrivilegeGetLoadingProgress: _ClassVar[ObjectPrivilege] - PrivilegeGetLoadState: _ClassVar[ObjectPrivilege] - PrivilegeRenameCollection: _ClassVar[ObjectPrivilege] - PrivilegeCreateDatabase: _ClassVar[ObjectPrivilege] - PrivilegeDropDatabase: _ClassVar[ObjectPrivilege] - PrivilegeListDatabases: _ClassVar[ObjectPrivilege] - PrivilegeFlushAll: _ClassVar[ObjectPrivilege] - -class StateCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - Initializing: _ClassVar[StateCode] - Healthy: _ClassVar[StateCode] - Abnormal: _ClassVar[StateCode] - StandBy: _ClassVar[StateCode] - Stopping: _ClassVar[StateCode] - -class LoadState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - LoadStateNotExist: _ClassVar[LoadState] - LoadStateNotLoad: _ClassVar[LoadState] - LoadStateLoading: _ClassVar[LoadState] - LoadStateLoaded: _ClassVar[LoadState] -Success: ErrorCode -UnexpectedError: ErrorCode -ConnectFailed: ErrorCode -PermissionDenied: ErrorCode -CollectionNotExists: ErrorCode -IllegalArgument: ErrorCode -IllegalDimension: ErrorCode -IllegalIndexType: ErrorCode -IllegalCollectionName: ErrorCode -IllegalTOPK: ErrorCode -IllegalRowRecord: ErrorCode -IllegalVectorID: ErrorCode -IllegalSearchResult: ErrorCode -FileNotFound: ErrorCode -MetaFailed: ErrorCode +Abnormal: StateCode +AllocTimestamp: MsgType +AllocateSegment: MsgType +AlterAlias: MsgType +AlterCollection: MsgType +BinaryVector: PlaceholderType +BoolExprV1: DslType +Bounded: ConsistencyLevel +BuildIndexError: ErrorCode CacheFailed: ErrorCode -CannotCreateFolder: ErrorCode CannotCreateFile: ErrorCode -CannotDeleteFolder: ErrorCode +CannotCreateFolder: ErrorCode CannotDeleteFile: ErrorCode -BuildIndexError: ErrorCode -IllegalNLIST: ErrorCode -IllegalMetricType: ErrorCode -OutOfMemory: ErrorCode -IndexNotExist: ErrorCode -EmptyCollection: ErrorCode -UpdateImportTaskFailure: ErrorCode +CannotDeleteFolder: ErrorCode +Collection: ObjectType CollectionNameNotFound: ErrorCode +CollectionNotExists: ErrorCode +Completed: CompactionState +Connect: MsgType +ConnectFailed: ErrorCode +CreateAlias: MsgType +CreateCollection: MsgType +CreateCredential: MsgType CreateCredentialFailure: ErrorCode -UpdateCredentialFailure: ErrorCode -DeleteCredentialFailure: ErrorCode -GetCredentialFailure: ErrorCode -ListCredUsersFailure: ErrorCode -GetUserFailure: ErrorCode +CreateDatabase: MsgType +CreateIndex: MsgType +CreatePartition: MsgType +CreateResourceGroup: MsgType +CreateRole: MsgType CreateRoleFailure: ErrorCode -DropRoleFailure: ErrorCode -OperateUserRoleFailure: ErrorCode -SelectRoleFailure: ErrorCode -SelectUserFailure: ErrorCode -SelectResourceFailure: ErrorCode -OperatePrivilegeFailure: ErrorCode -SelectGrantFailure: ErrorCode -RefreshPolicyInfoCacheFailure: ErrorCode -ListPolicyFailure: ErrorCode -NotShardLeader: ErrorCode -NoReplicaAvailable: ErrorCode -SegmentNotFound: ErrorCode -ForceDeny: ErrorCode -RateLimit: ErrorCode -NodeIDNotMatch: ErrorCode -UpsertAutoIDTrue: ErrorCode -InsufficientMemoryToLoad: ErrorCode -MemoryQuotaExhausted: ErrorCode -DiskQuotaExhausted: ErrorCode -TimeTickLongDelay: ErrorCode -NotReadyServe: ErrorCode -NotReadyCoordActivating: ErrorCode -DataCoordNA: ErrorCode +Customized: ConsistencyLevel DDRequestRace: ErrorCode -IndexStateNone: IndexState -Unissued: IndexState -InProgress: IndexState -Finished: IndexState -Failed: IndexState -Retry: IndexState -SegmentStateNone: SegmentState -NotExist: SegmentState -Growing: SegmentState -Sealed: SegmentState -Flushed: SegmentState -Flushing: SegmentState -Dropped: SegmentState -Importing: SegmentState -None: PlaceholderType -BinaryVector: PlaceholderType -FloatVector: PlaceholderType -Float16Vector: PlaceholderType -Int64: PlaceholderType -VarChar: PlaceholderType -Undefined: MsgType -CreateCollection: MsgType -DropCollection: MsgType -HasCollection: MsgType -DescribeCollection: MsgType -ShowCollections: MsgType -GetSystemConfigs: MsgType -LoadCollection: MsgType -ReleaseCollection: MsgType -CreateAlias: MsgType -DropAlias: MsgType -AlterAlias: MsgType -AlterCollection: MsgType -RenameCollection: MsgType +DESCRIPTOR: _descriptor.FileDescriptor +DataCoordNA: ErrorCode +DataNodeTt: MsgType +Delete: MsgType +DeleteCredential: MsgType +DeleteCredentialFailure: ErrorCode DescribeAlias: MsgType -ListAliases: MsgType -CreatePartition: MsgType -DropPartition: MsgType -HasPartition: MsgType +DescribeCollection: MsgType +DescribeIndex: MsgType DescribePartition: MsgType -ShowPartitions: MsgType -LoadPartitions: MsgType -ReleasePartitions: MsgType -ShowSegments: MsgType +DescribeResourceGroup: MsgType DescribeSegment: MsgType -LoadSegments: MsgType -ReleaseSegments: MsgType -HandoffSegments: MsgType -LoadBalanceSegments: MsgType DescribeSegments: MsgType -FederListIndexedSegment: MsgType -FederDescribeSegmentIndexData: MsgType -CreateIndex: MsgType -DescribeIndex: MsgType +DiskQuotaExhausted: ErrorCode +DropAlias: MsgType +DropCollection: MsgType +DropDatabase: MsgType DropIndex: MsgType -GetIndexStatistics: MsgType -Insert: MsgType -Delete: MsgType +DropPartition: MsgType +DropResourceGroup: MsgType +DropRole: MsgType +DropRoleFailure: ErrorCode +Dropped: SegmentState +Dsl: DslType +EmptyCollection: ErrorCode +Eventually: ConsistencyLevel +Executing: CompactionState +Failed: IndexState +FederDescribeSegmentIndexData: MsgType +FederListIndexedSegment: MsgType +FileNotFound: ErrorCode +Finished: IndexState +Float16Vector: PlaceholderType +FloatVector: PlaceholderType Flush: MsgType -ResendSegmentStats: MsgType -Upsert: MsgType -Search: MsgType -SearchResult: MsgType -GetIndexState: MsgType -GetIndexBuildProgress: MsgType +Flushed: SegmentState +Flushing: SegmentState +ForceDeny: ErrorCode GetCollectionStatistics: MsgType -GetPartitionStatistics: MsgType -Retrieve: MsgType -RetrieveResult: MsgType -WatchDmChannels: MsgType -RemoveDmChannels: MsgType -WatchQueryChannels: MsgType -RemoveQueryChannels: MsgType -SealedSegmentsChangeInfo: MsgType -WatchDeltaChannels: MsgType -GetShardLeaders: MsgType -GetReplicas: MsgType -UnsubDmChannel: MsgType +GetCredential: MsgType +GetCredentialFailure: ErrorCode GetDistribution: MsgType -SyncDistribution: MsgType -SegmentInfo: MsgType -SystemInfo: MsgType +GetIndexBuildProgress: MsgType +GetIndexState: MsgType +GetIndexStatistics: MsgType +GetPartitionStatistics: MsgType GetRecoveryInfo: MsgType +GetReplicas: MsgType GetSegmentState: MsgType -TimeTick: MsgType -QueryNodeStats: MsgType -LoadIndex: MsgType -RequestID: MsgType -RequestTSO: MsgType -AllocateSegment: MsgType -SegmentStatistics: MsgType -SegmentFlushDone: MsgType -DataNodeTt: MsgType -Connect: MsgType +GetShardLeaders: MsgType +GetSystemConfigs: MsgType +GetUserFailure: ErrorCode +Global: ObjectType +Growing: SegmentState +HandoffSegments: MsgType +HasCollection: MsgType +HasPartition: MsgType +Healthy: StateCode +IllegalArgument: ErrorCode +IllegalCollectionName: ErrorCode +IllegalDimension: ErrorCode +IllegalIndexType: ErrorCode +IllegalMetricType: ErrorCode +IllegalNLIST: ErrorCode +IllegalRowRecord: ErrorCode +IllegalSearchResult: ErrorCode +IllegalTOPK: ErrorCode +IllegalVectorID: ErrorCode +ImportCompleted: ImportState +ImportFailed: ImportState +ImportFailedAndCleaned: ImportState +ImportFlushed: ImportState +ImportPending: ImportState +ImportPersisted: ImportState +ImportStarted: ImportState +Importing: SegmentState +InProgress: IndexState +IndexNotExist: ErrorCode +IndexStateNone: IndexState +Initializing: StateCode +Insert: MsgType +InsufficientMemoryToLoad: ErrorCode +Int64: PlaceholderType +ListAliases: MsgType ListClientInfos: MsgType -AllocTimestamp: MsgType -CreateCredential: MsgType -GetCredential: MsgType -DeleteCredential: MsgType -UpdateCredential: MsgType ListCredUsernames: MsgType -CreateRole: MsgType -DropRole: MsgType -OperateUserRole: MsgType -SelectRole: MsgType -SelectUser: MsgType -SelectResource: MsgType -OperatePrivilege: MsgType -SelectGrant: MsgType -RefreshPolicyInfoCache: MsgType +ListCredUsersFailure: ErrorCode +ListDatabases: MsgType ListPolicy: MsgType -CreateResourceGroup: MsgType -DropResourceGroup: MsgType +ListPolicyFailure: ErrorCode ListResourceGroups: MsgType -DescribeResourceGroup: MsgType -TransferNode: MsgType -TransferReplica: MsgType -CreateDatabase: MsgType -DropDatabase: MsgType -ListDatabases: MsgType -Dsl: DslType -BoolExprV1: DslType -UndefiedState: CompactionState -Executing: CompactionState -Completed: CompactionState -Strong: ConsistencyLevel -Session: ConsistencyLevel -Bounded: ConsistencyLevel -Eventually: ConsistencyLevel -Customized: ConsistencyLevel -ImportPending: ImportState -ImportFailed: ImportState -ImportStarted: ImportState -ImportPersisted: ImportState -ImportFlushed: ImportState -ImportCompleted: ImportState -ImportFailedAndCleaned: ImportState -Collection: ObjectType -Global: ObjectType -User: ObjectType +LoadBalanceSegments: MsgType +LoadCollection: MsgType +LoadIndex: MsgType +LoadPartitions: MsgType +LoadSegments: MsgType +LoadStateLoaded: LoadState +LoadStateLoading: LoadState +LoadStateNotExist: LoadState +LoadStateNotLoad: LoadState +MemoryQuotaExhausted: ErrorCode +MetaFailed: ErrorCode +NoReplicaAvailable: ErrorCode +NodeIDNotMatch: ErrorCode +None: PlaceholderType +NotExist: SegmentState +NotReadyCoordActivating: ErrorCode +NotReadyServe: ErrorCode +NotShardLeader: ErrorCode +OperatePrivilege: MsgType +OperatePrivilegeFailure: ErrorCode +OperateUserRole: MsgType +OperateUserRoleFailure: ErrorCode +OutOfMemory: ErrorCode +PRIVILEGE_EXT_OBJ_FIELD_NUMBER: _ClassVar[int] +PermissionDenied: ErrorCode PrivilegeAll: ObjectPrivilege -PrivilegeCreateCollection: ObjectPrivilege -PrivilegeDropCollection: ObjectPrivilege -PrivilegeDescribeCollection: ObjectPrivilege -PrivilegeShowCollections: ObjectPrivilege -PrivilegeLoad: ObjectPrivilege -PrivilegeRelease: ObjectPrivilege PrivilegeCompaction: ObjectPrivilege -PrivilegeInsert: ObjectPrivilege -PrivilegeDelete: ObjectPrivilege -PrivilegeGetStatistics: ObjectPrivilege +PrivilegeCreateCollection: ObjectPrivilege +PrivilegeCreateDatabase: ObjectPrivilege PrivilegeCreateIndex: ObjectPrivilege -PrivilegeIndexDetail: ObjectPrivilege +PrivilegeCreateOwnership: ObjectPrivilege +PrivilegeCreateResourceGroup: ObjectPrivilege +PrivilegeDelete: ObjectPrivilege +PrivilegeDescribeCollection: ObjectPrivilege +PrivilegeDescribeResourceGroup: ObjectPrivilege +PrivilegeDropCollection: ObjectPrivilege +PrivilegeDropDatabase: ObjectPrivilege PrivilegeDropIndex: ObjectPrivilege -PrivilegeSearch: ObjectPrivilege +PrivilegeDropOwnership: ObjectPrivilege +PrivilegeDropResourceGroup: ObjectPrivilege PrivilegeFlush: ObjectPrivilege -PrivilegeQuery: ObjectPrivilege -PrivilegeLoadBalance: ObjectPrivilege +PrivilegeFlushAll: ObjectPrivilege +PrivilegeGetLoadState: ObjectPrivilege +PrivilegeGetLoadingProgress: ObjectPrivilege +PrivilegeGetStatistics: ObjectPrivilege PrivilegeImport: ObjectPrivilege -PrivilegeCreateOwnership: ObjectPrivilege -PrivilegeUpdateUser: ObjectPrivilege -PrivilegeDropOwnership: ObjectPrivilege -PrivilegeSelectOwnership: ObjectPrivilege +PrivilegeIndexDetail: ObjectPrivilege +PrivilegeInsert: ObjectPrivilege +PrivilegeListDatabases: ObjectPrivilege +PrivilegeListResourceGroups: ObjectPrivilege +PrivilegeLoad: ObjectPrivilege +PrivilegeLoadBalance: ObjectPrivilege PrivilegeManageOwnership: ObjectPrivilege +PrivilegeQuery: ObjectPrivilege +PrivilegeRelease: ObjectPrivilege +PrivilegeRenameCollection: ObjectPrivilege +PrivilegeSearch: ObjectPrivilege +PrivilegeSelectOwnership: ObjectPrivilege PrivilegeSelectUser: ObjectPrivilege -PrivilegeUpsert: ObjectPrivilege -PrivilegeCreateResourceGroup: ObjectPrivilege -PrivilegeDropResourceGroup: ObjectPrivilege -PrivilegeDescribeResourceGroup: ObjectPrivilege -PrivilegeListResourceGroups: ObjectPrivilege +PrivilegeShowCollections: ObjectPrivilege PrivilegeTransferNode: ObjectPrivilege PrivilegeTransferReplica: ObjectPrivilege -PrivilegeGetLoadingProgress: ObjectPrivilege -PrivilegeGetLoadState: ObjectPrivilege -PrivilegeRenameCollection: ObjectPrivilege -PrivilegeCreateDatabase: ObjectPrivilege -PrivilegeDropDatabase: ObjectPrivilege -PrivilegeListDatabases: ObjectPrivilege -PrivilegeFlushAll: ObjectPrivilege -Initializing: StateCode -Healthy: StateCode -Abnormal: StateCode +PrivilegeUpdateUser: ObjectPrivilege +PrivilegeUpsert: ObjectPrivilege +QueryNodeStats: MsgType +RateLimit: ErrorCode +RefreshPolicyInfoCache: MsgType +RefreshPolicyInfoCacheFailure: ErrorCode +ReleaseCollection: MsgType +ReleasePartitions: MsgType +ReleaseSegments: MsgType +RemoveDmChannels: MsgType +RemoveQueryChannels: MsgType +RenameCollection: MsgType +RequestID: MsgType +RequestTSO: MsgType +ResendSegmentStats: MsgType +Retrieve: MsgType +RetrieveResult: MsgType +Retry: IndexState +Sealed: SegmentState +SealedSegmentsChangeInfo: MsgType +Search: MsgType +SearchResult: MsgType +SegmentFlushDone: MsgType +SegmentInfo: MsgType +SegmentNotFound: ErrorCode +SegmentStateNone: SegmentState +SegmentStatistics: MsgType +SelectGrant: MsgType +SelectGrantFailure: ErrorCode +SelectResource: MsgType +SelectResourceFailure: ErrorCode +SelectRole: MsgType +SelectRoleFailure: ErrorCode +SelectUser: MsgType +SelectUserFailure: ErrorCode +Session: ConsistencyLevel +ShowCollections: MsgType +ShowPartitions: MsgType +ShowSegments: MsgType StandBy: StateCode Stopping: StateCode -LoadStateNotExist: LoadState -LoadStateNotLoad: LoadState -LoadStateLoading: LoadState -LoadStateLoaded: LoadState -PRIVILEGE_EXT_OBJ_FIELD_NUMBER: _ClassVar[int] +Strong: ConsistencyLevel +Success: ErrorCode +SyncDistribution: MsgType +SystemInfo: MsgType +TimeTick: MsgType +TimeTickLongDelay: ErrorCode +TransferNode: MsgType +TransferReplica: MsgType +UndefiedState: CompactionState +Undefined: MsgType +UnexpectedError: ErrorCode +Unissued: IndexState +UnsubDmChannel: MsgType +UpdateCredential: MsgType +UpdateCredentialFailure: ErrorCode +UpdateImportTaskFailure: ErrorCode +Upsert: MsgType +UpsertAutoIDTrue: ErrorCode +User: ObjectType +VarChar: PlaceholderType +WatchDeltaChannels: MsgType +WatchDmChannels: MsgType +WatchQueryChannels: MsgType privilege_ext_obj: _descriptor.FieldDescriptor -class Status(_message.Message): - __slots__ = ["error_code", "reason", "code"] - ERROR_CODE_FIELD_NUMBER: _ClassVar[int] - REASON_FIELD_NUMBER: _ClassVar[int] - CODE_FIELD_NUMBER: _ClassVar[int] - error_code: ErrorCode - reason: str - code: int - def __init__(self, error_code: _Optional[_Union[ErrorCode, str]] = ..., reason: _Optional[str] = ..., code: _Optional[int] = ...) -> None: ... - -class KeyValuePair(_message.Message): - __slots__ = ["key", "value"] - KEY_FIELD_NUMBER: _ClassVar[int] - VALUE_FIELD_NUMBER: _ClassVar[int] - key: str - value: str - def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... - -class KeyDataPair(_message.Message): - __slots__ = ["key", "data"] - KEY_FIELD_NUMBER: _ClassVar[int] - DATA_FIELD_NUMBER: _ClassVar[int] - key: str - data: bytes - def __init__(self, key: _Optional[str] = ..., data: _Optional[bytes] = ...) -> None: ... +class Address(_message.Message): + __slots__ = ["ip", "port"] + IP_FIELD_NUMBER: _ClassVar[int] + PORT_FIELD_NUMBER: _ClassVar[int] + ip: str + port: int + def __init__(self, ip: _Optional[str] = ..., port: _Optional[int] = ...) -> None: ... class Blob(_message.Message): __slots__ = ["value"] @@ -574,42 +270,65 @@ class Blob(_message.Message): value: bytes def __init__(self, value: _Optional[bytes] = ...) -> None: ... -class PlaceholderValue(_message.Message): - __slots__ = ["tag", "type", "values"] - TAG_FIELD_NUMBER: _ClassVar[int] - TYPE_FIELD_NUMBER: _ClassVar[int] - VALUES_FIELD_NUMBER: _ClassVar[int] - tag: str - type: PlaceholderType - values: _containers.RepeatedScalarFieldContainer[bytes] - def __init__(self, tag: _Optional[str] = ..., type: _Optional[_Union[PlaceholderType, str]] = ..., values: _Optional[_Iterable[bytes]] = ...) -> None: ... +class ClientInfo(_message.Message): + __slots__ = ["host", "local_time", "reserved", "sdk_type", "sdk_version", "user"] + class ReservedEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... + HOST_FIELD_NUMBER: _ClassVar[int] + LOCAL_TIME_FIELD_NUMBER: _ClassVar[int] + RESERVED_FIELD_NUMBER: _ClassVar[int] + SDK_TYPE_FIELD_NUMBER: _ClassVar[int] + SDK_VERSION_FIELD_NUMBER: _ClassVar[int] + USER_FIELD_NUMBER: _ClassVar[int] + host: str + local_time: str + reserved: _containers.ScalarMap[str, str] + sdk_type: str + sdk_version: str + user: str + def __init__(self, sdk_type: _Optional[str] = ..., sdk_version: _Optional[str] = ..., local_time: _Optional[str] = ..., user: _Optional[str] = ..., host: _Optional[str] = ..., reserved: _Optional[_Mapping[str, str]] = ...) -> None: ... -class PlaceholderGroup(_message.Message): - __slots__ = ["placeholders"] - PLACEHOLDERS_FIELD_NUMBER: _ClassVar[int] - placeholders: _containers.RepeatedCompositeFieldContainer[PlaceholderValue] - def __init__(self, placeholders: _Optional[_Iterable[_Union[PlaceholderValue, _Mapping]]] = ...) -> None: ... +class DMLMsgHeader(_message.Message): + __slots__ = ["base", "shardName"] + BASE_FIELD_NUMBER: _ClassVar[int] + SHARDNAME_FIELD_NUMBER: _ClassVar[int] + base: MsgBase + shardName: str + def __init__(self, base: _Optional[_Union[MsgBase, _Mapping]] = ..., shardName: _Optional[str] = ...) -> None: ... -class Address(_message.Message): - __slots__ = ["ip", "port"] - IP_FIELD_NUMBER: _ClassVar[int] - PORT_FIELD_NUMBER: _ClassVar[int] - ip: str - port: int - def __init__(self, ip: _Optional[str] = ..., port: _Optional[int] = ...) -> None: ... +class KeyDataPair(_message.Message): + __slots__ = ["data", "key"] + DATA_FIELD_NUMBER: _ClassVar[int] + KEY_FIELD_NUMBER: _ClassVar[int] + data: bytes + key: str + def __init__(self, key: _Optional[str] = ..., data: _Optional[bytes] = ...) -> None: ... + +class KeyValuePair(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: str + def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... class MsgBase(_message.Message): - __slots__ = ["msg_type", "msgID", "timestamp", "sourceID", "targetID"] - MSG_TYPE_FIELD_NUMBER: _ClassVar[int] + __slots__ = ["msgID", "msg_type", "sourceID", "targetID", "timestamp"] MSGID_FIELD_NUMBER: _ClassVar[int] - TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + MSG_TYPE_FIELD_NUMBER: _ClassVar[int] SOURCEID_FIELD_NUMBER: _ClassVar[int] TARGETID_FIELD_NUMBER: _ClassVar[int] - msg_type: MsgType + TIMESTAMP_FIELD_NUMBER: _ClassVar[int] msgID: int - timestamp: int + msg_type: MsgType sourceID: int targetID: int + timestamp: int def __init__(self, msg_type: _Optional[_Union[MsgType, str]] = ..., msgID: _Optional[int] = ..., timestamp: _Optional[int] = ..., sourceID: _Optional[int] = ..., targetID: _Optional[int] = ...) -> None: ... class MsgHeader(_message.Message): @@ -618,59 +337,44 @@ class MsgHeader(_message.Message): base: MsgBase def __init__(self, base: _Optional[_Union[MsgBase, _Mapping]] = ...) -> None: ... -class DMLMsgHeader(_message.Message): - __slots__ = ["base", "shardName"] - BASE_FIELD_NUMBER: _ClassVar[int] - SHARDNAME_FIELD_NUMBER: _ClassVar[int] - base: MsgBase - shardName: str - def __init__(self, base: _Optional[_Union[MsgBase, _Mapping]] = ..., shardName: _Optional[str] = ...) -> None: ... +class PlaceholderGroup(_message.Message): + __slots__ = ["placeholders"] + PLACEHOLDERS_FIELD_NUMBER: _ClassVar[int] + placeholders: _containers.RepeatedCompositeFieldContainer[PlaceholderValue] + def __init__(self, placeholders: _Optional[_Iterable[_Union[PlaceholderValue, _Mapping]]] = ...) -> None: ... + +class PlaceholderValue(_message.Message): + __slots__ = ["tag", "type", "values"] + TAG_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + VALUES_FIELD_NUMBER: _ClassVar[int] + tag: str + type: PlaceholderType + values: _containers.RepeatedScalarFieldContainer[bytes] + def __init__(self, tag: _Optional[str] = ..., type: _Optional[_Union[PlaceholderType, str]] = ..., values: _Optional[_Iterable[bytes]] = ...) -> None: ... class PrivilegeExt(_message.Message): - __slots__ = ["object_type", "object_privilege", "object_name_index", "object_name_indexs"] - OBJECT_TYPE_FIELD_NUMBER: _ClassVar[int] - OBJECT_PRIVILEGE_FIELD_NUMBER: _ClassVar[int] - OBJECT_NAME_INDEX_FIELD_NUMBER: _ClassVar[int] + __slots__ = ["object_name_index", "object_name_indexs", "object_privilege", "object_type"] OBJECT_NAME_INDEXS_FIELD_NUMBER: _ClassVar[int] - object_type: ObjectType - object_privilege: ObjectPrivilege + OBJECT_NAME_INDEX_FIELD_NUMBER: _ClassVar[int] + OBJECT_PRIVILEGE_FIELD_NUMBER: _ClassVar[int] + OBJECT_TYPE_FIELD_NUMBER: _ClassVar[int] object_name_index: int object_name_indexs: int + object_privilege: ObjectPrivilege + object_type: ObjectType def __init__(self, object_type: _Optional[_Union[ObjectType, str]] = ..., object_privilege: _Optional[_Union[ObjectPrivilege, str]] = ..., object_name_index: _Optional[int] = ..., object_name_indexs: _Optional[int] = ...) -> None: ... class SegmentStats(_message.Message): - __slots__ = ["SegmentID", "NumRows"] - SEGMENTID_FIELD_NUMBER: _ClassVar[int] + __slots__ = ["NumRows", "SegmentID"] NUMROWS_FIELD_NUMBER: _ClassVar[int] - SegmentID: int NumRows: int + SEGMENTID_FIELD_NUMBER: _ClassVar[int] + SegmentID: int def __init__(self, SegmentID: _Optional[int] = ..., NumRows: _Optional[int] = ...) -> None: ... -class ClientInfo(_message.Message): - __slots__ = ["sdk_type", "sdk_version", "local_time", "user", "host", "reserved"] - class ReservedEntry(_message.Message): - __slots__ = ["key", "value"] - KEY_FIELD_NUMBER: _ClassVar[int] - VALUE_FIELD_NUMBER: _ClassVar[int] - key: str - value: str - def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... - SDK_TYPE_FIELD_NUMBER: _ClassVar[int] - SDK_VERSION_FIELD_NUMBER: _ClassVar[int] - LOCAL_TIME_FIELD_NUMBER: _ClassVar[int] - USER_FIELD_NUMBER: _ClassVar[int] - HOST_FIELD_NUMBER: _ClassVar[int] - RESERVED_FIELD_NUMBER: _ClassVar[int] - sdk_type: str - sdk_version: str - local_time: str - user: str - host: str - reserved: _containers.ScalarMap[str, str] - def __init__(self, sdk_type: _Optional[str] = ..., sdk_version: _Optional[str] = ..., local_time: _Optional[str] = ..., user: _Optional[str] = ..., host: _Optional[str] = ..., reserved: _Optional[_Mapping[str, str]] = ...) -> None: ... - class ServerInfo(_message.Message): - __slots__ = ["build_tags", "build_time", "git_commit", "go_version", "deploy_mode", "reserved"] + __slots__ = ["build_tags", "build_time", "deploy_mode", "git_commit", "go_version", "reserved"] class ReservedEntry(_message.Message): __slots__ = ["key", "value"] KEY_FIELD_NUMBER: _ClassVar[int] @@ -680,14 +384,63 @@ class ServerInfo(_message.Message): def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ... BUILD_TAGS_FIELD_NUMBER: _ClassVar[int] BUILD_TIME_FIELD_NUMBER: _ClassVar[int] + DEPLOY_MODE_FIELD_NUMBER: _ClassVar[int] GIT_COMMIT_FIELD_NUMBER: _ClassVar[int] GO_VERSION_FIELD_NUMBER: _ClassVar[int] - DEPLOY_MODE_FIELD_NUMBER: _ClassVar[int] RESERVED_FIELD_NUMBER: _ClassVar[int] build_tags: str build_time: str + deploy_mode: str git_commit: str go_version: str - deploy_mode: str reserved: _containers.ScalarMap[str, str] def __init__(self, build_tags: _Optional[str] = ..., build_time: _Optional[str] = ..., git_commit: _Optional[str] = ..., go_version: _Optional[str] = ..., deploy_mode: _Optional[str] = ..., reserved: _Optional[_Mapping[str, str]] = ...) -> None: ... + +class Status(_message.Message): + __slots__ = ["code", "error_code", "reason"] + CODE_FIELD_NUMBER: _ClassVar[int] + ERROR_CODE_FIELD_NUMBER: _ClassVar[int] + REASON_FIELD_NUMBER: _ClassVar[int] + code: int + error_code: ErrorCode + reason: str + def __init__(self, error_code: _Optional[_Union[ErrorCode, str]] = ..., reason: _Optional[str] = ..., code: _Optional[int] = ...) -> None: ... + +class ErrorCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class IndexState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class SegmentState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class PlaceholderType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class MsgType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class DslType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class CompactionState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class ConsistencyLevel(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class ImportState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class ObjectType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class ObjectPrivilege(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class StateCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + +class LoadState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] diff --git a/pymilvus/grpc_gen/feder_pb2.py b/pymilvus/grpc_gen/feder_pb2.py index c6f86a2d4..fdb9d0c72 100644 --- a/pymilvus/grpc_gen/feder_pb2.py +++ b/pymilvus/grpc_gen/feder_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: feder.proto """Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,27 +16,26 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0b\x66\x65\x64\x65r.proto\x12\x12milvus.proto.feder\x1a\x0c\x63ommon.proto\"9\n\x10SegmentIndexData\x12\x11\n\tsegmentID\x18\x01 \x01(\x03\x12\x12\n\nindex_data\x18\x02 \x01(\t\"A\n\x18\x46\x65\x64\x65rSegmentSearchResult\x12\x11\n\tsegmentID\x18\x01 \x01(\x03\x12\x12\n\nvisit_info\x18\x02 \x01(\t\"t\n\x19ListIndexedSegmentRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x17\n\x0f\x63ollection_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\"]\n\x1aListIndexedSegmentResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x12\n\nsegmentIDs\x18\x02 \x03(\x03\"\x8f\x01\n\x1f\x44\x65scribeSegmentIndexDataRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x17\n\x0f\x63ollection_name\x18\x02 \x01(\t\x12\x12\n\nindex_name\x18\x03 \x01(\t\x12\x13\n\x0bsegmentsIDs\x18\x04 \x03(\x03\"\xb9\x02\n DescribeSegmentIndexDataResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12W\n\nindex_data\x18\x02 \x03(\x0b\x32\x43.milvus.proto.feder.DescribeSegmentIndexDataResponse.IndexDataEntry\x12\x37\n\x0cindex_params\x18\x03 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x1aV\n\x0eIndexDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.milvus.proto.feder.SegmentIndexData:\x02\x38\x01\x42\x35Z3github.com/milvus-io/milvus-proto/go-api/v2/federpbb\x06proto3') -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feder_pb2', _globals) +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'feder_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z3github.com/milvus-io/milvus-proto/go-api/v2/federpb' _DESCRIBESEGMENTINDEXDATARESPONSE_INDEXDATAENTRY._options = None _DESCRIBESEGMENTINDEXDATARESPONSE_INDEXDATAENTRY._serialized_options = b'8\001' - _globals['_SEGMENTINDEXDATA']._serialized_start=49 - _globals['_SEGMENTINDEXDATA']._serialized_end=106 - _globals['_FEDERSEGMENTSEARCHRESULT']._serialized_start=108 - _globals['_FEDERSEGMENTSEARCHRESULT']._serialized_end=173 - _globals['_LISTINDEXEDSEGMENTREQUEST']._serialized_start=175 - _globals['_LISTINDEXEDSEGMENTREQUEST']._serialized_end=291 - _globals['_LISTINDEXEDSEGMENTRESPONSE']._serialized_start=293 - _globals['_LISTINDEXEDSEGMENTRESPONSE']._serialized_end=386 - _globals['_DESCRIBESEGMENTINDEXDATAREQUEST']._serialized_start=389 - _globals['_DESCRIBESEGMENTINDEXDATAREQUEST']._serialized_end=532 - _globals['_DESCRIBESEGMENTINDEXDATARESPONSE']._serialized_start=535 - _globals['_DESCRIBESEGMENTINDEXDATARESPONSE']._serialized_end=848 - _globals['_DESCRIBESEGMENTINDEXDATARESPONSE_INDEXDATAENTRY']._serialized_start=762 - _globals['_DESCRIBESEGMENTINDEXDATARESPONSE_INDEXDATAENTRY']._serialized_end=848 + _SEGMENTINDEXDATA._serialized_start=49 + _SEGMENTINDEXDATA._serialized_end=106 + _FEDERSEGMENTSEARCHRESULT._serialized_start=108 + _FEDERSEGMENTSEARCHRESULT._serialized_end=173 + _LISTINDEXEDSEGMENTREQUEST._serialized_start=175 + _LISTINDEXEDSEGMENTREQUEST._serialized_end=291 + _LISTINDEXEDSEGMENTRESPONSE._serialized_start=293 + _LISTINDEXEDSEGMENTRESPONSE._serialized_end=386 + _DESCRIBESEGMENTINDEXDATAREQUEST._serialized_start=389 + _DESCRIBESEGMENTINDEXDATAREQUEST._serialized_end=532 + _DESCRIBESEGMENTINDEXDATARESPONSE._serialized_start=535 + _DESCRIBESEGMENTINDEXDATARESPONSE._serialized_end=848 + _DESCRIBESEGMENTINDEXDATARESPONSE_INDEXDATAENTRY._serialized_start=762 + _DESCRIBESEGMENTINDEXDATARESPONSE_INDEXDATAENTRY._serialized_end=848 # @@protoc_insertion_point(module_scope) diff --git a/pymilvus/grpc_gen/feder_pb2.pyi b/pymilvus/grpc_gen/feder_pb2.pyi index 78de2e068..2a44e5375 100644 --- a/pymilvus/grpc_gen/feder_pb2.pyi +++ b/pymilvus/grpc_gen/feder_pb2.pyi @@ -6,13 +6,34 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map DESCRIPTOR: _descriptor.FileDescriptor -class SegmentIndexData(_message.Message): - __slots__ = ["segmentID", "index_data"] - SEGMENTID_FIELD_NUMBER: _ClassVar[int] +class DescribeSegmentIndexDataRequest(_message.Message): + __slots__ = ["base", "collection_name", "index_name", "segmentsIDs"] + BASE_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + INDEX_NAME_FIELD_NUMBER: _ClassVar[int] + SEGMENTSIDS_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + collection_name: str + index_name: str + segmentsIDs: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., collection_name: _Optional[str] = ..., index_name: _Optional[str] = ..., segmentsIDs: _Optional[_Iterable[int]] = ...) -> None: ... + +class DescribeSegmentIndexDataResponse(_message.Message): + __slots__ = ["index_data", "index_params", "status"] + class IndexDataEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: int + value: SegmentIndexData + def __init__(self, key: _Optional[int] = ..., value: _Optional[_Union[SegmentIndexData, _Mapping]] = ...) -> None: ... INDEX_DATA_FIELD_NUMBER: _ClassVar[int] - segmentID: int - index_data: str - def __init__(self, segmentID: _Optional[int] = ..., index_data: _Optional[str] = ...) -> None: ... + INDEX_PARAMS_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + index_data: _containers.MessageMap[int, SegmentIndexData] + index_params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., index_data: _Optional[_Mapping[int, SegmentIndexData]] = ..., index_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... class FederSegmentSearchResult(_message.Message): __slots__ = ["segmentID", "visit_info"] @@ -33,38 +54,17 @@ class ListIndexedSegmentRequest(_message.Message): def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., collection_name: _Optional[str] = ..., index_name: _Optional[str] = ...) -> None: ... class ListIndexedSegmentResponse(_message.Message): - __slots__ = ["status", "segmentIDs"] - STATUS_FIELD_NUMBER: _ClassVar[int] + __slots__ = ["segmentIDs", "status"] SEGMENTIDS_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status + STATUS_FIELD_NUMBER: _ClassVar[int] segmentIDs: _containers.RepeatedScalarFieldContainer[int] + status: _common_pb2.Status def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., segmentIDs: _Optional[_Iterable[int]] = ...) -> None: ... -class DescribeSegmentIndexDataRequest(_message.Message): - __slots__ = ["base", "collection_name", "index_name", "segmentsIDs"] - BASE_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - INDEX_NAME_FIELD_NUMBER: _ClassVar[int] - SEGMENTSIDS_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - collection_name: str - index_name: str - segmentsIDs: _containers.RepeatedScalarFieldContainer[int] - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., collection_name: _Optional[str] = ..., index_name: _Optional[str] = ..., segmentsIDs: _Optional[_Iterable[int]] = ...) -> None: ... - -class DescribeSegmentIndexDataResponse(_message.Message): - __slots__ = ["status", "index_data", "index_params"] - class IndexDataEntry(_message.Message): - __slots__ = ["key", "value"] - KEY_FIELD_NUMBER: _ClassVar[int] - VALUE_FIELD_NUMBER: _ClassVar[int] - key: int - value: SegmentIndexData - def __init__(self, key: _Optional[int] = ..., value: _Optional[_Union[SegmentIndexData, _Mapping]] = ...) -> None: ... - STATUS_FIELD_NUMBER: _ClassVar[int] +class SegmentIndexData(_message.Message): + __slots__ = ["index_data", "segmentID"] INDEX_DATA_FIELD_NUMBER: _ClassVar[int] - INDEX_PARAMS_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - index_data: _containers.MessageMap[int, SegmentIndexData] - index_params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., index_data: _Optional[_Mapping[int, SegmentIndexData]] = ..., index_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... + SEGMENTID_FIELD_NUMBER: _ClassVar[int] + index_data: str + segmentID: int + def __init__(self, segmentID: _Optional[int] = ..., index_data: _Optional[str] = ...) -> None: ... diff --git a/pymilvus/grpc_gen/milvus-proto b/pymilvus/grpc_gen/milvus-proto index 04a979a79..23756009c 160000 --- a/pymilvus/grpc_gen/milvus-proto +++ b/pymilvus/grpc_gen/milvus-proto @@ -1 +1 @@ -Subproject commit 04a979a79cdf370821d0c30a70828c995a3e781e +Subproject commit 23756009c643a2017b5bfb73e190d15dc850f4b6 diff --git a/pymilvus/grpc_gen/milvus_pb2.py b/pymilvus/grpc_gen/milvus_pb2.py index 8ff8b4d1f..ed8f183e6 100644 --- a/pymilvus/grpc_gen/milvus_pb2.py +++ b/pymilvus/grpc_gen/milvus_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: milvus.proto """Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -17,11 +17,10 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cmilvus.proto\x12\x13milvus.proto.milvus\x1a\x0c\x63ommon.proto\x1a\x0cschema.proto\x1a\x0b\x66\x65\x64\x65r.proto\x1a google/protobuf/descriptor.proto\"y\n\x12\x43reateAliasRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\r\n\x05\x61lias\x18\x04 \x01(\t\"^\n\x10\x44ropAliasRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\r\n\x05\x61lias\x18\x03 \x01(\t\"x\n\x11\x41lterAliasRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\r\n\x05\x61lias\x18\x04 \x01(\t\"b\n\x14\x44\x65scribeAliasRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\r\n\x05\x61lias\x18\x03 \x01(\t\"x\n\x15\x44\x65scribeAliasResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\r\n\x05\x61lias\x18\x03 \x01(\t\x12\x12\n\ncollection\x18\x04 \x01(\t\"j\n\x12ListAliasesRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\"}\n\x13ListAliasesResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x0f\n\x07\x61liases\x18\x04 \x03(\t\"\xb8\x02\n\x17\x43reateCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x0e\n\x06schema\x18\x04 \x01(\x0c\x12\x12\n\nshards_num\x18\x05 \x01(\x05\x12@\n\x11\x63onsistency_level\x18\x06 \x01(\x0e\x32%.milvus.proto.common.ConsistencyLevel\x12\x35\n\nproperties\x18\x07 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x16\n\x0enum_partitions\x18\x08 \x01(\x03:\x12\xca>\x0f\x08\x01\x10\x01\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x81\x01\n\x15\x44ropCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x02\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xcf\x01\n\x16\x41lterCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x14\n\x0c\x63ollectionID\x18\x04 \x01(\x03\x12\x35\n\nproperties\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair:\x12\xca>\x0f\x08\x01\x10\x01\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x80\x01\n\x14HasCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\ntime_stamp\x18\x04 \x01(\x04\"J\n\x0c\x42oolResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\r\n\x05value\x18\x02 \x01(\x08\"L\n\x0eStringResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\r\n\x05value\x18\x02 \x01(\t\"\xaf\x01\n\x19\x44\x65scribeCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x14\n\x0c\x63ollectionID\x18\x04 \x01(\x03\x12\x12\n\ntime_stamp\x18\x05 \x01(\x04:\x12\xca>\x0f\x08\x01\x10\x03\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xaa\x04\n\x1a\x44\x65scribeCollectionResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x35\n\x06schema\x18\x02 \x01(\x0b\x32%.milvus.proto.schema.CollectionSchema\x12\x14\n\x0c\x63ollectionID\x18\x03 \x01(\x03\x12\x1d\n\x15virtual_channel_names\x18\x04 \x03(\t\x12\x1e\n\x16physical_channel_names\x18\x05 \x03(\t\x12\x19\n\x11\x63reated_timestamp\x18\x06 \x01(\x04\x12\x1d\n\x15\x63reated_utc_timestamp\x18\x07 \x01(\x04\x12\x12\n\nshards_num\x18\x08 \x01(\x05\x12\x0f\n\x07\x61liases\x18\t \x03(\t\x12\x39\n\x0fstart_positions\x18\n \x03(\x0b\x32 .milvus.proto.common.KeyDataPair\x12@\n\x11\x63onsistency_level\x18\x0b \x01(\x0e\x32%.milvus.proto.common.ConsistencyLevel\x12\x17\n\x0f\x63ollection_name\x18\x0c \x01(\t\x12\x35\n\nproperties\x18\r \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x0f\n\x07\x64\x62_name\x18\x0e \x01(\t\x12\x16\n\x0enum_partitions\x18\x0f \x01(\x03\"\xb8\x01\n\x15LoadCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0ereplica_number\x18\x04 \x01(\x05\x12\x17\n\x0fresource_groups\x18\x05 \x03(\t\x12\x0f\n\x07refresh\x18\x06 \x01(\x08:\x07\xca>\x04\x10\x05\x18\x03\"y\n\x18ReleaseCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t:\x07\xca>\x04\x10\x06\x18\x03\"\xab\x01\n\x14GetStatisticsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x17\n\x0fpartition_names\x18\x04 \x03(\t\x12\x1b\n\x13guarantee_timestamp\x18\x05 \x01(\x04:\x07\xca>\x04\x10\n\x18\x03\"v\n\x15GetStatisticsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\x05stats\x18\x02 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\x7f\n\x1eGetCollectionStatisticsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t:\x07\xca>\x04\x10\n\x18\x03\"\x80\x01\n\x1fGetCollectionStatisticsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\x05stats\x18\x02 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\xc4\x01\n\x16ShowCollectionsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x12\n\ntime_stamp\x18\x03 \x01(\x04\x12+\n\x04type\x18\x04 \x01(\x0e\x32\x1d.milvus.proto.milvus.ShowType\x12\x18\n\x10\x63ollection_names\x18\x05 \x03(\t:\x12\xca>\x0f\x08\x01\x10\x04\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xf3\x01\n\x17ShowCollectionsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x18\n\x10\x63ollection_names\x18\x02 \x03(\t\x12\x16\n\x0e\x63ollection_ids\x18\x03 \x03(\x03\x12\x1a\n\x12\x63reated_timestamps\x18\x04 \x03(\x04\x12\x1e\n\x16\x63reated_utc_timestamps\x18\x05 \x03(\x04\x12\x1c\n\x14inMemory_percentages\x18\x06 \x03(\x03\x12\x1f\n\x17query_service_available\x18\x07 \x03(\x08\"\x86\x01\n\x16\x43reatePartitionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\"\x84\x01\n\x14\x44ropPartitionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\"\x83\x01\n\x13HasPartitionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\"\xc8\x01\n\x15LoadPartitionsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x17\n\x0fpartition_names\x18\x04 \x03(\t\x12\x16\n\x0ereplica_number\x18\x05 \x01(\x05\x12\x17\n\x0fresource_groups\x18\x06 \x03(\t\x12\x0f\n\x07refresh\x18\x07 \x01(\x08\"\x89\x01\n\x18ReleasePartitionsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x17\n\x0fpartition_names\x18\x04 \x03(\t\"\x8d\x01\n\x1dGetPartitionStatisticsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\"\x7f\n\x1eGetPartitionStatisticsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\x05stats\x18\x02 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\xc9\x01\n\x15ShowPartitionsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x14\n\x0c\x63ollectionID\x18\x04 \x01(\x03\x12\x17\n\x0fpartition_names\x18\x05 \x03(\t\x12+\n\x04type\x18\x06 \x01(\x0e\x32\x1d.milvus.proto.milvus.ShowType\"\xce\x01\n\x16ShowPartitionsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x17\n\x0fpartition_names\x18\x02 \x03(\t\x12\x14\n\x0cpartitionIDs\x18\x03 \x03(\x03\x12\x1a\n\x12\x63reated_timestamps\x18\x04 \x03(\x04\x12\x1e\n\x16\x63reated_utc_timestamps\x18\x05 \x03(\x04\x12\x1c\n\x14inMemory_percentages\x18\x06 \x03(\x03\"m\n\x16\x44\x65scribeSegmentRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x14\n\x0c\x63ollectionID\x18\x02 \x01(\x03\x12\x11\n\tsegmentID\x18\x03 \x01(\x03\"\x8f\x01\n\x17\x44\x65scribeSegmentResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07indexID\x18\x02 \x01(\x03\x12\x0f\n\x07\x62uildID\x18\x03 \x01(\x03\x12\x14\n\x0c\x65nable_index\x18\x04 \x01(\x08\x12\x0f\n\x07\x66ieldID\x18\x05 \x01(\x03\"l\n\x13ShowSegmentsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x14\n\x0c\x63ollectionID\x18\x02 \x01(\x03\x12\x13\n\x0bpartitionID\x18\x03 \x01(\x03\"W\n\x14ShowSegmentsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x12\n\nsegmentIDs\x18\x02 \x03(\x03\"\xd4\x01\n\x12\x43reateIndexRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\nfield_name\x18\x04 \x01(\t\x12\x37\n\x0c\x65xtra_params\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x12\n\nindex_name\x18\x06 \x01(\t:\x07\xca>\x04\x10\x0b\x18\x03\"\xb0\x01\n\x14\x44\x65scribeIndexRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\nfield_name\x18\x04 \x01(\t\x12\x12\n\nindex_name\x18\x05 \x01(\t\x12\x11\n\ttimestamp\x18\x06 \x01(\x04:\x07\xca>\x04\x10\x0c\x18\x03\"\x95\x02\n\x10IndexDescription\x12\x12\n\nindex_name\x18\x01 \x01(\t\x12\x0f\n\x07indexID\x18\x02 \x01(\x03\x12\x31\n\x06params\x18\x03 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x12\n\nfield_name\x18\x04 \x01(\t\x12\x14\n\x0cindexed_rows\x18\x05 \x01(\x03\x12\x12\n\ntotal_rows\x18\x06 \x01(\x03\x12.\n\x05state\x18\x07 \x01(\x0e\x32\x1f.milvus.proto.common.IndexState\x12\x1f\n\x17index_state_fail_reason\x18\x08 \x01(\t\x12\x1a\n\x12pending_index_rows\x18\t \x01(\x03\"\x87\x01\n\x15\x44\x65scribeIndexResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x41\n\x12index_descriptions\x18\x02 \x03(\x0b\x32%.milvus.proto.milvus.IndexDescription\"\xa5\x01\n\x1cGetIndexBuildProgressRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\nfield_name\x18\x04 \x01(\t\x12\x12\n\nindex_name\x18\x05 \x01(\t:\x07\xca>\x04\x10\x0c\x18\x03\"v\n\x1dGetIndexBuildProgressResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x14\n\x0cindexed_rows\x18\x02 \x01(\x03\x12\x12\n\ntotal_rows\x18\x03 \x01(\x03\"\x9d\x01\n\x14GetIndexStateRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\nfield_name\x18\x04 \x01(\t\x12\x12\n\nindex_name\x18\x05 \x01(\t:\x07\xca>\x04\x10\x0c\x18\x03\"\x89\x01\n\x15GetIndexStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12.\n\x05state\x18\x02 \x01(\x0e\x32\x1f.milvus.proto.common.IndexState\x12\x13\n\x0b\x66\x61il_reason\x18\x03 \x01(\t\"\x99\x01\n\x10\x44ropIndexRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\nfield_name\x18\x04 \x01(\t\x12\x12\n\nindex_name\x18\x05 \x01(\t:\x07\xca>\x04\x10\r\x18\x03\"\xe0\x01\n\rInsertRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\x12\x33\n\x0b\x66ields_data\x18\x05 \x03(\x0b\x32\x1e.milvus.proto.schema.FieldData\x12\x11\n\thash_keys\x18\x06 \x03(\r\x12\x10\n\x08num_rows\x18\x07 \x01(\r:\x07\xca>\x04\x10\x08\x18\x03\"\xe0\x01\n\rUpsertRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\x12\x33\n\x0b\x66ields_data\x18\x05 \x03(\x0b\x32\x1e.milvus.proto.schema.FieldData\x12\x11\n\thash_keys\x18\x06 \x03(\r\x12\x10\n\x08num_rows\x18\x07 \x01(\r:\x07\xca>\x04\x10\x19\x18\x03\"\xf0\x01\n\x0eMutationResult\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12%\n\x03IDs\x18\x02 \x01(\x0b\x32\x18.milvus.proto.schema.IDs\x12\x12\n\nsucc_index\x18\x03 \x03(\r\x12\x11\n\terr_index\x18\x04 \x03(\r\x12\x14\n\x0c\x61\x63knowledged\x18\x05 \x01(\x08\x12\x12\n\ninsert_cnt\x18\x06 \x01(\x03\x12\x12\n\ndelete_cnt\x18\x07 \x01(\x03\x12\x12\n\nupsert_cnt\x18\x08 \x01(\x03\x12\x11\n\ttimestamp\x18\t \x01(\x04\"\xa7\x01\n\rDeleteRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\x12\x0c\n\x04\x65xpr\x18\x05 \x01(\t\x12\x11\n\thash_keys\x18\x06 \x03(\r:\x07\xca>\x04\x10\t\x18\x03\"\x93\x04\n\rSearchRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x17\n\x0fpartition_names\x18\x04 \x03(\t\x12\x0b\n\x03\x64sl\x18\x05 \x01(\t\x12\x19\n\x11placeholder_group\x18\x06 \x01(\x0c\x12.\n\x08\x64sl_type\x18\x07 \x01(\x0e\x32\x1c.milvus.proto.common.DslType\x12\x15\n\routput_fields\x18\x08 \x03(\t\x12\x38\n\rsearch_params\x18\t \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x18\n\x10travel_timestamp\x18\n \x01(\x04\x12\x1b\n\x13guarantee_timestamp\x18\x0b \x01(\x04\x12\n\n\x02nq\x18\x0c \x01(\x03\x12\x1b\n\x13not_return_all_meta\x18\r \x01(\x08\x12@\n\x11\x63onsistency_level\x18\x0e \x01(\x0e\x32%.milvus.proto.common.ConsistencyLevel\x12\x1f\n\x17use_default_consistency\x18\x0f \x01(\x08\x12\x1e\n\x16search_by_primary_keys\x18\x10 \x01(\x08:\x07\xca>\x04\x10\x0e\x18\x03\"5\n\x04Hits\x12\x0b\n\x03IDs\x18\x01 \x03(\x03\x12\x10\n\x08row_data\x18\x02 \x03(\x0c\x12\x0e\n\x06scores\x18\x03 \x03(\x02\"\x8d\x01\n\rSearchResults\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x36\n\x07results\x18\x02 \x01(\x0b\x32%.milvus.proto.schema.SearchResultData\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\"n\n\x0c\x46lushRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x18\n\x10\x63ollection_names\x18\x03 \x03(\t:\x07\xca>\x04\x10\x0f \x03\"\x9b\x04\n\rFlushResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12G\n\x0b\x63oll_segIDs\x18\x03 \x03(\x0b\x32\x32.milvus.proto.milvus.FlushResponse.CollSegIDsEntry\x12R\n\x11\x66lush_coll_segIDs\x18\x04 \x03(\x0b\x32\x37.milvus.proto.milvus.FlushResponse.FlushCollSegIDsEntry\x12N\n\x0f\x63oll_seal_times\x18\x05 \x03(\x0b\x32\x35.milvus.proto.milvus.FlushResponse.CollSealTimesEntry\x1aQ\n\x0f\x43ollSegIDsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArray:\x02\x38\x01\x1aV\n\x14\x46lushCollSegIDsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArray:\x02\x38\x01\x1a\x34\n\x12\x43ollSealTimesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"\x9b\x03\n\x0cQueryRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x0c\n\x04\x65xpr\x18\x04 \x01(\t\x12\x15\n\routput_fields\x18\x05 \x03(\t\x12\x17\n\x0fpartition_names\x18\x06 \x03(\t\x12\x18\n\x10travel_timestamp\x18\x07 \x01(\x04\x12\x1b\n\x13guarantee_timestamp\x18\x08 \x01(\x04\x12\x37\n\x0cquery_params\x18\t \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x1b\n\x13not_return_all_meta\x18\n \x01(\x08\x12@\n\x11\x63onsistency_level\x18\x0b \x01(\x0e\x32%.milvus.proto.common.ConsistencyLevel\x12\x1f\n\x17use_default_consistency\x18\x0c \x01(\x08:\x07\xca>\x04\x10\x10\x18\x03\"\xa0\x01\n\x0cQueryResults\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x33\n\x0b\x66ields_data\x18\x02 \x03(\x0b\x32\x1e.milvus.proto.schema.FieldData\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x15\n\routput_fields\x18\x04 \x03(\t\"}\n\tVectorIDs\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x12\n\nfield_name\x18\x02 \x01(\t\x12*\n\x08id_array\x18\x03 \x01(\x0b\x32\x18.milvus.proto.schema.IDs\x12\x17\n\x0fpartition_names\x18\x04 \x03(\t\"\x83\x01\n\x0cVectorsArray\x12\x32\n\x08id_array\x18\x01 \x01(\x0b\x32\x1e.milvus.proto.milvus.VectorIDsH\x00\x12\x36\n\ndata_array\x18\x02 \x01(\x0b\x32 .milvus.proto.schema.VectorFieldH\x00\x42\x07\n\x05\x61rray\"\xdd\x01\n\x13\x43\x61lcDistanceRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x32\n\x07op_left\x18\x02 \x01(\x0b\x32!.milvus.proto.milvus.VectorsArray\x12\x33\n\x08op_right\x18\x03 \x01(\x0b\x32!.milvus.proto.milvus.VectorsArray\x12\x31\n\x06params\x18\x04 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\xb5\x01\n\x13\x43\x61lcDistanceResults\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x31\n\x08int_dist\x18\x02 \x01(\x0b\x32\x1d.milvus.proto.schema.IntArrayH\x00\x12\x35\n\nfloat_dist\x18\x03 \x01(\x0b\x32\x1f.milvus.proto.schema.FloatArrayH\x00\x42\x07\n\x05\x61rray\"%\n\x0f\x46lushAllRequest:\x12\xca>\x0f\x08\x01\x10&\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"U\n\x10\x46lushAllResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x14\n\x0c\x66lush_all_ts\x18\x02 \x01(\x04\"\x99\x01\n\x15PersistentSegmentInfo\x12\x11\n\tsegmentID\x18\x01 \x01(\x03\x12\x14\n\x0c\x63ollectionID\x18\x02 \x01(\x03\x12\x13\n\x0bpartitionID\x18\x03 \x01(\x03\x12\x10\n\x08num_rows\x18\x04 \x01(\x03\x12\x30\n\x05state\x18\x05 \x01(\x0e\x32!.milvus.proto.common.SegmentState\"u\n\x1fGetPersistentSegmentInfoRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0e\n\x06\x64\x62Name\x18\x02 \x01(\t\x12\x16\n\x0e\x63ollectionName\x18\x03 \x01(\t\"\x8a\x01\n GetPersistentSegmentInfoResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x39\n\x05infos\x18\x02 \x03(\x0b\x32*.milvus.proto.milvus.PersistentSegmentInfo\"\xec\x01\n\x10QuerySegmentInfo\x12\x11\n\tsegmentID\x18\x01 \x01(\x03\x12\x14\n\x0c\x63ollectionID\x18\x02 \x01(\x03\x12\x13\n\x0bpartitionID\x18\x03 \x01(\x03\x12\x10\n\x08mem_size\x18\x04 \x01(\x03\x12\x10\n\x08num_rows\x18\x05 \x01(\x03\x12\x12\n\nindex_name\x18\x06 \x01(\t\x12\x0f\n\x07indexID\x18\x07 \x01(\x03\x12\x0e\n\x06nodeID\x18\x08 \x01(\x03\x12\x30\n\x05state\x18\t \x01(\x0e\x32!.milvus.proto.common.SegmentState\x12\x0f\n\x07nodeIds\x18\n \x03(\x03\"p\n\x1aGetQuerySegmentInfoRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0e\n\x06\x64\x62Name\x18\x02 \x01(\t\x12\x16\n\x0e\x63ollectionName\x18\x03 \x01(\t\"\x80\x01\n\x1bGetQuerySegmentInfoResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x34\n\x05infos\x18\x02 \x03(\x0b\x32%.milvus.proto.milvus.QuerySegmentInfo\"$\n\x0c\x44ummyRequest\x12\x14\n\x0crequest_type\x18\x01 \x01(\t\"!\n\rDummyResponse\x12\x10\n\x08response\x18\x01 \x01(\t\"\x15\n\x13RegisterLinkRequest\"r\n\x14RegisterLinkResponse\x12-\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.Address\x12+\n\x06status\x18\x02 \x01(\x0b\x32\x1b.milvus.proto.common.Status\"P\n\x11GetMetricsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07request\x18\x02 \x01(\t\"k\n\x12GetMetricsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x10\n\x08response\x18\x02 \x01(\t\x12\x16\n\x0e\x63omponent_name\x18\x03 \x01(\t\"\x98\x01\n\rComponentInfo\x12\x0e\n\x06nodeID\x18\x01 \x01(\x03\x12\x0c\n\x04role\x18\x02 \x01(\t\x12\x32\n\nstate_code\x18\x03 \x01(\x0e\x32\x1e.milvus.proto.common.StateCode\x12\x35\n\nextra_info\x18\x04 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\xb2\x01\n\x0f\x43omponentStates\x12\x31\n\x05state\x18\x01 \x01(\x0b\x32\".milvus.proto.milvus.ComponentInfo\x12?\n\x13subcomponent_states\x18\x02 \x03(\x0b\x32\".milvus.proto.milvus.ComponentInfo\x12+\n\x06status\x18\x03 \x01(\x0b\x32\x1b.milvus.proto.common.Status\"\x1b\n\x19GetComponentStatesRequest\"\xb6\x01\n\x12LoadBalanceRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x12\n\nsrc_nodeID\x18\x02 \x01(\x03\x12\x13\n\x0b\x64st_nodeIDs\x18\x03 \x03(\x03\x12\x19\n\x11sealed_segmentIDs\x18\x04 \x03(\x03\x12\x16\n\x0e\x63ollectionName\x18\x05 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x06 \x01(\t:\x07\xca>\x04\x10\x11\x18\x05\"L\n\x17ManualCompactionRequest\x12\x14\n\x0c\x63ollectionID\x18\x01 \x01(\x03\x12\x12\n\ntimetravel\x18\x02 \x01(\x04:\x07\xca>\x04\x10\x07\x18\x01\"z\n\x18ManualCompactionResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x14\n\x0c\x63ompactionID\x18\x02 \x01(\x03\x12\x1b\n\x13\x63ompactionPlanCount\x18\x03 \x01(\x05\"1\n\x19GetCompactionStateRequest\x12\x14\n\x0c\x63ompactionID\x18\x01 \x01(\x03\"\xdd\x01\n\x1aGetCompactionStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x33\n\x05state\x18\x02 \x01(\x0e\x32$.milvus.proto.common.CompactionState\x12\x17\n\x0f\x65xecutingPlanNo\x18\x03 \x01(\x03\x12\x15\n\rtimeoutPlanNo\x18\x04 \x01(\x03\x12\x17\n\x0f\x63ompletedPlanNo\x18\x05 \x01(\x03\x12\x14\n\x0c\x66\x61iledPlanNo\x18\x06 \x01(\x03\"1\n\x19GetCompactionPlansRequest\x12\x14\n\x0c\x63ompactionID\x18\x01 \x01(\x03\"\xbc\x01\n\x1aGetCompactionPlansResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x33\n\x05state\x18\x02 \x01(\x0e\x32$.milvus.proto.common.CompactionState\x12<\n\nmergeInfos\x18\x03 \x03(\x0b\x32(.milvus.proto.milvus.CompactionMergeInfo\"6\n\x13\x43ompactionMergeInfo\x12\x0f\n\x07sources\x18\x01 \x03(\x03\x12\x0e\n\x06target\x18\x02 \x01(\x03\"*\n\x14GetFlushStateRequest\x12\x12\n\nsegmentIDs\x18\x01 \x03(\x03\"U\n\x15GetFlushStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07\x66lushed\x18\x02 \x01(\x08\"[\n\x17GetFlushAllStateRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x14\n\x0c\x66lush_all_ts\x18\x02 \x01(\x04\"X\n\x18GetFlushAllStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07\x66lushed\x18\x02 \x01(\x08\"\xc7\x01\n\rImportRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x16\n\x0epartition_name\x18\x02 \x01(\t\x12\x15\n\rchannel_names\x18\x03 \x03(\t\x12\x11\n\trow_based\x18\x04 \x01(\x08\x12\r\n\x05\x66iles\x18\x05 \x03(\t\x12\x32\n\x07options\x18\x06 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x0f\n\x07\x64\x62_name\x18\x07 \x01(\t:\x07\xca>\x04\x10\x12\x18\x01\"L\n\x0eImportResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\r\n\x05tasks\x18\x02 \x03(\x03\"%\n\x15GetImportStateRequest\x12\x0c\n\x04task\x18\x01 \x01(\x03\"\x97\x02\n\x16GetImportStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12/\n\x05state\x18\x02 \x01(\x0e\x32 .milvus.proto.common.ImportState\x12\x11\n\trow_count\x18\x03 \x01(\x03\x12\x0f\n\x07id_list\x18\x04 \x03(\x03\x12\x30\n\x05infos\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\n\n\x02id\x18\x06 \x01(\x03\x12\x15\n\rcollection_id\x18\x07 \x01(\x03\x12\x13\n\x0bsegment_ids\x18\x08 \x03(\x03\x12\x11\n\tcreate_ts\x18\t \x01(\x03\"Q\n\x16ListImportTasksRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x03\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\"\x82\x01\n\x17ListImportTasksResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12:\n\x05tasks\x18\x02 \x03(\x0b\x32+.milvus.proto.milvus.GetImportStateResponse\"\x9a\x01\n\x12GetReplicasRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x14\n\x0c\x63ollectionID\x18\x02 \x01(\x03\x12\x18\n\x10with_shard_nodes\x18\x03 \x01(\x08\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x05 \x01(\t\"v\n\x13GetReplicasResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x32\n\x08replicas\x18\x02 \x03(\x0b\x32 .milvus.proto.milvus.ReplicaInfo\"\xc1\x02\n\x0bReplicaInfo\x12\x11\n\treplicaID\x18\x01 \x01(\x03\x12\x14\n\x0c\x63ollectionID\x18\x02 \x01(\x03\x12\x15\n\rpartition_ids\x18\x03 \x03(\x03\x12\x39\n\x0eshard_replicas\x18\x04 \x03(\x0b\x32!.milvus.proto.milvus.ShardReplica\x12\x10\n\x08node_ids\x18\x05 \x03(\x03\x12\x1b\n\x13resource_group_name\x18\x06 \x01(\t\x12P\n\x11num_outbound_node\x18\x07 \x03(\x0b\x32\x35.milvus.proto.milvus.ReplicaInfo.NumOutboundNodeEntry\x1a\x36\n\x14NumOutboundNodeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"`\n\x0cShardReplica\x12\x10\n\x08leaderID\x18\x01 \x01(\x03\x12\x13\n\x0bleader_addr\x18\x02 \x01(\t\x12\x17\n\x0f\x64m_channel_name\x18\x03 \x01(\t\x12\x10\n\x08node_ids\x18\x04 \x03(\x03\"\xbe\x01\n\x17\x43reateCredentialRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x10\n\x08password\x18\x03 \x01(\t\x12\x1e\n\x16\x63reated_utc_timestamps\x18\x04 \x01(\x04\x12\x1f\n\x17modified_utc_timestamps\x18\x05 \x01(\x04:\x12\xca>\x0f\x08\x01\x10\x13\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xcd\x01\n\x17UpdateCredentialRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x13\n\x0boldPassword\x18\x03 \x01(\t\x12\x13\n\x0bnewPassword\x18\x04 \x01(\t\x12\x1e\n\x16\x63reated_utc_timestamps\x18\x05 \x01(\x04\x12\x1f\n\x17modified_utc_timestamps\x18\x06 \x01(\x04:\t\xca>\x06\x08\x02\x10\x14\x18\x02\"k\n\x17\x44\x65leteCredentialRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x10\n\x08username\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x15\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"W\n\x15ListCredUsersResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x11\n\tusernames\x18\x02 \x03(\t\"V\n\x14ListCredUsersRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase:\x12\xca>\x0f\x08\x01\x10\x16\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x1a\n\nRoleEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1a\n\nUserEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x84\x01\n\x11\x43reateRoleRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12/\n\x06\x65ntity\x18\x02 \x01(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity:\x12\xca>\x0f\x08\x01\x10\x13\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"d\n\x0f\x44ropRoleRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x11\n\trole_name\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x15\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xb5\x01\n\x16OperateUserRoleRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x11\n\trole_name\x18\x03 \x01(\t\x12\x36\n\x04type\x18\x04 \x01(\x0e\x32(.milvus.proto.milvus.OperateUserRoleType:\x12\xca>\x0f\x08\x01\x10\x17\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x9d\x01\n\x11SelectRoleRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12-\n\x04role\x18\x02 \x01(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity\x12\x19\n\x11include_user_info\x18\x03 \x01(\x08:\x12\xca>\x0f\x08\x01\x10\x16\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"k\n\nRoleResult\x12-\n\x04role\x18\x01 \x01(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity\x12.\n\x05users\x18\x02 \x03(\x0b\x32\x1f.milvus.proto.milvus.UserEntity\"s\n\x12SelectRoleResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\x07results\x18\x02 \x03(\x0b\x32\x1f.milvus.proto.milvus.RoleResult\"\x94\x01\n\x11SelectUserRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12-\n\x04user\x18\x02 \x01(\x0b\x32\x1f.milvus.proto.milvus.UserEntity\x12\x19\n\x11include_role_info\x18\x03 \x01(\x08:\t\xca>\x06\x08\x02\x10\x18\x18\x02\"k\n\nUserResult\x12-\n\x04user\x18\x01 \x01(\x0b\x32\x1f.milvus.proto.milvus.UserEntity\x12.\n\x05roles\x18\x02 \x03(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity\"s\n\x12SelectUserResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\x07results\x18\x02 \x03(\x0b\x32\x1f.milvus.proto.milvus.UserResult\"\x1c\n\x0cObjectEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1f\n\x0fPrivilegeEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\"w\n\rGrantorEntity\x12-\n\x04user\x18\x01 \x01(\x0b\x32\x1f.milvus.proto.milvus.UserEntity\x12\x37\n\tprivilege\x18\x02 \x01(\x0b\x32$.milvus.proto.milvus.PrivilegeEntity\"L\n\x14GrantPrivilegeEntity\x12\x34\n\x08\x65ntities\x18\x01 \x03(\x0b\x32\".milvus.proto.milvus.GrantorEntity\"\xca\x01\n\x0bGrantEntity\x12-\n\x04role\x18\x01 \x01(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity\x12\x31\n\x06object\x18\x02 \x01(\x0b\x32!.milvus.proto.milvus.ObjectEntity\x12\x13\n\x0bobject_name\x18\x03 \x01(\t\x12\x33\n\x07grantor\x18\x04 \x01(\x0b\x32\".milvus.proto.milvus.GrantorEntity\x12\x0f\n\x07\x64\x62_name\x18\x05 \x01(\t\"\x86\x01\n\x12SelectGrantRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x30\n\x06\x65ntity\x18\x02 \x01(\x0b\x32 .milvus.proto.milvus.GrantEntity:\x12\xca>\x0f\x08\x01\x10\x16\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"v\n\x13SelectGrantResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x32\n\x08\x65ntities\x18\x02 \x03(\x0b\x32 .milvus.proto.milvus.GrantEntity\"\xc4\x01\n\x17OperatePrivilegeRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x30\n\x06\x65ntity\x18\x02 \x01(\x0b\x32 .milvus.proto.milvus.GrantEntity\x12\x37\n\x04type\x18\x03 \x01(\x0e\x32).milvus.proto.milvus.OperatePrivilegeType:\x12\xca>\x0f\x08\x01\x10\x17\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x93\x01\n\x19GetLoadingProgressRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x17\n\x0f\x63ollection_name\x18\x02 \x01(\t\x12\x17\n\x0fpartition_names\x18\x03 \x03(\t\x12\x0f\n\x07\x64\x62_name\x18\x04 \x01(\t:\x07\xca>\x04\x10 \x18\x02\"u\n\x1aGetLoadingProgressResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x10\n\x08progress\x18\x02 \x01(\x03\x12\x18\n\x10refresh_progress\x18\x03 \x01(\x03\"\x8d\x01\n\x13GetLoadStateRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x17\n\x0f\x63ollection_name\x18\x02 \x01(\t\x12\x17\n\x0fpartition_names\x18\x03 \x03(\t\x12\x0f\n\x07\x64\x62_name\x18\x04 \x01(\t:\x07\xca>\x04\x10!\x18\x02\"r\n\x14GetLoadStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12-\n\x05state\x18\x02 \x01(\x0e\x32\x1e.milvus.proto.common.LoadState\"\x1c\n\tMilvusExt\x12\x0f\n\x07version\x18\x01 \x01(\t\"\x13\n\x11GetVersionRequest\"R\n\x12GetVersionResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07version\x18\x02 \x01(\t\"\x14\n\x12\x43heckHealthRequest\"\x9d\x01\n\x13\x43heckHealthResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x11\n\tisHealthy\x18\x02 \x01(\x08\x12\x0f\n\x07reasons\x18\x03 \x03(\t\x12\x35\n\x0cquota_states\x18\x04 \x03(\x0e\x32\x1f.milvus.proto.milvus.QuotaState\"t\n\x1a\x43reateResourceGroupRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x16\n\x0eresource_group\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x1a\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"r\n\x18\x44ropResourceGroupRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x16\n\x0eresource_group\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x1b\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xa5\x01\n\x13TransferNodeRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x1d\n\x15source_resource_group\x18\x02 \x01(\t\x12\x1d\n\x15target_resource_group\x18\x03 \x01(\t\x12\x10\n\x08num_node\x18\x04 \x01(\x05:\x12\xca>\x0f\x08\x01\x10\x1e\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xd5\x01\n\x16TransferReplicaRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x1d\n\x15source_resource_group\x18\x02 \x01(\t\x12\x1d\n\x15target_resource_group\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x13\n\x0bnum_replica\x18\x05 \x01(\x03\x12\x0f\n\x07\x64\x62_name\x18\x06 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x1f\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"[\n\x19ListResourceGroupsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase:\x12\xca>\x0f\x08\x01\x10\x1d\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"b\n\x1aListResourceGroupsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x17\n\x0fresource_groups\x18\x02 \x03(\t\"v\n\x1c\x44\x65scribeResourceGroupRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x16\n\x0eresource_group\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x1c\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x88\x01\n\x1d\x44\x65scribeResourceGroupResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12:\n\x0eresource_group\x18\x02 \x01(\x0b\x32\".milvus.proto.milvus.ResourceGroup\"\xf2\x03\n\rResourceGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x02 \x01(\x05\x12\x1a\n\x12num_available_node\x18\x03 \x01(\x05\x12T\n\x12num_loaded_replica\x18\x04 \x03(\x0b\x32\x38.milvus.proto.milvus.ResourceGroup.NumLoadedReplicaEntry\x12R\n\x11num_outgoing_node\x18\x05 \x03(\x0b\x32\x37.milvus.proto.milvus.ResourceGroup.NumOutgoingNodeEntry\x12R\n\x11num_incoming_node\x18\x06 \x03(\x0b\x32\x37.milvus.proto.milvus.ResourceGroup.NumIncomingNodeEntry\x1a\x37\n\x15NumLoadedReplicaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x36\n\x14NumOutgoingNodeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x36\n\x14NumIncomingNodeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"\x9f\x01\n\x17RenameCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x0f\n\x07oldName\x18\x03 \x01(\t\x12\x0f\n\x07newName\x18\x04 \x01(\t\x12\x11\n\tnewDBName\x18\x05 \x01(\t:\x12\xca>\x0f\x08\x01\x10\"\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xa1\x01\n\x19GetIndexStatisticsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\nindex_name\x18\x04 \x01(\t\x12\x11\n\ttimestamp\x18\x05 \x01(\x04:\x07\xca>\x04\x10\x0c\x18\x03\"\x8c\x01\n\x1aGetIndexStatisticsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x41\n\x12index_descriptions\x18\x02 \x03(\x0b\x32%.milvus.proto.milvus.IndexDescription\"r\n\x0e\x43onnectRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x34\n\x0b\x63lient_info\x18\x02 \x01(\x0b\x32\x1f.milvus.proto.common.ClientInfo\"\x88\x01\n\x0f\x43onnectResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x34\n\x0bserver_info\x18\x02 \x01(\x0b\x32\x1f.milvus.proto.common.ServerInfo\x12\x12\n\nidentifier\x18\x03 \x01(\x03\"C\n\x15\x41llocTimestampRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\"X\n\x16\x41llocTimestampResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\"h\n\x15\x43reateDatabaseRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10#\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"f\n\x13\x44ropDatabaseRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10$\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"V\n\x14ListDatabasesRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase:\x12\xca>\x0f\x08\x01\x10%\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x85\x01\n\x15ListDatabasesResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x10\n\x08\x64\x62_names\x18\x02 \x03(\t\x12\x19\n\x11\x63reated_timestamp\x18\x03 \x03(\x04:\x12\xca>\x0f\x08\x01\x10\x04\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01*!\n\x08ShowType\x12\x07\n\x03\x41ll\x10\x00\x12\x0c\n\x08InMemory\x10\x01*@\n\x13OperateUserRoleType\x12\x11\n\rAddUserToRole\x10\x00\x12\x16\n\x12RemoveUserFromRole\x10\x01*-\n\x14OperatePrivilegeType\x12\t\n\x05Grant\x10\x00\x12\n\n\x06Revoke\x10\x01*]\n\nQuotaState\x12\x0b\n\x07Unknown\x10\x00\x12\x0f\n\x0bReadLimited\x10\x02\x12\x10\n\x0cWriteLimited\x10\x03\x12\x0e\n\nDenyToRead\x10\x04\x12\x0f\n\x0b\x44\x65nyToWrite\x10\x05\x32\xd5?\n\rMilvusService\x12_\n\x10\x43reateCollection\x12,.milvus.proto.milvus.CreateCollectionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12[\n\x0e\x44ropCollection\x12*.milvus.proto.milvus.DropCollectionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12_\n\rHasCollection\x12).milvus.proto.milvus.HasCollectionRequest\x1a!.milvus.proto.milvus.BoolResponse\"\x00\x12[\n\x0eLoadCollection\x12*.milvus.proto.milvus.LoadCollectionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x61\n\x11ReleaseCollection\x12-.milvus.proto.milvus.ReleaseCollectionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12w\n\x12\x44\x65scribeCollection\x12..milvus.proto.milvus.DescribeCollectionRequest\x1a/.milvus.proto.milvus.DescribeCollectionResponse\"\x00\x12\x86\x01\n\x17GetCollectionStatistics\x12\x33.milvus.proto.milvus.GetCollectionStatisticsRequest\x1a\x34.milvus.proto.milvus.GetCollectionStatisticsResponse\"\x00\x12n\n\x0fShowCollections\x12+.milvus.proto.milvus.ShowCollectionsRequest\x1a,.milvus.proto.milvus.ShowCollectionsResponse\"\x00\x12]\n\x0f\x41lterCollection\x12+.milvus.proto.milvus.AlterCollectionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12]\n\x0f\x43reatePartition\x12+.milvus.proto.milvus.CreatePartitionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12Y\n\rDropPartition\x12).milvus.proto.milvus.DropPartitionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12]\n\x0cHasPartition\x12(.milvus.proto.milvus.HasPartitionRequest\x1a!.milvus.proto.milvus.BoolResponse\"\x00\x12[\n\x0eLoadPartitions\x12*.milvus.proto.milvus.LoadPartitionsRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x61\n\x11ReleasePartitions\x12-.milvus.proto.milvus.ReleasePartitionsRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x83\x01\n\x16GetPartitionStatistics\x12\x32.milvus.proto.milvus.GetPartitionStatisticsRequest\x1a\x33.milvus.proto.milvus.GetPartitionStatisticsResponse\"\x00\x12k\n\x0eShowPartitions\x12*.milvus.proto.milvus.ShowPartitionsRequest\x1a+.milvus.proto.milvus.ShowPartitionsResponse\"\x00\x12w\n\x12GetLoadingProgress\x12..milvus.proto.milvus.GetLoadingProgressRequest\x1a/.milvus.proto.milvus.GetLoadingProgressResponse\"\x00\x12\x65\n\x0cGetLoadState\x12(.milvus.proto.milvus.GetLoadStateRequest\x1a).milvus.proto.milvus.GetLoadStateResponse\"\x00\x12U\n\x0b\x43reateAlias\x12\'.milvus.proto.milvus.CreateAliasRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12Q\n\tDropAlias\x12%.milvus.proto.milvus.DropAliasRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12S\n\nAlterAlias\x12&.milvus.proto.milvus.AlterAliasRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12h\n\rDescribeAlias\x12).milvus.proto.milvus.DescribeAliasRequest\x1a*.milvus.proto.milvus.DescribeAliasResponse\"\x00\x12\x62\n\x0bListAliases\x12\'.milvus.proto.milvus.ListAliasesRequest\x1a(.milvus.proto.milvus.ListAliasesResponse\"\x00\x12U\n\x0b\x43reateIndex\x12\'.milvus.proto.milvus.CreateIndexRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12h\n\rDescribeIndex\x12).milvus.proto.milvus.DescribeIndexRequest\x1a*.milvus.proto.milvus.DescribeIndexResponse\"\x00\x12w\n\x12GetIndexStatistics\x12..milvus.proto.milvus.GetIndexStatisticsRequest\x1a/.milvus.proto.milvus.GetIndexStatisticsResponse\"\x00\x12h\n\rGetIndexState\x12).milvus.proto.milvus.GetIndexStateRequest\x1a*.milvus.proto.milvus.GetIndexStateResponse\"\x00\x12\x80\x01\n\x15GetIndexBuildProgress\x12\x31.milvus.proto.milvus.GetIndexBuildProgressRequest\x1a\x32.milvus.proto.milvus.GetIndexBuildProgressResponse\"\x00\x12Q\n\tDropIndex\x12%.milvus.proto.milvus.DropIndexRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12S\n\x06Insert\x12\".milvus.proto.milvus.InsertRequest\x1a#.milvus.proto.milvus.MutationResult\"\x00\x12S\n\x06\x44\x65lete\x12\".milvus.proto.milvus.DeleteRequest\x1a#.milvus.proto.milvus.MutationResult\"\x00\x12S\n\x06Upsert\x12\".milvus.proto.milvus.UpsertRequest\x1a#.milvus.proto.milvus.MutationResult\"\x00\x12R\n\x06Search\x12\".milvus.proto.milvus.SearchRequest\x1a\".milvus.proto.milvus.SearchResults\"\x00\x12P\n\x05\x46lush\x12!.milvus.proto.milvus.FlushRequest\x1a\".milvus.proto.milvus.FlushResponse\"\x00\x12O\n\x05Query\x12!.milvus.proto.milvus.QueryRequest\x1a!.milvus.proto.milvus.QueryResults\"\x00\x12\x64\n\x0c\x43\x61lcDistance\x12(.milvus.proto.milvus.CalcDistanceRequest\x1a(.milvus.proto.milvus.CalcDistanceResults\"\x00\x12Y\n\x08\x46lushAll\x12$.milvus.proto.milvus.FlushAllRequest\x1a%.milvus.proto.milvus.FlushAllResponse\"\x00\x12h\n\rGetFlushState\x12).milvus.proto.milvus.GetFlushStateRequest\x1a*.milvus.proto.milvus.GetFlushStateResponse\"\x00\x12q\n\x10GetFlushAllState\x12,.milvus.proto.milvus.GetFlushAllStateRequest\x1a-.milvus.proto.milvus.GetFlushAllStateResponse\"\x00\x12\x89\x01\n\x18GetPersistentSegmentInfo\x12\x34.milvus.proto.milvus.GetPersistentSegmentInfoRequest\x1a\x35.milvus.proto.milvus.GetPersistentSegmentInfoResponse\"\x00\x12z\n\x13GetQuerySegmentInfo\x12/.milvus.proto.milvus.GetQuerySegmentInfoRequest\x1a\x30.milvus.proto.milvus.GetQuerySegmentInfoResponse\"\x00\x12\x62\n\x0bGetReplicas\x12\'.milvus.proto.milvus.GetReplicasRequest\x1a(.milvus.proto.milvus.GetReplicasResponse\"\x00\x12P\n\x05\x44ummy\x12!.milvus.proto.milvus.DummyRequest\x1a\".milvus.proto.milvus.DummyResponse\"\x00\x12\x65\n\x0cRegisterLink\x12(.milvus.proto.milvus.RegisterLinkRequest\x1a).milvus.proto.milvus.RegisterLinkResponse\"\x00\x12_\n\nGetMetrics\x12&.milvus.proto.milvus.GetMetricsRequest\x1a\'.milvus.proto.milvus.GetMetricsResponse\"\x00\x12l\n\x12GetComponentStates\x12..milvus.proto.milvus.GetComponentStatesRequest\x1a$.milvus.proto.milvus.ComponentStates\"\x00\x12U\n\x0bLoadBalance\x12\'.milvus.proto.milvus.LoadBalanceRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12w\n\x12GetCompactionState\x12..milvus.proto.milvus.GetCompactionStateRequest\x1a/.milvus.proto.milvus.GetCompactionStateResponse\"\x00\x12q\n\x10ManualCompaction\x12,.milvus.proto.milvus.ManualCompactionRequest\x1a-.milvus.proto.milvus.ManualCompactionResponse\"\x00\x12\x80\x01\n\x1bGetCompactionStateWithPlans\x12..milvus.proto.milvus.GetCompactionPlansRequest\x1a/.milvus.proto.milvus.GetCompactionPlansResponse\"\x00\x12S\n\x06Import\x12\".milvus.proto.milvus.ImportRequest\x1a#.milvus.proto.milvus.ImportResponse\"\x00\x12k\n\x0eGetImportState\x12*.milvus.proto.milvus.GetImportStateRequest\x1a+.milvus.proto.milvus.GetImportStateResponse\"\x00\x12n\n\x0fListImportTasks\x12+.milvus.proto.milvus.ListImportTasksRequest\x1a,.milvus.proto.milvus.ListImportTasksResponse\"\x00\x12_\n\x10\x43reateCredential\x12,.milvus.proto.milvus.CreateCredentialRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12_\n\x10UpdateCredential\x12,.milvus.proto.milvus.UpdateCredentialRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12_\n\x10\x44\x65leteCredential\x12,.milvus.proto.milvus.DeleteCredentialRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12h\n\rListCredUsers\x12).milvus.proto.milvus.ListCredUsersRequest\x1a*.milvus.proto.milvus.ListCredUsersResponse\"\x00\x12S\n\nCreateRole\x12&.milvus.proto.milvus.CreateRoleRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12O\n\x08\x44ropRole\x12$.milvus.proto.milvus.DropRoleRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12]\n\x0fOperateUserRole\x12+.milvus.proto.milvus.OperateUserRoleRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12_\n\nSelectRole\x12&.milvus.proto.milvus.SelectRoleRequest\x1a\'.milvus.proto.milvus.SelectRoleResponse\"\x00\x12_\n\nSelectUser\x12&.milvus.proto.milvus.SelectUserRequest\x1a\'.milvus.proto.milvus.SelectUserResponse\"\x00\x12_\n\x10OperatePrivilege\x12,.milvus.proto.milvus.OperatePrivilegeRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x62\n\x0bSelectGrant\x12\'.milvus.proto.milvus.SelectGrantRequest\x1a(.milvus.proto.milvus.SelectGrantResponse\"\x00\x12_\n\nGetVersion\x12&.milvus.proto.milvus.GetVersionRequest\x1a\'.milvus.proto.milvus.GetVersionResponse\"\x00\x12\x62\n\x0b\x43heckHealth\x12\'.milvus.proto.milvus.CheckHealthRequest\x1a(.milvus.proto.milvus.CheckHealthResponse\"\x00\x12\x65\n\x13\x43reateResourceGroup\x12/.milvus.proto.milvus.CreateResourceGroupRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x61\n\x11\x44ropResourceGroup\x12-.milvus.proto.milvus.DropResourceGroupRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12W\n\x0cTransferNode\x12(.milvus.proto.milvus.TransferNodeRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12]\n\x0fTransferReplica\x12+.milvus.proto.milvus.TransferReplicaRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12w\n\x12ListResourceGroups\x12..milvus.proto.milvus.ListResourceGroupsRequest\x1a/.milvus.proto.milvus.ListResourceGroupsResponse\"\x00\x12\x80\x01\n\x15\x44\x65scribeResourceGroup\x12\x31.milvus.proto.milvus.DescribeResourceGroupRequest\x1a\x32.milvus.proto.milvus.DescribeResourceGroupResponse\"\x00\x12_\n\x10RenameCollection\x12,.milvus.proto.milvus.RenameCollectionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12u\n\x12ListIndexedSegment\x12-.milvus.proto.feder.ListIndexedSegmentRequest\x1a..milvus.proto.feder.ListIndexedSegmentResponse\"\x00\x12\x87\x01\n\x18\x44\x65scribeSegmentIndexData\x12\x33.milvus.proto.feder.DescribeSegmentIndexDataRequest\x1a\x34.milvus.proto.feder.DescribeSegmentIndexDataResponse\"\x00\x12V\n\x07\x43onnect\x12#.milvus.proto.milvus.ConnectRequest\x1a$.milvus.proto.milvus.ConnectResponse\"\x00\x12k\n\x0e\x41llocTimestamp\x12*.milvus.proto.milvus.AllocTimestampRequest\x1a+.milvus.proto.milvus.AllocTimestampResponse\"\x00\x12[\n\x0e\x43reateDatabase\x12*.milvus.proto.milvus.CreateDatabaseRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12W\n\x0c\x44ropDatabase\x12(.milvus.proto.milvus.DropDatabaseRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12h\n\rListDatabases\x12).milvus.proto.milvus.ListDatabasesRequest\x1a*.milvus.proto.milvus.ListDatabasesResponse\"\x00\x32u\n\x0cProxyService\x12\x65\n\x0cRegisterLink\x12(.milvus.proto.milvus.RegisterLinkRequest\x1a).milvus.proto.milvus.RegisterLinkResponse\"\x00:U\n\x0emilvus_ext_obj\x12\x1c.google.protobuf.FileOptions\x18\xe9\x07 \x01(\x0b\x32\x1e.milvus.proto.milvus.MilvusExtBm\n\x0eio.milvus.grpcB\x0bMilvusProtoP\x01Z4github.com/milvus-io/milvus-proto/go-api/v2/milvuspb\xa0\x01\x01\xaa\x02\x12Milvus.Client.Grpcb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cmilvus.proto\x12\x13milvus.proto.milvus\x1a\x0c\x63ommon.proto\x1a\x0cschema.proto\x1a\x0b\x66\x65\x64\x65r.proto\x1a google/protobuf/descriptor.proto\"y\n\x12\x43reateAliasRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\r\n\x05\x61lias\x18\x04 \x01(\t\"^\n\x10\x44ropAliasRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\r\n\x05\x61lias\x18\x03 \x01(\t\"x\n\x11\x41lterAliasRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\r\n\x05\x61lias\x18\x04 \x01(\t\"b\n\x14\x44\x65scribeAliasRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\r\n\x05\x61lias\x18\x03 \x01(\t\"x\n\x15\x44\x65scribeAliasResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\r\n\x05\x61lias\x18\x03 \x01(\t\x12\x12\n\ncollection\x18\x04 \x01(\t\"j\n\x12ListAliasesRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\"}\n\x13ListAliasesResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x0f\n\x07\x61liases\x18\x04 \x03(\t\"\xb8\x02\n\x17\x43reateCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x0e\n\x06schema\x18\x04 \x01(\x0c\x12\x12\n\nshards_num\x18\x05 \x01(\x05\x12@\n\x11\x63onsistency_level\x18\x06 \x01(\x0e\x32%.milvus.proto.common.ConsistencyLevel\x12\x35\n\nproperties\x18\x07 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x16\n\x0enum_partitions\x18\x08 \x01(\x03:\x12\xca>\x0f\x08\x01\x10\x01\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x81\x01\n\x15\x44ropCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x02\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xcf\x01\n\x16\x41lterCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x14\n\x0c\x63ollectionID\x18\x04 \x01(\x03\x12\x35\n\nproperties\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair:\x12\xca>\x0f\x08\x01\x10\x01\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x80\x01\n\x14HasCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\ntime_stamp\x18\x04 \x01(\x04\"J\n\x0c\x42oolResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\r\n\x05value\x18\x02 \x01(\x08\"L\n\x0eStringResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\r\n\x05value\x18\x02 \x01(\t\"\xaf\x01\n\x19\x44\x65scribeCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x14\n\x0c\x63ollectionID\x18\x04 \x01(\x03\x12\x12\n\ntime_stamp\x18\x05 \x01(\x04:\x12\xca>\x0f\x08\x01\x10\x03\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xaa\x04\n\x1a\x44\x65scribeCollectionResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x35\n\x06schema\x18\x02 \x01(\x0b\x32%.milvus.proto.schema.CollectionSchema\x12\x14\n\x0c\x63ollectionID\x18\x03 \x01(\x03\x12\x1d\n\x15virtual_channel_names\x18\x04 \x03(\t\x12\x1e\n\x16physical_channel_names\x18\x05 \x03(\t\x12\x19\n\x11\x63reated_timestamp\x18\x06 \x01(\x04\x12\x1d\n\x15\x63reated_utc_timestamp\x18\x07 \x01(\x04\x12\x12\n\nshards_num\x18\x08 \x01(\x05\x12\x0f\n\x07\x61liases\x18\t \x03(\t\x12\x39\n\x0fstart_positions\x18\n \x03(\x0b\x32 .milvus.proto.common.KeyDataPair\x12@\n\x11\x63onsistency_level\x18\x0b \x01(\x0e\x32%.milvus.proto.common.ConsistencyLevel\x12\x17\n\x0f\x63ollection_name\x18\x0c \x01(\t\x12\x35\n\nproperties\x18\r \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x0f\n\x07\x64\x62_name\x18\x0e \x01(\t\x12\x16\n\x0enum_partitions\x18\x0f \x01(\x03\"\xb8\x01\n\x15LoadCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0ereplica_number\x18\x04 \x01(\x05\x12\x17\n\x0fresource_groups\x18\x05 \x03(\t\x12\x0f\n\x07refresh\x18\x06 \x01(\x08:\x07\xca>\x04\x10\x05\x18\x03\"y\n\x18ReleaseCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t:\x07\xca>\x04\x10\x06\x18\x03\"\xab\x01\n\x14GetStatisticsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x17\n\x0fpartition_names\x18\x04 \x03(\t\x12\x1b\n\x13guarantee_timestamp\x18\x05 \x01(\x04:\x07\xca>\x04\x10\n\x18\x03\"v\n\x15GetStatisticsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\x05stats\x18\x02 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\x7f\n\x1eGetCollectionStatisticsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t:\x07\xca>\x04\x10\n\x18\x03\"\x80\x01\n\x1fGetCollectionStatisticsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\x05stats\x18\x02 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\xc4\x01\n\x16ShowCollectionsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x12\n\ntime_stamp\x18\x03 \x01(\x04\x12+\n\x04type\x18\x04 \x01(\x0e\x32\x1d.milvus.proto.milvus.ShowType\x12\x18\n\x10\x63ollection_names\x18\x05 \x03(\t:\x12\xca>\x0f\x08\x01\x10\x04\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xf3\x01\n\x17ShowCollectionsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x18\n\x10\x63ollection_names\x18\x02 \x03(\t\x12\x16\n\x0e\x63ollection_ids\x18\x03 \x03(\x03\x12\x1a\n\x12\x63reated_timestamps\x18\x04 \x03(\x04\x12\x1e\n\x16\x63reated_utc_timestamps\x18\x05 \x03(\x04\x12\x1c\n\x14inMemory_percentages\x18\x06 \x03(\x03\x12\x1f\n\x17query_service_available\x18\x07 \x03(\x08\"\x86\x01\n\x16\x43reatePartitionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\"\x84\x01\n\x14\x44ropPartitionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\"\x83\x01\n\x13HasPartitionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\"\xc8\x01\n\x15LoadPartitionsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x17\n\x0fpartition_names\x18\x04 \x03(\t\x12\x16\n\x0ereplica_number\x18\x05 \x01(\x05\x12\x17\n\x0fresource_groups\x18\x06 \x03(\t\x12\x0f\n\x07refresh\x18\x07 \x01(\x08\"\x89\x01\n\x18ReleasePartitionsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x17\n\x0fpartition_names\x18\x04 \x03(\t\"\x8d\x01\n\x1dGetPartitionStatisticsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\"\x7f\n\x1eGetPartitionStatisticsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\x05stats\x18\x02 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\xc9\x01\n\x15ShowPartitionsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x14\n\x0c\x63ollectionID\x18\x04 \x01(\x03\x12\x17\n\x0fpartition_names\x18\x05 \x03(\t\x12+\n\x04type\x18\x06 \x01(\x0e\x32\x1d.milvus.proto.milvus.ShowType\"\xce\x01\n\x16ShowPartitionsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x17\n\x0fpartition_names\x18\x02 \x03(\t\x12\x14\n\x0cpartitionIDs\x18\x03 \x03(\x03\x12\x1a\n\x12\x63reated_timestamps\x18\x04 \x03(\x04\x12\x1e\n\x16\x63reated_utc_timestamps\x18\x05 \x03(\x04\x12\x1c\n\x14inMemory_percentages\x18\x06 \x03(\x03\"m\n\x16\x44\x65scribeSegmentRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x14\n\x0c\x63ollectionID\x18\x02 \x01(\x03\x12\x11\n\tsegmentID\x18\x03 \x01(\x03\"\x8f\x01\n\x17\x44\x65scribeSegmentResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07indexID\x18\x02 \x01(\x03\x12\x0f\n\x07\x62uildID\x18\x03 \x01(\x03\x12\x14\n\x0c\x65nable_index\x18\x04 \x01(\x08\x12\x0f\n\x07\x66ieldID\x18\x05 \x01(\x03\"l\n\x13ShowSegmentsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x14\n\x0c\x63ollectionID\x18\x02 \x01(\x03\x12\x13\n\x0bpartitionID\x18\x03 \x01(\x03\"W\n\x14ShowSegmentsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x12\n\nsegmentIDs\x18\x02 \x03(\x03\"\xd4\x01\n\x12\x43reateIndexRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\nfield_name\x18\x04 \x01(\t\x12\x37\n\x0c\x65xtra_params\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x12\n\nindex_name\x18\x06 \x01(\t:\x07\xca>\x04\x10\x0b\x18\x03\"\xb0\x01\n\x14\x44\x65scribeIndexRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\nfield_name\x18\x04 \x01(\t\x12\x12\n\nindex_name\x18\x05 \x01(\t\x12\x11\n\ttimestamp\x18\x06 \x01(\x04:\x07\xca>\x04\x10\x0c\x18\x03\"\x95\x02\n\x10IndexDescription\x12\x12\n\nindex_name\x18\x01 \x01(\t\x12\x0f\n\x07indexID\x18\x02 \x01(\x03\x12\x31\n\x06params\x18\x03 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x12\n\nfield_name\x18\x04 \x01(\t\x12\x14\n\x0cindexed_rows\x18\x05 \x01(\x03\x12\x12\n\ntotal_rows\x18\x06 \x01(\x03\x12.\n\x05state\x18\x07 \x01(\x0e\x32\x1f.milvus.proto.common.IndexState\x12\x1f\n\x17index_state_fail_reason\x18\x08 \x01(\t\x12\x1a\n\x12pending_index_rows\x18\t \x01(\x03\"\x87\x01\n\x15\x44\x65scribeIndexResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x41\n\x12index_descriptions\x18\x02 \x03(\x0b\x32%.milvus.proto.milvus.IndexDescription\"\xa5\x01\n\x1cGetIndexBuildProgressRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\nfield_name\x18\x04 \x01(\t\x12\x12\n\nindex_name\x18\x05 \x01(\t:\x07\xca>\x04\x10\x0c\x18\x03\"v\n\x1dGetIndexBuildProgressResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x14\n\x0cindexed_rows\x18\x02 \x01(\x03\x12\x12\n\ntotal_rows\x18\x03 \x01(\x03\"\x9d\x01\n\x14GetIndexStateRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\nfield_name\x18\x04 \x01(\t\x12\x12\n\nindex_name\x18\x05 \x01(\t:\x07\xca>\x04\x10\x0c\x18\x03\"\x89\x01\n\x15GetIndexStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12.\n\x05state\x18\x02 \x01(\x0e\x32\x1f.milvus.proto.common.IndexState\x12\x13\n\x0b\x66\x61il_reason\x18\x03 \x01(\t\"\x99\x01\n\x10\x44ropIndexRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\nfield_name\x18\x04 \x01(\t\x12\x12\n\nindex_name\x18\x05 \x01(\t:\x07\xca>\x04\x10\r\x18\x03\"\xe0\x01\n\rInsertRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\x12\x33\n\x0b\x66ields_data\x18\x05 \x03(\x0b\x32\x1e.milvus.proto.schema.FieldData\x12\x11\n\thash_keys\x18\x06 \x03(\r\x12\x10\n\x08num_rows\x18\x07 \x01(\r:\x07\xca>\x04\x10\x08\x18\x03\"\xe0\x01\n\rUpsertRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\x12\x33\n\x0b\x66ields_data\x18\x05 \x03(\x0b\x32\x1e.milvus.proto.schema.FieldData\x12\x11\n\thash_keys\x18\x06 \x03(\r\x12\x10\n\x08num_rows\x18\x07 \x01(\r:\x07\xca>\x04\x10\x19\x18\x03\"\xf0\x01\n\x0eMutationResult\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12%\n\x03IDs\x18\x02 \x01(\x0b\x32\x18.milvus.proto.schema.IDs\x12\x12\n\nsucc_index\x18\x03 \x03(\r\x12\x11\n\terr_index\x18\x04 \x03(\r\x12\x14\n\x0c\x61\x63knowledged\x18\x05 \x01(\x08\x12\x12\n\ninsert_cnt\x18\x06 \x01(\x03\x12\x12\n\ndelete_cnt\x18\x07 \x01(\x03\x12\x12\n\nupsert_cnt\x18\x08 \x01(\x03\x12\x11\n\ttimestamp\x18\t \x01(\x04\"\xa7\x01\n\rDeleteRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x16\n\x0epartition_name\x18\x04 \x01(\t\x12\x0c\n\x04\x65xpr\x18\x05 \x01(\t\x12\x11\n\thash_keys\x18\x06 \x03(\r:\x07\xca>\x04\x10\t\x18\x03\"\x93\x04\n\rSearchRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x17\n\x0fpartition_names\x18\x04 \x03(\t\x12\x0b\n\x03\x64sl\x18\x05 \x01(\t\x12\x19\n\x11placeholder_group\x18\x06 \x01(\x0c\x12.\n\x08\x64sl_type\x18\x07 \x01(\x0e\x32\x1c.milvus.proto.common.DslType\x12\x15\n\routput_fields\x18\x08 \x03(\t\x12\x38\n\rsearch_params\x18\t \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x18\n\x10travel_timestamp\x18\n \x01(\x04\x12\x1b\n\x13guarantee_timestamp\x18\x0b \x01(\x04\x12\n\n\x02nq\x18\x0c \x01(\x03\x12\x1b\n\x13not_return_all_meta\x18\r \x01(\x08\x12@\n\x11\x63onsistency_level\x18\x0e \x01(\x0e\x32%.milvus.proto.common.ConsistencyLevel\x12\x1f\n\x17use_default_consistency\x18\x0f \x01(\x08\x12\x1e\n\x16search_by_primary_keys\x18\x10 \x01(\x08:\x07\xca>\x04\x10\x0e\x18\x03\"5\n\x04Hits\x12\x0b\n\x03IDs\x18\x01 \x03(\x03\x12\x10\n\x08row_data\x18\x02 \x03(\x0c\x12\x0e\n\x06scores\x18\x03 \x03(\x02\"\x8d\x01\n\rSearchResults\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x36\n\x07results\x18\x02 \x01(\x0b\x32%.milvus.proto.schema.SearchResultData\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\"n\n\x0c\x46lushRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x18\n\x10\x63ollection_names\x18\x03 \x03(\t:\x07\xca>\x04\x10\x0f \x03\"\x9b\x05\n\rFlushResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12G\n\x0b\x63oll_segIDs\x18\x03 \x03(\x0b\x32\x32.milvus.proto.milvus.FlushResponse.CollSegIDsEntry\x12R\n\x11\x66lush_coll_segIDs\x18\x04 \x03(\x0b\x32\x37.milvus.proto.milvus.FlushResponse.FlushCollSegIDsEntry\x12N\n\x0f\x63oll_seal_times\x18\x05 \x03(\x0b\x32\x35.milvus.proto.milvus.FlushResponse.CollSealTimesEntry\x12J\n\rcoll_flush_ts\x18\x06 \x03(\x0b\x32\x33.milvus.proto.milvus.FlushResponse.CollFlushTsEntry\x1aQ\n\x0f\x43ollSegIDsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArray:\x02\x38\x01\x1aV\n\x14\x46lushCollSegIDsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArray:\x02\x38\x01\x1a\x34\n\x12\x43ollSealTimesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a\x32\n\x10\x43ollFlushTsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x04:\x02\x38\x01\"\x9b\x03\n\x0cQueryRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x0c\n\x04\x65xpr\x18\x04 \x01(\t\x12\x15\n\routput_fields\x18\x05 \x03(\t\x12\x17\n\x0fpartition_names\x18\x06 \x03(\t\x12\x18\n\x10travel_timestamp\x18\x07 \x01(\x04\x12\x1b\n\x13guarantee_timestamp\x18\x08 \x01(\x04\x12\x37\n\x0cquery_params\x18\t \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x1b\n\x13not_return_all_meta\x18\n \x01(\x08\x12@\n\x11\x63onsistency_level\x18\x0b \x01(\x0e\x32%.milvus.proto.common.ConsistencyLevel\x12\x1f\n\x17use_default_consistency\x18\x0c \x01(\x08:\x07\xca>\x04\x10\x10\x18\x03\"\xa0\x01\n\x0cQueryResults\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x33\n\x0b\x66ields_data\x18\x02 \x03(\x0b\x32\x1e.milvus.proto.schema.FieldData\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x15\n\routput_fields\x18\x04 \x03(\t\"}\n\tVectorIDs\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x12\n\nfield_name\x18\x02 \x01(\t\x12*\n\x08id_array\x18\x03 \x01(\x0b\x32\x18.milvus.proto.schema.IDs\x12\x17\n\x0fpartition_names\x18\x04 \x03(\t\"\x83\x01\n\x0cVectorsArray\x12\x32\n\x08id_array\x18\x01 \x01(\x0b\x32\x1e.milvus.proto.milvus.VectorIDsH\x00\x12\x36\n\ndata_array\x18\x02 \x01(\x0b\x32 .milvus.proto.schema.VectorFieldH\x00\x42\x07\n\x05\x61rray\"\xdd\x01\n\x13\x43\x61lcDistanceRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x32\n\x07op_left\x18\x02 \x01(\x0b\x32!.milvus.proto.milvus.VectorsArray\x12\x33\n\x08op_right\x18\x03 \x01(\x0b\x32!.milvus.proto.milvus.VectorsArray\x12\x31\n\x06params\x18\x04 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\xb5\x01\n\x13\x43\x61lcDistanceResults\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x31\n\x08int_dist\x18\x02 \x01(\x0b\x32\x1d.milvus.proto.schema.IntArrayH\x00\x12\x35\n\nfloat_dist\x18\x03 \x01(\x0b\x32\x1f.milvus.proto.schema.FloatArrayH\x00\x42\x07\n\x05\x61rray\"b\n\x0f\x46lushAllRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10&\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"U\n\x10\x46lushAllResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x14\n\x0c\x66lush_all_ts\x18\x02 \x01(\x04\"\x99\x01\n\x15PersistentSegmentInfo\x12\x11\n\tsegmentID\x18\x01 \x01(\x03\x12\x14\n\x0c\x63ollectionID\x18\x02 \x01(\x03\x12\x13\n\x0bpartitionID\x18\x03 \x01(\x03\x12\x10\n\x08num_rows\x18\x04 \x01(\x03\x12\x30\n\x05state\x18\x05 \x01(\x0e\x32!.milvus.proto.common.SegmentState\"u\n\x1fGetPersistentSegmentInfoRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0e\n\x06\x64\x62Name\x18\x02 \x01(\t\x12\x16\n\x0e\x63ollectionName\x18\x03 \x01(\t\"\x8a\x01\n GetPersistentSegmentInfoResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x39\n\x05infos\x18\x02 \x03(\x0b\x32*.milvus.proto.milvus.PersistentSegmentInfo\"\xec\x01\n\x10QuerySegmentInfo\x12\x11\n\tsegmentID\x18\x01 \x01(\x03\x12\x14\n\x0c\x63ollectionID\x18\x02 \x01(\x03\x12\x13\n\x0bpartitionID\x18\x03 \x01(\x03\x12\x10\n\x08mem_size\x18\x04 \x01(\x03\x12\x10\n\x08num_rows\x18\x05 \x01(\x03\x12\x12\n\nindex_name\x18\x06 \x01(\t\x12\x0f\n\x07indexID\x18\x07 \x01(\x03\x12\x0e\n\x06nodeID\x18\x08 \x01(\x03\x12\x30\n\x05state\x18\t \x01(\x0e\x32!.milvus.proto.common.SegmentState\x12\x0f\n\x07nodeIds\x18\n \x03(\x03\"p\n\x1aGetQuerySegmentInfoRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0e\n\x06\x64\x62Name\x18\x02 \x01(\t\x12\x16\n\x0e\x63ollectionName\x18\x03 \x01(\t\"\x80\x01\n\x1bGetQuerySegmentInfoResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x34\n\x05infos\x18\x02 \x03(\x0b\x32%.milvus.proto.milvus.QuerySegmentInfo\"$\n\x0c\x44ummyRequest\x12\x14\n\x0crequest_type\x18\x01 \x01(\t\"!\n\rDummyResponse\x12\x10\n\x08response\x18\x01 \x01(\t\"\x15\n\x13RegisterLinkRequest\"r\n\x14RegisterLinkResponse\x12-\n\x07\x61\x64\x64ress\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.Address\x12+\n\x06status\x18\x02 \x01(\x0b\x32\x1b.milvus.proto.common.Status\"P\n\x11GetMetricsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07request\x18\x02 \x01(\t\"k\n\x12GetMetricsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x10\n\x08response\x18\x02 \x01(\t\x12\x16\n\x0e\x63omponent_name\x18\x03 \x01(\t\"\x98\x01\n\rComponentInfo\x12\x0e\n\x06nodeID\x18\x01 \x01(\x03\x12\x0c\n\x04role\x18\x02 \x01(\t\x12\x32\n\nstate_code\x18\x03 \x01(\x0e\x32\x1e.milvus.proto.common.StateCode\x12\x35\n\nextra_info\x18\x04 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\xb2\x01\n\x0f\x43omponentStates\x12\x31\n\x05state\x18\x01 \x01(\x0b\x32\".milvus.proto.milvus.ComponentInfo\x12?\n\x13subcomponent_states\x18\x02 \x03(\x0b\x32\".milvus.proto.milvus.ComponentInfo\x12+\n\x06status\x18\x03 \x01(\x0b\x32\x1b.milvus.proto.common.Status\"\x1b\n\x19GetComponentStatesRequest\"\xb6\x01\n\x12LoadBalanceRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x12\n\nsrc_nodeID\x18\x02 \x01(\x03\x12\x13\n\x0b\x64st_nodeIDs\x18\x03 \x03(\x03\x12\x19\n\x11sealed_segmentIDs\x18\x04 \x03(\x03\x12\x16\n\x0e\x63ollectionName\x18\x05 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x06 \x01(\t:\x07\xca>\x04\x10\x11\x18\x05\"L\n\x17ManualCompactionRequest\x12\x14\n\x0c\x63ollectionID\x18\x01 \x01(\x03\x12\x12\n\ntimetravel\x18\x02 \x01(\x04:\x07\xca>\x04\x10\x07\x18\x01\"z\n\x18ManualCompactionResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x14\n\x0c\x63ompactionID\x18\x02 \x01(\x03\x12\x1b\n\x13\x63ompactionPlanCount\x18\x03 \x01(\x05\"1\n\x19GetCompactionStateRequest\x12\x14\n\x0c\x63ompactionID\x18\x01 \x01(\x03\"\xdd\x01\n\x1aGetCompactionStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x33\n\x05state\x18\x02 \x01(\x0e\x32$.milvus.proto.common.CompactionState\x12\x17\n\x0f\x65xecutingPlanNo\x18\x03 \x01(\x03\x12\x15\n\rtimeoutPlanNo\x18\x04 \x01(\x03\x12\x17\n\x0f\x63ompletedPlanNo\x18\x05 \x01(\x03\x12\x14\n\x0c\x66\x61iledPlanNo\x18\x06 \x01(\x03\"1\n\x19GetCompactionPlansRequest\x12\x14\n\x0c\x63ompactionID\x18\x01 \x01(\x03\"\xbc\x01\n\x1aGetCompactionPlansResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x33\n\x05state\x18\x02 \x01(\x0e\x32$.milvus.proto.common.CompactionState\x12<\n\nmergeInfos\x18\x03 \x03(\x0b\x32(.milvus.proto.milvus.CompactionMergeInfo\"6\n\x13\x43ompactionMergeInfo\x12\x0f\n\x07sources\x18\x01 \x03(\x03\x12\x0e\n\x06target\x18\x02 \x01(\x03\"f\n\x14GetFlushStateRequest\x12\x12\n\nsegmentIDs\x18\x01 \x03(\x03\x12\x10\n\x08\x66lush_ts\x18\x02 \x01(\x04\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\"U\n\x15GetFlushStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07\x66lushed\x18\x02 \x01(\x08\"l\n\x17GetFlushAllStateRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x14\n\x0c\x66lush_all_ts\x18\x02 \x01(\x04\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\"X\n\x18GetFlushAllStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07\x66lushed\x18\x02 \x01(\x08\"\xc7\x01\n\rImportRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x16\n\x0epartition_name\x18\x02 \x01(\t\x12\x15\n\rchannel_names\x18\x03 \x03(\t\x12\x11\n\trow_based\x18\x04 \x01(\x08\x12\r\n\x05\x66iles\x18\x05 \x03(\t\x12\x32\n\x07options\x18\x06 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x0f\n\x07\x64\x62_name\x18\x07 \x01(\t:\x07\xca>\x04\x10\x12\x18\x01\"L\n\x0eImportResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\r\n\x05tasks\x18\x02 \x03(\x03\"%\n\x15GetImportStateRequest\x12\x0c\n\x04task\x18\x01 \x01(\x03\"\x97\x02\n\x16GetImportStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12/\n\x05state\x18\x02 \x01(\x0e\x32 .milvus.proto.common.ImportState\x12\x11\n\trow_count\x18\x03 \x01(\x03\x12\x0f\n\x07id_list\x18\x04 \x03(\x03\x12\x30\n\x05infos\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\n\n\x02id\x18\x06 \x01(\x03\x12\x15\n\rcollection_id\x18\x07 \x01(\x03\x12\x13\n\x0bsegment_ids\x18\x08 \x03(\x03\x12\x11\n\tcreate_ts\x18\t \x01(\x03\"Q\n\x16ListImportTasksRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x03\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\"\x82\x01\n\x17ListImportTasksResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12:\n\x05tasks\x18\x02 \x03(\x0b\x32+.milvus.proto.milvus.GetImportStateResponse\"\x9a\x01\n\x12GetReplicasRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x14\n\x0c\x63ollectionID\x18\x02 \x01(\x03\x12\x18\n\x10with_shard_nodes\x18\x03 \x01(\x08\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x05 \x01(\t\"v\n\x13GetReplicasResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x32\n\x08replicas\x18\x02 \x03(\x0b\x32 .milvus.proto.milvus.ReplicaInfo\"\xc1\x02\n\x0bReplicaInfo\x12\x11\n\treplicaID\x18\x01 \x01(\x03\x12\x14\n\x0c\x63ollectionID\x18\x02 \x01(\x03\x12\x15\n\rpartition_ids\x18\x03 \x03(\x03\x12\x39\n\x0eshard_replicas\x18\x04 \x03(\x0b\x32!.milvus.proto.milvus.ShardReplica\x12\x10\n\x08node_ids\x18\x05 \x03(\x03\x12\x1b\n\x13resource_group_name\x18\x06 \x01(\t\x12P\n\x11num_outbound_node\x18\x07 \x03(\x0b\x32\x35.milvus.proto.milvus.ReplicaInfo.NumOutboundNodeEntry\x1a\x36\n\x14NumOutboundNodeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"`\n\x0cShardReplica\x12\x10\n\x08leaderID\x18\x01 \x01(\x03\x12\x13\n\x0bleader_addr\x18\x02 \x01(\t\x12\x17\n\x0f\x64m_channel_name\x18\x03 \x01(\t\x12\x10\n\x08node_ids\x18\x04 \x03(\x03\"\xbe\x01\n\x17\x43reateCredentialRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x10\n\x08password\x18\x03 \x01(\t\x12\x1e\n\x16\x63reated_utc_timestamps\x18\x04 \x01(\x04\x12\x1f\n\x17modified_utc_timestamps\x18\x05 \x01(\x04:\x12\xca>\x0f\x08\x01\x10\x13\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xcd\x01\n\x17UpdateCredentialRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x13\n\x0boldPassword\x18\x03 \x01(\t\x12\x13\n\x0bnewPassword\x18\x04 \x01(\t\x12\x1e\n\x16\x63reated_utc_timestamps\x18\x05 \x01(\x04\x12\x1f\n\x17modified_utc_timestamps\x18\x06 \x01(\x04:\t\xca>\x06\x08\x02\x10\x14\x18\x02\"k\n\x17\x44\x65leteCredentialRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x10\n\x08username\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x15\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"W\n\x15ListCredUsersResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x11\n\tusernames\x18\x02 \x03(\t\"V\n\x14ListCredUsersRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase:\x12\xca>\x0f\x08\x01\x10\x16\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x1a\n\nRoleEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1a\n\nUserEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x84\x01\n\x11\x43reateRoleRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12/\n\x06\x65ntity\x18\x02 \x01(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity:\x12\xca>\x0f\x08\x01\x10\x13\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"d\n\x0f\x44ropRoleRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x11\n\trole_name\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x15\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xb5\x01\n\x16OperateUserRoleRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x11\n\trole_name\x18\x03 \x01(\t\x12\x36\n\x04type\x18\x04 \x01(\x0e\x32(.milvus.proto.milvus.OperateUserRoleType:\x12\xca>\x0f\x08\x01\x10\x17\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x9d\x01\n\x11SelectRoleRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12-\n\x04role\x18\x02 \x01(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity\x12\x19\n\x11include_user_info\x18\x03 \x01(\x08:\x12\xca>\x0f\x08\x01\x10\x16\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"k\n\nRoleResult\x12-\n\x04role\x18\x01 \x01(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity\x12.\n\x05users\x18\x02 \x03(\x0b\x32\x1f.milvus.proto.milvus.UserEntity\"s\n\x12SelectRoleResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\x07results\x18\x02 \x03(\x0b\x32\x1f.milvus.proto.milvus.RoleResult\"\x94\x01\n\x11SelectUserRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12-\n\x04user\x18\x02 \x01(\x0b\x32\x1f.milvus.proto.milvus.UserEntity\x12\x19\n\x11include_role_info\x18\x03 \x01(\x08:\t\xca>\x06\x08\x02\x10\x18\x18\x02\"k\n\nUserResult\x12-\n\x04user\x18\x01 \x01(\x0b\x32\x1f.milvus.proto.milvus.UserEntity\x12.\n\x05roles\x18\x02 \x03(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity\"s\n\x12SelectUserResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\x07results\x18\x02 \x03(\x0b\x32\x1f.milvus.proto.milvus.UserResult\"\x1c\n\x0cObjectEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1f\n\x0fPrivilegeEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\"w\n\rGrantorEntity\x12-\n\x04user\x18\x01 \x01(\x0b\x32\x1f.milvus.proto.milvus.UserEntity\x12\x37\n\tprivilege\x18\x02 \x01(\x0b\x32$.milvus.proto.milvus.PrivilegeEntity\"L\n\x14GrantPrivilegeEntity\x12\x34\n\x08\x65ntities\x18\x01 \x03(\x0b\x32\".milvus.proto.milvus.GrantorEntity\"\xca\x01\n\x0bGrantEntity\x12-\n\x04role\x18\x01 \x01(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity\x12\x31\n\x06object\x18\x02 \x01(\x0b\x32!.milvus.proto.milvus.ObjectEntity\x12\x13\n\x0bobject_name\x18\x03 \x01(\t\x12\x33\n\x07grantor\x18\x04 \x01(\x0b\x32\".milvus.proto.milvus.GrantorEntity\x12\x0f\n\x07\x64\x62_name\x18\x05 \x01(\t\"\x86\x01\n\x12SelectGrantRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x30\n\x06\x65ntity\x18\x02 \x01(\x0b\x32 .milvus.proto.milvus.GrantEntity:\x12\xca>\x0f\x08\x01\x10\x16\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"v\n\x13SelectGrantResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x32\n\x08\x65ntities\x18\x02 \x03(\x0b\x32 .milvus.proto.milvus.GrantEntity\"\xc4\x01\n\x17OperatePrivilegeRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x30\n\x06\x65ntity\x18\x02 \x01(\x0b\x32 .milvus.proto.milvus.GrantEntity\x12\x37\n\x04type\x18\x03 \x01(\x0e\x32).milvus.proto.milvus.OperatePrivilegeType:\x12\xca>\x0f\x08\x01\x10\x17\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x93\x01\n\x19GetLoadingProgressRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x17\n\x0f\x63ollection_name\x18\x02 \x01(\t\x12\x17\n\x0fpartition_names\x18\x03 \x03(\t\x12\x0f\n\x07\x64\x62_name\x18\x04 \x01(\t:\x07\xca>\x04\x10 \x18\x02\"u\n\x1aGetLoadingProgressResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x10\n\x08progress\x18\x02 \x01(\x03\x12\x18\n\x10refresh_progress\x18\x03 \x01(\x03\"\x8d\x01\n\x13GetLoadStateRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x17\n\x0f\x63ollection_name\x18\x02 \x01(\t\x12\x17\n\x0fpartition_names\x18\x03 \x03(\t\x12\x0f\n\x07\x64\x62_name\x18\x04 \x01(\t:\x07\xca>\x04\x10!\x18\x02\"r\n\x14GetLoadStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12-\n\x05state\x18\x02 \x01(\x0e\x32\x1e.milvus.proto.common.LoadState\"\x1c\n\tMilvusExt\x12\x0f\n\x07version\x18\x01 \x01(\t\"\x13\n\x11GetVersionRequest\"R\n\x12GetVersionResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07version\x18\x02 \x01(\t\"\x14\n\x12\x43heckHealthRequest\"\x9d\x01\n\x13\x43heckHealthResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x11\n\tisHealthy\x18\x02 \x01(\x08\x12\x0f\n\x07reasons\x18\x03 \x03(\t\x12\x35\n\x0cquota_states\x18\x04 \x03(\x0e\x32\x1f.milvus.proto.milvus.QuotaState\"t\n\x1a\x43reateResourceGroupRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x16\n\x0eresource_group\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x1a\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"r\n\x18\x44ropResourceGroupRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x16\n\x0eresource_group\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x1b\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xa5\x01\n\x13TransferNodeRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x1d\n\x15source_resource_group\x18\x02 \x01(\t\x12\x1d\n\x15target_resource_group\x18\x03 \x01(\t\x12\x10\n\x08num_node\x18\x04 \x01(\x05:\x12\xca>\x0f\x08\x01\x10\x1e\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xd5\x01\n\x16TransferReplicaRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x1d\n\x15source_resource_group\x18\x02 \x01(\t\x12\x1d\n\x15target_resource_group\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x13\n\x0bnum_replica\x18\x05 \x01(\x03\x12\x0f\n\x07\x64\x62_name\x18\x06 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x1f\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"[\n\x19ListResourceGroupsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase:\x12\xca>\x0f\x08\x01\x10\x1d\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"b\n\x1aListResourceGroupsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x17\n\x0fresource_groups\x18\x02 \x03(\t\"v\n\x1c\x44\x65scribeResourceGroupRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x16\n\x0eresource_group\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x1c\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x88\x01\n\x1d\x44\x65scribeResourceGroupResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12:\n\x0eresource_group\x18\x02 \x01(\x0b\x32\".milvus.proto.milvus.ResourceGroup\"\xf2\x03\n\rResourceGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x02 \x01(\x05\x12\x1a\n\x12num_available_node\x18\x03 \x01(\x05\x12T\n\x12num_loaded_replica\x18\x04 \x03(\x0b\x32\x38.milvus.proto.milvus.ResourceGroup.NumLoadedReplicaEntry\x12R\n\x11num_outgoing_node\x18\x05 \x03(\x0b\x32\x37.milvus.proto.milvus.ResourceGroup.NumOutgoingNodeEntry\x12R\n\x11num_incoming_node\x18\x06 \x03(\x0b\x32\x37.milvus.proto.milvus.ResourceGroup.NumIncomingNodeEntry\x1a\x37\n\x15NumLoadedReplicaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x36\n\x14NumOutgoingNodeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x36\n\x14NumIncomingNodeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"\x9f\x01\n\x17RenameCollectionRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x0f\n\x07oldName\x18\x03 \x01(\t\x12\x0f\n\x07newName\x18\x04 \x01(\t\x12\x11\n\tnewDBName\x18\x05 \x01(\t:\x12\xca>\x0f\x08\x01\x10\"\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xa1\x01\n\x19GetIndexStatisticsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x12\n\nindex_name\x18\x04 \x01(\t\x12\x11\n\ttimestamp\x18\x05 \x01(\x04:\x07\xca>\x04\x10\x0c\x18\x03\"\x8c\x01\n\x1aGetIndexStatisticsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x41\n\x12index_descriptions\x18\x02 \x03(\x0b\x32%.milvus.proto.milvus.IndexDescription\"r\n\x0e\x43onnectRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x34\n\x0b\x63lient_info\x18\x02 \x01(\x0b\x32\x1f.milvus.proto.common.ClientInfo\"\x88\x01\n\x0f\x43onnectResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x34\n\x0bserver_info\x18\x02 \x01(\x0b\x32\x1f.milvus.proto.common.ServerInfo\x12\x12\n\nidentifier\x18\x03 \x01(\x03\"C\n\x15\x41llocTimestampRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\"X\n\x16\x41llocTimestampResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x11\n\ttimestamp\x18\x02 \x01(\x04\"h\n\x15\x43reateDatabaseRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10#\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"f\n\x13\x44ropDatabaseRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07\x64\x62_name\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10$\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"V\n\x14ListDatabasesRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase:\x12\xca>\x0f\x08\x01\x10%\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x85\x01\n\x15ListDatabasesResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x10\n\x08\x64\x62_names\x18\x02 \x03(\t\x12\x19\n\x11\x63reated_timestamp\x18\x03 \x03(\x04:\x12\xca>\x0f\x08\x01\x10\x04\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01*!\n\x08ShowType\x12\x07\n\x03\x41ll\x10\x00\x12\x0c\n\x08InMemory\x10\x01*@\n\x13OperateUserRoleType\x12\x11\n\rAddUserToRole\x10\x00\x12\x16\n\x12RemoveUserFromRole\x10\x01*-\n\x14OperatePrivilegeType\x12\t\n\x05Grant\x10\x00\x12\n\n\x06Revoke\x10\x01*]\n\nQuotaState\x12\x0b\n\x07Unknown\x10\x00\x12\x0f\n\x0bReadLimited\x10\x02\x12\x10\n\x0cWriteLimited\x10\x03\x12\x0e\n\nDenyToRead\x10\x04\x12\x0f\n\x0b\x44\x65nyToWrite\x10\x05\x32\xd5?\n\rMilvusService\x12_\n\x10\x43reateCollection\x12,.milvus.proto.milvus.CreateCollectionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12[\n\x0e\x44ropCollection\x12*.milvus.proto.milvus.DropCollectionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12_\n\rHasCollection\x12).milvus.proto.milvus.HasCollectionRequest\x1a!.milvus.proto.milvus.BoolResponse\"\x00\x12[\n\x0eLoadCollection\x12*.milvus.proto.milvus.LoadCollectionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x61\n\x11ReleaseCollection\x12-.milvus.proto.milvus.ReleaseCollectionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12w\n\x12\x44\x65scribeCollection\x12..milvus.proto.milvus.DescribeCollectionRequest\x1a/.milvus.proto.milvus.DescribeCollectionResponse\"\x00\x12\x86\x01\n\x17GetCollectionStatistics\x12\x33.milvus.proto.milvus.GetCollectionStatisticsRequest\x1a\x34.milvus.proto.milvus.GetCollectionStatisticsResponse\"\x00\x12n\n\x0fShowCollections\x12+.milvus.proto.milvus.ShowCollectionsRequest\x1a,.milvus.proto.milvus.ShowCollectionsResponse\"\x00\x12]\n\x0f\x41lterCollection\x12+.milvus.proto.milvus.AlterCollectionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12]\n\x0f\x43reatePartition\x12+.milvus.proto.milvus.CreatePartitionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12Y\n\rDropPartition\x12).milvus.proto.milvus.DropPartitionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12]\n\x0cHasPartition\x12(.milvus.proto.milvus.HasPartitionRequest\x1a!.milvus.proto.milvus.BoolResponse\"\x00\x12[\n\x0eLoadPartitions\x12*.milvus.proto.milvus.LoadPartitionsRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x61\n\x11ReleasePartitions\x12-.milvus.proto.milvus.ReleasePartitionsRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x83\x01\n\x16GetPartitionStatistics\x12\x32.milvus.proto.milvus.GetPartitionStatisticsRequest\x1a\x33.milvus.proto.milvus.GetPartitionStatisticsResponse\"\x00\x12k\n\x0eShowPartitions\x12*.milvus.proto.milvus.ShowPartitionsRequest\x1a+.milvus.proto.milvus.ShowPartitionsResponse\"\x00\x12w\n\x12GetLoadingProgress\x12..milvus.proto.milvus.GetLoadingProgressRequest\x1a/.milvus.proto.milvus.GetLoadingProgressResponse\"\x00\x12\x65\n\x0cGetLoadState\x12(.milvus.proto.milvus.GetLoadStateRequest\x1a).milvus.proto.milvus.GetLoadStateResponse\"\x00\x12U\n\x0b\x43reateAlias\x12\'.milvus.proto.milvus.CreateAliasRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12Q\n\tDropAlias\x12%.milvus.proto.milvus.DropAliasRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12S\n\nAlterAlias\x12&.milvus.proto.milvus.AlterAliasRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12h\n\rDescribeAlias\x12).milvus.proto.milvus.DescribeAliasRequest\x1a*.milvus.proto.milvus.DescribeAliasResponse\"\x00\x12\x62\n\x0bListAliases\x12\'.milvus.proto.milvus.ListAliasesRequest\x1a(.milvus.proto.milvus.ListAliasesResponse\"\x00\x12U\n\x0b\x43reateIndex\x12\'.milvus.proto.milvus.CreateIndexRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12h\n\rDescribeIndex\x12).milvus.proto.milvus.DescribeIndexRequest\x1a*.milvus.proto.milvus.DescribeIndexResponse\"\x00\x12w\n\x12GetIndexStatistics\x12..milvus.proto.milvus.GetIndexStatisticsRequest\x1a/.milvus.proto.milvus.GetIndexStatisticsResponse\"\x00\x12h\n\rGetIndexState\x12).milvus.proto.milvus.GetIndexStateRequest\x1a*.milvus.proto.milvus.GetIndexStateResponse\"\x00\x12\x80\x01\n\x15GetIndexBuildProgress\x12\x31.milvus.proto.milvus.GetIndexBuildProgressRequest\x1a\x32.milvus.proto.milvus.GetIndexBuildProgressResponse\"\x00\x12Q\n\tDropIndex\x12%.milvus.proto.milvus.DropIndexRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12S\n\x06Insert\x12\".milvus.proto.milvus.InsertRequest\x1a#.milvus.proto.milvus.MutationResult\"\x00\x12S\n\x06\x44\x65lete\x12\".milvus.proto.milvus.DeleteRequest\x1a#.milvus.proto.milvus.MutationResult\"\x00\x12S\n\x06Upsert\x12\".milvus.proto.milvus.UpsertRequest\x1a#.milvus.proto.milvus.MutationResult\"\x00\x12R\n\x06Search\x12\".milvus.proto.milvus.SearchRequest\x1a\".milvus.proto.milvus.SearchResults\"\x00\x12P\n\x05\x46lush\x12!.milvus.proto.milvus.FlushRequest\x1a\".milvus.proto.milvus.FlushResponse\"\x00\x12O\n\x05Query\x12!.milvus.proto.milvus.QueryRequest\x1a!.milvus.proto.milvus.QueryResults\"\x00\x12\x64\n\x0c\x43\x61lcDistance\x12(.milvus.proto.milvus.CalcDistanceRequest\x1a(.milvus.proto.milvus.CalcDistanceResults\"\x00\x12Y\n\x08\x46lushAll\x12$.milvus.proto.milvus.FlushAllRequest\x1a%.milvus.proto.milvus.FlushAllResponse\"\x00\x12h\n\rGetFlushState\x12).milvus.proto.milvus.GetFlushStateRequest\x1a*.milvus.proto.milvus.GetFlushStateResponse\"\x00\x12q\n\x10GetFlushAllState\x12,.milvus.proto.milvus.GetFlushAllStateRequest\x1a-.milvus.proto.milvus.GetFlushAllStateResponse\"\x00\x12\x89\x01\n\x18GetPersistentSegmentInfo\x12\x34.milvus.proto.milvus.GetPersistentSegmentInfoRequest\x1a\x35.milvus.proto.milvus.GetPersistentSegmentInfoResponse\"\x00\x12z\n\x13GetQuerySegmentInfo\x12/.milvus.proto.milvus.GetQuerySegmentInfoRequest\x1a\x30.milvus.proto.milvus.GetQuerySegmentInfoResponse\"\x00\x12\x62\n\x0bGetReplicas\x12\'.milvus.proto.milvus.GetReplicasRequest\x1a(.milvus.proto.milvus.GetReplicasResponse\"\x00\x12P\n\x05\x44ummy\x12!.milvus.proto.milvus.DummyRequest\x1a\".milvus.proto.milvus.DummyResponse\"\x00\x12\x65\n\x0cRegisterLink\x12(.milvus.proto.milvus.RegisterLinkRequest\x1a).milvus.proto.milvus.RegisterLinkResponse\"\x00\x12_\n\nGetMetrics\x12&.milvus.proto.milvus.GetMetricsRequest\x1a\'.milvus.proto.milvus.GetMetricsResponse\"\x00\x12l\n\x12GetComponentStates\x12..milvus.proto.milvus.GetComponentStatesRequest\x1a$.milvus.proto.milvus.ComponentStates\"\x00\x12U\n\x0bLoadBalance\x12\'.milvus.proto.milvus.LoadBalanceRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12w\n\x12GetCompactionState\x12..milvus.proto.milvus.GetCompactionStateRequest\x1a/.milvus.proto.milvus.GetCompactionStateResponse\"\x00\x12q\n\x10ManualCompaction\x12,.milvus.proto.milvus.ManualCompactionRequest\x1a-.milvus.proto.milvus.ManualCompactionResponse\"\x00\x12\x80\x01\n\x1bGetCompactionStateWithPlans\x12..milvus.proto.milvus.GetCompactionPlansRequest\x1a/.milvus.proto.milvus.GetCompactionPlansResponse\"\x00\x12S\n\x06Import\x12\".milvus.proto.milvus.ImportRequest\x1a#.milvus.proto.milvus.ImportResponse\"\x00\x12k\n\x0eGetImportState\x12*.milvus.proto.milvus.GetImportStateRequest\x1a+.milvus.proto.milvus.GetImportStateResponse\"\x00\x12n\n\x0fListImportTasks\x12+.milvus.proto.milvus.ListImportTasksRequest\x1a,.milvus.proto.milvus.ListImportTasksResponse\"\x00\x12_\n\x10\x43reateCredential\x12,.milvus.proto.milvus.CreateCredentialRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12_\n\x10UpdateCredential\x12,.milvus.proto.milvus.UpdateCredentialRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12_\n\x10\x44\x65leteCredential\x12,.milvus.proto.milvus.DeleteCredentialRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12h\n\rListCredUsers\x12).milvus.proto.milvus.ListCredUsersRequest\x1a*.milvus.proto.milvus.ListCredUsersResponse\"\x00\x12S\n\nCreateRole\x12&.milvus.proto.milvus.CreateRoleRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12O\n\x08\x44ropRole\x12$.milvus.proto.milvus.DropRoleRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12]\n\x0fOperateUserRole\x12+.milvus.proto.milvus.OperateUserRoleRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12_\n\nSelectRole\x12&.milvus.proto.milvus.SelectRoleRequest\x1a\'.milvus.proto.milvus.SelectRoleResponse\"\x00\x12_\n\nSelectUser\x12&.milvus.proto.milvus.SelectUserRequest\x1a\'.milvus.proto.milvus.SelectUserResponse\"\x00\x12_\n\x10OperatePrivilege\x12,.milvus.proto.milvus.OperatePrivilegeRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x62\n\x0bSelectGrant\x12\'.milvus.proto.milvus.SelectGrantRequest\x1a(.milvus.proto.milvus.SelectGrantResponse\"\x00\x12_\n\nGetVersion\x12&.milvus.proto.milvus.GetVersionRequest\x1a\'.milvus.proto.milvus.GetVersionResponse\"\x00\x12\x62\n\x0b\x43heckHealth\x12\'.milvus.proto.milvus.CheckHealthRequest\x1a(.milvus.proto.milvus.CheckHealthResponse\"\x00\x12\x65\n\x13\x43reateResourceGroup\x12/.milvus.proto.milvus.CreateResourceGroupRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x61\n\x11\x44ropResourceGroup\x12-.milvus.proto.milvus.DropResourceGroupRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12W\n\x0cTransferNode\x12(.milvus.proto.milvus.TransferNodeRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12]\n\x0fTransferReplica\x12+.milvus.proto.milvus.TransferReplicaRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12w\n\x12ListResourceGroups\x12..milvus.proto.milvus.ListResourceGroupsRequest\x1a/.milvus.proto.milvus.ListResourceGroupsResponse\"\x00\x12\x80\x01\n\x15\x44\x65scribeResourceGroup\x12\x31.milvus.proto.milvus.DescribeResourceGroupRequest\x1a\x32.milvus.proto.milvus.DescribeResourceGroupResponse\"\x00\x12_\n\x10RenameCollection\x12,.milvus.proto.milvus.RenameCollectionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12u\n\x12ListIndexedSegment\x12-.milvus.proto.feder.ListIndexedSegmentRequest\x1a..milvus.proto.feder.ListIndexedSegmentResponse\"\x00\x12\x87\x01\n\x18\x44\x65scribeSegmentIndexData\x12\x33.milvus.proto.feder.DescribeSegmentIndexDataRequest\x1a\x34.milvus.proto.feder.DescribeSegmentIndexDataResponse\"\x00\x12V\n\x07\x43onnect\x12#.milvus.proto.milvus.ConnectRequest\x1a$.milvus.proto.milvus.ConnectResponse\"\x00\x12k\n\x0e\x41llocTimestamp\x12*.milvus.proto.milvus.AllocTimestampRequest\x1a+.milvus.proto.milvus.AllocTimestampResponse\"\x00\x12[\n\x0e\x43reateDatabase\x12*.milvus.proto.milvus.CreateDatabaseRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12W\n\x0c\x44ropDatabase\x12(.milvus.proto.milvus.DropDatabaseRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12h\n\rListDatabases\x12).milvus.proto.milvus.ListDatabasesRequest\x1a*.milvus.proto.milvus.ListDatabasesResponse\"\x00\x32u\n\x0cProxyService\x12\x65\n\x0cRegisterLink\x12(.milvus.proto.milvus.RegisterLinkRequest\x1a).milvus.proto.milvus.RegisterLinkResponse\"\x00:U\n\x0emilvus_ext_obj\x12\x1c.google.protobuf.FileOptions\x18\xe9\x07 \x01(\x0b\x32\x1e.milvus.proto.milvus.MilvusExtBm\n\x0eio.milvus.grpcB\x0bMilvusProtoP\x01Z4github.com/milvus-io/milvus-proto/go-api/v2/milvuspb\xa0\x01\x01\xaa\x02\x12Milvus.Client.Grpcb\x06proto3') -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'milvus_pb2', _globals) +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'milvus_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(milvus_ext_obj) @@ -71,6 +70,8 @@ _FLUSHRESPONSE_FLUSHCOLLSEGIDSENTRY._serialized_options = b'8\001' _FLUSHRESPONSE_COLLSEALTIMESENTRY._options = None _FLUSHRESPONSE_COLLSEALTIMESENTRY._serialized_options = b'8\001' + _FLUSHRESPONSE_COLLFLUSHTSENTRY._options = None + _FLUSHRESPONSE_COLLFLUSHTSENTRY._serialized_options = b'8\001' _QUERYREQUEST._options = None _QUERYREQUEST._serialized_options = b'\312>\004\020\020\030\003' _FLUSHALLREQUEST._options = None @@ -139,334 +140,336 @@ _LISTDATABASESREQUEST._serialized_options = b'\312>\017\010\001\020%\030\377\377\377\377\377\377\377\377\377\001' _LISTDATABASESRESPONSE._options = None _LISTDATABASESRESPONSE._serialized_options = b'\312>\017\010\001\020\004\030\377\377\377\377\377\377\377\377\377\001' - _globals['_SHOWTYPE']._serialized_start=22011 - _globals['_SHOWTYPE']._serialized_end=22044 - _globals['_OPERATEUSERROLETYPE']._serialized_start=22046 - _globals['_OPERATEUSERROLETYPE']._serialized_end=22110 - _globals['_OPERATEPRIVILEGETYPE']._serialized_start=22112 - _globals['_OPERATEPRIVILEGETYPE']._serialized_end=22157 - _globals['_QUOTASTATE']._serialized_start=22159 - _globals['_QUOTASTATE']._serialized_end=22252 - _globals['_CREATEALIASREQUEST']._serialized_start=112 - _globals['_CREATEALIASREQUEST']._serialized_end=233 - _globals['_DROPALIASREQUEST']._serialized_start=235 - _globals['_DROPALIASREQUEST']._serialized_end=329 - _globals['_ALTERALIASREQUEST']._serialized_start=331 - _globals['_ALTERALIASREQUEST']._serialized_end=451 - _globals['_DESCRIBEALIASREQUEST']._serialized_start=453 - _globals['_DESCRIBEALIASREQUEST']._serialized_end=551 - _globals['_DESCRIBEALIASRESPONSE']._serialized_start=553 - _globals['_DESCRIBEALIASRESPONSE']._serialized_end=673 - _globals['_LISTALIASESREQUEST']._serialized_start=675 - _globals['_LISTALIASESREQUEST']._serialized_end=781 - _globals['_LISTALIASESRESPONSE']._serialized_start=783 - _globals['_LISTALIASESRESPONSE']._serialized_end=908 - _globals['_CREATECOLLECTIONREQUEST']._serialized_start=911 - _globals['_CREATECOLLECTIONREQUEST']._serialized_end=1223 - _globals['_DROPCOLLECTIONREQUEST']._serialized_start=1226 - _globals['_DROPCOLLECTIONREQUEST']._serialized_end=1355 - _globals['_ALTERCOLLECTIONREQUEST']._serialized_start=1358 - _globals['_ALTERCOLLECTIONREQUEST']._serialized_end=1565 - _globals['_HASCOLLECTIONREQUEST']._serialized_start=1568 - _globals['_HASCOLLECTIONREQUEST']._serialized_end=1696 - _globals['_BOOLRESPONSE']._serialized_start=1698 - _globals['_BOOLRESPONSE']._serialized_end=1772 - _globals['_STRINGRESPONSE']._serialized_start=1774 - _globals['_STRINGRESPONSE']._serialized_end=1850 - _globals['_DESCRIBECOLLECTIONREQUEST']._serialized_start=1853 - _globals['_DESCRIBECOLLECTIONREQUEST']._serialized_end=2028 - _globals['_DESCRIBECOLLECTIONRESPONSE']._serialized_start=2031 - _globals['_DESCRIBECOLLECTIONRESPONSE']._serialized_end=2585 - _globals['_LOADCOLLECTIONREQUEST']._serialized_start=2588 - _globals['_LOADCOLLECTIONREQUEST']._serialized_end=2772 - _globals['_RELEASECOLLECTIONREQUEST']._serialized_start=2774 - _globals['_RELEASECOLLECTIONREQUEST']._serialized_end=2895 - _globals['_GETSTATISTICSREQUEST']._serialized_start=2898 - _globals['_GETSTATISTICSREQUEST']._serialized_end=3069 - _globals['_GETSTATISTICSRESPONSE']._serialized_start=3071 - _globals['_GETSTATISTICSRESPONSE']._serialized_end=3189 - _globals['_GETCOLLECTIONSTATISTICSREQUEST']._serialized_start=3191 - _globals['_GETCOLLECTIONSTATISTICSREQUEST']._serialized_end=3318 - _globals['_GETCOLLECTIONSTATISTICSRESPONSE']._serialized_start=3321 - _globals['_GETCOLLECTIONSTATISTICSRESPONSE']._serialized_end=3449 - _globals['_SHOWCOLLECTIONSREQUEST']._serialized_start=3452 - _globals['_SHOWCOLLECTIONSREQUEST']._serialized_end=3648 - _globals['_SHOWCOLLECTIONSRESPONSE']._serialized_start=3651 - _globals['_SHOWCOLLECTIONSRESPONSE']._serialized_end=3894 - _globals['_CREATEPARTITIONREQUEST']._serialized_start=3897 - _globals['_CREATEPARTITIONREQUEST']._serialized_end=4031 - _globals['_DROPPARTITIONREQUEST']._serialized_start=4034 - _globals['_DROPPARTITIONREQUEST']._serialized_end=4166 - _globals['_HASPARTITIONREQUEST']._serialized_start=4169 - _globals['_HASPARTITIONREQUEST']._serialized_end=4300 - _globals['_LOADPARTITIONSREQUEST']._serialized_start=4303 - _globals['_LOADPARTITIONSREQUEST']._serialized_end=4503 - _globals['_RELEASEPARTITIONSREQUEST']._serialized_start=4506 - _globals['_RELEASEPARTITIONSREQUEST']._serialized_end=4643 - _globals['_GETPARTITIONSTATISTICSREQUEST']._serialized_start=4646 - _globals['_GETPARTITIONSTATISTICSREQUEST']._serialized_end=4787 - _globals['_GETPARTITIONSTATISTICSRESPONSE']._serialized_start=4789 - _globals['_GETPARTITIONSTATISTICSRESPONSE']._serialized_end=4916 - _globals['_SHOWPARTITIONSREQUEST']._serialized_start=4919 - _globals['_SHOWPARTITIONSREQUEST']._serialized_end=5120 - _globals['_SHOWPARTITIONSRESPONSE']._serialized_start=5123 - _globals['_SHOWPARTITIONSRESPONSE']._serialized_end=5329 - _globals['_DESCRIBESEGMENTREQUEST']._serialized_start=5331 - _globals['_DESCRIBESEGMENTREQUEST']._serialized_end=5440 - _globals['_DESCRIBESEGMENTRESPONSE']._serialized_start=5443 - _globals['_DESCRIBESEGMENTRESPONSE']._serialized_end=5586 - _globals['_SHOWSEGMENTSREQUEST']._serialized_start=5588 - _globals['_SHOWSEGMENTSREQUEST']._serialized_end=5696 - _globals['_SHOWSEGMENTSRESPONSE']._serialized_start=5698 - _globals['_SHOWSEGMENTSRESPONSE']._serialized_end=5785 - _globals['_CREATEINDEXREQUEST']._serialized_start=5788 - _globals['_CREATEINDEXREQUEST']._serialized_end=6000 - _globals['_DESCRIBEINDEXREQUEST']._serialized_start=6003 - _globals['_DESCRIBEINDEXREQUEST']._serialized_end=6179 - _globals['_INDEXDESCRIPTION']._serialized_start=6182 - _globals['_INDEXDESCRIPTION']._serialized_end=6459 - _globals['_DESCRIBEINDEXRESPONSE']._serialized_start=6462 - _globals['_DESCRIBEINDEXRESPONSE']._serialized_end=6597 - _globals['_GETINDEXBUILDPROGRESSREQUEST']._serialized_start=6600 - _globals['_GETINDEXBUILDPROGRESSREQUEST']._serialized_end=6765 - _globals['_GETINDEXBUILDPROGRESSRESPONSE']._serialized_start=6767 - _globals['_GETINDEXBUILDPROGRESSRESPONSE']._serialized_end=6885 - _globals['_GETINDEXSTATEREQUEST']._serialized_start=6888 - _globals['_GETINDEXSTATEREQUEST']._serialized_end=7045 - _globals['_GETINDEXSTATERESPONSE']._serialized_start=7048 - _globals['_GETINDEXSTATERESPONSE']._serialized_end=7185 - _globals['_DROPINDEXREQUEST']._serialized_start=7188 - _globals['_DROPINDEXREQUEST']._serialized_end=7341 - _globals['_INSERTREQUEST']._serialized_start=7344 - _globals['_INSERTREQUEST']._serialized_end=7568 - _globals['_UPSERTREQUEST']._serialized_start=7571 - _globals['_UPSERTREQUEST']._serialized_end=7795 - _globals['_MUTATIONRESULT']._serialized_start=7798 - _globals['_MUTATIONRESULT']._serialized_end=8038 - _globals['_DELETEREQUEST']._serialized_start=8041 - _globals['_DELETEREQUEST']._serialized_end=8208 - _globals['_SEARCHREQUEST']._serialized_start=8211 - _globals['_SEARCHREQUEST']._serialized_end=8742 - _globals['_HITS']._serialized_start=8744 - _globals['_HITS']._serialized_end=8797 - _globals['_SEARCHRESULTS']._serialized_start=8800 - _globals['_SEARCHRESULTS']._serialized_end=8941 - _globals['_FLUSHREQUEST']._serialized_start=8943 - _globals['_FLUSHREQUEST']._serialized_end=9053 - _globals['_FLUSHRESPONSE']._serialized_start=9056 - _globals['_FLUSHRESPONSE']._serialized_end=9595 - _globals['_FLUSHRESPONSE_COLLSEGIDSENTRY']._serialized_start=9372 - _globals['_FLUSHRESPONSE_COLLSEGIDSENTRY']._serialized_end=9453 - _globals['_FLUSHRESPONSE_FLUSHCOLLSEGIDSENTRY']._serialized_start=9455 - _globals['_FLUSHRESPONSE_FLUSHCOLLSEGIDSENTRY']._serialized_end=9541 - _globals['_FLUSHRESPONSE_COLLSEALTIMESENTRY']._serialized_start=9543 - _globals['_FLUSHRESPONSE_COLLSEALTIMESENTRY']._serialized_end=9595 - _globals['_QUERYREQUEST']._serialized_start=9598 - _globals['_QUERYREQUEST']._serialized_end=10009 - _globals['_QUERYRESULTS']._serialized_start=10012 - _globals['_QUERYRESULTS']._serialized_end=10172 - _globals['_VECTORIDS']._serialized_start=10174 - _globals['_VECTORIDS']._serialized_end=10299 - _globals['_VECTORSARRAY']._serialized_start=10302 - _globals['_VECTORSARRAY']._serialized_end=10433 - _globals['_CALCDISTANCEREQUEST']._serialized_start=10436 - _globals['_CALCDISTANCEREQUEST']._serialized_end=10657 - _globals['_CALCDISTANCERESULTS']._serialized_start=10660 - _globals['_CALCDISTANCERESULTS']._serialized_end=10841 - _globals['_FLUSHALLREQUEST']._serialized_start=10843 - _globals['_FLUSHALLREQUEST']._serialized_end=10880 - _globals['_FLUSHALLRESPONSE']._serialized_start=10882 - _globals['_FLUSHALLRESPONSE']._serialized_end=10967 - _globals['_PERSISTENTSEGMENTINFO']._serialized_start=10970 - _globals['_PERSISTENTSEGMENTINFO']._serialized_end=11123 - _globals['_GETPERSISTENTSEGMENTINFOREQUEST']._serialized_start=11125 - _globals['_GETPERSISTENTSEGMENTINFOREQUEST']._serialized_end=11242 - _globals['_GETPERSISTENTSEGMENTINFORESPONSE']._serialized_start=11245 - _globals['_GETPERSISTENTSEGMENTINFORESPONSE']._serialized_end=11383 - _globals['_QUERYSEGMENTINFO']._serialized_start=11386 - _globals['_QUERYSEGMENTINFO']._serialized_end=11622 - _globals['_GETQUERYSEGMENTINFOREQUEST']._serialized_start=11624 - _globals['_GETQUERYSEGMENTINFOREQUEST']._serialized_end=11736 - _globals['_GETQUERYSEGMENTINFORESPONSE']._serialized_start=11739 - _globals['_GETQUERYSEGMENTINFORESPONSE']._serialized_end=11867 - _globals['_DUMMYREQUEST']._serialized_start=11869 - _globals['_DUMMYREQUEST']._serialized_end=11905 - _globals['_DUMMYRESPONSE']._serialized_start=11907 - _globals['_DUMMYRESPONSE']._serialized_end=11940 - _globals['_REGISTERLINKREQUEST']._serialized_start=11942 - _globals['_REGISTERLINKREQUEST']._serialized_end=11963 - _globals['_REGISTERLINKRESPONSE']._serialized_start=11965 - _globals['_REGISTERLINKRESPONSE']._serialized_end=12079 - _globals['_GETMETRICSREQUEST']._serialized_start=12081 - _globals['_GETMETRICSREQUEST']._serialized_end=12161 - _globals['_GETMETRICSRESPONSE']._serialized_start=12163 - _globals['_GETMETRICSRESPONSE']._serialized_end=12270 - _globals['_COMPONENTINFO']._serialized_start=12273 - _globals['_COMPONENTINFO']._serialized_end=12425 - _globals['_COMPONENTSTATES']._serialized_start=12428 - _globals['_COMPONENTSTATES']._serialized_end=12606 - _globals['_GETCOMPONENTSTATESREQUEST']._serialized_start=12608 - _globals['_GETCOMPONENTSTATESREQUEST']._serialized_end=12635 - _globals['_LOADBALANCEREQUEST']._serialized_start=12638 - _globals['_LOADBALANCEREQUEST']._serialized_end=12820 - _globals['_MANUALCOMPACTIONREQUEST']._serialized_start=12822 - _globals['_MANUALCOMPACTIONREQUEST']._serialized_end=12898 - _globals['_MANUALCOMPACTIONRESPONSE']._serialized_start=12900 - _globals['_MANUALCOMPACTIONRESPONSE']._serialized_end=13022 - _globals['_GETCOMPACTIONSTATEREQUEST']._serialized_start=13024 - _globals['_GETCOMPACTIONSTATEREQUEST']._serialized_end=13073 - _globals['_GETCOMPACTIONSTATERESPONSE']._serialized_start=13076 - _globals['_GETCOMPACTIONSTATERESPONSE']._serialized_end=13297 - _globals['_GETCOMPACTIONPLANSREQUEST']._serialized_start=13299 - _globals['_GETCOMPACTIONPLANSREQUEST']._serialized_end=13348 - _globals['_GETCOMPACTIONPLANSRESPONSE']._serialized_start=13351 - _globals['_GETCOMPACTIONPLANSRESPONSE']._serialized_end=13539 - _globals['_COMPACTIONMERGEINFO']._serialized_start=13541 - _globals['_COMPACTIONMERGEINFO']._serialized_end=13595 - _globals['_GETFLUSHSTATEREQUEST']._serialized_start=13597 - _globals['_GETFLUSHSTATEREQUEST']._serialized_end=13639 - _globals['_GETFLUSHSTATERESPONSE']._serialized_start=13641 - _globals['_GETFLUSHSTATERESPONSE']._serialized_end=13726 - _globals['_GETFLUSHALLSTATEREQUEST']._serialized_start=13728 - _globals['_GETFLUSHALLSTATEREQUEST']._serialized_end=13819 - _globals['_GETFLUSHALLSTATERESPONSE']._serialized_start=13821 - _globals['_GETFLUSHALLSTATERESPONSE']._serialized_end=13909 - _globals['_IMPORTREQUEST']._serialized_start=13912 - _globals['_IMPORTREQUEST']._serialized_end=14111 - _globals['_IMPORTRESPONSE']._serialized_start=14113 - _globals['_IMPORTRESPONSE']._serialized_end=14189 - _globals['_GETIMPORTSTATEREQUEST']._serialized_start=14191 - _globals['_GETIMPORTSTATEREQUEST']._serialized_end=14228 - _globals['_GETIMPORTSTATERESPONSE']._serialized_start=14231 - _globals['_GETIMPORTSTATERESPONSE']._serialized_end=14510 - _globals['_LISTIMPORTTASKSREQUEST']._serialized_start=14512 - _globals['_LISTIMPORTTASKSREQUEST']._serialized_end=14593 - _globals['_LISTIMPORTTASKSRESPONSE']._serialized_start=14596 - _globals['_LISTIMPORTTASKSRESPONSE']._serialized_end=14726 - _globals['_GETREPLICASREQUEST']._serialized_start=14729 - _globals['_GETREPLICASREQUEST']._serialized_end=14883 - _globals['_GETREPLICASRESPONSE']._serialized_start=14885 - _globals['_GETREPLICASRESPONSE']._serialized_end=15003 - _globals['_REPLICAINFO']._serialized_start=15006 - _globals['_REPLICAINFO']._serialized_end=15327 - _globals['_REPLICAINFO_NUMOUTBOUNDNODEENTRY']._serialized_start=15273 - _globals['_REPLICAINFO_NUMOUTBOUNDNODEENTRY']._serialized_end=15327 - _globals['_SHARDREPLICA']._serialized_start=15329 - _globals['_SHARDREPLICA']._serialized_end=15425 - _globals['_CREATECREDENTIALREQUEST']._serialized_start=15428 - _globals['_CREATECREDENTIALREQUEST']._serialized_end=15618 - _globals['_UPDATECREDENTIALREQUEST']._serialized_start=15621 - _globals['_UPDATECREDENTIALREQUEST']._serialized_end=15826 - _globals['_DELETECREDENTIALREQUEST']._serialized_start=15828 - _globals['_DELETECREDENTIALREQUEST']._serialized_end=15935 - _globals['_LISTCREDUSERSRESPONSE']._serialized_start=15937 - _globals['_LISTCREDUSERSRESPONSE']._serialized_end=16024 - _globals['_LISTCREDUSERSREQUEST']._serialized_start=16026 - _globals['_LISTCREDUSERSREQUEST']._serialized_end=16112 - _globals['_ROLEENTITY']._serialized_start=16114 - _globals['_ROLEENTITY']._serialized_end=16140 - _globals['_USERENTITY']._serialized_start=16142 - _globals['_USERENTITY']._serialized_end=16168 - _globals['_CREATEROLEREQUEST']._serialized_start=16171 - _globals['_CREATEROLEREQUEST']._serialized_end=16303 - _globals['_DROPROLEREQUEST']._serialized_start=16305 - _globals['_DROPROLEREQUEST']._serialized_end=16405 - _globals['_OPERATEUSERROLEREQUEST']._serialized_start=16408 - _globals['_OPERATEUSERROLEREQUEST']._serialized_end=16589 - _globals['_SELECTROLEREQUEST']._serialized_start=16592 - _globals['_SELECTROLEREQUEST']._serialized_end=16749 - _globals['_ROLERESULT']._serialized_start=16751 - _globals['_ROLERESULT']._serialized_end=16858 - _globals['_SELECTROLERESPONSE']._serialized_start=16860 - _globals['_SELECTROLERESPONSE']._serialized_end=16975 - _globals['_SELECTUSERREQUEST']._serialized_start=16978 - _globals['_SELECTUSERREQUEST']._serialized_end=17126 - _globals['_USERRESULT']._serialized_start=17128 - _globals['_USERRESULT']._serialized_end=17235 - _globals['_SELECTUSERRESPONSE']._serialized_start=17237 - _globals['_SELECTUSERRESPONSE']._serialized_end=17352 - _globals['_OBJECTENTITY']._serialized_start=17354 - _globals['_OBJECTENTITY']._serialized_end=17382 - _globals['_PRIVILEGEENTITY']._serialized_start=17384 - _globals['_PRIVILEGEENTITY']._serialized_end=17415 - _globals['_GRANTORENTITY']._serialized_start=17417 - _globals['_GRANTORENTITY']._serialized_end=17536 - _globals['_GRANTPRIVILEGEENTITY']._serialized_start=17538 - _globals['_GRANTPRIVILEGEENTITY']._serialized_end=17614 - _globals['_GRANTENTITY']._serialized_start=17617 - _globals['_GRANTENTITY']._serialized_end=17819 - _globals['_SELECTGRANTREQUEST']._serialized_start=17822 - _globals['_SELECTGRANTREQUEST']._serialized_end=17956 - _globals['_SELECTGRANTRESPONSE']._serialized_start=17958 - _globals['_SELECTGRANTRESPONSE']._serialized_end=18076 - _globals['_OPERATEPRIVILEGEREQUEST']._serialized_start=18079 - _globals['_OPERATEPRIVILEGEREQUEST']._serialized_end=18275 - _globals['_GETLOADINGPROGRESSREQUEST']._serialized_start=18278 - _globals['_GETLOADINGPROGRESSREQUEST']._serialized_end=18425 - _globals['_GETLOADINGPROGRESSRESPONSE']._serialized_start=18427 - _globals['_GETLOADINGPROGRESSRESPONSE']._serialized_end=18544 - _globals['_GETLOADSTATEREQUEST']._serialized_start=18547 - _globals['_GETLOADSTATEREQUEST']._serialized_end=18688 - _globals['_GETLOADSTATERESPONSE']._serialized_start=18690 - _globals['_GETLOADSTATERESPONSE']._serialized_end=18804 - _globals['_MILVUSEXT']._serialized_start=18806 - _globals['_MILVUSEXT']._serialized_end=18834 - _globals['_GETVERSIONREQUEST']._serialized_start=18836 - _globals['_GETVERSIONREQUEST']._serialized_end=18855 - _globals['_GETVERSIONRESPONSE']._serialized_start=18857 - _globals['_GETVERSIONRESPONSE']._serialized_end=18939 - _globals['_CHECKHEALTHREQUEST']._serialized_start=18941 - _globals['_CHECKHEALTHREQUEST']._serialized_end=18961 - _globals['_CHECKHEALTHRESPONSE']._serialized_start=18964 - _globals['_CHECKHEALTHRESPONSE']._serialized_end=19121 - _globals['_CREATERESOURCEGROUPREQUEST']._serialized_start=19123 - _globals['_CREATERESOURCEGROUPREQUEST']._serialized_end=19239 - _globals['_DROPRESOURCEGROUPREQUEST']._serialized_start=19241 - _globals['_DROPRESOURCEGROUPREQUEST']._serialized_end=19355 - _globals['_TRANSFERNODEREQUEST']._serialized_start=19358 - _globals['_TRANSFERNODEREQUEST']._serialized_end=19523 - _globals['_TRANSFERREPLICAREQUEST']._serialized_start=19526 - _globals['_TRANSFERREPLICAREQUEST']._serialized_end=19739 - _globals['_LISTRESOURCEGROUPSREQUEST']._serialized_start=19741 - _globals['_LISTRESOURCEGROUPSREQUEST']._serialized_end=19832 - _globals['_LISTRESOURCEGROUPSRESPONSE']._serialized_start=19834 - _globals['_LISTRESOURCEGROUPSRESPONSE']._serialized_end=19932 - _globals['_DESCRIBERESOURCEGROUPREQUEST']._serialized_start=19934 - _globals['_DESCRIBERESOURCEGROUPREQUEST']._serialized_end=20052 - _globals['_DESCRIBERESOURCEGROUPRESPONSE']._serialized_start=20055 - _globals['_DESCRIBERESOURCEGROUPRESPONSE']._serialized_end=20191 - _globals['_RESOURCEGROUP']._serialized_start=20194 - _globals['_RESOURCEGROUP']._serialized_end=20692 - _globals['_RESOURCEGROUP_NUMLOADEDREPLICAENTRY']._serialized_start=20525 - _globals['_RESOURCEGROUP_NUMLOADEDREPLICAENTRY']._serialized_end=20580 - _globals['_RESOURCEGROUP_NUMOUTGOINGNODEENTRY']._serialized_start=20582 - _globals['_RESOURCEGROUP_NUMOUTGOINGNODEENTRY']._serialized_end=20636 - _globals['_RESOURCEGROUP_NUMINCOMINGNODEENTRY']._serialized_start=20638 - _globals['_RESOURCEGROUP_NUMINCOMINGNODEENTRY']._serialized_end=20692 - _globals['_RENAMECOLLECTIONREQUEST']._serialized_start=20695 - _globals['_RENAMECOLLECTIONREQUEST']._serialized_end=20854 - _globals['_GETINDEXSTATISTICSREQUEST']._serialized_start=20857 - _globals['_GETINDEXSTATISTICSREQUEST']._serialized_end=21018 - _globals['_GETINDEXSTATISTICSRESPONSE']._serialized_start=21021 - _globals['_GETINDEXSTATISTICSRESPONSE']._serialized_end=21161 - _globals['_CONNECTREQUEST']._serialized_start=21163 - _globals['_CONNECTREQUEST']._serialized_end=21277 - _globals['_CONNECTRESPONSE']._serialized_start=21280 - _globals['_CONNECTRESPONSE']._serialized_end=21416 - _globals['_ALLOCTIMESTAMPREQUEST']._serialized_start=21418 - _globals['_ALLOCTIMESTAMPREQUEST']._serialized_end=21485 - _globals['_ALLOCTIMESTAMPRESPONSE']._serialized_start=21487 - _globals['_ALLOCTIMESTAMPRESPONSE']._serialized_end=21575 - _globals['_CREATEDATABASEREQUEST']._serialized_start=21577 - _globals['_CREATEDATABASEREQUEST']._serialized_end=21681 - _globals['_DROPDATABASEREQUEST']._serialized_start=21683 - _globals['_DROPDATABASEREQUEST']._serialized_end=21785 - _globals['_LISTDATABASESREQUEST']._serialized_start=21787 - _globals['_LISTDATABASESREQUEST']._serialized_end=21873 - _globals['_LISTDATABASESRESPONSE']._serialized_start=21876 - _globals['_LISTDATABASESRESPONSE']._serialized_end=22009 - _globals['_MILVUSSERVICE']._serialized_start=22255 - _globals['_MILVUSSERVICE']._serialized_end=30404 - _globals['_PROXYSERVICE']._serialized_start=30406 - _globals['_PROXYSERVICE']._serialized_end=30523 + _SHOWTYPE._serialized_start=22277 + _SHOWTYPE._serialized_end=22310 + _OPERATEUSERROLETYPE._serialized_start=22312 + _OPERATEUSERROLETYPE._serialized_end=22376 + _OPERATEPRIVILEGETYPE._serialized_start=22378 + _OPERATEPRIVILEGETYPE._serialized_end=22423 + _QUOTASTATE._serialized_start=22425 + _QUOTASTATE._serialized_end=22518 + _CREATEALIASREQUEST._serialized_start=112 + _CREATEALIASREQUEST._serialized_end=233 + _DROPALIASREQUEST._serialized_start=235 + _DROPALIASREQUEST._serialized_end=329 + _ALTERALIASREQUEST._serialized_start=331 + _ALTERALIASREQUEST._serialized_end=451 + _DESCRIBEALIASREQUEST._serialized_start=453 + _DESCRIBEALIASREQUEST._serialized_end=551 + _DESCRIBEALIASRESPONSE._serialized_start=553 + _DESCRIBEALIASRESPONSE._serialized_end=673 + _LISTALIASESREQUEST._serialized_start=675 + _LISTALIASESREQUEST._serialized_end=781 + _LISTALIASESRESPONSE._serialized_start=783 + _LISTALIASESRESPONSE._serialized_end=908 + _CREATECOLLECTIONREQUEST._serialized_start=911 + _CREATECOLLECTIONREQUEST._serialized_end=1223 + _DROPCOLLECTIONREQUEST._serialized_start=1226 + _DROPCOLLECTIONREQUEST._serialized_end=1355 + _ALTERCOLLECTIONREQUEST._serialized_start=1358 + _ALTERCOLLECTIONREQUEST._serialized_end=1565 + _HASCOLLECTIONREQUEST._serialized_start=1568 + _HASCOLLECTIONREQUEST._serialized_end=1696 + _BOOLRESPONSE._serialized_start=1698 + _BOOLRESPONSE._serialized_end=1772 + _STRINGRESPONSE._serialized_start=1774 + _STRINGRESPONSE._serialized_end=1850 + _DESCRIBECOLLECTIONREQUEST._serialized_start=1853 + _DESCRIBECOLLECTIONREQUEST._serialized_end=2028 + _DESCRIBECOLLECTIONRESPONSE._serialized_start=2031 + _DESCRIBECOLLECTIONRESPONSE._serialized_end=2585 + _LOADCOLLECTIONREQUEST._serialized_start=2588 + _LOADCOLLECTIONREQUEST._serialized_end=2772 + _RELEASECOLLECTIONREQUEST._serialized_start=2774 + _RELEASECOLLECTIONREQUEST._serialized_end=2895 + _GETSTATISTICSREQUEST._serialized_start=2898 + _GETSTATISTICSREQUEST._serialized_end=3069 + _GETSTATISTICSRESPONSE._serialized_start=3071 + _GETSTATISTICSRESPONSE._serialized_end=3189 + _GETCOLLECTIONSTATISTICSREQUEST._serialized_start=3191 + _GETCOLLECTIONSTATISTICSREQUEST._serialized_end=3318 + _GETCOLLECTIONSTATISTICSRESPONSE._serialized_start=3321 + _GETCOLLECTIONSTATISTICSRESPONSE._serialized_end=3449 + _SHOWCOLLECTIONSREQUEST._serialized_start=3452 + _SHOWCOLLECTIONSREQUEST._serialized_end=3648 + _SHOWCOLLECTIONSRESPONSE._serialized_start=3651 + _SHOWCOLLECTIONSRESPONSE._serialized_end=3894 + _CREATEPARTITIONREQUEST._serialized_start=3897 + _CREATEPARTITIONREQUEST._serialized_end=4031 + _DROPPARTITIONREQUEST._serialized_start=4034 + _DROPPARTITIONREQUEST._serialized_end=4166 + _HASPARTITIONREQUEST._serialized_start=4169 + _HASPARTITIONREQUEST._serialized_end=4300 + _LOADPARTITIONSREQUEST._serialized_start=4303 + _LOADPARTITIONSREQUEST._serialized_end=4503 + _RELEASEPARTITIONSREQUEST._serialized_start=4506 + _RELEASEPARTITIONSREQUEST._serialized_end=4643 + _GETPARTITIONSTATISTICSREQUEST._serialized_start=4646 + _GETPARTITIONSTATISTICSREQUEST._serialized_end=4787 + _GETPARTITIONSTATISTICSRESPONSE._serialized_start=4789 + _GETPARTITIONSTATISTICSRESPONSE._serialized_end=4916 + _SHOWPARTITIONSREQUEST._serialized_start=4919 + _SHOWPARTITIONSREQUEST._serialized_end=5120 + _SHOWPARTITIONSRESPONSE._serialized_start=5123 + _SHOWPARTITIONSRESPONSE._serialized_end=5329 + _DESCRIBESEGMENTREQUEST._serialized_start=5331 + _DESCRIBESEGMENTREQUEST._serialized_end=5440 + _DESCRIBESEGMENTRESPONSE._serialized_start=5443 + _DESCRIBESEGMENTRESPONSE._serialized_end=5586 + _SHOWSEGMENTSREQUEST._serialized_start=5588 + _SHOWSEGMENTSREQUEST._serialized_end=5696 + _SHOWSEGMENTSRESPONSE._serialized_start=5698 + _SHOWSEGMENTSRESPONSE._serialized_end=5785 + _CREATEINDEXREQUEST._serialized_start=5788 + _CREATEINDEXREQUEST._serialized_end=6000 + _DESCRIBEINDEXREQUEST._serialized_start=6003 + _DESCRIBEINDEXREQUEST._serialized_end=6179 + _INDEXDESCRIPTION._serialized_start=6182 + _INDEXDESCRIPTION._serialized_end=6459 + _DESCRIBEINDEXRESPONSE._serialized_start=6462 + _DESCRIBEINDEXRESPONSE._serialized_end=6597 + _GETINDEXBUILDPROGRESSREQUEST._serialized_start=6600 + _GETINDEXBUILDPROGRESSREQUEST._serialized_end=6765 + _GETINDEXBUILDPROGRESSRESPONSE._serialized_start=6767 + _GETINDEXBUILDPROGRESSRESPONSE._serialized_end=6885 + _GETINDEXSTATEREQUEST._serialized_start=6888 + _GETINDEXSTATEREQUEST._serialized_end=7045 + _GETINDEXSTATERESPONSE._serialized_start=7048 + _GETINDEXSTATERESPONSE._serialized_end=7185 + _DROPINDEXREQUEST._serialized_start=7188 + _DROPINDEXREQUEST._serialized_end=7341 + _INSERTREQUEST._serialized_start=7344 + _INSERTREQUEST._serialized_end=7568 + _UPSERTREQUEST._serialized_start=7571 + _UPSERTREQUEST._serialized_end=7795 + _MUTATIONRESULT._serialized_start=7798 + _MUTATIONRESULT._serialized_end=8038 + _DELETEREQUEST._serialized_start=8041 + _DELETEREQUEST._serialized_end=8208 + _SEARCHREQUEST._serialized_start=8211 + _SEARCHREQUEST._serialized_end=8742 + _HITS._serialized_start=8744 + _HITS._serialized_end=8797 + _SEARCHRESULTS._serialized_start=8800 + _SEARCHRESULTS._serialized_end=8941 + _FLUSHREQUEST._serialized_start=8943 + _FLUSHREQUEST._serialized_end=9053 + _FLUSHRESPONSE._serialized_start=9056 + _FLUSHRESPONSE._serialized_end=9723 + _FLUSHRESPONSE_COLLSEGIDSENTRY._serialized_start=9448 + _FLUSHRESPONSE_COLLSEGIDSENTRY._serialized_end=9529 + _FLUSHRESPONSE_FLUSHCOLLSEGIDSENTRY._serialized_start=9531 + _FLUSHRESPONSE_FLUSHCOLLSEGIDSENTRY._serialized_end=9617 + _FLUSHRESPONSE_COLLSEALTIMESENTRY._serialized_start=9619 + _FLUSHRESPONSE_COLLSEALTIMESENTRY._serialized_end=9671 + _FLUSHRESPONSE_COLLFLUSHTSENTRY._serialized_start=9673 + _FLUSHRESPONSE_COLLFLUSHTSENTRY._serialized_end=9723 + _QUERYREQUEST._serialized_start=9726 + _QUERYREQUEST._serialized_end=10137 + _QUERYRESULTS._serialized_start=10140 + _QUERYRESULTS._serialized_end=10300 + _VECTORIDS._serialized_start=10302 + _VECTORIDS._serialized_end=10427 + _VECTORSARRAY._serialized_start=10430 + _VECTORSARRAY._serialized_end=10561 + _CALCDISTANCEREQUEST._serialized_start=10564 + _CALCDISTANCEREQUEST._serialized_end=10785 + _CALCDISTANCERESULTS._serialized_start=10788 + _CALCDISTANCERESULTS._serialized_end=10969 + _FLUSHALLREQUEST._serialized_start=10971 + _FLUSHALLREQUEST._serialized_end=11069 + _FLUSHALLRESPONSE._serialized_start=11071 + _FLUSHALLRESPONSE._serialized_end=11156 + _PERSISTENTSEGMENTINFO._serialized_start=11159 + _PERSISTENTSEGMENTINFO._serialized_end=11312 + _GETPERSISTENTSEGMENTINFOREQUEST._serialized_start=11314 + _GETPERSISTENTSEGMENTINFOREQUEST._serialized_end=11431 + _GETPERSISTENTSEGMENTINFORESPONSE._serialized_start=11434 + _GETPERSISTENTSEGMENTINFORESPONSE._serialized_end=11572 + _QUERYSEGMENTINFO._serialized_start=11575 + _QUERYSEGMENTINFO._serialized_end=11811 + _GETQUERYSEGMENTINFOREQUEST._serialized_start=11813 + _GETQUERYSEGMENTINFOREQUEST._serialized_end=11925 + _GETQUERYSEGMENTINFORESPONSE._serialized_start=11928 + _GETQUERYSEGMENTINFORESPONSE._serialized_end=12056 + _DUMMYREQUEST._serialized_start=12058 + _DUMMYREQUEST._serialized_end=12094 + _DUMMYRESPONSE._serialized_start=12096 + _DUMMYRESPONSE._serialized_end=12129 + _REGISTERLINKREQUEST._serialized_start=12131 + _REGISTERLINKREQUEST._serialized_end=12152 + _REGISTERLINKRESPONSE._serialized_start=12154 + _REGISTERLINKRESPONSE._serialized_end=12268 + _GETMETRICSREQUEST._serialized_start=12270 + _GETMETRICSREQUEST._serialized_end=12350 + _GETMETRICSRESPONSE._serialized_start=12352 + _GETMETRICSRESPONSE._serialized_end=12459 + _COMPONENTINFO._serialized_start=12462 + _COMPONENTINFO._serialized_end=12614 + _COMPONENTSTATES._serialized_start=12617 + _COMPONENTSTATES._serialized_end=12795 + _GETCOMPONENTSTATESREQUEST._serialized_start=12797 + _GETCOMPONENTSTATESREQUEST._serialized_end=12824 + _LOADBALANCEREQUEST._serialized_start=12827 + _LOADBALANCEREQUEST._serialized_end=13009 + _MANUALCOMPACTIONREQUEST._serialized_start=13011 + _MANUALCOMPACTIONREQUEST._serialized_end=13087 + _MANUALCOMPACTIONRESPONSE._serialized_start=13089 + _MANUALCOMPACTIONRESPONSE._serialized_end=13211 + _GETCOMPACTIONSTATEREQUEST._serialized_start=13213 + _GETCOMPACTIONSTATEREQUEST._serialized_end=13262 + _GETCOMPACTIONSTATERESPONSE._serialized_start=13265 + _GETCOMPACTIONSTATERESPONSE._serialized_end=13486 + _GETCOMPACTIONPLANSREQUEST._serialized_start=13488 + _GETCOMPACTIONPLANSREQUEST._serialized_end=13537 + _GETCOMPACTIONPLANSRESPONSE._serialized_start=13540 + _GETCOMPACTIONPLANSRESPONSE._serialized_end=13728 + _COMPACTIONMERGEINFO._serialized_start=13730 + _COMPACTIONMERGEINFO._serialized_end=13784 + _GETFLUSHSTATEREQUEST._serialized_start=13786 + _GETFLUSHSTATEREQUEST._serialized_end=13888 + _GETFLUSHSTATERESPONSE._serialized_start=13890 + _GETFLUSHSTATERESPONSE._serialized_end=13975 + _GETFLUSHALLSTATEREQUEST._serialized_start=13977 + _GETFLUSHALLSTATEREQUEST._serialized_end=14085 + _GETFLUSHALLSTATERESPONSE._serialized_start=14087 + _GETFLUSHALLSTATERESPONSE._serialized_end=14175 + _IMPORTREQUEST._serialized_start=14178 + _IMPORTREQUEST._serialized_end=14377 + _IMPORTRESPONSE._serialized_start=14379 + _IMPORTRESPONSE._serialized_end=14455 + _GETIMPORTSTATEREQUEST._serialized_start=14457 + _GETIMPORTSTATEREQUEST._serialized_end=14494 + _GETIMPORTSTATERESPONSE._serialized_start=14497 + _GETIMPORTSTATERESPONSE._serialized_end=14776 + _LISTIMPORTTASKSREQUEST._serialized_start=14778 + _LISTIMPORTTASKSREQUEST._serialized_end=14859 + _LISTIMPORTTASKSRESPONSE._serialized_start=14862 + _LISTIMPORTTASKSRESPONSE._serialized_end=14992 + _GETREPLICASREQUEST._serialized_start=14995 + _GETREPLICASREQUEST._serialized_end=15149 + _GETREPLICASRESPONSE._serialized_start=15151 + _GETREPLICASRESPONSE._serialized_end=15269 + _REPLICAINFO._serialized_start=15272 + _REPLICAINFO._serialized_end=15593 + _REPLICAINFO_NUMOUTBOUNDNODEENTRY._serialized_start=15539 + _REPLICAINFO_NUMOUTBOUNDNODEENTRY._serialized_end=15593 + _SHARDREPLICA._serialized_start=15595 + _SHARDREPLICA._serialized_end=15691 + _CREATECREDENTIALREQUEST._serialized_start=15694 + _CREATECREDENTIALREQUEST._serialized_end=15884 + _UPDATECREDENTIALREQUEST._serialized_start=15887 + _UPDATECREDENTIALREQUEST._serialized_end=16092 + _DELETECREDENTIALREQUEST._serialized_start=16094 + _DELETECREDENTIALREQUEST._serialized_end=16201 + _LISTCREDUSERSRESPONSE._serialized_start=16203 + _LISTCREDUSERSRESPONSE._serialized_end=16290 + _LISTCREDUSERSREQUEST._serialized_start=16292 + _LISTCREDUSERSREQUEST._serialized_end=16378 + _ROLEENTITY._serialized_start=16380 + _ROLEENTITY._serialized_end=16406 + _USERENTITY._serialized_start=16408 + _USERENTITY._serialized_end=16434 + _CREATEROLEREQUEST._serialized_start=16437 + _CREATEROLEREQUEST._serialized_end=16569 + _DROPROLEREQUEST._serialized_start=16571 + _DROPROLEREQUEST._serialized_end=16671 + _OPERATEUSERROLEREQUEST._serialized_start=16674 + _OPERATEUSERROLEREQUEST._serialized_end=16855 + _SELECTROLEREQUEST._serialized_start=16858 + _SELECTROLEREQUEST._serialized_end=17015 + _ROLERESULT._serialized_start=17017 + _ROLERESULT._serialized_end=17124 + _SELECTROLERESPONSE._serialized_start=17126 + _SELECTROLERESPONSE._serialized_end=17241 + _SELECTUSERREQUEST._serialized_start=17244 + _SELECTUSERREQUEST._serialized_end=17392 + _USERRESULT._serialized_start=17394 + _USERRESULT._serialized_end=17501 + _SELECTUSERRESPONSE._serialized_start=17503 + _SELECTUSERRESPONSE._serialized_end=17618 + _OBJECTENTITY._serialized_start=17620 + _OBJECTENTITY._serialized_end=17648 + _PRIVILEGEENTITY._serialized_start=17650 + _PRIVILEGEENTITY._serialized_end=17681 + _GRANTORENTITY._serialized_start=17683 + _GRANTORENTITY._serialized_end=17802 + _GRANTPRIVILEGEENTITY._serialized_start=17804 + _GRANTPRIVILEGEENTITY._serialized_end=17880 + _GRANTENTITY._serialized_start=17883 + _GRANTENTITY._serialized_end=18085 + _SELECTGRANTREQUEST._serialized_start=18088 + _SELECTGRANTREQUEST._serialized_end=18222 + _SELECTGRANTRESPONSE._serialized_start=18224 + _SELECTGRANTRESPONSE._serialized_end=18342 + _OPERATEPRIVILEGEREQUEST._serialized_start=18345 + _OPERATEPRIVILEGEREQUEST._serialized_end=18541 + _GETLOADINGPROGRESSREQUEST._serialized_start=18544 + _GETLOADINGPROGRESSREQUEST._serialized_end=18691 + _GETLOADINGPROGRESSRESPONSE._serialized_start=18693 + _GETLOADINGPROGRESSRESPONSE._serialized_end=18810 + _GETLOADSTATEREQUEST._serialized_start=18813 + _GETLOADSTATEREQUEST._serialized_end=18954 + _GETLOADSTATERESPONSE._serialized_start=18956 + _GETLOADSTATERESPONSE._serialized_end=19070 + _MILVUSEXT._serialized_start=19072 + _MILVUSEXT._serialized_end=19100 + _GETVERSIONREQUEST._serialized_start=19102 + _GETVERSIONREQUEST._serialized_end=19121 + _GETVERSIONRESPONSE._serialized_start=19123 + _GETVERSIONRESPONSE._serialized_end=19205 + _CHECKHEALTHREQUEST._serialized_start=19207 + _CHECKHEALTHREQUEST._serialized_end=19227 + _CHECKHEALTHRESPONSE._serialized_start=19230 + _CHECKHEALTHRESPONSE._serialized_end=19387 + _CREATERESOURCEGROUPREQUEST._serialized_start=19389 + _CREATERESOURCEGROUPREQUEST._serialized_end=19505 + _DROPRESOURCEGROUPREQUEST._serialized_start=19507 + _DROPRESOURCEGROUPREQUEST._serialized_end=19621 + _TRANSFERNODEREQUEST._serialized_start=19624 + _TRANSFERNODEREQUEST._serialized_end=19789 + _TRANSFERREPLICAREQUEST._serialized_start=19792 + _TRANSFERREPLICAREQUEST._serialized_end=20005 + _LISTRESOURCEGROUPSREQUEST._serialized_start=20007 + _LISTRESOURCEGROUPSREQUEST._serialized_end=20098 + _LISTRESOURCEGROUPSRESPONSE._serialized_start=20100 + _LISTRESOURCEGROUPSRESPONSE._serialized_end=20198 + _DESCRIBERESOURCEGROUPREQUEST._serialized_start=20200 + _DESCRIBERESOURCEGROUPREQUEST._serialized_end=20318 + _DESCRIBERESOURCEGROUPRESPONSE._serialized_start=20321 + _DESCRIBERESOURCEGROUPRESPONSE._serialized_end=20457 + _RESOURCEGROUP._serialized_start=20460 + _RESOURCEGROUP._serialized_end=20958 + _RESOURCEGROUP_NUMLOADEDREPLICAENTRY._serialized_start=20791 + _RESOURCEGROUP_NUMLOADEDREPLICAENTRY._serialized_end=20846 + _RESOURCEGROUP_NUMOUTGOINGNODEENTRY._serialized_start=20848 + _RESOURCEGROUP_NUMOUTGOINGNODEENTRY._serialized_end=20902 + _RESOURCEGROUP_NUMINCOMINGNODEENTRY._serialized_start=20904 + _RESOURCEGROUP_NUMINCOMINGNODEENTRY._serialized_end=20958 + _RENAMECOLLECTIONREQUEST._serialized_start=20961 + _RENAMECOLLECTIONREQUEST._serialized_end=21120 + _GETINDEXSTATISTICSREQUEST._serialized_start=21123 + _GETINDEXSTATISTICSREQUEST._serialized_end=21284 + _GETINDEXSTATISTICSRESPONSE._serialized_start=21287 + _GETINDEXSTATISTICSRESPONSE._serialized_end=21427 + _CONNECTREQUEST._serialized_start=21429 + _CONNECTREQUEST._serialized_end=21543 + _CONNECTRESPONSE._serialized_start=21546 + _CONNECTRESPONSE._serialized_end=21682 + _ALLOCTIMESTAMPREQUEST._serialized_start=21684 + _ALLOCTIMESTAMPREQUEST._serialized_end=21751 + _ALLOCTIMESTAMPRESPONSE._serialized_start=21753 + _ALLOCTIMESTAMPRESPONSE._serialized_end=21841 + _CREATEDATABASEREQUEST._serialized_start=21843 + _CREATEDATABASEREQUEST._serialized_end=21947 + _DROPDATABASEREQUEST._serialized_start=21949 + _DROPDATABASEREQUEST._serialized_end=22051 + _LISTDATABASESREQUEST._serialized_start=22053 + _LISTDATABASESREQUEST._serialized_end=22139 + _LISTDATABASESRESPONSE._serialized_start=22142 + _LISTDATABASESRESPONSE._serialized_end=22275 + _MILVUSSERVICE._serialized_start=22521 + _MILVUSSERVICE._serialized_end=30670 + _PROXYSERVICE._serialized_start=30672 + _PROXYSERVICE._serialized_end=30789 # @@protoc_insertion_point(module_scope) diff --git a/pymilvus/grpc_gen/milvus_pb2.pyi b/pymilvus/grpc_gen/milvus_pb2.pyi index d642fe014..ba65dd031 100644 --- a/pymilvus/grpc_gen/milvus_pb2.pyi +++ b/pymilvus/grpc_gen/milvus_pb2.pyi @@ -8,1161 +8,1009 @@ from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union -DESCRIPTOR: _descriptor.FileDescriptor - -class ShowType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - All: _ClassVar[ShowType] - InMemory: _ClassVar[ShowType] - -class OperateUserRoleType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - AddUserToRole: _ClassVar[OperateUserRoleType] - RemoveUserFromRole: _ClassVar[OperateUserRoleType] - -class OperatePrivilegeType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - Grant: _ClassVar[OperatePrivilegeType] - Revoke: _ClassVar[OperatePrivilegeType] - -class QuotaState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - Unknown: _ClassVar[QuotaState] - ReadLimited: _ClassVar[QuotaState] - WriteLimited: _ClassVar[QuotaState] - DenyToRead: _ClassVar[QuotaState] - DenyToWrite: _ClassVar[QuotaState] +AddUserToRole: OperateUserRoleType All: ShowType +DESCRIPTOR: _descriptor.FileDescriptor +DenyToRead: QuotaState +DenyToWrite: QuotaState +Grant: OperatePrivilegeType InMemory: ShowType -AddUserToRole: OperateUserRoleType +MILVUS_EXT_OBJ_FIELD_NUMBER: _ClassVar[int] +ReadLimited: QuotaState RemoveUserFromRole: OperateUserRoleType -Grant: OperatePrivilegeType Revoke: OperatePrivilegeType Unknown: QuotaState -ReadLimited: QuotaState WriteLimited: QuotaState -DenyToRead: QuotaState -DenyToWrite: QuotaState -MILVUS_EXT_OBJ_FIELD_NUMBER: _ClassVar[int] milvus_ext_obj: _descriptor.FieldDescriptor -class CreateAliasRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "alias"] +class AllocTimestampRequest(_message.Message): + __slots__ = ["base"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - ALIAS_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str - collection_name: str - alias: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., alias: _Optional[str] = ...) -> None: ... + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ...) -> None: ... -class DropAliasRequest(_message.Message): - __slots__ = ["base", "db_name", "alias"] - BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - ALIAS_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - db_name: str - alias: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., alias: _Optional[str] = ...) -> None: ... +class AllocTimestampResponse(_message.Message): + __slots__ = ["status", "timestamp"] + STATUS_FIELD_NUMBER: _ClassVar[int] + TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + status: _common_pb2.Status + timestamp: int + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., timestamp: _Optional[int] = ...) -> None: ... class AlterAliasRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "alias"] + __slots__ = ["alias", "base", "collection_name", "db_name"] + ALIAS_FIELD_NUMBER: _ClassVar[int] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - ALIAS_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + alias: str base: _common_pb2.MsgBase - db_name: str collection_name: str - alias: str + db_name: str def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., alias: _Optional[str] = ...) -> None: ... -class DescribeAliasRequest(_message.Message): - __slots__ = ["base", "db_name", "alias"] +class AlterCollectionRequest(_message.Message): + __slots__ = ["base", "collectionID", "collection_name", "db_name", "properties"] BASE_FIELD_NUMBER: _ClassVar[int] + COLLECTIONID_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] - ALIAS_FIELD_NUMBER: _ClassVar[int] + PROPERTIES_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase + collectionID: int + collection_name: str db_name: str - alias: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., alias: _Optional[str] = ...) -> None: ... + properties: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., collectionID: _Optional[int] = ..., properties: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... -class DescribeAliasResponse(_message.Message): - __slots__ = ["status", "db_name", "alias", "collection"] +class BoolResponse(_message.Message): + __slots__ = ["status", "value"] STATUS_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - ALIAS_FIELD_NUMBER: _ClassVar[int] - COLLECTION_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] status: _common_pb2.Status - db_name: str - alias: str - collection: str - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., db_name: _Optional[str] = ..., alias: _Optional[str] = ..., collection: _Optional[str] = ...) -> None: ... + value: bool + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., value: bool = ...) -> None: ... -class ListAliasesRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name"] +class CalcDistanceRequest(_message.Message): + __slots__ = ["base", "op_left", "op_right", "params"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + OP_LEFT_FIELD_NUMBER: _ClassVar[int] + OP_RIGHT_FIELD_NUMBER: _ClassVar[int] + PARAMS_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str - collection_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ...) -> None: ... + op_left: VectorsArray + op_right: VectorsArray + params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., op_left: _Optional[_Union[VectorsArray, _Mapping]] = ..., op_right: _Optional[_Union[VectorsArray, _Mapping]] = ..., params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... -class ListAliasesResponse(_message.Message): - __slots__ = ["status", "db_name", "collection_name", "aliases"] +class CalcDistanceResults(_message.Message): + __slots__ = ["float_dist", "int_dist", "status"] + FLOAT_DIST_FIELD_NUMBER: _ClassVar[int] + INT_DIST_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - ALIASES_FIELD_NUMBER: _ClassVar[int] + float_dist: _schema_pb2.FloatArray + int_dist: _schema_pb2.IntArray status: _common_pb2.Status - db_name: str + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., int_dist: _Optional[_Union[_schema_pb2.IntArray, _Mapping]] = ..., float_dist: _Optional[_Union[_schema_pb2.FloatArray, _Mapping]] = ...) -> None: ... + +class CheckHealthRequest(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class CheckHealthResponse(_message.Message): + __slots__ = ["isHealthy", "quota_states", "reasons", "status"] + ISHEALTHY_FIELD_NUMBER: _ClassVar[int] + QUOTA_STATES_FIELD_NUMBER: _ClassVar[int] + REASONS_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + isHealthy: bool + quota_states: _containers.RepeatedScalarFieldContainer[QuotaState] + reasons: _containers.RepeatedScalarFieldContainer[str] + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., isHealthy: bool = ..., reasons: _Optional[_Iterable[str]] = ..., quota_states: _Optional[_Iterable[_Union[QuotaState, str]]] = ...) -> None: ... + +class CompactionMergeInfo(_message.Message): + __slots__ = ["sources", "target"] + SOURCES_FIELD_NUMBER: _ClassVar[int] + TARGET_FIELD_NUMBER: _ClassVar[int] + sources: _containers.RepeatedScalarFieldContainer[int] + target: int + def __init__(self, sources: _Optional[_Iterable[int]] = ..., target: _Optional[int] = ...) -> None: ... + +class ComponentInfo(_message.Message): + __slots__ = ["extra_info", "nodeID", "role", "state_code"] + EXTRA_INFO_FIELD_NUMBER: _ClassVar[int] + NODEID_FIELD_NUMBER: _ClassVar[int] + ROLE_FIELD_NUMBER: _ClassVar[int] + STATE_CODE_FIELD_NUMBER: _ClassVar[int] + extra_info: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + nodeID: int + role: str + state_code: _common_pb2.StateCode + def __init__(self, nodeID: _Optional[int] = ..., role: _Optional[str] = ..., state_code: _Optional[_Union[_common_pb2.StateCode, str]] = ..., extra_info: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... + +class ComponentStates(_message.Message): + __slots__ = ["state", "status", "subcomponent_states"] + STATE_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + SUBCOMPONENT_STATES_FIELD_NUMBER: _ClassVar[int] + state: ComponentInfo + status: _common_pb2.Status + subcomponent_states: _containers.RepeatedCompositeFieldContainer[ComponentInfo] + def __init__(self, state: _Optional[_Union[ComponentInfo, _Mapping]] = ..., subcomponent_states: _Optional[_Iterable[_Union[ComponentInfo, _Mapping]]] = ..., status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ...) -> None: ... + +class ConnectRequest(_message.Message): + __slots__ = ["base", "client_info"] + BASE_FIELD_NUMBER: _ClassVar[int] + CLIENT_INFO_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + client_info: _common_pb2.ClientInfo + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., client_info: _Optional[_Union[_common_pb2.ClientInfo, _Mapping]] = ...) -> None: ... + +class ConnectResponse(_message.Message): + __slots__ = ["identifier", "server_info", "status"] + IDENTIFIER_FIELD_NUMBER: _ClassVar[int] + SERVER_INFO_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + identifier: int + server_info: _common_pb2.ServerInfo + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., server_info: _Optional[_Union[_common_pb2.ServerInfo, _Mapping]] = ..., identifier: _Optional[int] = ...) -> None: ... + +class CreateAliasRequest(_message.Message): + __slots__ = ["alias", "base", "collection_name", "db_name"] + ALIAS_FIELD_NUMBER: _ClassVar[int] + BASE_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + alias: str + base: _common_pb2.MsgBase collection_name: str - aliases: _containers.RepeatedScalarFieldContainer[str] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., aliases: _Optional[_Iterable[str]] = ...) -> None: ... + db_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., alias: _Optional[str] = ...) -> None: ... class CreateCollectionRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "schema", "shards_num", "consistency_level", "properties", "num_partitions"] + __slots__ = ["base", "collection_name", "consistency_level", "db_name", "num_partitions", "properties", "schema", "shards_num"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - SCHEMA_FIELD_NUMBER: _ClassVar[int] - SHARDS_NUM_FIELD_NUMBER: _ClassVar[int] CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int] - PROPERTIES_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] NUM_PARTITIONS_FIELD_NUMBER: _ClassVar[int] + PROPERTIES_FIELD_NUMBER: _ClassVar[int] + SCHEMA_FIELD_NUMBER: _ClassVar[int] + SHARDS_NUM_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str collection_name: str - schema: bytes - shards_num: int consistency_level: _common_pb2.ConsistencyLevel - properties: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + db_name: str num_partitions: int + properties: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + schema: bytes + shards_num: int def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., schema: _Optional[bytes] = ..., shards_num: _Optional[int] = ..., consistency_level: _Optional[_Union[_common_pb2.ConsistencyLevel, str]] = ..., properties: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., num_partitions: _Optional[int] = ...) -> None: ... -class DropCollectionRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name"] +class CreateCredentialRequest(_message.Message): + __slots__ = ["base", "created_utc_timestamps", "modified_utc_timestamps", "password", "username"] + BASE_FIELD_NUMBER: _ClassVar[int] + CREATED_UTC_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] + MODIFIED_UTC_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] + PASSWORD_FIELD_NUMBER: _ClassVar[int] + USERNAME_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + created_utc_timestamps: int + modified_utc_timestamps: int + password: str + username: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., username: _Optional[str] = ..., password: _Optional[str] = ..., created_utc_timestamps: _Optional[int] = ..., modified_utc_timestamps: _Optional[int] = ...) -> None: ... + +class CreateDatabaseRequest(_message.Message): + __slots__ = ["base", "db_name"] BASE_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase db_name: str - collection_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ...) -> None: ... + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ...) -> None: ... -class AlterCollectionRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "collectionID", "properties"] +class CreateIndexRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "extra_params", "field_name", "index_name"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTIONID_FIELD_NUMBER: _ClassVar[int] - PROPERTIES_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + EXTRA_PARAMS_FIELD_NUMBER: _ClassVar[int] + FIELD_NAME_FIELD_NUMBER: _ClassVar[int] + INDEX_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str collection_name: str - collectionID: int - properties: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., collectionID: _Optional[int] = ..., properties: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... + db_name: str + extra_params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + field_name: str + index_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., field_name: _Optional[str] = ..., extra_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., index_name: _Optional[str] = ...) -> None: ... -class HasCollectionRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "time_stamp"] +class CreatePartitionRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "partition_name"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - TIME_STAMP_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str collection_name: str - time_stamp: int - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., time_stamp: _Optional[int] = ...) -> None: ... + db_name: str + partition_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ...) -> None: ... -class BoolResponse(_message.Message): - __slots__ = ["status", "value"] - STATUS_FIELD_NUMBER: _ClassVar[int] - VALUE_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - value: bool - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., value: bool = ...) -> None: ... +class CreateResourceGroupRequest(_message.Message): + __slots__ = ["base", "resource_group"] + BASE_FIELD_NUMBER: _ClassVar[int] + RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + resource_group: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., resource_group: _Optional[str] = ...) -> None: ... -class StringResponse(_message.Message): - __slots__ = ["status", "value"] +class CreateRoleRequest(_message.Message): + __slots__ = ["base", "entity"] + BASE_FIELD_NUMBER: _ClassVar[int] + ENTITY_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + entity: RoleEntity + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., entity: _Optional[_Union[RoleEntity, _Mapping]] = ...) -> None: ... + +class DeleteCredentialRequest(_message.Message): + __slots__ = ["base", "username"] + BASE_FIELD_NUMBER: _ClassVar[int] + USERNAME_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + username: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., username: _Optional[str] = ...) -> None: ... + +class DeleteRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "expr", "hash_keys", "partition_name"] + BASE_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + EXPR_FIELD_NUMBER: _ClassVar[int] + HASH_KEYS_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + collection_name: str + db_name: str + expr: str + hash_keys: _containers.RepeatedScalarFieldContainer[int] + partition_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ..., expr: _Optional[str] = ..., hash_keys: _Optional[_Iterable[int]] = ...) -> None: ... + +class DescribeAliasRequest(_message.Message): + __slots__ = ["alias", "base", "db_name"] + ALIAS_FIELD_NUMBER: _ClassVar[int] + BASE_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + alias: str + base: _common_pb2.MsgBase + db_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., alias: _Optional[str] = ...) -> None: ... + +class DescribeAliasResponse(_message.Message): + __slots__ = ["alias", "collection", "db_name", "status"] + ALIAS_FIELD_NUMBER: _ClassVar[int] + COLLECTION_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - VALUE_FIELD_NUMBER: _ClassVar[int] + alias: str + collection: str + db_name: str status: _common_pb2.Status - value: str - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., value: _Optional[str] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., db_name: _Optional[str] = ..., alias: _Optional[str] = ..., collection: _Optional[str] = ...) -> None: ... class DescribeCollectionRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "collectionID", "time_stamp"] + __slots__ = ["base", "collectionID", "collection_name", "db_name", "time_stamp"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTIONID_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] TIME_STAMP_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str - collection_name: str collectionID: int + collection_name: str + db_name: str time_stamp: int def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., collectionID: _Optional[int] = ..., time_stamp: _Optional[int] = ...) -> None: ... class DescribeCollectionResponse(_message.Message): - __slots__ = ["status", "schema", "collectionID", "virtual_channel_names", "physical_channel_names", "created_timestamp", "created_utc_timestamp", "shards_num", "aliases", "start_positions", "consistency_level", "collection_name", "properties", "db_name", "num_partitions"] - STATUS_FIELD_NUMBER: _ClassVar[int] - SCHEMA_FIELD_NUMBER: _ClassVar[int] + __slots__ = ["aliases", "collectionID", "collection_name", "consistency_level", "created_timestamp", "created_utc_timestamp", "db_name", "num_partitions", "physical_channel_names", "properties", "schema", "shards_num", "start_positions", "status", "virtual_channel_names"] + ALIASES_FIELD_NUMBER: _ClassVar[int] COLLECTIONID_FIELD_NUMBER: _ClassVar[int] - VIRTUAL_CHANNEL_NAMES_FIELD_NUMBER: _ClassVar[int] - PHYSICAL_CHANNEL_NAMES_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int] CREATED_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] CREATED_UTC_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] - SHARDS_NUM_FIELD_NUMBER: _ClassVar[int] - ALIASES_FIELD_NUMBER: _ClassVar[int] - START_POSITIONS_FIELD_NUMBER: _ClassVar[int] - CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - PROPERTIES_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] NUM_PARTITIONS_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - schema: _schema_pb2.CollectionSchema + PHYSICAL_CHANNEL_NAMES_FIELD_NUMBER: _ClassVar[int] + PROPERTIES_FIELD_NUMBER: _ClassVar[int] + SCHEMA_FIELD_NUMBER: _ClassVar[int] + SHARDS_NUM_FIELD_NUMBER: _ClassVar[int] + START_POSITIONS_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + VIRTUAL_CHANNEL_NAMES_FIELD_NUMBER: _ClassVar[int] + aliases: _containers.RepeatedScalarFieldContainer[str] collectionID: int - virtual_channel_names: _containers.RepeatedScalarFieldContainer[str] - physical_channel_names: _containers.RepeatedScalarFieldContainer[str] + collection_name: str + consistency_level: _common_pb2.ConsistencyLevel created_timestamp: int created_utc_timestamp: int - shards_num: int - aliases: _containers.RepeatedScalarFieldContainer[str] - start_positions: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyDataPair] - consistency_level: _common_pb2.ConsistencyLevel - collection_name: str - properties: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] db_name: str num_partitions: int + physical_channel_names: _containers.RepeatedScalarFieldContainer[str] + properties: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + schema: _schema_pb2.CollectionSchema + shards_num: int + start_positions: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyDataPair] + status: _common_pb2.Status + virtual_channel_names: _containers.RepeatedScalarFieldContainer[str] def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., schema: _Optional[_Union[_schema_pb2.CollectionSchema, _Mapping]] = ..., collectionID: _Optional[int] = ..., virtual_channel_names: _Optional[_Iterable[str]] = ..., physical_channel_names: _Optional[_Iterable[str]] = ..., created_timestamp: _Optional[int] = ..., created_utc_timestamp: _Optional[int] = ..., shards_num: _Optional[int] = ..., aliases: _Optional[_Iterable[str]] = ..., start_positions: _Optional[_Iterable[_Union[_common_pb2.KeyDataPair, _Mapping]]] = ..., consistency_level: _Optional[_Union[_common_pb2.ConsistencyLevel, str]] = ..., collection_name: _Optional[str] = ..., properties: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., db_name: _Optional[str] = ..., num_partitions: _Optional[int] = ...) -> None: ... -class LoadCollectionRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "replica_number", "resource_groups", "refresh"] +class DescribeIndexRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "field_name", "index_name", "timestamp"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - REPLICA_NUMBER_FIELD_NUMBER: _ClassVar[int] - RESOURCE_GROUPS_FIELD_NUMBER: _ClassVar[int] - REFRESH_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - db_name: str - collection_name: str - replica_number: int - resource_groups: _containers.RepeatedScalarFieldContainer[str] - refresh: bool - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., replica_number: _Optional[int] = ..., resource_groups: _Optional[_Iterable[str]] = ..., refresh: bool = ...) -> None: ... - -class ReleaseCollectionRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name"] - BASE_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + FIELD_NAME_FIELD_NUMBER: _ClassVar[int] + INDEX_NAME_FIELD_NUMBER: _ClassVar[int] + TIMESTAMP_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str collection_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ...) -> None: ... - -class GetStatisticsRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "partition_names", "guarantee_timestamp"] - BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] - GUARANTEE_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase db_name: str - collection_name: str - partition_names: _containers.RepeatedScalarFieldContainer[str] - guarantee_timestamp: int - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ..., guarantee_timestamp: _Optional[int] = ...) -> None: ... + field_name: str + index_name: str + timestamp: int + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., field_name: _Optional[str] = ..., index_name: _Optional[str] = ..., timestamp: _Optional[int] = ...) -> None: ... -class GetStatisticsResponse(_message.Message): - __slots__ = ["status", "stats"] +class DescribeIndexResponse(_message.Message): + __slots__ = ["index_descriptions", "status"] + INDEX_DESCRIPTIONS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - STATS_FIELD_NUMBER: _ClassVar[int] + index_descriptions: _containers.RepeatedCompositeFieldContainer[IndexDescription] status: _common_pb2.Status - stats: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., stats: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., index_descriptions: _Optional[_Iterable[_Union[IndexDescription, _Mapping]]] = ...) -> None: ... -class GetCollectionStatisticsRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name"] +class DescribeResourceGroupRequest(_message.Message): + __slots__ = ["base", "resource_group"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str - collection_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ...) -> None: ... + resource_group: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., resource_group: _Optional[str] = ...) -> None: ... -class GetCollectionStatisticsResponse(_message.Message): - __slots__ = ["status", "stats"] +class DescribeResourceGroupResponse(_message.Message): + __slots__ = ["resource_group", "status"] + RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - STATS_FIELD_NUMBER: _ClassVar[int] + resource_group: ResourceGroup status: _common_pb2.Status - stats: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., stats: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., resource_group: _Optional[_Union[ResourceGroup, _Mapping]] = ...) -> None: ... -class ShowCollectionsRequest(_message.Message): - __slots__ = ["base", "db_name", "time_stamp", "type", "collection_names"] +class DescribeSegmentRequest(_message.Message): + __slots__ = ["base", "collectionID", "segmentID"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - TIME_STAMP_FIELD_NUMBER: _ClassVar[int] - TYPE_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAMES_FIELD_NUMBER: _ClassVar[int] + COLLECTIONID_FIELD_NUMBER: _ClassVar[int] + SEGMENTID_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str - time_stamp: int - type: ShowType - collection_names: _containers.RepeatedScalarFieldContainer[str] - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., time_stamp: _Optional[int] = ..., type: _Optional[_Union[ShowType, str]] = ..., collection_names: _Optional[_Iterable[str]] = ...) -> None: ... + collectionID: int + segmentID: int + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., collectionID: _Optional[int] = ..., segmentID: _Optional[int] = ...) -> None: ... -class ShowCollectionsResponse(_message.Message): - __slots__ = ["status", "collection_names", "collection_ids", "created_timestamps", "created_utc_timestamps", "inMemory_percentages", "query_service_available"] +class DescribeSegmentResponse(_message.Message): + __slots__ = ["buildID", "enable_index", "fieldID", "indexID", "status"] + BUILDID_FIELD_NUMBER: _ClassVar[int] + ENABLE_INDEX_FIELD_NUMBER: _ClassVar[int] + FIELDID_FIELD_NUMBER: _ClassVar[int] + INDEXID_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAMES_FIELD_NUMBER: _ClassVar[int] - COLLECTION_IDS_FIELD_NUMBER: _ClassVar[int] - CREATED_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] - CREATED_UTC_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] - INMEMORY_PERCENTAGES_FIELD_NUMBER: _ClassVar[int] - QUERY_SERVICE_AVAILABLE_FIELD_NUMBER: _ClassVar[int] + buildID: int + enable_index: bool + fieldID: int + indexID: int status: _common_pb2.Status - collection_names: _containers.RepeatedScalarFieldContainer[str] - collection_ids: _containers.RepeatedScalarFieldContainer[int] - created_timestamps: _containers.RepeatedScalarFieldContainer[int] - created_utc_timestamps: _containers.RepeatedScalarFieldContainer[int] - inMemory_percentages: _containers.RepeatedScalarFieldContainer[int] - query_service_available: _containers.RepeatedScalarFieldContainer[bool] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., collection_names: _Optional[_Iterable[str]] = ..., collection_ids: _Optional[_Iterable[int]] = ..., created_timestamps: _Optional[_Iterable[int]] = ..., created_utc_timestamps: _Optional[_Iterable[int]] = ..., inMemory_percentages: _Optional[_Iterable[int]] = ..., query_service_available: _Optional[_Iterable[bool]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., indexID: _Optional[int] = ..., buildID: _Optional[int] = ..., enable_index: bool = ..., fieldID: _Optional[int] = ...) -> None: ... -class CreatePartitionRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "partition_name"] +class DropAliasRequest(_message.Message): + __slots__ = ["alias", "base", "db_name"] + ALIAS_FIELD_NUMBER: _ClassVar[int] BASE_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] + alias: str base: _common_pb2.MsgBase db_name: str - collection_name: str - partition_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ...) -> None: ... + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., alias: _Optional[str] = ...) -> None: ... -class DropPartitionRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "partition_name"] +class DropCollectionRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str collection_name: str - partition_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ...) -> None: ... + db_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ...) -> None: ... -class HasPartitionRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "partition_name"] +class DropDatabaseRequest(_message.Message): + __slots__ = ["base", "db_name"] BASE_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase db_name: str - collection_name: str - partition_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ...) -> None: ... + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ...) -> None: ... -class LoadPartitionsRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "partition_names", "replica_number", "resource_groups", "refresh"] +class DropIndexRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "field_name", "index_name"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] - REPLICA_NUMBER_FIELD_NUMBER: _ClassVar[int] - RESOURCE_GROUPS_FIELD_NUMBER: _ClassVar[int] - REFRESH_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + FIELD_NAME_FIELD_NUMBER: _ClassVar[int] + INDEX_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str collection_name: str - partition_names: _containers.RepeatedScalarFieldContainer[str] - replica_number: int - resource_groups: _containers.RepeatedScalarFieldContainer[str] - refresh: bool - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ..., replica_number: _Optional[int] = ..., resource_groups: _Optional[_Iterable[str]] = ..., refresh: bool = ...) -> None: ... - -class ReleasePartitionsRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "partition_names"] - BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase db_name: str - collection_name: str - partition_names: _containers.RepeatedScalarFieldContainer[str] - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ...) -> None: ... + field_name: str + index_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., field_name: _Optional[str] = ..., index_name: _Optional[str] = ...) -> None: ... -class GetPartitionStatisticsRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "partition_name"] +class DropPartitionRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "partition_name"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str collection_name: str + db_name: str partition_name: str def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ...) -> None: ... -class GetPartitionStatisticsResponse(_message.Message): - __slots__ = ["status", "stats"] - STATUS_FIELD_NUMBER: _ClassVar[int] - STATS_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - stats: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., stats: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... - -class ShowPartitionsRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "collectionID", "partition_names", "type"] +class DropResourceGroupRequest(_message.Message): + __slots__ = ["base", "resource_group"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTIONID_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] - TYPE_FIELD_NUMBER: _ClassVar[int] + RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str - collection_name: str - collectionID: int - partition_names: _containers.RepeatedScalarFieldContainer[str] - type: ShowType - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., collectionID: _Optional[int] = ..., partition_names: _Optional[_Iterable[str]] = ..., type: _Optional[_Union[ShowType, str]] = ...) -> None: ... - -class ShowPartitionsResponse(_message.Message): - __slots__ = ["status", "partition_names", "partitionIDs", "created_timestamps", "created_utc_timestamps", "inMemory_percentages"] - STATUS_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] - PARTITIONIDS_FIELD_NUMBER: _ClassVar[int] - CREATED_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] - CREATED_UTC_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] - INMEMORY_PERCENTAGES_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - partition_names: _containers.RepeatedScalarFieldContainer[str] - partitionIDs: _containers.RepeatedScalarFieldContainer[int] - created_timestamps: _containers.RepeatedScalarFieldContainer[int] - created_utc_timestamps: _containers.RepeatedScalarFieldContainer[int] - inMemory_percentages: _containers.RepeatedScalarFieldContainer[int] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., partition_names: _Optional[_Iterable[str]] = ..., partitionIDs: _Optional[_Iterable[int]] = ..., created_timestamps: _Optional[_Iterable[int]] = ..., created_utc_timestamps: _Optional[_Iterable[int]] = ..., inMemory_percentages: _Optional[_Iterable[int]] = ...) -> None: ... + resource_group: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., resource_group: _Optional[str] = ...) -> None: ... -class DescribeSegmentRequest(_message.Message): - __slots__ = ["base", "collectionID", "segmentID"] +class DropRoleRequest(_message.Message): + __slots__ = ["base", "role_name"] BASE_FIELD_NUMBER: _ClassVar[int] - COLLECTIONID_FIELD_NUMBER: _ClassVar[int] - SEGMENTID_FIELD_NUMBER: _ClassVar[int] + ROLE_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - collectionID: int - segmentID: int - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., collectionID: _Optional[int] = ..., segmentID: _Optional[int] = ...) -> None: ... + role_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., role_name: _Optional[str] = ...) -> None: ... -class DescribeSegmentResponse(_message.Message): - __slots__ = ["status", "indexID", "buildID", "enable_index", "fieldID"] - STATUS_FIELD_NUMBER: _ClassVar[int] - INDEXID_FIELD_NUMBER: _ClassVar[int] - BUILDID_FIELD_NUMBER: _ClassVar[int] - ENABLE_INDEX_FIELD_NUMBER: _ClassVar[int] - FIELDID_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - indexID: int - buildID: int - enable_index: bool - fieldID: int - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., indexID: _Optional[int] = ..., buildID: _Optional[int] = ..., enable_index: bool = ..., fieldID: _Optional[int] = ...) -> None: ... +class DummyRequest(_message.Message): + __slots__ = ["request_type"] + REQUEST_TYPE_FIELD_NUMBER: _ClassVar[int] + request_type: str + def __init__(self, request_type: _Optional[str] = ...) -> None: ... -class ShowSegmentsRequest(_message.Message): - __slots__ = ["base", "collectionID", "partitionID"] +class DummyResponse(_message.Message): + __slots__ = ["response"] + RESPONSE_FIELD_NUMBER: _ClassVar[int] + response: str + def __init__(self, response: _Optional[str] = ...) -> None: ... + +class FlushAllRequest(_message.Message): + __slots__ = ["base", "db_name"] BASE_FIELD_NUMBER: _ClassVar[int] - COLLECTIONID_FIELD_NUMBER: _ClassVar[int] - PARTITIONID_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - collectionID: int - partitionID: int - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., collectionID: _Optional[int] = ..., partitionID: _Optional[int] = ...) -> None: ... + db_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ...) -> None: ... -class ShowSegmentsResponse(_message.Message): - __slots__ = ["status", "segmentIDs"] +class FlushAllResponse(_message.Message): + __slots__ = ["flush_all_ts", "status"] + FLUSH_ALL_TS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - SEGMENTIDS_FIELD_NUMBER: _ClassVar[int] + flush_all_ts: int status: _common_pb2.Status - segmentIDs: _containers.RepeatedScalarFieldContainer[int] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., segmentIDs: _Optional[_Iterable[int]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., flush_all_ts: _Optional[int] = ...) -> None: ... -class CreateIndexRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "field_name", "extra_params", "index_name"] +class FlushRequest(_message.Message): + __slots__ = ["base", "collection_names", "db_name"] BASE_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAMES_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - FIELD_NAME_FIELD_NUMBER: _ClassVar[int] - EXTRA_PARAMS_FIELD_NUMBER: _ClassVar[int] - INDEX_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase + collection_names: _containers.RepeatedScalarFieldContainer[str] db_name: str - collection_name: str - field_name: str - extra_params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - index_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., field_name: _Optional[str] = ..., extra_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., index_name: _Optional[str] = ...) -> None: ... + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_names: _Optional[_Iterable[str]] = ...) -> None: ... -class DescribeIndexRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "field_name", "index_name", "timestamp"] - BASE_FIELD_NUMBER: _ClassVar[int] +class FlushResponse(_message.Message): + __slots__ = ["coll_flush_ts", "coll_seal_times", "coll_segIDs", "db_name", "flush_coll_segIDs", "status"] + class CollFlushTsEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: int + def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ... + class CollSealTimesEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: int + def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ... + class CollSegIDsEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: _schema_pb2.LongArray + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_schema_pb2.LongArray, _Mapping]] = ...) -> None: ... + class FlushCollSegIDsEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: _schema_pb2.LongArray + def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_schema_pb2.LongArray, _Mapping]] = ...) -> None: ... + COLL_FLUSH_TS_FIELD_NUMBER: _ClassVar[int] + COLL_SEAL_TIMES_FIELD_NUMBER: _ClassVar[int] + COLL_SEGIDS_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - FIELD_NAME_FIELD_NUMBER: _ClassVar[int] - INDEX_NAME_FIELD_NUMBER: _ClassVar[int] - TIMESTAMP_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - db_name: str - collection_name: str - field_name: str - index_name: str - timestamp: int - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., field_name: _Optional[str] = ..., index_name: _Optional[str] = ..., timestamp: _Optional[int] = ...) -> None: ... - -class IndexDescription(_message.Message): - __slots__ = ["index_name", "indexID", "params", "field_name", "indexed_rows", "total_rows", "state", "index_state_fail_reason", "pending_index_rows"] - INDEX_NAME_FIELD_NUMBER: _ClassVar[int] - INDEXID_FIELD_NUMBER: _ClassVar[int] - PARAMS_FIELD_NUMBER: _ClassVar[int] - FIELD_NAME_FIELD_NUMBER: _ClassVar[int] - INDEXED_ROWS_FIELD_NUMBER: _ClassVar[int] - TOTAL_ROWS_FIELD_NUMBER: _ClassVar[int] - STATE_FIELD_NUMBER: _ClassVar[int] - INDEX_STATE_FAIL_REASON_FIELD_NUMBER: _ClassVar[int] - PENDING_INDEX_ROWS_FIELD_NUMBER: _ClassVar[int] - index_name: str - indexID: int - params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - field_name: str - indexed_rows: int - total_rows: int - state: _common_pb2.IndexState - index_state_fail_reason: str - pending_index_rows: int - def __init__(self, index_name: _Optional[str] = ..., indexID: _Optional[int] = ..., params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., field_name: _Optional[str] = ..., indexed_rows: _Optional[int] = ..., total_rows: _Optional[int] = ..., state: _Optional[_Union[_common_pb2.IndexState, str]] = ..., index_state_fail_reason: _Optional[str] = ..., pending_index_rows: _Optional[int] = ...) -> None: ... - -class DescribeIndexResponse(_message.Message): - __slots__ = ["status", "index_descriptions"] + FLUSH_COLL_SEGIDS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - INDEX_DESCRIPTIONS_FIELD_NUMBER: _ClassVar[int] + coll_flush_ts: _containers.ScalarMap[str, int] + coll_seal_times: _containers.ScalarMap[str, int] + coll_segIDs: _containers.MessageMap[str, _schema_pb2.LongArray] + db_name: str + flush_coll_segIDs: _containers.MessageMap[str, _schema_pb2.LongArray] status: _common_pb2.Status - index_descriptions: _containers.RepeatedCompositeFieldContainer[IndexDescription] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., index_descriptions: _Optional[_Iterable[_Union[IndexDescription, _Mapping]]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., db_name: _Optional[str] = ..., coll_segIDs: _Optional[_Mapping[str, _schema_pb2.LongArray]] = ..., flush_coll_segIDs: _Optional[_Mapping[str, _schema_pb2.LongArray]] = ..., coll_seal_times: _Optional[_Mapping[str, int]] = ..., coll_flush_ts: _Optional[_Mapping[str, int]] = ...) -> None: ... -class GetIndexBuildProgressRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "field_name", "index_name"] +class GetCollectionStatisticsRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - FIELD_NAME_FIELD_NUMBER: _ClassVar[int] - INDEX_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str collection_name: str - field_name: str - index_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., field_name: _Optional[str] = ..., index_name: _Optional[str] = ...) -> None: ... + db_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ...) -> None: ... -class GetIndexBuildProgressResponse(_message.Message): - __slots__ = ["status", "indexed_rows", "total_rows"] +class GetCollectionStatisticsResponse(_message.Message): + __slots__ = ["stats", "status"] + STATS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - INDEXED_ROWS_FIELD_NUMBER: _ClassVar[int] - TOTAL_ROWS_FIELD_NUMBER: _ClassVar[int] + stats: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] status: _common_pb2.Status - indexed_rows: int - total_rows: int - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., indexed_rows: _Optional[int] = ..., total_rows: _Optional[int] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., stats: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... -class GetIndexStateRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "field_name", "index_name"] - BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - FIELD_NAME_FIELD_NUMBER: _ClassVar[int] - INDEX_NAME_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - db_name: str - collection_name: str - field_name: str - index_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., field_name: _Optional[str] = ..., index_name: _Optional[str] = ...) -> None: ... +class GetCompactionPlansRequest(_message.Message): + __slots__ = ["compactionID"] + COMPACTIONID_FIELD_NUMBER: _ClassVar[int] + compactionID: int + def __init__(self, compactionID: _Optional[int] = ...) -> None: ... -class GetIndexStateResponse(_message.Message): - __slots__ = ["status", "state", "fail_reason"] - STATUS_FIELD_NUMBER: _ClassVar[int] +class GetCompactionPlansResponse(_message.Message): + __slots__ = ["mergeInfos", "state", "status"] + MERGEINFOS_FIELD_NUMBER: _ClassVar[int] STATE_FIELD_NUMBER: _ClassVar[int] - FAIL_REASON_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + mergeInfos: _containers.RepeatedCompositeFieldContainer[CompactionMergeInfo] + state: _common_pb2.CompactionState status: _common_pb2.Status - state: _common_pb2.IndexState - fail_reason: str - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., state: _Optional[_Union[_common_pb2.IndexState, str]] = ..., fail_reason: _Optional[str] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., state: _Optional[_Union[_common_pb2.CompactionState, str]] = ..., mergeInfos: _Optional[_Iterable[_Union[CompactionMergeInfo, _Mapping]]] = ...) -> None: ... -class DropIndexRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "field_name", "index_name"] +class GetCompactionStateRequest(_message.Message): + __slots__ = ["compactionID"] + COMPACTIONID_FIELD_NUMBER: _ClassVar[int] + compactionID: int + def __init__(self, compactionID: _Optional[int] = ...) -> None: ... + +class GetCompactionStateResponse(_message.Message): + __slots__ = ["completedPlanNo", "executingPlanNo", "failedPlanNo", "state", "status", "timeoutPlanNo"] + COMPLETEDPLANNO_FIELD_NUMBER: _ClassVar[int] + EXECUTINGPLANNO_FIELD_NUMBER: _ClassVar[int] + FAILEDPLANNO_FIELD_NUMBER: _ClassVar[int] + STATE_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + TIMEOUTPLANNO_FIELD_NUMBER: _ClassVar[int] + completedPlanNo: int + executingPlanNo: int + failedPlanNo: int + state: _common_pb2.CompactionState + status: _common_pb2.Status + timeoutPlanNo: int + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., state: _Optional[_Union[_common_pb2.CompactionState, str]] = ..., executingPlanNo: _Optional[int] = ..., timeoutPlanNo: _Optional[int] = ..., completedPlanNo: _Optional[int] = ..., failedPlanNo: _Optional[int] = ...) -> None: ... + +class GetComponentStatesRequest(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class GetFlushAllStateRequest(_message.Message): + __slots__ = ["base", "db_name", "flush_all_ts"] BASE_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] + FLUSH_ALL_TS_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + db_name: str + flush_all_ts: int + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., flush_all_ts: _Optional[int] = ..., db_name: _Optional[str] = ...) -> None: ... + +class GetFlushAllStateResponse(_message.Message): + __slots__ = ["flushed", "status"] + FLUSHED_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + flushed: bool + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., flushed: bool = ...) -> None: ... + +class GetFlushStateRequest(_message.Message): + __slots__ = ["collection_name", "db_name", "flush_ts", "segmentIDs"] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + FLUSH_TS_FIELD_NUMBER: _ClassVar[int] + SEGMENTIDS_FIELD_NUMBER: _ClassVar[int] + collection_name: str + db_name: str + flush_ts: int + segmentIDs: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, segmentIDs: _Optional[_Iterable[int]] = ..., flush_ts: _Optional[int] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ...) -> None: ... + +class GetFlushStateResponse(_message.Message): + __slots__ = ["flushed", "status"] + FLUSHED_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + flushed: bool + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., flushed: bool = ...) -> None: ... + +class GetImportStateRequest(_message.Message): + __slots__ = ["task"] + TASK_FIELD_NUMBER: _ClassVar[int] + task: int + def __init__(self, task: _Optional[int] = ...) -> None: ... + +class GetImportStateResponse(_message.Message): + __slots__ = ["collection_id", "create_ts", "id", "id_list", "infos", "row_count", "segment_ids", "state", "status"] + COLLECTION_ID_FIELD_NUMBER: _ClassVar[int] + CREATE_TS_FIELD_NUMBER: _ClassVar[int] + ID_FIELD_NUMBER: _ClassVar[int] + ID_LIST_FIELD_NUMBER: _ClassVar[int] + INFOS_FIELD_NUMBER: _ClassVar[int] + ROW_COUNT_FIELD_NUMBER: _ClassVar[int] + SEGMENT_IDS_FIELD_NUMBER: _ClassVar[int] + STATE_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + collection_id: int + create_ts: int + id: int + id_list: _containers.RepeatedScalarFieldContainer[int] + infos: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + row_count: int + segment_ids: _containers.RepeatedScalarFieldContainer[int] + state: _common_pb2.ImportState + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., state: _Optional[_Union[_common_pb2.ImportState, str]] = ..., row_count: _Optional[int] = ..., id_list: _Optional[_Iterable[int]] = ..., infos: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., id: _Optional[int] = ..., collection_id: _Optional[int] = ..., segment_ids: _Optional[_Iterable[int]] = ..., create_ts: _Optional[int] = ...) -> None: ... + +class GetIndexBuildProgressRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "field_name", "index_name"] + BASE_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] FIELD_NAME_FIELD_NUMBER: _ClassVar[int] INDEX_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str collection_name: str + db_name: str field_name: str index_name: str def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., field_name: _Optional[str] = ..., index_name: _Optional[str] = ...) -> None: ... -class InsertRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "partition_name", "fields_data", "hash_keys", "num_rows"] +class GetIndexBuildProgressResponse(_message.Message): + __slots__ = ["indexed_rows", "status", "total_rows"] + INDEXED_ROWS_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + TOTAL_ROWS_FIELD_NUMBER: _ClassVar[int] + indexed_rows: int + status: _common_pb2.Status + total_rows: int + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., indexed_rows: _Optional[int] = ..., total_rows: _Optional[int] = ...) -> None: ... + +class GetIndexStateRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "field_name", "index_name"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] - FIELDS_DATA_FIELD_NUMBER: _ClassVar[int] - HASH_KEYS_FIELD_NUMBER: _ClassVar[int] - NUM_ROWS_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + FIELD_NAME_FIELD_NUMBER: _ClassVar[int] + INDEX_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str collection_name: str - partition_name: str - fields_data: _containers.RepeatedCompositeFieldContainer[_schema_pb2.FieldData] - hash_keys: _containers.RepeatedScalarFieldContainer[int] - num_rows: int - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ..., fields_data: _Optional[_Iterable[_Union[_schema_pb2.FieldData, _Mapping]]] = ..., hash_keys: _Optional[_Iterable[int]] = ..., num_rows: _Optional[int] = ...) -> None: ... + db_name: str + field_name: str + index_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., field_name: _Optional[str] = ..., index_name: _Optional[str] = ...) -> None: ... -class UpsertRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "partition_name", "fields_data", "hash_keys", "num_rows"] +class GetIndexStateResponse(_message.Message): + __slots__ = ["fail_reason", "state", "status"] + FAIL_REASON_FIELD_NUMBER: _ClassVar[int] + STATE_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + fail_reason: str + state: _common_pb2.IndexState + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., state: _Optional[_Union[_common_pb2.IndexState, str]] = ..., fail_reason: _Optional[str] = ...) -> None: ... + +class GetIndexStatisticsRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "index_name", "timestamp"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] - FIELDS_DATA_FIELD_NUMBER: _ClassVar[int] - HASH_KEYS_FIELD_NUMBER: _ClassVar[int] - NUM_ROWS_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + INDEX_NAME_FIELD_NUMBER: _ClassVar[int] + TIMESTAMP_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str collection_name: str - partition_name: str - fields_data: _containers.RepeatedCompositeFieldContainer[_schema_pb2.FieldData] - hash_keys: _containers.RepeatedScalarFieldContainer[int] - num_rows: int - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ..., fields_data: _Optional[_Iterable[_Union[_schema_pb2.FieldData, _Mapping]]] = ..., hash_keys: _Optional[_Iterable[int]] = ..., num_rows: _Optional[int] = ...) -> None: ... + db_name: str + index_name: str + timestamp: int + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., index_name: _Optional[str] = ..., timestamp: _Optional[int] = ...) -> None: ... -class MutationResult(_message.Message): - __slots__ = ["status", "IDs", "succ_index", "err_index", "acknowledged", "insert_cnt", "delete_cnt", "upsert_cnt", "timestamp"] +class GetIndexStatisticsResponse(_message.Message): + __slots__ = ["index_descriptions", "status"] + INDEX_DESCRIPTIONS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - IDS_FIELD_NUMBER: _ClassVar[int] - SUCC_INDEX_FIELD_NUMBER: _ClassVar[int] - ERR_INDEX_FIELD_NUMBER: _ClassVar[int] - ACKNOWLEDGED_FIELD_NUMBER: _ClassVar[int] - INSERT_CNT_FIELD_NUMBER: _ClassVar[int] - DELETE_CNT_FIELD_NUMBER: _ClassVar[int] - UPSERT_CNT_FIELD_NUMBER: _ClassVar[int] - TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + index_descriptions: _containers.RepeatedCompositeFieldContainer[IndexDescription] status: _common_pb2.Status - IDs: _schema_pb2.IDs - succ_index: _containers.RepeatedScalarFieldContainer[int] - err_index: _containers.RepeatedScalarFieldContainer[int] - acknowledged: bool - insert_cnt: int - delete_cnt: int - upsert_cnt: int - timestamp: int - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., IDs: _Optional[_Union[_schema_pb2.IDs, _Mapping]] = ..., succ_index: _Optional[_Iterable[int]] = ..., err_index: _Optional[_Iterable[int]] = ..., acknowledged: bool = ..., insert_cnt: _Optional[int] = ..., delete_cnt: _Optional[int] = ..., upsert_cnt: _Optional[int] = ..., timestamp: _Optional[int] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., index_descriptions: _Optional[_Iterable[_Union[IndexDescription, _Mapping]]] = ...) -> None: ... -class DeleteRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "partition_name", "expr", "hash_keys"] +class GetLoadStateRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "partition_names"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] - EXPR_FIELD_NUMBER: _ClassVar[int] - HASH_KEYS_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str collection_name: str - partition_name: str - expr: str - hash_keys: _containers.RepeatedScalarFieldContainer[int] - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ..., expr: _Optional[str] = ..., hash_keys: _Optional[_Iterable[int]] = ...) -> None: ... + db_name: str + partition_names: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ..., db_name: _Optional[str] = ...) -> None: ... -class SearchRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "partition_names", "dsl", "placeholder_group", "dsl_type", "output_fields", "search_params", "travel_timestamp", "guarantee_timestamp", "nq", "not_return_all_meta", "consistency_level", "use_default_consistency", "search_by_primary_keys"] +class GetLoadStateResponse(_message.Message): + __slots__ = ["state", "status"] + STATE_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + state: _common_pb2.LoadState + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., state: _Optional[_Union[_common_pb2.LoadState, str]] = ...) -> None: ... + +class GetLoadingProgressRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "partition_names"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] - DSL_FIELD_NUMBER: _ClassVar[int] - PLACEHOLDER_GROUP_FIELD_NUMBER: _ClassVar[int] - DSL_TYPE_FIELD_NUMBER: _ClassVar[int] - OUTPUT_FIELDS_FIELD_NUMBER: _ClassVar[int] - SEARCH_PARAMS_FIELD_NUMBER: _ClassVar[int] - TRAVEL_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] - GUARANTEE_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] - NQ_FIELD_NUMBER: _ClassVar[int] - NOT_RETURN_ALL_META_FIELD_NUMBER: _ClassVar[int] - CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int] - USE_DEFAULT_CONSISTENCY_FIELD_NUMBER: _ClassVar[int] - SEARCH_BY_PRIMARY_KEYS_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str collection_name: str + db_name: str partition_names: _containers.RepeatedScalarFieldContainer[str] - dsl: str - placeholder_group: bytes - dsl_type: _common_pb2.DslType - output_fields: _containers.RepeatedScalarFieldContainer[str] - search_params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - travel_timestamp: int - guarantee_timestamp: int - nq: int - not_return_all_meta: bool - consistency_level: _common_pb2.ConsistencyLevel - use_default_consistency: bool - search_by_primary_keys: bool - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ..., dsl: _Optional[str] = ..., placeholder_group: _Optional[bytes] = ..., dsl_type: _Optional[_Union[_common_pb2.DslType, str]] = ..., output_fields: _Optional[_Iterable[str]] = ..., search_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., travel_timestamp: _Optional[int] = ..., guarantee_timestamp: _Optional[int] = ..., nq: _Optional[int] = ..., not_return_all_meta: bool = ..., consistency_level: _Optional[_Union[_common_pb2.ConsistencyLevel, str]] = ..., use_default_consistency: bool = ..., search_by_primary_keys: bool = ...) -> None: ... - -class Hits(_message.Message): - __slots__ = ["IDs", "row_data", "scores"] - IDS_FIELD_NUMBER: _ClassVar[int] - ROW_DATA_FIELD_NUMBER: _ClassVar[int] - SCORES_FIELD_NUMBER: _ClassVar[int] - IDs: _containers.RepeatedScalarFieldContainer[int] - row_data: _containers.RepeatedScalarFieldContainer[bytes] - scores: _containers.RepeatedScalarFieldContainer[float] - def __init__(self, IDs: _Optional[_Iterable[int]] = ..., row_data: _Optional[_Iterable[bytes]] = ..., scores: _Optional[_Iterable[float]] = ...) -> None: ... + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ..., db_name: _Optional[str] = ...) -> None: ... -class SearchResults(_message.Message): - __slots__ = ["status", "results", "collection_name"] +class GetLoadingProgressResponse(_message.Message): + __slots__ = ["progress", "refresh_progress", "status"] + PROGRESS_FIELD_NUMBER: _ClassVar[int] + REFRESH_PROGRESS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - RESULTS_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + progress: int + refresh_progress: int status: _common_pb2.Status - results: _schema_pb2.SearchResultData - collection_name: str - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., results: _Optional[_Union[_schema_pb2.SearchResultData, _Mapping]] = ..., collection_name: _Optional[str] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., progress: _Optional[int] = ..., refresh_progress: _Optional[int] = ...) -> None: ... -class FlushRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_names"] +class GetMetricsRequest(_message.Message): + __slots__ = ["base", "request"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAMES_FIELD_NUMBER: _ClassVar[int] + REQUEST_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str - collection_names: _containers.RepeatedScalarFieldContainer[str] - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_names: _Optional[_Iterable[str]] = ...) -> None: ... + request: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., request: _Optional[str] = ...) -> None: ... -class FlushResponse(_message.Message): - __slots__ = ["status", "db_name", "coll_segIDs", "flush_coll_segIDs", "coll_seal_times"] - class CollSegIDsEntry(_message.Message): - __slots__ = ["key", "value"] - KEY_FIELD_NUMBER: _ClassVar[int] - VALUE_FIELD_NUMBER: _ClassVar[int] - key: str - value: _schema_pb2.LongArray - def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_schema_pb2.LongArray, _Mapping]] = ...) -> None: ... - class FlushCollSegIDsEntry(_message.Message): - __slots__ = ["key", "value"] - KEY_FIELD_NUMBER: _ClassVar[int] - VALUE_FIELD_NUMBER: _ClassVar[int] - key: str - value: _schema_pb2.LongArray - def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_schema_pb2.LongArray, _Mapping]] = ...) -> None: ... - class CollSealTimesEntry(_message.Message): - __slots__ = ["key", "value"] - KEY_FIELD_NUMBER: _ClassVar[int] - VALUE_FIELD_NUMBER: _ClassVar[int] - key: str - value: int - def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ... +class GetMetricsResponse(_message.Message): + __slots__ = ["component_name", "response", "status"] + COMPONENT_NAME_FIELD_NUMBER: _ClassVar[int] + RESPONSE_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - COLL_SEGIDS_FIELD_NUMBER: _ClassVar[int] - FLUSH_COLL_SEGIDS_FIELD_NUMBER: _ClassVar[int] - COLL_SEAL_TIMES_FIELD_NUMBER: _ClassVar[int] + component_name: str + response: str status: _common_pb2.Status - db_name: str - coll_segIDs: _containers.MessageMap[str, _schema_pb2.LongArray] - flush_coll_segIDs: _containers.MessageMap[str, _schema_pb2.LongArray] - coll_seal_times: _containers.ScalarMap[str, int] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., db_name: _Optional[str] = ..., coll_segIDs: _Optional[_Mapping[str, _schema_pb2.LongArray]] = ..., flush_coll_segIDs: _Optional[_Mapping[str, _schema_pb2.LongArray]] = ..., coll_seal_times: _Optional[_Mapping[str, int]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., response: _Optional[str] = ..., component_name: _Optional[str] = ...) -> None: ... -class QueryRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "expr", "output_fields", "partition_names", "travel_timestamp", "guarantee_timestamp", "query_params", "not_return_all_meta", "consistency_level", "use_default_consistency"] +class GetPartitionStatisticsRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "partition_name"] BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - EXPR_FIELD_NUMBER: _ClassVar[int] - OUTPUT_FIELDS_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] - TRAVEL_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] - GUARANTEE_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] - QUERY_PARAMS_FIELD_NUMBER: _ClassVar[int] - NOT_RETURN_ALL_META_FIELD_NUMBER: _ClassVar[int] - CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int] - USE_DEFAULT_CONSISTENCY_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - db_name: str - collection_name: str - expr: str - output_fields: _containers.RepeatedScalarFieldContainer[str] - partition_names: _containers.RepeatedScalarFieldContainer[str] - travel_timestamp: int - guarantee_timestamp: int - query_params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - not_return_all_meta: bool - consistency_level: _common_pb2.ConsistencyLevel - use_default_consistency: bool - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., expr: _Optional[str] = ..., output_fields: _Optional[_Iterable[str]] = ..., partition_names: _Optional[_Iterable[str]] = ..., travel_timestamp: _Optional[int] = ..., guarantee_timestamp: _Optional[int] = ..., query_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., not_return_all_meta: bool = ..., consistency_level: _Optional[_Union[_common_pb2.ConsistencyLevel, str]] = ..., use_default_consistency: bool = ...) -> None: ... - -class QueryResults(_message.Message): - __slots__ = ["status", "fields_data", "collection_name", "output_fields"] - STATUS_FIELD_NUMBER: _ClassVar[int] - FIELDS_DATA_FIELD_NUMBER: _ClassVar[int] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - OUTPUT_FIELDS_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - fields_data: _containers.RepeatedCompositeFieldContainer[_schema_pb2.FieldData] - collection_name: str - output_fields: _containers.RepeatedScalarFieldContainer[str] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., fields_data: _Optional[_Iterable[_Union[_schema_pb2.FieldData, _Mapping]]] = ..., collection_name: _Optional[str] = ..., output_fields: _Optional[_Iterable[str]] = ...) -> None: ... - -class VectorIDs(_message.Message): - __slots__ = ["collection_name", "field_name", "id_array", "partition_names"] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - FIELD_NAME_FIELD_NUMBER: _ClassVar[int] - ID_ARRAY_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] collection_name: str - field_name: str - id_array: _schema_pb2.IDs - partition_names: _containers.RepeatedScalarFieldContainer[str] - def __init__(self, collection_name: _Optional[str] = ..., field_name: _Optional[str] = ..., id_array: _Optional[_Union[_schema_pb2.IDs, _Mapping]] = ..., partition_names: _Optional[_Iterable[str]] = ...) -> None: ... - -class VectorsArray(_message.Message): - __slots__ = ["id_array", "data_array"] - ID_ARRAY_FIELD_NUMBER: _ClassVar[int] - DATA_ARRAY_FIELD_NUMBER: _ClassVar[int] - id_array: VectorIDs - data_array: _schema_pb2.VectorField - def __init__(self, id_array: _Optional[_Union[VectorIDs, _Mapping]] = ..., data_array: _Optional[_Union[_schema_pb2.VectorField, _Mapping]] = ...) -> None: ... - -class CalcDistanceRequest(_message.Message): - __slots__ = ["base", "op_left", "op_right", "params"] - BASE_FIELD_NUMBER: _ClassVar[int] - OP_LEFT_FIELD_NUMBER: _ClassVar[int] - OP_RIGHT_FIELD_NUMBER: _ClassVar[int] - PARAMS_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - op_left: VectorsArray - op_right: VectorsArray - params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., op_left: _Optional[_Union[VectorsArray, _Mapping]] = ..., op_right: _Optional[_Union[VectorsArray, _Mapping]] = ..., params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... - -class CalcDistanceResults(_message.Message): - __slots__ = ["status", "int_dist", "float_dist"] - STATUS_FIELD_NUMBER: _ClassVar[int] - INT_DIST_FIELD_NUMBER: _ClassVar[int] - FLOAT_DIST_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - int_dist: _schema_pb2.IntArray - float_dist: _schema_pb2.FloatArray - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., int_dist: _Optional[_Union[_schema_pb2.IntArray, _Mapping]] = ..., float_dist: _Optional[_Union[_schema_pb2.FloatArray, _Mapping]] = ...) -> None: ... - -class FlushAllRequest(_message.Message): - __slots__ = [] - def __init__(self) -> None: ... + db_name: str + partition_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ...) -> None: ... -class FlushAllResponse(_message.Message): - __slots__ = ["status", "flush_all_ts"] +class GetPartitionStatisticsResponse(_message.Message): + __slots__ = ["stats", "status"] + STATS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - FLUSH_ALL_TS_FIELD_NUMBER: _ClassVar[int] + stats: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] status: _common_pb2.Status - flush_all_ts: int - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., flush_all_ts: _Optional[int] = ...) -> None: ... - -class PersistentSegmentInfo(_message.Message): - __slots__ = ["segmentID", "collectionID", "partitionID", "num_rows", "state"] - SEGMENTID_FIELD_NUMBER: _ClassVar[int] - COLLECTIONID_FIELD_NUMBER: _ClassVar[int] - PARTITIONID_FIELD_NUMBER: _ClassVar[int] - NUM_ROWS_FIELD_NUMBER: _ClassVar[int] - STATE_FIELD_NUMBER: _ClassVar[int] - segmentID: int - collectionID: int - partitionID: int - num_rows: int - state: _common_pb2.SegmentState - def __init__(self, segmentID: _Optional[int] = ..., collectionID: _Optional[int] = ..., partitionID: _Optional[int] = ..., num_rows: _Optional[int] = ..., state: _Optional[_Union[_common_pb2.SegmentState, str]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., stats: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... class GetPersistentSegmentInfoRequest(_message.Message): - __slots__ = ["base", "dbName", "collectionName"] + __slots__ = ["base", "collectionName", "dbName"] BASE_FIELD_NUMBER: _ClassVar[int] - DBNAME_FIELD_NUMBER: _ClassVar[int] COLLECTIONNAME_FIELD_NUMBER: _ClassVar[int] + DBNAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - dbName: str collectionName: str + dbName: str def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., dbName: _Optional[str] = ..., collectionName: _Optional[str] = ...) -> None: ... class GetPersistentSegmentInfoResponse(_message.Message): - __slots__ = ["status", "infos"] - STATUS_FIELD_NUMBER: _ClassVar[int] + __slots__ = ["infos", "status"] INFOS_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status + STATUS_FIELD_NUMBER: _ClassVar[int] infos: _containers.RepeatedCompositeFieldContainer[PersistentSegmentInfo] + status: _common_pb2.Status def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., infos: _Optional[_Iterable[_Union[PersistentSegmentInfo, _Mapping]]] = ...) -> None: ... -class QuerySegmentInfo(_message.Message): - __slots__ = ["segmentID", "collectionID", "partitionID", "mem_size", "num_rows", "index_name", "indexID", "nodeID", "state", "nodeIds"] - SEGMENTID_FIELD_NUMBER: _ClassVar[int] - COLLECTIONID_FIELD_NUMBER: _ClassVar[int] - PARTITIONID_FIELD_NUMBER: _ClassVar[int] - MEM_SIZE_FIELD_NUMBER: _ClassVar[int] - NUM_ROWS_FIELD_NUMBER: _ClassVar[int] - INDEX_NAME_FIELD_NUMBER: _ClassVar[int] - INDEXID_FIELD_NUMBER: _ClassVar[int] - NODEID_FIELD_NUMBER: _ClassVar[int] - STATE_FIELD_NUMBER: _ClassVar[int] - NODEIDS_FIELD_NUMBER: _ClassVar[int] - segmentID: int - collectionID: int - partitionID: int - mem_size: int - num_rows: int - index_name: str - indexID: int - nodeID: int - state: _common_pb2.SegmentState - nodeIds: _containers.RepeatedScalarFieldContainer[int] - def __init__(self, segmentID: _Optional[int] = ..., collectionID: _Optional[int] = ..., partitionID: _Optional[int] = ..., mem_size: _Optional[int] = ..., num_rows: _Optional[int] = ..., index_name: _Optional[str] = ..., indexID: _Optional[int] = ..., nodeID: _Optional[int] = ..., state: _Optional[_Union[_common_pb2.SegmentState, str]] = ..., nodeIds: _Optional[_Iterable[int]] = ...) -> None: ... - class GetQuerySegmentInfoRequest(_message.Message): - __slots__ = ["base", "dbName", "collectionName"] + __slots__ = ["base", "collectionName", "dbName"] BASE_FIELD_NUMBER: _ClassVar[int] - DBNAME_FIELD_NUMBER: _ClassVar[int] COLLECTIONNAME_FIELD_NUMBER: _ClassVar[int] + DBNAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - dbName: str collectionName: str + dbName: str def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., dbName: _Optional[str] = ..., collectionName: _Optional[str] = ...) -> None: ... class GetQuerySegmentInfoResponse(_message.Message): - __slots__ = ["status", "infos"] - STATUS_FIELD_NUMBER: _ClassVar[int] + __slots__ = ["infos", "status"] INFOS_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status + STATUS_FIELD_NUMBER: _ClassVar[int] infos: _containers.RepeatedCompositeFieldContainer[QuerySegmentInfo] + status: _common_pb2.Status def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., infos: _Optional[_Iterable[_Union[QuerySegmentInfo, _Mapping]]] = ...) -> None: ... -class DummyRequest(_message.Message): - __slots__ = ["request_type"] - REQUEST_TYPE_FIELD_NUMBER: _ClassVar[int] - request_type: str - def __init__(self, request_type: _Optional[str] = ...) -> None: ... - -class DummyResponse(_message.Message): - __slots__ = ["response"] - RESPONSE_FIELD_NUMBER: _ClassVar[int] - response: str - def __init__(self, response: _Optional[str] = ...) -> None: ... - -class RegisterLinkRequest(_message.Message): - __slots__ = [] - def __init__(self) -> None: ... +class GetReplicasRequest(_message.Message): + __slots__ = ["base", "collectionID", "collection_name", "db_name", "with_shard_nodes"] + BASE_FIELD_NUMBER: _ClassVar[int] + COLLECTIONID_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + WITH_SHARD_NODES_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + collectionID: int + collection_name: str + db_name: str + with_shard_nodes: bool + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., collectionID: _Optional[int] = ..., with_shard_nodes: bool = ..., collection_name: _Optional[str] = ..., db_name: _Optional[str] = ...) -> None: ... -class RegisterLinkResponse(_message.Message): - __slots__ = ["address", "status"] - ADDRESS_FIELD_NUMBER: _ClassVar[int] +class GetReplicasResponse(_message.Message): + __slots__ = ["replicas", "status"] + REPLICAS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - address: _common_pb2.Address + replicas: _containers.RepeatedCompositeFieldContainer[ReplicaInfo] status: _common_pb2.Status - def __init__(self, address: _Optional[_Union[_common_pb2.Address, _Mapping]] = ..., status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., replicas: _Optional[_Iterable[_Union[ReplicaInfo, _Mapping]]] = ...) -> None: ... -class GetMetricsRequest(_message.Message): - __slots__ = ["base", "request"] +class GetStatisticsRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "guarantee_timestamp", "partition_names"] BASE_FIELD_NUMBER: _ClassVar[int] - REQUEST_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + GUARANTEE_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - request: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., request: _Optional[str] = ...) -> None: ... + collection_name: str + db_name: str + guarantee_timestamp: int + partition_names: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ..., guarantee_timestamp: _Optional[int] = ...) -> None: ... -class GetMetricsResponse(_message.Message): - __slots__ = ["status", "response", "component_name"] +class GetStatisticsResponse(_message.Message): + __slots__ = ["stats", "status"] + STATS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - RESPONSE_FIELD_NUMBER: _ClassVar[int] - COMPONENT_NAME_FIELD_NUMBER: _ClassVar[int] + stats: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] status: _common_pb2.Status - response: str - component_name: str - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., response: _Optional[str] = ..., component_name: _Optional[str] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., stats: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... -class ComponentInfo(_message.Message): - __slots__ = ["nodeID", "role", "state_code", "extra_info"] - NODEID_FIELD_NUMBER: _ClassVar[int] - ROLE_FIELD_NUMBER: _ClassVar[int] - STATE_CODE_FIELD_NUMBER: _ClassVar[int] - EXTRA_INFO_FIELD_NUMBER: _ClassVar[int] - nodeID: int - role: str - state_code: _common_pb2.StateCode - extra_info: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - def __init__(self, nodeID: _Optional[int] = ..., role: _Optional[str] = ..., state_code: _Optional[_Union[_common_pb2.StateCode, str]] = ..., extra_info: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ...) -> None: ... +class GetVersionRequest(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... -class ComponentStates(_message.Message): - __slots__ = ["state", "subcomponent_states", "status"] - STATE_FIELD_NUMBER: _ClassVar[int] - SUBCOMPONENT_STATES_FIELD_NUMBER: _ClassVar[int] +class GetVersionResponse(_message.Message): + __slots__ = ["status", "version"] STATUS_FIELD_NUMBER: _ClassVar[int] - state: ComponentInfo - subcomponent_states: _containers.RepeatedCompositeFieldContainer[ComponentInfo] + VERSION_FIELD_NUMBER: _ClassVar[int] status: _common_pb2.Status - def __init__(self, state: _Optional[_Union[ComponentInfo, _Mapping]] = ..., subcomponent_states: _Optional[_Iterable[_Union[ComponentInfo, _Mapping]]] = ..., status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ...) -> None: ... - -class GetComponentStatesRequest(_message.Message): - __slots__ = [] - def __init__(self) -> None: ... + version: str + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., version: _Optional[str] = ...) -> None: ... -class LoadBalanceRequest(_message.Message): - __slots__ = ["base", "src_nodeID", "dst_nodeIDs", "sealed_segmentIDs", "collectionName", "db_name"] - BASE_FIELD_NUMBER: _ClassVar[int] - SRC_NODEID_FIELD_NUMBER: _ClassVar[int] - DST_NODEIDS_FIELD_NUMBER: _ClassVar[int] - SEALED_SEGMENTIDS_FIELD_NUMBER: _ClassVar[int] - COLLECTIONNAME_FIELD_NUMBER: _ClassVar[int] +class GrantEntity(_message.Message): + __slots__ = ["db_name", "grantor", "object", "object_name", "role"] DB_NAME_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - src_nodeID: int - dst_nodeIDs: _containers.RepeatedScalarFieldContainer[int] - sealed_segmentIDs: _containers.RepeatedScalarFieldContainer[int] - collectionName: str + GRANTOR_FIELD_NUMBER: _ClassVar[int] + OBJECT_FIELD_NUMBER: _ClassVar[int] + OBJECT_NAME_FIELD_NUMBER: _ClassVar[int] + ROLE_FIELD_NUMBER: _ClassVar[int] db_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., src_nodeID: _Optional[int] = ..., dst_nodeIDs: _Optional[_Iterable[int]] = ..., sealed_segmentIDs: _Optional[_Iterable[int]] = ..., collectionName: _Optional[str] = ..., db_name: _Optional[str] = ...) -> None: ... - -class ManualCompactionRequest(_message.Message): - __slots__ = ["collectionID", "timetravel"] - COLLECTIONID_FIELD_NUMBER: _ClassVar[int] - TIMETRAVEL_FIELD_NUMBER: _ClassVar[int] - collectionID: int - timetravel: int - def __init__(self, collectionID: _Optional[int] = ..., timetravel: _Optional[int] = ...) -> None: ... - -class ManualCompactionResponse(_message.Message): - __slots__ = ["status", "compactionID", "compactionPlanCount"] - STATUS_FIELD_NUMBER: _ClassVar[int] - COMPACTIONID_FIELD_NUMBER: _ClassVar[int] - COMPACTIONPLANCOUNT_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - compactionID: int - compactionPlanCount: int - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., compactionID: _Optional[int] = ..., compactionPlanCount: _Optional[int] = ...) -> None: ... - -class GetCompactionStateRequest(_message.Message): - __slots__ = ["compactionID"] - COMPACTIONID_FIELD_NUMBER: _ClassVar[int] - compactionID: int - def __init__(self, compactionID: _Optional[int] = ...) -> None: ... - -class GetCompactionStateResponse(_message.Message): - __slots__ = ["status", "state", "executingPlanNo", "timeoutPlanNo", "completedPlanNo", "failedPlanNo"] - STATUS_FIELD_NUMBER: _ClassVar[int] - STATE_FIELD_NUMBER: _ClassVar[int] - EXECUTINGPLANNO_FIELD_NUMBER: _ClassVar[int] - TIMEOUTPLANNO_FIELD_NUMBER: _ClassVar[int] - COMPLETEDPLANNO_FIELD_NUMBER: _ClassVar[int] - FAILEDPLANNO_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - state: _common_pb2.CompactionState - executingPlanNo: int - timeoutPlanNo: int - completedPlanNo: int - failedPlanNo: int - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., state: _Optional[_Union[_common_pb2.CompactionState, str]] = ..., executingPlanNo: _Optional[int] = ..., timeoutPlanNo: _Optional[int] = ..., completedPlanNo: _Optional[int] = ..., failedPlanNo: _Optional[int] = ...) -> None: ... - -class GetCompactionPlansRequest(_message.Message): - __slots__ = ["compactionID"] - COMPACTIONID_FIELD_NUMBER: _ClassVar[int] - compactionID: int - def __init__(self, compactionID: _Optional[int] = ...) -> None: ... - -class GetCompactionPlansResponse(_message.Message): - __slots__ = ["status", "state", "mergeInfos"] - STATUS_FIELD_NUMBER: _ClassVar[int] - STATE_FIELD_NUMBER: _ClassVar[int] - MERGEINFOS_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - state: _common_pb2.CompactionState - mergeInfos: _containers.RepeatedCompositeFieldContainer[CompactionMergeInfo] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., state: _Optional[_Union[_common_pb2.CompactionState, str]] = ..., mergeInfos: _Optional[_Iterable[_Union[CompactionMergeInfo, _Mapping]]] = ...) -> None: ... + grantor: GrantorEntity + object: ObjectEntity + object_name: str + role: RoleEntity + def __init__(self, role: _Optional[_Union[RoleEntity, _Mapping]] = ..., object: _Optional[_Union[ObjectEntity, _Mapping]] = ..., object_name: _Optional[str] = ..., grantor: _Optional[_Union[GrantorEntity, _Mapping]] = ..., db_name: _Optional[str] = ...) -> None: ... -class CompactionMergeInfo(_message.Message): - __slots__ = ["sources", "target"] - SOURCES_FIELD_NUMBER: _ClassVar[int] - TARGET_FIELD_NUMBER: _ClassVar[int] - sources: _containers.RepeatedScalarFieldContainer[int] - target: int - def __init__(self, sources: _Optional[_Iterable[int]] = ..., target: _Optional[int] = ...) -> None: ... +class GrantPrivilegeEntity(_message.Message): + __slots__ = ["entities"] + ENTITIES_FIELD_NUMBER: _ClassVar[int] + entities: _containers.RepeatedCompositeFieldContainer[GrantorEntity] + def __init__(self, entities: _Optional[_Iterable[_Union[GrantorEntity, _Mapping]]] = ...) -> None: ... -class GetFlushStateRequest(_message.Message): - __slots__ = ["segmentIDs"] - SEGMENTIDS_FIELD_NUMBER: _ClassVar[int] - segmentIDs: _containers.RepeatedScalarFieldContainer[int] - def __init__(self, segmentIDs: _Optional[_Iterable[int]] = ...) -> None: ... +class GrantorEntity(_message.Message): + __slots__ = ["privilege", "user"] + PRIVILEGE_FIELD_NUMBER: _ClassVar[int] + USER_FIELD_NUMBER: _ClassVar[int] + privilege: PrivilegeEntity + user: UserEntity + def __init__(self, user: _Optional[_Union[UserEntity, _Mapping]] = ..., privilege: _Optional[_Union[PrivilegeEntity, _Mapping]] = ...) -> None: ... -class GetFlushStateResponse(_message.Message): - __slots__ = ["status", "flushed"] - STATUS_FIELD_NUMBER: _ClassVar[int] - FLUSHED_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - flushed: bool - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., flushed: bool = ...) -> None: ... +class HasCollectionRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "time_stamp"] + BASE_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + TIME_STAMP_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + collection_name: str + db_name: str + time_stamp: int + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., time_stamp: _Optional[int] = ...) -> None: ... -class GetFlushAllStateRequest(_message.Message): - __slots__ = ["base", "flush_all_ts"] +class HasPartitionRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "partition_name"] BASE_FIELD_NUMBER: _ClassVar[int] - FLUSH_ALL_TS_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - flush_all_ts: int - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., flush_all_ts: _Optional[int] = ...) -> None: ... + collection_name: str + db_name: str + partition_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ...) -> None: ... -class GetFlushAllStateResponse(_message.Message): - __slots__ = ["status", "flushed"] - STATUS_FIELD_NUMBER: _ClassVar[int] - FLUSHED_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - flushed: bool - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., flushed: bool = ...) -> None: ... +class Hits(_message.Message): + __slots__ = ["IDs", "row_data", "scores"] + IDS_FIELD_NUMBER: _ClassVar[int] + IDs: _containers.RepeatedScalarFieldContainer[int] + ROW_DATA_FIELD_NUMBER: _ClassVar[int] + SCORES_FIELD_NUMBER: _ClassVar[int] + row_data: _containers.RepeatedScalarFieldContainer[bytes] + scores: _containers.RepeatedScalarFieldContainer[float] + def __init__(self, IDs: _Optional[_Iterable[int]] = ..., row_data: _Optional[_Iterable[bytes]] = ..., scores: _Optional[_Iterable[float]] = ...) -> None: ... class ImportRequest(_message.Message): - __slots__ = ["collection_name", "partition_name", "channel_names", "row_based", "files", "options", "db_name"] - COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] + __slots__ = ["channel_names", "collection_name", "db_name", "files", "options", "partition_name", "row_based"] CHANNEL_NAMES_FIELD_NUMBER: _ClassVar[int] - ROW_BASED_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] FILES_FIELD_NUMBER: _ClassVar[int] OPTIONS_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - collection_name: str - partition_name: str + PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] + ROW_BASED_FIELD_NUMBER: _ClassVar[int] channel_names: _containers.RepeatedScalarFieldContainer[str] - row_based: bool + collection_name: str + db_name: str files: _containers.RepeatedScalarFieldContainer[str] options: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - db_name: str + partition_name: str + row_based: bool def __init__(self, collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ..., channel_names: _Optional[_Iterable[str]] = ..., row_based: bool = ..., files: _Optional[_Iterable[str]] = ..., options: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., db_name: _Optional[str] = ...) -> None: ... class ImportResponse(_message.Message): @@ -1173,148 +1021,73 @@ class ImportResponse(_message.Message): tasks: _containers.RepeatedScalarFieldContainer[int] def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., tasks: _Optional[_Iterable[int]] = ...) -> None: ... -class GetImportStateRequest(_message.Message): - __slots__ = ["task"] - TASK_FIELD_NUMBER: _ClassVar[int] - task: int - def __init__(self, task: _Optional[int] = ...) -> None: ... - -class GetImportStateResponse(_message.Message): - __slots__ = ["status", "state", "row_count", "id_list", "infos", "id", "collection_id", "segment_ids", "create_ts"] - STATUS_FIELD_NUMBER: _ClassVar[int] +class IndexDescription(_message.Message): + __slots__ = ["field_name", "indexID", "index_name", "index_state_fail_reason", "indexed_rows", "params", "pending_index_rows", "state", "total_rows"] + FIELD_NAME_FIELD_NUMBER: _ClassVar[int] + INDEXED_ROWS_FIELD_NUMBER: _ClassVar[int] + INDEXID_FIELD_NUMBER: _ClassVar[int] + INDEX_NAME_FIELD_NUMBER: _ClassVar[int] + INDEX_STATE_FAIL_REASON_FIELD_NUMBER: _ClassVar[int] + PARAMS_FIELD_NUMBER: _ClassVar[int] + PENDING_INDEX_ROWS_FIELD_NUMBER: _ClassVar[int] STATE_FIELD_NUMBER: _ClassVar[int] - ROW_COUNT_FIELD_NUMBER: _ClassVar[int] - ID_LIST_FIELD_NUMBER: _ClassVar[int] - INFOS_FIELD_NUMBER: _ClassVar[int] - ID_FIELD_NUMBER: _ClassVar[int] - COLLECTION_ID_FIELD_NUMBER: _ClassVar[int] - SEGMENT_IDS_FIELD_NUMBER: _ClassVar[int] - CREATE_TS_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - state: _common_pb2.ImportState - row_count: int - id_list: _containers.RepeatedScalarFieldContainer[int] - infos: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - id: int - collection_id: int - segment_ids: _containers.RepeatedScalarFieldContainer[int] - create_ts: int - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., state: _Optional[_Union[_common_pb2.ImportState, str]] = ..., row_count: _Optional[int] = ..., id_list: _Optional[_Iterable[int]] = ..., infos: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., id: _Optional[int] = ..., collection_id: _Optional[int] = ..., segment_ids: _Optional[_Iterable[int]] = ..., create_ts: _Optional[int] = ...) -> None: ... + TOTAL_ROWS_FIELD_NUMBER: _ClassVar[int] + field_name: str + indexID: int + index_name: str + index_state_fail_reason: str + indexed_rows: int + params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + pending_index_rows: int + state: _common_pb2.IndexState + total_rows: int + def __init__(self, index_name: _Optional[str] = ..., indexID: _Optional[int] = ..., params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., field_name: _Optional[str] = ..., indexed_rows: _Optional[int] = ..., total_rows: _Optional[int] = ..., state: _Optional[_Union[_common_pb2.IndexState, str]] = ..., index_state_fail_reason: _Optional[str] = ..., pending_index_rows: _Optional[int] = ...) -> None: ... -class ListImportTasksRequest(_message.Message): - __slots__ = ["collection_name", "limit", "db_name"] +class InsertRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "fields_data", "hash_keys", "num_rows", "partition_name"] + BASE_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - LIMIT_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] + FIELDS_DATA_FIELD_NUMBER: _ClassVar[int] + HASH_KEYS_FIELD_NUMBER: _ClassVar[int] + NUM_ROWS_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase collection_name: str - limit: int db_name: str - def __init__(self, collection_name: _Optional[str] = ..., limit: _Optional[int] = ..., db_name: _Optional[str] = ...) -> None: ... - -class ListImportTasksResponse(_message.Message): - __slots__ = ["status", "tasks"] - STATUS_FIELD_NUMBER: _ClassVar[int] - TASKS_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - tasks: _containers.RepeatedCompositeFieldContainer[GetImportStateResponse] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., tasks: _Optional[_Iterable[_Union[GetImportStateResponse, _Mapping]]] = ...) -> None: ... + fields_data: _containers.RepeatedCompositeFieldContainer[_schema_pb2.FieldData] + hash_keys: _containers.RepeatedScalarFieldContainer[int] + num_rows: int + partition_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ..., fields_data: _Optional[_Iterable[_Union[_schema_pb2.FieldData, _Mapping]]] = ..., hash_keys: _Optional[_Iterable[int]] = ..., num_rows: _Optional[int] = ...) -> None: ... -class GetReplicasRequest(_message.Message): - __slots__ = ["base", "collectionID", "with_shard_nodes", "collection_name", "db_name"] +class ListAliasesRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name"] BASE_FIELD_NUMBER: _ClassVar[int] - COLLECTIONID_FIELD_NUMBER: _ClassVar[int] - WITH_SHARD_NODES_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - collectionID: int - with_shard_nodes: bool collection_name: str db_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., collectionID: _Optional[int] = ..., with_shard_nodes: bool = ..., collection_name: _Optional[str] = ..., db_name: _Optional[str] = ...) -> None: ... + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ...) -> None: ... -class GetReplicasResponse(_message.Message): - __slots__ = ["status", "replicas"] +class ListAliasesResponse(_message.Message): + __slots__ = ["aliases", "collection_name", "db_name", "status"] + ALIASES_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - REPLICAS_FIELD_NUMBER: _ClassVar[int] + aliases: _containers.RepeatedScalarFieldContainer[str] + collection_name: str + db_name: str status: _common_pb2.Status - replicas: _containers.RepeatedCompositeFieldContainer[ReplicaInfo] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., replicas: _Optional[_Iterable[_Union[ReplicaInfo, _Mapping]]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., aliases: _Optional[_Iterable[str]] = ...) -> None: ... -class ReplicaInfo(_message.Message): - __slots__ = ["replicaID", "collectionID", "partition_ids", "shard_replicas", "node_ids", "resource_group_name", "num_outbound_node"] - class NumOutboundNodeEntry(_message.Message): - __slots__ = ["key", "value"] - KEY_FIELD_NUMBER: _ClassVar[int] - VALUE_FIELD_NUMBER: _ClassVar[int] - key: str - value: int - def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ... - REPLICAID_FIELD_NUMBER: _ClassVar[int] - COLLECTIONID_FIELD_NUMBER: _ClassVar[int] - PARTITION_IDS_FIELD_NUMBER: _ClassVar[int] - SHARD_REPLICAS_FIELD_NUMBER: _ClassVar[int] - NODE_IDS_FIELD_NUMBER: _ClassVar[int] - RESOURCE_GROUP_NAME_FIELD_NUMBER: _ClassVar[int] - NUM_OUTBOUND_NODE_FIELD_NUMBER: _ClassVar[int] - replicaID: int - collectionID: int - partition_ids: _containers.RepeatedScalarFieldContainer[int] - shard_replicas: _containers.RepeatedCompositeFieldContainer[ShardReplica] - node_ids: _containers.RepeatedScalarFieldContainer[int] - resource_group_name: str - num_outbound_node: _containers.ScalarMap[str, int] - def __init__(self, replicaID: _Optional[int] = ..., collectionID: _Optional[int] = ..., partition_ids: _Optional[_Iterable[int]] = ..., shard_replicas: _Optional[_Iterable[_Union[ShardReplica, _Mapping]]] = ..., node_ids: _Optional[_Iterable[int]] = ..., resource_group_name: _Optional[str] = ..., num_outbound_node: _Optional[_Mapping[str, int]] = ...) -> None: ... - -class ShardReplica(_message.Message): - __slots__ = ["leaderID", "leader_addr", "dm_channel_name", "node_ids"] - LEADERID_FIELD_NUMBER: _ClassVar[int] - LEADER_ADDR_FIELD_NUMBER: _ClassVar[int] - DM_CHANNEL_NAME_FIELD_NUMBER: _ClassVar[int] - NODE_IDS_FIELD_NUMBER: _ClassVar[int] - leaderID: int - leader_addr: str - dm_channel_name: str - node_ids: _containers.RepeatedScalarFieldContainer[int] - def __init__(self, leaderID: _Optional[int] = ..., leader_addr: _Optional[str] = ..., dm_channel_name: _Optional[str] = ..., node_ids: _Optional[_Iterable[int]] = ...) -> None: ... - -class CreateCredentialRequest(_message.Message): - __slots__ = ["base", "username", "password", "created_utc_timestamps", "modified_utc_timestamps"] - BASE_FIELD_NUMBER: _ClassVar[int] - USERNAME_FIELD_NUMBER: _ClassVar[int] - PASSWORD_FIELD_NUMBER: _ClassVar[int] - CREATED_UTC_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] - MODIFIED_UTC_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - username: str - password: str - created_utc_timestamps: int - modified_utc_timestamps: int - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., username: _Optional[str] = ..., password: _Optional[str] = ..., created_utc_timestamps: _Optional[int] = ..., modified_utc_timestamps: _Optional[int] = ...) -> None: ... - -class UpdateCredentialRequest(_message.Message): - __slots__ = ["base", "username", "oldPassword", "newPassword", "created_utc_timestamps", "modified_utc_timestamps"] - BASE_FIELD_NUMBER: _ClassVar[int] - USERNAME_FIELD_NUMBER: _ClassVar[int] - OLDPASSWORD_FIELD_NUMBER: _ClassVar[int] - NEWPASSWORD_FIELD_NUMBER: _ClassVar[int] - CREATED_UTC_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] - MODIFIED_UTC_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - username: str - oldPassword: str - newPassword: str - created_utc_timestamps: int - modified_utc_timestamps: int - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., username: _Optional[str] = ..., oldPassword: _Optional[str] = ..., newPassword: _Optional[str] = ..., created_utc_timestamps: _Optional[int] = ..., modified_utc_timestamps: _Optional[int] = ...) -> None: ... - -class DeleteCredentialRequest(_message.Message): - __slots__ = ["base", "username"] +class ListCredUsersRequest(_message.Message): + __slots__ = ["base"] BASE_FIELD_NUMBER: _ClassVar[int] - USERNAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - username: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., username: _Optional[str] = ...) -> None: ... + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ...) -> None: ... class ListCredUsersResponse(_message.Message): __slots__ = ["status", "usernames"] @@ -1324,103 +1097,149 @@ class ListCredUsersResponse(_message.Message): usernames: _containers.RepeatedScalarFieldContainer[str] def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., usernames: _Optional[_Iterable[str]] = ...) -> None: ... -class ListCredUsersRequest(_message.Message): +class ListDatabasesRequest(_message.Message): __slots__ = ["base"] BASE_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ...) -> None: ... -class RoleEntity(_message.Message): - __slots__ = ["name"] - NAME_FIELD_NUMBER: _ClassVar[int] - name: str - def __init__(self, name: _Optional[str] = ...) -> None: ... +class ListDatabasesResponse(_message.Message): + __slots__ = ["created_timestamp", "db_names", "status"] + CREATED_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + DB_NAMES_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + created_timestamp: _containers.RepeatedScalarFieldContainer[int] + db_names: _containers.RepeatedScalarFieldContainer[str] + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., db_names: _Optional[_Iterable[str]] = ..., created_timestamp: _Optional[_Iterable[int]] = ...) -> None: ... -class UserEntity(_message.Message): - __slots__ = ["name"] - NAME_FIELD_NUMBER: _ClassVar[int] - name: str - def __init__(self, name: _Optional[str] = ...) -> None: ... +class ListImportTasksRequest(_message.Message): + __slots__ = ["collection_name", "db_name", "limit"] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + LIMIT_FIELD_NUMBER: _ClassVar[int] + collection_name: str + db_name: str + limit: int + def __init__(self, collection_name: _Optional[str] = ..., limit: _Optional[int] = ..., db_name: _Optional[str] = ...) -> None: ... -class CreateRoleRequest(_message.Message): - __slots__ = ["base", "entity"] +class ListImportTasksResponse(_message.Message): + __slots__ = ["status", "tasks"] + STATUS_FIELD_NUMBER: _ClassVar[int] + TASKS_FIELD_NUMBER: _ClassVar[int] + status: _common_pb2.Status + tasks: _containers.RepeatedCompositeFieldContainer[GetImportStateResponse] + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., tasks: _Optional[_Iterable[_Union[GetImportStateResponse, _Mapping]]] = ...) -> None: ... + +class ListResourceGroupsRequest(_message.Message): + __slots__ = ["base"] BASE_FIELD_NUMBER: _ClassVar[int] - ENTITY_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - entity: RoleEntity - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., entity: _Optional[_Union[RoleEntity, _Mapping]] = ...) -> None: ... + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ...) -> None: ... -class DropRoleRequest(_message.Message): - __slots__ = ["base", "role_name"] +class ListResourceGroupsResponse(_message.Message): + __slots__ = ["resource_groups", "status"] + RESOURCE_GROUPS_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + resource_groups: _containers.RepeatedScalarFieldContainer[str] + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., resource_groups: _Optional[_Iterable[str]] = ...) -> None: ... + +class LoadBalanceRequest(_message.Message): + __slots__ = ["base", "collectionName", "db_name", "dst_nodeIDs", "sealed_segmentIDs", "src_nodeID"] BASE_FIELD_NUMBER: _ClassVar[int] - ROLE_NAME_FIELD_NUMBER: _ClassVar[int] + COLLECTIONNAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + DST_NODEIDS_FIELD_NUMBER: _ClassVar[int] + SEALED_SEGMENTIDS_FIELD_NUMBER: _ClassVar[int] + SRC_NODEID_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - role_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., role_name: _Optional[str] = ...) -> None: ... + collectionName: str + db_name: str + dst_nodeIDs: _containers.RepeatedScalarFieldContainer[int] + sealed_segmentIDs: _containers.RepeatedScalarFieldContainer[int] + src_nodeID: int + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., src_nodeID: _Optional[int] = ..., dst_nodeIDs: _Optional[_Iterable[int]] = ..., sealed_segmentIDs: _Optional[_Iterable[int]] = ..., collectionName: _Optional[str] = ..., db_name: _Optional[str] = ...) -> None: ... -class OperateUserRoleRequest(_message.Message): - __slots__ = ["base", "username", "role_name", "type"] +class LoadCollectionRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "refresh", "replica_number", "resource_groups"] BASE_FIELD_NUMBER: _ClassVar[int] - USERNAME_FIELD_NUMBER: _ClassVar[int] - ROLE_NAME_FIELD_NUMBER: _ClassVar[int] - TYPE_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + REFRESH_FIELD_NUMBER: _ClassVar[int] + REPLICA_NUMBER_FIELD_NUMBER: _ClassVar[int] + RESOURCE_GROUPS_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - username: str - role_name: str - type: OperateUserRoleType - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., username: _Optional[str] = ..., role_name: _Optional[str] = ..., type: _Optional[_Union[OperateUserRoleType, str]] = ...) -> None: ... + collection_name: str + db_name: str + refresh: bool + replica_number: int + resource_groups: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., replica_number: _Optional[int] = ..., resource_groups: _Optional[_Iterable[str]] = ..., refresh: bool = ...) -> None: ... -class SelectRoleRequest(_message.Message): - __slots__ = ["base", "role", "include_user_info"] +class LoadPartitionsRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "partition_names", "refresh", "replica_number", "resource_groups"] BASE_FIELD_NUMBER: _ClassVar[int] - ROLE_FIELD_NUMBER: _ClassVar[int] - INCLUDE_USER_INFO_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] + REFRESH_FIELD_NUMBER: _ClassVar[int] + REPLICA_NUMBER_FIELD_NUMBER: _ClassVar[int] + RESOURCE_GROUPS_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - role: RoleEntity - include_user_info: bool - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., role: _Optional[_Union[RoleEntity, _Mapping]] = ..., include_user_info: bool = ...) -> None: ... + collection_name: str + db_name: str + partition_names: _containers.RepeatedScalarFieldContainer[str] + refresh: bool + replica_number: int + resource_groups: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ..., replica_number: _Optional[int] = ..., resource_groups: _Optional[_Iterable[str]] = ..., refresh: bool = ...) -> None: ... -class RoleResult(_message.Message): - __slots__ = ["role", "users"] - ROLE_FIELD_NUMBER: _ClassVar[int] - USERS_FIELD_NUMBER: _ClassVar[int] - role: RoleEntity - users: _containers.RepeatedCompositeFieldContainer[UserEntity] - def __init__(self, role: _Optional[_Union[RoleEntity, _Mapping]] = ..., users: _Optional[_Iterable[_Union[UserEntity, _Mapping]]] = ...) -> None: ... +class ManualCompactionRequest(_message.Message): + __slots__ = ["collectionID", "timetravel"] + COLLECTIONID_FIELD_NUMBER: _ClassVar[int] + TIMETRAVEL_FIELD_NUMBER: _ClassVar[int] + collectionID: int + timetravel: int + def __init__(self, collectionID: _Optional[int] = ..., timetravel: _Optional[int] = ...) -> None: ... -class SelectRoleResponse(_message.Message): - __slots__ = ["status", "results"] +class ManualCompactionResponse(_message.Message): + __slots__ = ["compactionID", "compactionPlanCount", "status"] + COMPACTIONID_FIELD_NUMBER: _ClassVar[int] + COMPACTIONPLANCOUNT_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - RESULTS_FIELD_NUMBER: _ClassVar[int] + compactionID: int + compactionPlanCount: int status: _common_pb2.Status - results: _containers.RepeatedCompositeFieldContainer[RoleResult] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., results: _Optional[_Iterable[_Union[RoleResult, _Mapping]]] = ...) -> None: ... - -class SelectUserRequest(_message.Message): - __slots__ = ["base", "user", "include_role_info"] - BASE_FIELD_NUMBER: _ClassVar[int] - USER_FIELD_NUMBER: _ClassVar[int] - INCLUDE_ROLE_INFO_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - user: UserEntity - include_role_info: bool - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., user: _Optional[_Union[UserEntity, _Mapping]] = ..., include_role_info: bool = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., compactionID: _Optional[int] = ..., compactionPlanCount: _Optional[int] = ...) -> None: ... -class UserResult(_message.Message): - __slots__ = ["user", "roles"] - USER_FIELD_NUMBER: _ClassVar[int] - ROLES_FIELD_NUMBER: _ClassVar[int] - user: UserEntity - roles: _containers.RepeatedCompositeFieldContainer[RoleEntity] - def __init__(self, user: _Optional[_Union[UserEntity, _Mapping]] = ..., roles: _Optional[_Iterable[_Union[RoleEntity, _Mapping]]] = ...) -> None: ... +class MilvusExt(_message.Message): + __slots__ = ["version"] + VERSION_FIELD_NUMBER: _ClassVar[int] + version: str + def __init__(self, version: _Optional[str] = ...) -> None: ... -class SelectUserResponse(_message.Message): - __slots__ = ["status", "results"] +class MutationResult(_message.Message): + __slots__ = ["IDs", "acknowledged", "delete_cnt", "err_index", "insert_cnt", "status", "succ_index", "timestamp", "upsert_cnt"] + ACKNOWLEDGED_FIELD_NUMBER: _ClassVar[int] + DELETE_CNT_FIELD_NUMBER: _ClassVar[int] + ERR_INDEX_FIELD_NUMBER: _ClassVar[int] + IDS_FIELD_NUMBER: _ClassVar[int] + IDs: _schema_pb2.IDs + INSERT_CNT_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - RESULTS_FIELD_NUMBER: _ClassVar[int] + SUCC_INDEX_FIELD_NUMBER: _ClassVar[int] + TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + UPSERT_CNT_FIELD_NUMBER: _ClassVar[int] + acknowledged: bool + delete_cnt: int + err_index: _containers.RepeatedScalarFieldContainer[int] + insert_cnt: int status: _common_pb2.Status - results: _containers.RepeatedCompositeFieldContainer[UserResult] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., results: _Optional[_Iterable[_Union[UserResult, _Mapping]]] = ...) -> None: ... + succ_index: _containers.RepeatedScalarFieldContainer[int] + timestamp: int + upsert_cnt: int + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., IDs: _Optional[_Union[_schema_pb2.IDs, _Mapping]] = ..., succ_index: _Optional[_Iterable[int]] = ..., err_index: _Optional[_Iterable[int]] = ..., acknowledged: bool = ..., insert_cnt: _Optional[int] = ..., delete_cnt: _Optional[int] = ..., upsert_cnt: _Optional[int] = ..., timestamp: _Optional[int] = ...) -> None: ... class ObjectEntity(_message.Message): __slots__ = ["name"] @@ -1428,349 +1247,540 @@ class ObjectEntity(_message.Message): name: str def __init__(self, name: _Optional[str] = ...) -> None: ... -class PrivilegeEntity(_message.Message): - __slots__ = ["name"] - NAME_FIELD_NUMBER: _ClassVar[int] - name: str - def __init__(self, name: _Optional[str] = ...) -> None: ... +class OperatePrivilegeRequest(_message.Message): + __slots__ = ["base", "entity", "type"] + BASE_FIELD_NUMBER: _ClassVar[int] + ENTITY_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + entity: GrantEntity + type: OperatePrivilegeType + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., entity: _Optional[_Union[GrantEntity, _Mapping]] = ..., type: _Optional[_Union[OperatePrivilegeType, str]] = ...) -> None: ... -class GrantorEntity(_message.Message): - __slots__ = ["user", "privilege"] - USER_FIELD_NUMBER: _ClassVar[int] - PRIVILEGE_FIELD_NUMBER: _ClassVar[int] - user: UserEntity - privilege: PrivilegeEntity - def __init__(self, user: _Optional[_Union[UserEntity, _Mapping]] = ..., privilege: _Optional[_Union[PrivilegeEntity, _Mapping]] = ...) -> None: ... +class OperateUserRoleRequest(_message.Message): + __slots__ = ["base", "role_name", "type", "username"] + BASE_FIELD_NUMBER: _ClassVar[int] + ROLE_NAME_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + USERNAME_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + role_name: str + type: OperateUserRoleType + username: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., username: _Optional[str] = ..., role_name: _Optional[str] = ..., type: _Optional[_Union[OperateUserRoleType, str]] = ...) -> None: ... -class GrantPrivilegeEntity(_message.Message): - __slots__ = ["entities"] - ENTITIES_FIELD_NUMBER: _ClassVar[int] - entities: _containers.RepeatedCompositeFieldContainer[GrantorEntity] - def __init__(self, entities: _Optional[_Iterable[_Union[GrantorEntity, _Mapping]]] = ...) -> None: ... +class PersistentSegmentInfo(_message.Message): + __slots__ = ["collectionID", "num_rows", "partitionID", "segmentID", "state"] + COLLECTIONID_FIELD_NUMBER: _ClassVar[int] + NUM_ROWS_FIELD_NUMBER: _ClassVar[int] + PARTITIONID_FIELD_NUMBER: _ClassVar[int] + SEGMENTID_FIELD_NUMBER: _ClassVar[int] + STATE_FIELD_NUMBER: _ClassVar[int] + collectionID: int + num_rows: int + partitionID: int + segmentID: int + state: _common_pb2.SegmentState + def __init__(self, segmentID: _Optional[int] = ..., collectionID: _Optional[int] = ..., partitionID: _Optional[int] = ..., num_rows: _Optional[int] = ..., state: _Optional[_Union[_common_pb2.SegmentState, str]] = ...) -> None: ... -class GrantEntity(_message.Message): - __slots__ = ["role", "object", "object_name", "grantor", "db_name"] - ROLE_FIELD_NUMBER: _ClassVar[int] - OBJECT_FIELD_NUMBER: _ClassVar[int] - OBJECT_NAME_FIELD_NUMBER: _ClassVar[int] - GRANTOR_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - role: RoleEntity - object: ObjectEntity - object_name: str - grantor: GrantorEntity - db_name: str - def __init__(self, role: _Optional[_Union[RoleEntity, _Mapping]] = ..., object: _Optional[_Union[ObjectEntity, _Mapping]] = ..., object_name: _Optional[str] = ..., grantor: _Optional[_Union[GrantorEntity, _Mapping]] = ..., db_name: _Optional[str] = ...) -> None: ... +class PrivilegeEntity(_message.Message): + __slots__ = ["name"] + NAME_FIELD_NUMBER: _ClassVar[int] + name: str + def __init__(self, name: _Optional[str] = ...) -> None: ... -class SelectGrantRequest(_message.Message): - __slots__ = ["base", "entity"] +class QueryRequest(_message.Message): + __slots__ = ["base", "collection_name", "consistency_level", "db_name", "expr", "guarantee_timestamp", "not_return_all_meta", "output_fields", "partition_names", "query_params", "travel_timestamp", "use_default_consistency"] BASE_FIELD_NUMBER: _ClassVar[int] - ENTITY_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + EXPR_FIELD_NUMBER: _ClassVar[int] + GUARANTEE_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + NOT_RETURN_ALL_META_FIELD_NUMBER: _ClassVar[int] + OUTPUT_FIELDS_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] + QUERY_PARAMS_FIELD_NUMBER: _ClassVar[int] + TRAVEL_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + USE_DEFAULT_CONSISTENCY_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - entity: GrantEntity - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., entity: _Optional[_Union[GrantEntity, _Mapping]] = ...) -> None: ... + collection_name: str + consistency_level: _common_pb2.ConsistencyLevel + db_name: str + expr: str + guarantee_timestamp: int + not_return_all_meta: bool + output_fields: _containers.RepeatedScalarFieldContainer[str] + partition_names: _containers.RepeatedScalarFieldContainer[str] + query_params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + travel_timestamp: int + use_default_consistency: bool + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., expr: _Optional[str] = ..., output_fields: _Optional[_Iterable[str]] = ..., partition_names: _Optional[_Iterable[str]] = ..., travel_timestamp: _Optional[int] = ..., guarantee_timestamp: _Optional[int] = ..., query_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., not_return_all_meta: bool = ..., consistency_level: _Optional[_Union[_common_pb2.ConsistencyLevel, str]] = ..., use_default_consistency: bool = ...) -> None: ... -class SelectGrantResponse(_message.Message): - __slots__ = ["status", "entities"] +class QueryResults(_message.Message): + __slots__ = ["collection_name", "fields_data", "output_fields", "status"] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + FIELDS_DATA_FIELD_NUMBER: _ClassVar[int] + OUTPUT_FIELDS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - ENTITIES_FIELD_NUMBER: _ClassVar[int] + collection_name: str + fields_data: _containers.RepeatedCompositeFieldContainer[_schema_pb2.FieldData] + output_fields: _containers.RepeatedScalarFieldContainer[str] status: _common_pb2.Status - entities: _containers.RepeatedCompositeFieldContainer[GrantEntity] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., entities: _Optional[_Iterable[_Union[GrantEntity, _Mapping]]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., fields_data: _Optional[_Iterable[_Union[_schema_pb2.FieldData, _Mapping]]] = ..., collection_name: _Optional[str] = ..., output_fields: _Optional[_Iterable[str]] = ...) -> None: ... -class OperatePrivilegeRequest(_message.Message): - __slots__ = ["base", "entity", "type"] +class QuerySegmentInfo(_message.Message): + __slots__ = ["collectionID", "indexID", "index_name", "mem_size", "nodeID", "nodeIds", "num_rows", "partitionID", "segmentID", "state"] + COLLECTIONID_FIELD_NUMBER: _ClassVar[int] + INDEXID_FIELD_NUMBER: _ClassVar[int] + INDEX_NAME_FIELD_NUMBER: _ClassVar[int] + MEM_SIZE_FIELD_NUMBER: _ClassVar[int] + NODEIDS_FIELD_NUMBER: _ClassVar[int] + NODEID_FIELD_NUMBER: _ClassVar[int] + NUM_ROWS_FIELD_NUMBER: _ClassVar[int] + PARTITIONID_FIELD_NUMBER: _ClassVar[int] + SEGMENTID_FIELD_NUMBER: _ClassVar[int] + STATE_FIELD_NUMBER: _ClassVar[int] + collectionID: int + indexID: int + index_name: str + mem_size: int + nodeID: int + nodeIds: _containers.RepeatedScalarFieldContainer[int] + num_rows: int + partitionID: int + segmentID: int + state: _common_pb2.SegmentState + def __init__(self, segmentID: _Optional[int] = ..., collectionID: _Optional[int] = ..., partitionID: _Optional[int] = ..., mem_size: _Optional[int] = ..., num_rows: _Optional[int] = ..., index_name: _Optional[str] = ..., indexID: _Optional[int] = ..., nodeID: _Optional[int] = ..., state: _Optional[_Union[_common_pb2.SegmentState, str]] = ..., nodeIds: _Optional[_Iterable[int]] = ...) -> None: ... + +class RegisterLinkRequest(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class RegisterLinkResponse(_message.Message): + __slots__ = ["address", "status"] + ADDRESS_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + address: _common_pb2.Address + status: _common_pb2.Status + def __init__(self, address: _Optional[_Union[_common_pb2.Address, _Mapping]] = ..., status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ...) -> None: ... + +class ReleaseCollectionRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name"] BASE_FIELD_NUMBER: _ClassVar[int] - ENTITY_FIELD_NUMBER: _ClassVar[int] - TYPE_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - entity: GrantEntity - type: OperatePrivilegeType - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., entity: _Optional[_Union[GrantEntity, _Mapping]] = ..., type: _Optional[_Union[OperatePrivilegeType, str]] = ...) -> None: ... + collection_name: str + db_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ...) -> None: ... -class GetLoadingProgressRequest(_message.Message): - __slots__ = ["base", "collection_name", "partition_names", "db_name"] +class ReleasePartitionsRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "partition_names"] BASE_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase collection_name: str + db_name: str partition_names: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ...) -> None: ... + +class RenameCollectionRequest(_message.Message): + __slots__ = ["base", "db_name", "newDBName", "newName", "oldName"] + BASE_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + NEWDBNAME_FIELD_NUMBER: _ClassVar[int] + NEWNAME_FIELD_NUMBER: _ClassVar[int] + OLDNAME_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase db_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ..., db_name: _Optional[str] = ...) -> None: ... + newDBName: str + newName: str + oldName: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., oldName: _Optional[str] = ..., newName: _Optional[str] = ..., newDBName: _Optional[str] = ...) -> None: ... -class GetLoadingProgressResponse(_message.Message): - __slots__ = ["status", "progress", "refresh_progress"] - STATUS_FIELD_NUMBER: _ClassVar[int] - PROGRESS_FIELD_NUMBER: _ClassVar[int] - REFRESH_PROGRESS_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - progress: int - refresh_progress: int - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., progress: _Optional[int] = ..., refresh_progress: _Optional[int] = ...) -> None: ... +class ReplicaInfo(_message.Message): + __slots__ = ["collectionID", "node_ids", "num_outbound_node", "partition_ids", "replicaID", "resource_group_name", "shard_replicas"] + class NumOutboundNodeEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: int + def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ... + COLLECTIONID_FIELD_NUMBER: _ClassVar[int] + NODE_IDS_FIELD_NUMBER: _ClassVar[int] + NUM_OUTBOUND_NODE_FIELD_NUMBER: _ClassVar[int] + PARTITION_IDS_FIELD_NUMBER: _ClassVar[int] + REPLICAID_FIELD_NUMBER: _ClassVar[int] + RESOURCE_GROUP_NAME_FIELD_NUMBER: _ClassVar[int] + SHARD_REPLICAS_FIELD_NUMBER: _ClassVar[int] + collectionID: int + node_ids: _containers.RepeatedScalarFieldContainer[int] + num_outbound_node: _containers.ScalarMap[str, int] + partition_ids: _containers.RepeatedScalarFieldContainer[int] + replicaID: int + resource_group_name: str + shard_replicas: _containers.RepeatedCompositeFieldContainer[ShardReplica] + def __init__(self, replicaID: _Optional[int] = ..., collectionID: _Optional[int] = ..., partition_ids: _Optional[_Iterable[int]] = ..., shard_replicas: _Optional[_Iterable[_Union[ShardReplica, _Mapping]]] = ..., node_ids: _Optional[_Iterable[int]] = ..., resource_group_name: _Optional[str] = ..., num_outbound_node: _Optional[_Mapping[str, int]] = ...) -> None: ... -class GetLoadStateRequest(_message.Message): - __slots__ = ["base", "collection_name", "partition_names", "db_name"] +class ResourceGroup(_message.Message): + __slots__ = ["capacity", "name", "num_available_node", "num_incoming_node", "num_loaded_replica", "num_outgoing_node"] + class NumIncomingNodeEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: int + def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ... + class NumLoadedReplicaEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: int + def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ... + class NumOutgoingNodeEntry(_message.Message): + __slots__ = ["key", "value"] + KEY_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + key: str + value: int + def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ... + CAPACITY_FIELD_NUMBER: _ClassVar[int] + NAME_FIELD_NUMBER: _ClassVar[int] + NUM_AVAILABLE_NODE_FIELD_NUMBER: _ClassVar[int] + NUM_INCOMING_NODE_FIELD_NUMBER: _ClassVar[int] + NUM_LOADED_REPLICA_FIELD_NUMBER: _ClassVar[int] + NUM_OUTGOING_NODE_FIELD_NUMBER: _ClassVar[int] + capacity: int + name: str + num_available_node: int + num_incoming_node: _containers.ScalarMap[str, int] + num_loaded_replica: _containers.ScalarMap[str, int] + num_outgoing_node: _containers.ScalarMap[str, int] + def __init__(self, name: _Optional[str] = ..., capacity: _Optional[int] = ..., num_available_node: _Optional[int] = ..., num_loaded_replica: _Optional[_Mapping[str, int]] = ..., num_outgoing_node: _Optional[_Mapping[str, int]] = ..., num_incoming_node: _Optional[_Mapping[str, int]] = ...) -> None: ... + +class RoleEntity(_message.Message): + __slots__ = ["name"] + NAME_FIELD_NUMBER: _ClassVar[int] + name: str + def __init__(self, name: _Optional[str] = ...) -> None: ... + +class RoleResult(_message.Message): + __slots__ = ["role", "users"] + ROLE_FIELD_NUMBER: _ClassVar[int] + USERS_FIELD_NUMBER: _ClassVar[int] + role: RoleEntity + users: _containers.RepeatedCompositeFieldContainer[UserEntity] + def __init__(self, role: _Optional[_Union[RoleEntity, _Mapping]] = ..., users: _Optional[_Iterable[_Union[UserEntity, _Mapping]]] = ...) -> None: ... + +class SearchRequest(_message.Message): + __slots__ = ["base", "collection_name", "consistency_level", "db_name", "dsl", "dsl_type", "guarantee_timestamp", "not_return_all_meta", "nq", "output_fields", "partition_names", "placeholder_group", "search_by_primary_keys", "search_params", "travel_timestamp", "use_default_consistency"] BASE_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] + CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] + DSL_FIELD_NUMBER: _ClassVar[int] + DSL_TYPE_FIELD_NUMBER: _ClassVar[int] + GUARANTEE_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + NOT_RETURN_ALL_META_FIELD_NUMBER: _ClassVar[int] + NQ_FIELD_NUMBER: _ClassVar[int] + OUTPUT_FIELDS_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] + PLACEHOLDER_GROUP_FIELD_NUMBER: _ClassVar[int] + SEARCH_BY_PRIMARY_KEYS_FIELD_NUMBER: _ClassVar[int] + SEARCH_PARAMS_FIELD_NUMBER: _ClassVar[int] + TRAVEL_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] + USE_DEFAULT_CONSISTENCY_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase collection_name: str - partition_names: _containers.RepeatedScalarFieldContainer[str] + consistency_level: _common_pb2.ConsistencyLevel db_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ..., db_name: _Optional[str] = ...) -> None: ... + dsl: str + dsl_type: _common_pb2.DslType + guarantee_timestamp: int + not_return_all_meta: bool + nq: int + output_fields: _containers.RepeatedScalarFieldContainer[str] + partition_names: _containers.RepeatedScalarFieldContainer[str] + placeholder_group: bytes + search_by_primary_keys: bool + search_params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + travel_timestamp: int + use_default_consistency: bool + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ..., dsl: _Optional[str] = ..., placeholder_group: _Optional[bytes] = ..., dsl_type: _Optional[_Union[_common_pb2.DslType, str]] = ..., output_fields: _Optional[_Iterable[str]] = ..., search_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., travel_timestamp: _Optional[int] = ..., guarantee_timestamp: _Optional[int] = ..., nq: _Optional[int] = ..., not_return_all_meta: bool = ..., consistency_level: _Optional[_Union[_common_pb2.ConsistencyLevel, str]] = ..., use_default_consistency: bool = ..., search_by_primary_keys: bool = ...) -> None: ... -class GetLoadStateResponse(_message.Message): - __slots__ = ["status", "state"] +class SearchResults(_message.Message): + __slots__ = ["collection_name", "results", "status"] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + RESULTS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - STATE_FIELD_NUMBER: _ClassVar[int] + collection_name: str + results: _schema_pb2.SearchResultData status: _common_pb2.Status - state: _common_pb2.LoadState - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., state: _Optional[_Union[_common_pb2.LoadState, str]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., results: _Optional[_Union[_schema_pb2.SearchResultData, _Mapping]] = ..., collection_name: _Optional[str] = ...) -> None: ... -class MilvusExt(_message.Message): - __slots__ = ["version"] - VERSION_FIELD_NUMBER: _ClassVar[int] - version: str - def __init__(self, version: _Optional[str] = ...) -> None: ... +class SelectGrantRequest(_message.Message): + __slots__ = ["base", "entity"] + BASE_FIELD_NUMBER: _ClassVar[int] + ENTITY_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + entity: GrantEntity + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., entity: _Optional[_Union[GrantEntity, _Mapping]] = ...) -> None: ... -class GetVersionRequest(_message.Message): - __slots__ = [] - def __init__(self) -> None: ... +class SelectGrantResponse(_message.Message): + __slots__ = ["entities", "status"] + ENTITIES_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + entities: _containers.RepeatedCompositeFieldContainer[GrantEntity] + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., entities: _Optional[_Iterable[_Union[GrantEntity, _Mapping]]] = ...) -> None: ... -class GetVersionResponse(_message.Message): - __slots__ = ["status", "version"] +class SelectRoleRequest(_message.Message): + __slots__ = ["base", "include_user_info", "role"] + BASE_FIELD_NUMBER: _ClassVar[int] + INCLUDE_USER_INFO_FIELD_NUMBER: _ClassVar[int] + ROLE_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + include_user_info: bool + role: RoleEntity + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., role: _Optional[_Union[RoleEntity, _Mapping]] = ..., include_user_info: bool = ...) -> None: ... + +class SelectRoleResponse(_message.Message): + __slots__ = ["results", "status"] + RESULTS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - VERSION_FIELD_NUMBER: _ClassVar[int] + results: _containers.RepeatedCompositeFieldContainer[RoleResult] status: _common_pb2.Status - version: str - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., version: _Optional[str] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., results: _Optional[_Iterable[_Union[RoleResult, _Mapping]]] = ...) -> None: ... -class CheckHealthRequest(_message.Message): - __slots__ = [] - def __init__(self) -> None: ... +class SelectUserRequest(_message.Message): + __slots__ = ["base", "include_role_info", "user"] + BASE_FIELD_NUMBER: _ClassVar[int] + INCLUDE_ROLE_INFO_FIELD_NUMBER: _ClassVar[int] + USER_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + include_role_info: bool + user: UserEntity + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., user: _Optional[_Union[UserEntity, _Mapping]] = ..., include_role_info: bool = ...) -> None: ... -class CheckHealthResponse(_message.Message): - __slots__ = ["status", "isHealthy", "reasons", "quota_states"] +class SelectUserResponse(_message.Message): + __slots__ = ["results", "status"] + RESULTS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] - ISHEALTHY_FIELD_NUMBER: _ClassVar[int] - REASONS_FIELD_NUMBER: _ClassVar[int] - QUOTA_STATES_FIELD_NUMBER: _ClassVar[int] + results: _containers.RepeatedCompositeFieldContainer[UserResult] + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., results: _Optional[_Iterable[_Union[UserResult, _Mapping]]] = ...) -> None: ... + +class ShardReplica(_message.Message): + __slots__ = ["dm_channel_name", "leaderID", "leader_addr", "node_ids"] + DM_CHANNEL_NAME_FIELD_NUMBER: _ClassVar[int] + LEADERID_FIELD_NUMBER: _ClassVar[int] + LEADER_ADDR_FIELD_NUMBER: _ClassVar[int] + NODE_IDS_FIELD_NUMBER: _ClassVar[int] + dm_channel_name: str + leaderID: int + leader_addr: str + node_ids: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, leaderID: _Optional[int] = ..., leader_addr: _Optional[str] = ..., dm_channel_name: _Optional[str] = ..., node_ids: _Optional[_Iterable[int]] = ...) -> None: ... + +class ShowCollectionsRequest(_message.Message): + __slots__ = ["base", "collection_names", "db_name", "time_stamp", "type"] + BASE_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAMES_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + TIME_STAMP_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + collection_names: _containers.RepeatedScalarFieldContainer[str] + db_name: str + time_stamp: int + type: ShowType + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., time_stamp: _Optional[int] = ..., type: _Optional[_Union[ShowType, str]] = ..., collection_names: _Optional[_Iterable[str]] = ...) -> None: ... + +class ShowCollectionsResponse(_message.Message): + __slots__ = ["collection_ids", "collection_names", "created_timestamps", "created_utc_timestamps", "inMemory_percentages", "query_service_available", "status"] + COLLECTION_IDS_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAMES_FIELD_NUMBER: _ClassVar[int] + CREATED_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] + CREATED_UTC_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] + INMEMORY_PERCENTAGES_FIELD_NUMBER: _ClassVar[int] + QUERY_SERVICE_AVAILABLE_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + collection_ids: _containers.RepeatedScalarFieldContainer[int] + collection_names: _containers.RepeatedScalarFieldContainer[str] + created_timestamps: _containers.RepeatedScalarFieldContainer[int] + created_utc_timestamps: _containers.RepeatedScalarFieldContainer[int] + inMemory_percentages: _containers.RepeatedScalarFieldContainer[int] + query_service_available: _containers.RepeatedScalarFieldContainer[bool] + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., collection_names: _Optional[_Iterable[str]] = ..., collection_ids: _Optional[_Iterable[int]] = ..., created_timestamps: _Optional[_Iterable[int]] = ..., created_utc_timestamps: _Optional[_Iterable[int]] = ..., inMemory_percentages: _Optional[_Iterable[int]] = ..., query_service_available: _Optional[_Iterable[bool]] = ...) -> None: ... + +class ShowPartitionsRequest(_message.Message): + __slots__ = ["base", "collectionID", "collection_name", "db_name", "partition_names", "type"] + BASE_FIELD_NUMBER: _ClassVar[int] + COLLECTIONID_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + collectionID: int + collection_name: str + db_name: str + partition_names: _containers.RepeatedScalarFieldContainer[str] + type: ShowType + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., collectionID: _Optional[int] = ..., partition_names: _Optional[_Iterable[str]] = ..., type: _Optional[_Union[ShowType, str]] = ...) -> None: ... + +class ShowPartitionsResponse(_message.Message): + __slots__ = ["created_timestamps", "created_utc_timestamps", "inMemory_percentages", "partitionIDs", "partition_names", "status"] + CREATED_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] + CREATED_UTC_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] + INMEMORY_PERCENTAGES_FIELD_NUMBER: _ClassVar[int] + PARTITIONIDS_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + created_timestamps: _containers.RepeatedScalarFieldContainer[int] + created_utc_timestamps: _containers.RepeatedScalarFieldContainer[int] + inMemory_percentages: _containers.RepeatedScalarFieldContainer[int] + partitionIDs: _containers.RepeatedScalarFieldContainer[int] + partition_names: _containers.RepeatedScalarFieldContainer[str] status: _common_pb2.Status - isHealthy: bool - reasons: _containers.RepeatedScalarFieldContainer[str] - quota_states: _containers.RepeatedScalarFieldContainer[QuotaState] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., isHealthy: bool = ..., reasons: _Optional[_Iterable[str]] = ..., quota_states: _Optional[_Iterable[_Union[QuotaState, str]]] = ...) -> None: ... + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., partition_names: _Optional[_Iterable[str]] = ..., partitionIDs: _Optional[_Iterable[int]] = ..., created_timestamps: _Optional[_Iterable[int]] = ..., created_utc_timestamps: _Optional[_Iterable[int]] = ..., inMemory_percentages: _Optional[_Iterable[int]] = ...) -> None: ... -class CreateResourceGroupRequest(_message.Message): - __slots__ = ["base", "resource_group"] +class ShowSegmentsRequest(_message.Message): + __slots__ = ["base", "collectionID", "partitionID"] BASE_FIELD_NUMBER: _ClassVar[int] - RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] + COLLECTIONID_FIELD_NUMBER: _ClassVar[int] + PARTITIONID_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - resource_group: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., resource_group: _Optional[str] = ...) -> None: ... + collectionID: int + partitionID: int + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., collectionID: _Optional[int] = ..., partitionID: _Optional[int] = ...) -> None: ... -class DropResourceGroupRequest(_message.Message): - __slots__ = ["base", "resource_group"] - BASE_FIELD_NUMBER: _ClassVar[int] - RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - resource_group: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., resource_group: _Optional[str] = ...) -> None: ... +class ShowSegmentsResponse(_message.Message): + __slots__ = ["segmentIDs", "status"] + SEGMENTIDS_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + segmentIDs: _containers.RepeatedScalarFieldContainer[int] + status: _common_pb2.Status + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., segmentIDs: _Optional[_Iterable[int]] = ...) -> None: ... + +class StringResponse(_message.Message): + __slots__ = ["status", "value"] + STATUS_FIELD_NUMBER: _ClassVar[int] + VALUE_FIELD_NUMBER: _ClassVar[int] + status: _common_pb2.Status + value: str + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., value: _Optional[str] = ...) -> None: ... class TransferNodeRequest(_message.Message): - __slots__ = ["base", "source_resource_group", "target_resource_group", "num_node"] + __slots__ = ["base", "num_node", "source_resource_group", "target_resource_group"] BASE_FIELD_NUMBER: _ClassVar[int] + NUM_NODE_FIELD_NUMBER: _ClassVar[int] SOURCE_RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] TARGET_RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] - NUM_NODE_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase + num_node: int source_resource_group: str target_resource_group: str - num_node: int def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., source_resource_group: _Optional[str] = ..., target_resource_group: _Optional[str] = ..., num_node: _Optional[int] = ...) -> None: ... class TransferReplicaRequest(_message.Message): - __slots__ = ["base", "source_resource_group", "target_resource_group", "collection_name", "num_replica", "db_name"] + __slots__ = ["base", "collection_name", "db_name", "num_replica", "source_resource_group", "target_resource_group"] BASE_FIELD_NUMBER: _ClassVar[int] - SOURCE_RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] - TARGET_RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - NUM_REPLICA_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] + NUM_REPLICA_FIELD_NUMBER: _ClassVar[int] + SOURCE_RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] + TARGET_RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - source_resource_group: str - target_resource_group: str collection_name: str - num_replica: int db_name: str + num_replica: int + source_resource_group: str + target_resource_group: str def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., source_resource_group: _Optional[str] = ..., target_resource_group: _Optional[str] = ..., collection_name: _Optional[str] = ..., num_replica: _Optional[int] = ..., db_name: _Optional[str] = ...) -> None: ... -class ListResourceGroupsRequest(_message.Message): - __slots__ = ["base"] +class UpdateCredentialRequest(_message.Message): + __slots__ = ["base", "created_utc_timestamps", "modified_utc_timestamps", "newPassword", "oldPassword", "username"] BASE_FIELD_NUMBER: _ClassVar[int] + CREATED_UTC_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] + MODIFIED_UTC_TIMESTAMPS_FIELD_NUMBER: _ClassVar[int] + NEWPASSWORD_FIELD_NUMBER: _ClassVar[int] + OLDPASSWORD_FIELD_NUMBER: _ClassVar[int] + USERNAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ...) -> None: ... - -class ListResourceGroupsResponse(_message.Message): - __slots__ = ["status", "resource_groups"] - STATUS_FIELD_NUMBER: _ClassVar[int] - RESOURCE_GROUPS_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - resource_groups: _containers.RepeatedScalarFieldContainer[str] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., resource_groups: _Optional[_Iterable[str]] = ...) -> None: ... + created_utc_timestamps: int + modified_utc_timestamps: int + newPassword: str + oldPassword: str + username: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., username: _Optional[str] = ..., oldPassword: _Optional[str] = ..., newPassword: _Optional[str] = ..., created_utc_timestamps: _Optional[int] = ..., modified_utc_timestamps: _Optional[int] = ...) -> None: ... -class DescribeResourceGroupRequest(_message.Message): - __slots__ = ["base", "resource_group"] +class UpsertRequest(_message.Message): + __slots__ = ["base", "collection_name", "db_name", "fields_data", "hash_keys", "num_rows", "partition_name"] BASE_FIELD_NUMBER: _ClassVar[int] - RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + FIELDS_DATA_FIELD_NUMBER: _ClassVar[int] + HASH_KEYS_FIELD_NUMBER: _ClassVar[int] + NUM_ROWS_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAME_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase - resource_group: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., resource_group: _Optional[str] = ...) -> None: ... - -class DescribeResourceGroupResponse(_message.Message): - __slots__ = ["status", "resource_group"] - STATUS_FIELD_NUMBER: _ClassVar[int] - RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - resource_group: ResourceGroup - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., resource_group: _Optional[_Union[ResourceGroup, _Mapping]] = ...) -> None: ... + collection_name: str + db_name: str + fields_data: _containers.RepeatedCompositeFieldContainer[_schema_pb2.FieldData] + hash_keys: _containers.RepeatedScalarFieldContainer[int] + num_rows: int + partition_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_name: _Optional[str] = ..., fields_data: _Optional[_Iterable[_Union[_schema_pb2.FieldData, _Mapping]]] = ..., hash_keys: _Optional[_Iterable[int]] = ..., num_rows: _Optional[int] = ...) -> None: ... -class ResourceGroup(_message.Message): - __slots__ = ["name", "capacity", "num_available_node", "num_loaded_replica", "num_outgoing_node", "num_incoming_node"] - class NumLoadedReplicaEntry(_message.Message): - __slots__ = ["key", "value"] - KEY_FIELD_NUMBER: _ClassVar[int] - VALUE_FIELD_NUMBER: _ClassVar[int] - key: str - value: int - def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ... - class NumOutgoingNodeEntry(_message.Message): - __slots__ = ["key", "value"] - KEY_FIELD_NUMBER: _ClassVar[int] - VALUE_FIELD_NUMBER: _ClassVar[int] - key: str - value: int - def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ... - class NumIncomingNodeEntry(_message.Message): - __slots__ = ["key", "value"] - KEY_FIELD_NUMBER: _ClassVar[int] - VALUE_FIELD_NUMBER: _ClassVar[int] - key: str - value: int - def __init__(self, key: _Optional[str] = ..., value: _Optional[int] = ...) -> None: ... +class UserEntity(_message.Message): + __slots__ = ["name"] NAME_FIELD_NUMBER: _ClassVar[int] - CAPACITY_FIELD_NUMBER: _ClassVar[int] - NUM_AVAILABLE_NODE_FIELD_NUMBER: _ClassVar[int] - NUM_LOADED_REPLICA_FIELD_NUMBER: _ClassVar[int] - NUM_OUTGOING_NODE_FIELD_NUMBER: _ClassVar[int] - NUM_INCOMING_NODE_FIELD_NUMBER: _ClassVar[int] name: str - capacity: int - num_available_node: int - num_loaded_replica: _containers.ScalarMap[str, int] - num_outgoing_node: _containers.ScalarMap[str, int] - num_incoming_node: _containers.ScalarMap[str, int] - def __init__(self, name: _Optional[str] = ..., capacity: _Optional[int] = ..., num_available_node: _Optional[int] = ..., num_loaded_replica: _Optional[_Mapping[str, int]] = ..., num_outgoing_node: _Optional[_Mapping[str, int]] = ..., num_incoming_node: _Optional[_Mapping[str, int]] = ...) -> None: ... + def __init__(self, name: _Optional[str] = ...) -> None: ... -class RenameCollectionRequest(_message.Message): - __slots__ = ["base", "db_name", "oldName", "newName", "newDBName"] - BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - OLDNAME_FIELD_NUMBER: _ClassVar[int] - NEWNAME_FIELD_NUMBER: _ClassVar[int] - NEWDBNAME_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - db_name: str - oldName: str - newName: str - newDBName: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., oldName: _Optional[str] = ..., newName: _Optional[str] = ..., newDBName: _Optional[str] = ...) -> None: ... +class UserResult(_message.Message): + __slots__ = ["roles", "user"] + ROLES_FIELD_NUMBER: _ClassVar[int] + USER_FIELD_NUMBER: _ClassVar[int] + roles: _containers.RepeatedCompositeFieldContainer[RoleEntity] + user: UserEntity + def __init__(self, user: _Optional[_Union[UserEntity, _Mapping]] = ..., roles: _Optional[_Iterable[_Union[RoleEntity, _Mapping]]] = ...) -> None: ... -class GetIndexStatisticsRequest(_message.Message): - __slots__ = ["base", "db_name", "collection_name", "index_name", "timestamp"] - BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] +class VectorIDs(_message.Message): + __slots__ = ["collection_name", "field_name", "id_array", "partition_names"] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] - INDEX_NAME_FIELD_NUMBER: _ClassVar[int] - TIMESTAMP_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - db_name: str + FIELD_NAME_FIELD_NUMBER: _ClassVar[int] + ID_ARRAY_FIELD_NUMBER: _ClassVar[int] + PARTITION_NAMES_FIELD_NUMBER: _ClassVar[int] collection_name: str - index_name: str - timestamp: int - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., index_name: _Optional[str] = ..., timestamp: _Optional[int] = ...) -> None: ... - -class GetIndexStatisticsResponse(_message.Message): - __slots__ = ["status", "index_descriptions"] - STATUS_FIELD_NUMBER: _ClassVar[int] - INDEX_DESCRIPTIONS_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - index_descriptions: _containers.RepeatedCompositeFieldContainer[IndexDescription] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., index_descriptions: _Optional[_Iterable[_Union[IndexDescription, _Mapping]]] = ...) -> None: ... - -class ConnectRequest(_message.Message): - __slots__ = ["base", "client_info"] - BASE_FIELD_NUMBER: _ClassVar[int] - CLIENT_INFO_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - client_info: _common_pb2.ClientInfo - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., client_info: _Optional[_Union[_common_pb2.ClientInfo, _Mapping]] = ...) -> None: ... - -class ConnectResponse(_message.Message): - __slots__ = ["status", "server_info", "identifier"] - STATUS_FIELD_NUMBER: _ClassVar[int] - SERVER_INFO_FIELD_NUMBER: _ClassVar[int] - IDENTIFIER_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - server_info: _common_pb2.ServerInfo - identifier: int - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., server_info: _Optional[_Union[_common_pb2.ServerInfo, _Mapping]] = ..., identifier: _Optional[int] = ...) -> None: ... - -class AllocTimestampRequest(_message.Message): - __slots__ = ["base"] - BASE_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ...) -> None: ... + field_name: str + id_array: _schema_pb2.IDs + partition_names: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, collection_name: _Optional[str] = ..., field_name: _Optional[str] = ..., id_array: _Optional[_Union[_schema_pb2.IDs, _Mapping]] = ..., partition_names: _Optional[_Iterable[str]] = ...) -> None: ... -class AllocTimestampResponse(_message.Message): - __slots__ = ["status", "timestamp"] - STATUS_FIELD_NUMBER: _ClassVar[int] - TIMESTAMP_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - timestamp: int - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., timestamp: _Optional[int] = ...) -> None: ... +class VectorsArray(_message.Message): + __slots__ = ["data_array", "id_array"] + DATA_ARRAY_FIELD_NUMBER: _ClassVar[int] + ID_ARRAY_FIELD_NUMBER: _ClassVar[int] + data_array: _schema_pb2.VectorField + id_array: VectorIDs + def __init__(self, id_array: _Optional[_Union[VectorIDs, _Mapping]] = ..., data_array: _Optional[_Union[_schema_pb2.VectorField, _Mapping]] = ...) -> None: ... -class CreateDatabaseRequest(_message.Message): - __slots__ = ["base", "db_name"] - BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - db_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ...) -> None: ... +class ShowType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] -class DropDatabaseRequest(_message.Message): - __slots__ = ["base", "db_name"] - BASE_FIELD_NUMBER: _ClassVar[int] - DB_NAME_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - db_name: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ...) -> None: ... +class OperateUserRoleType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] -class ListDatabasesRequest(_message.Message): - __slots__ = ["base"] - BASE_FIELD_NUMBER: _ClassVar[int] - base: _common_pb2.MsgBase - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ...) -> None: ... +class OperatePrivilegeType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] -class ListDatabasesResponse(_message.Message): - __slots__ = ["status", "db_names", "created_timestamp"] - STATUS_FIELD_NUMBER: _ClassVar[int] - DB_NAMES_FIELD_NUMBER: _ClassVar[int] - CREATED_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] - status: _common_pb2.Status - db_names: _containers.RepeatedScalarFieldContainer[str] - created_timestamp: _containers.RepeatedScalarFieldContainer[int] - def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., db_names: _Optional[_Iterable[str]] = ..., created_timestamp: _Optional[_Iterable[int]] = ...) -> None: ... +class QuotaState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] diff --git a/pymilvus/grpc_gen/schema_pb2.py b/pymilvus/grpc_gen/schema_pb2.py index b1c3f3fb5..0a8552a0f 100644 --- a/pymilvus/grpc_gen/schema_pb2.py +++ b/pymilvus/grpc_gen/schema_pb2.py @@ -2,10 +2,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: schema.proto """Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -16,49 +16,48 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cschema.proto\x12\x13milvus.proto.schema\x1a\x0c\x63ommon.proto\"\xd7\x03\n\x0b\x46ieldSchema\x12\x0f\n\x07\x66ieldID\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\x0eis_primary_key\x18\x03 \x01(\x08\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x30\n\tdata_type\x18\x05 \x01(\x0e\x32\x1d.milvus.proto.schema.DataType\x12\x36\n\x0btype_params\x18\x06 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x37\n\x0cindex_params\x18\x07 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x0e\n\x06\x61utoID\x18\x08 \x01(\x08\x12.\n\x05state\x18\t \x01(\x0e\x32\x1f.milvus.proto.schema.FieldState\x12\x33\n\x0c\x65lement_type\x18\n \x01(\x0e\x32\x1d.milvus.proto.schema.DataType\x12\x36\n\rdefault_value\x18\x0b \x01(\x0b\x32\x1f.milvus.proto.schema.ValueField\x12\x12\n\nis_dynamic\x18\x0c \x01(\x08\x12\x18\n\x10is_partition_key\x18\r \x01(\x08\"\x95\x01\n\x10\x43ollectionSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06\x61utoID\x18\x03 \x01(\x08\x12\x30\n\x06\x66ields\x18\x04 \x03(\x0b\x32 .milvus.proto.schema.FieldSchema\x12\x1c\n\x14\x65nable_dynamic_field\x18\x05 \x01(\x08\"\x19\n\tBoolArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x08\"\x18\n\x08IntArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x05\"\x19\n\tLongArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x03\"\x1a\n\nFloatArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x02\"\x1b\n\x0b\x44oubleArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x01\"\x1a\n\nBytesArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x0c\"\x1b\n\x0bStringArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\t\"q\n\nArrayArray\x12.\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32 .milvus.proto.schema.ScalarField\x12\x33\n\x0c\x65lement_type\x18\x02 \x01(\x0e\x32\x1d.milvus.proto.schema.DataType\"\x19\n\tJSONArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x0c\"\xac\x01\n\nValueField\x12\x13\n\tbool_data\x18\x01 \x01(\x08H\x00\x12\x12\n\x08int_data\x18\x02 \x01(\x05H\x00\x12\x13\n\tlong_data\x18\x03 \x01(\x03H\x00\x12\x14\n\nfloat_data\x18\x04 \x01(\x02H\x00\x12\x15\n\x0b\x64ouble_data\x18\x05 \x01(\x01H\x00\x12\x15\n\x0bstring_data\x18\x06 \x01(\tH\x00\x12\x14\n\nbytes_data\x18\x07 \x01(\x0cH\x00\x42\x06\n\x04\x64\x61ta\"\xfe\x03\n\x0bScalarField\x12\x33\n\tbool_data\x18\x01 \x01(\x0b\x32\x1e.milvus.proto.schema.BoolArrayH\x00\x12\x31\n\x08int_data\x18\x02 \x01(\x0b\x32\x1d.milvus.proto.schema.IntArrayH\x00\x12\x33\n\tlong_data\x18\x03 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArrayH\x00\x12\x35\n\nfloat_data\x18\x04 \x01(\x0b\x32\x1f.milvus.proto.schema.FloatArrayH\x00\x12\x37\n\x0b\x64ouble_data\x18\x05 \x01(\x0b\x32 .milvus.proto.schema.DoubleArrayH\x00\x12\x37\n\x0bstring_data\x18\x06 \x01(\x0b\x32 .milvus.proto.schema.StringArrayH\x00\x12\x35\n\nbytes_data\x18\x07 \x01(\x0b\x32\x1f.milvus.proto.schema.BytesArrayH\x00\x12\x35\n\narray_data\x18\x08 \x01(\x0b\x32\x1f.milvus.proto.schema.ArrayArrayH\x00\x12\x33\n\tjson_data\x18\t \x01(\x0b\x32\x1e.milvus.proto.schema.JSONArrayH\x00\x42\x06\n\x04\x64\x61ta\"\x8e\x01\n\x0bVectorField\x12\x0b\n\x03\x64im\x18\x01 \x01(\x03\x12\x37\n\x0c\x66loat_vector\x18\x02 \x01(\x0b\x32\x1f.milvus.proto.schema.FloatArrayH\x00\x12\x17\n\rbinary_vector\x18\x03 \x01(\x0cH\x00\x12\x18\n\x0e\x66loat16_vector\x18\x04 \x01(\x0cH\x00\x42\x06\n\x04\x64\x61ta\"\xe5\x01\n\tFieldData\x12+\n\x04type\x18\x01 \x01(\x0e\x32\x1d.milvus.proto.schema.DataType\x12\x12\n\nfield_name\x18\x02 \x01(\t\x12\x33\n\x07scalars\x18\x03 \x01(\x0b\x32 .milvus.proto.schema.ScalarFieldH\x00\x12\x33\n\x07vectors\x18\x04 \x01(\x0b\x32 .milvus.proto.schema.VectorFieldH\x00\x12\x10\n\x08\x66ield_id\x18\x05 \x01(\x03\x12\x12\n\nis_dynamic\x18\x06 \x01(\x08\x42\x07\n\x05\x66ield\"w\n\x03IDs\x12\x30\n\x06int_id\x18\x01 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArrayH\x00\x12\x32\n\x06str_id\x18\x02 \x01(\x0b\x32 .milvus.proto.schema.StringArrayH\x00\x42\n\n\x08id_field\"\xc8\x01\n\x10SearchResultData\x12\x13\n\x0bnum_queries\x18\x01 \x01(\x03\x12\r\n\x05top_k\x18\x02 \x01(\x03\x12\x33\n\x0b\x66ields_data\x18\x03 \x03(\x0b\x32\x1e.milvus.proto.schema.FieldData\x12\x0e\n\x06scores\x18\x04 \x03(\x02\x12%\n\x03ids\x18\x05 \x01(\x0b\x32\x18.milvus.proto.schema.IDs\x12\r\n\x05topks\x18\x06 \x03(\x03\x12\x15\n\routput_fields\x18\x07 \x03(\t*\xc4\x01\n\x08\x44\x61taType\x12\x08\n\x04None\x10\x00\x12\x08\n\x04\x42ool\x10\x01\x12\x08\n\x04Int8\x10\x02\x12\t\n\x05Int16\x10\x03\x12\t\n\x05Int32\x10\x04\x12\t\n\x05Int64\x10\x05\x12\t\n\x05\x46loat\x10\n\x12\n\n\x06\x44ouble\x10\x0b\x12\n\n\x06String\x10\x14\x12\x0b\n\x07VarChar\x10\x15\x12\t\n\x05\x41rray\x10\x16\x12\x08\n\x04JSON\x10\x17\x12\x10\n\x0c\x42inaryVector\x10\x64\x12\x0f\n\x0b\x46loatVector\x10\x65\x12\x11\n\rFloat16Vector\x10\x66*V\n\nFieldState\x12\x10\n\x0c\x46ieldCreated\x10\x00\x12\x11\n\rFieldCreating\x10\x01\x12\x11\n\rFieldDropping\x10\x02\x12\x10\n\x0c\x46ieldDropped\x10\x03\x42m\n\x0eio.milvus.grpcB\x0bSchemaProtoP\x01Z4github.com/milvus-io/milvus-proto/go-api/v2/schemapb\xa0\x01\x01\xaa\x02\x12Milvus.Client.Grpcb\x06proto3') -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) -_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'schema_pb2', _globals) +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'schema_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\016io.milvus.grpcB\013SchemaProtoP\001Z4github.com/milvus-io/milvus-proto/go-api/v2/schemapb\240\001\001\252\002\022Milvus.Client.Grpc' - _globals['_DATATYPE']._serialized_start=2403 - _globals['_DATATYPE']._serialized_end=2599 - _globals['_FIELDSTATE']._serialized_start=2601 - _globals['_FIELDSTATE']._serialized_end=2687 - _globals['_FIELDSCHEMA']._serialized_start=52 - _globals['_FIELDSCHEMA']._serialized_end=523 - _globals['_COLLECTIONSCHEMA']._serialized_start=526 - _globals['_COLLECTIONSCHEMA']._serialized_end=675 - _globals['_BOOLARRAY']._serialized_start=677 - _globals['_BOOLARRAY']._serialized_end=702 - _globals['_INTARRAY']._serialized_start=704 - _globals['_INTARRAY']._serialized_end=728 - _globals['_LONGARRAY']._serialized_start=730 - _globals['_LONGARRAY']._serialized_end=755 - _globals['_FLOATARRAY']._serialized_start=757 - _globals['_FLOATARRAY']._serialized_end=783 - _globals['_DOUBLEARRAY']._serialized_start=785 - _globals['_DOUBLEARRAY']._serialized_end=812 - _globals['_BYTESARRAY']._serialized_start=814 - _globals['_BYTESARRAY']._serialized_end=840 - _globals['_STRINGARRAY']._serialized_start=842 - _globals['_STRINGARRAY']._serialized_end=869 - _globals['_ARRAYARRAY']._serialized_start=871 - _globals['_ARRAYARRAY']._serialized_end=984 - _globals['_JSONARRAY']._serialized_start=986 - _globals['_JSONARRAY']._serialized_end=1011 - _globals['_VALUEFIELD']._serialized_start=1014 - _globals['_VALUEFIELD']._serialized_end=1186 - _globals['_SCALARFIELD']._serialized_start=1189 - _globals['_SCALARFIELD']._serialized_end=1699 - _globals['_VECTORFIELD']._serialized_start=1702 - _globals['_VECTORFIELD']._serialized_end=1844 - _globals['_FIELDDATA']._serialized_start=1847 - _globals['_FIELDDATA']._serialized_end=2076 - _globals['_IDS']._serialized_start=2078 - _globals['_IDS']._serialized_end=2197 - _globals['_SEARCHRESULTDATA']._serialized_start=2200 - _globals['_SEARCHRESULTDATA']._serialized_end=2400 + _DATATYPE._serialized_start=2403 + _DATATYPE._serialized_end=2599 + _FIELDSTATE._serialized_start=2601 + _FIELDSTATE._serialized_end=2687 + _FIELDSCHEMA._serialized_start=52 + _FIELDSCHEMA._serialized_end=523 + _COLLECTIONSCHEMA._serialized_start=526 + _COLLECTIONSCHEMA._serialized_end=675 + _BOOLARRAY._serialized_start=677 + _BOOLARRAY._serialized_end=702 + _INTARRAY._serialized_start=704 + _INTARRAY._serialized_end=728 + _LONGARRAY._serialized_start=730 + _LONGARRAY._serialized_end=755 + _FLOATARRAY._serialized_start=757 + _FLOATARRAY._serialized_end=783 + _DOUBLEARRAY._serialized_start=785 + _DOUBLEARRAY._serialized_end=812 + _BYTESARRAY._serialized_start=814 + _BYTESARRAY._serialized_end=840 + _STRINGARRAY._serialized_start=842 + _STRINGARRAY._serialized_end=869 + _ARRAYARRAY._serialized_start=871 + _ARRAYARRAY._serialized_end=984 + _JSONARRAY._serialized_start=986 + _JSONARRAY._serialized_end=1011 + _VALUEFIELD._serialized_start=1014 + _VALUEFIELD._serialized_end=1186 + _SCALARFIELD._serialized_start=1189 + _SCALARFIELD._serialized_end=1699 + _VECTORFIELD._serialized_start=1702 + _VECTORFIELD._serialized_end=1844 + _FIELDDATA._serialized_start=1847 + _FIELDDATA._serialized_end=2076 + _IDS._serialized_start=2078 + _IDS._serialized_end=2197 + _SEARCHRESULTDATA._serialized_start=2200 + _SEARCHRESULTDATA._serialized_end=2400 # @@protoc_insertion_point(module_scope) diff --git a/pymilvus/grpc_gen/schema_pb2.pyi b/pymilvus/grpc_gen/schema_pb2.pyi index 68a62f73d..222d4c831 100644 --- a/pymilvus/grpc_gen/schema_pb2.pyi +++ b/pymilvus/grpc_gen/schema_pb2.pyi @@ -5,95 +5,34 @@ from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union -DESCRIPTOR: _descriptor.FileDescriptor - -class DataType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - None: _ClassVar[DataType] - Bool: _ClassVar[DataType] - Int8: _ClassVar[DataType] - Int16: _ClassVar[DataType] - Int32: _ClassVar[DataType] - Int64: _ClassVar[DataType] - Float: _ClassVar[DataType] - Double: _ClassVar[DataType] - String: _ClassVar[DataType] - VarChar: _ClassVar[DataType] - Array: _ClassVar[DataType] - JSON: _ClassVar[DataType] - BinaryVector: _ClassVar[DataType] - FloatVector: _ClassVar[DataType] - Float16Vector: _ClassVar[DataType] - -class FieldState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): - __slots__ = [] - FieldCreated: _ClassVar[FieldState] - FieldCreating: _ClassVar[FieldState] - FieldDropping: _ClassVar[FieldState] - FieldDropped: _ClassVar[FieldState] -None: DataType +Array: DataType +BinaryVector: DataType Bool: DataType -Int8: DataType +DESCRIPTOR: _descriptor.FileDescriptor +Double: DataType +FieldCreated: FieldState +FieldCreating: FieldState +FieldDropped: FieldState +FieldDropping: FieldState +Float: DataType +Float16Vector: DataType +FloatVector: DataType Int16: DataType Int32: DataType Int64: DataType -Float: DataType -Double: DataType +Int8: DataType +JSON: DataType +None: DataType String: DataType VarChar: DataType -Array: DataType -JSON: DataType -BinaryVector: DataType -FloatVector: DataType -Float16Vector: DataType -FieldCreated: FieldState -FieldCreating: FieldState -FieldDropping: FieldState -FieldDropped: FieldState -class FieldSchema(_message.Message): - __slots__ = ["fieldID", "name", "is_primary_key", "description", "data_type", "type_params", "index_params", "autoID", "state", "element_type", "default_value", "is_dynamic", "is_partition_key"] - FIELDID_FIELD_NUMBER: _ClassVar[int] - NAME_FIELD_NUMBER: _ClassVar[int] - IS_PRIMARY_KEY_FIELD_NUMBER: _ClassVar[int] - DESCRIPTION_FIELD_NUMBER: _ClassVar[int] - DATA_TYPE_FIELD_NUMBER: _ClassVar[int] - TYPE_PARAMS_FIELD_NUMBER: _ClassVar[int] - INDEX_PARAMS_FIELD_NUMBER: _ClassVar[int] - AUTOID_FIELD_NUMBER: _ClassVar[int] - STATE_FIELD_NUMBER: _ClassVar[int] +class ArrayArray(_message.Message): + __slots__ = ["data", "element_type"] + DATA_FIELD_NUMBER: _ClassVar[int] ELEMENT_TYPE_FIELD_NUMBER: _ClassVar[int] - DEFAULT_VALUE_FIELD_NUMBER: _ClassVar[int] - IS_DYNAMIC_FIELD_NUMBER: _ClassVar[int] - IS_PARTITION_KEY_FIELD_NUMBER: _ClassVar[int] - fieldID: int - name: str - is_primary_key: bool - description: str - data_type: DataType - type_params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - index_params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] - autoID: bool - state: FieldState + data: _containers.RepeatedCompositeFieldContainer[ScalarField] element_type: DataType - default_value: ValueField - is_dynamic: bool - is_partition_key: bool - def __init__(self, fieldID: _Optional[int] = ..., name: _Optional[str] = ..., is_primary_key: bool = ..., description: _Optional[str] = ..., data_type: _Optional[_Union[DataType, str]] = ..., type_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., index_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., autoID: bool = ..., state: _Optional[_Union[FieldState, str]] = ..., element_type: _Optional[_Union[DataType, str]] = ..., default_value: _Optional[_Union[ValueField, _Mapping]] = ..., is_dynamic: bool = ..., is_partition_key: bool = ...) -> None: ... - -class CollectionSchema(_message.Message): - __slots__ = ["name", "description", "autoID", "fields", "enable_dynamic_field"] - NAME_FIELD_NUMBER: _ClassVar[int] - DESCRIPTION_FIELD_NUMBER: _ClassVar[int] - AUTOID_FIELD_NUMBER: _ClassVar[int] - FIELDS_FIELD_NUMBER: _ClassVar[int] - ENABLE_DYNAMIC_FIELD_FIELD_NUMBER: _ClassVar[int] - name: str - description: str - autoID: bool - fields: _containers.RepeatedCompositeFieldContainer[FieldSchema] - enable_dynamic_field: bool - def __init__(self, name: _Optional[str] = ..., description: _Optional[str] = ..., autoID: bool = ..., fields: _Optional[_Iterable[_Union[FieldSchema, _Mapping]]] = ..., enable_dynamic_field: bool = ...) -> None: ... + def __init__(self, data: _Optional[_Iterable[_Union[ScalarField, _Mapping]]] = ..., element_type: _Optional[_Union[DataType, str]] = ...) -> None: ... class BoolArray(_message.Message): __slots__ = ["data"] @@ -101,17 +40,77 @@ class BoolArray(_message.Message): data: _containers.RepeatedScalarFieldContainer[bool] def __init__(self, data: _Optional[_Iterable[bool]] = ...) -> None: ... -class IntArray(_message.Message): +class BytesArray(_message.Message): __slots__ = ["data"] DATA_FIELD_NUMBER: _ClassVar[int] - data: _containers.RepeatedScalarFieldContainer[int] - def __init__(self, data: _Optional[_Iterable[int]] = ...) -> None: ... + data: _containers.RepeatedScalarFieldContainer[bytes] + def __init__(self, data: _Optional[_Iterable[bytes]] = ...) -> None: ... -class LongArray(_message.Message): +class CollectionSchema(_message.Message): + __slots__ = ["autoID", "description", "enable_dynamic_field", "fields", "name"] + AUTOID_FIELD_NUMBER: _ClassVar[int] + DESCRIPTION_FIELD_NUMBER: _ClassVar[int] + ENABLE_DYNAMIC_FIELD_FIELD_NUMBER: _ClassVar[int] + FIELDS_FIELD_NUMBER: _ClassVar[int] + NAME_FIELD_NUMBER: _ClassVar[int] + autoID: bool + description: str + enable_dynamic_field: bool + fields: _containers.RepeatedCompositeFieldContainer[FieldSchema] + name: str + def __init__(self, name: _Optional[str] = ..., description: _Optional[str] = ..., autoID: bool = ..., fields: _Optional[_Iterable[_Union[FieldSchema, _Mapping]]] = ..., enable_dynamic_field: bool = ...) -> None: ... + +class DoubleArray(_message.Message): __slots__ = ["data"] DATA_FIELD_NUMBER: _ClassVar[int] - data: _containers.RepeatedScalarFieldContainer[int] - def __init__(self, data: _Optional[_Iterable[int]] = ...) -> None: ... + data: _containers.RepeatedScalarFieldContainer[float] + def __init__(self, data: _Optional[_Iterable[float]] = ...) -> None: ... + +class FieldData(_message.Message): + __slots__ = ["field_id", "field_name", "is_dynamic", "scalars", "type", "vectors"] + FIELD_ID_FIELD_NUMBER: _ClassVar[int] + FIELD_NAME_FIELD_NUMBER: _ClassVar[int] + IS_DYNAMIC_FIELD_NUMBER: _ClassVar[int] + SCALARS_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] + VECTORS_FIELD_NUMBER: _ClassVar[int] + field_id: int + field_name: str + is_dynamic: bool + scalars: ScalarField + type: DataType + vectors: VectorField + def __init__(self, type: _Optional[_Union[DataType, str]] = ..., field_name: _Optional[str] = ..., scalars: _Optional[_Union[ScalarField, _Mapping]] = ..., vectors: _Optional[_Union[VectorField, _Mapping]] = ..., field_id: _Optional[int] = ..., is_dynamic: bool = ...) -> None: ... + +class FieldSchema(_message.Message): + __slots__ = ["autoID", "data_type", "default_value", "description", "element_type", "fieldID", "index_params", "is_dynamic", "is_partition_key", "is_primary_key", "name", "state", "type_params"] + AUTOID_FIELD_NUMBER: _ClassVar[int] + DATA_TYPE_FIELD_NUMBER: _ClassVar[int] + DEFAULT_VALUE_FIELD_NUMBER: _ClassVar[int] + DESCRIPTION_FIELD_NUMBER: _ClassVar[int] + ELEMENT_TYPE_FIELD_NUMBER: _ClassVar[int] + FIELDID_FIELD_NUMBER: _ClassVar[int] + INDEX_PARAMS_FIELD_NUMBER: _ClassVar[int] + IS_DYNAMIC_FIELD_NUMBER: _ClassVar[int] + IS_PARTITION_KEY_FIELD_NUMBER: _ClassVar[int] + IS_PRIMARY_KEY_FIELD_NUMBER: _ClassVar[int] + NAME_FIELD_NUMBER: _ClassVar[int] + STATE_FIELD_NUMBER: _ClassVar[int] + TYPE_PARAMS_FIELD_NUMBER: _ClassVar[int] + autoID: bool + data_type: DataType + default_value: ValueField + description: str + element_type: DataType + fieldID: int + index_params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + is_dynamic: bool + is_partition_key: bool + is_primary_key: bool + name: str + state: FieldState + type_params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + def __init__(self, fieldID: _Optional[int] = ..., name: _Optional[str] = ..., is_primary_key: bool = ..., description: _Optional[str] = ..., data_type: _Optional[_Union[DataType, str]] = ..., type_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., index_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., autoID: bool = ..., state: _Optional[_Union[FieldState, str]] = ..., element_type: _Optional[_Union[DataType, str]] = ..., default_value: _Optional[_Union[ValueField, _Mapping]] = ..., is_dynamic: bool = ..., is_partition_key: bool = ...) -> None: ... class FloatArray(_message.Message): __slots__ = ["data"] @@ -119,128 +118,110 @@ class FloatArray(_message.Message): data: _containers.RepeatedScalarFieldContainer[float] def __init__(self, data: _Optional[_Iterable[float]] = ...) -> None: ... -class DoubleArray(_message.Message): +class IDs(_message.Message): + __slots__ = ["int_id", "str_id"] + INT_ID_FIELD_NUMBER: _ClassVar[int] + STR_ID_FIELD_NUMBER: _ClassVar[int] + int_id: LongArray + str_id: StringArray + def __init__(self, int_id: _Optional[_Union[LongArray, _Mapping]] = ..., str_id: _Optional[_Union[StringArray, _Mapping]] = ...) -> None: ... + +class IntArray(_message.Message): __slots__ = ["data"] DATA_FIELD_NUMBER: _ClassVar[int] - data: _containers.RepeatedScalarFieldContainer[float] - def __init__(self, data: _Optional[_Iterable[float]] = ...) -> None: ... + data: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, data: _Optional[_Iterable[int]] = ...) -> None: ... -class BytesArray(_message.Message): +class JSONArray(_message.Message): __slots__ = ["data"] DATA_FIELD_NUMBER: _ClassVar[int] data: _containers.RepeatedScalarFieldContainer[bytes] def __init__(self, data: _Optional[_Iterable[bytes]] = ...) -> None: ... -class StringArray(_message.Message): +class LongArray(_message.Message): __slots__ = ["data"] DATA_FIELD_NUMBER: _ClassVar[int] - data: _containers.RepeatedScalarFieldContainer[str] - def __init__(self, data: _Optional[_Iterable[str]] = ...) -> None: ... + data: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, data: _Optional[_Iterable[int]] = ...) -> None: ... -class ArrayArray(_message.Message): - __slots__ = ["data", "element_type"] - DATA_FIELD_NUMBER: _ClassVar[int] - ELEMENT_TYPE_FIELD_NUMBER: _ClassVar[int] - data: _containers.RepeatedCompositeFieldContainer[ScalarField] - element_type: DataType - def __init__(self, data: _Optional[_Iterable[_Union[ScalarField, _Mapping]]] = ..., element_type: _Optional[_Union[DataType, str]] = ...) -> None: ... +class ScalarField(_message.Message): + __slots__ = ["array_data", "bool_data", "bytes_data", "double_data", "float_data", "int_data", "json_data", "long_data", "string_data"] + ARRAY_DATA_FIELD_NUMBER: _ClassVar[int] + BOOL_DATA_FIELD_NUMBER: _ClassVar[int] + BYTES_DATA_FIELD_NUMBER: _ClassVar[int] + DOUBLE_DATA_FIELD_NUMBER: _ClassVar[int] + FLOAT_DATA_FIELD_NUMBER: _ClassVar[int] + INT_DATA_FIELD_NUMBER: _ClassVar[int] + JSON_DATA_FIELD_NUMBER: _ClassVar[int] + LONG_DATA_FIELD_NUMBER: _ClassVar[int] + STRING_DATA_FIELD_NUMBER: _ClassVar[int] + array_data: ArrayArray + bool_data: BoolArray + bytes_data: BytesArray + double_data: DoubleArray + float_data: FloatArray + int_data: IntArray + json_data: JSONArray + long_data: LongArray + string_data: StringArray + def __init__(self, bool_data: _Optional[_Union[BoolArray, _Mapping]] = ..., int_data: _Optional[_Union[IntArray, _Mapping]] = ..., long_data: _Optional[_Union[LongArray, _Mapping]] = ..., float_data: _Optional[_Union[FloatArray, _Mapping]] = ..., double_data: _Optional[_Union[DoubleArray, _Mapping]] = ..., string_data: _Optional[_Union[StringArray, _Mapping]] = ..., bytes_data: _Optional[_Union[BytesArray, _Mapping]] = ..., array_data: _Optional[_Union[ArrayArray, _Mapping]] = ..., json_data: _Optional[_Union[JSONArray, _Mapping]] = ...) -> None: ... -class JSONArray(_message.Message): +class SearchResultData(_message.Message): + __slots__ = ["fields_data", "ids", "num_queries", "output_fields", "scores", "top_k", "topks"] + FIELDS_DATA_FIELD_NUMBER: _ClassVar[int] + IDS_FIELD_NUMBER: _ClassVar[int] + NUM_QUERIES_FIELD_NUMBER: _ClassVar[int] + OUTPUT_FIELDS_FIELD_NUMBER: _ClassVar[int] + SCORES_FIELD_NUMBER: _ClassVar[int] + TOPKS_FIELD_NUMBER: _ClassVar[int] + TOP_K_FIELD_NUMBER: _ClassVar[int] + fields_data: _containers.RepeatedCompositeFieldContainer[FieldData] + ids: IDs + num_queries: int + output_fields: _containers.RepeatedScalarFieldContainer[str] + scores: _containers.RepeatedScalarFieldContainer[float] + top_k: int + topks: _containers.RepeatedScalarFieldContainer[int] + def __init__(self, num_queries: _Optional[int] = ..., top_k: _Optional[int] = ..., fields_data: _Optional[_Iterable[_Union[FieldData, _Mapping]]] = ..., scores: _Optional[_Iterable[float]] = ..., ids: _Optional[_Union[IDs, _Mapping]] = ..., topks: _Optional[_Iterable[int]] = ..., output_fields: _Optional[_Iterable[str]] = ...) -> None: ... + +class StringArray(_message.Message): __slots__ = ["data"] DATA_FIELD_NUMBER: _ClassVar[int] - data: _containers.RepeatedScalarFieldContainer[bytes] - def __init__(self, data: _Optional[_Iterable[bytes]] = ...) -> None: ... + data: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, data: _Optional[_Iterable[str]] = ...) -> None: ... class ValueField(_message.Message): - __slots__ = ["bool_data", "int_data", "long_data", "float_data", "double_data", "string_data", "bytes_data"] + __slots__ = ["bool_data", "bytes_data", "double_data", "float_data", "int_data", "long_data", "string_data"] BOOL_DATA_FIELD_NUMBER: _ClassVar[int] + BYTES_DATA_FIELD_NUMBER: _ClassVar[int] + DOUBLE_DATA_FIELD_NUMBER: _ClassVar[int] + FLOAT_DATA_FIELD_NUMBER: _ClassVar[int] INT_DATA_FIELD_NUMBER: _ClassVar[int] LONG_DATA_FIELD_NUMBER: _ClassVar[int] - FLOAT_DATA_FIELD_NUMBER: _ClassVar[int] - DOUBLE_DATA_FIELD_NUMBER: _ClassVar[int] STRING_DATA_FIELD_NUMBER: _ClassVar[int] - BYTES_DATA_FIELD_NUMBER: _ClassVar[int] bool_data: bool + bytes_data: bytes + double_data: float + float_data: float int_data: int long_data: int - float_data: float - double_data: float string_data: str - bytes_data: bytes def __init__(self, bool_data: bool = ..., int_data: _Optional[int] = ..., long_data: _Optional[int] = ..., float_data: _Optional[float] = ..., double_data: _Optional[float] = ..., string_data: _Optional[str] = ..., bytes_data: _Optional[bytes] = ...) -> None: ... -class ScalarField(_message.Message): - __slots__ = ["bool_data", "int_data", "long_data", "float_data", "double_data", "string_data", "bytes_data", "array_data", "json_data"] - BOOL_DATA_FIELD_NUMBER: _ClassVar[int] - INT_DATA_FIELD_NUMBER: _ClassVar[int] - LONG_DATA_FIELD_NUMBER: _ClassVar[int] - FLOAT_DATA_FIELD_NUMBER: _ClassVar[int] - DOUBLE_DATA_FIELD_NUMBER: _ClassVar[int] - STRING_DATA_FIELD_NUMBER: _ClassVar[int] - BYTES_DATA_FIELD_NUMBER: _ClassVar[int] - ARRAY_DATA_FIELD_NUMBER: _ClassVar[int] - JSON_DATA_FIELD_NUMBER: _ClassVar[int] - bool_data: BoolArray - int_data: IntArray - long_data: LongArray - float_data: FloatArray - double_data: DoubleArray - string_data: StringArray - bytes_data: BytesArray - array_data: ArrayArray - json_data: JSONArray - def __init__(self, bool_data: _Optional[_Union[BoolArray, _Mapping]] = ..., int_data: _Optional[_Union[IntArray, _Mapping]] = ..., long_data: _Optional[_Union[LongArray, _Mapping]] = ..., float_data: _Optional[_Union[FloatArray, _Mapping]] = ..., double_data: _Optional[_Union[DoubleArray, _Mapping]] = ..., string_data: _Optional[_Union[StringArray, _Mapping]] = ..., bytes_data: _Optional[_Union[BytesArray, _Mapping]] = ..., array_data: _Optional[_Union[ArrayArray, _Mapping]] = ..., json_data: _Optional[_Union[JSONArray, _Mapping]] = ...) -> None: ... - class VectorField(_message.Message): - __slots__ = ["dim", "float_vector", "binary_vector", "float16_vector"] - DIM_FIELD_NUMBER: _ClassVar[int] - FLOAT_VECTOR_FIELD_NUMBER: _ClassVar[int] + __slots__ = ["binary_vector", "dim", "float16_vector", "float_vector"] BINARY_VECTOR_FIELD_NUMBER: _ClassVar[int] + DIM_FIELD_NUMBER: _ClassVar[int] FLOAT16_VECTOR_FIELD_NUMBER: _ClassVar[int] - dim: int - float_vector: FloatArray + FLOAT_VECTOR_FIELD_NUMBER: _ClassVar[int] binary_vector: bytes + dim: int float16_vector: bytes + float_vector: FloatArray def __init__(self, dim: _Optional[int] = ..., float_vector: _Optional[_Union[FloatArray, _Mapping]] = ..., binary_vector: _Optional[bytes] = ..., float16_vector: _Optional[bytes] = ...) -> None: ... -class FieldData(_message.Message): - __slots__ = ["type", "field_name", "scalars", "vectors", "field_id", "is_dynamic"] - TYPE_FIELD_NUMBER: _ClassVar[int] - FIELD_NAME_FIELD_NUMBER: _ClassVar[int] - SCALARS_FIELD_NUMBER: _ClassVar[int] - VECTORS_FIELD_NUMBER: _ClassVar[int] - FIELD_ID_FIELD_NUMBER: _ClassVar[int] - IS_DYNAMIC_FIELD_NUMBER: _ClassVar[int] - type: DataType - field_name: str - scalars: ScalarField - vectors: VectorField - field_id: int - is_dynamic: bool - def __init__(self, type: _Optional[_Union[DataType, str]] = ..., field_name: _Optional[str] = ..., scalars: _Optional[_Union[ScalarField, _Mapping]] = ..., vectors: _Optional[_Union[VectorField, _Mapping]] = ..., field_id: _Optional[int] = ..., is_dynamic: bool = ...) -> None: ... - -class IDs(_message.Message): - __slots__ = ["int_id", "str_id"] - INT_ID_FIELD_NUMBER: _ClassVar[int] - STR_ID_FIELD_NUMBER: _ClassVar[int] - int_id: LongArray - str_id: StringArray - def __init__(self, int_id: _Optional[_Union[LongArray, _Mapping]] = ..., str_id: _Optional[_Union[StringArray, _Mapping]] = ...) -> None: ... +class DataType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] -class SearchResultData(_message.Message): - __slots__ = ["num_queries", "top_k", "fields_data", "scores", "ids", "topks", "output_fields"] - NUM_QUERIES_FIELD_NUMBER: _ClassVar[int] - TOP_K_FIELD_NUMBER: _ClassVar[int] - FIELDS_DATA_FIELD_NUMBER: _ClassVar[int] - SCORES_FIELD_NUMBER: _ClassVar[int] - IDS_FIELD_NUMBER: _ClassVar[int] - TOPKS_FIELD_NUMBER: _ClassVar[int] - OUTPUT_FIELDS_FIELD_NUMBER: _ClassVar[int] - num_queries: int - top_k: int - fields_data: _containers.RepeatedCompositeFieldContainer[FieldData] - scores: _containers.RepeatedScalarFieldContainer[float] - ids: IDs - topks: _containers.RepeatedScalarFieldContainer[int] - output_fields: _containers.RepeatedScalarFieldContainer[str] - def __init__(self, num_queries: _Optional[int] = ..., top_k: _Optional[int] = ..., fields_data: _Optional[_Iterable[_Union[FieldData, _Mapping]]] = ..., scores: _Optional[_Iterable[float]] = ..., ids: _Optional[_Union[IDs, _Mapping]] = ..., topks: _Optional[_Iterable[int]] = ..., output_fields: _Optional[_Iterable[str]] = ...) -> None: ... +class FieldState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = []