mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
after the pr merged, we can support to insert, upsert, build index, query, search in the added field. can only do the above operates in added field after add field request complete, which is a sync operate. compact will be supported in the next pr. #39718 --------- Signed-off-by: lixinguo <xinguo.li@zilliz.com> Co-authored-by: lixinguo <xinguo.li@zilliz.com>
1217 lines
44 KiB
Go
1217 lines
44 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.33.0
|
|
// protoc v3.21.4
|
|
// source: index_cgo_msg.proto
|
|
|
|
package indexcgopb
|
|
|
|
import (
|
|
commonpb "github.com/milvus-io/milvus-proto/go-api/v2/commonpb"
|
|
schemapb "github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type TypeParams struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Params []*commonpb.KeyValuePair `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
|
|
}
|
|
|
|
func (x *TypeParams) Reset() {
|
|
*x = TypeParams{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TypeParams) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TypeParams) ProtoMessage() {}
|
|
|
|
func (x *TypeParams) ProtoReflect() protoreflect.Message {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TypeParams.ProtoReflect.Descriptor instead.
|
|
func (*TypeParams) Descriptor() ([]byte, []int) {
|
|
return file_index_cgo_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *TypeParams) GetParams() []*commonpb.KeyValuePair {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type IndexParams struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Params []*commonpb.KeyValuePair `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
|
|
}
|
|
|
|
func (x *IndexParams) Reset() {
|
|
*x = IndexParams{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *IndexParams) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IndexParams) ProtoMessage() {}
|
|
|
|
func (x *IndexParams) ProtoReflect() protoreflect.Message {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use IndexParams.ProtoReflect.Descriptor instead.
|
|
func (*IndexParams) Descriptor() ([]byte, []int) {
|
|
return file_index_cgo_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *IndexParams) GetParams() []*commonpb.KeyValuePair {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// TypeParams & IndexParams will be replaced by MapParams later
|
|
type MapParams struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Params []*commonpb.KeyValuePair `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
|
|
}
|
|
|
|
func (x *MapParams) Reset() {
|
|
*x = MapParams{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MapParams) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MapParams) ProtoMessage() {}
|
|
|
|
func (x *MapParams) ProtoReflect() protoreflect.Message {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MapParams.ProtoReflect.Descriptor instead.
|
|
func (*MapParams) Descriptor() ([]byte, []int) {
|
|
return file_index_cgo_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *MapParams) GetParams() []*commonpb.KeyValuePair {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MapParamsV2 struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Params map[string]string `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *MapParamsV2) Reset() {
|
|
*x = MapParamsV2{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MapParamsV2) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MapParamsV2) ProtoMessage() {}
|
|
|
|
func (x *MapParamsV2) ProtoReflect() protoreflect.Message {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MapParamsV2.ProtoReflect.Descriptor instead.
|
|
func (*MapParamsV2) Descriptor() ([]byte, []int) {
|
|
return file_index_cgo_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *MapParamsV2) GetParams() map[string]string {
|
|
if x != nil {
|
|
return x.Params
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Binary struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
}
|
|
|
|
func (x *Binary) Reset() {
|
|
*x = Binary{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Binary) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Binary) ProtoMessage() {}
|
|
|
|
func (x *Binary) ProtoReflect() protoreflect.Message {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Binary.ProtoReflect.Descriptor instead.
|
|
func (*Binary) Descriptor() ([]byte, []int) {
|
|
return file_index_cgo_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *Binary) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Binary) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BinarySet struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Datas []*Binary `protobuf:"bytes,1,rep,name=datas,proto3" json:"datas,omitempty"`
|
|
}
|
|
|
|
func (x *BinarySet) Reset() {
|
|
*x = BinarySet{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BinarySet) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BinarySet) ProtoMessage() {}
|
|
|
|
func (x *BinarySet) ProtoReflect() protoreflect.Message {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BinarySet.ProtoReflect.Descriptor instead.
|
|
func (*BinarySet) Descriptor() ([]byte, []int) {
|
|
return file_index_cgo_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *BinarySet) GetDatas() []*Binary {
|
|
if x != nil {
|
|
return x.Datas
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Synchronously modify StorageConfig in index_coord.proto file
|
|
type StorageConfig struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
AccessKeyID string `protobuf:"bytes,2,opt,name=access_keyID,json=accessKeyID,proto3" json:"access_keyID,omitempty"`
|
|
SecretAccessKey string `protobuf:"bytes,3,opt,name=secret_access_key,json=secretAccessKey,proto3" json:"secret_access_key,omitempty"`
|
|
UseSSL bool `protobuf:"varint,4,opt,name=useSSL,proto3" json:"useSSL,omitempty"`
|
|
BucketName string `protobuf:"bytes,5,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
|
|
RootPath string `protobuf:"bytes,6,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"`
|
|
UseIAM bool `protobuf:"varint,7,opt,name=useIAM,proto3" json:"useIAM,omitempty"`
|
|
IAMEndpoint string `protobuf:"bytes,8,opt,name=IAMEndpoint,proto3" json:"IAMEndpoint,omitempty"`
|
|
StorageType string `protobuf:"bytes,9,opt,name=storage_type,json=storageType,proto3" json:"storage_type,omitempty"`
|
|
UseVirtualHost bool `protobuf:"varint,10,opt,name=use_virtual_host,json=useVirtualHost,proto3" json:"use_virtual_host,omitempty"`
|
|
Region string `protobuf:"bytes,11,opt,name=region,proto3" json:"region,omitempty"`
|
|
CloudProvider string `protobuf:"bytes,12,opt,name=cloud_provider,json=cloudProvider,proto3" json:"cloud_provider,omitempty"`
|
|
RequestTimeoutMs int64 `protobuf:"varint,13,opt,name=request_timeout_ms,json=requestTimeoutMs,proto3" json:"request_timeout_ms,omitempty"`
|
|
SslCACert string `protobuf:"bytes,14,opt,name=sslCACert,proto3" json:"sslCACert,omitempty"`
|
|
GcpCredentialJSON string `protobuf:"bytes,15,opt,name=GcpCredentialJSON,proto3" json:"GcpCredentialJSON,omitempty"`
|
|
}
|
|
|
|
func (x *StorageConfig) Reset() {
|
|
*x = StorageConfig{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StorageConfig) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StorageConfig) ProtoMessage() {}
|
|
|
|
func (x *StorageConfig) ProtoReflect() protoreflect.Message {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StorageConfig.ProtoReflect.Descriptor instead.
|
|
func (*StorageConfig) Descriptor() ([]byte, []int) {
|
|
return file_index_cgo_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *StorageConfig) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StorageConfig) GetAccessKeyID() string {
|
|
if x != nil {
|
|
return x.AccessKeyID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StorageConfig) GetSecretAccessKey() string {
|
|
if x != nil {
|
|
return x.SecretAccessKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StorageConfig) GetUseSSL() bool {
|
|
if x != nil {
|
|
return x.UseSSL
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StorageConfig) GetBucketName() string {
|
|
if x != nil {
|
|
return x.BucketName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StorageConfig) GetRootPath() string {
|
|
if x != nil {
|
|
return x.RootPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StorageConfig) GetUseIAM() bool {
|
|
if x != nil {
|
|
return x.UseIAM
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StorageConfig) GetIAMEndpoint() string {
|
|
if x != nil {
|
|
return x.IAMEndpoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StorageConfig) GetStorageType() string {
|
|
if x != nil {
|
|
return x.StorageType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StorageConfig) GetUseVirtualHost() bool {
|
|
if x != nil {
|
|
return x.UseVirtualHost
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StorageConfig) GetRegion() string {
|
|
if x != nil {
|
|
return x.Region
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StorageConfig) GetCloudProvider() string {
|
|
if x != nil {
|
|
return x.CloudProvider
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StorageConfig) GetRequestTimeoutMs() int64 {
|
|
if x != nil {
|
|
return x.RequestTimeoutMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StorageConfig) GetSslCACert() string {
|
|
if x != nil {
|
|
return x.SslCACert
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StorageConfig) GetGcpCredentialJSON() string {
|
|
if x != nil {
|
|
return x.GcpCredentialJSON
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Synchronously modify OptionalFieldInfo in index_coord.proto file
|
|
type OptionalFieldInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
|
|
FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
|
|
FieldType int32 `protobuf:"varint,3,opt,name=field_type,json=fieldType,proto3" json:"field_type,omitempty"`
|
|
DataPaths []string `protobuf:"bytes,4,rep,name=data_paths,json=dataPaths,proto3" json:"data_paths,omitempty"`
|
|
}
|
|
|
|
func (x *OptionalFieldInfo) Reset() {
|
|
*x = OptionalFieldInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *OptionalFieldInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OptionalFieldInfo) ProtoMessage() {}
|
|
|
|
func (x *OptionalFieldInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OptionalFieldInfo.ProtoReflect.Descriptor instead.
|
|
func (*OptionalFieldInfo) Descriptor() ([]byte, []int) {
|
|
return file_index_cgo_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *OptionalFieldInfo) GetFieldID() int64 {
|
|
if x != nil {
|
|
return x.FieldID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OptionalFieldInfo) GetFieldName() string {
|
|
if x != nil {
|
|
return x.FieldName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OptionalFieldInfo) GetFieldType() int32 {
|
|
if x != nil {
|
|
return x.FieldType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OptionalFieldInfo) GetDataPaths() []string {
|
|
if x != nil {
|
|
return x.DataPaths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BuildIndexInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ClusterID string `protobuf:"bytes,1,opt,name=clusterID,proto3" json:"clusterID,omitempty"`
|
|
BuildID int64 `protobuf:"varint,2,opt,name=buildID,proto3" json:"buildID,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,4,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
SegmentID int64 `protobuf:"varint,5,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
|
IndexVersion int64 `protobuf:"varint,6,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"`
|
|
CurrentIndexVersion int32 `protobuf:"varint,7,opt,name=current_index_version,json=currentIndexVersion,proto3" json:"current_index_version,omitempty"`
|
|
NumRows int64 `protobuf:"varint,8,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
|
|
Dim int64 `protobuf:"varint,9,opt,name=dim,proto3" json:"dim,omitempty"`
|
|
IndexFilePrefix string `protobuf:"bytes,10,opt,name=index_file_prefix,json=indexFilePrefix,proto3" json:"index_file_prefix,omitempty"`
|
|
InsertFiles []string `protobuf:"bytes,11,rep,name=insert_files,json=insertFiles,proto3" json:"insert_files,omitempty"`
|
|
// repeated int64 data_ids = 12;
|
|
FieldSchema *schemapb.FieldSchema `protobuf:"bytes,12,opt,name=field_schema,json=fieldSchema,proto3" json:"field_schema,omitempty"`
|
|
StorageConfig *StorageConfig `protobuf:"bytes,13,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
|
|
IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,14,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"`
|
|
TypeParams []*commonpb.KeyValuePair `protobuf:"bytes,15,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"`
|
|
StorePath string `protobuf:"bytes,16,opt,name=store_path,json=storePath,proto3" json:"store_path,omitempty"`
|
|
StoreVersion int64 `protobuf:"varint,17,opt,name=store_version,json=storeVersion,proto3" json:"store_version,omitempty"`
|
|
IndexStorePath string `protobuf:"bytes,18,opt,name=index_store_path,json=indexStorePath,proto3" json:"index_store_path,omitempty"`
|
|
OptFields []*OptionalFieldInfo `protobuf:"bytes,19,rep,name=opt_fields,json=optFields,proto3" json:"opt_fields,omitempty"`
|
|
PartitionKeyIsolation bool `protobuf:"varint,20,opt,name=partition_key_isolation,json=partitionKeyIsolation,proto3" json:"partition_key_isolation,omitempty"`
|
|
CurrentScalarIndexVersion int32 `protobuf:"varint,21,opt,name=current_scalar_index_version,json=currentScalarIndexVersion,proto3" json:"current_scalar_index_version,omitempty"`
|
|
LackBinlogRows int64 `protobuf:"varint,22,opt,name=lack_binlog_rows,json=lackBinlogRows,proto3" json:"lack_binlog_rows,omitempty"`
|
|
}
|
|
|
|
func (x *BuildIndexInfo) Reset() {
|
|
*x = BuildIndexInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BuildIndexInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BuildIndexInfo) ProtoMessage() {}
|
|
|
|
func (x *BuildIndexInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BuildIndexInfo.ProtoReflect.Descriptor instead.
|
|
func (*BuildIndexInfo) Descriptor() ([]byte, []int) {
|
|
return file_index_cgo_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetClusterID() string {
|
|
if x != nil {
|
|
return x.ClusterID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetBuildID() int64 {
|
|
if x != nil {
|
|
return x.BuildID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetCollectionID() int64 {
|
|
if x != nil {
|
|
return x.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetPartitionID() int64 {
|
|
if x != nil {
|
|
return x.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetSegmentID() int64 {
|
|
if x != nil {
|
|
return x.SegmentID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetIndexVersion() int64 {
|
|
if x != nil {
|
|
return x.IndexVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetCurrentIndexVersion() int32 {
|
|
if x != nil {
|
|
return x.CurrentIndexVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetNumRows() int64 {
|
|
if x != nil {
|
|
return x.NumRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetDim() int64 {
|
|
if x != nil {
|
|
return x.Dim
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetIndexFilePrefix() string {
|
|
if x != nil {
|
|
return x.IndexFilePrefix
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetInsertFiles() []string {
|
|
if x != nil {
|
|
return x.InsertFiles
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetFieldSchema() *schemapb.FieldSchema {
|
|
if x != nil {
|
|
return x.FieldSchema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetStorageConfig() *StorageConfig {
|
|
if x != nil {
|
|
return x.StorageConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetIndexParams() []*commonpb.KeyValuePair {
|
|
if x != nil {
|
|
return x.IndexParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetTypeParams() []*commonpb.KeyValuePair {
|
|
if x != nil {
|
|
return x.TypeParams
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetStorePath() string {
|
|
if x != nil {
|
|
return x.StorePath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetStoreVersion() int64 {
|
|
if x != nil {
|
|
return x.StoreVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetIndexStorePath() string {
|
|
if x != nil {
|
|
return x.IndexStorePath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetOptFields() []*OptionalFieldInfo {
|
|
if x != nil {
|
|
return x.OptFields
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetPartitionKeyIsolation() bool {
|
|
if x != nil {
|
|
return x.PartitionKeyIsolation
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetCurrentScalarIndexVersion() int32 {
|
|
if x != nil {
|
|
return x.CurrentScalarIndexVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BuildIndexInfo) GetLackBinlogRows() int64 {
|
|
if x != nil {
|
|
return x.LackBinlogRows
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type LoadTextIndexInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
FieldID int64 `protobuf:"varint,1,opt,name=FieldID,proto3" json:"FieldID,omitempty"`
|
|
Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
|
|
BuildID int64 `protobuf:"varint,3,opt,name=buildID,proto3" json:"buildID,omitempty"`
|
|
Files []string `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`
|
|
Schema *schemapb.FieldSchema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
|
|
CollectionID int64 `protobuf:"varint,6,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
|
PartitionID int64 `protobuf:"varint,7,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
|
}
|
|
|
|
func (x *LoadTextIndexInfo) Reset() {
|
|
*x = LoadTextIndexInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LoadTextIndexInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoadTextIndexInfo) ProtoMessage() {}
|
|
|
|
func (x *LoadTextIndexInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_index_cgo_msg_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LoadTextIndexInfo.ProtoReflect.Descriptor instead.
|
|
func (*LoadTextIndexInfo) Descriptor() ([]byte, []int) {
|
|
return file_index_cgo_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *LoadTextIndexInfo) GetFieldID() int64 {
|
|
if x != nil {
|
|
return x.FieldID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoadTextIndexInfo) GetVersion() int64 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoadTextIndexInfo) GetBuildID() int64 {
|
|
if x != nil {
|
|
return x.BuildID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoadTextIndexInfo) GetFiles() []string {
|
|
if x != nil {
|
|
return x.Files
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LoadTextIndexInfo) GetSchema() *schemapb.FieldSchema {
|
|
if x != nil {
|
|
return x.Schema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LoadTextIndexInfo) GetCollectionID() int64 {
|
|
if x != nil {
|
|
return x.CollectionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LoadTextIndexInfo) GetPartitionID() int64 {
|
|
if x != nil {
|
|
return x.PartitionID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_index_cgo_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_index_cgo_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x13, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x63, 0x67, 0x6f, 0x5f, 0x6d, 0x73, 0x67, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x63, 0x67, 0x6f, 0x1a, 0x0c, 0x63, 0x6f,
|
|
0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x63, 0x68, 0x65,
|
|
0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x0a, 0x54, 0x79, 0x70, 0x65,
|
|
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x39, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4b, 0x65, 0x79,
|
|
0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d,
|
|
0x73, 0x22, 0x48, 0x0a, 0x0b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
|
0x12, 0x39, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x21, 0x2e, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50,
|
|
0x61, 0x69, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x46, 0x0a, 0x09, 0x4d,
|
|
0x61, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x39, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61,
|
|
0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x69, 0x6c, 0x76, 0x75,
|
|
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4b,
|
|
0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x06, 0x70, 0x61, 0x72,
|
|
0x61, 0x6d, 0x73, 0x22, 0x90, 0x01, 0x0a, 0x0b, 0x4d, 0x61, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d,
|
|
0x73, 0x56, 0x32, 0x12, 0x46, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x2e, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x63, 0x67, 0x6f, 0x2e, 0x4d, 0x61, 0x70, 0x50,
|
|
0x61, 0x72, 0x61, 0x6d, 0x73, 0x56, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50,
|
|
0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
|
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x30, 0x0a, 0x06, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79,
|
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
|
|
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x40, 0x0a, 0x09, 0x42, 0x69, 0x6e, 0x61,
|
|
0x72, 0x79, 0x53, 0x65, 0x74, 0x12, 0x33, 0x0a, 0x05, 0x64, 0x61, 0x74, 0x61, 0x73, 0x18, 0x01,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x63, 0x67, 0x6f, 0x2e, 0x42, 0x69, 0x6e,
|
|
0x61, 0x72, 0x79, 0x52, 0x05, 0x64, 0x61, 0x74, 0x61, 0x73, 0x22, 0x8e, 0x04, 0x0a, 0x0d, 0x53,
|
|
0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07,
|
|
0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61,
|
|
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
|
|
0x5f, 0x6b, 0x65, 0x79, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63,
|
|
0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x49, 0x44, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x65, 0x63,
|
|
0x72, 0x65, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65,
|
|
0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x53, 0x53, 0x4c, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x73, 0x65, 0x53, 0x53, 0x4c, 0x12, 0x1f, 0x0a,
|
|
0x0b, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0a, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b,
|
|
0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x75,
|
|
0x73, 0x65, 0x49, 0x41, 0x4d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x73, 0x65,
|
|
0x49, 0x41, 0x4d, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x41, 0x4d, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69,
|
|
0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x49, 0x41, 0x4d, 0x45, 0x6e, 0x64,
|
|
0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
|
|
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f,
|
|
0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x5f,
|
|
0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x56, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x48, 0x6f,
|
|
0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6c,
|
|
0x6f, 0x75, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
|
0x72, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d,
|
|
0x65, 0x6f, 0x75, 0x74, 0x5f, 0x6d, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x72,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4d, 0x73, 0x12,
|
|
0x1c, 0x0a, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x41, 0x43, 0x65, 0x72, 0x74, 0x18, 0x0e, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x09, 0x73, 0x73, 0x6c, 0x43, 0x41, 0x43, 0x65, 0x72, 0x74, 0x12, 0x2c, 0x0a,
|
|
0x11, 0x47, 0x63, 0x70, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x4a, 0x53,
|
|
0x4f, 0x4e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x47, 0x63, 0x70, 0x43, 0x72, 0x65,
|
|
0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x8a, 0x01, 0x0a, 0x11,
|
|
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x66,
|
|
0x6f, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x44, 0x12, 0x1d, 0x0a, 0x0a, 0x66,
|
|
0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69,
|
|
0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
|
|
0x66, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x61, 0x74,
|
|
0x61, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x64,
|
|
0x61, 0x74, 0x61, 0x50, 0x61, 0x74, 0x68, 0x73, 0x22, 0xf7, 0x07, 0x0a, 0x0e, 0x42, 0x75, 0x69,
|
|
0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63,
|
|
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
|
0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x75, 0x69,
|
|
0x6c, 0x64, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c,
|
|
0x64, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63, 0x6f, 0x6c, 0x6c, 0x65,
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70, 0x61,
|
|
0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x67,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x65,
|
|
0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x64, 0x65, 0x78,
|
|
0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
|
|
0x69, 0x6e, 0x64, 0x65, 0x78, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x15,
|
|
0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x76, 0x65,
|
|
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x63, 0x75, 0x72,
|
|
0x72, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x12, 0x19, 0x0a, 0x08, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x08, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x07, 0x6e, 0x75, 0x6d, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x64,
|
|
0x69, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x64, 0x69, 0x6d, 0x12, 0x2a, 0x0a,
|
|
0x11, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x66,
|
|
0x69, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x46,
|
|
0x69, 0x6c, 0x65, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x73,
|
|
0x65, 0x72, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52,
|
|
0x0b, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x0c,
|
|
0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x0c, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63,
|
|
0x68, 0x65, 0x6d, 0x61, 0x52, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d,
|
|
0x61, 0x12, 0x4b, 0x0a, 0x0e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e,
|
|
0x66, 0x69, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6d, 0x69, 0x6c, 0x76,
|
|
0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x63, 0x67,
|
|
0x6f, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
|
|
0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x44,
|
|
0x0a, 0x0c, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x0e,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61,
|
|
0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0b, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x50, 0x61,
|
|
0x72, 0x61, 0x6d, 0x73, 0x12, 0x42, 0x0a, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x70, 0x61, 0x72,
|
|
0x61, 0x6d, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6d, 0x69, 0x6c, 0x76,
|
|
0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
|
|
0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0a, 0x74, 0x79,
|
|
0x70, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x72,
|
|
0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74,
|
|
0x6f, 0x72, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x65,
|
|
0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
|
|
0x73, 0x74, 0x6f, 0x72, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10,
|
|
0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68,
|
|
0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x74, 0x6f,
|
|
0x72, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x47, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69,
|
|
0x65, 0x6c, 0x64, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x69, 0x6c,
|
|
0x76, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x63,
|
|
0x67, 0x6f, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12,
|
|
0x36, 0x0a, 0x17, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79,
|
|
0x5f, 0x69, 0x73, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x15, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x49, 0x73,
|
|
0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x1c, 0x63, 0x75, 0x72, 0x72, 0x65,
|
|
0x6e, 0x74, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f,
|
|
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x15, 0x20, 0x01, 0x28, 0x05, 0x52, 0x19, 0x63,
|
|
0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x49, 0x6e, 0x64, 0x65,
|
|
0x78, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x6c, 0x61, 0x63, 0x6b,
|
|
0x5f, 0x62, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x16, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0e, 0x6c, 0x61, 0x63, 0x6b, 0x42, 0x69, 0x6e, 0x6c, 0x6f, 0x67, 0x52, 0x6f,
|
|
0x77, 0x73, 0x22, 0xf7, 0x01, 0x0a, 0x11, 0x4c, 0x6f, 0x61, 0x64, 0x54, 0x65, 0x78, 0x74, 0x49,
|
|
0x6e, 0x64, 0x65, 0x78, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x46, 0x69, 0x65, 0x6c,
|
|
0x64, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x46, 0x69, 0x65, 0x6c, 0x64,
|
|
0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07,
|
|
0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62,
|
|
0x75, 0x69, 0x6c, 0x64, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18,
|
|
0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x06,
|
|
0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6d,
|
|
0x69, 0x6c, 0x76, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x73, 0x63, 0x68, 0x65,
|
|
0x6d, 0x61, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06,
|
|
0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63, 0x6f,
|
|
0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61,
|
|
0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x42, 0x35, 0x5a, 0x33,
|
|
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x6c, 0x76, 0x75,
|
|
0x73, 0x2d, 0x69, 0x6f, 0x2f, 0x6d, 0x69, 0x6c, 0x76, 0x75, 0x73, 0x2f, 0x70, 0x6b, 0x67, 0x2f,
|
|
0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x63, 0x67,
|
|
0x6f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_index_cgo_msg_proto_rawDescOnce sync.Once
|
|
file_index_cgo_msg_proto_rawDescData = file_index_cgo_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_index_cgo_msg_proto_rawDescGZIP() []byte {
|
|
file_index_cgo_msg_proto_rawDescOnce.Do(func() {
|
|
file_index_cgo_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_index_cgo_msg_proto_rawDescData)
|
|
})
|
|
return file_index_cgo_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_index_cgo_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
var file_index_cgo_msg_proto_goTypes = []interface{}{
|
|
(*TypeParams)(nil), // 0: milvus.proto.indexcgo.TypeParams
|
|
(*IndexParams)(nil), // 1: milvus.proto.indexcgo.IndexParams
|
|
(*MapParams)(nil), // 2: milvus.proto.indexcgo.MapParams
|
|
(*MapParamsV2)(nil), // 3: milvus.proto.indexcgo.MapParamsV2
|
|
(*Binary)(nil), // 4: milvus.proto.indexcgo.Binary
|
|
(*BinarySet)(nil), // 5: milvus.proto.indexcgo.BinarySet
|
|
(*StorageConfig)(nil), // 6: milvus.proto.indexcgo.StorageConfig
|
|
(*OptionalFieldInfo)(nil), // 7: milvus.proto.indexcgo.OptionalFieldInfo
|
|
(*BuildIndexInfo)(nil), // 8: milvus.proto.indexcgo.BuildIndexInfo
|
|
(*LoadTextIndexInfo)(nil), // 9: milvus.proto.indexcgo.LoadTextIndexInfo
|
|
nil, // 10: milvus.proto.indexcgo.MapParamsV2.ParamsEntry
|
|
(*commonpb.KeyValuePair)(nil), // 11: milvus.proto.common.KeyValuePair
|
|
(*schemapb.FieldSchema)(nil), // 12: milvus.proto.schema.FieldSchema
|
|
}
|
|
var file_index_cgo_msg_proto_depIdxs = []int32{
|
|
11, // 0: milvus.proto.indexcgo.TypeParams.params:type_name -> milvus.proto.common.KeyValuePair
|
|
11, // 1: milvus.proto.indexcgo.IndexParams.params:type_name -> milvus.proto.common.KeyValuePair
|
|
11, // 2: milvus.proto.indexcgo.MapParams.params:type_name -> milvus.proto.common.KeyValuePair
|
|
10, // 3: milvus.proto.indexcgo.MapParamsV2.params:type_name -> milvus.proto.indexcgo.MapParamsV2.ParamsEntry
|
|
4, // 4: milvus.proto.indexcgo.BinarySet.datas:type_name -> milvus.proto.indexcgo.Binary
|
|
12, // 5: milvus.proto.indexcgo.BuildIndexInfo.field_schema:type_name -> milvus.proto.schema.FieldSchema
|
|
6, // 6: milvus.proto.indexcgo.BuildIndexInfo.storage_config:type_name -> milvus.proto.indexcgo.StorageConfig
|
|
11, // 7: milvus.proto.indexcgo.BuildIndexInfo.index_params:type_name -> milvus.proto.common.KeyValuePair
|
|
11, // 8: milvus.proto.indexcgo.BuildIndexInfo.type_params:type_name -> milvus.proto.common.KeyValuePair
|
|
7, // 9: milvus.proto.indexcgo.BuildIndexInfo.opt_fields:type_name -> milvus.proto.indexcgo.OptionalFieldInfo
|
|
12, // 10: milvus.proto.indexcgo.LoadTextIndexInfo.schema:type_name -> milvus.proto.schema.FieldSchema
|
|
11, // [11:11] is the sub-list for method output_type
|
|
11, // [11:11] is the sub-list for method input_type
|
|
11, // [11:11] is the sub-list for extension type_name
|
|
11, // [11:11] is the sub-list for extension extendee
|
|
0, // [0:11] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_index_cgo_msg_proto_init() }
|
|
func file_index_cgo_msg_proto_init() {
|
|
if File_index_cgo_msg_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_index_cgo_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TypeParams); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_index_cgo_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*IndexParams); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_index_cgo_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MapParams); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_index_cgo_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MapParamsV2); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_index_cgo_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Binary); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_index_cgo_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BinarySet); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_index_cgo_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StorageConfig); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_index_cgo_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*OptionalFieldInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_index_cgo_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BuildIndexInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_index_cgo_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LoadTextIndexInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_index_cgo_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 11,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_index_cgo_msg_proto_goTypes,
|
|
DependencyIndexes: file_index_cgo_msg_proto_depIdxs,
|
|
MessageInfos: file_index_cgo_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_index_cgo_msg_proto = out.File
|
|
file_index_cgo_msg_proto_rawDesc = nil
|
|
file_index_cgo_msg_proto_goTypes = nil
|
|
file_index_cgo_msg_proto_depIdxs = nil
|
|
}
|