diff --git a/examples/nested_array.py b/examples/nested_array.py new file mode 100644 index 000000000..19109acbe --- /dev/null +++ b/examples/nested_array.py @@ -0,0 +1,110 @@ +"""Store integer and string arrays inside an array of structs. + +Requires a Milvus server that supports array sub-fields in structs. +Run from the repository root: PYTHONPATH=. python examples/nested_array.py +""" + +from pprint import pprint + +from pymilvus import DataType, MilvusClient + +URI = "http://localhost:19530" +COLLECTION_NAME = "nested_array_example" + + +def main() -> None: + client = MilvusClient(URI) + try: + if client.has_collection(COLLECTION_NAME): + client.drop_collection(COLLECTION_NAME) + + schema = client.create_schema(auto_id=False) + schema.add_field("pk", DataType.INT64, is_primary=True) + schema.add_field("vector", DataType.FLOAT_VECTOR, dim=4) + + # Each Struct element contains Array and Array fields. + group_schema = client.create_struct_field_schema() + group_schema.add_field( + "values", DataType.ARRAY, element_type=DataType.INT32, max_capacity=4 + ) + group_schema.add_field( + "labels", + DataType.ARRAY, + element_type=DataType.VARCHAR, + max_capacity=4, + max_length=64, + ) + schema.add_field( + "groups", + DataType.ARRAY, + element_type=DataType.STRUCT, + struct_schema=group_schema, + max_capacity=8, # Up to eight Struct elements per row. + nullable=True, # Nullability applies to the whole Struct array. + ) + + index_params = client.prepare_index_params() + index_params.add_index(field_name="vector", index_type="AUTOINDEX", metric_type="COSINE") + client.create_collection( + collection_name=COLLECTION_NAME, + schema=schema, + index_params=index_params, + consistency_level="Strong", + ) + + # Describe returns the same logical field types used above. + print("Describe collection:") + pprint(client.describe_collection(COLLECTION_NAME), sort_dicts=False) + + rows = [ + { + "pk": 0, + "vector": [1.0, 0.0, 0.0, 0.0], + "groups": [ + {"values": [1, 2], "labels": ["alpha", "shared"]}, + {"values": [-3, 4], "labels": ["beta", "shared"]}, + ], + }, + { + "pk": 1, + "vector": [0.0, 1.0, 0.0, 0.0], + "groups": None, # A null Struct array. + }, + { + "pk": 2, + "vector": [0.0, 0.0, 1.0, 0.0], + "groups": [{"values": [], "labels": []}], # Empty array sub-fields. + }, + { + "pk": 3, + "vector": [0.0, 0.0, 0.0, 1.0], + "groups": [], # An empty Struct array. + }, + ] + result = client.insert(collection_name=COLLECTION_NAME, data=rows) + print(f"Inserted {result['insert_count']} rows") + + print("Query inserted rows:") + result = client.query( + collection_name=COLLECTION_NAME, + filter="pk in [0, 1, 2, 3]", + output_fields=["pk", "groups"], + ) + pprint(sorted(result, key=lambda row: row["pk"]), sort_dicts=False) + + # Match rows with at least one Struct element whose labels contain "alpha". + print("Rows containing the label 'alpha' (pk=0):") + result = client.query( + collection_name=COLLECTION_NAME, + filter='MATCH_ANY(groups, array_contains($[labels], "alpha"))', + output_fields=["pk", "groups"], + ) + pprint(result, sort_dicts=False) + + client.drop_collection(COLLECTION_NAME) + finally: + client.close() + + +if __name__ == "__main__": + main() diff --git a/pymilvus/client/abstract.py b/pymilvus/client/abstract.py index 489370464..a48011e3e 100644 --- a/pymilvus/client/abstract.py +++ b/pymilvus/client/abstract.py @@ -18,6 +18,35 @@ logger = logging.getLogger(__name__) +def _type_schema_params_to_dict(raw_params: Any) -> Dict[str, Any]: + params = {} + for type_param in raw_params: + key = "mmap_enabled" if type_param.key == "mmap.enabled" else type_param.key + value: Any = type_param.value + if key == "mmap_enabled": + value = value.lower() != "false" + elif key in ("dim", "max_capacity", Config.MaxVarCharLengthKey): + value = int(value) + params[key] = value + return params + + +def _type_schema_to_dict(raw: Any) -> Dict[str, Any]: + kind = raw.WhichOneof("kind") + result = ( + {"array_element": _type_schema_to_dict(raw.array_element)} + if kind == "array_element" + else {"leaf_type": DataType(raw.leaf_type)} + ) + if raw.nullable: + result["nullable"] = True + + params = _type_schema_params_to_dict(raw.type_params) + if params: + result["type_params"] = params + return result + + class FieldSchema: def __init__(self, raw: Any): self._raw = raw @@ -38,6 +67,7 @@ def __init__(self, raw: Any): self.external_field = "" # For array field self.element_type = None + self.type_schema = None self.is_clustering_key = False self.__pack(self._raw) @@ -50,6 +80,9 @@ def __pack(self, raw: Any): self.type = DataType(raw.data_type) self.is_partition_key = raw.is_partition_key self.element_type = DataType(raw.element_type) + if self.type == DataType.ARRAY and self.element_type == DataType.ARRAY: + self.type_schema = _type_schema_to_dict(raw.type_schema) + self.params.update(self.type_schema.get("type_params", {})) self.is_clustering_key = raw.is_clustering_key self.default_value = raw.default_value if raw.default_value is not None and raw.default_value.WhichOneof("data") is None: @@ -122,6 +155,8 @@ def dict(self): if self.element_type: _dict["element_type"] = self.element_type + if self.type_schema is not None: + _dict["type_schema"] = self.type_schema if self.is_partition_key: _dict["is_partition_key"] = True diff --git a/pymilvus/client/entity_helper.py b/pymilvus/client/entity_helper.py index d477a4ab0..a30bf17e2 100644 --- a/pymilvus/client/entity_helper.py +++ b/pymilvus/client/entity_helper.py @@ -337,6 +337,25 @@ def convert_to_array(obj: List[Any], field_info: Any): obj = obj.tolist() field_data = schema_types.ScalarField() + type_schema = field_info.get("type_schema") + if type_schema is not None: + element = type_schema["array_element"] + if "leaf_type" in element: + return convert_to_array( + obj, {"name": field_info.get("name"), "element_type": element["leaf_type"]} + ) + array_data = field_data.array_data + array_data.element_type = ( + DataType.ARRAY + if "array_element" in element["array_element"] + else element["array_element"]["leaf_type"] + ) + array_data.data.extend( + convert_to_array(value, {"name": field_info.get("name"), "type_schema": element}) + for value in obj + ) + return field_data + element_type = field_info.get("element_type", None) attr_name = type_info.get_array_element_attr(element_type) if attr_name is not None: @@ -497,6 +516,8 @@ def _pack_scalar_row( ): try: payload = _get_protobuf_payload(field_data, dtype) + if dtype == DataType.ARRAY and field_info.get("type_schema") is not None: + payload.element_type = DataType.ARRAY if value is None: payload.data.extend([]) return @@ -667,6 +688,8 @@ def entity_to_field_data(entity: Dict, field_info: Any, num_rows: int) -> schema elif entity_type == DataType.JSON: entity_values = entity_to_json_arr(entity_values, field_info) elif entity_type == DataType.ARRAY: + if field_info.get("type_schema") is not None: + field_data.scalars.array_data.element_type = DataType.ARRAY entity_values = entity_to_array_arr(entity_values, field_info) getattr(field_data.scalars, attr_name).data.extend(entity_values) elif entity_type == DataType.FLOAT_VECTOR: diff --git a/pymilvus/client/field_data_extractors.py b/pymilvus/client/field_data_extractors.py index cc10ffd7d..c3662cb6b 100644 --- a/pymilvus/client/field_data_extractors.py +++ b/pymilvus/client/field_data_extractors.py @@ -69,9 +69,22 @@ def decode_array_value(array_cell: Any, index: int) -> Any: data = getattr(array_cell, attr).data if len(data) <= index: return None + if attr == "array_data": + return decode_array(data[index], array_cell.array_data.element_type) return data[index] +def decode_array(array_cell: Any, element_type: DataType) -> Any: + """Recursively decode one ScalarField containing an ARRAY value.""" + if element_type == DataType.ARRAY: + array_data = array_cell.array_data + return [decode_array(value, array_data.element_type) for value in array_data.data] + attr = type_info.get_array_element_attr(element_type) + if attr is None: + raise MilvusException(message=f"Unsupported data type: {element_type}") + return list(getattr(array_cell, attr).data) + + def vector_array_length(vector_data: Any, element_type: DataType) -> int: """Return the number of vector values stored in one VectorArray row.""" element_type = _resolve_vector_array_element_type(vector_data, element_type) @@ -113,6 +126,8 @@ def decode_array_cell(field_data: Any, logical_index: int) -> Any: array_data = field_data.scalars.array_data if logical_index >= len(array_data.data): return None + if array_data.element_type == DataType.ARRAY: + return decode_array(array_data.data[logical_index], array_data.element_type) attr = type_info.get_array_element_attr(array_data.element_type) if attr is None: raise MilvusException(message=f"Unsupported data type: {array_data.element_type}") @@ -241,8 +256,8 @@ def _resolve_vector_array_element_type(vector_data: Any, element_type: DataType) def _populated_array_attr(array_cell: Any) -> Optional[str]: - for info in type_info.TYPE_INFO.values(): - attr = info.array_element_attr + attrs = (info.array_element_attr for info in type_info.TYPE_INFO.values()) + for attr in (*attrs, "array_data"): if attr is None: continue data = getattr(array_cell, attr, None) diff --git a/pymilvus/client/prepare.py b/pymilvus/client/prepare.py index ace1f4411..b457ab12a 100644 --- a/pymilvus/client/prepare.py +++ b/pymilvus/client/prepare.py @@ -1,4 +1,5 @@ import base64 +import copy import datetime import json import re @@ -86,6 +87,29 @@ class Prepare: + @staticmethod + def _type_schema_from_dict(type_schema: Dict) -> schema_types.TypeSchema: + """Encode the complete recursive type tree without adding ARRAY levels.""" + result = schema_types.TypeSchema(nullable=type_schema.get("nullable", False)) + if "array_element" in type_schema: + result.array_element.CopyFrom( + Prepare._type_schema_from_dict(type_schema["array_element"]) + ) + else: + result.leaf_type = type_schema["leaf_type"] + for key, value in type_schema.get("type_params", {}).items(): + result.type_params.append( + common_types.KeyValuePair( + key=str(key) if key != "mmap_enabled" else "mmap.enabled", + value=( + orjson.dumps(value).decode(Config.EncodeProtocol) + if not isinstance(value, str) + else value + ), + ) + ) + return result + @classmethod def create_collection_request( cls, @@ -204,6 +228,9 @@ def get_schema_from_collection_schema( ) field_schema.type_params.append(kv_pair) + if f.type_schema is not None: + field_schema.type_schema.CopyFrom(cls._type_schema_from_dict(f.type_schema)) + schema.fields.append(field_schema) for struct in fields.struct_fields: @@ -265,7 +292,33 @@ def get_struct_array_field_schema( is_function_output=f.is_function_output, ) - field_params = dict(f.params) if f.params else {} + logical_array_type = None + if f.dtype == DataType.ARRAY: + if f.type_schema is not None: + logical_array_type = copy.deepcopy(f.type_schema) + else: + array_params = {"max_capacity", "mmap_enabled", "warmup"} + logical_array_type = { + "array_element": { + "leaf_type": f.element_type, + "type_params": { + key: value + for key, value in f.params.items() + if key not in array_params + }, + }, + "type_params": { + key: value for key, value in f.params.items() if key in array_params + }, + } + logical_params = logical_array_type.get("type_params", {}) + field_params = { + key: logical_params.pop(key) + for key in ("mmap_enabled", "warmup") + if key in logical_params + } + else: + field_params = dict(f.params) if f.params else {} field_params["max_capacity"] = struct.max_capacity for k, v in field_params.items(): @@ -273,6 +326,14 @@ def get_struct_array_field_schema( key=str(k) if k != "mmap_enabled" else "mmap.enabled", value=json.dumps(v) ) field_schema.type_params.append(kv_pair) + if logical_array_type is not None: + physical_array_type = { + "array_element": logical_array_type, + "type_params": field_params, + } + field_schema.type_schema.CopyFrom( + Prepare._type_schema_from_dict(physical_array_type) + ) struct_schema.fields.append(field_schema) return struct_schema @@ -345,6 +406,15 @@ def get_field_schema( ] field_schema.type_params.extend(kvs) + if field.get("type_schema") is not None: + normalized = FieldSchema.construct_from_dict(field) + field_schema.element_type = normalized.element_type + field_schema.type_schema.CopyFrom( + Prepare._type_schema_from_dict(normalized.type_schema) + ) + field_schema.ClearField("type_params") + field_schema.type_params.extend(field_schema.type_schema.type_params) + return field_schema, primary_field, auto_id_field @classmethod @@ -748,6 +818,8 @@ def _add_empty_struct_data( continue if field_info["type"] == DataType.ARRAY: + if field_info.get("type_schema") is not None: + field_data.scalars.array_data.element_type = DataType.ARRAY field_data.scalars.array_data.data.append(convert_to_array([], field_info)) elif field_info["type"] == DataType._ARRAY_OF_VECTOR: field_data.vectors.vector_array.dim = Prepare._get_dim_value(field_info) @@ -801,6 +873,8 @@ def _process_struct_values( field_info = struct_field_info[field_name] if field_info["type"] == DataType.ARRAY: + if field_info.get("type_schema") is not None: + field_data.scalars.array_data.element_type = DataType.ARRAY field_data.scalars.array_data.data.append(convert_to_array(values, field_info)) elif field_info["type"] == DataType._ARRAY_OF_VECTOR: field_data.vectors.vector_array.dim = Prepare._get_dim_value(field_info) diff --git a/pymilvus/client/search_result.py b/pymilvus/client/search_result.py index e8c85a1f1..29c2b3da0 100644 --- a/pymilvus/client/search_result.py +++ b/pymilvus/client/search_result.py @@ -566,6 +566,12 @@ def get(self, key: Any, default: Any = None): def extract_array_row_data( scalars: List[schema_pb2.ScalarField], element_type: DataType ) -> List[List[Any]]: + if element_type == DataType.ARRAY: + return [ + None if array is None else field_data_extractors.decode_array(array, element_type) + for array in scalars + ] + attr = get_array_element_attr(element_type) if attr is None: raise MilvusException(message=f"Unsupported data type: {element_type}") diff --git a/pymilvus/client/utils.py b/pymilvus/client/utils.py index 9e51ad1c7..04892e121 100644 --- a/pymilvus/client/utils.py +++ b/pymilvus/client/utils.py @@ -1,3 +1,4 @@ +import copy import datetime import importlib.util import struct @@ -466,6 +467,9 @@ def convert_struct_fields_to_user_format(struct_array_fields: List[Dict]) -> Lis # Struct fields are always ARRAY or ARRAY_OF_VECTOR, so element_type must exist # Handle both cases: element_type as dict key or already converted DataType user_field_type = f.get("element_type") + type_schema = f.get("type_schema") + if type_schema is not None: + user_field_type = DataType.ARRAY if user_field_type: struct_sub_field = { @@ -481,6 +485,20 @@ def convert_struct_fields_to_user_format(struct_array_fields: List[Dict]) -> Lis if cleaned_params: struct_sub_field["params"] = cleaned_params + if type_schema is not None: + logical_array_type = copy.deepcopy(type_schema["array_element"]) + cleaned_params = struct_sub_field.get("params", {}) + cleaned_params.update(logical_array_type.get("type_params", {})) + element = logical_array_type["array_element"] + if "array_element" in element: + struct_sub_field["element_type"] = DataType.ARRAY + struct_sub_field["type_schema"] = logical_array_type + else: + struct_sub_field["element_type"] = element["leaf_type"] + cleaned_params.update(element.get("type_params", {})) + if cleaned_params: + struct_sub_field["params"] = copy.deepcopy(cleaned_params) + struct_fields.append(struct_sub_field) user_struct_field["struct_fields"] = struct_fields diff --git a/pymilvus/grpc_gen/common_pb2.py b/pymilvus/grpc_gen/common_pb2.py index a9b4ac709..5849f8379 100644 --- a/pymilvus/grpc_gen/common_pb2.py +++ b/pymilvus/grpc_gen/common_pb2.py @@ -25,7 +25,7 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x63ommon.proto\x12\x13milvus.proto.common\x1a google/protobuf/descriptor.proto\"\xf3\x01\n\x06Status\x12\x36\n\nerror_code\x18\x01 \x01(\x0e\x32\x1e.milvus.proto.common.ErrorCodeB\x02\x18\x01\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x0c\n\x04\x63ode\x18\x03 \x01(\x05\x12\x11\n\tretriable\x18\x04 \x01(\x08\x12\x0e\n\x06\x64\x65tail\x18\x05 \x01(\t\x12>\n\nextra_info\x18\x06 \x03(\x0b\x32*.milvus.proto.common.Status.ExtraInfoEntry\x1a\x30\n\x0e\x45xtraInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\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\"z\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\x12\x15\n\relement_level\x18\x04 \x01(\x08\"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\"\xb3\x02\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\x12@\n\nproperties\x18\x06 \x03(\x0b\x32,.milvus.proto.common.MsgBase.PropertiesEntry\x12=\n\rreplicateInfo\x18\x07 \x01(\x0b\x32\".milvus.proto.common.ReplicateInfoB\x02\x18\x01\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"S\n\rReplicateInfo\x12\x13\n\x0bisReplicate\x18\x01 \x01(\x08\x12\x14\n\x0cmsgTimestamp\x18\x02 \x01(\x04\x12\x13\n\x0breplicateID\x18\x03 \x01(\t:\x02\x18\x01\"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\"\x94\x01\n\x07Metrics\x12\x15\n\rrequest_count\x18\x01 \x01(\x03\x12\x15\n\rsuccess_count\x18\x02 \x01(\x03\x12\x13\n\x0b\x65rror_count\x18\x03 \x01(\x03\x12\x16\n\x0e\x61vg_latency_ms\x18\x04 \x01(\x01\x12\x16\n\x0ep99_latency_ms\x18\x05 \x01(\x01\x12\x16\n\x0emax_latency_ms\x18\x06 \x01(\x01\"\x85\x02\n\x10OperationMetrics\x12\x11\n\toperation\x18\x01 \x01(\t\x12,\n\x06global\x18\x02 \x01(\x0b\x32\x1c.milvus.proto.common.Metrics\x12X\n\x12\x63ollection_metrics\x18\x03 \x03(\x0b\x32<.milvus.proto.common.OperationMetrics.CollectionMetricsEntry\x1aV\n\x16\x43ollectionMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.milvus.proto.common.Metrics:\x02\x38\x01\"\x89\x01\n\rClientCommand\x12\x12\n\ncommand_id\x18\x01 \x01(\t\x12\x14\n\x0c\x63ommand_type\x18\x02 \x01(\t\x12\x0f\n\x07payload\x18\x03 \x01(\x0c\x12\x13\n\x0b\x63reate_time\x18\x04 \x01(\x03\x12\x12\n\npersistent\x18\x05 \x01(\x08\x12\x14\n\x0ctarget_scope\x18\x06 \x01(\t\"[\n\x0c\x43ommandReply\x12\x12\n\ncommand_id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x15\n\rerror_message\x18\x03 \x01(\t\x12\x0f\n\x07payload\x18\x04 \x01(\x0c\"\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\">\n\x08NodeInfo\x12\x0f\n\x07node_id\x18\x01 \x01(\x03\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x10\n\x08hostname\x18\x03 \x01(\t\"\x99\x01\n\x16ReplicateConfiguration\x12\x34\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\".milvus.proto.common.MilvusCluster\x12I\n\x16\x63ross_cluster_topology\x18\x02 \x03(\x0b\x32).milvus.proto.common.CrossClusterTopology\"-\n\x0f\x43onnectionParam\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\r\n\x05token\x18\x02 \x01(\t\"v\n\rMilvusCluster\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12>\n\x10\x63onnection_param\x18\x02 \x01(\x0b\x32$.milvus.proto.common.ConnectionParam\x12\x11\n\tpchannels\x18\x03 \x03(\t\"L\n\x14\x43rossClusterTopology\x12\x19\n\x11source_cluster_id\x18\x01 \x01(\t\x12\x19\n\x11target_cluster_id\x18\x02 \x01(\t\"G\n\tMessageID\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\x08WAL_name\x18\x02 \x01(\x0e\x32\x1c.milvus.proto.common.WALName\"\xcd\x01\n\x10ImmutableMessage\x12*\n\x02id\x18\x01 \x01(\x0b\x32\x1e.milvus.proto.common.MessageID\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\x12I\n\nproperties\x18\x03 \x03(\x0b\x32\x35.milvus.proto.common.ImmutableMessage.PropertiesEntry\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x82\x01\n\x13ReplicateCheckpoint\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x10\n\x08pchannel\x18\x02 \x01(\t\x12\x32\n\nmessage_id\x18\x03 \x01(\x0b\x32\x1e.milvus.proto.common.MessageID\x12\x11\n\ttime_tick\x18\x04 \x01(\x04\"2\n\rHighlightData\x12\x11\n\tfragments\x18\x01 \x03(\t\x12\x0e\n\x06scores\x18\x02 \x03(\x02\"X\n\x0fHighlightResult\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12\x31\n\x05\x64\x61tas\x18\x02 \x03(\x0b\x32\".milvus.proto.common.HighlightData\"r\n\x0bHighlighter\x12\x30\n\x04type\x18\x01 \x01(\x0e\x32\".milvus.proto.common.HighlightType\x12\x31\n\x06params\x18\x02 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"/\n\rMetricAggSpec\x12\n\n\x02op\x18\x01 \x01(\t\x12\x12\n\nfield_name\x18\x02 \x01(\t\"E\n\x08SortSpec\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12\x11\n\tdirection\x18\x02 \x01(\t\x12\x12\n\nnull_first\x18\x03 \x01(\x08\"H\n\x0bTopHitsSpec\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12+\n\x04sort\x18\x02 \x03(\x0b\x32\x1d.milvus.proto.common.SortSpec\"?\n\tOrderSpec\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x11\n\tdirection\x18\x02 \x01(\t\x12\x12\n\nnull_first\x18\x03 \x01(\x08\"\x90\x03\n\x15SearchAggregationSpec\x12\x0e\n\x06\x66ields\x18\x01 \x03(\t\x12\x0c\n\x04size\x18\x02 \x01(\x03\x12H\n\x07metrics\x18\x03 \x03(\x0b\x32\x37.milvus.proto.common.SearchAggregationSpec.MetricsEntry\x12-\n\x05order\x18\x04 \x03(\x0b\x32\x1e.milvus.proto.common.OrderSpec\x12\x32\n\x08top_hits\x18\x05 \x01(\x0b\x32 .milvus.proto.common.TopHitsSpec\x12\x43\n\x0fsub_aggregation\x18\x06 \x01(\x0b\x32*.milvus.proto.common.SearchAggregationSpec\x12\x13\n\x0bsearch_size\x18\x07 \x01(\x03\x1aR\n\x0cMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".milvus.proto.common.MetricAggSpec:\x02\x38\x01*\xdd\x0b\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\x1f\n\x1b\x43reatePrivilegeGroupFailure\x10:\x12\x1d\n\x19\x44ropPrivilegeGroupFailure\x10;\x12\x1e\n\x1aListPrivilegeGroupsFailure\x10<\x12 \n\x1cOperatePrivilegeGroupFailure\x10=\x12\x12\n\x0eSchemaMismatch\x10>\x12\x0f\n\x0b\x44\x61taCoordNA\x10\x64\x12\x12\n\rDDRequestRace\x10\xe8\x07\x1a\x02\x18\x01*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*2\n\x0cSegmentLevel\x12\n\n\x06Legacy\x10\x00\x12\x06\n\x02L0\x10\x01\x12\x06\n\x02L1\x10\x02\x12\x06\n\x02L2\x10\x03*\xc5\x02\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\x12\n\x0e\x42\x46loat16Vector\x10g\x12\x15\n\x11SparseFloatVector\x10h\x12\x0e\n\nInt8Vector\x10i\x12\t\n\x05Int64\x10\x05\x12\x0b\n\x07VarChar\x10\x15\x12\x18\n\x13\x45mbListBinaryVector\x10\xac\x02\x12\x17\n\x12\x45mbListFloatVector\x10\xad\x02\x12\x19\n\x14\x45mbListFloat16Vector\x10\xae\x02\x12\x1a\n\x15\x45mbListBFloat16Vector\x10\xaf\x02\x12\x1d\n\x18\x45mbListSparseFloatVector\x10\xb0\x02\x12\x16\n\x11\x45mbListInt8Vector\x10\xb1\x02*\xdc\x17\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\x18\n\x14\x41lterCollectionField\x10s\x12\x19\n\x15\x41\x64\x64\x43ollectionFunction\x10t\x12\x1b\n\x17\x41lterCollectionFunction\x10u\x12\x1a\n\x16\x44ropCollectionFunction\x10v\x12\x16\n\x12TruncateCollection\x10w\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\x0f\n\nAlterIndex\x10\xb0\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\x10\n\x0bManualFlush\x10\x95\x03\x12\x11\n\x0c\x46lushSegment\x10\x96\x03\x12\x12\n\rCreateSegment\x10\x97\x03\x12\x0b\n\x06Import\x10\x98\x03\x12\r\n\x08\x46lushAll\x10\x99\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\x0bRunAnalyzer\x10\x87\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\x12\n\tReplicate\x10\xbc\t\x1a\x02\x08\x01\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\x19\n\x14\x43reatePrivilegeGroup\x10\xca\x0c\x12\x17\n\x12\x44ropPrivilegeGroup\x10\xcb\x0c\x12\x18\n\x13ListPrivilegeGroups\x10\xcc\x0c\x12\x1a\n\x15OperatePrivilegeGroup\x10\xcd\x0c\x12\x17\n\x12OperatePrivilegeV2\x10\xce\x0c\x12\x0e\n\tAlterRole\x10\xcf\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\x19\n\x14UpdateResourceGroups\x10\xaa\r\x12\x13\n\x0e\x43reateDatabase\x10\x89\x0e\x12\x11\n\x0c\x44ropDatabase\x10\x8a\x0e\x12\x12\n\rListDatabases\x10\x8b\x0e\x12\x12\n\rAlterDatabase\x10\x8c\x0e\x12\x15\n\x10\x44\x65scribeDatabase\x10\x8d\x0e\x12\x17\n\x12\x41\x64\x64\x43ollectionField\x10\xec\x0e\x12\r\n\x08\x41lterWAL\x10\xd0\x0f\x12\x13\n\x0e\x43reateSnapshot\x10\xb4\x10\x12\x11\n\x0c\x44ropSnapshot\x10\xb5\x10\x12\x12\n\rListSnapshots\x10\xb6\x10\x12\x15\n\x10\x44\x65scribeSnapshot\x10\xb7\x10\x12\x14\n\x0fRestoreSnapshot\x10\xb8\x10\x12\x1c\n\x17GetRestoreSnapshotState\x10\xb9\x10\x12\x1c\n\x17ListRestoreSnapshotJobs\x10\xba\x10\x12\x14\n\x0fPinSnapshotData\x10\xbb\x10\x12\x16\n\x11UnpinSnapshotData\x10\xbc\x10\x12\x1c\n\x17RestoreExternalSnapshot\x10\xbd\x10\x12\x13\n\x0e\x45xportSnapshot\x10\xbe\x10\x12\x1a\n\x15\x41lterCollectionSchema\x10\x98\x11\x12\x1e\n\x19RefreshExternalCollection\x10\xfc\x11\x12)\n$GetRefreshExternalCollectionProgress\x10\xfd\x11\x12&\n!ListRefreshExternalCollectionJobs\x10\xfe\x11*\"\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*\xaf\x14\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&\x12\x1c\n\x18PrivilegeCreatePartition\x10\'\x12\x1a\n\x16PrivilegeDropPartition\x10(\x12\x1b\n\x17PrivilegeShowPartitions\x10)\x12\x19\n\x15PrivilegeHasPartition\x10*\x12\x1a\n\x16PrivilegeGetFlushState\x10+\x12\x18\n\x14PrivilegeCreateAlias\x10,\x12\x16\n\x12PrivilegeDropAlias\x10-\x12\x1a\n\x16PrivilegeDescribeAlias\x10.\x12\x18\n\x14PrivilegeListAliases\x10/\x12!\n\x1dPrivilegeUpdateResourceGroups\x10\x30\x12\x1a\n\x16PrivilegeAlterDatabase\x10\x31\x12\x1d\n\x19PrivilegeDescribeDatabase\x10\x32\x12\x17\n\x13PrivilegeBackupRBAC\x10\x33\x12\x18\n\x14PrivilegeRestoreRBAC\x10\x34\x12\x1a\n\x16PrivilegeGroupReadOnly\x10\x35\x12\x1b\n\x17PrivilegeGroupReadWrite\x10\x36\x12\x17\n\x13PrivilegeGroupAdmin\x10\x37\x12!\n\x1dPrivilegeCreatePrivilegeGroup\x10\x38\x12\x1f\n\x1bPrivilegeDropPrivilegeGroup\x10\x39\x12 \n\x1cPrivilegeListPrivilegeGroups\x10:\x12\"\n\x1ePrivilegeOperatePrivilegeGroup\x10;\x12!\n\x1dPrivilegeGroupClusterReadOnly\x10<\x12\"\n\x1ePrivilegeGroupClusterReadWrite\x10=\x12\x1e\n\x1aPrivilegeGroupClusterAdmin\x10>\x12\"\n\x1ePrivilegeGroupDatabaseReadOnly\x10?\x12#\n\x1fPrivilegeGroupDatabaseReadWrite\x10@\x12\x1f\n\x1bPrivilegeGroupDatabaseAdmin\x10\x41\x12$\n PrivilegeGroupCollectionReadOnly\x10\x42\x12%\n!PrivilegeGroupCollectionReadWrite\x10\x43\x12!\n\x1dPrivilegeGroupCollectionAdmin\x10\x44\x12\x1e\n\x1aPrivilegeGetImportProgress\x10\x45\x12\x17\n\x13PrivilegeListImport\x10\x46\x12\x1f\n\x1bPrivilegeAddCollectionField\x10G\x12\x1c\n\x18PrivilegeAddFileResource\x10H\x12\x1f\n\x1bPrivilegeRemoveFileResource\x10I\x12\x1e\n\x1aPrivilegeListFileResources\x10J\x12)\n%PrivilegeUpdateReplicateConfiguration\x10N\x12\x1b\n\x17PrivilegeCreateSnapshot\x10O\x12\x19\n\x15PrivilegeDropSnapshot\x10P\x12\x1d\n\x19PrivilegeDescribeSnapshot\x10Q\x12\x1a\n\x16PrivilegeListSnapshots\x10R\x12\x1c\n\x18PrivilegeRestoreSnapshot\x10S\x12\"\n\x1ePrivilegeAlterCollectionSchema\x10T\x12&\n\"PrivilegeGetReplicateConfiguration\x10U\x12&\n\"PrivilegeRefreshExternalCollection\x10V\x12\x1c\n\x18PrivilegePinSnapshotData\x10W\x12\x1e\n\x1aPrivilegeUnpinSnapshotData\x10X\x12$\n PrivilegeRestoreExternalSnapshot\x10Y\x12\x1b\n\x17PrivilegeExportSnapshot\x10Z*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\x0cLoadPriority\x12\x08\n\x04HIGH\x10\x00\x12\x07\n\x03LOW\x10\x01*U\n\x07WALName\x12\x0b\n\x07Unknown\x10\x00\x12\x0b\n\x07RocksMQ\x10\x01\x12\n\n\x06Pulsar\x10\x02\x12\t\n\x05Kafka\x10\x03\x12\x0e\n\nWoodPecker\x10\x04\x12\t\n\x04Test\x10\xe7\x07**\n\rHighlightType\x12\x0b\n\x07Lexical\x10\x00\x12\x0c\n\x08Semantic\x10\x01:^\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/v3/commonpb\xa0\x01\x01\xaa\x02\x12Milvus.Client.Grpcb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x63ommon.proto\x12\x13milvus.proto.common\x1a google/protobuf/descriptor.proto\"\xf3\x01\n\x06Status\x12\x36\n\nerror_code\x18\x01 \x01(\x0e\x32\x1e.milvus.proto.common.ErrorCodeB\x02\x18\x01\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x0c\n\x04\x63ode\x18\x03 \x01(\x05\x12\x11\n\tretriable\x18\x04 \x01(\x08\x12\x0e\n\x06\x64\x65tail\x18\x05 \x01(\t\x12>\n\nextra_info\x18\x06 \x03(\x0b\x32*.milvus.proto.common.Status.ExtraInfoEntry\x1a\x30\n\x0e\x45xtraInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\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\"z\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\x12\x15\n\relement_level\x18\x04 \x01(\x08\"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\"\xb3\x02\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\x12@\n\nproperties\x18\x06 \x03(\x0b\x32,.milvus.proto.common.MsgBase.PropertiesEntry\x12=\n\rreplicateInfo\x18\x07 \x01(\x0b\x32\".milvus.proto.common.ReplicateInfoB\x02\x18\x01\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"S\n\rReplicateInfo\x12\x13\n\x0bisReplicate\x18\x01 \x01(\x08\x12\x14\n\x0cmsgTimestamp\x18\x02 \x01(\x04\x12\x13\n\x0breplicateID\x18\x03 \x01(\t:\x02\x18\x01\"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\"\x94\x01\n\x07Metrics\x12\x15\n\rrequest_count\x18\x01 \x01(\x03\x12\x15\n\rsuccess_count\x18\x02 \x01(\x03\x12\x13\n\x0b\x65rror_count\x18\x03 \x01(\x03\x12\x16\n\x0e\x61vg_latency_ms\x18\x04 \x01(\x01\x12\x16\n\x0ep99_latency_ms\x18\x05 \x01(\x01\x12\x16\n\x0emax_latency_ms\x18\x06 \x01(\x01\"\x85\x02\n\x10OperationMetrics\x12\x11\n\toperation\x18\x01 \x01(\t\x12,\n\x06global\x18\x02 \x01(\x0b\x32\x1c.milvus.proto.common.Metrics\x12X\n\x12\x63ollection_metrics\x18\x03 \x03(\x0b\x32<.milvus.proto.common.OperationMetrics.CollectionMetricsEntry\x1aV\n\x16\x43ollectionMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.milvus.proto.common.Metrics:\x02\x38\x01\"\x89\x01\n\rClientCommand\x12\x12\n\ncommand_id\x18\x01 \x01(\t\x12\x14\n\x0c\x63ommand_type\x18\x02 \x01(\t\x12\x0f\n\x07payload\x18\x03 \x01(\x0c\x12\x13\n\x0b\x63reate_time\x18\x04 \x01(\x03\x12\x12\n\npersistent\x18\x05 \x01(\x08\x12\x14\n\x0ctarget_scope\x18\x06 \x01(\t\"[\n\x0c\x43ommandReply\x12\x12\n\ncommand_id\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x15\n\rerror_message\x18\x03 \x01(\t\x12\x0f\n\x07payload\x18\x04 \x01(\x0c\"\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\">\n\x08NodeInfo\x12\x0f\n\x07node_id\x18\x01 \x01(\x03\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x10\n\x08hostname\x18\x03 \x01(\t\"\x99\x01\n\x16ReplicateConfiguration\x12\x34\n\x08\x63lusters\x18\x01 \x03(\x0b\x32\".milvus.proto.common.MilvusCluster\x12I\n\x16\x63ross_cluster_topology\x18\x02 \x03(\x0b\x32).milvus.proto.common.CrossClusterTopology\"-\n\x0f\x43onnectionParam\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\r\n\x05token\x18\x02 \x01(\t\"v\n\rMilvusCluster\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12>\n\x10\x63onnection_param\x18\x02 \x01(\x0b\x32$.milvus.proto.common.ConnectionParam\x12\x11\n\tpchannels\x18\x03 \x03(\t\"L\n\x14\x43rossClusterTopology\x12\x19\n\x11source_cluster_id\x18\x01 \x01(\t\x12\x19\n\x11target_cluster_id\x18\x02 \x01(\t\"G\n\tMessageID\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\x08WAL_name\x18\x02 \x01(\x0e\x32\x1c.milvus.proto.common.WALName\"\xcd\x01\n\x10ImmutableMessage\x12*\n\x02id\x18\x01 \x01(\x0b\x32\x1e.milvus.proto.common.MessageID\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\x12I\n\nproperties\x18\x03 \x03(\x0b\x32\x35.milvus.proto.common.ImmutableMessage.PropertiesEntry\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x82\x01\n\x13ReplicateCheckpoint\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x10\n\x08pchannel\x18\x02 \x01(\t\x12\x32\n\nmessage_id\x18\x03 \x01(\x0b\x32\x1e.milvus.proto.common.MessageID\x12\x11\n\ttime_tick\x18\x04 \x01(\x04\"2\n\rHighlightData\x12\x11\n\tfragments\x18\x01 \x03(\t\x12\x0e\n\x06scores\x18\x02 \x03(\x02\"X\n\x0fHighlightResult\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12\x31\n\x05\x64\x61tas\x18\x02 \x03(\x0b\x32\".milvus.proto.common.HighlightData\"r\n\x0bHighlighter\x12\x30\n\x04type\x18\x01 \x01(\x0e\x32\".milvus.proto.common.HighlightType\x12\x31\n\x06params\x18\x02 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"/\n\rMetricAggSpec\x12\n\n\x02op\x18\x01 \x01(\t\x12\x12\n\nfield_name\x18\x02 \x01(\t\"E\n\x08SortSpec\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12\x11\n\tdirection\x18\x02 \x01(\t\x12\x12\n\nnull_first\x18\x03 \x01(\x08\"H\n\x0bTopHitsSpec\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12+\n\x04sort\x18\x02 \x03(\x0b\x32\x1d.milvus.proto.common.SortSpec\"?\n\tOrderSpec\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x11\n\tdirection\x18\x02 \x01(\t\x12\x12\n\nnull_first\x18\x03 \x01(\x08\"\x90\x03\n\x15SearchAggregationSpec\x12\x0e\n\x06\x66ields\x18\x01 \x03(\t\x12\x0c\n\x04size\x18\x02 \x01(\x03\x12H\n\x07metrics\x18\x03 \x03(\x0b\x32\x37.milvus.proto.common.SearchAggregationSpec.MetricsEntry\x12-\n\x05order\x18\x04 \x03(\x0b\x32\x1e.milvus.proto.common.OrderSpec\x12\x32\n\x08top_hits\x18\x05 \x01(\x0b\x32 .milvus.proto.common.TopHitsSpec\x12\x43\n\x0fsub_aggregation\x18\x06 \x01(\x0b\x32*.milvus.proto.common.SearchAggregationSpec\x12\x13\n\x0bsearch_size\x18\x07 \x01(\x03\x1aR\n\x0cMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".milvus.proto.common.MetricAggSpec:\x02\x38\x01*\xdd\x0b\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\x1f\n\x1b\x43reatePrivilegeGroupFailure\x10:\x12\x1d\n\x19\x44ropPrivilegeGroupFailure\x10;\x12\x1e\n\x1aListPrivilegeGroupsFailure\x10<\x12 \n\x1cOperatePrivilegeGroupFailure\x10=\x12\x12\n\x0eSchemaMismatch\x10>\x12\x0f\n\x0b\x44\x61taCoordNA\x10\x64\x12\x12\n\rDDRequestRace\x10\xe8\x07\x1a\x02\x18\x01*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*2\n\x0cSegmentLevel\x12\n\n\x06Legacy\x10\x00\x12\x06\n\x02L0\x10\x01\x12\x06\n\x02L1\x10\x02\x12\x06\n\x02L2\x10\x03*\xc5\x02\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\x12\n\x0e\x42\x46loat16Vector\x10g\x12\x15\n\x11SparseFloatVector\x10h\x12\x0e\n\nInt8Vector\x10i\x12\t\n\x05Int64\x10\x05\x12\x0b\n\x07VarChar\x10\x15\x12\x18\n\x13\x45mbListBinaryVector\x10\xac\x02\x12\x17\n\x12\x45mbListFloatVector\x10\xad\x02\x12\x19\n\x14\x45mbListFloat16Vector\x10\xae\x02\x12\x1a\n\x15\x45mbListBFloat16Vector\x10\xaf\x02\x12\x1d\n\x18\x45mbListSparseFloatVector\x10\xb0\x02\x12\x16\n\x11\x45mbListInt8Vector\x10\xb1\x02*\x9b\x19\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\x18\n\x14\x41lterCollectionField\x10s\x12\x19\n\x15\x41\x64\x64\x43ollectionFunction\x10t\x12\x1b\n\x17\x41lterCollectionFunction\x10u\x12\x1a\n\x16\x44ropCollectionFunction\x10v\x12\x16\n\x12TruncateCollection\x10w\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\x0f\n\nAlterIndex\x10\xb0\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\x10\n\x0bManualFlush\x10\x95\x03\x12\x11\n\x0c\x46lushSegment\x10\x96\x03\x12\x12\n\rCreateSegment\x10\x97\x03\x12\x0b\n\x06Import\x10\x98\x03\x12\r\n\x08\x46lushAll\x10\x99\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\x0bRunAnalyzer\x10\x87\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\x12\n\tReplicate\x10\xbc\t\x1a\x02\x08\x01\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\x19\n\x14\x43reatePrivilegeGroup\x10\xca\x0c\x12\x17\n\x12\x44ropPrivilegeGroup\x10\xcb\x0c\x12\x18\n\x13ListPrivilegeGroups\x10\xcc\x0c\x12\x1a\n\x15OperatePrivilegeGroup\x10\xcd\x0c\x12\x17\n\x12OperatePrivilegeV2\x10\xce\x0c\x12\x0e\n\tAlterRole\x10\xcf\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\x19\n\x14UpdateResourceGroups\x10\xaa\r\x12\x13\n\x0e\x43reateDatabase\x10\x89\x0e\x12\x11\n\x0c\x44ropDatabase\x10\x8a\x0e\x12\x12\n\rListDatabases\x10\x8b\x0e\x12\x12\n\rAlterDatabase\x10\x8c\x0e\x12\x15\n\x10\x44\x65scribeDatabase\x10\x8d\x0e\x12\x17\n\x12\x41\x64\x64\x43ollectionField\x10\xec\x0e\x12\r\n\x08\x41lterWAL\x10\xd0\x0f\x12\x13\n\x0e\x43reateSnapshot\x10\xb4\x10\x12\x11\n\x0c\x44ropSnapshot\x10\xb5\x10\x12\x12\n\rListSnapshots\x10\xb6\x10\x12\x15\n\x10\x44\x65scribeSnapshot\x10\xb7\x10\x12\x14\n\x0fRestoreSnapshot\x10\xb8\x10\x12\x1c\n\x17GetRestoreSnapshotState\x10\xb9\x10\x12\x1c\n\x17ListRestoreSnapshotJobs\x10\xba\x10\x12\x14\n\x0fPinSnapshotData\x10\xbb\x10\x12\x16\n\x11UnpinSnapshotData\x10\xbc\x10\x12\x1c\n\x17RestoreExternalSnapshot\x10\xbd\x10\x12\x13\n\x0e\x45xportSnapshot\x10\xbe\x10\x12\x1a\n\x15\x41lterCollectionSchema\x10\x98\x11\x12\x1e\n\x19RefreshExternalCollection\x10\xfc\x11\x12)\n$GetRefreshExternalCollectionProgress\x10\xfd\x11\x12&\n!ListRefreshExternalCollectionJobs\x10\xfe\x11\x12\x14\n\x0f\x43reateRowPolicy\x10\xe0\x12\x12\x12\n\rDropRowPolicy\x10\xe1\x12\x12\x14\n\x0fListRowPolicies\x10\xe2\x12\x12\x14\n\x0fUpdateRowPolicy\x10\xe3\x12\x12\x18\n\x13SetRLSPrincipalTags\x10\xe4\x12\x12\x18\n\x13GetRLSPrincipalTags\x10\xe5\x12\x12\x16\n\x11ListRLSPrincipals\x10\xe6\x12\x12\x1b\n\x16\x44\x65leteRLSPrincipalTags\x10\xe7\x12*\"\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*\xc5\x14\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&\x12\x1c\n\x18PrivilegeCreatePartition\x10\'\x12\x1a\n\x16PrivilegeDropPartition\x10(\x12\x1b\n\x17PrivilegeShowPartitions\x10)\x12\x19\n\x15PrivilegeHasPartition\x10*\x12\x1a\n\x16PrivilegeGetFlushState\x10+\x12\x18\n\x14PrivilegeCreateAlias\x10,\x12\x16\n\x12PrivilegeDropAlias\x10-\x12\x1a\n\x16PrivilegeDescribeAlias\x10.\x12\x18\n\x14PrivilegeListAliases\x10/\x12!\n\x1dPrivilegeUpdateResourceGroups\x10\x30\x12\x1a\n\x16PrivilegeAlterDatabase\x10\x31\x12\x1d\n\x19PrivilegeDescribeDatabase\x10\x32\x12\x17\n\x13PrivilegeBackupRBAC\x10\x33\x12\x18\n\x14PrivilegeRestoreRBAC\x10\x34\x12\x1a\n\x16PrivilegeGroupReadOnly\x10\x35\x12\x1b\n\x17PrivilegeGroupReadWrite\x10\x36\x12\x17\n\x13PrivilegeGroupAdmin\x10\x37\x12!\n\x1dPrivilegeCreatePrivilegeGroup\x10\x38\x12\x1f\n\x1bPrivilegeDropPrivilegeGroup\x10\x39\x12 \n\x1cPrivilegeListPrivilegeGroups\x10:\x12\"\n\x1ePrivilegeOperatePrivilegeGroup\x10;\x12!\n\x1dPrivilegeGroupClusterReadOnly\x10<\x12\"\n\x1ePrivilegeGroupClusterReadWrite\x10=\x12\x1e\n\x1aPrivilegeGroupClusterAdmin\x10>\x12\"\n\x1ePrivilegeGroupDatabaseReadOnly\x10?\x12#\n\x1fPrivilegeGroupDatabaseReadWrite\x10@\x12\x1f\n\x1bPrivilegeGroupDatabaseAdmin\x10\x41\x12$\n PrivilegeGroupCollectionReadOnly\x10\x42\x12%\n!PrivilegeGroupCollectionReadWrite\x10\x43\x12!\n\x1dPrivilegeGroupCollectionAdmin\x10\x44\x12\x1e\n\x1aPrivilegeGetImportProgress\x10\x45\x12\x17\n\x13PrivilegeListImport\x10\x46\x12\x1f\n\x1bPrivilegeAddCollectionField\x10G\x12\x1c\n\x18PrivilegeAddFileResource\x10H\x12\x1f\n\x1bPrivilegeRemoveFileResource\x10I\x12\x1e\n\x1aPrivilegeListFileResources\x10J\x12)\n%PrivilegeUpdateReplicateConfiguration\x10N\x12\x1b\n\x17PrivilegeCreateSnapshot\x10O\x12\x19\n\x15PrivilegeDropSnapshot\x10P\x12\x1d\n\x19PrivilegeDescribeSnapshot\x10Q\x12\x1a\n\x16PrivilegeListSnapshots\x10R\x12\x1c\n\x18PrivilegeRestoreSnapshot\x10S\x12\"\n\x1ePrivilegeAlterCollectionSchema\x10T\x12&\n\"PrivilegeGetReplicateConfiguration\x10U\x12&\n\"PrivilegeRefreshExternalCollection\x10V\x12\x1c\n\x18PrivilegePinSnapshotData\x10W\x12\x1e\n\x1aPrivilegeUnpinSnapshotData\x10X\x12$\n PrivilegeRestoreExternalSnapshot\x10Y\x12\x1b\n\x17PrivilegeExportSnapshot\x10Z\x12\x14\n\x10PrivilegeSkipRLS\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\x0cLoadPriority\x12\x08\n\x04HIGH\x10\x00\x12\x07\n\x03LOW\x10\x01*U\n\x07WALName\x12\x0b\n\x07Unknown\x10\x00\x12\x0b\n\x07RocksMQ\x10\x01\x12\n\n\x06Pulsar\x10\x02\x12\t\n\x05Kafka\x10\x03\x12\x0e\n\nWoodPecker\x10\x04\x12\t\n\x04Test\x10\xe7\x07**\n\rHighlightType\x12\x0b\n\x07Lexical\x10\x00\x12\x0c\n\x08Semantic\x10\x01:^\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/v3/commonpb\xa0\x01\x01\xaa\x02\x12Milvus.Client.Grpcb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -68,29 +68,29 @@ _globals['_PLACEHOLDERTYPE']._serialized_start=6125 _globals['_PLACEHOLDERTYPE']._serialized_end=6450 _globals['_MSGTYPE']._serialized_start=6453 - _globals['_MSGTYPE']._serialized_end=9489 - _globals['_DSLTYPE']._serialized_start=9491 - _globals['_DSLTYPE']._serialized_end=9525 - _globals['_COMPACTIONSTATE']._serialized_start=9527 - _globals['_COMPACTIONSTATE']._serialized_end=9593 - _globals['_CONSISTENCYLEVEL']._serialized_start=9595 - _globals['_CONSISTENCYLEVEL']._serialized_end=9683 - _globals['_IMPORTSTATE']._serialized_start=9686 - _globals['_IMPORTSTATE']._serialized_end=9844 - _globals['_OBJECTTYPE']._serialized_start=9846 - _globals['_OBJECTTYPE']._serialized_end=9896 - _globals['_OBJECTPRIVILEGE']._serialized_start=9899 - _globals['_OBJECTPRIVILEGE']._serialized_end=12506 - _globals['_STATECODE']._serialized_start=12508 - _globals['_STATECODE']._serialized_end=12591 - _globals['_LOADSTATE']._serialized_start=12593 - _globals['_LOADSTATE']._serialized_end=12692 - _globals['_LOADPRIORITY']._serialized_start=12694 - _globals['_LOADPRIORITY']._serialized_end=12727 - _globals['_WALNAME']._serialized_start=12729 - _globals['_WALNAME']._serialized_end=12814 - _globals['_HIGHLIGHTTYPE']._serialized_start=12816 - _globals['_HIGHLIGHTTYPE']._serialized_end=12858 + _globals['_MSGTYPE']._serialized_end=9680 + _globals['_DSLTYPE']._serialized_start=9682 + _globals['_DSLTYPE']._serialized_end=9716 + _globals['_COMPACTIONSTATE']._serialized_start=9718 + _globals['_COMPACTIONSTATE']._serialized_end=9784 + _globals['_CONSISTENCYLEVEL']._serialized_start=9786 + _globals['_CONSISTENCYLEVEL']._serialized_end=9874 + _globals['_IMPORTSTATE']._serialized_start=9877 + _globals['_IMPORTSTATE']._serialized_end=10035 + _globals['_OBJECTTYPE']._serialized_start=10037 + _globals['_OBJECTTYPE']._serialized_end=10087 + _globals['_OBJECTPRIVILEGE']._serialized_start=10090 + _globals['_OBJECTPRIVILEGE']._serialized_end=12719 + _globals['_STATECODE']._serialized_start=12721 + _globals['_STATECODE']._serialized_end=12804 + _globals['_LOADSTATE']._serialized_start=12806 + _globals['_LOADSTATE']._serialized_end=12905 + _globals['_LOADPRIORITY']._serialized_start=12907 + _globals['_LOADPRIORITY']._serialized_end=12940 + _globals['_WALNAME']._serialized_start=12942 + _globals['_WALNAME']._serialized_end=13027 + _globals['_HIGHLIGHTTYPE']._serialized_start=13029 + _globals['_HIGHLIGHTTYPE']._serialized_end=13071 _globals['_STATUS']._serialized_start=72 _globals['_STATUS']._serialized_end=315 _globals['_STATUS_EXTRAINFOENTRY']._serialized_start=267 diff --git a/pymilvus/grpc_gen/common_pb2.pyi b/pymilvus/grpc_gen/common_pb2.pyi index cd8cc9e01..7c06fce84 100644 --- a/pymilvus/grpc_gen/common_pb2.pyi +++ b/pymilvus/grpc_gen/common_pb2.pyi @@ -260,6 +260,14 @@ class MsgType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): RefreshExternalCollection: _ClassVar[MsgType] GetRefreshExternalCollectionProgress: _ClassVar[MsgType] ListRefreshExternalCollectionJobs: _ClassVar[MsgType] + CreateRowPolicy: _ClassVar[MsgType] + DropRowPolicy: _ClassVar[MsgType] + ListRowPolicies: _ClassVar[MsgType] + UpdateRowPolicy: _ClassVar[MsgType] + SetRLSPrincipalTags: _ClassVar[MsgType] + GetRLSPrincipalTags: _ClassVar[MsgType] + ListRLSPrincipals: _ClassVar[MsgType] + DeleteRLSPrincipalTags: _ClassVar[MsgType] class DslType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = () @@ -386,6 +394,7 @@ class ObjectPrivilege(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): PrivilegeUnpinSnapshotData: _ClassVar[ObjectPrivilege] PrivilegeRestoreExternalSnapshot: _ClassVar[ObjectPrivilege] PrivilegeExportSnapshot: _ClassVar[ObjectPrivilege] + PrivilegeSkipRLS: _ClassVar[ObjectPrivilege] class StateCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = () @@ -656,6 +665,14 @@ AlterCollectionSchema: MsgType RefreshExternalCollection: MsgType GetRefreshExternalCollectionProgress: MsgType ListRefreshExternalCollectionJobs: MsgType +CreateRowPolicy: MsgType +DropRowPolicy: MsgType +ListRowPolicies: MsgType +UpdateRowPolicy: MsgType +SetRLSPrincipalTags: MsgType +GetRLSPrincipalTags: MsgType +ListRLSPrincipals: MsgType +DeleteRLSPrincipalTags: MsgType Dsl: DslType BoolExprV1: DslType UndefiedState: CompactionState @@ -764,6 +781,7 @@ PrivilegePinSnapshotData: ObjectPrivilege PrivilegeUnpinSnapshotData: ObjectPrivilege PrivilegeRestoreExternalSnapshot: ObjectPrivilege PrivilegeExportSnapshot: ObjectPrivilege +PrivilegeSkipRLS: ObjectPrivilege Initializing: StateCode Healthy: StateCode Abnormal: StateCode diff --git a/pymilvus/grpc_gen/milvus-proto b/pymilvus/grpc_gen/milvus-proto index 0fb0d5bcf..22b6017dd 160000 --- a/pymilvus/grpc_gen/milvus-proto +++ b/pymilvus/grpc_gen/milvus-proto @@ -1 +1 @@ -Subproject commit 0fb0d5bcf2e2ff4dff30683e5aa0f8991a20d011 +Subproject commit 22b6017dd46a0ad4a0c774dd7302d99da315b029 diff --git a/pymilvus/grpc_gen/milvus_pb2.py b/pymilvus/grpc_gen/milvus_pb2.py index ce56bccbd..47b466f1d 100644 --- a/pymilvus/grpc_gen/milvus_pb2.py +++ b/pymilvus/grpc_gen/milvus_pb2.py @@ -30,7 +30,7 @@ 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\x08rg.proto\x1a\x0cschema.proto\x1a\x0b\x66\x65\x64\x65r.proto\x1a\tmsg.proto\x1a google/protobuf/descriptor.proto\"\x8d\x01\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:\x12\xca>\x0f\x08\x01\x10,\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"r\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:\x12\xca>\x0f\x08\x01\x10-\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x8c\x01\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:\x12\xca>\x0f\x08\x01\x10,\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"v\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:\x12\xca>\x0f\x08\x01\x10.\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"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\"~\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:\x12\xca>\x0f\x08\x01\x10/\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"}\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\"\xe4\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\x13\n\x0b\x64\x65lete_keys\x18\x06 \x03(\t:\x12\xca>\x0f\x08\x01\x10\x01\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xe7\x01\n\x1b\x41lterCollectionFieldRequest\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\x35\n\nproperties\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x13\n\x0b\x64\x65lete_keys\x18\x06 \x03(\t:\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\"\x87\x05\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\x12\r\n\x05\x64\x62_id\x18\x10 \x01(\x03\x12\x14\n\x0crequest_time\x18\x11 \x01(\x04\x12\x18\n\x10update_timestamp\x18\x12 \x01(\x04\x12\x1c\n\x14update_timestamp_str\x18\x13 \x01(\t\"t\n\x1e\x42\x61tchDescribeCollectionRequest\x12\x0f\n\x07\x64\x62_name\x18\x01 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x02 \x03(\t\x12\x14\n\x0c\x63ollectionID\x18\x03 \x03(\x03:\x12\xca>\x0f\x08\x01\x10\x03\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x92\x01\n\x1f\x42\x61tchDescribeCollectionResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x42\n\tresponses\x18\x02 \x03(\x0b\x32/.milvus.proto.milvus.DescribeCollectionResponse\"\xf2\x02\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\x12\x13\n\x0bload_fields\x18\x07 \x03(\t\x12\x1f\n\x17skip_load_dynamic_field\x18\x08 \x01(\x08\x12O\n\x0bload_params\x18\t \x03(\x0b\x32:.milvus.proto.milvus.LoadCollectionRequest.LoadParamsEntry\x1a\x31\n\x0fLoadParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\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\"\xb4\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\x1c\n\x10\x63ollection_names\x18\x05 \x03(\tB\x02\x18\x01\"\x8b\x02\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 \n\x14inMemory_percentages\x18\x06 \x03(\x03\x42\x02\x18\x01\x12\x1f\n\x17query_service_available\x18\x07 \x03(\x08\x12\x12\n\nshards_num\x18\x08 \x03(\x05\"\x8f\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:\x07\xca>\x04\x10\'\x18\x03\"\x8d\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:\x07\xca>\x04\x10(\x18\x03\"\x8c\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:\x07\xca>\x04\x10*\x18\x03\"\x8b\x03\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\x12\x13\n\x0bload_fields\x18\x08 \x03(\t\x12\x1f\n\x17skip_load_dynamic_field\x18\t \x01(\x08\x12O\n\x0bload_params\x18\n \x03(\x0b\x32:.milvus.proto.milvus.LoadPartitionsRequest.LoadParamsEntry\x1a\x31\n\x0fLoadParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x07\xca>\x04\x10\x05\x18\x03\"\xa0\x03\n\x0ePrewarmRequest\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\tnamespace\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x16\n\x0ereplica_number\x18\x05 \x01(\x05\x12\x17\n\x0fresource_groups\x18\x06 \x03(\t\x12\x13\n\x0bload_fields\x18\x07 \x03(\t\x12\x1f\n\x17skip_load_dynamic_field\x18\x08 \x01(\x08\x12H\n\x0bload_params\x18\t \x03(\x0b\x32\x33.milvus.proto.milvus.PrewarmRequest.LoadParamsEntry\x12\x13\n\x0bttl_seconds\x18\n \x01(\x03\x12\x10\n\x08priority\x18\x0b \x01(\t\x1a\x31\n\x0fLoadParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x07\xca>\x04\x10\x05\x18\x03\x42\x0c\n\n_namespace\"t\n\x0fPrewarmResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0e\n\x06taskID\x18\x02 \x01(\t\x12\x16\n\tnamespace\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_namespace\"X\n\x1a\x44\x65scribePrewarmTaskRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0e\n\x06taskID\x18\x02 \x01(\t\"\xb9\x01\n\x1b\x44\x65scribePrewarmTaskResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0e\n\x06taskID\x18\x02 \x01(\t\x12\x34\n\x05state\x18\x03 \x01(\x0e\x32%.milvus.proto.milvus.PrewarmTaskState\x12\x10\n\x08progress\x18\x04 \x01(\x05\x12\x15\n\rerror_message\x18\x05 \x01(\t\"\x92\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:\x07\xca>\x04\x10\x06\x18\x03\"\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\"\xd6\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.ShowTypeB\x02\x18\x01:\x07\xca>\x04\x10)\x18\x03\"\xd2\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 \n\x14inMemory_percentages\x18\x06 \x03(\x03\x42\x02\x18\x01\"\xe7\x01\n\x0eNamespaceStats\x12\x30\n\x05stats\x18\x01 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x1b\n\x13\x61pprox_entity_count\x18\x02 \x01(\x03\x12\x14\n\x0c\x65ntity_count\x18\x03 \x01(\x03\x12\x19\n\x11\x65ntity_count_type\x18\x04 \x01(\t\x12\x15\n\rlogical_bytes\x18\x05 \x01(\x03\x12\x1c\n\x14last_write_timestamp\x18\x06 \x01(\x04\x12 \n\x18last_write_utc_timestamp\x18\x07 \x01(\x04\"\xbd\x01\n\rNamespaceInfo\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x16\n\x0enamespace_name\x18\x02 \x01(\t\x12\x19\n\x11\x63reated_timestamp\x18\x03 \x01(\x04\x12\x1d\n\x15\x63reated_utc_timestamp\x18\x04 \x01(\x04\x12\r\n\x05state\x18\x05 \x01(\t\x12\x32\n\x05stats\x18\x06 \x01(\x0b\x32#.milvus.proto.milvus.NamespaceStats\"\x8f\x01\n\x16\x43reateNamespaceRequest\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\x0enamespace_name\x18\x04 \x01(\t:\x07\xca>\x04\x10\'\x18\x03\"}\n\x17\x43reateNamespaceResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x35\n\tnamespace\x18\x02 \x01(\x0b\x32\".milvus.proto.milvus.NamespaceInfo\"\x91\x01\n\x18\x44\x65scribeNamespaceRequest\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\x0enamespace_name\x18\x04 \x01(\t:\x07\xca>\x04\x10)\x18\x03\"\x7f\n\x19\x44\x65scribeNamespaceResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x35\n\tnamespace\x18\x02 \x01(\x0b\x32\".milvus.proto.milvus.NamespaceInfo\"\xad\x01\n\x15ListNamespacesRequest\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\x06prefix\x18\x04 \x01(\t\x12\x11\n\tpage_size\x18\x05 \x01(\x03\x12\x12\n\npage_token\x18\x06 \x01(\t:\x07\xca>\x04\x10)\x18\x03\"\x96\x01\n\x16ListNamespacesResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x36\n\nnamespaces\x18\x02 \x03(\x0b\x32\".milvus.proto.milvus.NamespaceInfo\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\"\x8d\x01\n\x14\x44ropNamespaceRequest\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\x0enamespace_name\x18\x04 \x01(\t:\x07\xca>\x04\x10(\x18\x03\"{\n\x15\x44ropNamespaceResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x35\n\tnamespace\x18\x02 \x01(\x0b\x32\".milvus.proto.milvus.NamespaceInfo\"\x8c\x01\n\x13HasNamespaceRequest\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\x0enamespace_name\x18\x04 \x01(\t:\x07\xca>\x04\x10*\x18\x03\"R\n\x14HasNamespaceResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\r\n\x05value\x18\x02 \x01(\x08\"\xa0\x01\n\x18GetNamespaceStatsRequest\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\x0enamespace_name\x18\x04 \x01(\t\x12\r\n\x05\x65xact\x18\x05 \x01(\x08:\x07\xca>\x04\x10)\x18\x03\"\x94\x01\n\x19GetNamespaceStatsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x16\n\x0enamespace_name\x18\x02 \x01(\t\x12\x32\n\x05stats\x18\x03 \x01(\x0b\x32#.milvus.proto.milvus.NamespaceStats\"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\"\xd4\x01\n\x11\x41lterIndexRequest\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\x37\n\x0c\x65xtra_params\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x13\n\x0b\x64\x65lete_keys\x18\x06 \x03(\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\"\xcb\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\x12\x19\n\x11min_index_version\x18\n \x01(\x05\x12\x19\n\x11max_index_version\x18\x0b \x01(\x05\"\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\"\xa0\x02\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\x12\x18\n\x10schema_timestamp\x18\x08 \x01(\x04\x12\x16\n\tnamespace\x18\t \x01(\tH\x00\x88\x01\x01:\x07\xca>\x04\x10\x08\x18\x03\x42\x0c\n\n_namespace\"\xa0\x01\n\x19\x41\x64\x64\x43ollectionFieldRequest\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\x0e\n\x06schema\x18\x05 \x01(\x0c:\x07\xca>\x04\x10G\x18\x03\"\xe6\x01\n\x1f\x41\x64\x64\x43ollectionStructFieldRequest\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\x12N\n\x19struct_array_field_schema\x18\x05 \x01(\x0b\x32+.milvus.proto.schema.StructArrayFieldSchema:\x07\xca>\x04\x10G\x18\x03\"\xdb\x01\n\x1c\x41\x64\x64\x43ollectionFunctionRequest\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;\n\x0e\x66unctionSchema\x18\x05 \x01(\x0b\x32#.milvus.proto.schema.FunctionSchema:\x12\xca>\x0f\x08\x01\x10\x01\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xf4\x01\n\x1e\x41lterCollectionFunctionRequest\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\x15\n\rfunction_name\x18\x05 \x01(\t\x12;\n\x0e\x66unctionSchema\x18\x06 \x01(\x0b\x32#.milvus.proto.schema.FunctionSchema:\x12\xca>\x0f\x08\x01\x10\x01\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xb6\x01\n\x1d\x44ropCollectionFunctionRequest\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\x15\n\rfunction_name\x18\x05 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x01\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xf6\x02\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\x12\x18\n\x10schema_timestamp\x18\x08 \x01(\x04\x12\x16\n\x0epartial_update\x18\t \x01(\x08\x12\x16\n\tnamespace\x18\n \x01(\tH\x00\x88\x01\x01\x12<\n\tfield_ops\x18\x0b \x03(\x0b\x32).milvus.proto.schema.FieldPartialUpdateOp:\x07\xca>\x04\x10\x19\x18\x03\x42\x0c\n\n_namespace\"\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\"\xc8\x03\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\x12@\n\x11\x63onsistency_level\x18\x07 \x01(\x0e\x32%.milvus.proto.common.ConsistencyLevel\x12X\n\x14\x65xpr_template_values\x18\x08 \x03(\x0b\x32:.milvus.proto.milvus.DeleteRequest.ExprTemplateValuesEntry\x12\x16\n\tnamespace\x18\t \x01(\tH\x00\x88\x01\x01\x1a]\n\x17\x45xprTemplateValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".milvus.proto.schema.TemplateValue:\x02\x38\x01:\x07\xca>\x04\x10\t\x18\x03\x42\x0c\n\n_namespace\"\x92\x03\n\x10SubSearchRequest\x12\x0b\n\x03\x64sl\x18\x01 \x01(\t\x12\x19\n\x11placeholder_group\x18\x02 \x01(\x0c\x12.\n\x08\x64sl_type\x18\x03 \x01(\x0e\x32\x1c.milvus.proto.common.DslType\x12\x38\n\rsearch_params\x18\x04 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\n\n\x02nq\x18\x05 \x01(\x03\x12[\n\x14\x65xpr_template_values\x18\x06 \x03(\x0b\x32=.milvus.proto.milvus.SubSearchRequest.ExprTemplateValuesEntry\x12\x16\n\tnamespace\x18\x07 \x01(\tH\x00\x88\x01\x01\x1a]\n\x17\x45xprTemplateValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".milvus.proto.schema.TemplateValue:\x02\x38\x01\x42\x0c\n\n_namespace\"\xe2\x08\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\x1b\n\x11placeholder_group\x18\x06 \x01(\x0cH\x00\x12\'\n\x03ids\x18\x16 \x01(\x0b\x32\x18.milvus.proto.schema.IDsH\x00\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\"\n\x16search_by_primary_keys\x18\x10 \x01(\x08\x42\x02\x18\x01\x12\x37\n\x08sub_reqs\x18\x11 \x03(\x0b\x32%.milvus.proto.milvus.SubSearchRequest\x12X\n\x14\x65xpr_template_values\x18\x12 \x03(\x0b\x32:.milvus.proto.milvus.SearchRequest.ExprTemplateValuesEntry\x12:\n\x0e\x66unction_score\x18\x13 \x01(\x0b\x32\".milvus.proto.schema.FunctionScore\x12\x16\n\tnamespace\x18\x14 \x01(\tH\x01\x88\x01\x01\x12\x35\n\x0bhighlighter\x18\x15 \x01(\x0b\x32 .milvus.proto.common.Highlighter\x12\x46\n\x12search_aggregation\x18\x17 \x01(\x0b\x32*.milvus.proto.common.SearchAggregationSpec\x12;\n\x0f\x66unction_chains\x18\x18 \x03(\x0b\x32\".milvus.proto.schema.FunctionChain\x1a]\n\x17\x45xprTemplateValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".milvus.proto.schema.TemplateValue:\x02\x38\x01:\x07\xca>\x04\x10\x0e\x18\x03\x42\x0e\n\x0csearch_inputB\x0c\n\n_namespace\"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\"\xa1\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\x12\x12\n\nsession_ts\x18\x04 \x01(\x04\"\xe8\x04\n\x13HybridSearchRequest\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\x34\n\x08requests\x18\x05 \x03(\x0b\x32\".milvus.proto.milvus.SearchRequest\x12\x36\n\x0brank_params\x18\x06 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x18\n\x10travel_timestamp\x18\x07 \x01(\x04\x12\x1b\n\x13guarantee_timestamp\x18\x08 \x01(\x04\x12\x1b\n\x13not_return_all_meta\x18\t \x01(\x08\x12\x15\n\routput_fields\x18\n \x03(\t\x12@\n\x11\x63onsistency_level\x18\x0b \x01(\x0e\x32%.milvus.proto.common.ConsistencyLevel\x12\x1f\n\x17use_default_consistency\x18\x0c \x01(\x08\x12:\n\x0e\x66unction_score\x18\r \x01(\x0b\x32\".milvus.proto.schema.FunctionScore\x12\x16\n\tnamespace\x18\x0e \x01(\tH\x00\x88\x01\x01\x12;\n\x0f\x66unction_chains\x18\x0f \x03(\x0b\x32\".milvus.proto.schema.FunctionChain:\x07\xca>\x04\x10\x0e\x18\x03\x42\x0c\n\n_namespace\"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\"\xb6\x06\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\x12G\n\x0b\x63hannel_cps\x18\x07 \x03(\x0b\x32\x32.milvus.proto.milvus.FlushResponse.ChannelCpsEntry\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\x1aP\n\x0f\x43hannelCpsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.milvus.proto.msg.MsgPosition:\x02\x38\x01\"\xf9\x04\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\x12W\n\x14\x65xpr_template_values\x18\r \x03(\x0b\x32\x39.milvus.proto.milvus.QueryRequest.ExprTemplateValuesEntry\x12\x16\n\tnamespace\x18\x0e \x01(\tH\x00\x88\x01\x01\x1a]\n\x17\x45xprTemplateValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".milvus.proto.schema.TemplateValue:\x02\x38\x01:\x07\xca>\x04\x10\x10\x18\x03\x42\x0c\n\n_namespace\"A\n\x0e\x45lementIndices\x12/\n\x07indices\x18\x01 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArray\"\x8e\x02\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\x12\x12\n\nsession_ts\x18\x05 \x01(\x04\x12\x1a\n\x12primary_field_name\x18\x06 \x01(\t\x12<\n\x0f\x65lement_indices\x18\x07 \x03(\x0b\x32#.milvus.proto.milvus.ElementIndices\"R\n\x0bQueryCursor\x12\x12\n\nsession_ts\x18\x01 \x01(\x04\x12\x10\n\x06str_pk\x18\x02 \x01(\tH\x00\x12\x10\n\x06int_pk\x18\x03 \x01(\x03H\x00\x42\x0b\n\tcursor_pk\"}\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\x0e\x46lushAllTarget\x12\x0f\n\x07\x64\x62_name\x18\x01 \x01(\t\x12\x18\n\x10\x63ollection_names\x18\x02 \x03(\t\"\xa6\x01\n\x0f\x46lushAllRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x13\n\x07\x64\x62_name\x18\x02 \x01(\tB\x02\x18\x01\x12>\n\rflush_targets\x18\x03 \x03(\x0b\x32#.milvus.proto.milvus.FlushAllTargetB\x02\x18\x01:\x12\xca>\x0f\x08\x01\x10&\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"F\n\x0b\x43lusterInfo\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x10\n\x08\x63\x63hannel\x18\x02 \x01(\t\x12\x11\n\tpchannels\x18\x03 \x03(\t\"\xfe\x02\n\x10\x46lushAllResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x18\n\x0c\x66lush_all_ts\x18\x02 \x01(\x04\x42\x02\x18\x01\x12>\n\rflush_results\x18\x03 \x03(\x0b\x32#.milvus.proto.milvus.FlushAllResultB\x02\x18\x01\x12O\n\x0e\x66lush_all_msgs\x18\x04 \x03(\x0b\x32\x37.milvus.proto.milvus.FlushAllResponse.FlushAllMsgsEntry\x12\x36\n\x0c\x63luster_info\x18\x05 \x01(\x0b\x32 .milvus.proto.milvus.ClusterInfo\x1aZ\n\x11\x46lushAllMsgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32%.milvus.proto.common.ImmutableMessage:\x02\x38\x01\"i\n\x0e\x46lushAllResult\x12\x0f\n\x07\x64\x62_name\x18\x01 \x01(\t\x12\x46\n\x12\x63ollection_results\x18\x02 \x03(\x0b\x32*.milvus.proto.milvus.FlushCollectionResult\"\xe8\x02\n\x15\x46lushCollectionResult\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x33\n\x0bsegment_ids\x18\x02 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArray\x12\x39\n\x11\x66lush_segment_ids\x18\x03 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArray\x12\x11\n\tseal_time\x18\x04 \x01(\x03\x12\x10\n\x08\x66lush_ts\x18\x05 \x01(\x04\x12O\n\x0b\x63hannel_cps\x18\x06 \x03(\x0b\x32:.milvus.proto.milvus.FlushCollectionResult.ChannelCpsEntry\x1aP\n\x0f\x43hannelCpsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.milvus.proto.msg.MsgPosition:\x02\x38\x01\"\xf7\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\x12\x30\n\x05level\x18\x06 \x01(\x0e\x32!.milvus.proto.common.SegmentLevel\x12\x11\n\tis_sorted\x18\x07 \x01(\x08\x12\x17\n\x0fstorage_version\x18\x08 \x01(\x03\"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\"\xce\x02\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\x12\n\x06nodeID\x18\x08 \x01(\x03\x42\x02\x18\x01\x12\x30\n\x05state\x18\t \x01(\x0e\x32!.milvus.proto.common.SegmentState\x12\x0f\n\x07nodeIds\x18\n \x03(\x03\x12\x30\n\x05level\x18\x0b \x01(\x0e\x32!.milvus.proto.common.SegmentLevel\x12\x11\n\tis_sorted\x18\x0c \x01(\x08\x12\x17\n\x0fstorage_version\x18\r \x01(\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\"\xf6\x01\n\x17ManualCompactionRequest\x12\x14\n\x0c\x63ollectionID\x18\x01 \x01(\x03\x12\x12\n\ntimetravel\x18\x02 \x01(\x04\x12\x17\n\x0fmajorCompaction\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\x12\x14\n\x0cpartition_id\x18\x06 \x01(\x03\x12\x0f\n\x07\x63hannel\x18\x07 \x01(\t\x12\x13\n\x0bsegment_ids\x18\x08 \x03(\x03\x12\x14\n\x0cl0Compaction\x18\t \x01(\x08\x12\x13\n\x0btarget_size\x18\n \x01(\x03:\x07\xca>\x04\x10\x07\x18\x04\"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\"o\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:\x07\xca>\x04\x10+\x18\x04\"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\"\xbe\x02\n\x17GetFlushAllStateRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x18\n\x0c\x66lush_all_ts\x18\x02 \x01(\x04\x42\x02\x18\x01\x12\x13\n\x07\x64\x62_name\x18\x03 \x01(\tB\x02\x18\x01\x12>\n\rflush_targets\x18\x04 \x03(\x0b\x32#.milvus.proto.milvus.FlushAllTargetB\x02\x18\x01\x12T\n\rflush_all_tss\x18\x05 \x03(\x0b\x32=.milvus.proto.milvus.GetFlushAllStateRequest.FlushAllTssEntry\x1a\x32\n\x10\x46lushAllTssEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x04:\x02\x38\x01\"\x96\x01\n\x18GetFlushAllStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07\x66lushed\x18\x02 \x01(\x08\x12<\n\x0c\x66lush_states\x18\x03 \x03(\x0b\x32\".milvus.proto.milvus.FlushAllStateB\x02\x18\x01\"\xbe\x01\n\rFlushAllState\x12\x0f\n\x07\x64\x62_name\x18\x01 \x01(\t\x12^\n\x17\x63ollection_flush_states\x18\x02 \x03(\x0b\x32=.milvus.proto.milvus.FlushAllState.CollectionFlushStatesEntry\x1a<\n\x1a\x43ollectionFlushStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"\xe0\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\x12\x17\n\x0f\x63lustering_info\x18\x08 \x01(\x0c:\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\"\xe8\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\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tH\x00\x88\x01\x01:\x12\xca>\x0f\x08\x01\x10\x13\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\x42\x0e\n\x0c_description\"\xf7\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\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tH\x00\x88\x01\x01:\t\xca>\x06\x08\x02\x10\x14\x18\x02\x42\x0e\n\x0c_description\"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\"/\n\nRoleEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \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\"z\n\x10\x41lterRoleRequest\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\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x13\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"x\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\x12\n\nforce_drop\x18\x03 \x01(\x08:\x12\xca>\x0f\x08\x01\x10\x15\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"q\n\x1b\x43reatePrivilegeGroupRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x12\n\ngroup_name\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x38\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"o\n\x19\x44ropPrivilegeGroupRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x12\n\ngroup_name\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x39\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\\\n\x1aListPrivilegeGroupsRequest\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\"\x8d\x01\n\x1bListPrivilegeGroupsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x41\n\x10privilege_groups\x18\x02 \x03(\x0b\x32\'.milvus.proto.milvus.PrivilegeGroupInfo\"\xea\x01\n\x1cOperatePrivilegeGroupRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x12\n\ngroup_name\x18\x02 \x01(\t\x12\x38\n\nprivileges\x18\x03 \x03(\x0b\x32$.milvus.proto.milvus.PrivilegeEntity\x12<\n\x04type\x18\x04 \x01(\x0e\x32..milvus.proto.milvus.OperatePrivilegeGroupType:\x12\xca>\x0f\x08\x01\x10;\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\"b\n\x12PrivilegeGroupInfo\x12\x12\n\ngroup_name\x18\x01 \x01(\t\x12\x38\n\nprivileges\x18\x02 \x03(\x0b\x32$.milvus.proto.milvus.PrivilegeEntity\"\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\"\x80\x01\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\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"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\"\xd5\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\x0f\n\x07version\x18\x04 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x17\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xa2\x02\n\x19OperatePrivilegeV2Request\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\x33\n\x07grantor\x18\x03 \x01(\x0b\x32\".milvus.proto.milvus.GrantorEntity\x12\x37\n\x04type\x18\x04 \x01(\x0e\x32).milvus.proto.milvus.OperatePrivilegeType\x12\x0f\n\x07\x64\x62_name\x18\x05 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x06 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x17\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"Z\n\x08UserInfo\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x12.\n\x05roles\x18\x03 \x03(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity\"\xdd\x01\n\x08RBACMeta\x12,\n\x05users\x18\x01 \x03(\x0b\x32\x1d.milvus.proto.milvus.UserInfo\x12.\n\x05roles\x18\x02 \x03(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity\x12\x30\n\x06grants\x18\x03 \x03(\x0b\x32 .milvus.proto.milvus.GrantEntity\x12\x41\n\x10privilege_groups\x18\x04 \x03(\x0b\x32\'.milvus.proto.milvus.PrivilegeGroupInfo\"W\n\x15\x42\x61\x63kupRBACMetaRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase:\x12\xca>\x0f\x08\x01\x10\x33\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"w\n\x16\x42\x61\x63kupRBACMetaResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\tRBAC_meta\x18\x02 \x01(\x0b\x32\x1d.milvus.proto.milvus.RBACMeta\"\x8a\x01\n\x16RestoreRBACMetaRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x30\n\tRBAC_meta\x18\x02 \x01(\x0b\x32\x1d.milvus.proto.milvus.RBACMeta:\x12\xca>\x0f\x08\x01\x10\x34\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\"\xaa\x01\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\x34\n\x06\x63onfig\x18\x03 \x01(\x0b\x32$.milvus.proto.rg.ResourceGroupConfig:\x12\xca>\x0f\x08\x01\x10\x1a\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x99\x02\n\x1bUpdateResourceGroupsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12]\n\x0fresource_groups\x18\x02 \x03(\x0b\x32\x44.milvus.proto.milvus.UpdateResourceGroupsRequest.ResourceGroupsEntry\x1a[\n\x13ResourceGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.milvus.proto.rg.ResourceGroupConfig:\x02\x38\x01:\x12\xca>\x0f\x08\x01\x10\x30\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\"\xd6\x04\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\x12\x34\n\x06\x63onfig\x18\x07 \x01(\x0b\x32$.milvus.proto.rg.ResourceGroupConfig\x12,\n\x05nodes\x18\x08 \x03(\x0b\x32\x1d.milvus.proto.common.NodeInfo\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\"\x9f\x01\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\x35\n\nproperties\x18\x03 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair:\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\"B\n\x14ListDatabasesRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\"\x81\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\x0e\n\x06\x64\x62_ids\x18\x04 \x03(\x03\"\xc2\x01\n\x14\x41lterDatabaseRequest\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\x64\x62_id\x18\x03 \x01(\t\x12\x35\n\nproperties\x18\x04 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x13\n\x0b\x64\x65lete_keys\x18\x05 \x03(\t:\x12\xca>\x0f\x08\x01\x10\x31\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"j\n\x17\x44\x65scribeDatabaseRequest\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\x32\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xb8\x01\n\x18\x44\x65scribeDatabaseResponse\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\x0c\n\x04\x64\x62ID\x18\x03 \x01(\x03\x12\x19\n\x11\x63reated_timestamp\x18\x04 \x01(\x04\x12\x35\n\nproperties\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\xf9\x01\n\x17ReplicateMessageRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x14\n\x0c\x63hannel_name\x18\x02 \x01(\t\x12\x0f\n\x07\x42\x65ginTs\x18\x03 \x01(\x04\x12\r\n\x05\x45ndTs\x18\x04 \x01(\x04\x12\x0c\n\x04Msgs\x18\x05 \x03(\x0c\x12\x35\n\x0eStartPositions\x18\x06 \x03(\x0b\x32\x1d.milvus.proto.msg.MsgPosition\x12\x33\n\x0c\x45ndPositions\x18\x07 \x03(\x0b\x32\x1d.milvus.proto.msg.MsgPosition:\x02\x18\x01\"]\n\x18ReplicateMessageResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x10\n\x08position\x18\x02 \x01(\t:\x02\x18\x01\"b\n\x15ImportAuthPlaceholder\x12\x0f\n\x07\x64\x62_name\x18\x01 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x02 \x01(\t\x12\x16\n\x0epartition_name\x18\x03 \x01(\t:\x07\xca>\x04\x10\x12\x18\x02\"G\n GetImportProgressAuthPlaceholder\x12\x0f\n\x07\x64\x62_name\x18\x01 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x45\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"Z\n\x1aListImportsAuthPlaceholder\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x46\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xec\x01\n\x12RunAnalyzerRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x17\n\x0f\x61nalyzer_params\x18\x02 \x01(\t\x12\x13\n\x0bplaceholder\x18\x03 \x03(\x0c\x12\x13\n\x0bwith_detail\x18\x04 \x01(\x08\x12\x11\n\twith_hash\x18\x05 \x01(\x08\x12\x0f\n\x07\x64\x62_name\x18\x06 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x07 \x01(\t\x12\x12\n\nfield_name\x18\x08 \x01(\t\x12\x16\n\x0e\x61nalyzer_names\x18\t \x03(\t\"\x81\x01\n\rAnalyzerToken\x12\r\n\x05token\x18\x01 \x01(\t\x12\x14\n\x0cstart_offset\x18\x02 \x01(\x03\x12\x12\n\nend_offset\x18\x03 \x01(\x03\x12\x10\n\x08position\x18\x04 \x01(\x03\x12\x17\n\x0fposition_length\x18\x05 \x01(\x03\x12\x0c\n\x04hash\x18\x06 \x01(\r\"D\n\x0e\x41nalyzerResult\x12\x32\n\x06tokens\x18\x01 \x03(\x0b\x32\".milvus.proto.milvus.AnalyzerToken\"x\n\x13RunAnalyzerResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x34\n\x07results\x18\x02 \x03(\x0b\x32#.milvus.proto.milvus.AnalyzerResult\":\n\x10\x46ileResourceInfo\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\"t\n\x16\x41\x64\x64\x46ileResourceRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t:\x12\xca>\x0f\x08\x01\x10H\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"i\n\x19RemoveFileResourceRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10I\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"Z\n\x18ListFileResourcesRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase:\x12\xca>\x0f\x08\x01\x10J\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x82\x01\n\x19ListFileResourcesResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x38\n\tresources\x18\x02 \x03(\x0b\x32%.milvus.proto.milvus.FileResourceInfo\"\xcc\x01\n\x12\x41\x64\x64UserTagsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x11\n\tuser_name\x18\x02 \x01(\t\x12?\n\x04tags\x18\x03 \x03(\x0b\x32\x31.milvus.proto.milvus.AddUserTagsRequest.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\t\xca>\x06\x08\x02\x10\x14\x18\x02\"s\n\x15\x44\x65leteUserTagsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x11\n\tuser_name\x18\x02 \x01(\t\x12\x10\n\x08tag_keys\x18\x03 \x03(\t:\t\xca>\x06\x08\x02\x10\x14\x18\x02\"^\n\x12GetUserTagsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x11\n\tuser_name\x18\x02 \x01(\t:\t\xca>\x06\x08\x02\x10\x18\x18\x02\"\xb1\x01\n\x13GetUserTagsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12@\n\x04tags\x18\x02 \x03(\x0b\x32\x32.milvus.proto.milvus.GetUserTagsResponse.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"}\n\x17ListUsersWithTagRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07tag_key\x18\x02 \x01(\t\x12\x11\n\ttag_value\x18\x03 \x01(\t:\x12\xca>\x0f\x08\x02\x10\x18\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"[\n\x18ListUsersWithTagResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x12\n\nuser_names\x18\x02 \x03(\t\"\x8f\x02\n\x16\x43reateRowPolicyRequest\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\x13\n\x0bpolicy_name\x18\x04 \x01(\t\x12\x35\n\x07\x61\x63tions\x18\x05 \x03(\x0e\x32$.milvus.proto.milvus.RowPolicyAction\x12\r\n\x05roles\x18\x06 \x03(\t\x12\x12\n\nusing_expr\x18\x07 \x01(\t\x12\x12\n\ncheck_expr\x18\x08 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t:\x07\xca>\x04\x10\x13\x18\x03\"\x8a\x01\n\x14\x44ropRowPolicyRequest\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\x13\n\x0bpolicy_name\x18\x04 \x01(\t:\x07\xca>\x04\x10\x15\x18\x03\"w\n\x16ListRowPoliciesRequest\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\x16\x18\x03\"\xb7\x01\n\tRowPolicy\x12\x13\n\x0bpolicy_name\x18\x01 \x01(\t\x12\x35\n\x07\x61\x63tions\x18\x02 \x03(\x0e\x32$.milvus.proto.milvus.RowPolicyAction\x12\r\n\x05roles\x18\x03 \x03(\t\x12\x12\n\nusing_expr\x18\x04 \x01(\t\x12\x12\n\ncheck_expr\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x12\n\ncreated_at\x18\x07 \x01(\x03\"\xa2\x01\n\x17ListRowPoliciesResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\x08policies\x18\x02 \x03(\x0b\x32\x1e.milvus.proto.milvus.RowPolicy\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\"\x9e\x01\n#UpdateReplicateConfigurationRequest\x12L\n\x17replicate_configuration\x18\x01 \x01(\x0b\x32+.milvus.proto.common.ReplicateConfiguration\x12\x15\n\rforce_promote\x18\x02 \x01(\x08:\x12\xca>\x0f\x08\x01\x10N\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"6\n GetReplicateConfigurationRequest:\x12\xca>\x0f\x08\x01\x10U\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x94\x01\n!GetReplicateConfigurationResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x42\n\rconfiguration\x18\x02 \x01(\x0b\x32+.milvus.proto.common.ReplicateConfiguration\"M\n\x17GetReplicateInfoRequest\x12\x19\n\x11source_cluster_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_pchannel\x18\x02 \x01(\t\"\x9e\x01\n\x18GetReplicateInfoResponse\x12<\n\ncheckpoint\x18\x01 \x01(\x0b\x32(.milvus.proto.common.ReplicateCheckpoint\x12\x44\n\x12salvage_checkpoint\x18\x02 \x01(\x0b\x32(.milvus.proto.common.ReplicateCheckpoint\"e\n\x10ReplicateMessage\x12\x19\n\x11source_cluster_id\x18\x01 \x01(\t\x12\x36\n\x07message\x18\x02 \x01(\x0b\x32%.milvus.proto.common.ImmutableMessage\"a\n\x10ReplicateRequest\x12\x42\n\x11replicate_message\x18\x01 \x01(\x0b\x32%.milvus.proto.milvus.ReplicateMessageH\x00\x42\t\n\x07request\"<\n\x1dReplicateConfirmedMessageInfo\x12\x1b\n\x13\x63onfirmed_time_tick\x18\x01 \x01(\x04\"\x7f\n\x11ReplicateResponse\x12^\n replicate_confirmed_message_info\x18\x01 \x01(\x0b\x32\x32.milvus.proto.milvus.ReplicateConfirmedMessageInfoH\x00\x42\n\n\x08response\"\xae\x01\n\x13\x44umpMessagesRequest\x12\x10\n\x08pchannel\x18\x01 \x01(\t\x12\x38\n\x10start_message_id\x18\x02 \x01(\x0b\x32\x1e.milvus.proto.common.MessageID\x12\x16\n\x0estart_timetick\x18\x03 \x01(\x04\x12\x14\n\x0c\x65nd_timetick\x18\x04 \x01(\x04\x12\x1d\n\x15include_start_message\x18\x05 \x01(\x08\"\x8b\x01\n\x14\x44umpMessagesResponse\x12-\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.StatusH\x00\x12\x38\n\x07message\x18\x02 \x01(\x0b\x32%.milvus.proto.common.ImmutableMessageH\x00\x42\n\n\x08response\"\x85\x01\n\x19TruncateCollectionRequest\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\"I\n\x1aTruncateCollectionResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\"\x8c\x01\n\x1d\x43omputePhraseMatchSlopRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x17\n\x0f\x61nalyzer_params\x18\x02 \x01(\t\x12\x12\n\nquery_text\x18\x03 \x01(\t\x12\x12\n\ndata_texts\x18\x04 \x03(\t\"n\n\x1e\x43omputePhraseMatchSlopResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x10\n\x08is_match\x18\x02 \x03(\x08\x12\r\n\x05slops\x18\x03 \x03(\x03\"\xc0\x01\n\x15\x43reateSnapshotRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x04 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x05 \x01(\t\x12%\n\x1d\x63ompaction_protection_seconds\x18\x06 \x01(\x03:\x07\xca>\x04\x10O\x18\x05\"\x82\x01\n\x13\x44ropSnapshotRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t:\x07\xca>\x04\x10P\x18\x04\"u\n\x14ListSnapshotsRequest\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\x10R\x18\x03\"W\n\x15ListSnapshotsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x11\n\tsnapshots\x18\x02 \x03(\t\"\x86\x01\n\x17\x44\x65scribeSnapshotRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t:\x07\xca>\x04\x10Q\x18\x04\"\xc4\x01\n\x18\x44\x65scribeSnapshotResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x17\n\x0fpartition_names\x18\x05 \x03(\t\x12\x11\n\tcreate_ts\x18\x06 \x01(\x03\x12\x13\n\x0bs3_location\x18\x07 \x01(\t\"\xd3\x01\n\x16RestoreSnapshotRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x14\n\x0crewrite_data\x18\x05 \x01(\x08\x12\x16\n\x0etarget_db_name\x18\x06 \x01(\t\x12\x1e\n\x16target_collection_name\x18\x07 \x01(\t:\x07\xca>\x04\x10S\x18\x04\"V\n\x17RestoreSnapshotResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\"\xc7\x01\n\x1eRestoreExternalSnapshotRequest\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\x1e\n\x16target_collection_name\x18\x03 \x01(\t\x12\x1d\n\x15snapshot_metadata_uri\x18\x04 \x01(\t\x12\x15\n\rexternal_spec\x18\x05 \x01(\t:\x12\xca>\x0f\x08\x01\x10Y\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"^\n\x1fRestoreExternalSnapshotResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\"\xbe\x01\n\x15\x45xportSnapshotRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x16\n\x0etarget_s3_path\x18\x05 \x01(\t\x12\x15\n\rexternal_spec\x18\x06 \x01(\t:\x12\xca>\x0f\x08\x01\x10Z\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"d\n\x16\x45xportSnapshotResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x1d\n\x15snapshot_metadata_uri\x18\x02 \x01(\t\"\xe9\x01\n\x13RestoreSnapshotInfo\x12\x0e\n\x06job_id\x18\x01 \x01(\x03\x12\x15\n\rsnapshot_name\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x38\n\x05state\x18\x05 \x01(\x0e\x32).milvus.proto.milvus.RestoreSnapshotState\x12\x10\n\x08progress\x18\x06 \x01(\x05\x12\x0e\n\x06reason\x18\x07 \x01(\t\x12\x12\n\nstart_time\x18\x08 \x01(\x04\x12\x11\n\ttime_cost\x18\t \x01(\x04\"\\\n\x1eGetRestoreSnapshotStateRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\"\x86\x01\n\x1fGetRestoreSnapshotStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x36\n\x04info\x18\x02 \x01(\x0b\x32(.milvus.proto.milvus.RestoreSnapshotInfo\"\x7f\n\x1eListRestoreSnapshotJobsRequest\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\x10S\x18\x03\"\x86\x01\n\x1fListRestoreSnapshotJobsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x36\n\x04jobs\x18\x02 \x03(\x0b\x32(.milvus.proto.milvus.RestoreSnapshotInfo\"\xa5\x01\n\x16PinSnapshotDataRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x13\n\x0bttl_seconds\x18\x05 \x01(\x03:\x12\xca>\x0f\x08\x01\x10W\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"V\n\x17PinSnapshotDataResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0e\n\x06pin_id\x18\x02 \x01(\x03\"j\n\x18UnpinSnapshotDataRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0e\n\x06pin_id\x18\x02 \x01(\x03:\x12\xca>\x0f\x08\x01\x10X\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xec\x06\n\x1c\x41lterCollectionSchemaRequest\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\x12H\n\x06\x61\x63tion\x18\x05 \x01(\x0b\x32\x38.milvus.proto.milvus.AlterCollectionSchemaRequest.Action\x1a\x90\x01\n\tFieldInfo\x12\x36\n\x0c\x66ield_schema\x18\x01 \x01(\x0b\x32 .milvus.proto.schema.FieldSchema\x12\x12\n\nindex_name\x18\x02 \x01(\t\x12\x37\n\x0c\x65xtra_params\x18\x03 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x1a\xb6\x01\n\nAddRequest\x12P\n\x0b\x66ield_infos\x18\x01 \x03(\x0b\x32;.milvus.proto.milvus.AlterCollectionSchemaRequest.FieldInfo\x12\x38\n\x0b\x66unc_schema\x18\x02 \x03(\x0b\x32#.milvus.proto.schema.FunctionSchema\x12\x1c\n\x14\x64o_physical_backfill\x18\x03 \x01(\x08\x1a\x83\x01\n\x0b\x44ropRequest\x12\x14\n\nfield_name\x18\x01 \x01(\tH\x00\x12\x12\n\x08\x66ield_id\x18\x02 \x01(\x03H\x00\x12\x17\n\rfunction_name\x18\x03 \x01(\tH\x00\x12#\n\x1b\x64rop_function_output_fields\x18\x04 \x01(\x08\x42\x0c\n\nidentifier\x1a\xba\x01\n\x06\x41\x63tion\x12S\n\x0b\x61\x64\x64_request\x18\x01 \x01(\x0b\x32<.milvus.proto.milvus.AlterCollectionSchemaRequest.AddRequestH\x00\x12U\n\x0c\x64rop_request\x18\x02 \x01(\x0b\x32=.milvus.proto.milvus.AlterCollectionSchemaRequest.DropRequestH\x00\x42\x04\n\x02op:\x07\xca>\x04\x10T\x18\x03\"R\n\x1d\x41lterCollectionSchemaResponse\x12\x31\n\x0c\x61lter_status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\"\xcd\x01\n\x1a\x42\x61tchUpdateManifestRequest\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\x13\n\x0b\x66ield_names\x18\x04 \x03(\t\x12;\n\x05items\x18\x05 \x03(\x0b\x32,.milvus.proto.milvus.BatchUpdateManifestItem:\x07\xca>\x04\x10\x08\x18\x03\"G\n\x17\x42\x61tchUpdateManifestItem\x12\x12\n\nsegment_id\x18\x01 \x01(\x03\x12\x18\n\x10manifest_version\x18\x02 \x01(\x03\"\x91\x02\n\x16\x43lientHeartbeatRequest\x12\x34\n\x0b\x63lient_info\x18\x01 \x01(\x0b\x32\x1f.milvus.proto.common.ClientInfo\x12\x18\n\x10report_timestamp\x18\x02 \x01(\x03\x12\x36\n\x07metrics\x18\x03 \x03(\x0b\x32%.milvus.proto.common.OperationMetrics\x12:\n\x0f\x63ommand_replies\x18\x04 \x03(\x0b\x32!.milvus.proto.common.CommandReply\x12\x13\n\x0b\x63onfig_hash\x18\x05 \x01(\t\x12\x1e\n\x16last_command_timestamp\x18\x06 \x01(\x03\"\x96\x01\n\x17\x43lientHeartbeatResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x18\n\x10server_timestamp\x18\x02 \x01(\x03\x12\x34\n\x08\x63ommands\x18\x03 \x03(\x0b\x32\".milvus.proto.common.ClientCommand\"Y\n\x19GetClientTelemetryRequest\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x11\n\tclient_id\x18\x02 \x01(\t\x12\x17\n\x0finclude_metrics\x18\x03 \x01(\x08\"\xbf\x01\n\x0f\x43lientTelemetry\x12\x34\n\x0b\x63lient_info\x18\x01 \x01(\x0b\x32\x1f.milvus.proto.common.ClientInfo\x12\x1b\n\x13last_heartbeat_time\x18\x02 \x01(\x03\x12\x0e\n\x06status\x18\x03 \x01(\t\x12\x11\n\tdatabases\x18\x04 \x03(\t\x12\x36\n\x07metrics\x18\x05 \x03(\x0b\x32%.milvus.proto.common.OperationMetrics\"\xb2\x01\n\x1aGetClientTelemetryResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x35\n\x07\x63lients\x18\x02 \x03(\x0b\x32$.milvus.proto.milvus.ClientTelemetry\x12\x30\n\naggregated\x18\x03 \x01(\x0b\x32\x1c.milvus.proto.common.Metrics\"\x9d\x01\n\x18PushClientCommandRequest\x12\x14\n\x0c\x63ommand_type\x18\x01 \x01(\t\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\x12\x18\n\x10target_client_id\x18\x03 \x01(\t\x12\x17\n\x0ftarget_database\x18\x04 \x01(\t\x12\x13\n\x0bttl_seconds\x18\x05 \x01(\x03\x12\x12\n\npersistent\x18\x06 \x01(\x08\"\\\n\x19PushClientCommandResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x12\n\ncommand_id\x18\x02 \x01(\t\"0\n\x1a\x44\x65leteClientCommandRequest\x12\x12\n\ncommand_id\x18\x01 \x01(\t\"J\n\x1b\x44\x65leteClientCommandResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\"\xb1\x01\n RefreshExternalCollectionRequest\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\x0f\x65xternal_source\x18\x04 \x01(\t\x12\x15\n\rexternal_spec\x18\x05 \x01(\t:\x07\xca>\x04\x10V\x18\x03\"`\n!RefreshExternalCollectionResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\"i\n+GetRefreshExternalCollectionProgressRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\"\x87\x02\n RefreshExternalCollectionJobInfo\x12\x0e\n\x06job_id\x18\x01 \x01(\x03\x12\x17\n\x0f\x63ollection_name\x18\x02 \x01(\t\x12\x42\n\x05state\x18\x03 \x01(\x0e\x32\x33.milvus.proto.milvus.RefreshExternalCollectionState\x12\x10\n\x08progress\x18\x04 \x01(\x03\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x17\n\x0f\x65xternal_source\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x03\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x03\x12\x15\n\rexternal_spec\x18\t \x01(\t\"\xa4\x01\n,GetRefreshExternalCollectionProgressResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12G\n\x08job_info\x18\x02 \x01(\x0b\x32\x35.milvus.proto.milvus.RefreshExternalCollectionJobInfo\"\x80\x01\n(ListRefreshExternalCollectionJobsRequest\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\"\x9d\x01\n)ListRefreshExternalCollectionJobsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x43\n\x04jobs\x18\x02 \x03(\x0b\x32\x35.milvus.proto.milvus.RefreshExternalCollectionJobInfo*%\n\x08ShowType\x12\x07\n\x03\x41ll\x10\x00\x12\x0c\n\x08InMemory\x10\x01\x1a\x02\x18\x01*\xa4\x01\n\x10PrewarmTaskState\x12\x1b\n\x17PrewarmTaskStateUnknown\x10\x00\x12\x1b\n\x17PrewarmTaskStatePending\x10\x01\x12\x1b\n\x17PrewarmTaskStateWarming\x10\x02\x12\x1d\n\x19PrewarmTaskStateCompleted\x10\x03\x12\x1a\n\x16PrewarmTaskStateFailed\x10\x04*T\n\x19OperatePrivilegeGroupType\x12\x18\n\x14\x41\x64\x64PrivilegesToGroup\x10\x00\x12\x1d\n\x19RemovePrivilegesFromGroup\x10\x01*@\n\x13OperateUserRoleType\x12\x11\n\rAddUserToRole\x10\x00\x12\x16\n\x12RemoveUserFromRole\x10\x01*;\n\x0ePrivilegeLevel\x12\x0b\n\x07\x43luster\x10\x00\x12\x0c\n\x08\x44\x61tabase\x10\x01\x12\x0e\n\nCollection\x10\x02*-\n\x14OperatePrivilegeType\x12\t\n\x05Grant\x10\x00\x12\n\n\x06Revoke\x10\x01*l\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\x12\r\n\tDenyToDDL\x10\x06*L\n\x0fRowPolicyAction\x12\t\n\x05Query\x10\x00\x12\n\n\x06Search\x10\x01\x12\n\n\x06Insert\x10\x02\x12\n\n\x06\x44\x65lete\x10\x03\x12\n\n\x06Upsert\x10\x04*\xa2\x01\n\x14RestoreSnapshotState\x12\x17\n\x13RestoreSnapshotNone\x10\x00\x12\x1a\n\x16RestoreSnapshotPending\x10\x01\x12\x1c\n\x18RestoreSnapshotExecuting\x10\x02\x12\x1c\n\x18RestoreSnapshotCompleted\x10\x03\x12\x19\n\x15RestoreSnapshotFailed\x10\x04*t\n\x1eRefreshExternalCollectionState\x12\x12\n\x0eRefreshPending\x10\x00\x12\x15\n\x11RefreshInProgress\x10\x01\x12\x14\n\x10RefreshCompleted\x10\x02\x12\x11\n\rRefreshFailed\x10\x03\x32\xbdv\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\x17\x42\x61tchDescribeCollection\x12\x33.milvus.proto.milvus.BatchDescribeCollectionRequest\x1a\x34.milvus.proto.milvus.BatchDescribeCollectionResponse\"\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\x12g\n\x14\x41lterCollectionField\x12\x30.milvus.proto.milvus.AlterCollectionFieldRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12i\n\x15\x41\x64\x64\x43ollectionFunction\x12\x31.milvus.proto.milvus.AddCollectionFunctionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12m\n\x17\x41lterCollectionFunction\x12\x33.milvus.proto.milvus.AlterCollectionFunctionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12k\n\x16\x44ropCollectionFunction\x12\x32.milvus.proto.milvus.DropCollectionFunctionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12w\n\x12TruncateCollection\x12..milvus.proto.milvus.TruncateCollectionRequest\x1a/.milvus.proto.milvus.TruncateCollectionResponse\"\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\x12V\n\x07Prewarm\x12#.milvus.proto.milvus.PrewarmRequest\x1a$.milvus.proto.milvus.PrewarmResponse\"\x00\x12z\n\x13\x44\x65scribePrewarmTask\x12/.milvus.proto.milvus.DescribePrewarmTaskRequest\x1a\x30.milvus.proto.milvus.DescribePrewarmTaskResponse\"\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\x12n\n\x0f\x43reateNamespace\x12+.milvus.proto.milvus.CreateNamespaceRequest\x1a,.milvus.proto.milvus.CreateNamespaceResponse\"\x00\x12t\n\x11\x44\x65scribeNamespace\x12-.milvus.proto.milvus.DescribeNamespaceRequest\x1a..milvus.proto.milvus.DescribeNamespaceResponse\"\x00\x12k\n\x0eListNamespaces\x12*.milvus.proto.milvus.ListNamespacesRequest\x1a+.milvus.proto.milvus.ListNamespacesResponse\"\x00\x12h\n\rDropNamespace\x12).milvus.proto.milvus.DropNamespaceRequest\x1a*.milvus.proto.milvus.DropNamespaceResponse\"\x00\x12\x65\n\x0cHasNamespace\x12(.milvus.proto.milvus.HasNamespaceRequest\x1a).milvus.proto.milvus.HasNamespaceResponse\"\x00\x12t\n\x11GetNamespaceStats\x12-.milvus.proto.milvus.GetNamespaceStatsRequest\x1a..milvus.proto.milvus.GetNamespaceStatsResponse\"\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\x12S\n\nAlterIndex\x12&.milvus.proto.milvus.AlterIndexRequest\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\x12k\n\rGetIndexState\x12).milvus.proto.milvus.GetIndexStateRequest\x1a*.milvus.proto.milvus.GetIndexStateResponse\"\x03\x88\x02\x01\x12\x83\x01\n\x15GetIndexBuildProgress\x12\x31.milvus.proto.milvus.GetIndexBuildProgressRequest\x1a\x32.milvus.proto.milvus.GetIndexBuildProgressResponse\"\x03\x88\x02\x01\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\x12^\n\x0cHybridSearch\x12(.milvus.proto.milvus.HybridSearchRequest\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\x12\x63\n\x12\x41\x64\x64\x43ollectionField\x12..milvus.proto.milvus.AddCollectionFieldRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12o\n\x18\x41\x64\x64\x43ollectionStructField\x12\x34.milvus.proto.milvus.AddCollectionStructFieldRequest\x1a\x1b.milvus.proto.common.Status\"\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\x12Q\n\tAlterRole\x12%.milvus.proto.milvus.AlterRoleRequest\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\x63\n\x12OperatePrivilegeV2\x12..milvus.proto.milvus.OperatePrivilegeV2Request\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\x12g\n\x14UpdateResourceGroups\x12\x30.milvus.proto.milvus.UpdateResourceGroupsRequest\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\x12Y\n\rAlterDatabase\x12).milvus.proto.milvus.AlterDatabaseRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12q\n\x10\x44\x65scribeDatabase\x12,.milvus.proto.milvus.DescribeDatabaseRequest\x1a-.milvus.proto.milvus.DescribeDatabaseResponse\"\x00\x12t\n\x10ReplicateMessage\x12,.milvus.proto.milvus.ReplicateMessageRequest\x1a-.milvus.proto.milvus.ReplicateMessageResponse\"\x03\x88\x02\x01\x12g\n\nBackupRBAC\x12*.milvus.proto.milvus.BackupRBACMetaRequest\x1a+.milvus.proto.milvus.BackupRBACMetaResponse\"\x00\x12Y\n\x0bRestoreRBAC\x12+.milvus.proto.milvus.RestoreRBACMetaRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12g\n\x14\x43reatePrivilegeGroup\x12\x30.milvus.proto.milvus.CreatePrivilegeGroupRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x63\n\x12\x44ropPrivilegeGroup\x12..milvus.proto.milvus.DropPrivilegeGroupRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12z\n\x13ListPrivilegeGroups\x12/.milvus.proto.milvus.ListPrivilegeGroupsRequest\x1a\x30.milvus.proto.milvus.ListPrivilegeGroupsResponse\"\x00\x12i\n\x15OperatePrivilegeGroup\x12\x31.milvus.proto.milvus.OperatePrivilegeGroupRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x62\n\x0bRunAnalyzer\x12\'.milvus.proto.milvus.RunAnalyzerRequest\x1a(.milvus.proto.milvus.RunAnalyzerResponse\"\x00\x12]\n\x0f\x41\x64\x64\x46ileResource\x12+.milvus.proto.milvus.AddFileResourceRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x63\n\x12RemoveFileResource\x12..milvus.proto.milvus.RemoveFileResourceRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12t\n\x11ListFileResources\x12-.milvus.proto.milvus.ListFileResourcesRequest\x1a..milvus.proto.milvus.ListFileResourcesResponse\"\x00\x12U\n\x0b\x41\x64\x64UserTags\x12\'.milvus.proto.milvus.AddUserTagsRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12[\n\x0e\x44\x65leteUserTags\x12*.milvus.proto.milvus.DeleteUserTagsRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x62\n\x0bGetUserTags\x12\'.milvus.proto.milvus.GetUserTagsRequest\x1a(.milvus.proto.milvus.GetUserTagsResponse\"\x00\x12q\n\x10ListUsersWithTag\x12,.milvus.proto.milvus.ListUsersWithTagRequest\x1a-.milvus.proto.milvus.ListUsersWithTagResponse\"\x00\x12]\n\x0f\x43reateRowPolicy\x12+.milvus.proto.milvus.CreateRowPolicyRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12Y\n\rDropRowPolicy\x12).milvus.proto.milvus.DropRowPolicyRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12n\n\x0fListRowPolicies\x12+.milvus.proto.milvus.ListRowPoliciesRequest\x1a,.milvus.proto.milvus.ListRowPoliciesResponse\"\x00\x12w\n\x1cUpdateReplicateConfiguration\x12\x38.milvus.proto.milvus.UpdateReplicateConfigurationRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x8c\x01\n\x19GetReplicateConfiguration\x12\x35.milvus.proto.milvus.GetReplicateConfigurationRequest\x1a\x36.milvus.proto.milvus.GetReplicateConfigurationResponse\"\x00\x12q\n\x10GetReplicateInfo\x12,.milvus.proto.milvus.GetReplicateInfoRequest\x1a-.milvus.proto.milvus.GetReplicateInfoResponse\"\x00\x12l\n\x15\x43reateReplicateStream\x12%.milvus.proto.milvus.ReplicateRequest\x1a&.milvus.proto.milvus.ReplicateResponse\"\x00(\x01\x30\x01\x12g\n\x0c\x44umpMessages\x12(.milvus.proto.milvus.DumpMessagesRequest\x1a).milvus.proto.milvus.DumpMessagesResponse\"\x00\x30\x01\x12\x83\x01\n\x16\x43omputePhraseMatchSlop\x12\x32.milvus.proto.milvus.ComputePhraseMatchSlopRequest\x1a\x33.milvus.proto.milvus.ComputePhraseMatchSlopResponse\"\x00\x12[\n\x0e\x43reateSnapshot\x12*.milvus.proto.milvus.CreateSnapshotRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12W\n\x0c\x44ropSnapshot\x12(.milvus.proto.milvus.DropSnapshotRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12h\n\rListSnapshots\x12).milvus.proto.milvus.ListSnapshotsRequest\x1a*.milvus.proto.milvus.ListSnapshotsResponse\"\x00\x12q\n\x10\x44\x65scribeSnapshot\x12,.milvus.proto.milvus.DescribeSnapshotRequest\x1a-.milvus.proto.milvus.DescribeSnapshotResponse\"\x00\x12n\n\x0fRestoreSnapshot\x12+.milvus.proto.milvus.RestoreSnapshotRequest\x1a,.milvus.proto.milvus.RestoreSnapshotResponse\"\x00\x12\x86\x01\n\x17RestoreExternalSnapshot\x12\x33.milvus.proto.milvus.RestoreExternalSnapshotRequest\x1a\x34.milvus.proto.milvus.RestoreExternalSnapshotResponse\"\x00\x12k\n\x0e\x45xportSnapshot\x12*.milvus.proto.milvus.ExportSnapshotRequest\x1a+.milvus.proto.milvus.ExportSnapshotResponse\"\x00\x12\x86\x01\n\x17GetRestoreSnapshotState\x12\x33.milvus.proto.milvus.GetRestoreSnapshotStateRequest\x1a\x34.milvus.proto.milvus.GetRestoreSnapshotStateResponse\"\x00\x12\x86\x01\n\x17ListRestoreSnapshotJobs\x12\x33.milvus.proto.milvus.ListRestoreSnapshotJobsRequest\x1a\x34.milvus.proto.milvus.ListRestoreSnapshotJobsResponse\"\x00\x12n\n\x0fPinSnapshotData\x12+.milvus.proto.milvus.PinSnapshotDataRequest\x1a,.milvus.proto.milvus.PinSnapshotDataResponse\"\x00\x12\x61\n\x11UnpinSnapshotData\x12-.milvus.proto.milvus.UnpinSnapshotDataRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x80\x01\n\x15\x41lterCollectionSchema\x12\x31.milvus.proto.milvus.AlterCollectionSchemaRequest\x1a\x32.milvus.proto.milvus.AlterCollectionSchemaResponse\"\x00\x12\x65\n\x13\x42\x61tchUpdateManifest\x12/.milvus.proto.milvus.BatchUpdateManifestRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x8c\x01\n\x19RefreshExternalCollection\x12\x35.milvus.proto.milvus.RefreshExternalCollectionRequest\x1a\x36.milvus.proto.milvus.RefreshExternalCollectionResponse\"\x00\x12\xad\x01\n$GetRefreshExternalCollectionProgress\x12@.milvus.proto.milvus.GetRefreshExternalCollectionProgressRequest\x1a\x41.milvus.proto.milvus.GetRefreshExternalCollectionProgressResponse\"\x00\x12\xa4\x01\n!ListRefreshExternalCollectionJobs\x12=.milvus.proto.milvus.ListRefreshExternalCollectionJobsRequest\x1a>.milvus.proto.milvus.ListRefreshExternalCollectionJobsResponse\"\x00\x32\xf3\x03\n\x16\x43lientTelemetryService\x12n\n\x0f\x43lientHeartbeat\x12+.milvus.proto.milvus.ClientHeartbeatRequest\x1a,.milvus.proto.milvus.ClientHeartbeatResponse\"\x00\x12w\n\x12GetClientTelemetry\x12..milvus.proto.milvus.GetClientTelemetryRequest\x1a/.milvus.proto.milvus.GetClientTelemetryResponse\"\x00\x12t\n\x11PushClientCommand\x12-.milvus.proto.milvus.PushClientCommandRequest\x1a..milvus.proto.milvus.PushClientCommandResponse\"\x00\x12z\n\x13\x44\x65leteClientCommand\x12/.milvus.proto.milvus.DeleteClientCommandRequest\x1a\x30.milvus.proto.milvus.DeleteClientCommandResponse\"\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/v3/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\x08rg.proto\x1a\x0cschema.proto\x1a\x0b\x66\x65\x64\x65r.proto\x1a\tmsg.proto\x1a google/protobuf/descriptor.proto\"\x8d\x01\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:\x12\xca>\x0f\x08\x01\x10,\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"r\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:\x12\xca>\x0f\x08\x01\x10-\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x8c\x01\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:\x12\xca>\x0f\x08\x01\x10,\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"v\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:\x12\xca>\x0f\x08\x01\x10.\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"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\"~\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:\x12\xca>\x0f\x08\x01\x10/\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"}\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\"\xe4\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\x13\n\x0b\x64\x65lete_keys\x18\x06 \x03(\t:\x12\xca>\x0f\x08\x01\x10\x01\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xe7\x01\n\x1b\x41lterCollectionFieldRequest\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\x35\n\nproperties\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x13\n\x0b\x64\x65lete_keys\x18\x06 \x03(\t:\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\"\x87\x05\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\x12\r\n\x05\x64\x62_id\x18\x10 \x01(\x03\x12\x14\n\x0crequest_time\x18\x11 \x01(\x04\x12\x18\n\x10update_timestamp\x18\x12 \x01(\x04\x12\x1c\n\x14update_timestamp_str\x18\x13 \x01(\t\"t\n\x1e\x42\x61tchDescribeCollectionRequest\x12\x0f\n\x07\x64\x62_name\x18\x01 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x02 \x03(\t\x12\x14\n\x0c\x63ollectionID\x18\x03 \x03(\x03:\x12\xca>\x0f\x08\x01\x10\x03\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x92\x01\n\x1f\x42\x61tchDescribeCollectionResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x42\n\tresponses\x18\x02 \x03(\x0b\x32/.milvus.proto.milvus.DescribeCollectionResponse\"\xf2\x02\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\x12\x13\n\x0bload_fields\x18\x07 \x03(\t\x12\x1f\n\x17skip_load_dynamic_field\x18\x08 \x01(\x08\x12O\n\x0bload_params\x18\t \x03(\x0b\x32:.milvus.proto.milvus.LoadCollectionRequest.LoadParamsEntry\x1a\x31\n\x0fLoadParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\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\"\xb4\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\x1c\n\x10\x63ollection_names\x18\x05 \x03(\tB\x02\x18\x01\"\x8b\x02\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 \n\x14inMemory_percentages\x18\x06 \x03(\x03\x42\x02\x18\x01\x12\x1f\n\x17query_service_available\x18\x07 \x03(\x08\x12\x12\n\nshards_num\x18\x08 \x03(\x05\"\x8f\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:\x07\xca>\x04\x10\'\x18\x03\"\x8d\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:\x07\xca>\x04\x10(\x18\x03\"\x8c\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:\x07\xca>\x04\x10*\x18\x03\"\x8b\x03\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\x12\x13\n\x0bload_fields\x18\x08 \x03(\t\x12\x1f\n\x17skip_load_dynamic_field\x18\t \x01(\x08\x12O\n\x0bload_params\x18\n \x03(\x0b\x32:.milvus.proto.milvus.LoadPartitionsRequest.LoadParamsEntry\x1a\x31\n\x0fLoadParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x07\xca>\x04\x10\x05\x18\x03\"\xa0\x03\n\x0ePrewarmRequest\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\tnamespace\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x16\n\x0ereplica_number\x18\x05 \x01(\x05\x12\x17\n\x0fresource_groups\x18\x06 \x03(\t\x12\x13\n\x0bload_fields\x18\x07 \x03(\t\x12\x1f\n\x17skip_load_dynamic_field\x18\x08 \x01(\x08\x12H\n\x0bload_params\x18\t \x03(\x0b\x32\x33.milvus.proto.milvus.PrewarmRequest.LoadParamsEntry\x12\x13\n\x0bttl_seconds\x18\n \x01(\x03\x12\x10\n\x08priority\x18\x0b \x01(\t\x1a\x31\n\x0fLoadParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x07\xca>\x04\x10\x05\x18\x03\x42\x0c\n\n_namespace\"t\n\x0fPrewarmResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0e\n\x06taskID\x18\x02 \x01(\t\x12\x16\n\tnamespace\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_namespace\"X\n\x1a\x44\x65scribePrewarmTaskRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0e\n\x06taskID\x18\x02 \x01(\t\"\xb9\x01\n\x1b\x44\x65scribePrewarmTaskResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0e\n\x06taskID\x18\x02 \x01(\t\x12\x34\n\x05state\x18\x03 \x01(\x0e\x32%.milvus.proto.milvus.PrewarmTaskState\x12\x10\n\x08progress\x18\x04 \x01(\x05\x12\x15\n\rerror_message\x18\x05 \x01(\t\"\x92\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:\x07\xca>\x04\x10\x06\x18\x03\"\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\"\xd6\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.ShowTypeB\x02\x18\x01:\x07\xca>\x04\x10)\x18\x03\"\xd2\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 \n\x14inMemory_percentages\x18\x06 \x03(\x03\x42\x02\x18\x01\"\xe7\x01\n\x0eNamespaceStats\x12\x30\n\x05stats\x18\x01 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x1b\n\x13\x61pprox_entity_count\x18\x02 \x01(\x03\x12\x14\n\x0c\x65ntity_count\x18\x03 \x01(\x03\x12\x19\n\x11\x65ntity_count_type\x18\x04 \x01(\t\x12\x15\n\rlogical_bytes\x18\x05 \x01(\x03\x12\x1c\n\x14last_write_timestamp\x18\x06 \x01(\x04\x12 \n\x18last_write_utc_timestamp\x18\x07 \x01(\x04\"\xbd\x01\n\rNamespaceInfo\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x16\n\x0enamespace_name\x18\x02 \x01(\t\x12\x19\n\x11\x63reated_timestamp\x18\x03 \x01(\x04\x12\x1d\n\x15\x63reated_utc_timestamp\x18\x04 \x01(\x04\x12\r\n\x05state\x18\x05 \x01(\t\x12\x32\n\x05stats\x18\x06 \x01(\x0b\x32#.milvus.proto.milvus.NamespaceStats\"\x8f\x01\n\x16\x43reateNamespaceRequest\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\x0enamespace_name\x18\x04 \x01(\t:\x07\xca>\x04\x10\'\x18\x03\"}\n\x17\x43reateNamespaceResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x35\n\tnamespace\x18\x02 \x01(\x0b\x32\".milvus.proto.milvus.NamespaceInfo\"\x91\x01\n\x18\x44\x65scribeNamespaceRequest\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\x0enamespace_name\x18\x04 \x01(\t:\x07\xca>\x04\x10)\x18\x03\"\x7f\n\x19\x44\x65scribeNamespaceResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x35\n\tnamespace\x18\x02 \x01(\x0b\x32\".milvus.proto.milvus.NamespaceInfo\"\xad\x01\n\x15ListNamespacesRequest\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\x06prefix\x18\x04 \x01(\t\x12\x11\n\tpage_size\x18\x05 \x01(\x03\x12\x12\n\npage_token\x18\x06 \x01(\t:\x07\xca>\x04\x10)\x18\x03\"\x96\x01\n\x16ListNamespacesResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x36\n\nnamespaces\x18\x02 \x03(\x0b\x32\".milvus.proto.milvus.NamespaceInfo\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\"\x8d\x01\n\x14\x44ropNamespaceRequest\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\x0enamespace_name\x18\x04 \x01(\t:\x07\xca>\x04\x10(\x18\x03\"{\n\x15\x44ropNamespaceResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x35\n\tnamespace\x18\x02 \x01(\x0b\x32\".milvus.proto.milvus.NamespaceInfo\"\x8c\x01\n\x13HasNamespaceRequest\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\x0enamespace_name\x18\x04 \x01(\t:\x07\xca>\x04\x10*\x18\x03\"R\n\x14HasNamespaceResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\r\n\x05value\x18\x02 \x01(\x08\"\xa0\x01\n\x18GetNamespaceStatsRequest\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\x0enamespace_name\x18\x04 \x01(\t\x12\r\n\x05\x65xact\x18\x05 \x01(\x08:\x07\xca>\x04\x10)\x18\x03\"\x94\x01\n\x19GetNamespaceStatsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x16\n\x0enamespace_name\x18\x02 \x01(\t\x12\x32\n\x05stats\x18\x03 \x01(\x0b\x32#.milvus.proto.milvus.NamespaceStats\"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\"\xd4\x01\n\x11\x41lterIndexRequest\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\x37\n\x0c\x65xtra_params\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x13\n\x0b\x64\x65lete_keys\x18\x06 \x03(\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\"\xcb\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\x12\x19\n\x11min_index_version\x18\n \x01(\x05\x12\x19\n\x11max_index_version\x18\x0b \x01(\x05\"\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\"\xc9\x02\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\x12\x18\n\x10schema_timestamp\x18\x08 \x01(\x04\x12\x16\n\tnamespace\x18\t \x01(\tH\x00\x88\x01\x01\x12\x15\n\rrls_principal\x18\n \x01(\t\x12\x10\n\x08skip_rls\x18\x0b \x01(\x08:\x07\xca>\x04\x10\x08\x18\x03\x42\x0c\n\n_namespace\"\xa0\x01\n\x19\x41\x64\x64\x43ollectionFieldRequest\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\x0e\n\x06schema\x18\x05 \x01(\x0c:\x07\xca>\x04\x10G\x18\x03\"\xe6\x01\n\x1f\x41\x64\x64\x43ollectionStructFieldRequest\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\x12N\n\x19struct_array_field_schema\x18\x05 \x01(\x0b\x32+.milvus.proto.schema.StructArrayFieldSchema:\x07\xca>\x04\x10G\x18\x03\"\xdb\x01\n\x1c\x41\x64\x64\x43ollectionFunctionRequest\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;\n\x0e\x66unctionSchema\x18\x05 \x01(\x0b\x32#.milvus.proto.schema.FunctionSchema:\x12\xca>\x0f\x08\x01\x10\x01\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xf4\x01\n\x1e\x41lterCollectionFunctionRequest\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\x15\n\rfunction_name\x18\x05 \x01(\t\x12;\n\x0e\x66unctionSchema\x18\x06 \x01(\x0b\x32#.milvus.proto.schema.FunctionSchema:\x12\xca>\x0f\x08\x01\x10\x01\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xb6\x01\n\x1d\x44ropCollectionFunctionRequest\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\x15\n\rfunction_name\x18\x05 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x01\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x9f\x03\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\x12\x18\n\x10schema_timestamp\x18\x08 \x01(\x04\x12\x16\n\x0epartial_update\x18\t \x01(\x08\x12\x16\n\tnamespace\x18\n \x01(\tH\x00\x88\x01\x01\x12<\n\tfield_ops\x18\x0b \x03(\x0b\x32).milvus.proto.schema.FieldPartialUpdateOp\x12\x15\n\rrls_principal\x18\x0c \x01(\t\x12\x10\n\x08skip_rls\x18\r \x01(\x08:\x07\xca>\x04\x10\x19\x18\x03\x42\x0c\n\n_namespace\"\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\"\xf1\x03\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\x12@\n\x11\x63onsistency_level\x18\x07 \x01(\x0e\x32%.milvus.proto.common.ConsistencyLevel\x12X\n\x14\x65xpr_template_values\x18\x08 \x03(\x0b\x32:.milvus.proto.milvus.DeleteRequest.ExprTemplateValuesEntry\x12\x16\n\tnamespace\x18\t \x01(\tH\x00\x88\x01\x01\x12\x15\n\rrls_principal\x18\n \x01(\t\x12\x10\n\x08skip_rls\x18\x0b \x01(\x08\x1a]\n\x17\x45xprTemplateValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".milvus.proto.schema.TemplateValue:\x02\x38\x01:\x07\xca>\x04\x10\t\x18\x03\x42\x0c\n\n_namespace\"\x92\x03\n\x10SubSearchRequest\x12\x0b\n\x03\x64sl\x18\x01 \x01(\t\x12\x19\n\x11placeholder_group\x18\x02 \x01(\x0c\x12.\n\x08\x64sl_type\x18\x03 \x01(\x0e\x32\x1c.milvus.proto.common.DslType\x12\x38\n\rsearch_params\x18\x04 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\n\n\x02nq\x18\x05 \x01(\x03\x12[\n\x14\x65xpr_template_values\x18\x06 \x03(\x0b\x32=.milvus.proto.milvus.SubSearchRequest.ExprTemplateValuesEntry\x12\x16\n\tnamespace\x18\x07 \x01(\tH\x00\x88\x01\x01\x1a]\n\x17\x45xprTemplateValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".milvus.proto.schema.TemplateValue:\x02\x38\x01\x42\x0c\n\n_namespace\"\x8b\t\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\x1b\n\x11placeholder_group\x18\x06 \x01(\x0cH\x00\x12\'\n\x03ids\x18\x16 \x01(\x0b\x32\x18.milvus.proto.schema.IDsH\x00\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\"\n\x16search_by_primary_keys\x18\x10 \x01(\x08\x42\x02\x18\x01\x12\x37\n\x08sub_reqs\x18\x11 \x03(\x0b\x32%.milvus.proto.milvus.SubSearchRequest\x12X\n\x14\x65xpr_template_values\x18\x12 \x03(\x0b\x32:.milvus.proto.milvus.SearchRequest.ExprTemplateValuesEntry\x12:\n\x0e\x66unction_score\x18\x13 \x01(\x0b\x32\".milvus.proto.schema.FunctionScore\x12\x16\n\tnamespace\x18\x14 \x01(\tH\x01\x88\x01\x01\x12\x35\n\x0bhighlighter\x18\x15 \x01(\x0b\x32 .milvus.proto.common.Highlighter\x12\x46\n\x12search_aggregation\x18\x17 \x01(\x0b\x32*.milvus.proto.common.SearchAggregationSpec\x12;\n\x0f\x66unction_chains\x18\x18 \x03(\x0b\x32\".milvus.proto.schema.FunctionChain\x12\x15\n\rrls_principal\x18\x19 \x01(\t\x12\x10\n\x08skip_rls\x18\x1a \x01(\x08\x1a]\n\x17\x45xprTemplateValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".milvus.proto.schema.TemplateValue:\x02\x38\x01:\x07\xca>\x04\x10\x0e\x18\x03\x42\x0e\n\x0csearch_inputB\x0c\n\n_namespace\"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\"\xa1\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\x12\x12\n\nsession_ts\x18\x04 \x01(\x04\"\x91\x05\n\x13HybridSearchRequest\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\x34\n\x08requests\x18\x05 \x03(\x0b\x32\".milvus.proto.milvus.SearchRequest\x12\x36\n\x0brank_params\x18\x06 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x18\n\x10travel_timestamp\x18\x07 \x01(\x04\x12\x1b\n\x13guarantee_timestamp\x18\x08 \x01(\x04\x12\x1b\n\x13not_return_all_meta\x18\t \x01(\x08\x12\x15\n\routput_fields\x18\n \x03(\t\x12@\n\x11\x63onsistency_level\x18\x0b \x01(\x0e\x32%.milvus.proto.common.ConsistencyLevel\x12\x1f\n\x17use_default_consistency\x18\x0c \x01(\x08\x12:\n\x0e\x66unction_score\x18\r \x01(\x0b\x32\".milvus.proto.schema.FunctionScore\x12\x16\n\tnamespace\x18\x0e \x01(\tH\x00\x88\x01\x01\x12;\n\x0f\x66unction_chains\x18\x0f \x03(\x0b\x32\".milvus.proto.schema.FunctionChain\x12\x15\n\rrls_principal\x18\x10 \x01(\t\x12\x10\n\x08skip_rls\x18\x11 \x01(\x08:\x07\xca>\x04\x10\x0e\x18\x03\x42\x0c\n\n_namespace\"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\"\xb6\x06\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\x12G\n\x0b\x63hannel_cps\x18\x07 \x03(\x0b\x32\x32.milvus.proto.milvus.FlushResponse.ChannelCpsEntry\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\x1aP\n\x0f\x43hannelCpsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.milvus.proto.msg.MsgPosition:\x02\x38\x01\"\xa2\x05\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\x12W\n\x14\x65xpr_template_values\x18\r \x03(\x0b\x32\x39.milvus.proto.milvus.QueryRequest.ExprTemplateValuesEntry\x12\x16\n\tnamespace\x18\x0e \x01(\tH\x00\x88\x01\x01\x12\x15\n\rrls_principal\x18\x0f \x01(\t\x12\x10\n\x08skip_rls\x18\x10 \x01(\x08\x1a]\n\x17\x45xprTemplateValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".milvus.proto.schema.TemplateValue:\x02\x38\x01:\x07\xca>\x04\x10\x10\x18\x03\x42\x0c\n\n_namespace\"A\n\x0e\x45lementIndices\x12/\n\x07indices\x18\x01 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArray\"\x8e\x02\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\x12\x12\n\nsession_ts\x18\x05 \x01(\x04\x12\x1a\n\x12primary_field_name\x18\x06 \x01(\t\x12<\n\x0f\x65lement_indices\x18\x07 \x03(\x0b\x32#.milvus.proto.milvus.ElementIndices\"R\n\x0bQueryCursor\x12\x12\n\nsession_ts\x18\x01 \x01(\x04\x12\x10\n\x06str_pk\x18\x02 \x01(\tH\x00\x12\x10\n\x06int_pk\x18\x03 \x01(\x03H\x00\x42\x0b\n\tcursor_pk\"}\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\x0e\x46lushAllTarget\x12\x0f\n\x07\x64\x62_name\x18\x01 \x01(\t\x12\x18\n\x10\x63ollection_names\x18\x02 \x03(\t\"\xa6\x01\n\x0f\x46lushAllRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x13\n\x07\x64\x62_name\x18\x02 \x01(\tB\x02\x18\x01\x12>\n\rflush_targets\x18\x03 \x03(\x0b\x32#.milvus.proto.milvus.FlushAllTargetB\x02\x18\x01:\x12\xca>\x0f\x08\x01\x10&\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"F\n\x0b\x43lusterInfo\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x10\n\x08\x63\x63hannel\x18\x02 \x01(\t\x12\x11\n\tpchannels\x18\x03 \x03(\t\"\xfe\x02\n\x10\x46lushAllResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x18\n\x0c\x66lush_all_ts\x18\x02 \x01(\x04\x42\x02\x18\x01\x12>\n\rflush_results\x18\x03 \x03(\x0b\x32#.milvus.proto.milvus.FlushAllResultB\x02\x18\x01\x12O\n\x0e\x66lush_all_msgs\x18\x04 \x03(\x0b\x32\x37.milvus.proto.milvus.FlushAllResponse.FlushAllMsgsEntry\x12\x36\n\x0c\x63luster_info\x18\x05 \x01(\x0b\x32 .milvus.proto.milvus.ClusterInfo\x1aZ\n\x11\x46lushAllMsgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32%.milvus.proto.common.ImmutableMessage:\x02\x38\x01\"i\n\x0e\x46lushAllResult\x12\x0f\n\x07\x64\x62_name\x18\x01 \x01(\t\x12\x46\n\x12\x63ollection_results\x18\x02 \x03(\x0b\x32*.milvus.proto.milvus.FlushCollectionResult\"\xe8\x02\n\x15\x46lushCollectionResult\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x33\n\x0bsegment_ids\x18\x02 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArray\x12\x39\n\x11\x66lush_segment_ids\x18\x03 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArray\x12\x11\n\tseal_time\x18\x04 \x01(\x03\x12\x10\n\x08\x66lush_ts\x18\x05 \x01(\x04\x12O\n\x0b\x63hannel_cps\x18\x06 \x03(\x0b\x32:.milvus.proto.milvus.FlushCollectionResult.ChannelCpsEntry\x1aP\n\x0f\x43hannelCpsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.milvus.proto.msg.MsgPosition:\x02\x38\x01\"\xf7\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\x12\x30\n\x05level\x18\x06 \x01(\x0e\x32!.milvus.proto.common.SegmentLevel\x12\x11\n\tis_sorted\x18\x07 \x01(\x08\x12\x17\n\x0fstorage_version\x18\x08 \x01(\x03\"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\"\xce\x02\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\x12\n\x06nodeID\x18\x08 \x01(\x03\x42\x02\x18\x01\x12\x30\n\x05state\x18\t \x01(\x0e\x32!.milvus.proto.common.SegmentState\x12\x0f\n\x07nodeIds\x18\n \x03(\x03\x12\x30\n\x05level\x18\x0b \x01(\x0e\x32!.milvus.proto.common.SegmentLevel\x12\x11\n\tis_sorted\x18\x0c \x01(\x08\x12\x17\n\x0fstorage_version\x18\r \x01(\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\"\xf6\x01\n\x17ManualCompactionRequest\x12\x14\n\x0c\x63ollectionID\x18\x01 \x01(\x03\x12\x12\n\ntimetravel\x18\x02 \x01(\x04\x12\x17\n\x0fmajorCompaction\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\x12\x14\n\x0cpartition_id\x18\x06 \x01(\x03\x12\x0f\n\x07\x63hannel\x18\x07 \x01(\t\x12\x13\n\x0bsegment_ids\x18\x08 \x03(\x03\x12\x14\n\x0cl0Compaction\x18\t \x01(\x08\x12\x13\n\x0btarget_size\x18\n \x01(\x03:\x07\xca>\x04\x10\x07\x18\x04\"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\"o\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:\x07\xca>\x04\x10+\x18\x04\"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\"\xbe\x02\n\x17GetFlushAllStateRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x18\n\x0c\x66lush_all_ts\x18\x02 \x01(\x04\x42\x02\x18\x01\x12\x13\n\x07\x64\x62_name\x18\x03 \x01(\tB\x02\x18\x01\x12>\n\rflush_targets\x18\x04 \x03(\x0b\x32#.milvus.proto.milvus.FlushAllTargetB\x02\x18\x01\x12T\n\rflush_all_tss\x18\x05 \x03(\x0b\x32=.milvus.proto.milvus.GetFlushAllStateRequest.FlushAllTssEntry\x1a\x32\n\x10\x46lushAllTssEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x04:\x02\x38\x01\"\x96\x01\n\x18GetFlushAllStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0f\n\x07\x66lushed\x18\x02 \x01(\x08\x12<\n\x0c\x66lush_states\x18\x03 \x03(\x0b\x32\".milvus.proto.milvus.FlushAllStateB\x02\x18\x01\"\xbe\x01\n\rFlushAllState\x12\x0f\n\x07\x64\x62_name\x18\x01 \x01(\t\x12^\n\x17\x63ollection_flush_states\x18\x02 \x03(\x0b\x32=.milvus.proto.milvus.FlushAllState.CollectionFlushStatesEntry\x1a<\n\x1a\x43ollectionFlushStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\"\xe0\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\x12\x17\n\x0f\x63lustering_info\x18\x08 \x01(\x0c:\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\"\xe8\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\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tH\x00\x88\x01\x01:\x12\xca>\x0f\x08\x01\x10\x13\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\x42\x0e\n\x0c_description\"\xf7\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\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tH\x00\x88\x01\x01:\t\xca>\x06\x08\x02\x10\x14\x18\x02\x42\x0e\n\x0c_description\"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\"/\n\nRoleEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \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\"z\n\x10\x41lterRoleRequest\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\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x13\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"x\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\x12\n\nforce_drop\x18\x03 \x01(\x08:\x12\xca>\x0f\x08\x01\x10\x15\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"q\n\x1b\x43reatePrivilegeGroupRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x12\n\ngroup_name\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x38\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"o\n\x19\x44ropPrivilegeGroupRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x12\n\ngroup_name\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x39\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\\\n\x1aListPrivilegeGroupsRequest\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\"\x8d\x01\n\x1bListPrivilegeGroupsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x41\n\x10privilege_groups\x18\x02 \x03(\x0b\x32\'.milvus.proto.milvus.PrivilegeGroupInfo\"\xea\x01\n\x1cOperatePrivilegeGroupRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x12\n\ngroup_name\x18\x02 \x01(\t\x12\x38\n\nprivileges\x18\x03 \x03(\x0b\x32$.milvus.proto.milvus.PrivilegeEntity\x12<\n\x04type\x18\x04 \x01(\x0e\x32..milvus.proto.milvus.OperatePrivilegeGroupType:\x12\xca>\x0f\x08\x01\x10;\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\"b\n\x12PrivilegeGroupInfo\x12\x12\n\ngroup_name\x18\x01 \x01(\t\x12\x38\n\nprivileges\x18\x02 \x03(\x0b\x32$.milvus.proto.milvus.PrivilegeEntity\"\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\"\x80\x01\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\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"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\"\xd5\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\x0f\n\x07version\x18\x04 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x17\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xa2\x02\n\x19OperatePrivilegeV2Request\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\x33\n\x07grantor\x18\x03 \x01(\x0b\x32\".milvus.proto.milvus.GrantorEntity\x12\x37\n\x04type\x18\x04 \x01(\x0e\x32).milvus.proto.milvus.OperatePrivilegeType\x12\x0f\n\x07\x64\x62_name\x18\x05 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x06 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x17\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"Z\n\x08UserInfo\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x12.\n\x05roles\x18\x03 \x03(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity\"\xdd\x01\n\x08RBACMeta\x12,\n\x05users\x18\x01 \x03(\x0b\x32\x1d.milvus.proto.milvus.UserInfo\x12.\n\x05roles\x18\x02 \x03(\x0b\x32\x1f.milvus.proto.milvus.RoleEntity\x12\x30\n\x06grants\x18\x03 \x03(\x0b\x32 .milvus.proto.milvus.GrantEntity\x12\x41\n\x10privilege_groups\x18\x04 \x03(\x0b\x32\'.milvus.proto.milvus.PrivilegeGroupInfo\"W\n\x15\x42\x61\x63kupRBACMetaRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase:\x12\xca>\x0f\x08\x01\x10\x33\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"w\n\x16\x42\x61\x63kupRBACMetaResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\tRBAC_meta\x18\x02 \x01(\x0b\x32\x1d.milvus.proto.milvus.RBACMeta\"\x8a\x01\n\x16RestoreRBACMetaRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x30\n\tRBAC_meta\x18\x02 \x01(\x0b\x32\x1d.milvus.proto.milvus.RBACMeta:\x12\xca>\x0f\x08\x01\x10\x34\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\"\xaa\x01\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\x34\n\x06\x63onfig\x18\x03 \x01(\x0b\x32$.milvus.proto.rg.ResourceGroupConfig:\x12\xca>\x0f\x08\x01\x10\x1a\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x99\x02\n\x1bUpdateResourceGroupsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12]\n\x0fresource_groups\x18\x02 \x03(\x0b\x32\x44.milvus.proto.milvus.UpdateResourceGroupsRequest.ResourceGroupsEntry\x1a[\n\x13ResourceGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.milvus.proto.rg.ResourceGroupConfig:\x02\x38\x01:\x12\xca>\x0f\x08\x01\x10\x30\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\"\xd6\x04\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\x12\x34\n\x06\x63onfig\x18\x07 \x01(\x0b\x32$.milvus.proto.rg.ResourceGroupConfig\x12,\n\x05nodes\x18\x08 \x03(\x0b\x32\x1d.milvus.proto.common.NodeInfo\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\"\x9f\x01\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\x35\n\nproperties\x18\x03 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair:\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\"B\n\x14ListDatabasesRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\"\x81\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\x0e\n\x06\x64\x62_ids\x18\x04 \x03(\x03\"\xc2\x01\n\x14\x41lterDatabaseRequest\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\x64\x62_id\x18\x03 \x01(\t\x12\x35\n\nproperties\x18\x04 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x13\n\x0b\x64\x65lete_keys\x18\x05 \x03(\t:\x12\xca>\x0f\x08\x01\x10\x31\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"j\n\x17\x44\x65scribeDatabaseRequest\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\x32\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xb8\x01\n\x18\x44\x65scribeDatabaseResponse\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\x0c\n\x04\x64\x62ID\x18\x03 \x01(\x03\x12\x19\n\x11\x63reated_timestamp\x18\x04 \x01(\x04\x12\x35\n\nproperties\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\xf9\x01\n\x17ReplicateMessageRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x14\n\x0c\x63hannel_name\x18\x02 \x01(\t\x12\x0f\n\x07\x42\x65ginTs\x18\x03 \x01(\x04\x12\r\n\x05\x45ndTs\x18\x04 \x01(\x04\x12\x0c\n\x04Msgs\x18\x05 \x03(\x0c\x12\x35\n\x0eStartPositions\x18\x06 \x03(\x0b\x32\x1d.milvus.proto.msg.MsgPosition\x12\x33\n\x0c\x45ndPositions\x18\x07 \x03(\x0b\x32\x1d.milvus.proto.msg.MsgPosition:\x02\x18\x01\"]\n\x18ReplicateMessageResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x10\n\x08position\x18\x02 \x01(\t:\x02\x18\x01\"b\n\x15ImportAuthPlaceholder\x12\x0f\n\x07\x64\x62_name\x18\x01 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x02 \x01(\t\x12\x16\n\x0epartition_name\x18\x03 \x01(\t:\x07\xca>\x04\x10\x12\x18\x02\"G\n GetImportProgressAuthPlaceholder\x12\x0f\n\x07\x64\x62_name\x18\x01 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x45\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"Z\n\x1aListImportsAuthPlaceholder\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t:\x12\xca>\x0f\x08\x01\x10\x46\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xec\x01\n\x12RunAnalyzerRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x17\n\x0f\x61nalyzer_params\x18\x02 \x01(\t\x12\x13\n\x0bplaceholder\x18\x03 \x03(\x0c\x12\x13\n\x0bwith_detail\x18\x04 \x01(\x08\x12\x11\n\twith_hash\x18\x05 \x01(\x08\x12\x0f\n\x07\x64\x62_name\x18\x06 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x07 \x01(\t\x12\x12\n\nfield_name\x18\x08 \x01(\t\x12\x16\n\x0e\x61nalyzer_names\x18\t \x03(\t\"\x81\x01\n\rAnalyzerToken\x12\r\n\x05token\x18\x01 \x01(\t\x12\x14\n\x0cstart_offset\x18\x02 \x01(\x03\x12\x12\n\nend_offset\x18\x03 \x01(\x03\x12\x10\n\x08position\x18\x04 \x01(\x03\x12\x17\n\x0fposition_length\x18\x05 \x01(\x03\x12\x0c\n\x04hash\x18\x06 \x01(\r\"D\n\x0e\x41nalyzerResult\x12\x32\n\x06tokens\x18\x01 \x03(\x0b\x32\".milvus.proto.milvus.AnalyzerToken\"x\n\x13RunAnalyzerResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x34\n\x07results\x18\x02 \x03(\x0b\x32#.milvus.proto.milvus.AnalyzerResult\":\n\x10\x46ileResourceInfo\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\"t\n\x16\x41\x64\x64\x46ileResourceRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t:\x12\xca>\x0f\x08\x01\x10H\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"i\n\x19RemoveFileResourceRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t:\x12\xca>\x0f\x08\x01\x10I\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"Z\n\x18ListFileResourcesRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase:\x12\xca>\x0f\x08\x01\x10J\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x82\x01\n\x19ListFileResourcesResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x38\n\tresources\x18\x02 \x03(\x0b\x32%.milvus.proto.milvus.FileResourceInfo\"\xcc\x01\n\x12\x41\x64\x64UserTagsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x11\n\tuser_name\x18\x02 \x01(\t\x12?\n\x04tags\x18\x03 \x03(\x0b\x32\x31.milvus.proto.milvus.AddUserTagsRequest.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\t\xca>\x06\x08\x02\x10\x14\x18\x02\"s\n\x15\x44\x65leteUserTagsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x11\n\tuser_name\x18\x02 \x01(\t\x12\x10\n\x08tag_keys\x18\x03 \x03(\t:\t\xca>\x06\x08\x02\x10\x14\x18\x02\"^\n\x12GetUserTagsRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x11\n\tuser_name\x18\x02 \x01(\t:\t\xca>\x06\x08\x02\x10\x18\x18\x02\"\xb1\x01\n\x13GetUserTagsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12@\n\x04tags\x18\x02 \x03(\x0b\x32\x32.milvus.proto.milvus.GetUserTagsResponse.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"}\n\x17ListUsersWithTagRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0f\n\x07tag_key\x18\x02 \x01(\t\x12\x11\n\ttag_value\x18\x03 \x01(\t:\x12\xca>\x0f\x08\x02\x10\x18\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"[\n\x18ListUsersWithTagResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x12\n\nuser_names\x18\x02 \x03(\t\"\xb9\x02\n\x16\x43reateRowPolicyRequest\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\x13\n\x0bpolicy_name\x18\x04 \x01(\t\x12\x37\n\x0bpolicy_type\x18\x05 \x01(\x0e\x32\".milvus.proto.milvus.RowPolicyType\x12\x35\n\x07\x61\x63tions\x18\x06 \x03(\x0e\x32$.milvus.proto.milvus.RowPolicyAction\x12\x12\n\nusing_expr\x18\x07 \x01(\t\x12\x12\n\ncheck_expr\x18\x08 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t:\x07\xca>\x04\x10\x43\x18\x03\"\x8a\x01\n\x14\x44ropRowPolicyRequest\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\x13\n\x0bpolicy_name\x18\x04 \x01(\t:\x07\xca>\x04\x10\x43\x18\x03\"\xb9\x02\n\x16UpdateRowPolicyRequest\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\x13\n\x0bpolicy_name\x18\x04 \x01(\t\x12\x37\n\x0bpolicy_type\x18\x05 \x01(\x0e\x32\".milvus.proto.milvus.RowPolicyType\x12\x35\n\x07\x61\x63tions\x18\x06 \x03(\x0e\x32$.milvus.proto.milvus.RowPolicyAction\x12\x12\n\nusing_expr\x18\x07 \x01(\t\x12\x12\n\ncheck_expr\x18\x08 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t:\x07\xca>\x04\x10\x43\x18\x03\"w\n\x16ListRowPoliciesRequest\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\x42\x18\x03\"\xe0\x01\n\tRowPolicy\x12\x13\n\x0bpolicy_name\x18\x01 \x01(\t\x12\x37\n\x0bpolicy_type\x18\x02 \x01(\x0e\x32\".milvus.proto.milvus.RowPolicyType\x12\x35\n\x07\x61\x63tions\x18\x03 \x03(\x0e\x32$.milvus.proto.milvus.RowPolicyAction\x12\x12\n\nusing_expr\x18\x04 \x01(\t\x12\x12\n\ncheck_expr\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x11\n\tpolicy_id\x18\x07 \x01(\x03\"\xa2\x01\n\x17ListRowPoliciesResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x30\n\x08policies\x18\x02 \x03(\x0b\x32\x1e.milvus.proto.milvus.RowPolicy\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\"\x89\x02\n\x1aSetRLSPrincipalTagsRequest\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\x0eprincipal_name\x18\x04 \x01(\t\x12G\n\x04tags\x18\x05 \x03(\x0b\x32\x39.milvus.proto.milvus.SetRLSPrincipalTagsRequest.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x07\xca>\x04\x10\x43\x18\x03\"\x93\x01\n\x1aGetRLSPrincipalTagsRequest\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\x0eprincipal_name\x18\x04 \x01(\t:\x07\xca>\x04\x10\x42\x18\x03\"\x83\x02\n\x1bGetRLSPrincipalTagsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12H\n\x04tags\x18\x02 \x03(\x0b\x32:.milvus.proto.milvus.GetRLSPrincipalTagsResponse.TagsEntry\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x16\n\x0eprincipal_name\x18\x05 \x01(\t\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x18ListRLSPrincipalsRequest\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\x42\x18\x03\"\x8b\x01\n\x19ListRLSPrincipalsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x17\n\x0fprincipal_names\x18\x02 \x03(\t\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\"\xa8\x01\n\x1d\x44\x65leteRLSPrincipalTagsRequest\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\x0eprincipal_name\x18\x04 \x01(\t\x12\x10\n\x08tag_keys\x18\x05 \x03(\t:\x07\xca>\x04\x10\x43\x18\x03\"\x9e\x01\n#UpdateReplicateConfigurationRequest\x12L\n\x17replicate_configuration\x18\x01 \x01(\x0b\x32+.milvus.proto.common.ReplicateConfiguration\x12\x15\n\rforce_promote\x18\x02 \x01(\x08:\x12\xca>\x0f\x08\x01\x10N\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"6\n GetReplicateConfigurationRequest:\x12\xca>\x0f\x08\x01\x10U\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\x94\x01\n!GetReplicateConfigurationResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x42\n\rconfiguration\x18\x02 \x01(\x0b\x32+.milvus.proto.common.ReplicateConfiguration\"M\n\x17GetReplicateInfoRequest\x12\x19\n\x11source_cluster_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_pchannel\x18\x02 \x01(\t\"\x9e\x01\n\x18GetReplicateInfoResponse\x12<\n\ncheckpoint\x18\x01 \x01(\x0b\x32(.milvus.proto.common.ReplicateCheckpoint\x12\x44\n\x12salvage_checkpoint\x18\x02 \x01(\x0b\x32(.milvus.proto.common.ReplicateCheckpoint\"e\n\x10ReplicateMessage\x12\x19\n\x11source_cluster_id\x18\x01 \x01(\t\x12\x36\n\x07message\x18\x02 \x01(\x0b\x32%.milvus.proto.common.ImmutableMessage\"a\n\x10ReplicateRequest\x12\x42\n\x11replicate_message\x18\x01 \x01(\x0b\x32%.milvus.proto.milvus.ReplicateMessageH\x00\x42\t\n\x07request\"<\n\x1dReplicateConfirmedMessageInfo\x12\x1b\n\x13\x63onfirmed_time_tick\x18\x01 \x01(\x04\"\x7f\n\x11ReplicateResponse\x12^\n replicate_confirmed_message_info\x18\x01 \x01(\x0b\x32\x32.milvus.proto.milvus.ReplicateConfirmedMessageInfoH\x00\x42\n\n\x08response\"\xae\x01\n\x13\x44umpMessagesRequest\x12\x10\n\x08pchannel\x18\x01 \x01(\t\x12\x38\n\x10start_message_id\x18\x02 \x01(\x0b\x32\x1e.milvus.proto.common.MessageID\x12\x16\n\x0estart_timetick\x18\x03 \x01(\x04\x12\x14\n\x0c\x65nd_timetick\x18\x04 \x01(\x04\x12\x1d\n\x15include_start_message\x18\x05 \x01(\x08\"\x8b\x01\n\x14\x44umpMessagesResponse\x12-\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.StatusH\x00\x12\x38\n\x07message\x18\x02 \x01(\x0b\x32%.milvus.proto.common.ImmutableMessageH\x00\x42\n\n\x08response\"\x85\x01\n\x19TruncateCollectionRequest\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\"I\n\x1aTruncateCollectionResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\"\x8c\x01\n\x1d\x43omputePhraseMatchSlopRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x17\n\x0f\x61nalyzer_params\x18\x02 \x01(\t\x12\x12\n\nquery_text\x18\x03 \x01(\t\x12\x12\n\ndata_texts\x18\x04 \x03(\t\"n\n\x1e\x43omputePhraseMatchSlopResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x10\n\x08is_match\x18\x02 \x03(\x08\x12\r\n\x05slops\x18\x03 \x03(\x03\"\xc0\x01\n\x15\x43reateSnapshotRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x04 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x05 \x01(\t\x12%\n\x1d\x63ompaction_protection_seconds\x18\x06 \x01(\x03:\x07\xca>\x04\x10O\x18\x05\"\x82\x01\n\x13\x44ropSnapshotRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t:\x07\xca>\x04\x10P\x18\x04\"u\n\x14ListSnapshotsRequest\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\x10R\x18\x03\"W\n\x15ListSnapshotsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x11\n\tsnapshots\x18\x02 \x03(\t\"\x86\x01\n\x17\x44\x65scribeSnapshotRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t:\x07\xca>\x04\x10Q\x18\x04\"\xc4\x01\n\x18\x44\x65scribeSnapshotResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x17\n\x0fpartition_names\x18\x05 \x03(\t\x12\x11\n\tcreate_ts\x18\x06 \x01(\x03\x12\x13\n\x0bs3_location\x18\x07 \x01(\t\"\xd3\x01\n\x16RestoreSnapshotRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x14\n\x0crewrite_data\x18\x05 \x01(\x08\x12\x16\n\x0etarget_db_name\x18\x06 \x01(\t\x12\x1e\n\x16target_collection_name\x18\x07 \x01(\t:\x07\xca>\x04\x10S\x18\x04\"V\n\x17RestoreSnapshotResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\"\xc7\x01\n\x1eRestoreExternalSnapshotRequest\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\x1e\n\x16target_collection_name\x18\x03 \x01(\t\x12\x1d\n\x15snapshot_metadata_uri\x18\x04 \x01(\t\x12\x15\n\rexternal_spec\x18\x05 \x01(\t:\x12\xca>\x0f\x08\x01\x10Y\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"^\n\x1fRestoreExternalSnapshotResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\"\xbe\x01\n\x15\x45xportSnapshotRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x16\n\x0etarget_s3_path\x18\x05 \x01(\t\x12\x15\n\rexternal_spec\x18\x06 \x01(\t:\x12\xca>\x0f\x08\x01\x10Z\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"d\n\x16\x45xportSnapshotResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x1d\n\x15snapshot_metadata_uri\x18\x02 \x01(\t\"\xe9\x01\n\x13RestoreSnapshotInfo\x12\x0e\n\x06job_id\x18\x01 \x01(\x03\x12\x15\n\rsnapshot_name\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x38\n\x05state\x18\x05 \x01(\x0e\x32).milvus.proto.milvus.RestoreSnapshotState\x12\x10\n\x08progress\x18\x06 \x01(\x05\x12\x0e\n\x06reason\x18\x07 \x01(\t\x12\x12\n\nstart_time\x18\x08 \x01(\x04\x12\x11\n\ttime_cost\x18\t \x01(\x04\"\\\n\x1eGetRestoreSnapshotStateRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\"\x86\x01\n\x1fGetRestoreSnapshotStateResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x36\n\x04info\x18\x02 \x01(\x0b\x32(.milvus.proto.milvus.RestoreSnapshotInfo\"\x7f\n\x1eListRestoreSnapshotJobsRequest\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\x10S\x18\x03\"\x86\x01\n\x1fListRestoreSnapshotJobsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x36\n\x04jobs\x18\x02 \x03(\x0b\x32(.milvus.proto.milvus.RestoreSnapshotInfo\"\xa5\x01\n\x16PinSnapshotDataRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07\x64\x62_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63ollection_name\x18\x04 \x01(\t\x12\x13\n\x0bttl_seconds\x18\x05 \x01(\x03:\x12\xca>\x0f\x08\x01\x10W\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"V\n\x17PinSnapshotDataResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0e\n\x06pin_id\x18\x02 \x01(\x03\"j\n\x18UnpinSnapshotDataRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0e\n\x06pin_id\x18\x02 \x01(\x03:\x12\xca>\x0f\x08\x01\x10X\x18\xff\xff\xff\xff\xff\xff\xff\xff\xff\x01\"\xec\x06\n\x1c\x41lterCollectionSchemaRequest\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\x12H\n\x06\x61\x63tion\x18\x05 \x01(\x0b\x32\x38.milvus.proto.milvus.AlterCollectionSchemaRequest.Action\x1a\x90\x01\n\tFieldInfo\x12\x36\n\x0c\x66ield_schema\x18\x01 \x01(\x0b\x32 .milvus.proto.schema.FieldSchema\x12\x12\n\nindex_name\x18\x02 \x01(\t\x12\x37\n\x0c\x65xtra_params\x18\x03 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x1a\xb6\x01\n\nAddRequest\x12P\n\x0b\x66ield_infos\x18\x01 \x03(\x0b\x32;.milvus.proto.milvus.AlterCollectionSchemaRequest.FieldInfo\x12\x38\n\x0b\x66unc_schema\x18\x02 \x03(\x0b\x32#.milvus.proto.schema.FunctionSchema\x12\x1c\n\x14\x64o_physical_backfill\x18\x03 \x01(\x08\x1a\x83\x01\n\x0b\x44ropRequest\x12\x14\n\nfield_name\x18\x01 \x01(\tH\x00\x12\x12\n\x08\x66ield_id\x18\x02 \x01(\x03H\x00\x12\x17\n\rfunction_name\x18\x03 \x01(\tH\x00\x12#\n\x1b\x64rop_function_output_fields\x18\x04 \x01(\x08\x42\x0c\n\nidentifier\x1a\xba\x01\n\x06\x41\x63tion\x12S\n\x0b\x61\x64\x64_request\x18\x01 \x01(\x0b\x32<.milvus.proto.milvus.AlterCollectionSchemaRequest.AddRequestH\x00\x12U\n\x0c\x64rop_request\x18\x02 \x01(\x0b\x32=.milvus.proto.milvus.AlterCollectionSchemaRequest.DropRequestH\x00\x42\x04\n\x02op:\x07\xca>\x04\x10T\x18\x03\"R\n\x1d\x41lterCollectionSchemaResponse\x12\x31\n\x0c\x61lter_status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\"\xcd\x01\n\x1a\x42\x61tchUpdateManifestRequest\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\x13\n\x0b\x66ield_names\x18\x04 \x03(\t\x12;\n\x05items\x18\x05 \x03(\x0b\x32,.milvus.proto.milvus.BatchUpdateManifestItem:\x07\xca>\x04\x10\x08\x18\x03\"G\n\x17\x42\x61tchUpdateManifestItem\x12\x12\n\nsegment_id\x18\x01 \x01(\x03\x12\x18\n\x10manifest_version\x18\x02 \x01(\x03\"\x91\x02\n\x16\x43lientHeartbeatRequest\x12\x34\n\x0b\x63lient_info\x18\x01 \x01(\x0b\x32\x1f.milvus.proto.common.ClientInfo\x12\x18\n\x10report_timestamp\x18\x02 \x01(\x03\x12\x36\n\x07metrics\x18\x03 \x03(\x0b\x32%.milvus.proto.common.OperationMetrics\x12:\n\x0f\x63ommand_replies\x18\x04 \x03(\x0b\x32!.milvus.proto.common.CommandReply\x12\x13\n\x0b\x63onfig_hash\x18\x05 \x01(\t\x12\x1e\n\x16last_command_timestamp\x18\x06 \x01(\x03\"\x96\x01\n\x17\x43lientHeartbeatResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x18\n\x10server_timestamp\x18\x02 \x01(\x03\x12\x34\n\x08\x63ommands\x18\x03 \x03(\x0b\x32\".milvus.proto.common.ClientCommand\"Y\n\x19GetClientTelemetryRequest\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x11\n\tclient_id\x18\x02 \x01(\t\x12\x17\n\x0finclude_metrics\x18\x03 \x01(\x08\"\xbf\x01\n\x0f\x43lientTelemetry\x12\x34\n\x0b\x63lient_info\x18\x01 \x01(\x0b\x32\x1f.milvus.proto.common.ClientInfo\x12\x1b\n\x13last_heartbeat_time\x18\x02 \x01(\x03\x12\x0e\n\x06status\x18\x03 \x01(\t\x12\x11\n\tdatabases\x18\x04 \x03(\t\x12\x36\n\x07metrics\x18\x05 \x03(\x0b\x32%.milvus.proto.common.OperationMetrics\"\xb2\x01\n\x1aGetClientTelemetryResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x35\n\x07\x63lients\x18\x02 \x03(\x0b\x32$.milvus.proto.milvus.ClientTelemetry\x12\x30\n\naggregated\x18\x03 \x01(\x0b\x32\x1c.milvus.proto.common.Metrics\"\x9d\x01\n\x18PushClientCommandRequest\x12\x14\n\x0c\x63ommand_type\x18\x01 \x01(\t\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\x12\x18\n\x10target_client_id\x18\x03 \x01(\t\x12\x17\n\x0ftarget_database\x18\x04 \x01(\t\x12\x13\n\x0bttl_seconds\x18\x05 \x01(\x03\x12\x12\n\npersistent\x18\x06 \x01(\x08\"\\\n\x19PushClientCommandResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x12\n\ncommand_id\x18\x02 \x01(\t\"0\n\x1a\x44\x65leteClientCommandRequest\x12\x12\n\ncommand_id\x18\x01 \x01(\t\"J\n\x1b\x44\x65leteClientCommandResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\"\xb1\x01\n RefreshExternalCollectionRequest\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\x0f\x65xternal_source\x18\x04 \x01(\t\x12\x15\n\rexternal_spec\x18\x05 \x01(\t:\x07\xca>\x04\x10V\x18\x03\"`\n!RefreshExternalCollectionResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\"i\n+GetRefreshExternalCollectionProgressRequest\x12*\n\x04\x62\x61se\x18\x01 \x01(\x0b\x32\x1c.milvus.proto.common.MsgBase\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\"\x87\x02\n RefreshExternalCollectionJobInfo\x12\x0e\n\x06job_id\x18\x01 \x01(\x03\x12\x17\n\x0f\x63ollection_name\x18\x02 \x01(\t\x12\x42\n\x05state\x18\x03 \x01(\x0e\x32\x33.milvus.proto.milvus.RefreshExternalCollectionState\x12\x10\n\x08progress\x18\x04 \x01(\x03\x12\x0e\n\x06reason\x18\x05 \x01(\t\x12\x17\n\x0f\x65xternal_source\x18\x06 \x01(\t\x12\x12\n\nstart_time\x18\x07 \x01(\x03\x12\x10\n\x08\x65nd_time\x18\x08 \x01(\x03\x12\x15\n\rexternal_spec\x18\t \x01(\t\"\xa4\x01\n,GetRefreshExternalCollectionProgressResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12G\n\x08job_info\x18\x02 \x01(\x0b\x32\x35.milvus.proto.milvus.RefreshExternalCollectionJobInfo\"\x80\x01\n(ListRefreshExternalCollectionJobsRequest\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\"\x9d\x01\n)ListRefreshExternalCollectionJobsResponse\x12+\n\x06status\x18\x01 \x01(\x0b\x32\x1b.milvus.proto.common.Status\x12\x43\n\x04jobs\x18\x02 \x03(\x0b\x32\x35.milvus.proto.milvus.RefreshExternalCollectionJobInfo*%\n\x08ShowType\x12\x07\n\x03\x41ll\x10\x00\x12\x0c\n\x08InMemory\x10\x01\x1a\x02\x18\x01*\xa4\x01\n\x10PrewarmTaskState\x12\x1b\n\x17PrewarmTaskStateUnknown\x10\x00\x12\x1b\n\x17PrewarmTaskStatePending\x10\x01\x12\x1b\n\x17PrewarmTaskStateWarming\x10\x02\x12\x1d\n\x19PrewarmTaskStateCompleted\x10\x03\x12\x1a\n\x16PrewarmTaskStateFailed\x10\x04*T\n\x19OperatePrivilegeGroupType\x12\x18\n\x14\x41\x64\x64PrivilegesToGroup\x10\x00\x12\x1d\n\x19RemovePrivilegesFromGroup\x10\x01*@\n\x13OperateUserRoleType\x12\x11\n\rAddUserToRole\x10\x00\x12\x16\n\x12RemoveUserFromRole\x10\x01*;\n\x0ePrivilegeLevel\x12\x0b\n\x07\x43luster\x10\x00\x12\x0c\n\x08\x44\x61tabase\x10\x01\x12\x0e\n\nCollection\x10\x02*-\n\x14OperatePrivilegeType\x12\t\n\x05Grant\x10\x00\x12\n\n\x06Revoke\x10\x01*l\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\x12\r\n\tDenyToDDL\x10\x06*\xb3\x02\n\x0fRowPolicyAction\x12\x1a\n\x16RowPolicyActionUnknown\x10\x00\x12\x18\n\x14RowPolicyActionQuery\x10\x02\x12 \n\x1cRowPolicyActionQueryIterator\x10\x03\x12\x19\n\x15RowPolicyActionSearch\x10\x04\x12!\n\x1dRowPolicyActionSearchIterator\x10\x05\x12\x1f\n\x1bRowPolicyActionHybridSearch\x10\x06\x12\x19\n\x15RowPolicyActionDelete\x10\x07\x12\x19\n\x15RowPolicyActionInsert\x10\x08\x12\x19\n\x15RowPolicyActionUpsert\x10\t\"\x04\x08\x01\x10\x01*\x12RowPolicyActionGet*d\n\rRowPolicyType\x12\x18\n\x14RowPolicyTypeUnknown\x10\x00\x12\x1b\n\x17RowPolicyTypePermissive\x10\x01\x12\x1c\n\x18RowPolicyTypeRestrictive\x10\x02*\xa2\x01\n\x14RestoreSnapshotState\x12\x17\n\x13RestoreSnapshotNone\x10\x00\x12\x1a\n\x16RestoreSnapshotPending\x10\x01\x12\x1c\n\x18RestoreSnapshotExecuting\x10\x02\x12\x1c\n\x18RestoreSnapshotCompleted\x10\x03\x12\x19\n\x15RestoreSnapshotFailed\x10\x04*t\n\x1eRefreshExternalCollectionState\x12\x12\n\x0eRefreshPending\x10\x00\x12\x15\n\x11RefreshInProgress\x10\x01\x12\x14\n\x10RefreshCompleted\x10\x02\x12\x11\n\rRefreshFailed\x10\x03\x32\xe2z\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\x17\x42\x61tchDescribeCollection\x12\x33.milvus.proto.milvus.BatchDescribeCollectionRequest\x1a\x34.milvus.proto.milvus.BatchDescribeCollectionResponse\"\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\x12g\n\x14\x41lterCollectionField\x12\x30.milvus.proto.milvus.AlterCollectionFieldRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12i\n\x15\x41\x64\x64\x43ollectionFunction\x12\x31.milvus.proto.milvus.AddCollectionFunctionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12m\n\x17\x41lterCollectionFunction\x12\x33.milvus.proto.milvus.AlterCollectionFunctionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12k\n\x16\x44ropCollectionFunction\x12\x32.milvus.proto.milvus.DropCollectionFunctionRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12w\n\x12TruncateCollection\x12..milvus.proto.milvus.TruncateCollectionRequest\x1a/.milvus.proto.milvus.TruncateCollectionResponse\"\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\x12V\n\x07Prewarm\x12#.milvus.proto.milvus.PrewarmRequest\x1a$.milvus.proto.milvus.PrewarmResponse\"\x00\x12z\n\x13\x44\x65scribePrewarmTask\x12/.milvus.proto.milvus.DescribePrewarmTaskRequest\x1a\x30.milvus.proto.milvus.DescribePrewarmTaskResponse\"\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\x12n\n\x0f\x43reateNamespace\x12+.milvus.proto.milvus.CreateNamespaceRequest\x1a,.milvus.proto.milvus.CreateNamespaceResponse\"\x00\x12t\n\x11\x44\x65scribeNamespace\x12-.milvus.proto.milvus.DescribeNamespaceRequest\x1a..milvus.proto.milvus.DescribeNamespaceResponse\"\x00\x12k\n\x0eListNamespaces\x12*.milvus.proto.milvus.ListNamespacesRequest\x1a+.milvus.proto.milvus.ListNamespacesResponse\"\x00\x12h\n\rDropNamespace\x12).milvus.proto.milvus.DropNamespaceRequest\x1a*.milvus.proto.milvus.DropNamespaceResponse\"\x00\x12\x65\n\x0cHasNamespace\x12(.milvus.proto.milvus.HasNamespaceRequest\x1a).milvus.proto.milvus.HasNamespaceResponse\"\x00\x12t\n\x11GetNamespaceStats\x12-.milvus.proto.milvus.GetNamespaceStatsRequest\x1a..milvus.proto.milvus.GetNamespaceStatsResponse\"\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\x12S\n\nAlterIndex\x12&.milvus.proto.milvus.AlterIndexRequest\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\x12k\n\rGetIndexState\x12).milvus.proto.milvus.GetIndexStateRequest\x1a*.milvus.proto.milvus.GetIndexStateResponse\"\x03\x88\x02\x01\x12\x83\x01\n\x15GetIndexBuildProgress\x12\x31.milvus.proto.milvus.GetIndexBuildProgressRequest\x1a\x32.milvus.proto.milvus.GetIndexBuildProgressResponse\"\x03\x88\x02\x01\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\x12^\n\x0cHybridSearch\x12(.milvus.proto.milvus.HybridSearchRequest\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\x12\x63\n\x12\x41\x64\x64\x43ollectionField\x12..milvus.proto.milvus.AddCollectionFieldRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12o\n\x18\x41\x64\x64\x43ollectionStructField\x12\x34.milvus.proto.milvus.AddCollectionStructFieldRequest\x1a\x1b.milvus.proto.common.Status\"\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\x12Q\n\tAlterRole\x12%.milvus.proto.milvus.AlterRoleRequest\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\x63\n\x12OperatePrivilegeV2\x12..milvus.proto.milvus.OperatePrivilegeV2Request\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\x12g\n\x14UpdateResourceGroups\x12\x30.milvus.proto.milvus.UpdateResourceGroupsRequest\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\x12Y\n\rAlterDatabase\x12).milvus.proto.milvus.AlterDatabaseRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12q\n\x10\x44\x65scribeDatabase\x12,.milvus.proto.milvus.DescribeDatabaseRequest\x1a-.milvus.proto.milvus.DescribeDatabaseResponse\"\x00\x12t\n\x10ReplicateMessage\x12,.milvus.proto.milvus.ReplicateMessageRequest\x1a-.milvus.proto.milvus.ReplicateMessageResponse\"\x03\x88\x02\x01\x12g\n\nBackupRBAC\x12*.milvus.proto.milvus.BackupRBACMetaRequest\x1a+.milvus.proto.milvus.BackupRBACMetaResponse\"\x00\x12Y\n\x0bRestoreRBAC\x12+.milvus.proto.milvus.RestoreRBACMetaRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12g\n\x14\x43reatePrivilegeGroup\x12\x30.milvus.proto.milvus.CreatePrivilegeGroupRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x63\n\x12\x44ropPrivilegeGroup\x12..milvus.proto.milvus.DropPrivilegeGroupRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12z\n\x13ListPrivilegeGroups\x12/.milvus.proto.milvus.ListPrivilegeGroupsRequest\x1a\x30.milvus.proto.milvus.ListPrivilegeGroupsResponse\"\x00\x12i\n\x15OperatePrivilegeGroup\x12\x31.milvus.proto.milvus.OperatePrivilegeGroupRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x62\n\x0bRunAnalyzer\x12\'.milvus.proto.milvus.RunAnalyzerRequest\x1a(.milvus.proto.milvus.RunAnalyzerResponse\"\x00\x12]\n\x0f\x41\x64\x64\x46ileResource\x12+.milvus.proto.milvus.AddFileResourceRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x63\n\x12RemoveFileResource\x12..milvus.proto.milvus.RemoveFileResourceRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12t\n\x11ListFileResources\x12-.milvus.proto.milvus.ListFileResourcesRequest\x1a..milvus.proto.milvus.ListFileResourcesResponse\"\x00\x12U\n\x0b\x41\x64\x64UserTags\x12\'.milvus.proto.milvus.AddUserTagsRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12[\n\x0e\x44\x65leteUserTags\x12*.milvus.proto.milvus.DeleteUserTagsRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x62\n\x0bGetUserTags\x12\'.milvus.proto.milvus.GetUserTagsRequest\x1a(.milvus.proto.milvus.GetUserTagsResponse\"\x00\x12q\n\x10ListUsersWithTag\x12,.milvus.proto.milvus.ListUsersWithTagRequest\x1a-.milvus.proto.milvus.ListUsersWithTagResponse\"\x00\x12]\n\x0f\x43reateRowPolicy\x12+.milvus.proto.milvus.CreateRowPolicyRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12Y\n\rDropRowPolicy\x12).milvus.proto.milvus.DropRowPolicyRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12n\n\x0fListRowPolicies\x12+.milvus.proto.milvus.ListRowPoliciesRequest\x1a,.milvus.proto.milvus.ListRowPoliciesResponse\"\x00\x12]\n\x0fUpdateRowPolicy\x12+.milvus.proto.milvus.UpdateRowPolicyRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x65\n\x13SetRLSPrincipalTags\x12/.milvus.proto.milvus.SetRLSPrincipalTagsRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12z\n\x13GetRLSPrincipalTags\x12/.milvus.proto.milvus.GetRLSPrincipalTagsRequest\x1a\x30.milvus.proto.milvus.GetRLSPrincipalTagsResponse\"\x00\x12t\n\x11ListRLSPrincipals\x12-.milvus.proto.milvus.ListRLSPrincipalsRequest\x1a..milvus.proto.milvus.ListRLSPrincipalsResponse\"\x00\x12k\n\x16\x44\x65leteRLSPrincipalTags\x12\x32.milvus.proto.milvus.DeleteRLSPrincipalTagsRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12w\n\x1cUpdateReplicateConfiguration\x12\x38.milvus.proto.milvus.UpdateReplicateConfigurationRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x8c\x01\n\x19GetReplicateConfiguration\x12\x35.milvus.proto.milvus.GetReplicateConfigurationRequest\x1a\x36.milvus.proto.milvus.GetReplicateConfigurationResponse\"\x00\x12q\n\x10GetReplicateInfo\x12,.milvus.proto.milvus.GetReplicateInfoRequest\x1a-.milvus.proto.milvus.GetReplicateInfoResponse\"\x00\x12l\n\x15\x43reateReplicateStream\x12%.milvus.proto.milvus.ReplicateRequest\x1a&.milvus.proto.milvus.ReplicateResponse\"\x00(\x01\x30\x01\x12g\n\x0c\x44umpMessages\x12(.milvus.proto.milvus.DumpMessagesRequest\x1a).milvus.proto.milvus.DumpMessagesResponse\"\x00\x30\x01\x12\x83\x01\n\x16\x43omputePhraseMatchSlop\x12\x32.milvus.proto.milvus.ComputePhraseMatchSlopRequest\x1a\x33.milvus.proto.milvus.ComputePhraseMatchSlopResponse\"\x00\x12[\n\x0e\x43reateSnapshot\x12*.milvus.proto.milvus.CreateSnapshotRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12W\n\x0c\x44ropSnapshot\x12(.milvus.proto.milvus.DropSnapshotRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12h\n\rListSnapshots\x12).milvus.proto.milvus.ListSnapshotsRequest\x1a*.milvus.proto.milvus.ListSnapshotsResponse\"\x00\x12q\n\x10\x44\x65scribeSnapshot\x12,.milvus.proto.milvus.DescribeSnapshotRequest\x1a-.milvus.proto.milvus.DescribeSnapshotResponse\"\x00\x12n\n\x0fRestoreSnapshot\x12+.milvus.proto.milvus.RestoreSnapshotRequest\x1a,.milvus.proto.milvus.RestoreSnapshotResponse\"\x00\x12\x86\x01\n\x17RestoreExternalSnapshot\x12\x33.milvus.proto.milvus.RestoreExternalSnapshotRequest\x1a\x34.milvus.proto.milvus.RestoreExternalSnapshotResponse\"\x00\x12k\n\x0e\x45xportSnapshot\x12*.milvus.proto.milvus.ExportSnapshotRequest\x1a+.milvus.proto.milvus.ExportSnapshotResponse\"\x00\x12\x86\x01\n\x17GetRestoreSnapshotState\x12\x33.milvus.proto.milvus.GetRestoreSnapshotStateRequest\x1a\x34.milvus.proto.milvus.GetRestoreSnapshotStateResponse\"\x00\x12\x86\x01\n\x17ListRestoreSnapshotJobs\x12\x33.milvus.proto.milvus.ListRestoreSnapshotJobsRequest\x1a\x34.milvus.proto.milvus.ListRestoreSnapshotJobsResponse\"\x00\x12n\n\x0fPinSnapshotData\x12+.milvus.proto.milvus.PinSnapshotDataRequest\x1a,.milvus.proto.milvus.PinSnapshotDataResponse\"\x00\x12\x61\n\x11UnpinSnapshotData\x12-.milvus.proto.milvus.UnpinSnapshotDataRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x80\x01\n\x15\x41lterCollectionSchema\x12\x31.milvus.proto.milvus.AlterCollectionSchemaRequest\x1a\x32.milvus.proto.milvus.AlterCollectionSchemaResponse\"\x00\x12\x65\n\x13\x42\x61tchUpdateManifest\x12/.milvus.proto.milvus.BatchUpdateManifestRequest\x1a\x1b.milvus.proto.common.Status\"\x00\x12\x8c\x01\n\x19RefreshExternalCollection\x12\x35.milvus.proto.milvus.RefreshExternalCollectionRequest\x1a\x36.milvus.proto.milvus.RefreshExternalCollectionResponse\"\x00\x12\xad\x01\n$GetRefreshExternalCollectionProgress\x12@.milvus.proto.milvus.GetRefreshExternalCollectionProgressRequest\x1a\x41.milvus.proto.milvus.GetRefreshExternalCollectionProgressResponse\"\x00\x12\xa4\x01\n!ListRefreshExternalCollectionJobs\x12=.milvus.proto.milvus.ListRefreshExternalCollectionJobsRequest\x1a>.milvus.proto.milvus.ListRefreshExternalCollectionJobsResponse\"\x00\x32\xf3\x03\n\x16\x43lientTelemetryService\x12n\n\x0f\x43lientHeartbeat\x12+.milvus.proto.milvus.ClientHeartbeatRequest\x1a,.milvus.proto.milvus.ClientHeartbeatResponse\"\x00\x12w\n\x12GetClientTelemetry\x12..milvus.proto.milvus.GetClientTelemetryRequest\x1a/.milvus.proto.milvus.GetClientTelemetryResponse\"\x00\x12t\n\x11PushClientCommand\x12-.milvus.proto.milvus.PushClientCommandRequest\x1a..milvus.proto.milvus.PushClientCommandResponse\"\x00\x12z\n\x13\x44\x65leteClientCommand\x12/.milvus.proto.milvus.DeleteClientCommandRequest\x1a\x30.milvus.proto.milvus.DeleteClientCommandResponse\"\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/v3/milvuspb\xa0\x01\x01\xaa\x02\x12Milvus.Client.Grpcb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -309,11 +309,25 @@ _globals['_LISTUSERSWITHTAGREQUEST']._loaded_options = None _globals['_LISTUSERSWITHTAGREQUEST']._serialized_options = b'\312>\017\010\002\020\030\030\377\377\377\377\377\377\377\377\377\001' _globals['_CREATEROWPOLICYREQUEST']._loaded_options = None - _globals['_CREATEROWPOLICYREQUEST']._serialized_options = b'\312>\004\020\023\030\003' + _globals['_CREATEROWPOLICYREQUEST']._serialized_options = b'\312>\004\020C\030\003' _globals['_DROPROWPOLICYREQUEST']._loaded_options = None - _globals['_DROPROWPOLICYREQUEST']._serialized_options = b'\312>\004\020\025\030\003' + _globals['_DROPROWPOLICYREQUEST']._serialized_options = b'\312>\004\020C\030\003' + _globals['_UPDATEROWPOLICYREQUEST']._loaded_options = None + _globals['_UPDATEROWPOLICYREQUEST']._serialized_options = b'\312>\004\020C\030\003' _globals['_LISTROWPOLICIESREQUEST']._loaded_options = None - _globals['_LISTROWPOLICIESREQUEST']._serialized_options = b'\312>\004\020\026\030\003' + _globals['_LISTROWPOLICIESREQUEST']._serialized_options = b'\312>\004\020B\030\003' + _globals['_SETRLSPRINCIPALTAGSREQUEST_TAGSENTRY']._loaded_options = None + _globals['_SETRLSPRINCIPALTAGSREQUEST_TAGSENTRY']._serialized_options = b'8\001' + _globals['_SETRLSPRINCIPALTAGSREQUEST']._loaded_options = None + _globals['_SETRLSPRINCIPALTAGSREQUEST']._serialized_options = b'\312>\004\020C\030\003' + _globals['_GETRLSPRINCIPALTAGSREQUEST']._loaded_options = None + _globals['_GETRLSPRINCIPALTAGSREQUEST']._serialized_options = b'\312>\004\020B\030\003' + _globals['_GETRLSPRINCIPALTAGSRESPONSE_TAGSENTRY']._loaded_options = None + _globals['_GETRLSPRINCIPALTAGSRESPONSE_TAGSENTRY']._serialized_options = b'8\001' + _globals['_LISTRLSPRINCIPALSREQUEST']._loaded_options = None + _globals['_LISTRLSPRINCIPALSREQUEST']._serialized_options = b'\312>\004\020B\030\003' + _globals['_DELETERLSPRINCIPALTAGSREQUEST']._loaded_options = None + _globals['_DELETERLSPRINCIPALTAGSREQUEST']._serialized_options = b'\312>\004\020C\030\003' _globals['_UPDATEREPLICATECONFIGURATIONREQUEST']._loaded_options = None _globals['_UPDATEREPLICATECONFIGURATIONREQUEST']._serialized_options = b'\312>\017\010\001\020N\030\377\377\377\377\377\377\377\377\377\001' _globals['_GETREPLICATECONFIGURATIONREQUEST']._loaded_options = None @@ -352,26 +366,28 @@ _globals['_MILVUSSERVICE'].methods_by_name['GetIndexBuildProgress']._serialized_options = b'\210\002\001' _globals['_MILVUSSERVICE'].methods_by_name['ReplicateMessage']._loaded_options = None _globals['_MILVUSSERVICE'].methods_by_name['ReplicateMessage']._serialized_options = b'\210\002\001' - _globals['_SHOWTYPE']._serialized_start=47000 - _globals['_SHOWTYPE']._serialized_end=47037 - _globals['_PREWARMTASKSTATE']._serialized_start=47040 - _globals['_PREWARMTASKSTATE']._serialized_end=47204 - _globals['_OPERATEPRIVILEGEGROUPTYPE']._serialized_start=47206 - _globals['_OPERATEPRIVILEGEGROUPTYPE']._serialized_end=47290 - _globals['_OPERATEUSERROLETYPE']._serialized_start=47292 - _globals['_OPERATEUSERROLETYPE']._serialized_end=47356 - _globals['_PRIVILEGELEVEL']._serialized_start=47358 - _globals['_PRIVILEGELEVEL']._serialized_end=47417 - _globals['_OPERATEPRIVILEGETYPE']._serialized_start=47419 - _globals['_OPERATEPRIVILEGETYPE']._serialized_end=47464 - _globals['_QUOTASTATE']._serialized_start=47466 - _globals['_QUOTASTATE']._serialized_end=47574 - _globals['_ROWPOLICYACTION']._serialized_start=47576 - _globals['_ROWPOLICYACTION']._serialized_end=47652 - _globals['_RESTORESNAPSHOTSTATE']._serialized_start=47655 - _globals['_RESTORESNAPSHOTSTATE']._serialized_end=47817 - _globals['_REFRESHEXTERNALCOLLECTIONSTATE']._serialized_start=47819 - _globals['_REFRESHEXTERNALCOLLECTIONSTATE']._serialized_end=47935 + _globals['_SHOWTYPE']._serialized_start=48761 + _globals['_SHOWTYPE']._serialized_end=48798 + _globals['_PREWARMTASKSTATE']._serialized_start=48801 + _globals['_PREWARMTASKSTATE']._serialized_end=48965 + _globals['_OPERATEPRIVILEGEGROUPTYPE']._serialized_start=48967 + _globals['_OPERATEPRIVILEGEGROUPTYPE']._serialized_end=49051 + _globals['_OPERATEUSERROLETYPE']._serialized_start=49053 + _globals['_OPERATEUSERROLETYPE']._serialized_end=49117 + _globals['_PRIVILEGELEVEL']._serialized_start=49119 + _globals['_PRIVILEGELEVEL']._serialized_end=49178 + _globals['_OPERATEPRIVILEGETYPE']._serialized_start=49180 + _globals['_OPERATEPRIVILEGETYPE']._serialized_end=49225 + _globals['_QUOTASTATE']._serialized_start=49227 + _globals['_QUOTASTATE']._serialized_end=49335 + _globals['_ROWPOLICYACTION']._serialized_start=49338 + _globals['_ROWPOLICYACTION']._serialized_end=49645 + _globals['_ROWPOLICYTYPE']._serialized_start=49647 + _globals['_ROWPOLICYTYPE']._serialized_end=49747 + _globals['_RESTORESNAPSHOTSTATE']._serialized_start=49750 + _globals['_RESTORESNAPSHOTSTATE']._serialized_end=49912 + _globals['_REFRESHEXTERNALCOLLECTIONSTATE']._serialized_start=49914 + _globals['_REFRESHEXTERNALCOLLECTIONSTATE']._serialized_end=50030 _globals['_CREATEALIASREQUEST']._serialized_start=134 _globals['_CREATEALIASREQUEST']._serialized_end=275 _globals['_DROPALIASREQUEST']._serialized_start=277 @@ -513,493 +529,511 @@ _globals['_DROPINDEXREQUEST']._serialized_start=11567 _globals['_DROPINDEXREQUEST']._serialized_end=11720 _globals['_INSERTREQUEST']._serialized_start=11723 - _globals['_INSERTREQUEST']._serialized_end=12011 - _globals['_ADDCOLLECTIONFIELDREQUEST']._serialized_start=12014 - _globals['_ADDCOLLECTIONFIELDREQUEST']._serialized_end=12174 - _globals['_ADDCOLLECTIONSTRUCTFIELDREQUEST']._serialized_start=12177 - _globals['_ADDCOLLECTIONSTRUCTFIELDREQUEST']._serialized_end=12407 - _globals['_ADDCOLLECTIONFUNCTIONREQUEST']._serialized_start=12410 - _globals['_ADDCOLLECTIONFUNCTIONREQUEST']._serialized_end=12629 - _globals['_ALTERCOLLECTIONFUNCTIONREQUEST']._serialized_start=12632 - _globals['_ALTERCOLLECTIONFUNCTIONREQUEST']._serialized_end=12876 - _globals['_DROPCOLLECTIONFUNCTIONREQUEST']._serialized_start=12879 - _globals['_DROPCOLLECTIONFUNCTIONREQUEST']._serialized_end=13061 - _globals['_UPSERTREQUEST']._serialized_start=13064 - _globals['_UPSERTREQUEST']._serialized_end=13438 - _globals['_MUTATIONRESULT']._serialized_start=13441 - _globals['_MUTATIONRESULT']._serialized_end=13681 - _globals['_DELETEREQUEST']._serialized_start=13684 - _globals['_DELETEREQUEST']._serialized_end=14140 - _globals['_DELETEREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_start=14024 - _globals['_DELETEREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_end=14117 - _globals['_SUBSEARCHREQUEST']._serialized_start=14143 - _globals['_SUBSEARCHREQUEST']._serialized_end=14545 - _globals['_SUBSEARCHREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_start=14024 - _globals['_SUBSEARCHREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_end=14117 - _globals['_SEARCHREQUEST']._serialized_start=14548 - _globals['_SEARCHREQUEST']._serialized_end=15670 - _globals['_SEARCHREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_start=14024 - _globals['_SEARCHREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_end=14117 - _globals['_HITS']._serialized_start=15672 - _globals['_HITS']._serialized_end=15725 - _globals['_SEARCHRESULTS']._serialized_start=15728 - _globals['_SEARCHRESULTS']._serialized_end=15889 - _globals['_HYBRIDSEARCHREQUEST']._serialized_start=15892 - _globals['_HYBRIDSEARCHREQUEST']._serialized_end=16508 - _globals['_FLUSHREQUEST']._serialized_start=16510 - _globals['_FLUSHREQUEST']._serialized_end=16620 - _globals['_FLUSHRESPONSE']._serialized_start=16623 - _globals['_FLUSHRESPONSE']._serialized_end=17445 - _globals['_FLUSHRESPONSE_COLLSEGIDSENTRY']._serialized_start=17088 - _globals['_FLUSHRESPONSE_COLLSEGIDSENTRY']._serialized_end=17169 - _globals['_FLUSHRESPONSE_FLUSHCOLLSEGIDSENTRY']._serialized_start=17171 - _globals['_FLUSHRESPONSE_FLUSHCOLLSEGIDSENTRY']._serialized_end=17257 - _globals['_FLUSHRESPONSE_COLLSEALTIMESENTRY']._serialized_start=17259 - _globals['_FLUSHRESPONSE_COLLSEALTIMESENTRY']._serialized_end=17311 - _globals['_FLUSHRESPONSE_COLLFLUSHTSENTRY']._serialized_start=17313 - _globals['_FLUSHRESPONSE_COLLFLUSHTSENTRY']._serialized_end=17363 - _globals['_FLUSHRESPONSE_CHANNELCPSENTRY']._serialized_start=17365 - _globals['_FLUSHRESPONSE_CHANNELCPSENTRY']._serialized_end=17445 - _globals['_QUERYREQUEST']._serialized_start=17448 - _globals['_QUERYREQUEST']._serialized_end=18081 - _globals['_QUERYREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_start=14024 - _globals['_QUERYREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_end=14117 - _globals['_ELEMENTINDICES']._serialized_start=18083 - _globals['_ELEMENTINDICES']._serialized_end=18148 - _globals['_QUERYRESULTS']._serialized_start=18151 - _globals['_QUERYRESULTS']._serialized_end=18421 - _globals['_QUERYCURSOR']._serialized_start=18423 - _globals['_QUERYCURSOR']._serialized_end=18505 - _globals['_VECTORIDS']._serialized_start=18507 - _globals['_VECTORIDS']._serialized_end=18632 - _globals['_VECTORSARRAY']._serialized_start=18635 - _globals['_VECTORSARRAY']._serialized_end=18766 - _globals['_CALCDISTANCEREQUEST']._serialized_start=18769 - _globals['_CALCDISTANCEREQUEST']._serialized_end=18990 - _globals['_CALCDISTANCERESULTS']._serialized_start=18993 - _globals['_CALCDISTANCERESULTS']._serialized_end=19174 - _globals['_FLUSHALLTARGET']._serialized_start=19176 - _globals['_FLUSHALLTARGET']._serialized_end=19235 - _globals['_FLUSHALLREQUEST']._serialized_start=19238 - _globals['_FLUSHALLREQUEST']._serialized_end=19404 - _globals['_CLUSTERINFO']._serialized_start=19406 - _globals['_CLUSTERINFO']._serialized_end=19476 - _globals['_FLUSHALLRESPONSE']._serialized_start=19479 - _globals['_FLUSHALLRESPONSE']._serialized_end=19861 - _globals['_FLUSHALLRESPONSE_FLUSHALLMSGSENTRY']._serialized_start=19771 - _globals['_FLUSHALLRESPONSE_FLUSHALLMSGSENTRY']._serialized_end=19861 - _globals['_FLUSHALLRESULT']._serialized_start=19863 - _globals['_FLUSHALLRESULT']._serialized_end=19968 - _globals['_FLUSHCOLLECTIONRESULT']._serialized_start=19971 - _globals['_FLUSHCOLLECTIONRESULT']._serialized_end=20331 - _globals['_FLUSHCOLLECTIONRESULT_CHANNELCPSENTRY']._serialized_start=17365 - _globals['_FLUSHCOLLECTIONRESULT_CHANNELCPSENTRY']._serialized_end=17445 - _globals['_PERSISTENTSEGMENTINFO']._serialized_start=20334 - _globals['_PERSISTENTSEGMENTINFO']._serialized_end=20581 - _globals['_GETPERSISTENTSEGMENTINFOREQUEST']._serialized_start=20583 - _globals['_GETPERSISTENTSEGMENTINFOREQUEST']._serialized_end=20700 - _globals['_GETPERSISTENTSEGMENTINFORESPONSE']._serialized_start=20703 - _globals['_GETPERSISTENTSEGMENTINFORESPONSE']._serialized_end=20841 - _globals['_QUERYSEGMENTINFO']._serialized_start=20844 - _globals['_QUERYSEGMENTINFO']._serialized_end=21178 - _globals['_GETQUERYSEGMENTINFOREQUEST']._serialized_start=21180 - _globals['_GETQUERYSEGMENTINFOREQUEST']._serialized_end=21292 - _globals['_GETQUERYSEGMENTINFORESPONSE']._serialized_start=21295 - _globals['_GETQUERYSEGMENTINFORESPONSE']._serialized_end=21423 - _globals['_DUMMYREQUEST']._serialized_start=21425 - _globals['_DUMMYREQUEST']._serialized_end=21461 - _globals['_DUMMYRESPONSE']._serialized_start=21463 - _globals['_DUMMYRESPONSE']._serialized_end=21496 - _globals['_REGISTERLINKREQUEST']._serialized_start=21498 - _globals['_REGISTERLINKREQUEST']._serialized_end=21519 - _globals['_REGISTERLINKRESPONSE']._serialized_start=21521 - _globals['_REGISTERLINKRESPONSE']._serialized_end=21635 - _globals['_GETMETRICSREQUEST']._serialized_start=21637 - _globals['_GETMETRICSREQUEST']._serialized_end=21717 - _globals['_GETMETRICSRESPONSE']._serialized_start=21719 - _globals['_GETMETRICSRESPONSE']._serialized_end=21826 - _globals['_COMPONENTINFO']._serialized_start=21829 - _globals['_COMPONENTINFO']._serialized_end=21981 - _globals['_COMPONENTSTATES']._serialized_start=21984 - _globals['_COMPONENTSTATES']._serialized_end=22162 - _globals['_GETCOMPONENTSTATESREQUEST']._serialized_start=22164 - _globals['_GETCOMPONENTSTATESREQUEST']._serialized_end=22191 - _globals['_LOADBALANCEREQUEST']._serialized_start=22194 - _globals['_LOADBALANCEREQUEST']._serialized_end=22376 - _globals['_MANUALCOMPACTIONREQUEST']._serialized_start=22379 - _globals['_MANUALCOMPACTIONREQUEST']._serialized_end=22625 - _globals['_MANUALCOMPACTIONRESPONSE']._serialized_start=22627 - _globals['_MANUALCOMPACTIONRESPONSE']._serialized_end=22749 - _globals['_GETCOMPACTIONSTATEREQUEST']._serialized_start=22751 - _globals['_GETCOMPACTIONSTATEREQUEST']._serialized_end=22800 - _globals['_GETCOMPACTIONSTATERESPONSE']._serialized_start=22803 - _globals['_GETCOMPACTIONSTATERESPONSE']._serialized_end=23024 - _globals['_GETCOMPACTIONPLANSREQUEST']._serialized_start=23026 - _globals['_GETCOMPACTIONPLANSREQUEST']._serialized_end=23075 - _globals['_GETCOMPACTIONPLANSRESPONSE']._serialized_start=23078 - _globals['_GETCOMPACTIONPLANSRESPONSE']._serialized_end=23266 - _globals['_COMPACTIONMERGEINFO']._serialized_start=23268 - _globals['_COMPACTIONMERGEINFO']._serialized_end=23322 - _globals['_GETFLUSHSTATEREQUEST']._serialized_start=23324 - _globals['_GETFLUSHSTATEREQUEST']._serialized_end=23435 - _globals['_GETFLUSHSTATERESPONSE']._serialized_start=23437 - _globals['_GETFLUSHSTATERESPONSE']._serialized_end=23522 - _globals['_GETFLUSHALLSTATEREQUEST']._serialized_start=23525 - _globals['_GETFLUSHALLSTATEREQUEST']._serialized_end=23843 - _globals['_GETFLUSHALLSTATEREQUEST_FLUSHALLTSSENTRY']._serialized_start=23793 - _globals['_GETFLUSHALLSTATEREQUEST_FLUSHALLTSSENTRY']._serialized_end=23843 - _globals['_GETFLUSHALLSTATERESPONSE']._serialized_start=23846 - _globals['_GETFLUSHALLSTATERESPONSE']._serialized_end=23996 - _globals['_FLUSHALLSTATE']._serialized_start=23999 - _globals['_FLUSHALLSTATE']._serialized_end=24189 - _globals['_FLUSHALLSTATE_COLLECTIONFLUSHSTATESENTRY']._serialized_start=24129 - _globals['_FLUSHALLSTATE_COLLECTIONFLUSHSTATESENTRY']._serialized_end=24189 - _globals['_IMPORTREQUEST']._serialized_start=24192 - _globals['_IMPORTREQUEST']._serialized_end=24416 - _globals['_IMPORTRESPONSE']._serialized_start=24418 - _globals['_IMPORTRESPONSE']._serialized_end=24494 - _globals['_GETIMPORTSTATEREQUEST']._serialized_start=24496 - _globals['_GETIMPORTSTATEREQUEST']._serialized_end=24533 - _globals['_GETIMPORTSTATERESPONSE']._serialized_start=24536 - _globals['_GETIMPORTSTATERESPONSE']._serialized_end=24815 - _globals['_LISTIMPORTTASKSREQUEST']._serialized_start=24817 - _globals['_LISTIMPORTTASKSREQUEST']._serialized_end=24898 - _globals['_LISTIMPORTTASKSRESPONSE']._serialized_start=24901 - _globals['_LISTIMPORTTASKSRESPONSE']._serialized_end=25031 - _globals['_GETREPLICASREQUEST']._serialized_start=25034 - _globals['_GETREPLICASREQUEST']._serialized_end=25188 - _globals['_GETREPLICASRESPONSE']._serialized_start=25190 - _globals['_GETREPLICASRESPONSE']._serialized_end=25308 - _globals['_REPLICAINFO']._serialized_start=25311 - _globals['_REPLICAINFO']._serialized_end=25632 - _globals['_REPLICAINFO_NUMOUTBOUNDNODEENTRY']._serialized_start=25578 - _globals['_REPLICAINFO_NUMOUTBOUNDNODEENTRY']._serialized_end=25632 - _globals['_SHARDREPLICA']._serialized_start=25634 - _globals['_SHARDREPLICA']._serialized_end=25730 - _globals['_CREATECREDENTIALREQUEST']._serialized_start=25733 - _globals['_CREATECREDENTIALREQUEST']._serialized_end=25965 - _globals['_UPDATECREDENTIALREQUEST']._serialized_start=25968 - _globals['_UPDATECREDENTIALREQUEST']._serialized_end=26215 - _globals['_DELETECREDENTIALREQUEST']._serialized_start=26217 - _globals['_DELETECREDENTIALREQUEST']._serialized_end=26324 - _globals['_LISTCREDUSERSRESPONSE']._serialized_start=26326 - _globals['_LISTCREDUSERSRESPONSE']._serialized_end=26413 - _globals['_LISTCREDUSERSREQUEST']._serialized_start=26415 - _globals['_LISTCREDUSERSREQUEST']._serialized_end=26501 - _globals['_ROLEENTITY']._serialized_start=26503 - _globals['_ROLEENTITY']._serialized_end=26550 - _globals['_USERENTITY']._serialized_start=26552 - _globals['_USERENTITY']._serialized_end=26578 - _globals['_CREATEROLEREQUEST']._serialized_start=26581 - _globals['_CREATEROLEREQUEST']._serialized_end=26713 - _globals['_ALTERROLEREQUEST']._serialized_start=26715 - _globals['_ALTERROLEREQUEST']._serialized_end=26837 - _globals['_DROPROLEREQUEST']._serialized_start=26839 - _globals['_DROPROLEREQUEST']._serialized_end=26959 - _globals['_CREATEPRIVILEGEGROUPREQUEST']._serialized_start=26961 - _globals['_CREATEPRIVILEGEGROUPREQUEST']._serialized_end=27074 - _globals['_DROPPRIVILEGEGROUPREQUEST']._serialized_start=27076 - _globals['_DROPPRIVILEGEGROUPREQUEST']._serialized_end=27187 - _globals['_LISTPRIVILEGEGROUPSREQUEST']._serialized_start=27189 - _globals['_LISTPRIVILEGEGROUPSREQUEST']._serialized_end=27281 - _globals['_LISTPRIVILEGEGROUPSRESPONSE']._serialized_start=27284 - _globals['_LISTPRIVILEGEGROUPSRESPONSE']._serialized_end=27425 - _globals['_OPERATEPRIVILEGEGROUPREQUEST']._serialized_start=27428 - _globals['_OPERATEPRIVILEGEGROUPREQUEST']._serialized_end=27662 - _globals['_OPERATEUSERROLEREQUEST']._serialized_start=27665 - _globals['_OPERATEUSERROLEREQUEST']._serialized_end=27846 - _globals['_PRIVILEGEGROUPINFO']._serialized_start=27848 - _globals['_PRIVILEGEGROUPINFO']._serialized_end=27946 - _globals['_SELECTROLEREQUEST']._serialized_start=27949 - _globals['_SELECTROLEREQUEST']._serialized_end=28106 - _globals['_ROLERESULT']._serialized_start=28108 - _globals['_ROLERESULT']._serialized_end=28215 - _globals['_SELECTROLERESPONSE']._serialized_start=28217 - _globals['_SELECTROLERESPONSE']._serialized_end=28332 - _globals['_SELECTUSERREQUEST']._serialized_start=28335 - _globals['_SELECTUSERREQUEST']._serialized_end=28483 - _globals['_USERRESULT']._serialized_start=28486 - _globals['_USERRESULT']._serialized_end=28614 - _globals['_SELECTUSERRESPONSE']._serialized_start=28616 - _globals['_SELECTUSERRESPONSE']._serialized_end=28731 - _globals['_OBJECTENTITY']._serialized_start=28733 - _globals['_OBJECTENTITY']._serialized_end=28761 - _globals['_PRIVILEGEENTITY']._serialized_start=28763 - _globals['_PRIVILEGEENTITY']._serialized_end=28794 - _globals['_GRANTORENTITY']._serialized_start=28796 - _globals['_GRANTORENTITY']._serialized_end=28915 - _globals['_GRANTPRIVILEGEENTITY']._serialized_start=28917 - _globals['_GRANTPRIVILEGEENTITY']._serialized_end=28993 - _globals['_GRANTENTITY']._serialized_start=28996 - _globals['_GRANTENTITY']._serialized_end=29198 - _globals['_SELECTGRANTREQUEST']._serialized_start=29201 - _globals['_SELECTGRANTREQUEST']._serialized_end=29335 - _globals['_SELECTGRANTRESPONSE']._serialized_start=29337 - _globals['_SELECTGRANTRESPONSE']._serialized_end=29455 - _globals['_OPERATEPRIVILEGEREQUEST']._serialized_start=29458 - _globals['_OPERATEPRIVILEGEREQUEST']._serialized_end=29671 - _globals['_OPERATEPRIVILEGEV2REQUEST']._serialized_start=29674 - _globals['_OPERATEPRIVILEGEV2REQUEST']._serialized_end=29964 - _globals['_USERINFO']._serialized_start=29966 - _globals['_USERINFO']._serialized_end=30056 - _globals['_RBACMETA']._serialized_start=30059 - _globals['_RBACMETA']._serialized_end=30280 - _globals['_BACKUPRBACMETAREQUEST']._serialized_start=30282 - _globals['_BACKUPRBACMETAREQUEST']._serialized_end=30369 - _globals['_BACKUPRBACMETARESPONSE']._serialized_start=30371 - _globals['_BACKUPRBACMETARESPONSE']._serialized_end=30490 - _globals['_RESTORERBACMETAREQUEST']._serialized_start=30493 - _globals['_RESTORERBACMETAREQUEST']._serialized_end=30631 - _globals['_GETLOADINGPROGRESSREQUEST']._serialized_start=30634 - _globals['_GETLOADINGPROGRESSREQUEST']._serialized_end=30781 - _globals['_GETLOADINGPROGRESSRESPONSE']._serialized_start=30783 - _globals['_GETLOADINGPROGRESSRESPONSE']._serialized_end=30900 - _globals['_GETLOADSTATEREQUEST']._serialized_start=30903 - _globals['_GETLOADSTATEREQUEST']._serialized_end=31044 - _globals['_GETLOADSTATERESPONSE']._serialized_start=31046 - _globals['_GETLOADSTATERESPONSE']._serialized_end=31160 - _globals['_MILVUSEXT']._serialized_start=31162 - _globals['_MILVUSEXT']._serialized_end=31190 - _globals['_GETVERSIONREQUEST']._serialized_start=31192 - _globals['_GETVERSIONREQUEST']._serialized_end=31211 - _globals['_GETVERSIONRESPONSE']._serialized_start=31213 - _globals['_GETVERSIONRESPONSE']._serialized_end=31295 - _globals['_CHECKHEALTHREQUEST']._serialized_start=31297 - _globals['_CHECKHEALTHREQUEST']._serialized_end=31317 - _globals['_CHECKHEALTHRESPONSE']._serialized_start=31320 - _globals['_CHECKHEALTHRESPONSE']._serialized_end=31477 - _globals['_CREATERESOURCEGROUPREQUEST']._serialized_start=31480 - _globals['_CREATERESOURCEGROUPREQUEST']._serialized_end=31650 - _globals['_UPDATERESOURCEGROUPSREQUEST']._serialized_start=31653 - _globals['_UPDATERESOURCEGROUPSREQUEST']._serialized_end=31934 - _globals['_UPDATERESOURCEGROUPSREQUEST_RESOURCEGROUPSENTRY']._serialized_start=31823 - _globals['_UPDATERESOURCEGROUPSREQUEST_RESOURCEGROUPSENTRY']._serialized_end=31914 - _globals['_DROPRESOURCEGROUPREQUEST']._serialized_start=31936 - _globals['_DROPRESOURCEGROUPREQUEST']._serialized_end=32050 - _globals['_TRANSFERNODEREQUEST']._serialized_start=32053 - _globals['_TRANSFERNODEREQUEST']._serialized_end=32218 - _globals['_TRANSFERREPLICAREQUEST']._serialized_start=32221 - _globals['_TRANSFERREPLICAREQUEST']._serialized_end=32434 - _globals['_LISTRESOURCEGROUPSREQUEST']._serialized_start=32436 - _globals['_LISTRESOURCEGROUPSREQUEST']._serialized_end=32527 - _globals['_LISTRESOURCEGROUPSRESPONSE']._serialized_start=32529 - _globals['_LISTRESOURCEGROUPSRESPONSE']._serialized_end=32627 - _globals['_DESCRIBERESOURCEGROUPREQUEST']._serialized_start=32629 - _globals['_DESCRIBERESOURCEGROUPREQUEST']._serialized_end=32747 - _globals['_DESCRIBERESOURCEGROUPRESPONSE']._serialized_start=32750 - _globals['_DESCRIBERESOURCEGROUPRESPONSE']._serialized_end=32886 - _globals['_RESOURCEGROUP']._serialized_start=32889 - _globals['_RESOURCEGROUP']._serialized_end=33487 - _globals['_RESOURCEGROUP_NUMLOADEDREPLICAENTRY']._serialized_start=33320 - _globals['_RESOURCEGROUP_NUMLOADEDREPLICAENTRY']._serialized_end=33375 - _globals['_RESOURCEGROUP_NUMOUTGOINGNODEENTRY']._serialized_start=33377 - _globals['_RESOURCEGROUP_NUMOUTGOINGNODEENTRY']._serialized_end=33431 - _globals['_RESOURCEGROUP_NUMINCOMINGNODEENTRY']._serialized_start=33433 - _globals['_RESOURCEGROUP_NUMINCOMINGNODEENTRY']._serialized_end=33487 - _globals['_RENAMECOLLECTIONREQUEST']._serialized_start=33490 - _globals['_RENAMECOLLECTIONREQUEST']._serialized_end=33649 - _globals['_GETINDEXSTATISTICSREQUEST']._serialized_start=33652 - _globals['_GETINDEXSTATISTICSREQUEST']._serialized_end=33813 - _globals['_GETINDEXSTATISTICSRESPONSE']._serialized_start=33816 - _globals['_GETINDEXSTATISTICSRESPONSE']._serialized_end=33956 - _globals['_CONNECTREQUEST']._serialized_start=33958 - _globals['_CONNECTREQUEST']._serialized_end=34072 - _globals['_CONNECTRESPONSE']._serialized_start=34075 - _globals['_CONNECTRESPONSE']._serialized_end=34211 - _globals['_ALLOCTIMESTAMPREQUEST']._serialized_start=34213 - _globals['_ALLOCTIMESTAMPREQUEST']._serialized_end=34280 - _globals['_ALLOCTIMESTAMPRESPONSE']._serialized_start=34282 - _globals['_ALLOCTIMESTAMPRESPONSE']._serialized_end=34370 - _globals['_CREATEDATABASEREQUEST']._serialized_start=34373 - _globals['_CREATEDATABASEREQUEST']._serialized_end=34532 - _globals['_DROPDATABASEREQUEST']._serialized_start=34534 - _globals['_DROPDATABASEREQUEST']._serialized_end=34636 - _globals['_LISTDATABASESREQUEST']._serialized_start=34638 - _globals['_LISTDATABASESREQUEST']._serialized_end=34704 - _globals['_LISTDATABASESRESPONSE']._serialized_start=34707 - _globals['_LISTDATABASESRESPONSE']._serialized_end=34836 - _globals['_ALTERDATABASEREQUEST']._serialized_start=34839 - _globals['_ALTERDATABASEREQUEST']._serialized_end=35033 - _globals['_DESCRIBEDATABASEREQUEST']._serialized_start=35035 - _globals['_DESCRIBEDATABASEREQUEST']._serialized_end=35141 - _globals['_DESCRIBEDATABASERESPONSE']._serialized_start=35144 - _globals['_DESCRIBEDATABASERESPONSE']._serialized_end=35328 - _globals['_REPLICATEMESSAGEREQUEST']._serialized_start=35331 - _globals['_REPLICATEMESSAGEREQUEST']._serialized_end=35580 - _globals['_REPLICATEMESSAGERESPONSE']._serialized_start=35582 - _globals['_REPLICATEMESSAGERESPONSE']._serialized_end=35675 - _globals['_IMPORTAUTHPLACEHOLDER']._serialized_start=35677 - _globals['_IMPORTAUTHPLACEHOLDER']._serialized_end=35775 - _globals['_GETIMPORTPROGRESSAUTHPLACEHOLDER']._serialized_start=35777 - _globals['_GETIMPORTPROGRESSAUTHPLACEHOLDER']._serialized_end=35848 - _globals['_LISTIMPORTSAUTHPLACEHOLDER']._serialized_start=35850 - _globals['_LISTIMPORTSAUTHPLACEHOLDER']._serialized_end=35940 - _globals['_RUNANALYZERREQUEST']._serialized_start=35943 - _globals['_RUNANALYZERREQUEST']._serialized_end=36179 - _globals['_ANALYZERTOKEN']._serialized_start=36182 - _globals['_ANALYZERTOKEN']._serialized_end=36311 - _globals['_ANALYZERRESULT']._serialized_start=36313 - _globals['_ANALYZERRESULT']._serialized_end=36381 - _globals['_RUNANALYZERRESPONSE']._serialized_start=36383 - _globals['_RUNANALYZERRESPONSE']._serialized_end=36503 - _globals['_FILERESOURCEINFO']._serialized_start=36505 - _globals['_FILERESOURCEINFO']._serialized_end=36563 - _globals['_ADDFILERESOURCEREQUEST']._serialized_start=36565 - _globals['_ADDFILERESOURCEREQUEST']._serialized_end=36681 - _globals['_REMOVEFILERESOURCEREQUEST']._serialized_start=36683 - _globals['_REMOVEFILERESOURCEREQUEST']._serialized_end=36788 - _globals['_LISTFILERESOURCESREQUEST']._serialized_start=36790 - _globals['_LISTFILERESOURCESREQUEST']._serialized_end=36880 - _globals['_LISTFILERESOURCESRESPONSE']._serialized_start=36883 - _globals['_LISTFILERESOURCESRESPONSE']._serialized_end=37013 - _globals['_ADDUSERTAGSREQUEST']._serialized_start=37016 - _globals['_ADDUSERTAGSREQUEST']._serialized_end=37220 - _globals['_ADDUSERTAGSREQUEST_TAGSENTRY']._serialized_start=37166 - _globals['_ADDUSERTAGSREQUEST_TAGSENTRY']._serialized_end=37209 - _globals['_DELETEUSERTAGSREQUEST']._serialized_start=37222 - _globals['_DELETEUSERTAGSREQUEST']._serialized_end=37337 - _globals['_GETUSERTAGSREQUEST']._serialized_start=37339 - _globals['_GETUSERTAGSREQUEST']._serialized_end=37433 - _globals['_GETUSERTAGSRESPONSE']._serialized_start=37436 - _globals['_GETUSERTAGSRESPONSE']._serialized_end=37613 - _globals['_GETUSERTAGSRESPONSE_TAGSENTRY']._serialized_start=37166 - _globals['_GETUSERTAGSRESPONSE_TAGSENTRY']._serialized_end=37209 - _globals['_LISTUSERSWITHTAGREQUEST']._serialized_start=37615 - _globals['_LISTUSERSWITHTAGREQUEST']._serialized_end=37740 - _globals['_LISTUSERSWITHTAGRESPONSE']._serialized_start=37742 - _globals['_LISTUSERSWITHTAGRESPONSE']._serialized_end=37833 - _globals['_CREATEROWPOLICYREQUEST']._serialized_start=37836 - _globals['_CREATEROWPOLICYREQUEST']._serialized_end=38107 - _globals['_DROPROWPOLICYREQUEST']._serialized_start=38110 - _globals['_DROPROWPOLICYREQUEST']._serialized_end=38248 - _globals['_LISTROWPOLICIESREQUEST']._serialized_start=38250 - _globals['_LISTROWPOLICIESREQUEST']._serialized_end=38369 - _globals['_ROWPOLICY']._serialized_start=38372 - _globals['_ROWPOLICY']._serialized_end=38555 - _globals['_LISTROWPOLICIESRESPONSE']._serialized_start=38558 - _globals['_LISTROWPOLICIESRESPONSE']._serialized_end=38720 - _globals['_UPDATEREPLICATECONFIGURATIONREQUEST']._serialized_start=38723 - _globals['_UPDATEREPLICATECONFIGURATIONREQUEST']._serialized_end=38881 - _globals['_GETREPLICATECONFIGURATIONREQUEST']._serialized_start=38883 - _globals['_GETREPLICATECONFIGURATIONREQUEST']._serialized_end=38937 - _globals['_GETREPLICATECONFIGURATIONRESPONSE']._serialized_start=38940 - _globals['_GETREPLICATECONFIGURATIONRESPONSE']._serialized_end=39088 - _globals['_GETREPLICATEINFOREQUEST']._serialized_start=39090 - _globals['_GETREPLICATEINFOREQUEST']._serialized_end=39167 - _globals['_GETREPLICATEINFORESPONSE']._serialized_start=39170 - _globals['_GETREPLICATEINFORESPONSE']._serialized_end=39328 - _globals['_REPLICATEMESSAGE']._serialized_start=39330 - _globals['_REPLICATEMESSAGE']._serialized_end=39431 - _globals['_REPLICATEREQUEST']._serialized_start=39433 - _globals['_REPLICATEREQUEST']._serialized_end=39530 - _globals['_REPLICATECONFIRMEDMESSAGEINFO']._serialized_start=39532 - _globals['_REPLICATECONFIRMEDMESSAGEINFO']._serialized_end=39592 - _globals['_REPLICATERESPONSE']._serialized_start=39594 - _globals['_REPLICATERESPONSE']._serialized_end=39721 - _globals['_DUMPMESSAGESREQUEST']._serialized_start=39724 - _globals['_DUMPMESSAGESREQUEST']._serialized_end=39898 - _globals['_DUMPMESSAGESRESPONSE']._serialized_start=39901 - _globals['_DUMPMESSAGESRESPONSE']._serialized_end=40040 - _globals['_TRUNCATECOLLECTIONREQUEST']._serialized_start=40043 - _globals['_TRUNCATECOLLECTIONREQUEST']._serialized_end=40176 - _globals['_TRUNCATECOLLECTIONRESPONSE']._serialized_start=40178 - _globals['_TRUNCATECOLLECTIONRESPONSE']._serialized_end=40251 - _globals['_COMPUTEPHRASEMATCHSLOPREQUEST']._serialized_start=40254 - _globals['_COMPUTEPHRASEMATCHSLOPREQUEST']._serialized_end=40394 - _globals['_COMPUTEPHRASEMATCHSLOPRESPONSE']._serialized_start=40396 - _globals['_COMPUTEPHRASEMATCHSLOPRESPONSE']._serialized_end=40506 - _globals['_CREATESNAPSHOTREQUEST']._serialized_start=40509 - _globals['_CREATESNAPSHOTREQUEST']._serialized_end=40701 - _globals['_DROPSNAPSHOTREQUEST']._serialized_start=40704 - _globals['_DROPSNAPSHOTREQUEST']._serialized_end=40834 - _globals['_LISTSNAPSHOTSREQUEST']._serialized_start=40836 - _globals['_LISTSNAPSHOTSREQUEST']._serialized_end=40953 - _globals['_LISTSNAPSHOTSRESPONSE']._serialized_start=40955 - _globals['_LISTSNAPSHOTSRESPONSE']._serialized_end=41042 - _globals['_DESCRIBESNAPSHOTREQUEST']._serialized_start=41045 - _globals['_DESCRIBESNAPSHOTREQUEST']._serialized_end=41179 - _globals['_DESCRIBESNAPSHOTRESPONSE']._serialized_start=41182 - _globals['_DESCRIBESNAPSHOTRESPONSE']._serialized_end=41378 - _globals['_RESTORESNAPSHOTREQUEST']._serialized_start=41381 - _globals['_RESTORESNAPSHOTREQUEST']._serialized_end=41592 - _globals['_RESTORESNAPSHOTRESPONSE']._serialized_start=41594 - _globals['_RESTORESNAPSHOTRESPONSE']._serialized_end=41680 - _globals['_RESTOREEXTERNALSNAPSHOTREQUEST']._serialized_start=41683 - _globals['_RESTOREEXTERNALSNAPSHOTREQUEST']._serialized_end=41882 - _globals['_RESTOREEXTERNALSNAPSHOTRESPONSE']._serialized_start=41884 - _globals['_RESTOREEXTERNALSNAPSHOTRESPONSE']._serialized_end=41978 - _globals['_EXPORTSNAPSHOTREQUEST']._serialized_start=41981 - _globals['_EXPORTSNAPSHOTREQUEST']._serialized_end=42171 - _globals['_EXPORTSNAPSHOTRESPONSE']._serialized_start=42173 - _globals['_EXPORTSNAPSHOTRESPONSE']._serialized_end=42273 - _globals['_RESTORESNAPSHOTINFO']._serialized_start=42276 - _globals['_RESTORESNAPSHOTINFO']._serialized_end=42509 - _globals['_GETRESTORESNAPSHOTSTATEREQUEST']._serialized_start=42511 - _globals['_GETRESTORESNAPSHOTSTATEREQUEST']._serialized_end=42603 - _globals['_GETRESTORESNAPSHOTSTATERESPONSE']._serialized_start=42606 - _globals['_GETRESTORESNAPSHOTSTATERESPONSE']._serialized_end=42740 - _globals['_LISTRESTORESNAPSHOTJOBSREQUEST']._serialized_start=42742 - _globals['_LISTRESTORESNAPSHOTJOBSREQUEST']._serialized_end=42869 - _globals['_LISTRESTORESNAPSHOTJOBSRESPONSE']._serialized_start=42872 - _globals['_LISTRESTORESNAPSHOTJOBSRESPONSE']._serialized_end=43006 - _globals['_PINSNAPSHOTDATAREQUEST']._serialized_start=43009 - _globals['_PINSNAPSHOTDATAREQUEST']._serialized_end=43174 - _globals['_PINSNAPSHOTDATARESPONSE']._serialized_start=43176 - _globals['_PINSNAPSHOTDATARESPONSE']._serialized_end=43262 - _globals['_UNPINSNAPSHOTDATAREQUEST']._serialized_start=43264 - _globals['_UNPINSNAPSHOTDATAREQUEST']._serialized_end=43370 - _globals['_ALTERCOLLECTIONSCHEMAREQUEST']._serialized_start=43373 - _globals['_ALTERCOLLECTIONSCHEMAREQUEST']._serialized_end=44249 - _globals['_ALTERCOLLECTIONSCHEMAREQUEST_FIELDINFO']._serialized_start=43588 - _globals['_ALTERCOLLECTIONSCHEMAREQUEST_FIELDINFO']._serialized_end=43732 - _globals['_ALTERCOLLECTIONSCHEMAREQUEST_ADDREQUEST']._serialized_start=43735 - _globals['_ALTERCOLLECTIONSCHEMAREQUEST_ADDREQUEST']._serialized_end=43917 - _globals['_ALTERCOLLECTIONSCHEMAREQUEST_DROPREQUEST']._serialized_start=43920 - _globals['_ALTERCOLLECTIONSCHEMAREQUEST_DROPREQUEST']._serialized_end=44051 - _globals['_ALTERCOLLECTIONSCHEMAREQUEST_ACTION']._serialized_start=44054 - _globals['_ALTERCOLLECTIONSCHEMAREQUEST_ACTION']._serialized_end=44240 - _globals['_ALTERCOLLECTIONSCHEMARESPONSE']._serialized_start=44251 - _globals['_ALTERCOLLECTIONSCHEMARESPONSE']._serialized_end=44333 - _globals['_BATCHUPDATEMANIFESTREQUEST']._serialized_start=44336 - _globals['_BATCHUPDATEMANIFESTREQUEST']._serialized_end=44541 - _globals['_BATCHUPDATEMANIFESTITEM']._serialized_start=44543 - _globals['_BATCHUPDATEMANIFESTITEM']._serialized_end=44614 - _globals['_CLIENTHEARTBEATREQUEST']._serialized_start=44617 - _globals['_CLIENTHEARTBEATREQUEST']._serialized_end=44890 - _globals['_CLIENTHEARTBEATRESPONSE']._serialized_start=44893 - _globals['_CLIENTHEARTBEATRESPONSE']._serialized_end=45043 - _globals['_GETCLIENTTELEMETRYREQUEST']._serialized_start=45045 - _globals['_GETCLIENTTELEMETRYREQUEST']._serialized_end=45134 - _globals['_CLIENTTELEMETRY']._serialized_start=45137 - _globals['_CLIENTTELEMETRY']._serialized_end=45328 - _globals['_GETCLIENTTELEMETRYRESPONSE']._serialized_start=45331 - _globals['_GETCLIENTTELEMETRYRESPONSE']._serialized_end=45509 - _globals['_PUSHCLIENTCOMMANDREQUEST']._serialized_start=45512 - _globals['_PUSHCLIENTCOMMANDREQUEST']._serialized_end=45669 - _globals['_PUSHCLIENTCOMMANDRESPONSE']._serialized_start=45671 - _globals['_PUSHCLIENTCOMMANDRESPONSE']._serialized_end=45763 - _globals['_DELETECLIENTCOMMANDREQUEST']._serialized_start=45765 - _globals['_DELETECLIENTCOMMANDREQUEST']._serialized_end=45813 - _globals['_DELETECLIENTCOMMANDRESPONSE']._serialized_start=45815 - _globals['_DELETECLIENTCOMMANDRESPONSE']._serialized_end=45889 - _globals['_REFRESHEXTERNALCOLLECTIONREQUEST']._serialized_start=45892 - _globals['_REFRESHEXTERNALCOLLECTIONREQUEST']._serialized_end=46069 - _globals['_REFRESHEXTERNALCOLLECTIONRESPONSE']._serialized_start=46071 - _globals['_REFRESHEXTERNALCOLLECTIONRESPONSE']._serialized_end=46167 - _globals['_GETREFRESHEXTERNALCOLLECTIONPROGRESSREQUEST']._serialized_start=46169 - _globals['_GETREFRESHEXTERNALCOLLECTIONPROGRESSREQUEST']._serialized_end=46274 - _globals['_REFRESHEXTERNALCOLLECTIONJOBINFO']._serialized_start=46277 - _globals['_REFRESHEXTERNALCOLLECTIONJOBINFO']._serialized_end=46540 - _globals['_GETREFRESHEXTERNALCOLLECTIONPROGRESSRESPONSE']._serialized_start=46543 - _globals['_GETREFRESHEXTERNALCOLLECTIONPROGRESSRESPONSE']._serialized_end=46707 - _globals['_LISTREFRESHEXTERNALCOLLECTIONJOBSREQUEST']._serialized_start=46710 - _globals['_LISTREFRESHEXTERNALCOLLECTIONJOBSREQUEST']._serialized_end=46838 - _globals['_LISTREFRESHEXTERNALCOLLECTIONJOBSRESPONSE']._serialized_start=46841 - _globals['_LISTREFRESHEXTERNALCOLLECTIONJOBSRESPONSE']._serialized_end=46998 - _globals['_MILVUSSERVICE']._serialized_start=47938 - _globals['_MILVUSSERVICE']._serialized_end=63103 - _globals['_CLIENTTELEMETRYSERVICE']._serialized_start=63106 - _globals['_CLIENTTELEMETRYSERVICE']._serialized_end=63605 - _globals['_PROXYSERVICE']._serialized_start=63607 - _globals['_PROXYSERVICE']._serialized_end=63724 + _globals['_INSERTREQUEST']._serialized_end=12052 + _globals['_ADDCOLLECTIONFIELDREQUEST']._serialized_start=12055 + _globals['_ADDCOLLECTIONFIELDREQUEST']._serialized_end=12215 + _globals['_ADDCOLLECTIONSTRUCTFIELDREQUEST']._serialized_start=12218 + _globals['_ADDCOLLECTIONSTRUCTFIELDREQUEST']._serialized_end=12448 + _globals['_ADDCOLLECTIONFUNCTIONREQUEST']._serialized_start=12451 + _globals['_ADDCOLLECTIONFUNCTIONREQUEST']._serialized_end=12670 + _globals['_ALTERCOLLECTIONFUNCTIONREQUEST']._serialized_start=12673 + _globals['_ALTERCOLLECTIONFUNCTIONREQUEST']._serialized_end=12917 + _globals['_DROPCOLLECTIONFUNCTIONREQUEST']._serialized_start=12920 + _globals['_DROPCOLLECTIONFUNCTIONREQUEST']._serialized_end=13102 + _globals['_UPSERTREQUEST']._serialized_start=13105 + _globals['_UPSERTREQUEST']._serialized_end=13520 + _globals['_MUTATIONRESULT']._serialized_start=13523 + _globals['_MUTATIONRESULT']._serialized_end=13763 + _globals['_DELETEREQUEST']._serialized_start=13766 + _globals['_DELETEREQUEST']._serialized_end=14263 + _globals['_DELETEREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_start=14147 + _globals['_DELETEREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_end=14240 + _globals['_SUBSEARCHREQUEST']._serialized_start=14266 + _globals['_SUBSEARCHREQUEST']._serialized_end=14668 + _globals['_SUBSEARCHREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_start=14147 + _globals['_SUBSEARCHREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_end=14240 + _globals['_SEARCHREQUEST']._serialized_start=14671 + _globals['_SEARCHREQUEST']._serialized_end=15834 + _globals['_SEARCHREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_start=14147 + _globals['_SEARCHREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_end=14240 + _globals['_HITS']._serialized_start=15836 + _globals['_HITS']._serialized_end=15889 + _globals['_SEARCHRESULTS']._serialized_start=15892 + _globals['_SEARCHRESULTS']._serialized_end=16053 + _globals['_HYBRIDSEARCHREQUEST']._serialized_start=16056 + _globals['_HYBRIDSEARCHREQUEST']._serialized_end=16713 + _globals['_FLUSHREQUEST']._serialized_start=16715 + _globals['_FLUSHREQUEST']._serialized_end=16825 + _globals['_FLUSHRESPONSE']._serialized_start=16828 + _globals['_FLUSHRESPONSE']._serialized_end=17650 + _globals['_FLUSHRESPONSE_COLLSEGIDSENTRY']._serialized_start=17293 + _globals['_FLUSHRESPONSE_COLLSEGIDSENTRY']._serialized_end=17374 + _globals['_FLUSHRESPONSE_FLUSHCOLLSEGIDSENTRY']._serialized_start=17376 + _globals['_FLUSHRESPONSE_FLUSHCOLLSEGIDSENTRY']._serialized_end=17462 + _globals['_FLUSHRESPONSE_COLLSEALTIMESENTRY']._serialized_start=17464 + _globals['_FLUSHRESPONSE_COLLSEALTIMESENTRY']._serialized_end=17516 + _globals['_FLUSHRESPONSE_COLLFLUSHTSENTRY']._serialized_start=17518 + _globals['_FLUSHRESPONSE_COLLFLUSHTSENTRY']._serialized_end=17568 + _globals['_FLUSHRESPONSE_CHANNELCPSENTRY']._serialized_start=17570 + _globals['_FLUSHRESPONSE_CHANNELCPSENTRY']._serialized_end=17650 + _globals['_QUERYREQUEST']._serialized_start=17653 + _globals['_QUERYREQUEST']._serialized_end=18327 + _globals['_QUERYREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_start=14147 + _globals['_QUERYREQUEST_EXPRTEMPLATEVALUESENTRY']._serialized_end=14240 + _globals['_ELEMENTINDICES']._serialized_start=18329 + _globals['_ELEMENTINDICES']._serialized_end=18394 + _globals['_QUERYRESULTS']._serialized_start=18397 + _globals['_QUERYRESULTS']._serialized_end=18667 + _globals['_QUERYCURSOR']._serialized_start=18669 + _globals['_QUERYCURSOR']._serialized_end=18751 + _globals['_VECTORIDS']._serialized_start=18753 + _globals['_VECTORIDS']._serialized_end=18878 + _globals['_VECTORSARRAY']._serialized_start=18881 + _globals['_VECTORSARRAY']._serialized_end=19012 + _globals['_CALCDISTANCEREQUEST']._serialized_start=19015 + _globals['_CALCDISTANCEREQUEST']._serialized_end=19236 + _globals['_CALCDISTANCERESULTS']._serialized_start=19239 + _globals['_CALCDISTANCERESULTS']._serialized_end=19420 + _globals['_FLUSHALLTARGET']._serialized_start=19422 + _globals['_FLUSHALLTARGET']._serialized_end=19481 + _globals['_FLUSHALLREQUEST']._serialized_start=19484 + _globals['_FLUSHALLREQUEST']._serialized_end=19650 + _globals['_CLUSTERINFO']._serialized_start=19652 + _globals['_CLUSTERINFO']._serialized_end=19722 + _globals['_FLUSHALLRESPONSE']._serialized_start=19725 + _globals['_FLUSHALLRESPONSE']._serialized_end=20107 + _globals['_FLUSHALLRESPONSE_FLUSHALLMSGSENTRY']._serialized_start=20017 + _globals['_FLUSHALLRESPONSE_FLUSHALLMSGSENTRY']._serialized_end=20107 + _globals['_FLUSHALLRESULT']._serialized_start=20109 + _globals['_FLUSHALLRESULT']._serialized_end=20214 + _globals['_FLUSHCOLLECTIONRESULT']._serialized_start=20217 + _globals['_FLUSHCOLLECTIONRESULT']._serialized_end=20577 + _globals['_FLUSHCOLLECTIONRESULT_CHANNELCPSENTRY']._serialized_start=17570 + _globals['_FLUSHCOLLECTIONRESULT_CHANNELCPSENTRY']._serialized_end=17650 + _globals['_PERSISTENTSEGMENTINFO']._serialized_start=20580 + _globals['_PERSISTENTSEGMENTINFO']._serialized_end=20827 + _globals['_GETPERSISTENTSEGMENTINFOREQUEST']._serialized_start=20829 + _globals['_GETPERSISTENTSEGMENTINFOREQUEST']._serialized_end=20946 + _globals['_GETPERSISTENTSEGMENTINFORESPONSE']._serialized_start=20949 + _globals['_GETPERSISTENTSEGMENTINFORESPONSE']._serialized_end=21087 + _globals['_QUERYSEGMENTINFO']._serialized_start=21090 + _globals['_QUERYSEGMENTINFO']._serialized_end=21424 + _globals['_GETQUERYSEGMENTINFOREQUEST']._serialized_start=21426 + _globals['_GETQUERYSEGMENTINFOREQUEST']._serialized_end=21538 + _globals['_GETQUERYSEGMENTINFORESPONSE']._serialized_start=21541 + _globals['_GETQUERYSEGMENTINFORESPONSE']._serialized_end=21669 + _globals['_DUMMYREQUEST']._serialized_start=21671 + _globals['_DUMMYREQUEST']._serialized_end=21707 + _globals['_DUMMYRESPONSE']._serialized_start=21709 + _globals['_DUMMYRESPONSE']._serialized_end=21742 + _globals['_REGISTERLINKREQUEST']._serialized_start=21744 + _globals['_REGISTERLINKREQUEST']._serialized_end=21765 + _globals['_REGISTERLINKRESPONSE']._serialized_start=21767 + _globals['_REGISTERLINKRESPONSE']._serialized_end=21881 + _globals['_GETMETRICSREQUEST']._serialized_start=21883 + _globals['_GETMETRICSREQUEST']._serialized_end=21963 + _globals['_GETMETRICSRESPONSE']._serialized_start=21965 + _globals['_GETMETRICSRESPONSE']._serialized_end=22072 + _globals['_COMPONENTINFO']._serialized_start=22075 + _globals['_COMPONENTINFO']._serialized_end=22227 + _globals['_COMPONENTSTATES']._serialized_start=22230 + _globals['_COMPONENTSTATES']._serialized_end=22408 + _globals['_GETCOMPONENTSTATESREQUEST']._serialized_start=22410 + _globals['_GETCOMPONENTSTATESREQUEST']._serialized_end=22437 + _globals['_LOADBALANCEREQUEST']._serialized_start=22440 + _globals['_LOADBALANCEREQUEST']._serialized_end=22622 + _globals['_MANUALCOMPACTIONREQUEST']._serialized_start=22625 + _globals['_MANUALCOMPACTIONREQUEST']._serialized_end=22871 + _globals['_MANUALCOMPACTIONRESPONSE']._serialized_start=22873 + _globals['_MANUALCOMPACTIONRESPONSE']._serialized_end=22995 + _globals['_GETCOMPACTIONSTATEREQUEST']._serialized_start=22997 + _globals['_GETCOMPACTIONSTATEREQUEST']._serialized_end=23046 + _globals['_GETCOMPACTIONSTATERESPONSE']._serialized_start=23049 + _globals['_GETCOMPACTIONSTATERESPONSE']._serialized_end=23270 + _globals['_GETCOMPACTIONPLANSREQUEST']._serialized_start=23272 + _globals['_GETCOMPACTIONPLANSREQUEST']._serialized_end=23321 + _globals['_GETCOMPACTIONPLANSRESPONSE']._serialized_start=23324 + _globals['_GETCOMPACTIONPLANSRESPONSE']._serialized_end=23512 + _globals['_COMPACTIONMERGEINFO']._serialized_start=23514 + _globals['_COMPACTIONMERGEINFO']._serialized_end=23568 + _globals['_GETFLUSHSTATEREQUEST']._serialized_start=23570 + _globals['_GETFLUSHSTATEREQUEST']._serialized_end=23681 + _globals['_GETFLUSHSTATERESPONSE']._serialized_start=23683 + _globals['_GETFLUSHSTATERESPONSE']._serialized_end=23768 + _globals['_GETFLUSHALLSTATEREQUEST']._serialized_start=23771 + _globals['_GETFLUSHALLSTATEREQUEST']._serialized_end=24089 + _globals['_GETFLUSHALLSTATEREQUEST_FLUSHALLTSSENTRY']._serialized_start=24039 + _globals['_GETFLUSHALLSTATEREQUEST_FLUSHALLTSSENTRY']._serialized_end=24089 + _globals['_GETFLUSHALLSTATERESPONSE']._serialized_start=24092 + _globals['_GETFLUSHALLSTATERESPONSE']._serialized_end=24242 + _globals['_FLUSHALLSTATE']._serialized_start=24245 + _globals['_FLUSHALLSTATE']._serialized_end=24435 + _globals['_FLUSHALLSTATE_COLLECTIONFLUSHSTATESENTRY']._serialized_start=24375 + _globals['_FLUSHALLSTATE_COLLECTIONFLUSHSTATESENTRY']._serialized_end=24435 + _globals['_IMPORTREQUEST']._serialized_start=24438 + _globals['_IMPORTREQUEST']._serialized_end=24662 + _globals['_IMPORTRESPONSE']._serialized_start=24664 + _globals['_IMPORTRESPONSE']._serialized_end=24740 + _globals['_GETIMPORTSTATEREQUEST']._serialized_start=24742 + _globals['_GETIMPORTSTATEREQUEST']._serialized_end=24779 + _globals['_GETIMPORTSTATERESPONSE']._serialized_start=24782 + _globals['_GETIMPORTSTATERESPONSE']._serialized_end=25061 + _globals['_LISTIMPORTTASKSREQUEST']._serialized_start=25063 + _globals['_LISTIMPORTTASKSREQUEST']._serialized_end=25144 + _globals['_LISTIMPORTTASKSRESPONSE']._serialized_start=25147 + _globals['_LISTIMPORTTASKSRESPONSE']._serialized_end=25277 + _globals['_GETREPLICASREQUEST']._serialized_start=25280 + _globals['_GETREPLICASREQUEST']._serialized_end=25434 + _globals['_GETREPLICASRESPONSE']._serialized_start=25436 + _globals['_GETREPLICASRESPONSE']._serialized_end=25554 + _globals['_REPLICAINFO']._serialized_start=25557 + _globals['_REPLICAINFO']._serialized_end=25878 + _globals['_REPLICAINFO_NUMOUTBOUNDNODEENTRY']._serialized_start=25824 + _globals['_REPLICAINFO_NUMOUTBOUNDNODEENTRY']._serialized_end=25878 + _globals['_SHARDREPLICA']._serialized_start=25880 + _globals['_SHARDREPLICA']._serialized_end=25976 + _globals['_CREATECREDENTIALREQUEST']._serialized_start=25979 + _globals['_CREATECREDENTIALREQUEST']._serialized_end=26211 + _globals['_UPDATECREDENTIALREQUEST']._serialized_start=26214 + _globals['_UPDATECREDENTIALREQUEST']._serialized_end=26461 + _globals['_DELETECREDENTIALREQUEST']._serialized_start=26463 + _globals['_DELETECREDENTIALREQUEST']._serialized_end=26570 + _globals['_LISTCREDUSERSRESPONSE']._serialized_start=26572 + _globals['_LISTCREDUSERSRESPONSE']._serialized_end=26659 + _globals['_LISTCREDUSERSREQUEST']._serialized_start=26661 + _globals['_LISTCREDUSERSREQUEST']._serialized_end=26747 + _globals['_ROLEENTITY']._serialized_start=26749 + _globals['_ROLEENTITY']._serialized_end=26796 + _globals['_USERENTITY']._serialized_start=26798 + _globals['_USERENTITY']._serialized_end=26824 + _globals['_CREATEROLEREQUEST']._serialized_start=26827 + _globals['_CREATEROLEREQUEST']._serialized_end=26959 + _globals['_ALTERROLEREQUEST']._serialized_start=26961 + _globals['_ALTERROLEREQUEST']._serialized_end=27083 + _globals['_DROPROLEREQUEST']._serialized_start=27085 + _globals['_DROPROLEREQUEST']._serialized_end=27205 + _globals['_CREATEPRIVILEGEGROUPREQUEST']._serialized_start=27207 + _globals['_CREATEPRIVILEGEGROUPREQUEST']._serialized_end=27320 + _globals['_DROPPRIVILEGEGROUPREQUEST']._serialized_start=27322 + _globals['_DROPPRIVILEGEGROUPREQUEST']._serialized_end=27433 + _globals['_LISTPRIVILEGEGROUPSREQUEST']._serialized_start=27435 + _globals['_LISTPRIVILEGEGROUPSREQUEST']._serialized_end=27527 + _globals['_LISTPRIVILEGEGROUPSRESPONSE']._serialized_start=27530 + _globals['_LISTPRIVILEGEGROUPSRESPONSE']._serialized_end=27671 + _globals['_OPERATEPRIVILEGEGROUPREQUEST']._serialized_start=27674 + _globals['_OPERATEPRIVILEGEGROUPREQUEST']._serialized_end=27908 + _globals['_OPERATEUSERROLEREQUEST']._serialized_start=27911 + _globals['_OPERATEUSERROLEREQUEST']._serialized_end=28092 + _globals['_PRIVILEGEGROUPINFO']._serialized_start=28094 + _globals['_PRIVILEGEGROUPINFO']._serialized_end=28192 + _globals['_SELECTROLEREQUEST']._serialized_start=28195 + _globals['_SELECTROLEREQUEST']._serialized_end=28352 + _globals['_ROLERESULT']._serialized_start=28354 + _globals['_ROLERESULT']._serialized_end=28461 + _globals['_SELECTROLERESPONSE']._serialized_start=28463 + _globals['_SELECTROLERESPONSE']._serialized_end=28578 + _globals['_SELECTUSERREQUEST']._serialized_start=28581 + _globals['_SELECTUSERREQUEST']._serialized_end=28729 + _globals['_USERRESULT']._serialized_start=28732 + _globals['_USERRESULT']._serialized_end=28860 + _globals['_SELECTUSERRESPONSE']._serialized_start=28862 + _globals['_SELECTUSERRESPONSE']._serialized_end=28977 + _globals['_OBJECTENTITY']._serialized_start=28979 + _globals['_OBJECTENTITY']._serialized_end=29007 + _globals['_PRIVILEGEENTITY']._serialized_start=29009 + _globals['_PRIVILEGEENTITY']._serialized_end=29040 + _globals['_GRANTORENTITY']._serialized_start=29042 + _globals['_GRANTORENTITY']._serialized_end=29161 + _globals['_GRANTPRIVILEGEENTITY']._serialized_start=29163 + _globals['_GRANTPRIVILEGEENTITY']._serialized_end=29239 + _globals['_GRANTENTITY']._serialized_start=29242 + _globals['_GRANTENTITY']._serialized_end=29444 + _globals['_SELECTGRANTREQUEST']._serialized_start=29447 + _globals['_SELECTGRANTREQUEST']._serialized_end=29581 + _globals['_SELECTGRANTRESPONSE']._serialized_start=29583 + _globals['_SELECTGRANTRESPONSE']._serialized_end=29701 + _globals['_OPERATEPRIVILEGEREQUEST']._serialized_start=29704 + _globals['_OPERATEPRIVILEGEREQUEST']._serialized_end=29917 + _globals['_OPERATEPRIVILEGEV2REQUEST']._serialized_start=29920 + _globals['_OPERATEPRIVILEGEV2REQUEST']._serialized_end=30210 + _globals['_USERINFO']._serialized_start=30212 + _globals['_USERINFO']._serialized_end=30302 + _globals['_RBACMETA']._serialized_start=30305 + _globals['_RBACMETA']._serialized_end=30526 + _globals['_BACKUPRBACMETAREQUEST']._serialized_start=30528 + _globals['_BACKUPRBACMETAREQUEST']._serialized_end=30615 + _globals['_BACKUPRBACMETARESPONSE']._serialized_start=30617 + _globals['_BACKUPRBACMETARESPONSE']._serialized_end=30736 + _globals['_RESTORERBACMETAREQUEST']._serialized_start=30739 + _globals['_RESTORERBACMETAREQUEST']._serialized_end=30877 + _globals['_GETLOADINGPROGRESSREQUEST']._serialized_start=30880 + _globals['_GETLOADINGPROGRESSREQUEST']._serialized_end=31027 + _globals['_GETLOADINGPROGRESSRESPONSE']._serialized_start=31029 + _globals['_GETLOADINGPROGRESSRESPONSE']._serialized_end=31146 + _globals['_GETLOADSTATEREQUEST']._serialized_start=31149 + _globals['_GETLOADSTATEREQUEST']._serialized_end=31290 + _globals['_GETLOADSTATERESPONSE']._serialized_start=31292 + _globals['_GETLOADSTATERESPONSE']._serialized_end=31406 + _globals['_MILVUSEXT']._serialized_start=31408 + _globals['_MILVUSEXT']._serialized_end=31436 + _globals['_GETVERSIONREQUEST']._serialized_start=31438 + _globals['_GETVERSIONREQUEST']._serialized_end=31457 + _globals['_GETVERSIONRESPONSE']._serialized_start=31459 + _globals['_GETVERSIONRESPONSE']._serialized_end=31541 + _globals['_CHECKHEALTHREQUEST']._serialized_start=31543 + _globals['_CHECKHEALTHREQUEST']._serialized_end=31563 + _globals['_CHECKHEALTHRESPONSE']._serialized_start=31566 + _globals['_CHECKHEALTHRESPONSE']._serialized_end=31723 + _globals['_CREATERESOURCEGROUPREQUEST']._serialized_start=31726 + _globals['_CREATERESOURCEGROUPREQUEST']._serialized_end=31896 + _globals['_UPDATERESOURCEGROUPSREQUEST']._serialized_start=31899 + _globals['_UPDATERESOURCEGROUPSREQUEST']._serialized_end=32180 + _globals['_UPDATERESOURCEGROUPSREQUEST_RESOURCEGROUPSENTRY']._serialized_start=32069 + _globals['_UPDATERESOURCEGROUPSREQUEST_RESOURCEGROUPSENTRY']._serialized_end=32160 + _globals['_DROPRESOURCEGROUPREQUEST']._serialized_start=32182 + _globals['_DROPRESOURCEGROUPREQUEST']._serialized_end=32296 + _globals['_TRANSFERNODEREQUEST']._serialized_start=32299 + _globals['_TRANSFERNODEREQUEST']._serialized_end=32464 + _globals['_TRANSFERREPLICAREQUEST']._serialized_start=32467 + _globals['_TRANSFERREPLICAREQUEST']._serialized_end=32680 + _globals['_LISTRESOURCEGROUPSREQUEST']._serialized_start=32682 + _globals['_LISTRESOURCEGROUPSREQUEST']._serialized_end=32773 + _globals['_LISTRESOURCEGROUPSRESPONSE']._serialized_start=32775 + _globals['_LISTRESOURCEGROUPSRESPONSE']._serialized_end=32873 + _globals['_DESCRIBERESOURCEGROUPREQUEST']._serialized_start=32875 + _globals['_DESCRIBERESOURCEGROUPREQUEST']._serialized_end=32993 + _globals['_DESCRIBERESOURCEGROUPRESPONSE']._serialized_start=32996 + _globals['_DESCRIBERESOURCEGROUPRESPONSE']._serialized_end=33132 + _globals['_RESOURCEGROUP']._serialized_start=33135 + _globals['_RESOURCEGROUP']._serialized_end=33733 + _globals['_RESOURCEGROUP_NUMLOADEDREPLICAENTRY']._serialized_start=33566 + _globals['_RESOURCEGROUP_NUMLOADEDREPLICAENTRY']._serialized_end=33621 + _globals['_RESOURCEGROUP_NUMOUTGOINGNODEENTRY']._serialized_start=33623 + _globals['_RESOURCEGROUP_NUMOUTGOINGNODEENTRY']._serialized_end=33677 + _globals['_RESOURCEGROUP_NUMINCOMINGNODEENTRY']._serialized_start=33679 + _globals['_RESOURCEGROUP_NUMINCOMINGNODEENTRY']._serialized_end=33733 + _globals['_RENAMECOLLECTIONREQUEST']._serialized_start=33736 + _globals['_RENAMECOLLECTIONREQUEST']._serialized_end=33895 + _globals['_GETINDEXSTATISTICSREQUEST']._serialized_start=33898 + _globals['_GETINDEXSTATISTICSREQUEST']._serialized_end=34059 + _globals['_GETINDEXSTATISTICSRESPONSE']._serialized_start=34062 + _globals['_GETINDEXSTATISTICSRESPONSE']._serialized_end=34202 + _globals['_CONNECTREQUEST']._serialized_start=34204 + _globals['_CONNECTREQUEST']._serialized_end=34318 + _globals['_CONNECTRESPONSE']._serialized_start=34321 + _globals['_CONNECTRESPONSE']._serialized_end=34457 + _globals['_ALLOCTIMESTAMPREQUEST']._serialized_start=34459 + _globals['_ALLOCTIMESTAMPREQUEST']._serialized_end=34526 + _globals['_ALLOCTIMESTAMPRESPONSE']._serialized_start=34528 + _globals['_ALLOCTIMESTAMPRESPONSE']._serialized_end=34616 + _globals['_CREATEDATABASEREQUEST']._serialized_start=34619 + _globals['_CREATEDATABASEREQUEST']._serialized_end=34778 + _globals['_DROPDATABASEREQUEST']._serialized_start=34780 + _globals['_DROPDATABASEREQUEST']._serialized_end=34882 + _globals['_LISTDATABASESREQUEST']._serialized_start=34884 + _globals['_LISTDATABASESREQUEST']._serialized_end=34950 + _globals['_LISTDATABASESRESPONSE']._serialized_start=34953 + _globals['_LISTDATABASESRESPONSE']._serialized_end=35082 + _globals['_ALTERDATABASEREQUEST']._serialized_start=35085 + _globals['_ALTERDATABASEREQUEST']._serialized_end=35279 + _globals['_DESCRIBEDATABASEREQUEST']._serialized_start=35281 + _globals['_DESCRIBEDATABASEREQUEST']._serialized_end=35387 + _globals['_DESCRIBEDATABASERESPONSE']._serialized_start=35390 + _globals['_DESCRIBEDATABASERESPONSE']._serialized_end=35574 + _globals['_REPLICATEMESSAGEREQUEST']._serialized_start=35577 + _globals['_REPLICATEMESSAGEREQUEST']._serialized_end=35826 + _globals['_REPLICATEMESSAGERESPONSE']._serialized_start=35828 + _globals['_REPLICATEMESSAGERESPONSE']._serialized_end=35921 + _globals['_IMPORTAUTHPLACEHOLDER']._serialized_start=35923 + _globals['_IMPORTAUTHPLACEHOLDER']._serialized_end=36021 + _globals['_GETIMPORTPROGRESSAUTHPLACEHOLDER']._serialized_start=36023 + _globals['_GETIMPORTPROGRESSAUTHPLACEHOLDER']._serialized_end=36094 + _globals['_LISTIMPORTSAUTHPLACEHOLDER']._serialized_start=36096 + _globals['_LISTIMPORTSAUTHPLACEHOLDER']._serialized_end=36186 + _globals['_RUNANALYZERREQUEST']._serialized_start=36189 + _globals['_RUNANALYZERREQUEST']._serialized_end=36425 + _globals['_ANALYZERTOKEN']._serialized_start=36428 + _globals['_ANALYZERTOKEN']._serialized_end=36557 + _globals['_ANALYZERRESULT']._serialized_start=36559 + _globals['_ANALYZERRESULT']._serialized_end=36627 + _globals['_RUNANALYZERRESPONSE']._serialized_start=36629 + _globals['_RUNANALYZERRESPONSE']._serialized_end=36749 + _globals['_FILERESOURCEINFO']._serialized_start=36751 + _globals['_FILERESOURCEINFO']._serialized_end=36809 + _globals['_ADDFILERESOURCEREQUEST']._serialized_start=36811 + _globals['_ADDFILERESOURCEREQUEST']._serialized_end=36927 + _globals['_REMOVEFILERESOURCEREQUEST']._serialized_start=36929 + _globals['_REMOVEFILERESOURCEREQUEST']._serialized_end=37034 + _globals['_LISTFILERESOURCESREQUEST']._serialized_start=37036 + _globals['_LISTFILERESOURCESREQUEST']._serialized_end=37126 + _globals['_LISTFILERESOURCESRESPONSE']._serialized_start=37129 + _globals['_LISTFILERESOURCESRESPONSE']._serialized_end=37259 + _globals['_ADDUSERTAGSREQUEST']._serialized_start=37262 + _globals['_ADDUSERTAGSREQUEST']._serialized_end=37466 + _globals['_ADDUSERTAGSREQUEST_TAGSENTRY']._serialized_start=37412 + _globals['_ADDUSERTAGSREQUEST_TAGSENTRY']._serialized_end=37455 + _globals['_DELETEUSERTAGSREQUEST']._serialized_start=37468 + _globals['_DELETEUSERTAGSREQUEST']._serialized_end=37583 + _globals['_GETUSERTAGSREQUEST']._serialized_start=37585 + _globals['_GETUSERTAGSREQUEST']._serialized_end=37679 + _globals['_GETUSERTAGSRESPONSE']._serialized_start=37682 + _globals['_GETUSERTAGSRESPONSE']._serialized_end=37859 + _globals['_GETUSERTAGSRESPONSE_TAGSENTRY']._serialized_start=37412 + _globals['_GETUSERTAGSRESPONSE_TAGSENTRY']._serialized_end=37455 + _globals['_LISTUSERSWITHTAGREQUEST']._serialized_start=37861 + _globals['_LISTUSERSWITHTAGREQUEST']._serialized_end=37986 + _globals['_LISTUSERSWITHTAGRESPONSE']._serialized_start=37988 + _globals['_LISTUSERSWITHTAGRESPONSE']._serialized_end=38079 + _globals['_CREATEROWPOLICYREQUEST']._serialized_start=38082 + _globals['_CREATEROWPOLICYREQUEST']._serialized_end=38395 + _globals['_DROPROWPOLICYREQUEST']._serialized_start=38398 + _globals['_DROPROWPOLICYREQUEST']._serialized_end=38536 + _globals['_UPDATEROWPOLICYREQUEST']._serialized_start=38539 + _globals['_UPDATEROWPOLICYREQUEST']._serialized_end=38852 + _globals['_LISTROWPOLICIESREQUEST']._serialized_start=38854 + _globals['_LISTROWPOLICIESREQUEST']._serialized_end=38973 + _globals['_ROWPOLICY']._serialized_start=38976 + _globals['_ROWPOLICY']._serialized_end=39200 + _globals['_LISTROWPOLICIESRESPONSE']._serialized_start=39203 + _globals['_LISTROWPOLICIESRESPONSE']._serialized_end=39365 + _globals['_SETRLSPRINCIPALTAGSREQUEST']._serialized_start=39368 + _globals['_SETRLSPRINCIPALTAGSREQUEST']._serialized_end=39633 + _globals['_SETRLSPRINCIPALTAGSREQUEST_TAGSENTRY']._serialized_start=37412 + _globals['_SETRLSPRINCIPALTAGSREQUEST_TAGSENTRY']._serialized_end=37455 + _globals['_GETRLSPRINCIPALTAGSREQUEST']._serialized_start=39636 + _globals['_GETRLSPRINCIPALTAGSREQUEST']._serialized_end=39783 + _globals['_GETRLSPRINCIPALTAGSRESPONSE']._serialized_start=39786 + _globals['_GETRLSPRINCIPALTAGSRESPONSE']._serialized_end=40045 + _globals['_GETRLSPRINCIPALTAGSRESPONSE_TAGSENTRY']._serialized_start=37412 + _globals['_GETRLSPRINCIPALTAGSRESPONSE_TAGSENTRY']._serialized_end=37455 + _globals['_LISTRLSPRINCIPALSREQUEST']._serialized_start=40047 + _globals['_LISTRLSPRINCIPALSREQUEST']._serialized_end=40168 + _globals['_LISTRLSPRINCIPALSRESPONSE']._serialized_start=40171 + _globals['_LISTRLSPRINCIPALSRESPONSE']._serialized_end=40310 + _globals['_DELETERLSPRINCIPALTAGSREQUEST']._serialized_start=40313 + _globals['_DELETERLSPRINCIPALTAGSREQUEST']._serialized_end=40481 + _globals['_UPDATEREPLICATECONFIGURATIONREQUEST']._serialized_start=40484 + _globals['_UPDATEREPLICATECONFIGURATIONREQUEST']._serialized_end=40642 + _globals['_GETREPLICATECONFIGURATIONREQUEST']._serialized_start=40644 + _globals['_GETREPLICATECONFIGURATIONREQUEST']._serialized_end=40698 + _globals['_GETREPLICATECONFIGURATIONRESPONSE']._serialized_start=40701 + _globals['_GETREPLICATECONFIGURATIONRESPONSE']._serialized_end=40849 + _globals['_GETREPLICATEINFOREQUEST']._serialized_start=40851 + _globals['_GETREPLICATEINFOREQUEST']._serialized_end=40928 + _globals['_GETREPLICATEINFORESPONSE']._serialized_start=40931 + _globals['_GETREPLICATEINFORESPONSE']._serialized_end=41089 + _globals['_REPLICATEMESSAGE']._serialized_start=41091 + _globals['_REPLICATEMESSAGE']._serialized_end=41192 + _globals['_REPLICATEREQUEST']._serialized_start=41194 + _globals['_REPLICATEREQUEST']._serialized_end=41291 + _globals['_REPLICATECONFIRMEDMESSAGEINFO']._serialized_start=41293 + _globals['_REPLICATECONFIRMEDMESSAGEINFO']._serialized_end=41353 + _globals['_REPLICATERESPONSE']._serialized_start=41355 + _globals['_REPLICATERESPONSE']._serialized_end=41482 + _globals['_DUMPMESSAGESREQUEST']._serialized_start=41485 + _globals['_DUMPMESSAGESREQUEST']._serialized_end=41659 + _globals['_DUMPMESSAGESRESPONSE']._serialized_start=41662 + _globals['_DUMPMESSAGESRESPONSE']._serialized_end=41801 + _globals['_TRUNCATECOLLECTIONREQUEST']._serialized_start=41804 + _globals['_TRUNCATECOLLECTIONREQUEST']._serialized_end=41937 + _globals['_TRUNCATECOLLECTIONRESPONSE']._serialized_start=41939 + _globals['_TRUNCATECOLLECTIONRESPONSE']._serialized_end=42012 + _globals['_COMPUTEPHRASEMATCHSLOPREQUEST']._serialized_start=42015 + _globals['_COMPUTEPHRASEMATCHSLOPREQUEST']._serialized_end=42155 + _globals['_COMPUTEPHRASEMATCHSLOPRESPONSE']._serialized_start=42157 + _globals['_COMPUTEPHRASEMATCHSLOPRESPONSE']._serialized_end=42267 + _globals['_CREATESNAPSHOTREQUEST']._serialized_start=42270 + _globals['_CREATESNAPSHOTREQUEST']._serialized_end=42462 + _globals['_DROPSNAPSHOTREQUEST']._serialized_start=42465 + _globals['_DROPSNAPSHOTREQUEST']._serialized_end=42595 + _globals['_LISTSNAPSHOTSREQUEST']._serialized_start=42597 + _globals['_LISTSNAPSHOTSREQUEST']._serialized_end=42714 + _globals['_LISTSNAPSHOTSRESPONSE']._serialized_start=42716 + _globals['_LISTSNAPSHOTSRESPONSE']._serialized_end=42803 + _globals['_DESCRIBESNAPSHOTREQUEST']._serialized_start=42806 + _globals['_DESCRIBESNAPSHOTREQUEST']._serialized_end=42940 + _globals['_DESCRIBESNAPSHOTRESPONSE']._serialized_start=42943 + _globals['_DESCRIBESNAPSHOTRESPONSE']._serialized_end=43139 + _globals['_RESTORESNAPSHOTREQUEST']._serialized_start=43142 + _globals['_RESTORESNAPSHOTREQUEST']._serialized_end=43353 + _globals['_RESTORESNAPSHOTRESPONSE']._serialized_start=43355 + _globals['_RESTORESNAPSHOTRESPONSE']._serialized_end=43441 + _globals['_RESTOREEXTERNALSNAPSHOTREQUEST']._serialized_start=43444 + _globals['_RESTOREEXTERNALSNAPSHOTREQUEST']._serialized_end=43643 + _globals['_RESTOREEXTERNALSNAPSHOTRESPONSE']._serialized_start=43645 + _globals['_RESTOREEXTERNALSNAPSHOTRESPONSE']._serialized_end=43739 + _globals['_EXPORTSNAPSHOTREQUEST']._serialized_start=43742 + _globals['_EXPORTSNAPSHOTREQUEST']._serialized_end=43932 + _globals['_EXPORTSNAPSHOTRESPONSE']._serialized_start=43934 + _globals['_EXPORTSNAPSHOTRESPONSE']._serialized_end=44034 + _globals['_RESTORESNAPSHOTINFO']._serialized_start=44037 + _globals['_RESTORESNAPSHOTINFO']._serialized_end=44270 + _globals['_GETRESTORESNAPSHOTSTATEREQUEST']._serialized_start=44272 + _globals['_GETRESTORESNAPSHOTSTATEREQUEST']._serialized_end=44364 + _globals['_GETRESTORESNAPSHOTSTATERESPONSE']._serialized_start=44367 + _globals['_GETRESTORESNAPSHOTSTATERESPONSE']._serialized_end=44501 + _globals['_LISTRESTORESNAPSHOTJOBSREQUEST']._serialized_start=44503 + _globals['_LISTRESTORESNAPSHOTJOBSREQUEST']._serialized_end=44630 + _globals['_LISTRESTORESNAPSHOTJOBSRESPONSE']._serialized_start=44633 + _globals['_LISTRESTORESNAPSHOTJOBSRESPONSE']._serialized_end=44767 + _globals['_PINSNAPSHOTDATAREQUEST']._serialized_start=44770 + _globals['_PINSNAPSHOTDATAREQUEST']._serialized_end=44935 + _globals['_PINSNAPSHOTDATARESPONSE']._serialized_start=44937 + _globals['_PINSNAPSHOTDATARESPONSE']._serialized_end=45023 + _globals['_UNPINSNAPSHOTDATAREQUEST']._serialized_start=45025 + _globals['_UNPINSNAPSHOTDATAREQUEST']._serialized_end=45131 + _globals['_ALTERCOLLECTIONSCHEMAREQUEST']._serialized_start=45134 + _globals['_ALTERCOLLECTIONSCHEMAREQUEST']._serialized_end=46010 + _globals['_ALTERCOLLECTIONSCHEMAREQUEST_FIELDINFO']._serialized_start=45349 + _globals['_ALTERCOLLECTIONSCHEMAREQUEST_FIELDINFO']._serialized_end=45493 + _globals['_ALTERCOLLECTIONSCHEMAREQUEST_ADDREQUEST']._serialized_start=45496 + _globals['_ALTERCOLLECTIONSCHEMAREQUEST_ADDREQUEST']._serialized_end=45678 + _globals['_ALTERCOLLECTIONSCHEMAREQUEST_DROPREQUEST']._serialized_start=45681 + _globals['_ALTERCOLLECTIONSCHEMAREQUEST_DROPREQUEST']._serialized_end=45812 + _globals['_ALTERCOLLECTIONSCHEMAREQUEST_ACTION']._serialized_start=45815 + _globals['_ALTERCOLLECTIONSCHEMAREQUEST_ACTION']._serialized_end=46001 + _globals['_ALTERCOLLECTIONSCHEMARESPONSE']._serialized_start=46012 + _globals['_ALTERCOLLECTIONSCHEMARESPONSE']._serialized_end=46094 + _globals['_BATCHUPDATEMANIFESTREQUEST']._serialized_start=46097 + _globals['_BATCHUPDATEMANIFESTREQUEST']._serialized_end=46302 + _globals['_BATCHUPDATEMANIFESTITEM']._serialized_start=46304 + _globals['_BATCHUPDATEMANIFESTITEM']._serialized_end=46375 + _globals['_CLIENTHEARTBEATREQUEST']._serialized_start=46378 + _globals['_CLIENTHEARTBEATREQUEST']._serialized_end=46651 + _globals['_CLIENTHEARTBEATRESPONSE']._serialized_start=46654 + _globals['_CLIENTHEARTBEATRESPONSE']._serialized_end=46804 + _globals['_GETCLIENTTELEMETRYREQUEST']._serialized_start=46806 + _globals['_GETCLIENTTELEMETRYREQUEST']._serialized_end=46895 + _globals['_CLIENTTELEMETRY']._serialized_start=46898 + _globals['_CLIENTTELEMETRY']._serialized_end=47089 + _globals['_GETCLIENTTELEMETRYRESPONSE']._serialized_start=47092 + _globals['_GETCLIENTTELEMETRYRESPONSE']._serialized_end=47270 + _globals['_PUSHCLIENTCOMMANDREQUEST']._serialized_start=47273 + _globals['_PUSHCLIENTCOMMANDREQUEST']._serialized_end=47430 + _globals['_PUSHCLIENTCOMMANDRESPONSE']._serialized_start=47432 + _globals['_PUSHCLIENTCOMMANDRESPONSE']._serialized_end=47524 + _globals['_DELETECLIENTCOMMANDREQUEST']._serialized_start=47526 + _globals['_DELETECLIENTCOMMANDREQUEST']._serialized_end=47574 + _globals['_DELETECLIENTCOMMANDRESPONSE']._serialized_start=47576 + _globals['_DELETECLIENTCOMMANDRESPONSE']._serialized_end=47650 + _globals['_REFRESHEXTERNALCOLLECTIONREQUEST']._serialized_start=47653 + _globals['_REFRESHEXTERNALCOLLECTIONREQUEST']._serialized_end=47830 + _globals['_REFRESHEXTERNALCOLLECTIONRESPONSE']._serialized_start=47832 + _globals['_REFRESHEXTERNALCOLLECTIONRESPONSE']._serialized_end=47928 + _globals['_GETREFRESHEXTERNALCOLLECTIONPROGRESSREQUEST']._serialized_start=47930 + _globals['_GETREFRESHEXTERNALCOLLECTIONPROGRESSREQUEST']._serialized_end=48035 + _globals['_REFRESHEXTERNALCOLLECTIONJOBINFO']._serialized_start=48038 + _globals['_REFRESHEXTERNALCOLLECTIONJOBINFO']._serialized_end=48301 + _globals['_GETREFRESHEXTERNALCOLLECTIONPROGRESSRESPONSE']._serialized_start=48304 + _globals['_GETREFRESHEXTERNALCOLLECTIONPROGRESSRESPONSE']._serialized_end=48468 + _globals['_LISTREFRESHEXTERNALCOLLECTIONJOBSREQUEST']._serialized_start=48471 + _globals['_LISTREFRESHEXTERNALCOLLECTIONJOBSREQUEST']._serialized_end=48599 + _globals['_LISTREFRESHEXTERNALCOLLECTIONJOBSRESPONSE']._serialized_start=48602 + _globals['_LISTREFRESHEXTERNALCOLLECTIONJOBSRESPONSE']._serialized_end=48759 + _globals['_MILVUSSERVICE']._serialized_start=50033 + _globals['_MILVUSSERVICE']._serialized_end=65747 + _globals['_CLIENTTELEMETRYSERVICE']._serialized_start=65750 + _globals['_CLIENTTELEMETRYSERVICE']._serialized_end=66249 + _globals['_PROXYSERVICE']._serialized_start=66251 + _globals['_PROXYSERVICE']._serialized_end=66368 # @@protoc_insertion_point(module_scope) diff --git a/pymilvus/grpc_gen/milvus_pb2.pyi b/pymilvus/grpc_gen/milvus_pb2.pyi index e61fa7afb..01a329f93 100644 --- a/pymilvus/grpc_gen/milvus_pb2.pyi +++ b/pymilvus/grpc_gen/milvus_pb2.pyi @@ -57,11 +57,21 @@ class QuotaState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): class RowPolicyAction(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = () - Query: _ClassVar[RowPolicyAction] - Search: _ClassVar[RowPolicyAction] - Insert: _ClassVar[RowPolicyAction] - Delete: _ClassVar[RowPolicyAction] - Upsert: _ClassVar[RowPolicyAction] + RowPolicyActionUnknown: _ClassVar[RowPolicyAction] + RowPolicyActionQuery: _ClassVar[RowPolicyAction] + RowPolicyActionQueryIterator: _ClassVar[RowPolicyAction] + RowPolicyActionSearch: _ClassVar[RowPolicyAction] + RowPolicyActionSearchIterator: _ClassVar[RowPolicyAction] + RowPolicyActionHybridSearch: _ClassVar[RowPolicyAction] + RowPolicyActionDelete: _ClassVar[RowPolicyAction] + RowPolicyActionInsert: _ClassVar[RowPolicyAction] + RowPolicyActionUpsert: _ClassVar[RowPolicyAction] + +class RowPolicyType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = () + RowPolicyTypeUnknown: _ClassVar[RowPolicyType] + RowPolicyTypePermissive: _ClassVar[RowPolicyType] + RowPolicyTypeRestrictive: _ClassVar[RowPolicyType] class RestoreSnapshotState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = () @@ -99,11 +109,18 @@ WriteLimited: QuotaState DenyToRead: QuotaState DenyToWrite: QuotaState DenyToDDL: QuotaState -Query: RowPolicyAction -Search: RowPolicyAction -Insert: RowPolicyAction -Delete: RowPolicyAction -Upsert: RowPolicyAction +RowPolicyActionUnknown: RowPolicyAction +RowPolicyActionQuery: RowPolicyAction +RowPolicyActionQueryIterator: RowPolicyAction +RowPolicyActionSearch: RowPolicyAction +RowPolicyActionSearchIterator: RowPolicyAction +RowPolicyActionHybridSearch: RowPolicyAction +RowPolicyActionDelete: RowPolicyAction +RowPolicyActionInsert: RowPolicyAction +RowPolicyActionUpsert: RowPolicyAction +RowPolicyTypeUnknown: RowPolicyType +RowPolicyTypePermissive: RowPolicyType +RowPolicyTypeRestrictive: RowPolicyType RestoreSnapshotNone: RestoreSnapshotState RestoreSnapshotPending: RestoreSnapshotState RestoreSnapshotExecuting: RestoreSnapshotState @@ -1018,7 +1035,7 @@ class DropIndexRequest(_message.Message): 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", "schema_timestamp", "namespace") + __slots__ = ("base", "db_name", "collection_name", "partition_name", "fields_data", "hash_keys", "num_rows", "schema_timestamp", "namespace", "rls_principal", "skip_rls") BASE_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] @@ -1028,6 +1045,8 @@ class InsertRequest(_message.Message): NUM_ROWS_FIELD_NUMBER: _ClassVar[int] SCHEMA_TIMESTAMP_FIELD_NUMBER: _ClassVar[int] NAMESPACE_FIELD_NUMBER: _ClassVar[int] + RLS_PRINCIPAL_FIELD_NUMBER: _ClassVar[int] + SKIP_RLS_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase db_name: str collection_name: str @@ -1037,7 +1056,9 @@ class InsertRequest(_message.Message): num_rows: int schema_timestamp: int namespace: 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] = ..., schema_timestamp: _Optional[int] = ..., namespace: _Optional[str] = ...) -> None: ... + rls_principal: str + skip_rls: bool + 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] = ..., schema_timestamp: _Optional[int] = ..., namespace: _Optional[str] = ..., rls_principal: _Optional[str] = ..., skip_rls: bool = ...) -> None: ... class AddCollectionFieldRequest(_message.Message): __slots__ = ("base", "db_name", "collection_name", "collectionID", "schema") @@ -1112,7 +1133,7 @@ class DropCollectionFunctionRequest(_message.Message): def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., collectionID: _Optional[int] = ..., function_name: _Optional[str] = ...) -> None: ... class UpsertRequest(_message.Message): - __slots__ = ("base", "db_name", "collection_name", "partition_name", "fields_data", "hash_keys", "num_rows", "schema_timestamp", "partial_update", "namespace", "field_ops") + __slots__ = ("base", "db_name", "collection_name", "partition_name", "fields_data", "hash_keys", "num_rows", "schema_timestamp", "partial_update", "namespace", "field_ops", "rls_principal", "skip_rls") BASE_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] @@ -1124,6 +1145,8 @@ class UpsertRequest(_message.Message): PARTIAL_UPDATE_FIELD_NUMBER: _ClassVar[int] NAMESPACE_FIELD_NUMBER: _ClassVar[int] FIELD_OPS_FIELD_NUMBER: _ClassVar[int] + RLS_PRINCIPAL_FIELD_NUMBER: _ClassVar[int] + SKIP_RLS_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase db_name: str collection_name: str @@ -1135,7 +1158,9 @@ class UpsertRequest(_message.Message): partial_update: bool namespace: str field_ops: _containers.RepeatedCompositeFieldContainer[_schema_pb2.FieldPartialUpdateOp] - 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] = ..., schema_timestamp: _Optional[int] = ..., partial_update: bool = ..., namespace: _Optional[str] = ..., field_ops: _Optional[_Iterable[_Union[_schema_pb2.FieldPartialUpdateOp, _Mapping]]] = ...) -> None: ... + rls_principal: str + skip_rls: bool + 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] = ..., schema_timestamp: _Optional[int] = ..., partial_update: bool = ..., namespace: _Optional[str] = ..., field_ops: _Optional[_Iterable[_Union[_schema_pb2.FieldPartialUpdateOp, _Mapping]]] = ..., rls_principal: _Optional[str] = ..., skip_rls: bool = ...) -> None: ... class MutationResult(_message.Message): __slots__ = ("status", "IDs", "succ_index", "err_index", "acknowledged", "insert_cnt", "delete_cnt", "upsert_cnt", "timestamp") @@ -1160,7 +1185,7 @@ class MutationResult(_message.Message): 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 DeleteRequest(_message.Message): - __slots__ = ("base", "db_name", "collection_name", "partition_name", "expr", "hash_keys", "consistency_level", "expr_template_values", "namespace") + __slots__ = ("base", "db_name", "collection_name", "partition_name", "expr", "hash_keys", "consistency_level", "expr_template_values", "namespace", "rls_principal", "skip_rls") class ExprTemplateValuesEntry(_message.Message): __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] @@ -1177,6 +1202,8 @@ class DeleteRequest(_message.Message): CONSISTENCY_LEVEL_FIELD_NUMBER: _ClassVar[int] EXPR_TEMPLATE_VALUES_FIELD_NUMBER: _ClassVar[int] NAMESPACE_FIELD_NUMBER: _ClassVar[int] + RLS_PRINCIPAL_FIELD_NUMBER: _ClassVar[int] + SKIP_RLS_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase db_name: str collection_name: str @@ -1186,7 +1213,9 @@ class DeleteRequest(_message.Message): consistency_level: _common_pb2.ConsistencyLevel expr_template_values: _containers.MessageMap[str, _schema_pb2.TemplateValue] namespace: 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]] = ..., consistency_level: _Optional[_Union[_common_pb2.ConsistencyLevel, str]] = ..., expr_template_values: _Optional[_Mapping[str, _schema_pb2.TemplateValue]] = ..., namespace: _Optional[str] = ...) -> None: ... + rls_principal: str + skip_rls: bool + 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]] = ..., consistency_level: _Optional[_Union[_common_pb2.ConsistencyLevel, str]] = ..., expr_template_values: _Optional[_Mapping[str, _schema_pb2.TemplateValue]] = ..., namespace: _Optional[str] = ..., rls_principal: _Optional[str] = ..., skip_rls: bool = ...) -> None: ... class SubSearchRequest(_message.Message): __slots__ = ("dsl", "placeholder_group", "dsl_type", "search_params", "nq", "expr_template_values", "namespace") @@ -1214,7 +1243,7 @@ class SubSearchRequest(_message.Message): def __init__(self, dsl: _Optional[str] = ..., placeholder_group: _Optional[bytes] = ..., dsl_type: _Optional[_Union[_common_pb2.DslType, str]] = ..., search_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., nq: _Optional[int] = ..., expr_template_values: _Optional[_Mapping[str, _schema_pb2.TemplateValue]] = ..., namespace: _Optional[str] = ...) -> None: ... class SearchRequest(_message.Message): - __slots__ = ("base", "db_name", "collection_name", "partition_names", "dsl", "placeholder_group", "ids", "dsl_type", "output_fields", "search_params", "travel_timestamp", "guarantee_timestamp", "nq", "not_return_all_meta", "consistency_level", "use_default_consistency", "search_by_primary_keys", "sub_reqs", "expr_template_values", "function_score", "namespace", "highlighter", "search_aggregation", "function_chains") + __slots__ = ("base", "db_name", "collection_name", "partition_names", "dsl", "placeholder_group", "ids", "dsl_type", "output_fields", "search_params", "travel_timestamp", "guarantee_timestamp", "nq", "not_return_all_meta", "consistency_level", "use_default_consistency", "search_by_primary_keys", "sub_reqs", "expr_template_values", "function_score", "namespace", "highlighter", "search_aggregation", "function_chains", "rls_principal", "skip_rls") class ExprTemplateValuesEntry(_message.Message): __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] @@ -1246,6 +1275,8 @@ class SearchRequest(_message.Message): HIGHLIGHTER_FIELD_NUMBER: _ClassVar[int] SEARCH_AGGREGATION_FIELD_NUMBER: _ClassVar[int] FUNCTION_CHAINS_FIELD_NUMBER: _ClassVar[int] + RLS_PRINCIPAL_FIELD_NUMBER: _ClassVar[int] + SKIP_RLS_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase db_name: str collection_name: str @@ -1270,7 +1301,9 @@ class SearchRequest(_message.Message): highlighter: _common_pb2.Highlighter search_aggregation: _common_pb2.SearchAggregationSpec function_chains: _containers.RepeatedCompositeFieldContainer[_schema_pb2.FunctionChain] - 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] = ..., ids: _Optional[_Union[_schema_pb2.IDs, _Mapping]] = ..., 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 = ..., sub_reqs: _Optional[_Iterable[_Union[SubSearchRequest, _Mapping]]] = ..., expr_template_values: _Optional[_Mapping[str, _schema_pb2.TemplateValue]] = ..., function_score: _Optional[_Union[_schema_pb2.FunctionScore, _Mapping]] = ..., namespace: _Optional[str] = ..., highlighter: _Optional[_Union[_common_pb2.Highlighter, _Mapping]] = ..., search_aggregation: _Optional[_Union[_common_pb2.SearchAggregationSpec, _Mapping]] = ..., function_chains: _Optional[_Iterable[_Union[_schema_pb2.FunctionChain, _Mapping]]] = ...) -> None: ... + rls_principal: str + skip_rls: 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] = ..., ids: _Optional[_Union[_schema_pb2.IDs, _Mapping]] = ..., 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 = ..., sub_reqs: _Optional[_Iterable[_Union[SubSearchRequest, _Mapping]]] = ..., expr_template_values: _Optional[_Mapping[str, _schema_pb2.TemplateValue]] = ..., function_score: _Optional[_Union[_schema_pb2.FunctionScore, _Mapping]] = ..., namespace: _Optional[str] = ..., highlighter: _Optional[_Union[_common_pb2.Highlighter, _Mapping]] = ..., search_aggregation: _Optional[_Union[_common_pb2.SearchAggregationSpec, _Mapping]] = ..., function_chains: _Optional[_Iterable[_Union[_schema_pb2.FunctionChain, _Mapping]]] = ..., rls_principal: _Optional[str] = ..., skip_rls: bool = ...) -> None: ... class Hits(_message.Message): __slots__ = ("IDs", "row_data", "scores") @@ -1295,7 +1328,7 @@ class SearchResults(_message.Message): def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., results: _Optional[_Union[_schema_pb2.SearchResultData, _Mapping]] = ..., collection_name: _Optional[str] = ..., session_ts: _Optional[int] = ...) -> None: ... class HybridSearchRequest(_message.Message): - __slots__ = ("base", "db_name", "collection_name", "partition_names", "requests", "rank_params", "travel_timestamp", "guarantee_timestamp", "not_return_all_meta", "output_fields", "consistency_level", "use_default_consistency", "function_score", "namespace", "function_chains") + __slots__ = ("base", "db_name", "collection_name", "partition_names", "requests", "rank_params", "travel_timestamp", "guarantee_timestamp", "not_return_all_meta", "output_fields", "consistency_level", "use_default_consistency", "function_score", "namespace", "function_chains", "rls_principal", "skip_rls") BASE_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] @@ -1311,6 +1344,8 @@ class HybridSearchRequest(_message.Message): FUNCTION_SCORE_FIELD_NUMBER: _ClassVar[int] NAMESPACE_FIELD_NUMBER: _ClassVar[int] FUNCTION_CHAINS_FIELD_NUMBER: _ClassVar[int] + RLS_PRINCIPAL_FIELD_NUMBER: _ClassVar[int] + SKIP_RLS_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase db_name: str collection_name: str @@ -1326,7 +1361,9 @@ class HybridSearchRequest(_message.Message): function_score: _schema_pb2.FunctionScore namespace: str function_chains: _containers.RepeatedCompositeFieldContainer[_schema_pb2.FunctionChain] - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ..., requests: _Optional[_Iterable[_Union[SearchRequest, _Mapping]]] = ..., rank_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., travel_timestamp: _Optional[int] = ..., guarantee_timestamp: _Optional[int] = ..., not_return_all_meta: bool = ..., output_fields: _Optional[_Iterable[str]] = ..., consistency_level: _Optional[_Union[_common_pb2.ConsistencyLevel, str]] = ..., use_default_consistency: bool = ..., function_score: _Optional[_Union[_schema_pb2.FunctionScore, _Mapping]] = ..., namespace: _Optional[str] = ..., function_chains: _Optional[_Iterable[_Union[_schema_pb2.FunctionChain, _Mapping]]] = ...) -> None: ... + rls_principal: str + skip_rls: bool + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., partition_names: _Optional[_Iterable[str]] = ..., requests: _Optional[_Iterable[_Union[SearchRequest, _Mapping]]] = ..., rank_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., travel_timestamp: _Optional[int] = ..., guarantee_timestamp: _Optional[int] = ..., not_return_all_meta: bool = ..., output_fields: _Optional[_Iterable[str]] = ..., consistency_level: _Optional[_Union[_common_pb2.ConsistencyLevel, str]] = ..., use_default_consistency: bool = ..., function_score: _Optional[_Union[_schema_pb2.FunctionScore, _Mapping]] = ..., namespace: _Optional[str] = ..., function_chains: _Optional[_Iterable[_Union[_schema_pb2.FunctionChain, _Mapping]]] = ..., rls_principal: _Optional[str] = ..., skip_rls: bool = ...) -> None: ... class FlushRequest(_message.Message): __slots__ = ("base", "db_name", "collection_names") @@ -1392,7 +1429,7 @@ class FlushResponse(_message.Message): 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]] = ..., channel_cps: _Optional[_Mapping[str, _msg_pb2.MsgPosition]] = ...) -> 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", "expr_template_values", "namespace") + __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", "expr_template_values", "namespace", "rls_principal", "skip_rls") class ExprTemplateValuesEntry(_message.Message): __slots__ = ("key", "value") KEY_FIELD_NUMBER: _ClassVar[int] @@ -1414,6 +1451,8 @@ class QueryRequest(_message.Message): USE_DEFAULT_CONSISTENCY_FIELD_NUMBER: _ClassVar[int] EXPR_TEMPLATE_VALUES_FIELD_NUMBER: _ClassVar[int] NAMESPACE_FIELD_NUMBER: _ClassVar[int] + RLS_PRINCIPAL_FIELD_NUMBER: _ClassVar[int] + SKIP_RLS_FIELD_NUMBER: _ClassVar[int] base: _common_pb2.MsgBase db_name: str collection_name: str @@ -1428,7 +1467,9 @@ class QueryRequest(_message.Message): use_default_consistency: bool expr_template_values: _containers.MessageMap[str, _schema_pb2.TemplateValue] namespace: str - 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 = ..., expr_template_values: _Optional[_Mapping[str, _schema_pb2.TemplateValue]] = ..., namespace: _Optional[str] = ...) -> None: ... + rls_principal: str + skip_rls: 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 = ..., expr_template_values: _Optional[_Mapping[str, _schema_pb2.TemplateValue]] = ..., namespace: _Optional[str] = ..., rls_principal: _Optional[str] = ..., skip_rls: bool = ...) -> None: ... class ElementIndices(_message.Message): __slots__ = ("indices",) @@ -2938,13 +2979,13 @@ class ListUsersWithTagResponse(_message.Message): def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., user_names: _Optional[_Iterable[str]] = ...) -> None: ... class CreateRowPolicyRequest(_message.Message): - __slots__ = ("base", "db_name", "collection_name", "policy_name", "actions", "roles", "using_expr", "check_expr", "description") + __slots__ = ("base", "db_name", "collection_name", "policy_name", "policy_type", "actions", "using_expr", "check_expr", "description") BASE_FIELD_NUMBER: _ClassVar[int] DB_NAME_FIELD_NUMBER: _ClassVar[int] COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] POLICY_NAME_FIELD_NUMBER: _ClassVar[int] + POLICY_TYPE_FIELD_NUMBER: _ClassVar[int] ACTIONS_FIELD_NUMBER: _ClassVar[int] - ROLES_FIELD_NUMBER: _ClassVar[int] USING_EXPR_FIELD_NUMBER: _ClassVar[int] CHECK_EXPR_FIELD_NUMBER: _ClassVar[int] DESCRIPTION_FIELD_NUMBER: _ClassVar[int] @@ -2952,12 +2993,12 @@ class CreateRowPolicyRequest(_message.Message): db_name: str collection_name: str policy_name: str + policy_type: RowPolicyType actions: _containers.RepeatedScalarFieldContainer[RowPolicyAction] - roles: _containers.RepeatedScalarFieldContainer[str] using_expr: str check_expr: str description: str - def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., policy_name: _Optional[str] = ..., actions: _Optional[_Iterable[_Union[RowPolicyAction, str]]] = ..., roles: _Optional[_Iterable[str]] = ..., using_expr: _Optional[str] = ..., check_expr: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ... + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., policy_name: _Optional[str] = ..., policy_type: _Optional[_Union[RowPolicyType, str]] = ..., actions: _Optional[_Iterable[_Union[RowPolicyAction, str]]] = ..., using_expr: _Optional[str] = ..., check_expr: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ... class DropRowPolicyRequest(_message.Message): __slots__ = ("base", "db_name", "collection_name", "policy_name") @@ -2971,6 +3012,28 @@ class DropRowPolicyRequest(_message.Message): policy_name: str def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., policy_name: _Optional[str] = ...) -> None: ... +class UpdateRowPolicyRequest(_message.Message): + __slots__ = ("base", "db_name", "collection_name", "policy_name", "policy_type", "actions", "using_expr", "check_expr", "description") + BASE_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + POLICY_NAME_FIELD_NUMBER: _ClassVar[int] + POLICY_TYPE_FIELD_NUMBER: _ClassVar[int] + ACTIONS_FIELD_NUMBER: _ClassVar[int] + USING_EXPR_FIELD_NUMBER: _ClassVar[int] + CHECK_EXPR_FIELD_NUMBER: _ClassVar[int] + DESCRIPTION_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + db_name: str + collection_name: str + policy_name: str + policy_type: RowPolicyType + actions: _containers.RepeatedScalarFieldContainer[RowPolicyAction] + using_expr: str + check_expr: str + description: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., policy_name: _Optional[str] = ..., policy_type: _Optional[_Union[RowPolicyType, str]] = ..., actions: _Optional[_Iterable[_Union[RowPolicyAction, str]]] = ..., using_expr: _Optional[str] = ..., check_expr: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ... + class ListRowPoliciesRequest(_message.Message): __slots__ = ("base", "db_name", "collection_name") BASE_FIELD_NUMBER: _ClassVar[int] @@ -2982,22 +3045,22 @@ class ListRowPoliciesRequest(_message.Message): def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ...) -> None: ... class RowPolicy(_message.Message): - __slots__ = ("policy_name", "actions", "roles", "using_expr", "check_expr", "description", "created_at") + __slots__ = ("policy_name", "policy_type", "actions", "using_expr", "check_expr", "description", "policy_id") POLICY_NAME_FIELD_NUMBER: _ClassVar[int] + POLICY_TYPE_FIELD_NUMBER: _ClassVar[int] ACTIONS_FIELD_NUMBER: _ClassVar[int] - ROLES_FIELD_NUMBER: _ClassVar[int] USING_EXPR_FIELD_NUMBER: _ClassVar[int] CHECK_EXPR_FIELD_NUMBER: _ClassVar[int] DESCRIPTION_FIELD_NUMBER: _ClassVar[int] - CREATED_AT_FIELD_NUMBER: _ClassVar[int] + POLICY_ID_FIELD_NUMBER: _ClassVar[int] policy_name: str + policy_type: RowPolicyType actions: _containers.RepeatedScalarFieldContainer[RowPolicyAction] - roles: _containers.RepeatedScalarFieldContainer[str] using_expr: str check_expr: str description: str - created_at: int - def __init__(self, policy_name: _Optional[str] = ..., actions: _Optional[_Iterable[_Union[RowPolicyAction, str]]] = ..., roles: _Optional[_Iterable[str]] = ..., using_expr: _Optional[str] = ..., check_expr: _Optional[str] = ..., description: _Optional[str] = ..., created_at: _Optional[int] = ...) -> None: ... + policy_id: int + def __init__(self, policy_name: _Optional[str] = ..., policy_type: _Optional[_Union[RowPolicyType, str]] = ..., actions: _Optional[_Iterable[_Union[RowPolicyAction, str]]] = ..., using_expr: _Optional[str] = ..., check_expr: _Optional[str] = ..., description: _Optional[str] = ..., policy_id: _Optional[int] = ...) -> None: ... class ListRowPoliciesResponse(_message.Message): __slots__ = ("status", "policies", "db_name", "collection_name") @@ -3011,6 +3074,96 @@ class ListRowPoliciesResponse(_message.Message): collection_name: str def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., policies: _Optional[_Iterable[_Union[RowPolicy, _Mapping]]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ...) -> None: ... +class SetRLSPrincipalTagsRequest(_message.Message): + __slots__ = ("base", "db_name", "collection_name", "principal_name", "tags") + class TagsEntry(_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: ... + BASE_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + PRINCIPAL_NAME_FIELD_NUMBER: _ClassVar[int] + TAGS_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + db_name: str + collection_name: str + principal_name: str + tags: _containers.ScalarMap[str, str] + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., principal_name: _Optional[str] = ..., tags: _Optional[_Mapping[str, str]] = ...) -> None: ... + +class GetRLSPrincipalTagsRequest(_message.Message): + __slots__ = ("base", "db_name", "collection_name", "principal_name") + BASE_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + PRINCIPAL_NAME_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + db_name: str + collection_name: str + principal_name: str + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., principal_name: _Optional[str] = ...) -> None: ... + +class GetRLSPrincipalTagsResponse(_message.Message): + __slots__ = ("status", "tags", "db_name", "collection_name", "principal_name") + class TagsEntry(_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: ... + STATUS_FIELD_NUMBER: _ClassVar[int] + TAGS_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + PRINCIPAL_NAME_FIELD_NUMBER: _ClassVar[int] + status: _common_pb2.Status + tags: _containers.ScalarMap[str, str] + db_name: str + collection_name: str + principal_name: str + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., tags: _Optional[_Mapping[str, str]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., principal_name: _Optional[str] = ...) -> None: ... + +class ListRLSPrincipalsRequest(_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] + 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 ListRLSPrincipalsResponse(_message.Message): + __slots__ = ("status", "principal_names", "db_name", "collection_name") + STATUS_FIELD_NUMBER: _ClassVar[int] + PRINCIPAL_NAMES_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + status: _common_pb2.Status + principal_names: _containers.RepeatedScalarFieldContainer[str] + db_name: str + collection_name: str + def __init__(self, status: _Optional[_Union[_common_pb2.Status, _Mapping]] = ..., principal_names: _Optional[_Iterable[str]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ...) -> None: ... + +class DeleteRLSPrincipalTagsRequest(_message.Message): + __slots__ = ("base", "db_name", "collection_name", "principal_name", "tag_keys") + BASE_FIELD_NUMBER: _ClassVar[int] + DB_NAME_FIELD_NUMBER: _ClassVar[int] + COLLECTION_NAME_FIELD_NUMBER: _ClassVar[int] + PRINCIPAL_NAME_FIELD_NUMBER: _ClassVar[int] + TAG_KEYS_FIELD_NUMBER: _ClassVar[int] + base: _common_pb2.MsgBase + db_name: str + collection_name: str + principal_name: str + tag_keys: _containers.RepeatedScalarFieldContainer[str] + def __init__(self, base: _Optional[_Union[_common_pb2.MsgBase, _Mapping]] = ..., db_name: _Optional[str] = ..., collection_name: _Optional[str] = ..., principal_name: _Optional[str] = ..., tag_keys: _Optional[_Iterable[str]] = ...) -> None: ... + class UpdateReplicateConfigurationRequest(_message.Message): __slots__ = ("replicate_configuration", "force_promote") REPLICATE_CONFIGURATION_FIELD_NUMBER: _ClassVar[int] diff --git a/pymilvus/grpc_gen/milvus_pb2_grpc.py b/pymilvus/grpc_gen/milvus_pb2_grpc.py index f9c7c522b..c36d7f336 100644 --- a/pymilvus/grpc_gen/milvus_pb2_grpc.py +++ b/pymilvus/grpc_gen/milvus_pb2_grpc.py @@ -641,6 +641,31 @@ def __init__(self, channel): request_serializer=milvus__pb2.ListRowPoliciesRequest.SerializeToString, response_deserializer=milvus__pb2.ListRowPoliciesResponse.FromString, _registered_method=True) + self.UpdateRowPolicy = channel.unary_unary( + '/milvus.proto.milvus.MilvusService/UpdateRowPolicy', + request_serializer=milvus__pb2.UpdateRowPolicyRequest.SerializeToString, + response_deserializer=common__pb2.Status.FromString, + _registered_method=True) + self.SetRLSPrincipalTags = channel.unary_unary( + '/milvus.proto.milvus.MilvusService/SetRLSPrincipalTags', + request_serializer=milvus__pb2.SetRLSPrincipalTagsRequest.SerializeToString, + response_deserializer=common__pb2.Status.FromString, + _registered_method=True) + self.GetRLSPrincipalTags = channel.unary_unary( + '/milvus.proto.milvus.MilvusService/GetRLSPrincipalTags', + request_serializer=milvus__pb2.GetRLSPrincipalTagsRequest.SerializeToString, + response_deserializer=milvus__pb2.GetRLSPrincipalTagsResponse.FromString, + _registered_method=True) + self.ListRLSPrincipals = channel.unary_unary( + '/milvus.proto.milvus.MilvusService/ListRLSPrincipals', + request_serializer=milvus__pb2.ListRLSPrincipalsRequest.SerializeToString, + response_deserializer=milvus__pb2.ListRLSPrincipalsResponse.FromString, + _registered_method=True) + self.DeleteRLSPrincipalTags = channel.unary_unary( + '/milvus.proto.milvus.MilvusService/DeleteRLSPrincipalTags', + request_serializer=milvus__pb2.DeleteRLSPrincipalTagsRequest.SerializeToString, + response_deserializer=common__pb2.Status.FromString, + _registered_method=True) self.UpdateReplicateConfiguration = channel.unary_unary( '/milvus.proto.milvus.MilvusService/UpdateReplicateConfiguration', request_serializer=milvus__pb2.UpdateReplicateConfigurationRequest.SerializeToString, @@ -1449,7 +1474,7 @@ def ListFileResources(self, request, context): raise NotImplementedError('Method not implemented!') def AddUserTags(self, request, context): - """Row Level Security (RLS) APIs + """Row-Level Security (RLS) APIs """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -1491,6 +1516,36 @@ def ListRowPolicies(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def UpdateRowPolicy(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SetRLSPrincipalTags(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRLSPrincipalTags(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListRLSPrincipals(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteRLSPrincipalTags(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def UpdateReplicateConfiguration(self, request, context): """CDC v2 APIs UpdateReplicateConfiguration applies a full replacement of the current @@ -2267,6 +2322,31 @@ def add_MilvusServiceServicer_to_server(servicer, server): request_deserializer=milvus__pb2.ListRowPoliciesRequest.FromString, response_serializer=milvus__pb2.ListRowPoliciesResponse.SerializeToString, ), + 'UpdateRowPolicy': grpc.unary_unary_rpc_method_handler( + servicer.UpdateRowPolicy, + request_deserializer=milvus__pb2.UpdateRowPolicyRequest.FromString, + response_serializer=common__pb2.Status.SerializeToString, + ), + 'SetRLSPrincipalTags': grpc.unary_unary_rpc_method_handler( + servicer.SetRLSPrincipalTags, + request_deserializer=milvus__pb2.SetRLSPrincipalTagsRequest.FromString, + response_serializer=common__pb2.Status.SerializeToString, + ), + 'GetRLSPrincipalTags': grpc.unary_unary_rpc_method_handler( + servicer.GetRLSPrincipalTags, + request_deserializer=milvus__pb2.GetRLSPrincipalTagsRequest.FromString, + response_serializer=milvus__pb2.GetRLSPrincipalTagsResponse.SerializeToString, + ), + 'ListRLSPrincipals': grpc.unary_unary_rpc_method_handler( + servicer.ListRLSPrincipals, + request_deserializer=milvus__pb2.ListRLSPrincipalsRequest.FromString, + response_serializer=milvus__pb2.ListRLSPrincipalsResponse.SerializeToString, + ), + 'DeleteRLSPrincipalTags': grpc.unary_unary_rpc_method_handler( + servicer.DeleteRLSPrincipalTags, + request_deserializer=milvus__pb2.DeleteRLSPrincipalTagsRequest.FromString, + response_serializer=common__pb2.Status.SerializeToString, + ), 'UpdateReplicateConfiguration': grpc.unary_unary_rpc_method_handler( servicer.UpdateReplicateConfiguration, request_deserializer=milvus__pb2.UpdateReplicateConfigurationRequest.FromString, @@ -5655,6 +5735,141 @@ def ListRowPolicies(request, metadata, _registered_method=True) + @staticmethod + def UpdateRowPolicy(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/milvus.proto.milvus.MilvusService/UpdateRowPolicy', + milvus__pb2.UpdateRowPolicyRequest.SerializeToString, + common__pb2.Status.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SetRLSPrincipalTags(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/milvus.proto.milvus.MilvusService/SetRLSPrincipalTags', + milvus__pb2.SetRLSPrincipalTagsRequest.SerializeToString, + common__pb2.Status.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRLSPrincipalTags(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/milvus.proto.milvus.MilvusService/GetRLSPrincipalTags', + milvus__pb2.GetRLSPrincipalTagsRequest.SerializeToString, + milvus__pb2.GetRLSPrincipalTagsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ListRLSPrincipals(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/milvus.proto.milvus.MilvusService/ListRLSPrincipals', + milvus__pb2.ListRLSPrincipalsRequest.SerializeToString, + milvus__pb2.ListRLSPrincipalsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteRLSPrincipalTags(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/milvus.proto.milvus.MilvusService/DeleteRLSPrincipalTags', + milvus__pb2.DeleteRLSPrincipalTagsRequest.SerializeToString, + common__pb2.Status.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + @staticmethod def UpdateReplicateConfiguration(request, target, diff --git a/pymilvus/grpc_gen/schema_pb2.py b/pymilvus/grpc_gen/schema_pb2.py index f45769a89..fbc447e3c 100644 --- a/pymilvus/grpc_gen/schema_pb2.py +++ b/pymilvus/grpc_gen/schema_pb2.py @@ -26,7 +26,7 @@ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cschema.proto\x12\x13milvus.proto.schema\x1a\x0c\x63ommon.proto\x1a google/protobuf/descriptor.proto\"\xb8\x04\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\x12\x19\n\x11is_clustering_key\x18\x0e \x01(\x08\x12\x10\n\x08nullable\x18\x0f \x01(\x08\x12\x1a\n\x12is_function_output\x18\x10 \x01(\x08\x12\x16\n\x0e\x65xternal_field\x18\x11 \x01(\t\"\x8d\x02\n\x0e\x46unctionSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\x03\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12/\n\x04type\x18\x04 \x01(\x0e\x32!.milvus.proto.schema.FunctionType\x12\x19\n\x11input_field_names\x18\x05 \x03(\t\x12\x17\n\x0finput_field_ids\x18\x06 \x03(\x03\x12\x1a\n\x12output_field_names\x18\x07 \x03(\t\x12\x18\n\x10output_field_ids\x18\x08 \x03(\x03\x12\x31\n\x06params\x18\t \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"z\n\rFunctionScore\x12\x36\n\tfunctions\x18\x01 \x03(\x0b\x32#.milvus.proto.schema.FunctionSchema\x12\x31\n\x06params\x18\x02 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\x88\x01\n\rFunctionChain\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x05stage\x18\x02 \x01(\x0e\x32\'.milvus.proto.schema.FunctionChainStage\x12\x31\n\x03ops\x18\x03 \x03(\x0b\x32$.milvus.proto.schema.FunctionChainOp\"\x8e\x02\n\x0f\x46unctionChainOp\x12\n\n\x02op\x18\x01 \x01(\t\x12\x34\n\x04\x65xpr\x18\x02 \x01(\x0b\x32&.milvus.proto.schema.FunctionChainExpr\x12\x0e\n\x06inputs\x18\x03 \x03(\t\x12\x0f\n\x07outputs\x18\x04 \x03(\t\x12@\n\x06params\x18\x05 \x03(\x0b\x32\x30.milvus.proto.schema.FunctionChainOp.ParamsEntry\x1aV\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.milvus.proto.schema.FunctionParamValue:\x02\x38\x01\"\xf6\x01\n\x11\x46unctionChainExpr\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x37\n\x04\x61rgs\x18\x02 \x03(\x0b\x32).milvus.proto.schema.FunctionChainExprArg\x12\x42\n\x06params\x18\x03 \x03(\x0b\x32\x32.milvus.proto.schema.FunctionChainExpr.ParamsEntry\x1aV\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.milvus.proto.schema.FunctionParamValue:\x02\x38\x01\"\x98\x01\n\x14\x46unctionChainExprArg\x12=\n\x06\x63olumn\x18\x01 \x01(\x0b\x32+.milvus.proto.schema.FunctionChainColumnArgH\x00\x12:\n\x07literal\x18\x02 \x01(\x0b\x32\'.milvus.proto.schema.FunctionParamValueH\x00\x42\x05\n\x03\x61rg\"&\n\x16\x46unctionChainColumnArg\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x93\x02\n\x12\x46unctionParamValue\x12\x14\n\nbool_value\x18\x01 \x01(\x08H\x00\x12\x15\n\x0bint64_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x04 \x01(\tH\x00\x12>\n\x0b\x61rray_value\x18\x05 \x01(\x0b\x32\'.milvus.proto.schema.FunctionParamArrayH\x00\x12@\n\x0cobject_value\x18\x06 \x01(\x0b\x32(.milvus.proto.schema.FunctionParamObjectH\x00\x12\x15\n\x0b\x62ytes_value\x18\x07 \x01(\x0cH\x00\x42\x07\n\x05value\"M\n\x12\x46unctionParamArray\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.milvus.proto.schema.FunctionParamValue\"\xb3\x01\n\x13\x46unctionParamObject\x12\x44\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x34.milvus.proto.schema.FunctionParamObject.FieldsEntry\x1aV\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.milvus.proto.schema.FunctionParamValue:\x02\x38\x01\"\xf6\x03\n\x10\x43ollectionSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x12\n\x06\x61utoID\x18\x03 \x01(\x08\x42\x02\x18\x01\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\x12\x35\n\nproperties\x18\x06 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x36\n\tfunctions\x18\x07 \x03(\x0b\x32#.milvus.proto.schema.FunctionSchema\x12\x0e\n\x06\x64\x62Name\x18\x08 \x01(\t\x12H\n\x13struct_array_fields\x18\t \x03(\x0b\x32+.milvus.proto.schema.StructArrayFieldSchema\x12\x0f\n\x07version\x18\n \x01(\x05\x12\x17\n\x0f\x65xternal_source\x18\x0b \x01(\t\x12\x15\n\rexternal_spec\x18\x0c \x01(\t\x12\x1c\n\x14\x64o_physical_backfill\x18\r \x01(\x08\x12\x19\n\x11\x66ile_resource_ids\x18\x0e \x03(\x03\x12\x18\n\x10\x65nable_namespace\x18\x0f \x01(\x08\"\xc8\x01\n\x16StructArrayFieldSchema\x12\x0f\n\x07\x66ieldID\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x30\n\x06\x66ields\x18\x04 \x03(\x0b\x32 .milvus.proto.schema.FieldSchema\x12\x36\n\x0btype_params\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x10\n\x08nullable\x18\x06 \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\"\x1d\n\rGeometryArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x0c\" \n\x10TimestamptzArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x03\"\x19\n\tDateArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x05\"\x19\n\tTimeArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x03\" \n\x10GeometryWktArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\t\"\x18\n\x08MolArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x0c\"\x1e\n\x0eMolSmilesArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\t\"\xf2\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\x12\x1a\n\x10timestamptz_data\x18\x08 \x01(\x03H\x00\x12\x13\n\tdate_data\x18\t \x01(\x05H\x00\x12\x13\n\ttime_data\x18\n \x01(\x03H\x00\x42\x06\n\x04\x64\x61ta\"\x9f\x07\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\x12;\n\rgeometry_data\x18\n \x01(\x0b\x32\".milvus.proto.schema.GeometryArrayH\x00\x12\x41\n\x10timestamptz_data\x18\x0b \x01(\x0b\x32%.milvus.proto.schema.TimestamptzArrayH\x00\x12\x42\n\x11geometry_wkt_data\x18\x0c \x01(\x0b\x32%.milvus.proto.schema.GeometryWktArrayH\x00\x12\x31\n\x08mol_data\x18\r \x01(\x0b\x32\x1d.milvus.proto.schema.MolArrayH\x00\x12>\n\x0fmol_smiles_data\x18\x0e \x01(\x0b\x32#.milvus.proto.schema.MolSmilesArrayH\x00\x12\x33\n\tdate_data\x18\x0f \x01(\x0b\x32\x1e.milvus.proto.schema.DateArrayH\x00\x12\x33\n\ttime_data\x18\x10 \x01(\x0b\x32\x1e.milvus.proto.schema.TimeArrayH\x00\x42\x06\n\x04\x64\x61ta\"1\n\x10SparseFloatArray\x12\x10\n\x08\x63ontents\x18\x01 \x03(\x0c\x12\x0b\n\x03\x64im\x18\x02 \x01(\x03\"\xc0\x02\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\x12\x19\n\x0f\x62\x66loat16_vector\x18\x05 \x01(\x0cH\x00\x12\x44\n\x13sparse_float_vector\x18\x06 \x01(\x0b\x32%.milvus.proto.schema.SparseFloatArrayH\x00\x12\x15\n\x0bint8_vector\x18\x07 \x01(\x0cH\x00\x12\x38\n\x0cvector_array\x18\x08 \x01(\x0b\x32 .milvus.proto.schema.VectorArrayH\x00\x42\x06\n\x04\x64\x61ta\"\x7f\n\x0bVectorArray\x12\x0b\n\x03\x64im\x18\x01 \x01(\x03\x12.\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .milvus.proto.schema.VectorField\x12\x33\n\x0c\x65lement_type\x18\x03 \x01(\x0e\x32\x1d.milvus.proto.schema.DataType\"B\n\x10StructArrayField\x12.\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x1e.milvus.proto.schema.FieldData\"\xa3\x01\n\x14\x46ieldPartialUpdateOp\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12<\n\x02op\x18\x02 \x01(\x0e\x32\x30.milvus.proto.schema.FieldPartialUpdateOp.OpType\"9\n\x06OpType\x12\x0b\n\x07REPLACE\x10\x00\x12\x10\n\x0c\x41RRAY_APPEND\x10\x01\x12\x10\n\x0c\x41RRAY_REMOVE\x10\x02\"\xb9\x02\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>\n\rstruct_arrays\x18\x08 \x01(\x0b\x32%.milvus.proto.schema.StructArrayFieldH\x00\x12\x10\n\x08\x66ield_id\x18\x05 \x01(\x03\x12\x12\n\nis_dynamic\x18\x06 \x01(\x08\x12\x12\n\nvalid_data\x18\x07 \x03(\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\"<\n\x17SearchIteratorV2Results\x12\r\n\x05token\x18\x01 \x01(\t\x12\x12\n\nlast_bound\x18\x02 \x01(\x02\"\xdd\x05\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\x12<\n\x14group_by_field_value\x18\x08 \x01(\x0b\x32\x1e.milvus.proto.schema.FieldData\x12\x18\n\x10\x61ll_search_count\x18\t \x01(\x03\x12\x11\n\tdistances\x18\n \x03(\x02\x12U\n\x1asearch_iterator_v2_results\x18\x0b \x01(\x0b\x32,.milvus.proto.schema.SearchIteratorV2ResultsH\x00\x88\x01\x01\x12\x0f\n\x07recalls\x18\x0c \x03(\x02\x12\x1a\n\x12primary_field_name\x18\r \x01(\t\x12?\n\x11highlight_results\x18\x0e \x03(\x0b\x32$.milvus.proto.common.HighlightResult\x12\x37\n\x0f\x65lement_indices\x18\x0f \x01(\x0b\x32\x1e.milvus.proto.schema.LongArray\x12=\n\x15group_by_field_values\x18\x11 \x03(\x0b\x32\x1e.milvus.proto.schema.FieldData\x12\x33\n\x0b\x61gg_buckets\x18\x12 \x03(\x0b\x32\x1e.milvus.proto.schema.AggBucket\x12\x11\n\tagg_topks\x18\x13 \x03(\x03\x42\x1d\n\x1b_search_iterator_v2_resultsJ\x04\x08\x10\x10\x11\"\xbb\x02\n\tAggBucket\x12\x30\n\x03key\x18\x01 \x03(\x0b\x32#.milvus.proto.schema.BucketKeyEntry\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x12<\n\x07metrics\x18\x03 \x03(\x0b\x32+.milvus.proto.schema.AggBucket.MetricsEntry\x12)\n\x04hits\x18\x04 \x03(\x0b\x32\x1b.milvus.proto.schema.AggHit\x12\x32\n\nsub_groups\x18\x05 \x03(\x0b\x32\x1e.milvus.proto.schema.AggBucket\x1aP\n\x0cMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .milvus.proto.schema.MetricValue:\x02\x38\x01\"i\n\x0bMetricValue\x12\x11\n\x07int_val\x18\x01 \x01(\x03H\x00\x12\x14\n\ndouble_val\x18\x02 \x01(\x01H\x00\x12\x14\n\nstring_val\x18\x03 \x01(\tH\x00\x12\x12\n\x08\x62ool_val\x18\x04 \x01(\x08H\x00\x42\x07\n\x05value\"|\n\x0e\x42ucketKeyEntry\x12\x10\n\x08\x66ield_id\x18\x01 \x01(\x03\x12\x12\n\nfield_name\x18\x02 \x01(\t\x12\x11\n\x07int_val\x18\x03 \x01(\x03H\x00\x12\x14\n\nstring_val\x18\x04 \x01(\tH\x00\x12\x12\n\x08\x62ool_val\x18\x05 \x01(\x08H\x00\x42\x07\n\x05value\"s\n\x06\x41ggHit\x12\x10\n\x06int_pk\x18\x01 \x01(\x03H\x00\x12\x10\n\x06str_pk\x18\x02 \x01(\tH\x00\x12\r\n\x05score\x18\x03 \x01(\x02\x12\x30\n\x06\x66ields\x18\x04 \x03(\x0b\x32 .milvus.proto.schema.AggHitFieldB\x04\n\x02pk\"\xb9\x01\n\x0b\x41ggHitField\x12\x10\n\x08\x66ield_id\x18\x01 \x01(\x03\x12\x12\n\nfield_name\x18\x02 \x01(\t\x12\x11\n\x07int_val\x18\x03 \x01(\x03H\x00\x12\x12\n\x08\x62ool_val\x18\x04 \x01(\x08H\x00\x12\x13\n\tfloat_val\x18\x05 \x01(\x02H\x00\x12\x14\n\ndouble_val\x18\x06 \x01(\x01H\x00\x12\x14\n\nstring_val\x18\x07 \x01(\tH\x00\x12\x13\n\tbytes_val\x18\x08 \x01(\x0cH\x00\x42\x07\n\x05value\"Y\n\x14VectorClusteringInfo\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x32\n\x08\x63\x65ntroid\x18\x02 \x01(\x0b\x32 .milvus.proto.schema.VectorField\"%\n\x14ScalarClusteringInfo\x12\r\n\x05\x66ield\x18\x01 \x01(\t\"\xa8\x01\n\x0e\x43lusteringInfo\x12J\n\x17vector_clustering_infos\x18\x01 \x03(\x0b\x32).milvus.proto.schema.VectorClusteringInfo\x12J\n\x17scalar_clustering_infos\x18\x02 \x03(\x0b\x32).milvus.proto.schema.ScalarClusteringInfo\"\xbd\x01\n\rTemplateValue\x12\x12\n\x08\x62ool_val\x18\x01 \x01(\x08H\x00\x12\x13\n\tint64_val\x18\x02 \x01(\x03H\x00\x12\x13\n\tfloat_val\x18\x03 \x01(\x01H\x00\x12\x14\n\nstring_val\x18\x04 \x01(\tH\x00\x12<\n\tarray_val\x18\x05 \x01(\x0b\x32\'.milvus.proto.schema.TemplateArrayValueH\x00\x12\x13\n\tbytes_val\x18\x06 \x01(\x0cH\x00\x42\x05\n\x03val\"\xf1\x02\n\x12TemplateArrayValue\x12\x33\n\tbool_data\x18\x01 \x01(\x0b\x32\x1e.milvus.proto.schema.BoolArrayH\x00\x12\x33\n\tlong_data\x18\x02 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArrayH\x00\x12\x37\n\x0b\x64ouble_data\x18\x03 \x01(\x0b\x32 .milvus.proto.schema.DoubleArrayH\x00\x12\x37\n\x0bstring_data\x18\x04 \x01(\x0b\x32 .milvus.proto.schema.StringArrayH\x00\x12\x42\n\narray_data\x18\x05 \x01(\x0b\x32,.milvus.proto.schema.TemplateArrayValueArrayH\x00\x12\x33\n\tjson_data\x18\x06 \x01(\x0b\x32\x1e.milvus.proto.schema.JSONArrayH\x00\x42\x06\n\x04\x64\x61ta\"P\n\x17TemplateArrayValueArray\x12\x35\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\'.milvus.proto.schema.TemplateArrayValue*\x86\x03\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\x0c\n\x08Geometry\x10\x18\x12\x08\n\x04Text\x10\x19\x12\x0f\n\x0bTimestamptz\x10\x1a\x12\x07\n\x03Mol\x10\x1b\x12\x08\n\x04\x44\x61te\x10\x1c\x12\x08\n\x04Time\x10\x1d\x12\x0b\n\x07\x44\x65\x63imal\x10\x1e\x12\x10\n\x0c\x42inaryVector\x10\x64\x12\x0f\n\x0b\x46loatVector\x10\x65\x12\x11\n\rFloat16Vector\x10\x66\x12\x12\n\x0e\x42\x46loat16Vector\x10g\x12\x15\n\x11SparseFloatVector\x10h\x12\x0e\n\nInt8Vector\x10i\x12\x11\n\rArrayOfVector\x10j\x12\x12\n\rArrayOfStruct\x10\xc8\x01\x12\x0b\n\x06Struct\x10\xc9\x01*e\n\x0c\x46unctionType\x12\x0b\n\x07Unknown\x10\x00\x12\x08\n\x04\x42M25\x10\x01\x12\x11\n\rTextEmbedding\x10\x02\x12\n\n\x06Rerank\x10\x03\x12\x0b\n\x07MinHash\x10\x04\x12\x12\n\x0eMolFingerprint\x10\x05*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*\xfd\x01\n\x12\x46unctionChainStage\x12!\n\x1d\x46unctionChainStageUnspecified\x10\x00\x12\x1f\n\x1b\x46unctionChainStageIngestion\x10\x01\x12 \n\x1c\x46unctionChainStagePreProcess\x10\x02\x12\x1e\n\x1a\x46unctionChainStageL0Rerank\x10\x03\x12\x1e\n\x1a\x46unctionChainStageL1Rerank\x10\x04\x12\x1e\n\x1a\x46unctionChainStageL2Rerank\x10\x05\x12!\n\x1d\x46unctionChainStagePostProcess\x10\x06\x42m\n\x0eio.milvus.grpcB\x0bSchemaProtoP\x01Z4github.com/milvus-io/milvus-proto/go-api/v3/schemapb\xa0\x01\x01\xaa\x02\x12Milvus.Client.Grpcb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cschema.proto\x12\x13milvus.proto.schema\x1a\x0c\x63ommon.proto\x1a google/protobuf/descriptor.proto\"\xee\x04\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\x12\x19\n\x11is_clustering_key\x18\x0e \x01(\x08\x12\x10\n\x08nullable\x18\x0f \x01(\x08\x12\x1a\n\x12is_function_output\x18\x10 \x01(\x08\x12\x16\n\x0e\x65xternal_field\x18\x11 \x01(\t\x12\x34\n\x0btype_schema\x18\x12 \x01(\x0b\x32\x1f.milvus.proto.schema.TypeSchema\"\x8d\x02\n\x0e\x46unctionSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\x03\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12/\n\x04type\x18\x04 \x01(\x0e\x32!.milvus.proto.schema.FunctionType\x12\x19\n\x11input_field_names\x18\x05 \x03(\t\x12\x17\n\x0finput_field_ids\x18\x06 \x03(\x03\x12\x1a\n\x12output_field_names\x18\x07 \x03(\t\x12\x18\n\x10output_field_ids\x18\x08 \x03(\x03\x12\x31\n\x06params\x18\t \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"z\n\rFunctionScore\x12\x36\n\tfunctions\x18\x01 \x03(\x0b\x32#.milvus.proto.schema.FunctionSchema\x12\x31\n\x06params\x18\x02 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\"\x88\x01\n\rFunctionChain\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x05stage\x18\x02 \x01(\x0e\x32\'.milvus.proto.schema.FunctionChainStage\x12\x31\n\x03ops\x18\x03 \x03(\x0b\x32$.milvus.proto.schema.FunctionChainOp\"\x8e\x02\n\x0f\x46unctionChainOp\x12\n\n\x02op\x18\x01 \x01(\t\x12\x34\n\x04\x65xpr\x18\x02 \x01(\x0b\x32&.milvus.proto.schema.FunctionChainExpr\x12\x0e\n\x06inputs\x18\x03 \x03(\t\x12\x0f\n\x07outputs\x18\x04 \x03(\t\x12@\n\x06params\x18\x05 \x03(\x0b\x32\x30.milvus.proto.schema.FunctionChainOp.ParamsEntry\x1aV\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.milvus.proto.schema.FunctionParamValue:\x02\x38\x01\"\xf6\x01\n\x11\x46unctionChainExpr\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x37\n\x04\x61rgs\x18\x02 \x03(\x0b\x32).milvus.proto.schema.FunctionChainExprArg\x12\x42\n\x06params\x18\x03 \x03(\x0b\x32\x32.milvus.proto.schema.FunctionChainExpr.ParamsEntry\x1aV\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.milvus.proto.schema.FunctionParamValue:\x02\x38\x01\"\x98\x01\n\x14\x46unctionChainExprArg\x12=\n\x06\x63olumn\x18\x01 \x01(\x0b\x32+.milvus.proto.schema.FunctionChainColumnArgH\x00\x12:\n\x07literal\x18\x02 \x01(\x0b\x32\'.milvus.proto.schema.FunctionParamValueH\x00\x42\x05\n\x03\x61rg\"&\n\x16\x46unctionChainColumnArg\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x93\x02\n\x12\x46unctionParamValue\x12\x14\n\nbool_value\x18\x01 \x01(\x08H\x00\x12\x15\n\x0bint64_value\x18\x02 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x04 \x01(\tH\x00\x12>\n\x0b\x61rray_value\x18\x05 \x01(\x0b\x32\'.milvus.proto.schema.FunctionParamArrayH\x00\x12@\n\x0cobject_value\x18\x06 \x01(\x0b\x32(.milvus.proto.schema.FunctionParamObjectH\x00\x12\x15\n\x0b\x62ytes_value\x18\x07 \x01(\x0cH\x00\x42\x07\n\x05value\"M\n\x12\x46unctionParamArray\x12\x37\n\x06values\x18\x01 \x03(\x0b\x32\'.milvus.proto.schema.FunctionParamValue\"\xb3\x01\n\x13\x46unctionParamObject\x12\x44\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x34.milvus.proto.schema.FunctionParamObject.FieldsEntry\x1aV\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.milvus.proto.schema.FunctionParamValue:\x02\x38\x01\"\xf6\x03\n\x10\x43ollectionSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x12\n\x06\x61utoID\x18\x03 \x01(\x08\x42\x02\x18\x01\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\x12\x35\n\nproperties\x18\x06 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x36\n\tfunctions\x18\x07 \x03(\x0b\x32#.milvus.proto.schema.FunctionSchema\x12\x0e\n\x06\x64\x62Name\x18\x08 \x01(\t\x12H\n\x13struct_array_fields\x18\t \x03(\x0b\x32+.milvus.proto.schema.StructArrayFieldSchema\x12\x0f\n\x07version\x18\n \x01(\x05\x12\x17\n\x0f\x65xternal_source\x18\x0b \x01(\t\x12\x15\n\rexternal_spec\x18\x0c \x01(\t\x12\x1c\n\x14\x64o_physical_backfill\x18\r \x01(\x08\x12\x19\n\x11\x66ile_resource_ids\x18\x0e \x03(\x03\x12\x18\n\x10\x65nable_namespace\x18\x0f \x01(\x08\"\xc8\x01\n\x16StructArrayFieldSchema\x12\x0f\n\x07\x66ieldID\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x30\n\x06\x66ields\x18\x04 \x03(\x0b\x32 .milvus.proto.schema.FieldSchema\x12\x36\n\x0btype_params\x18\x05 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x10\n\x08nullable\x18\x06 \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\"\x19\n\tUUIDArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x0c\"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\"\x1d\n\rGeometryArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x0c\" \n\x10TimestamptzArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x03\"\x19\n\tDateArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x05\"\x19\n\tTimeArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x03\" \n\x10GeometryWktArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\t\"\x18\n\x08MolArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x0c\"\x1e\n\x0eMolSmilesArray\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\t\"\xf2\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\x12\x1a\n\x10timestamptz_data\x18\x08 \x01(\x03H\x00\x12\x13\n\tdate_data\x18\t \x01(\x05H\x00\x12\x13\n\ttime_data\x18\n \x01(\x03H\x00\x42\x06\n\x04\x64\x61ta\"\x9f\x07\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\x12;\n\rgeometry_data\x18\n \x01(\x0b\x32\".milvus.proto.schema.GeometryArrayH\x00\x12\x41\n\x10timestamptz_data\x18\x0b \x01(\x0b\x32%.milvus.proto.schema.TimestamptzArrayH\x00\x12\x42\n\x11geometry_wkt_data\x18\x0c \x01(\x0b\x32%.milvus.proto.schema.GeometryWktArrayH\x00\x12\x31\n\x08mol_data\x18\r \x01(\x0b\x32\x1d.milvus.proto.schema.MolArrayH\x00\x12>\n\x0fmol_smiles_data\x18\x0e \x01(\x0b\x32#.milvus.proto.schema.MolSmilesArrayH\x00\x12\x33\n\tdate_data\x18\x0f \x01(\x0b\x32\x1e.milvus.proto.schema.DateArrayH\x00\x12\x33\n\ttime_data\x18\x10 \x01(\x0b\x32\x1e.milvus.proto.schema.TimeArrayH\x00\x42\x06\n\x04\x64\x61ta\"1\n\x10SparseFloatArray\x12\x10\n\x08\x63ontents\x18\x01 \x03(\x0c\x12\x0b\n\x03\x64im\x18\x02 \x01(\x03\"\xc0\x02\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\x12\x19\n\x0f\x62\x66loat16_vector\x18\x05 \x01(\x0cH\x00\x12\x44\n\x13sparse_float_vector\x18\x06 \x01(\x0b\x32%.milvus.proto.schema.SparseFloatArrayH\x00\x12\x15\n\x0bint8_vector\x18\x07 \x01(\x0cH\x00\x12\x38\n\x0cvector_array\x18\x08 \x01(\x0b\x32 .milvus.proto.schema.VectorArrayH\x00\x42\x06\n\x04\x64\x61ta\"\x7f\n\x0bVectorArray\x12\x0b\n\x03\x64im\x18\x01 \x01(\x03\x12.\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32 .milvus.proto.schema.VectorField\x12\x33\n\x0c\x65lement_type\x18\x03 \x01(\x0e\x32\x1d.milvus.proto.schema.DataType\"B\n\x10StructArrayField\x12.\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x1e.milvus.proto.schema.FieldData\"\xa3\x01\n\x14\x46ieldPartialUpdateOp\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12<\n\x02op\x18\x02 \x01(\x0e\x32\x30.milvus.proto.schema.FieldPartialUpdateOp.OpType\"9\n\x06OpType\x12\x0b\n\x07REPLACE\x10\x00\x12\x10\n\x0c\x41RRAY_APPEND\x10\x01\x12\x10\n\x0c\x41RRAY_REMOVE\x10\x02\"\xb9\x02\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>\n\rstruct_arrays\x18\x08 \x01(\x0b\x32%.milvus.proto.schema.StructArrayFieldH\x00\x12\x10\n\x08\x66ield_id\x18\x05 \x01(\x03\x12\x12\n\nis_dynamic\x18\x06 \x01(\x08\x12\x12\n\nvalid_data\x18\x07 \x03(\x08\x42\x07\n\x05\x66ield\"\xaa\x01\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\x12\x31\n\x07uuid_id\x18\x03 \x01(\x0b\x32\x1e.milvus.proto.schema.UUIDArrayH\x00\x42\n\n\x08id_field\"<\n\x17SearchIteratorV2Results\x12\r\n\x05token\x18\x01 \x01(\t\x12\x12\n\nlast_bound\x18\x02 \x01(\x02\"\xdd\x05\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\x12<\n\x14group_by_field_value\x18\x08 \x01(\x0b\x32\x1e.milvus.proto.schema.FieldData\x12\x18\n\x10\x61ll_search_count\x18\t \x01(\x03\x12\x11\n\tdistances\x18\n \x03(\x02\x12U\n\x1asearch_iterator_v2_results\x18\x0b \x01(\x0b\x32,.milvus.proto.schema.SearchIteratorV2ResultsH\x00\x88\x01\x01\x12\x0f\n\x07recalls\x18\x0c \x03(\x02\x12\x1a\n\x12primary_field_name\x18\r \x01(\t\x12?\n\x11highlight_results\x18\x0e \x03(\x0b\x32$.milvus.proto.common.HighlightResult\x12\x37\n\x0f\x65lement_indices\x18\x0f \x01(\x0b\x32\x1e.milvus.proto.schema.LongArray\x12=\n\x15group_by_field_values\x18\x11 \x03(\x0b\x32\x1e.milvus.proto.schema.FieldData\x12\x33\n\x0b\x61gg_buckets\x18\x12 \x03(\x0b\x32\x1e.milvus.proto.schema.AggBucket\x12\x11\n\tagg_topks\x18\x13 \x03(\x03\x42\x1d\n\x1b_search_iterator_v2_resultsJ\x04\x08\x10\x10\x11\"\xbb\x02\n\tAggBucket\x12\x30\n\x03key\x18\x01 \x03(\x0b\x32#.milvus.proto.schema.BucketKeyEntry\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x12<\n\x07metrics\x18\x03 \x03(\x0b\x32+.milvus.proto.schema.AggBucket.MetricsEntry\x12)\n\x04hits\x18\x04 \x03(\x0b\x32\x1b.milvus.proto.schema.AggHit\x12\x32\n\nsub_groups\x18\x05 \x03(\x0b\x32\x1e.milvus.proto.schema.AggBucket\x1aP\n\x0cMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .milvus.proto.schema.MetricValue:\x02\x38\x01\"i\n\x0bMetricValue\x12\x11\n\x07int_val\x18\x01 \x01(\x03H\x00\x12\x14\n\ndouble_val\x18\x02 \x01(\x01H\x00\x12\x14\n\nstring_val\x18\x03 \x01(\tH\x00\x12\x12\n\x08\x62ool_val\x18\x04 \x01(\x08H\x00\x42\x07\n\x05value\"|\n\x0e\x42ucketKeyEntry\x12\x10\n\x08\x66ield_id\x18\x01 \x01(\x03\x12\x12\n\nfield_name\x18\x02 \x01(\t\x12\x11\n\x07int_val\x18\x03 \x01(\x03H\x00\x12\x14\n\nstring_val\x18\x04 \x01(\tH\x00\x12\x12\n\x08\x62ool_val\x18\x05 \x01(\x08H\x00\x42\x07\n\x05value\"s\n\x06\x41ggHit\x12\x10\n\x06int_pk\x18\x01 \x01(\x03H\x00\x12\x10\n\x06str_pk\x18\x02 \x01(\tH\x00\x12\r\n\x05score\x18\x03 \x01(\x02\x12\x30\n\x06\x66ields\x18\x04 \x03(\x0b\x32 .milvus.proto.schema.AggHitFieldB\x04\n\x02pk\"\xb9\x01\n\x0b\x41ggHitField\x12\x10\n\x08\x66ield_id\x18\x01 \x01(\x03\x12\x12\n\nfield_name\x18\x02 \x01(\t\x12\x11\n\x07int_val\x18\x03 \x01(\x03H\x00\x12\x12\n\x08\x62ool_val\x18\x04 \x01(\x08H\x00\x12\x13\n\tfloat_val\x18\x05 \x01(\x02H\x00\x12\x14\n\ndouble_val\x18\x06 \x01(\x01H\x00\x12\x14\n\nstring_val\x18\x07 \x01(\tH\x00\x12\x13\n\tbytes_val\x18\x08 \x01(\x0cH\x00\x42\x07\n\x05value\"Y\n\x14VectorClusteringInfo\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x32\n\x08\x63\x65ntroid\x18\x02 \x01(\x0b\x32 .milvus.proto.schema.VectorField\"%\n\x14ScalarClusteringInfo\x12\r\n\x05\x66ield\x18\x01 \x01(\t\"\xa8\x01\n\x0e\x43lusteringInfo\x12J\n\x17vector_clustering_infos\x18\x01 \x03(\x0b\x32).milvus.proto.schema.VectorClusteringInfo\x12J\n\x17scalar_clustering_infos\x18\x02 \x03(\x0b\x32).milvus.proto.schema.ScalarClusteringInfo\"\xbd\x01\n\rTemplateValue\x12\x12\n\x08\x62ool_val\x18\x01 \x01(\x08H\x00\x12\x13\n\tint64_val\x18\x02 \x01(\x03H\x00\x12\x13\n\tfloat_val\x18\x03 \x01(\x01H\x00\x12\x14\n\nstring_val\x18\x04 \x01(\tH\x00\x12<\n\tarray_val\x18\x05 \x01(\x0b\x32\'.milvus.proto.schema.TemplateArrayValueH\x00\x12\x13\n\tbytes_val\x18\x06 \x01(\x0cH\x00\x42\x05\n\x03val\"\xf1\x02\n\x12TemplateArrayValue\x12\x33\n\tbool_data\x18\x01 \x01(\x0b\x32\x1e.milvus.proto.schema.BoolArrayH\x00\x12\x33\n\tlong_data\x18\x02 \x01(\x0b\x32\x1e.milvus.proto.schema.LongArrayH\x00\x12\x37\n\x0b\x64ouble_data\x18\x03 \x01(\x0b\x32 .milvus.proto.schema.DoubleArrayH\x00\x12\x37\n\x0bstring_data\x18\x04 \x01(\x0b\x32 .milvus.proto.schema.StringArrayH\x00\x12\x42\n\narray_data\x18\x05 \x01(\x0b\x32,.milvus.proto.schema.TemplateArrayValueArrayH\x00\x12\x33\n\tjson_data\x18\x06 \x01(\x0b\x32\x1e.milvus.proto.schema.JSONArrayH\x00\x42\x06\n\x04\x64\x61ta\"P\n\x17TemplateArrayValueArray\x12\x35\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\'.milvus.proto.schema.TemplateArrayValue\"\xcc\x01\n\nTypeSchema\x12\x32\n\tleaf_type\x18\x01 \x01(\x0e\x32\x1d.milvus.proto.schema.DataTypeH\x00\x12\x38\n\rarray_element\x18\x02 \x01(\x0b\x32\x1f.milvus.proto.schema.TypeSchemaH\x00\x12\x36\n\x0btype_params\x18\x03 \x03(\x0b\x32!.milvus.proto.common.KeyValuePair\x12\x10\n\x08nullable\x18\x04 \x01(\x08\x42\x06\n\x04kind*\x90\x03\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\x0c\n\x08Geometry\x10\x18\x12\x08\n\x04Text\x10\x19\x12\x0f\n\x0bTimestamptz\x10\x1a\x12\x07\n\x03Mol\x10\x1b\x12\x08\n\x04\x44\x61te\x10\x1c\x12\x08\n\x04Time\x10\x1d\x12\x0b\n\x07\x44\x65\x63imal\x10\x1e\x12\x08\n\x04UUID\x10\x1f\x12\x10\n\x0c\x42inaryVector\x10\x64\x12\x0f\n\x0b\x46loatVector\x10\x65\x12\x11\n\rFloat16Vector\x10\x66\x12\x12\n\x0e\x42\x46loat16Vector\x10g\x12\x15\n\x11SparseFloatVector\x10h\x12\x0e\n\nInt8Vector\x10i\x12\x11\n\rArrayOfVector\x10j\x12\x12\n\rArrayOfStruct\x10\xc8\x01\x12\x0b\n\x06Struct\x10\xc9\x01*e\n\x0c\x46unctionType\x12\x0b\n\x07Unknown\x10\x00\x12\x08\n\x04\x42M25\x10\x01\x12\x11\n\rTextEmbedding\x10\x02\x12\n\n\x06Rerank\x10\x03\x12\x0b\n\x07MinHash\x10\x04\x12\x12\n\x0eMolFingerprint\x10\x05*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*\xfd\x01\n\x12\x46unctionChainStage\x12!\n\x1d\x46unctionChainStageUnspecified\x10\x00\x12\x1f\n\x1b\x46unctionChainStageIngestion\x10\x01\x12 \n\x1c\x46unctionChainStagePreProcess\x10\x02\x12\x1e\n\x1a\x46unctionChainStageL0Rerank\x10\x03\x12\x1e\n\x1a\x46unctionChainStageL1Rerank\x10\x04\x12\x1e\n\x1a\x46unctionChainStageL2Rerank\x10\x05\x12!\n\x1d\x46unctionChainStagePostProcess\x10\x06\x42m\n\x0eio.milvus.grpcB\x0bSchemaProtoP\x01Z4github.com/milvus-io/milvus-proto/go-api/v3/schemapb\xa0\x01\x01\xaa\x02\x12Milvus.Client.Grpcb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -44,124 +44,128 @@ _globals['_COLLECTIONSCHEMA'].fields_by_name['autoID']._serialized_options = b'\030\001' _globals['_AGGBUCKET_METRICSENTRY']._loaded_options = None _globals['_AGGBUCKET_METRICSENTRY']._serialized_options = b'8\001' - _globals['_DATATYPE']._serialized_start=8653 - _globals['_DATATYPE']._serialized_end=9043 - _globals['_FUNCTIONTYPE']._serialized_start=9045 - _globals['_FUNCTIONTYPE']._serialized_end=9146 - _globals['_FIELDSTATE']._serialized_start=9148 - _globals['_FIELDSTATE']._serialized_end=9234 - _globals['_FUNCTIONCHAINSTAGE']._serialized_start=9237 - _globals['_FUNCTIONCHAINSTAGE']._serialized_end=9490 + _globals['_DATATYPE']._serialized_start=8993 + _globals['_DATATYPE']._serialized_end=9393 + _globals['_FUNCTIONTYPE']._serialized_start=9395 + _globals['_FUNCTIONTYPE']._serialized_end=9496 + _globals['_FIELDSTATE']._serialized_start=9498 + _globals['_FIELDSTATE']._serialized_end=9584 + _globals['_FUNCTIONCHAINSTAGE']._serialized_start=9587 + _globals['_FUNCTIONCHAINSTAGE']._serialized_end=9840 _globals['_FIELDSCHEMA']._serialized_start=86 - _globals['_FIELDSCHEMA']._serialized_end=654 - _globals['_FUNCTIONSCHEMA']._serialized_start=657 - _globals['_FUNCTIONSCHEMA']._serialized_end=926 - _globals['_FUNCTIONSCORE']._serialized_start=928 - _globals['_FUNCTIONSCORE']._serialized_end=1050 - _globals['_FUNCTIONCHAIN']._serialized_start=1053 - _globals['_FUNCTIONCHAIN']._serialized_end=1189 - _globals['_FUNCTIONCHAINOP']._serialized_start=1192 - _globals['_FUNCTIONCHAINOP']._serialized_end=1462 - _globals['_FUNCTIONCHAINOP_PARAMSENTRY']._serialized_start=1376 - _globals['_FUNCTIONCHAINOP_PARAMSENTRY']._serialized_end=1462 - _globals['_FUNCTIONCHAINEXPR']._serialized_start=1465 - _globals['_FUNCTIONCHAINEXPR']._serialized_end=1711 - _globals['_FUNCTIONCHAINEXPR_PARAMSENTRY']._serialized_start=1376 - _globals['_FUNCTIONCHAINEXPR_PARAMSENTRY']._serialized_end=1462 - _globals['_FUNCTIONCHAINEXPRARG']._serialized_start=1714 - _globals['_FUNCTIONCHAINEXPRARG']._serialized_end=1866 - _globals['_FUNCTIONCHAINCOLUMNARG']._serialized_start=1868 - _globals['_FUNCTIONCHAINCOLUMNARG']._serialized_end=1906 - _globals['_FUNCTIONPARAMVALUE']._serialized_start=1909 - _globals['_FUNCTIONPARAMVALUE']._serialized_end=2184 - _globals['_FUNCTIONPARAMARRAY']._serialized_start=2186 - _globals['_FUNCTIONPARAMARRAY']._serialized_end=2263 - _globals['_FUNCTIONPARAMOBJECT']._serialized_start=2266 - _globals['_FUNCTIONPARAMOBJECT']._serialized_end=2445 - _globals['_FUNCTIONPARAMOBJECT_FIELDSENTRY']._serialized_start=2359 - _globals['_FUNCTIONPARAMOBJECT_FIELDSENTRY']._serialized_end=2445 - _globals['_COLLECTIONSCHEMA']._serialized_start=2448 - _globals['_COLLECTIONSCHEMA']._serialized_end=2950 - _globals['_STRUCTARRAYFIELDSCHEMA']._serialized_start=2953 - _globals['_STRUCTARRAYFIELDSCHEMA']._serialized_end=3153 - _globals['_BOOLARRAY']._serialized_start=3155 - _globals['_BOOLARRAY']._serialized_end=3180 - _globals['_INTARRAY']._serialized_start=3182 - _globals['_INTARRAY']._serialized_end=3206 - _globals['_LONGARRAY']._serialized_start=3208 - _globals['_LONGARRAY']._serialized_end=3233 - _globals['_FLOATARRAY']._serialized_start=3235 - _globals['_FLOATARRAY']._serialized_end=3261 - _globals['_DOUBLEARRAY']._serialized_start=3263 - _globals['_DOUBLEARRAY']._serialized_end=3290 - _globals['_BYTESARRAY']._serialized_start=3292 - _globals['_BYTESARRAY']._serialized_end=3318 - _globals['_STRINGARRAY']._serialized_start=3320 - _globals['_STRINGARRAY']._serialized_end=3347 - _globals['_ARRAYARRAY']._serialized_start=3349 - _globals['_ARRAYARRAY']._serialized_end=3462 - _globals['_JSONARRAY']._serialized_start=3464 - _globals['_JSONARRAY']._serialized_end=3489 - _globals['_GEOMETRYARRAY']._serialized_start=3491 - _globals['_GEOMETRYARRAY']._serialized_end=3520 - _globals['_TIMESTAMPTZARRAY']._serialized_start=3522 - _globals['_TIMESTAMPTZARRAY']._serialized_end=3554 - _globals['_DATEARRAY']._serialized_start=3556 - _globals['_DATEARRAY']._serialized_end=3581 - _globals['_TIMEARRAY']._serialized_start=3583 - _globals['_TIMEARRAY']._serialized_end=3608 - _globals['_GEOMETRYWKTARRAY']._serialized_start=3610 - _globals['_GEOMETRYWKTARRAY']._serialized_end=3642 - _globals['_MOLARRAY']._serialized_start=3644 - _globals['_MOLARRAY']._serialized_end=3668 - _globals['_MOLSMILESARRAY']._serialized_start=3670 - _globals['_MOLSMILESARRAY']._serialized_end=3700 - _globals['_VALUEFIELD']._serialized_start=3703 - _globals['_VALUEFIELD']._serialized_end=3945 - _globals['_SCALARFIELD']._serialized_start=3948 - _globals['_SCALARFIELD']._serialized_end=4875 - _globals['_SPARSEFLOATARRAY']._serialized_start=4877 - _globals['_SPARSEFLOATARRAY']._serialized_end=4926 - _globals['_VECTORFIELD']._serialized_start=4929 - _globals['_VECTORFIELD']._serialized_end=5249 - _globals['_VECTORARRAY']._serialized_start=5251 - _globals['_VECTORARRAY']._serialized_end=5378 - _globals['_STRUCTARRAYFIELD']._serialized_start=5380 - _globals['_STRUCTARRAYFIELD']._serialized_end=5446 - _globals['_FIELDPARTIALUPDATEOP']._serialized_start=5449 - _globals['_FIELDPARTIALUPDATEOP']._serialized_end=5612 - _globals['_FIELDPARTIALUPDATEOP_OPTYPE']._serialized_start=5555 - _globals['_FIELDPARTIALUPDATEOP_OPTYPE']._serialized_end=5612 - _globals['_FIELDDATA']._serialized_start=5615 - _globals['_FIELDDATA']._serialized_end=5928 - _globals['_IDS']._serialized_start=5930 - _globals['_IDS']._serialized_end=6049 - _globals['_SEARCHITERATORV2RESULTS']._serialized_start=6051 - _globals['_SEARCHITERATORV2RESULTS']._serialized_end=6111 - _globals['_SEARCHRESULTDATA']._serialized_start=6114 - _globals['_SEARCHRESULTDATA']._serialized_end=6847 - _globals['_AGGBUCKET']._serialized_start=6850 - _globals['_AGGBUCKET']._serialized_end=7165 - _globals['_AGGBUCKET_METRICSENTRY']._serialized_start=7085 - _globals['_AGGBUCKET_METRICSENTRY']._serialized_end=7165 - _globals['_METRICVALUE']._serialized_start=7167 - _globals['_METRICVALUE']._serialized_end=7272 - _globals['_BUCKETKEYENTRY']._serialized_start=7274 - _globals['_BUCKETKEYENTRY']._serialized_end=7398 - _globals['_AGGHIT']._serialized_start=7400 - _globals['_AGGHIT']._serialized_end=7515 - _globals['_AGGHITFIELD']._serialized_start=7518 - _globals['_AGGHITFIELD']._serialized_end=7703 - _globals['_VECTORCLUSTERINGINFO']._serialized_start=7705 - _globals['_VECTORCLUSTERINGINFO']._serialized_end=7794 - _globals['_SCALARCLUSTERINGINFO']._serialized_start=7796 - _globals['_SCALARCLUSTERINGINFO']._serialized_end=7833 - _globals['_CLUSTERINGINFO']._serialized_start=7836 - _globals['_CLUSTERINGINFO']._serialized_end=8004 - _globals['_TEMPLATEVALUE']._serialized_start=8007 - _globals['_TEMPLATEVALUE']._serialized_end=8196 - _globals['_TEMPLATEARRAYVALUE']._serialized_start=8199 - _globals['_TEMPLATEARRAYVALUE']._serialized_end=8568 - _globals['_TEMPLATEARRAYVALUEARRAY']._serialized_start=8570 - _globals['_TEMPLATEARRAYVALUEARRAY']._serialized_end=8650 + _globals['_FIELDSCHEMA']._serialized_end=708 + _globals['_FUNCTIONSCHEMA']._serialized_start=711 + _globals['_FUNCTIONSCHEMA']._serialized_end=980 + _globals['_FUNCTIONSCORE']._serialized_start=982 + _globals['_FUNCTIONSCORE']._serialized_end=1104 + _globals['_FUNCTIONCHAIN']._serialized_start=1107 + _globals['_FUNCTIONCHAIN']._serialized_end=1243 + _globals['_FUNCTIONCHAINOP']._serialized_start=1246 + _globals['_FUNCTIONCHAINOP']._serialized_end=1516 + _globals['_FUNCTIONCHAINOP_PARAMSENTRY']._serialized_start=1430 + _globals['_FUNCTIONCHAINOP_PARAMSENTRY']._serialized_end=1516 + _globals['_FUNCTIONCHAINEXPR']._serialized_start=1519 + _globals['_FUNCTIONCHAINEXPR']._serialized_end=1765 + _globals['_FUNCTIONCHAINEXPR_PARAMSENTRY']._serialized_start=1430 + _globals['_FUNCTIONCHAINEXPR_PARAMSENTRY']._serialized_end=1516 + _globals['_FUNCTIONCHAINEXPRARG']._serialized_start=1768 + _globals['_FUNCTIONCHAINEXPRARG']._serialized_end=1920 + _globals['_FUNCTIONCHAINCOLUMNARG']._serialized_start=1922 + _globals['_FUNCTIONCHAINCOLUMNARG']._serialized_end=1960 + _globals['_FUNCTIONPARAMVALUE']._serialized_start=1963 + _globals['_FUNCTIONPARAMVALUE']._serialized_end=2238 + _globals['_FUNCTIONPARAMARRAY']._serialized_start=2240 + _globals['_FUNCTIONPARAMARRAY']._serialized_end=2317 + _globals['_FUNCTIONPARAMOBJECT']._serialized_start=2320 + _globals['_FUNCTIONPARAMOBJECT']._serialized_end=2499 + _globals['_FUNCTIONPARAMOBJECT_FIELDSENTRY']._serialized_start=2413 + _globals['_FUNCTIONPARAMOBJECT_FIELDSENTRY']._serialized_end=2499 + _globals['_COLLECTIONSCHEMA']._serialized_start=2502 + _globals['_COLLECTIONSCHEMA']._serialized_end=3004 + _globals['_STRUCTARRAYFIELDSCHEMA']._serialized_start=3007 + _globals['_STRUCTARRAYFIELDSCHEMA']._serialized_end=3207 + _globals['_BOOLARRAY']._serialized_start=3209 + _globals['_BOOLARRAY']._serialized_end=3234 + _globals['_INTARRAY']._serialized_start=3236 + _globals['_INTARRAY']._serialized_end=3260 + _globals['_LONGARRAY']._serialized_start=3262 + _globals['_LONGARRAY']._serialized_end=3287 + _globals['_FLOATARRAY']._serialized_start=3289 + _globals['_FLOATARRAY']._serialized_end=3315 + _globals['_DOUBLEARRAY']._serialized_start=3317 + _globals['_DOUBLEARRAY']._serialized_end=3344 + _globals['_BYTESARRAY']._serialized_start=3346 + _globals['_BYTESARRAY']._serialized_end=3372 + _globals['_STRINGARRAY']._serialized_start=3374 + _globals['_STRINGARRAY']._serialized_end=3401 + _globals['_UUIDARRAY']._serialized_start=3403 + _globals['_UUIDARRAY']._serialized_end=3428 + _globals['_ARRAYARRAY']._serialized_start=3430 + _globals['_ARRAYARRAY']._serialized_end=3543 + _globals['_JSONARRAY']._serialized_start=3545 + _globals['_JSONARRAY']._serialized_end=3570 + _globals['_GEOMETRYARRAY']._serialized_start=3572 + _globals['_GEOMETRYARRAY']._serialized_end=3601 + _globals['_TIMESTAMPTZARRAY']._serialized_start=3603 + _globals['_TIMESTAMPTZARRAY']._serialized_end=3635 + _globals['_DATEARRAY']._serialized_start=3637 + _globals['_DATEARRAY']._serialized_end=3662 + _globals['_TIMEARRAY']._serialized_start=3664 + _globals['_TIMEARRAY']._serialized_end=3689 + _globals['_GEOMETRYWKTARRAY']._serialized_start=3691 + _globals['_GEOMETRYWKTARRAY']._serialized_end=3723 + _globals['_MOLARRAY']._serialized_start=3725 + _globals['_MOLARRAY']._serialized_end=3749 + _globals['_MOLSMILESARRAY']._serialized_start=3751 + _globals['_MOLSMILESARRAY']._serialized_end=3781 + _globals['_VALUEFIELD']._serialized_start=3784 + _globals['_VALUEFIELD']._serialized_end=4026 + _globals['_SCALARFIELD']._serialized_start=4029 + _globals['_SCALARFIELD']._serialized_end=4956 + _globals['_SPARSEFLOATARRAY']._serialized_start=4958 + _globals['_SPARSEFLOATARRAY']._serialized_end=5007 + _globals['_VECTORFIELD']._serialized_start=5010 + _globals['_VECTORFIELD']._serialized_end=5330 + _globals['_VECTORARRAY']._serialized_start=5332 + _globals['_VECTORARRAY']._serialized_end=5459 + _globals['_STRUCTARRAYFIELD']._serialized_start=5461 + _globals['_STRUCTARRAYFIELD']._serialized_end=5527 + _globals['_FIELDPARTIALUPDATEOP']._serialized_start=5530 + _globals['_FIELDPARTIALUPDATEOP']._serialized_end=5693 + _globals['_FIELDPARTIALUPDATEOP_OPTYPE']._serialized_start=5636 + _globals['_FIELDPARTIALUPDATEOP_OPTYPE']._serialized_end=5693 + _globals['_FIELDDATA']._serialized_start=5696 + _globals['_FIELDDATA']._serialized_end=6009 + _globals['_IDS']._serialized_start=6012 + _globals['_IDS']._serialized_end=6182 + _globals['_SEARCHITERATORV2RESULTS']._serialized_start=6184 + _globals['_SEARCHITERATORV2RESULTS']._serialized_end=6244 + _globals['_SEARCHRESULTDATA']._serialized_start=6247 + _globals['_SEARCHRESULTDATA']._serialized_end=6980 + _globals['_AGGBUCKET']._serialized_start=6983 + _globals['_AGGBUCKET']._serialized_end=7298 + _globals['_AGGBUCKET_METRICSENTRY']._serialized_start=7218 + _globals['_AGGBUCKET_METRICSENTRY']._serialized_end=7298 + _globals['_METRICVALUE']._serialized_start=7300 + _globals['_METRICVALUE']._serialized_end=7405 + _globals['_BUCKETKEYENTRY']._serialized_start=7407 + _globals['_BUCKETKEYENTRY']._serialized_end=7531 + _globals['_AGGHIT']._serialized_start=7533 + _globals['_AGGHIT']._serialized_end=7648 + _globals['_AGGHITFIELD']._serialized_start=7651 + _globals['_AGGHITFIELD']._serialized_end=7836 + _globals['_VECTORCLUSTERINGINFO']._serialized_start=7838 + _globals['_VECTORCLUSTERINGINFO']._serialized_end=7927 + _globals['_SCALARCLUSTERINGINFO']._serialized_start=7929 + _globals['_SCALARCLUSTERINGINFO']._serialized_end=7966 + _globals['_CLUSTERINGINFO']._serialized_start=7969 + _globals['_CLUSTERINGINFO']._serialized_end=8137 + _globals['_TEMPLATEVALUE']._serialized_start=8140 + _globals['_TEMPLATEVALUE']._serialized_end=8329 + _globals['_TEMPLATEARRAYVALUE']._serialized_start=8332 + _globals['_TEMPLATEARRAYVALUE']._serialized_end=8701 + _globals['_TEMPLATEARRAYVALUEARRAY']._serialized_start=8703 + _globals['_TEMPLATEARRAYVALUEARRAY']._serialized_end=8783 + _globals['_TYPESCHEMA']._serialized_start=8786 + _globals['_TYPESCHEMA']._serialized_end=8990 # @@protoc_insertion_point(module_scope) diff --git a/pymilvus/grpc_gen/schema_pb2.pyi b/pymilvus/grpc_gen/schema_pb2.pyi index 7919a937c..860094b34 100644 --- a/pymilvus/grpc_gen/schema_pb2.pyi +++ b/pymilvus/grpc_gen/schema_pb2.pyi @@ -29,6 +29,7 @@ class DataType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): Date: _ClassVar[DataType] Time: _ClassVar[DataType] Decimal: _ClassVar[DataType] + UUID: _ClassVar[DataType] BinaryVector: _ClassVar[DataType] FloatVector: _ClassVar[DataType] Float16Vector: _ClassVar[DataType] @@ -83,6 +84,7 @@ Mol: DataType Date: DataType Time: DataType Decimal: DataType +UUID: DataType BinaryVector: DataType FloatVector: DataType Float16Vector: DataType @@ -111,7 +113,7 @@ FunctionChainStageL2Rerank: FunctionChainStage FunctionChainStagePostProcess: FunctionChainStage 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", "is_clustering_key", "nullable", "is_function_output", "external_field") + __slots__ = ("fieldID", "name", "is_primary_key", "description", "data_type", "type_params", "index_params", "autoID", "state", "element_type", "default_value", "is_dynamic", "is_partition_key", "is_clustering_key", "nullable", "is_function_output", "external_field", "type_schema") FIELDID_FIELD_NUMBER: _ClassVar[int] NAME_FIELD_NUMBER: _ClassVar[int] IS_PRIMARY_KEY_FIELD_NUMBER: _ClassVar[int] @@ -129,6 +131,7 @@ class FieldSchema(_message.Message): NULLABLE_FIELD_NUMBER: _ClassVar[int] IS_FUNCTION_OUTPUT_FIELD_NUMBER: _ClassVar[int] EXTERNAL_FIELD_FIELD_NUMBER: _ClassVar[int] + TYPE_SCHEMA_FIELD_NUMBER: _ClassVar[int] fieldID: int name: str is_primary_key: bool @@ -146,7 +149,8 @@ class FieldSchema(_message.Message): nullable: bool is_function_output: bool external_field: str - 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 = ..., is_clustering_key: bool = ..., nullable: bool = ..., is_function_output: bool = ..., external_field: _Optional[str] = ...) -> None: ... + type_schema: TypeSchema + 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 = ..., is_clustering_key: bool = ..., nullable: bool = ..., is_function_output: bool = ..., external_field: _Optional[str] = ..., type_schema: _Optional[_Union[TypeSchema, _Mapping]] = ...) -> None: ... class FunctionSchema(_message.Message): __slots__ = ("name", "id", "description", "type", "input_field_names", "input_field_ids", "output_field_names", "output_field_ids", "params") @@ -369,6 +373,12 @@ class StringArray(_message.Message): data: _containers.RepeatedScalarFieldContainer[str] def __init__(self, data: _Optional[_Iterable[str]] = ...) -> None: ... +class UUIDArray(_message.Message): + __slots__ = ("data",) + DATA_FIELD_NUMBER: _ClassVar[int] + data: _containers.RepeatedScalarFieldContainer[bytes] + def __init__(self, data: _Optional[_Iterable[bytes]] = ...) -> None: ... + class ArrayArray(_message.Message): __slots__ = ("data", "element_type") DATA_FIELD_NUMBER: _ClassVar[int] @@ -566,12 +576,14 @@ class FieldData(_message.Message): def __init__(self, type: _Optional[_Union[DataType, str]] = ..., field_name: _Optional[str] = ..., scalars: _Optional[_Union[ScalarField, _Mapping]] = ..., vectors: _Optional[_Union[VectorField, _Mapping]] = ..., struct_arrays: _Optional[_Union[StructArrayField, _Mapping]] = ..., field_id: _Optional[int] = ..., is_dynamic: bool = ..., valid_data: _Optional[_Iterable[bool]] = ...) -> None: ... class IDs(_message.Message): - __slots__ = ("int_id", "str_id") + __slots__ = ("int_id", "str_id", "uuid_id") INT_ID_FIELD_NUMBER: _ClassVar[int] STR_ID_FIELD_NUMBER: _ClassVar[int] + UUID_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: ... + uuid_id: UUIDArray + def __init__(self, int_id: _Optional[_Union[LongArray, _Mapping]] = ..., str_id: _Optional[_Union[StringArray, _Mapping]] = ..., uuid_id: _Optional[_Union[UUIDArray, _Mapping]] = ...) -> None: ... class SearchIteratorV2Results(_message.Message): __slots__ = ("token", "last_bound") @@ -759,3 +771,15 @@ class TemplateArrayValueArray(_message.Message): DATA_FIELD_NUMBER: _ClassVar[int] data: _containers.RepeatedCompositeFieldContainer[TemplateArrayValue] def __init__(self, data: _Optional[_Iterable[_Union[TemplateArrayValue, _Mapping]]] = ...) -> None: ... + +class TypeSchema(_message.Message): + __slots__ = ("leaf_type", "array_element", "type_params", "nullable") + LEAF_TYPE_FIELD_NUMBER: _ClassVar[int] + ARRAY_ELEMENT_FIELD_NUMBER: _ClassVar[int] + TYPE_PARAMS_FIELD_NUMBER: _ClassVar[int] + NULLABLE_FIELD_NUMBER: _ClassVar[int] + leaf_type: DataType + array_element: TypeSchema + type_params: _containers.RepeatedCompositeFieldContainer[_common_pb2.KeyValuePair] + nullable: bool + def __init__(self, leaf_type: _Optional[_Union[DataType, str]] = ..., array_element: _Optional[_Union[TypeSchema, _Mapping]] = ..., type_params: _Optional[_Iterable[_Union[_common_pb2.KeyValuePair, _Mapping]]] = ..., nullable: bool = ...) -> None: ... diff --git a/pymilvus/orm/schema.py b/pymilvus/orm/schema.py index 30b7ad04e..7519629bc 100644 --- a/pymilvus/orm/schema.py +++ b/pymilvus/orm/schema.py @@ -17,6 +17,7 @@ import pandas as pd from pandas.api.types import is_list_like, is_scalar +from pymilvus.client.type_info import get_array_element_attr from pymilvus.client.types import FunctionType, HighlightType from pymilvus.client.utils import convert_struct_fields_to_user_format from pymilvus.exceptions import ( @@ -558,7 +559,58 @@ def add_function(self, function: "Function"): return self +def _normalize_type_schema(raw: Dict) -> Dict: + if not isinstance(raw, dict): + raise ParamError(message="type_schema must be a dict") + if ("array_element" in raw) == ("leaf_type" in raw): + raise ParamError(message="type_schema requires exactly one of array_element or leaf_type") + + if "array_element" in raw: + result = {"array_element": _normalize_type_schema(raw["array_element"])} + else: + try: + leaf_type = DataType(raw["leaf_type"]) + except (TypeError, ValueError): + raise DataTypeNotSupportException(message=ExceptionsMessage.FieldDtype) from None + if get_array_element_attr(leaf_type) is None: + raise ParamError(message=f"Unsupported leaf_type: {leaf_type} for nested ARRAY") + result = {"leaf_type": leaf_type} + + nullable = raw.get("nullable", False) + if not isinstance(nullable, bool): + raise ParamError(message="type_schema nullable must be boolean") + if nullable: + result["nullable"] = True + + params = raw.get("type_params", {}) + if not isinstance(params, dict): + raise ParamError(message="type_schema type_params must be a dict") + params = copy.deepcopy(params) + for key, value in params.items(): + if key in ("analyzer_params", "multi_analyzer_params") and isinstance(value, dict): + params[key] = orjson.dumps(value).decode(Config.EncodeProtocol) + elif ( + key in COMMON_TYPE_PARAMS + and isinstance(value, str) + and value.lower() in ("true", "false") + ): + params[key] = value.lower() == "true" + + if params: + result["type_params"] = params + return result + + class FieldSchema: + """Describe a collection field. + + Nested ARRAY fields use a ``type_schema`` dict describing the entire field: + each ``array_element`` adds one ARRAY level, and ``leaf_type`` names the + scalar type. A node's ``type_params`` is a dict of parameter names to values. + Root parameters also appear in the field's params; set root nullability + through ``nullable`` on FieldSchema. + """ + def __init__(self, name: str, dtype: DataType, description: str = "", **kwargs) -> None: self.name = name try: @@ -600,6 +652,7 @@ def __init__(self, name: str, dtype: DataType, description: str = "", **kwargs) kwargs.get("default_value"), dtype=self._dtype ) self.element_type = kwargs.get("element_type") + self.type_schema = kwargs.get("type_schema") if "mmap_enabled" in kwargs: self._type_params["mmap_enabled"] = kwargs["mmap_enabled"] @@ -611,6 +664,27 @@ def __init__(self, name: str, dtype: DataType, description: str = "", **kwargs) self._kwargs[key] = orjson.dumps(self._kwargs[key]).decode(Config.EncodeProtocol) self._parse_type_params() + if self.type_schema is not None: + self.type_schema = _normalize_type_schema(self.type_schema) + if ( + self.dtype != DataType.ARRAY + or "array_element" not in self.type_schema + or "array_element" not in self.type_schema["array_element"] + ): + raise ParamError(message="type_schema must describe a nested ARRAY field") + if self.element_type not in (None, DataType.NONE, DataType.ARRAY): + raise ParamError(message="element_type does not match type_schema") + if self.type_schema.get("nullable", False): + raise ParamError(message="Set root nullability with FieldSchema nullable") + self.element_type = DataType.ARRAY + params = self.type_schema.get("type_params", {}) + for key, value in self._type_params.items(): + if key in params and params[key] != value: + raise ParamError(message=f"Field parameter {key} does not match type_schema") + params[key] = value + if params: + self.type_schema["type_params"] = params + self._type_params = copy.deepcopy(params) self.is_function_output = False self.external_field = kwargs.get("external_field", "") @@ -667,6 +741,8 @@ def construct_from_dict(cls, raw: Dict): kwargs["is_dynamic"] = raw.get("is_dynamic", False) kwargs["nullable"] = raw.get("nullable", False) kwargs["element_type"] = raw.get("element_type") + if raw.get("type_schema") is not None: + kwargs["type_schema"] = raw["type_schema"] if raw.get("external_field"): kwargs["external_field"] = raw["external_field"] is_function_output = raw.get("is_function_output", False) @@ -699,6 +775,8 @@ def to_dict(self): self.dtype == DataType.ARRAY or self._dtype == DataType._ARRAY_OF_VECTOR ) and self.element_type: _dict["element_type"] = self.element_type + if self.dtype == DataType.ARRAY and self.type_schema is not None: + _dict["type_schema"] = copy.deepcopy(self.type_schema) if self.is_clustering_key: _dict["is_clustering_key"] = True if self.is_function_output: @@ -792,6 +870,14 @@ def _check_fields(self): raise ParamError(message="Struct field must have at least one field") for field in self._fields: + if ( + field.dtype == DataType.ARRAY + and field.type_schema is None + and get_array_element_attr(field.element_type) is None + ): + raise ParamError( + message=f"Unsupported element type: {field.element_type} for Array field: {field.name}" + ) if field.is_primary: raise ParamError( message=f"Field '{field.name}' in struct '{self.name}' cannot be primary key" @@ -839,7 +925,9 @@ def _check_fields(self): ) def add_field(self, field_name: str, datatype: DataType, **kwargs): - if datatype in {DataType.ARRAY, DataType._ARRAY_OF_VECTOR, DataType.STRUCT}: + if datatype in {DataType._ARRAY_OF_VECTOR, DataType.STRUCT} or ( + datatype == DataType.ARRAY and kwargs.get("element_type") == DataType.STRUCT + ): raise ParamError( message="Struct field schema does not support Array, ArrayOfVector or Struct" ) @@ -923,6 +1011,11 @@ def construct_from_dict(cls, raw: Dict): field_kwargs = {} if field_dict.get("params"): field_kwargs.update(field_dict["params"]) + if field_dict["type"] == DataType.ARRAY: + if field_dict.get("element_type") is not None: + field_kwargs["element_type"] = field_dict["element_type"] + if field_dict.get("type_schema") is not None: + field_kwargs["type_schema"] = field_dict["type_schema"] field = FieldSchema( name=field_dict["name"], dtype=field_dict["type"], diff --git a/tests/unit/entity_helper/test_array_operations.py b/tests/unit/entity_helper/test_array_operations.py index ec2ab89bd..1f2ced36f 100644 --- a/tests/unit/entity_helper/test_array_operations.py +++ b/tests/unit/entity_helper/test_array_operations.py @@ -6,6 +6,7 @@ extract_array_rows, get_array_length, get_array_value_at_index, + pack_field_value_to_field_data, ) from pymilvus.client.types import DataType from pymilvus.exceptions import ParamError @@ -239,6 +240,44 @@ def test_convert_to_array_numpy_input(self): result = convert_to_array(arr, field_info) assert list(result.long_data.data) == [1, 2, 3] + def test_pack_quadruple_nested_array_metadata(self): + field_info = { + "name": "nested_4d", + "type_schema": { + "array_element": { + "array_element": { + "array_element": { + "array_element": {"leaf_type": DataType.INT32}, + }, + }, + }, + }, + } + + field_data = schema_types.FieldData( + type=DataType.ARRAY, + field_name="nested_4d", + ) + pack_field_value_to_field_data( + [[[[1, 2], []], [[3]]]], + field_data, + field_info, + {}, + ) + + root = field_data.scalars.array_data + level_one = root.data[0].array_data + level_two = level_one.data[0].array_data + level_three = level_two.data[0].array_data + + assert root.element_type == DataType.ARRAY + assert level_one.element_type == DataType.ARRAY + assert level_two.element_type == DataType.ARRAY + assert level_three.element_type == DataType.INT32 + assert list(level_three.data[0].int_data.data) == [1, 2] + assert list(level_three.data[1].int_data.data) == [] + assert list(level_two.data[1].array_data.data[0].int_data.data) == [3] + class TestConvertToArrayOfVector: """Test convert_to_array_of_vector function""" diff --git a/tests/unit/orm/test_schema.py b/tests/unit/orm/test_schema.py index bedef1ec4..b75d8285f 100644 --- a/tests/unit/orm/test_schema.py +++ b/tests/unit/orm/test_schema.py @@ -214,6 +214,21 @@ def test_default_value_none_not_nullable(self): with pytest.raises(ParamError, match=r"[Dd]efault"): FieldSchema("field", DataType.INT64, default_value=None, nullable=False) + def test_nested_type_schema_nullable_must_be_boolean(self): + with pytest.raises(ParamError, match="type_schema nullable must be boolean"): + FieldSchema( + "nested", + DataType.ARRAY, + type_schema={ + "array_element": { + "array_element": {"leaf_type": DataType.INT32}, + "nullable": "true", + "type_params": {"max_capacity": 8}, + }, + }, + max_capacity=8, + ) + class TestFieldSchemaEquality: """Tests for FieldSchema equality comparison.""" @@ -1354,11 +1369,32 @@ def test_check_fields_duplicate_names(self): with pytest.raises(ParamError, match=r"[Dd]uplicate"): struct._check_fields() - def test_add_field_unsupported_types(self): - """Test adding unsupported types to struct.""" + def test_add_array_field(self): + """Test adding a recursive Array sub-field to struct.""" + struct = StructFieldSchema() + struct.add_field( + "arr", + DataType.ARRAY, + type_schema={ + "array_element": { + "array_element": {"leaf_type": DataType.INT64}, + "type_params": {"max_capacity": 4}, + }, + }, + max_capacity=10, + ) + + assert struct.fields[0].dtype == DataType.ARRAY + assert ( + struct.fields[0].type_schema["array_element"]["array_element"]["leaf_type"] + == DataType.INT64 + ) + + def test_add_field_rejects_nested_struct(self): + """Test adding nested Struct to struct remains unsupported.""" struct = StructFieldSchema() - with pytest.raises(ParamError, match="does not support"): - struct.add_field("arr", DataType.ARRAY, element_type=DataType.INT64, max_capacity=10) + with pytest.raises(ParamError, match="does not support Array, ArrayOfVector or Struct"): + struct.add_field("nested", DataType.ARRAY, element_type=DataType.STRUCT) class TestStructFieldSchemaToDict: diff --git a/tests/unit/prepare/test_collection.py b/tests/unit/prepare/test_collection.py index 2bb7b3985..ce98f6d5b 100644 --- a/tests/unit/prepare/test_collection.py +++ b/tests/unit/prepare/test_collection.py @@ -138,6 +138,64 @@ def test_schema_with_vector_struct_field(self): result = Prepare.get_schema_from_collection_schema("test", schema) assert len(result.struct_array_fields) == 1 + def test_schema_with_nullable_nested_array_element(self): + """Test nullable is encoded in a recursive Array element schema.""" + nested = FieldSchema( + "nested", + DataType.ARRAY, + type_schema={ + "array_element": { + "array_element": {"leaf_type": DataType.INT32}, + "nullable": True, + "type_params": {"max_capacity": 8}, + }, + }, + max_capacity=8, + ) + schema = CollectionSchema( + [ + FieldSchema("pk", DataType.INT64, is_primary=True), + nested, + ] + ) + + result = Prepare.get_schema_from_collection_schema("test", schema) + nested_proto = next(field for field in result.fields if field.name == "nested") + assert nested_proto.element_type == DataType.ARRAY + assert nested_proto.type_schema.WhichOneof("kind") == "array_element" + assert nested_proto.type_schema.array_element.nullable is True + + def test_nullable_nested_array_uses_field_nullable_only(self): + nested = FieldSchema( + "nested", + DataType.ARRAY, + type_schema={ + "array_element": { + "array_element": {"leaf_type": DataType.INT32}, + "type_params": {"max_capacity": 8}, + }, + }, + max_capacity=8, + nullable=True, + ) + schema = CollectionSchema( + [ + FieldSchema("pk", DataType.INT64, is_primary=True), + nested, + ] + ) + + result = Prepare.get_schema_from_collection_schema("test", schema) + nested_proto = next(field for field in result.fields if field.name == "nested") + assert nested_proto.nullable is True + assert nested_proto.type_schema.nullable is False + assert nested_proto.type_schema.array_element.nullable is False + + dict_proto, _, _ = Prepare.get_field_schema(nested.to_dict()) + assert dict_proto.nullable is True + assert dict_proto.type_schema.nullable is False + assert dict_proto.type_schema.array_element.nullable is False + def test_schema_with_functions(self): """Test schema with function definitions.""" schema = CollectionSchema( @@ -419,6 +477,82 @@ def test_add_struct_field_request_with_struct_params(self): assert params["mmap.enabled"] == "true" assert params["warmup"] == '{"policy":"async"}' + def test_add_struct_field_request_with_recursive_array_sub_field(self): + struct_field = StructFieldSchema(nullable=True) + struct_field.name = "metadata" + struct_field.max_capacity = 16 + struct_field.add_field( + "nested", + DataType.ARRAY, + type_schema={ + "array_element": { + "array_element": {"leaf_type": DataType.INT32}, + "type_params": {"max_capacity": 4}, + }, + }, + max_capacity=8, + ) + struct_field.add_field("tag", DataType.VARCHAR, max_length=32) + + req = Prepare.add_collection_struct_field_request("test_coll", struct_field) + nested = req.struct_array_field_schema.fields[0] + + assert nested.data_type == DataType.ARRAY + assert nested.element_type == DataType.ARRAY + assert nested.nullable is True + assert nested.type_schema.nullable is False + assert nested.type_schema.WhichOneof("kind") == "array_element" + logical_array = nested.type_schema.array_element + assert logical_array.WhichOneof("kind") == "array_element" + nested_array = logical_array.array_element + assert nested_array.WhichOneof("kind") == "array_element" + assert nested_array.array_element.WhichOneof("kind") == "leaf_type" + assert nested_array.array_element.leaf_type == DataType.INT32 + assert any(kv.key == "max_capacity" and kv.value == "16" for kv in nested.type_params) + assert any( + kv.key == "max_capacity" and kv.value == "16" for kv in nested.type_schema.type_params + ) + assert any(kv.key == "max_capacity" and kv.value == "8" for kv in logical_array.type_params) + + def test_nested_varchar_params_are_stored_on_leaf_schema(self): + nested = FieldSchema( + "nested", + DataType.ARRAY, + type_schema={ + "array_element": { + "array_element": { + "leaf_type": DataType.VARCHAR, + "type_params": {"max_length": 32}, + }, + "type_params": {"max_capacity": 4}, + }, + }, + max_capacity=8, + ) + schema = CollectionSchema( + [ + FieldSchema("pk", DataType.INT64, is_primary=True), + nested, + ] + ) + + result = Prepare.get_schema_from_collection_schema("test", schema) + nested_proto = next(field for field in result.fields if field.name == "nested") + assert nested_proto.element_type == DataType.ARRAY + assert nested_proto.type_schema.WhichOneof("kind") == "array_element" + assert any( + kv.key == "max_capacity" and kv.value == "8" + for kv in nested_proto.type_schema.type_params + ) + array_schema = nested_proto.type_schema.array_element + leaf_schema = array_schema.array_element + + assert array_schema.WhichOneof("kind") == "array_element" + assert leaf_schema.WhichOneof("kind") == "leaf_type" + assert leaf_schema.leaf_type == DataType.VARCHAR + assert any(kv.key == "max_capacity" and kv.value == "4" for kv in array_schema.type_params) + assert any(kv.key == "max_length" and kv.value == "32" for kv in leaf_schema.type_params) + class TestAlterCollectionSchemaRequest: """Tests for alter_collection_schema_request.""" diff --git a/tests/unit/test_client_abstract.py b/tests/unit/test_client_abstract.py index 577bd4503..432198b75 100644 --- a/tests/unit/test_client_abstract.py +++ b/tests/unit/test_client_abstract.py @@ -25,10 +25,32 @@ RRFRanker, StructArrayFieldSchema, WeightedRanker, + _type_schema_to_dict, ) from pymilvus.client.constants import RANKER_TYPE_RRF, RANKER_TYPE_WEIGHTED from pymilvus.client.types import ConsistencyLevel, DataType, FunctionType from pymilvus.exceptions import DataTypeNotMatchException, ParamError +from pymilvus.grpc_gen import schema_pb2 + + +def test_type_schema_to_dict_preserves_public_shape(): + raw = schema_pb2.TypeSchema( + array_element=schema_pb2.TypeSchema( + leaf_type=DataType.VARCHAR, + type_params=[{"key": "max_length", "value": "32"}], + ), + type_params=[{"key": "max_capacity", "value": "8"}], + nullable=True, + ) + + assert _type_schema_to_dict(raw) == { + "array_element": { + "leaf_type": DataType.VARCHAR, + "type_params": {"max_length": 32}, + }, + "nullable": True, + "type_params": {"max_capacity": 8}, + } class TestFieldSchema: @@ -52,6 +74,7 @@ def _create_mock_raw_field( external_field="", type_params=None, index_params=None, + type_schema=None, ): """Create a mock raw field object.""" mock = MagicMock() @@ -71,6 +94,8 @@ def _create_mock_raw_field( mock.external_field = external_field mock.type_params = type_params or [] mock.index_params = index_params or [] + if type_schema is not None: + mock.type_schema = type_schema return mock def test_field_schema_basic_init(self): @@ -99,6 +124,41 @@ def test_field_schema_primary_key(self): assert field.is_primary is True assert field.auto_id is True + def test_flat_array_does_not_read_recursive_type_schema(self): + raw = self._create_mock_raw_field(data_type=DataType.ARRAY, element_type=DataType.INT32) + del raw.HasField + del raw.type_schema + + field = FieldSchema(raw) + + assert field.element_type == DataType.INT32 + assert "type_schema" not in field.dict() + + def test_field_schema_normalizes_recursive_type_schema(self): + type_schema = schema_pb2.TypeSchema( + array_element=schema_pb2.TypeSchema( + array_element=schema_pb2.TypeSchema(leaf_type=DataType.INT32), + type_params=[{"key": "max_capacity", "value": "8"}], + ), + type_params=[{"key": "max_capacity", "value": "16"}], + ) + raw = self._create_mock_raw_field( + data_type=DataType.ARRAY, + element_type=DataType.ARRAY, + type_schema=type_schema, + ) + + field = FieldSchema(raw) + + assert field.element_type == DataType.ARRAY + assert field.type_schema == { + "array_element": { + "array_element": {"leaf_type": DataType.INT32}, + "type_params": {"max_capacity": 8}, + }, + "type_params": {"max_capacity": 16}, + } + @pytest.mark.parametrize( "key,value,data_type,expected_param_key,expected_value", [ diff --git a/tests/unit/test_nested_array.py b/tests/unit/test_nested_array.py new file mode 100644 index 000000000..32934a47b --- /dev/null +++ b/tests/unit/test_nested_array.py @@ -0,0 +1,373 @@ +"""Nested ARRAY contracts across schema, mutation requests and result decoding.""" + +import copy +from array import array +from types import SimpleNamespace + +import numpy as np +import pandas as pd +import pytest +from pymilvus import CollectionSchema, DataType, FieldSchema +from pymilvus.client.abstract import FieldSchema as ResponseFieldSchema +from pymilvus.client.abstract import StructArrayFieldSchema +from pymilvus.client.entity_helper import convert_to_array, extract_struct_array_from_column_data +from pymilvus.client.field_data_extractors import ( + array_cell_length, + decode_array, + decode_array_value, + decode_range, +) +from pymilvus.client.prepare import Prepare +from pymilvus.client.search_result import extract_array_row_data +from pymilvus.client.utils import convert_struct_fields_to_user_format +from pymilvus.exceptions import DataTypeNotSupportException, MilvusException, ParamError +from pymilvus.grpc_gen import schema_pb2 +from pymilvus.orm.schema import StructFieldSchema + + +@pytest.mark.parametrize("depth", [2, 3, 4]) +@pytest.mark.parametrize("element_type", [None, DataType.ARRAY]) +def test_create_collection_preserves_complete_type_tree(depth, element_type): + type_schema = {"leaf_type": DataType.INT64} + for capacity in range(depth, 0, -1): + type_schema = { + "array_element": type_schema, + "type_params": {"max_capacity": capacity}, + } + field = FieldSchema( + "nested", DataType.ARRAY, type_schema=type_schema, element_type=element_type + ) + schema = CollectionSchema([FieldSchema("pk", DataType.INT64, is_primary=True), field]) + for source in (schema, schema.to_dict()): + request = Prepare.create_collection_request("test", source) + wire = schema_pb2.CollectionSchema.FromString(request.schema).fields[1] + assert wire.data_type == DataType.ARRAY + assert wire.element_type == DataType.ARRAY + node = wire.type_schema + for capacity in range(1, depth + 1): + assert node.WhichOneof("kind") == "array_element" + assert {param.key: param.value for param in node.type_params} == { + "max_capacity": str(capacity) + } + node = node.array_element + assert node.WhichOneof("kind") == "leaf_type" + assert node.leaf_type == DataType.INT64 + assert FieldSchema.construct_from_dict(ResponseFieldSchema(wire).dict()) == field + + +@pytest.mark.parametrize("root_params_in_schema", [False, True]) +def test_dictionary_and_orm_schema_preserve_nested_params(root_params_in_schema): + raw = { + "name": "nested", + "type": DataType.ARRAY, + "nullable": True, + "type_schema": { + "array_element": { + "array_element": { + "leaf_type": DataType.VARCHAR, + "type_params": { + "max_length": 32, + "enable_analyzer": True, + "analyzer_params": {"tokenizer": "standard"}, + }, + }, + "nullable": True, + "type_params": {"max_capacity": 8}, + }, + }, + } + if root_params_in_schema: + raw["type_schema"]["type_params"] = {"max_capacity": 16, "mmap_enabled": True} + else: + raw["params"] = {"max_capacity": 16, "mmap_enabled": True} + original = copy.deepcopy(raw) + field = FieldSchema.construct_from_dict(raw) + schema = CollectionSchema([FieldSchema("pk", DataType.INT64, is_primary=True), field]) + orm_wire = Prepare.get_schema_from_collection_schema("test", schema).fields[1] + dict_wire, _, _ = Prepare.get_field_schema(raw) + + assert dict_wire == orm_wire + assert raw == original + assert dict_wire.element_type == DataType.ARRAY + assert dict_wire.type_schema.array_element.array_element.leaf_type == DataType.VARCHAR + assert dict_wire.type_schema.array_element.array_element.WhichOneof("kind") == "leaf_type" + assert dict_wire.nullable and not dict_wire.type_schema.nullable + assert dict_wire.type_schema.array_element.nullable + assert {kv.key: kv.value for kv in dict_wire.type_schema.array_element.type_params} == { + "max_capacity": "8" + } + assert FieldSchema.construct_from_dict(ResponseFieldSchema(dict_wire).dict()) == field + + +@pytest.mark.parametrize( + "type_schema", + [ + [], + {}, + {"leaf_type": DataType.INT32}, + {"array_element": {"leaf_type": DataType.INT32}}, + {"array_element": {}}, + {"array_element": {"array_element": {"leaf_type": DataType.ARRAY}}}, + {"array_element": {"array_element": {"leaf_type": DataType.STRUCT}}}, + {"array_element": {"array_element": {"leaf_type": DataType.FLOAT_VECTOR}}}, + {"array_element": {"array_element": {"leaf_type": DataType.INT32}, "nullable": "true"}}, + {"array_element": {"array_element": {"leaf_type": DataType.INT32}, "type_params": []}}, + { + "leaf_type": DataType.INT32, + "array_element": {"array_element": {"leaf_type": DataType.INT32}}, + }, + { + "array_element": {"array_element": {"leaf_type": DataType.INT32}}, + "nullable": True, + }, + ], +) +def test_schema_entry_points_reject_invalid_nested_types(type_schema): + raw = {"name": "nested", "type": DataType.ARRAY, "type_schema": type_schema} + for create in (FieldSchema.construct_from_dict, Prepare.get_field_schema): + with pytest.raises((ParamError, DataTypeNotSupportException)): + create(raw) + + +@pytest.mark.parametrize( + "field_options", + [ + {"type": DataType.INT32}, + {"element_type": DataType.INT32}, + {"params": []}, + {"params": {"max_capacity": 32}}, + ], +) +def test_dictionary_schema_rejects_conflicting_field_options(field_options): + raw = { + "name": "nested", + "type": DataType.ARRAY, + "type_schema": { + "array_element": {"array_element": {"leaf_type": DataType.INT32}}, + "type_params": {"max_capacity": 16}, + }, + **field_options, + } + with pytest.raises(ParamError): + Prepare.get_field_schema(raw) + + +def test_describe_reads_capacity_from_recursive_schema(): + field = FieldSchema( + "nested", + DataType.ARRAY, + max_capacity=16, + type_schema={ + "array_element": { + "array_element": {"leaf_type": DataType.INT32}, + "type_params": {"max_capacity": 8}, + }, + }, + ) + wire, _, _ = Prepare.get_field_schema(field.to_dict()) + wire.ClearField("type_params") + assert FieldSchema.construct_from_dict(ResponseFieldSchema(wire).dict()) == field + + +@pytest.mark.parametrize("depth", [1, 2, 4]) +@pytest.mark.parametrize( + ("dtype", "values"), + [ + (DataType.BOOL, [True, False]), + (DataType.INT32, [1, -2]), + (DataType.INT64, [2**40]), + (DataType.DOUBLE, [1.25, 2.5]), + (DataType.VARCHAR, ["hello", "你好"]), + ], +) +def test_array_wire_roundtrip_preserves_shape_and_empty_arrays(depth, dtype, values): + info = {"name": "array", "data_type": DataType.ARRAY, "element_type": dtype} + type_schema = {"array_element": {"leaf_type": dtype}} + for _ in range(depth - 1): + type_schema = {"array_element": type_schema} + info = {"name": "array", "type_schema": type_schema} + values = [values, []] + element_type = dtype if depth == 1 else DataType.ARRAY + encoded = convert_to_array(values, info) + restored = schema_pb2.ScalarField.FromString(encoded.SerializeToString()) + assert decode_array(restored, element_type) == values + assert extract_array_row_data([restored], element_type) == [values] + + +@pytest.mark.parametrize("value", [None, [None]]) +def test_nested_array_does_not_replace_none_with_empty_array(value): + info = { + "name": "array", + "type_schema": {"array_element": {"array_element": {"leaf_type": DataType.INT32}}}, + } + with pytest.raises(TypeError): + convert_to_array(value, info) + + +@pytest.mark.parametrize("value", [((1, 2), (3, 4)), np.array([[1, 2], [3, 4]])]) +def test_nested_array_accepts_tuples_and_numpy(value): + info = { + "name": "array", + "type_schema": {"array_element": {"array_element": {"leaf_type": DataType.INT32}}}, + } + assert decode_array(convert_to_array(value, info), DataType.ARRAY) == [[1, 2], [3, 4]] + + +@pytest.mark.parametrize( + "method", ["row_insert_param", "row_upsert_param", "batch_insert_param", "batch_upsert_param"] +) +def test_mutation_requests_preserve_nested_rows(method): + fields = [ + FieldSchema("pk", DataType.INT64, is_primary=True).to_dict(), + FieldSchema( + "nested", + DataType.ARRAY, + max_capacity=8, + type_schema={ + "array_element": { + "array_element": {"leaf_type": DataType.INT32}, + "type_params": {"max_capacity": 4}, + }, + }, + ).to_dict(), + ] + values = [[[1, 2], []], [], [[3]]] + if method.startswith("row"): + entities = [{"pk": i, "nested": value} for i, value in enumerate(values)] + else: + entities = [ + {"name": "pk", "type": DataType.INT64, "values": list(range(3))}, + {"name": "nested", "type": DataType.ARRAY, "values": values}, + ] + request = getattr(Prepare, method)("test", entities, "", fields_info=fields) + data = next(field for field in request.fields_data if field.field_name == "nested") + data = schema_pb2.FieldData.FromString(data.SerializeToString()) + assert request.num_rows == 3 + assert data.scalars.array_data.element_type == DataType.ARRAY + assert decode_range(data, 0, 3) == values + + +@pytest.mark.parametrize("nested", [False, True]) +@pytest.mark.parametrize("method", ["row_insert_param", "row_upsert_param"]) +def test_struct_array_schema_and_data_roundtrip(nested, method): + struct = StructFieldSchema() + struct.name, struct.max_capacity = "metadata", 16 + options = {"element_type": DataType.VARCHAR, "max_length": 32} + value = ["hello", "你好"] + if nested: + options = { + "type_schema": { + "array_element": { + "array_element": { + "leaf_type": DataType.VARCHAR, + "type_params": {"max_length": 32}, + }, + "type_params": {"max_capacity": 4}, + }, + }, + } + value = [value, []] + struct.add_field("tags", DataType.ARRAY, max_capacity=8, mmap_enabled=True, **options) + wire_schema = Prepare.get_struct_array_field_schema(struct) + internal = StructArrayFieldSchema(wire_schema).dict() + public = convert_struct_fields_to_user_format([internal])[0] + rebuilt = StructFieldSchema.construct_from_dict(public) + assert rebuilt.fields[0] == struct.fields[0] + assert rebuilt.max_capacity == 16 + assert Prepare.get_struct_array_field_schema(rebuilt) == wire_schema + + values = [[{"tags": value}, {"tags": []}], []] + fields = [FieldSchema("pk", DataType.INT64, is_primary=True).to_dict()] + request = getattr(Prepare, method)( + "test", + [{"pk": i, "metadata": value} for i, value in enumerate(values)], + "", + fields_info=fields, + struct_fields_info=[internal], + ) + data = next(field for field in request.fields_data if field.field_name == "metadata") + data = schema_pb2.FieldData.FromString(data.SerializeToString()) + assert data.struct_arrays.fields[0].scalars.array_data.element_type == DataType.ARRAY + assert [ + extract_struct_array_from_column_data(data.struct_arrays, i) for i in range(2) + ] == values + + +@pytest.mark.parametrize("element_type", [None, DataType.ARRAY, DataType.FLOAT_VECTOR]) +def test_struct_array_requires_encodable_element_type(element_type): + struct = StructFieldSchema().add_field("tags", DataType.ARRAY, element_type=element_type) + with pytest.raises(ParamError, match="Unsupported element type"): + struct._check_fields() + + +@pytest.mark.parametrize( + "make_values", + [list, tuple, lambda v: array("i", v), pd.Series, iter, np.array, lambda v: range(len(v))], +) +def test_flat_array_retains_iterable_inputs_and_wire_format(make_values): + field = FieldSchema("values", DataType.ARRAY, element_type=DataType.INT32).to_dict() + request = Prepare.row_insert_param( + "test", + [{"pk": 1, "values": make_values([0, 1, 2])}], + "", + fields_info=[FieldSchema("pk", DataType.INT64, is_primary=True).to_dict(), field], + ) + data = next(field for field in request.fields_data if field.field_name == "values") + expected = schema_pb2.FieldData(type=DataType.ARRAY, field_name="values") + expected.scalars.array_data.data.add().int_data.data.extend([0, 1, 2]) + assert data.SerializeToString() == expected.SerializeToString() + + +@pytest.mark.parametrize( + "method", ["row_insert_param", "row_upsert_param", "batch_insert_param", "batch_upsert_param"] +) +def test_flat_array_mutation_requests_do_not_add_element_type(method): + fields = [ + FieldSchema("pk", DataType.INT64, is_primary=True).to_dict(), + FieldSchema("values", DataType.ARRAY, element_type=DataType.INT32).to_dict(), + ] + values = [[1, 2], []] + if method.startswith("row"): + entities = [{"pk": i, "values": value} for i, value in enumerate(values)] + else: + entities = [ + {"name": "pk", "type": DataType.INT64, "values": [0, 1]}, + {"name": "values", "type": DataType.ARRAY, "values": values}, + ] + request = getattr(Prepare, method)("test", entities, "", fields_info=fields) + data = next(field for field in request.fields_data if field.field_name == "values") + assert data.scalars.array_data.element_type == DataType.NONE + assert [list(cell.int_data.data) for cell in data.scalars.array_data.data] == values + + +def test_flat_array_results_keep_empty_arrays_and_protobuf_containers(): + data = schema_pb2.FieldData(type=DataType.ARRAY) + data.scalars.array_data.element_type = DataType.INT32 + empty = data.scalars.array_data.data.add() + populated = data.scalars.array_data.data.add() + populated.int_data.data.extend([1, 2]) + assert decode_range(data, 0, 2) == [[], [1, 2]] + result = extract_array_row_data([empty, populated, None], DataType.INT32) + assert result == [[], [1, 2], None] + assert result[1] is populated.int_data.data + + +def test_flat_array_results_use_declared_element_type(): + data = schema_pb2.FieldData(type=DataType.ARRAY) + data.scalars.array_data.element_type = DataType.INT32 + data.scalars.array_data.data.add().string_data.data.append("a") + assert decode_range(data, 0, 1) == [[]] + assert extract_array_row_data(data.scalars.array_data.data, DataType.INT32) == [[]] + + +def test_flat_array_empty_results_keep_unsupported_type_error(): + with pytest.raises(MilvusException, match="Unsupported data type"): + extract_array_row_data([], DataType.JSON) + + +def test_flat_array_helpers_keep_support_for_plain_objects(): + cell = SimpleNamespace(int_data=SimpleNamespace(data=[1, 2])) + assert array_cell_length(cell) == 2 + assert decode_array_value(cell, 1) == 2 + assert array_cell_length(SimpleNamespace()) == 0 + assert decode_array_value(SimpleNamespace(), 0) is None diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py index fc82fdaa0..925848224 100644 --- a/tests/unit/test_utils.py +++ b/tests/unit/test_utils.py @@ -318,6 +318,44 @@ def test_nullable_struct_and_stored_sub_field_names(self): } ] + def test_recursive_array_sub_field(self): + converted = utils.convert_struct_fields_to_user_format( + [ + { + "field_id": 10, + "name": "metadata", + "fields": [ + { + "field_id": 11, + "name": "metadata[nested]", + "type_schema": { + "array_element": { + "array_element": { + "array_element": {"leaf_type": DataType.INT32}, + "type_params": {"max_capacity": 4}, + }, + "type_params": {"max_capacity": 8}, + }, + "type_params": {"max_capacity": 16}, + }, + "params": {"max_capacity": 16}, + } + ], + } + ] + ) + + nested = converted[0]["struct_fields"][0] + assert nested["type"] == DataType.ARRAY + assert nested["params"] == {"max_capacity": 8} + assert nested["type_schema"] == { + "array_element": { + "array_element": {"leaf_type": DataType.INT32}, + "type_params": {"max_capacity": 4}, + }, + "type_params": {"max_capacity": 8}, + } + def test_strip_struct_sub_field_name_passthrough(self): assert utils.strip_struct_sub_field_name("metadata", "score") == "score"