milvus.pb.go 267.4 KB
Newer Older
1 2 3 4 5 6
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: milvus.proto

package milvuspb

import (
Y
yukun 已提交
7
	context "context"
8 9
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
X
Xiangyu Wang 已提交
10 11
	commonpb "github.com/milvus-io/milvus/internal/proto/commonpb"
	schemapb "github.com/milvus-io/milvus/internal/proto/schemapb"
Y
yukun 已提交
12 13 14
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
15 16 17 18 19 20 21 22 23 24 25 26 27 28
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

29 30
//
// This is for ShowCollectionsRequest type field.
31
type ShowType int32
32 33

const (
34 35 36
	// Will return all colloections
	ShowType_All ShowType = 0
	// Will return loaded collections with their inMemory_percentages
37
	ShowType_InMemory ShowType = 1
38 39
)

40
var ShowType_name = map[int32]string{
41 42 43 44
	0: "All",
	1: "InMemory",
}

45
var ShowType_value = map[string]int32{
46 47 48 49
	"All":      0,
	"InMemory": 1,
}

50 51
func (x ShowType) String() string {
	return proto.EnumName(ShowType_name, int32(x))
52 53
}

54
func (ShowType) EnumDescriptor() ([]byte, []int) {
55 56 57
	return fileDescriptor_02345ba45cc0e303, []int{0}
}

Y
yukun 已提交
58 59 60
type PlaceholderType int32

const (
G
godchen 已提交
61 62 63
	PlaceholderType_None         PlaceholderType = 0
	PlaceholderType_BinaryVector PlaceholderType = 100
	PlaceholderType_FloatVector  PlaceholderType = 101
Y
yukun 已提交
64 65 66
)

var PlaceholderType_name = map[int32]string{
G
godchen 已提交
67 68 69
	0:   "None",
	100: "BinaryVector",
	101: "FloatVector",
Y
yukun 已提交
70 71 72
}

var PlaceholderType_value = map[string]int32{
G
godchen 已提交
73 74 75
	"None":         0,
	"BinaryVector": 100,
	"FloatVector":  101,
Y
yukun 已提交
76 77 78 79 80 81 82
}

func (x PlaceholderType) String() string {
	return proto.EnumName(PlaceholderType_name, int32(x))
}

func (PlaceholderType) EnumDescriptor() ([]byte, []int) {
83
	return fileDescriptor_02345ba45cc0e303, []int{1}
Y
yukun 已提交
84 85
}

Y
Yusup 已提交
86 87
type CreateAliasRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
C
Cai Yudong 已提交
88 89 90
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	Alias                string            `protobuf:"bytes,4,opt,name=alias,proto3" json:"alias,omitempty"`
Y
Yusup 已提交
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *CreateAliasRequest) Reset()         { *m = CreateAliasRequest{} }
func (m *CreateAliasRequest) String() string { return proto.CompactTextString(m) }
func (*CreateAliasRequest) ProtoMessage()    {}
func (*CreateAliasRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{0}
}

func (m *CreateAliasRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CreateAliasRequest.Unmarshal(m, b)
}
func (m *CreateAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CreateAliasRequest.Marshal(b, m, deterministic)
}
func (m *CreateAliasRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CreateAliasRequest.Merge(m, src)
}
func (m *CreateAliasRequest) XXX_Size() int {
	return xxx_messageInfo_CreateAliasRequest.Size(m)
}
func (m *CreateAliasRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CreateAliasRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CreateAliasRequest proto.InternalMessageInfo

func (m *CreateAliasRequest) GetBase() *commonpb.MsgBase {
	if m != nil {
		return m.Base
	}
	return nil
}

C
Cai Yudong 已提交
128 129 130 131 132 133 134
func (m *CreateAliasRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

Y
Yusup 已提交
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
func (m *CreateAliasRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *CreateAliasRequest) GetAlias() string {
	if m != nil {
		return m.Alias
	}
	return ""
}

type DropAliasRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
C
Cai Yudong 已提交
151 152
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	Alias                string            `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"`
Y
Yusup 已提交
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *DropAliasRequest) Reset()         { *m = DropAliasRequest{} }
func (m *DropAliasRequest) String() string { return proto.CompactTextString(m) }
func (*DropAliasRequest) ProtoMessage()    {}
func (*DropAliasRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{1}
}

func (m *DropAliasRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DropAliasRequest.Unmarshal(m, b)
}
func (m *DropAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DropAliasRequest.Marshal(b, m, deterministic)
}
func (m *DropAliasRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DropAliasRequest.Merge(m, src)
}
func (m *DropAliasRequest) XXX_Size() int {
	return xxx_messageInfo_DropAliasRequest.Size(m)
}
func (m *DropAliasRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DropAliasRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DropAliasRequest proto.InternalMessageInfo

func (m *DropAliasRequest) GetBase() *commonpb.MsgBase {
	if m != nil {
		return m.Base
	}
	return nil
}

C
Cai Yudong 已提交
190 191 192 193 194 195 196
func (m *DropAliasRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

Y
Yusup 已提交
197 198 199 200 201 202 203 204 205
func (m *DropAliasRequest) GetAlias() string {
	if m != nil {
		return m.Alias
	}
	return ""
}

type AlterAliasRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
C
Cai Yudong 已提交
206 207 208
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	Alias                string            `protobuf:"bytes,4,opt,name=alias,proto3" json:"alias,omitempty"`
Y
Yusup 已提交
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *AlterAliasRequest) Reset()         { *m = AlterAliasRequest{} }
func (m *AlterAliasRequest) String() string { return proto.CompactTextString(m) }
func (*AlterAliasRequest) ProtoMessage()    {}
func (*AlterAliasRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{2}
}

func (m *AlterAliasRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_AlterAliasRequest.Unmarshal(m, b)
}
func (m *AlterAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_AlterAliasRequest.Marshal(b, m, deterministic)
}
func (m *AlterAliasRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_AlterAliasRequest.Merge(m, src)
}
func (m *AlterAliasRequest) XXX_Size() int {
	return xxx_messageInfo_AlterAliasRequest.Size(m)
}
func (m *AlterAliasRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_AlterAliasRequest.DiscardUnknown(m)
}

var xxx_messageInfo_AlterAliasRequest proto.InternalMessageInfo

func (m *AlterAliasRequest) GetBase() *commonpb.MsgBase {
	if m != nil {
		return m.Base
	}
	return nil
}

C
Cai Yudong 已提交
246 247 248 249 250 251 252
func (m *AlterAliasRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

Y
Yusup 已提交
253 254 255 256 257 258 259 260 261 262 263 264 265 266
func (m *AlterAliasRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *AlterAliasRequest) GetAlias() string {
	if m != nil {
		return m.Alias
	}
	return ""
}

267 268
//*
// Create collection in milvus
269
type CreateCollectionRequest struct {
270 271 272 273 274 275 276 277 278
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The unique collection name in milvus.(Required)
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The serialized `schema.CollectionSchema`(Required)
	Schema []byte `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
	// Once set, no modification is allowed (Optional)
279
	// https://github.com/milvus-io/milvus/issues/6690
280 281 282 283 284 285
	ShardsNum int32 `protobuf:"varint,5,opt,name=shards_num,json=shardsNum,proto3" json:"shards_num,omitempty"`
	// The consistency level that the collection used, modification is not supported now.
	ConsistencyLevel     commonpb.ConsistencyLevel `protobuf:"varint,6,opt,name=consistency_level,json=consistencyLevel,proto3,enum=milvus.proto.common.ConsistencyLevel" json:"consistency_level,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
286 287 288 289 290 291
}

func (m *CreateCollectionRequest) Reset()         { *m = CreateCollectionRequest{} }
func (m *CreateCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*CreateCollectionRequest) ProtoMessage()    {}
func (*CreateCollectionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
292
	return fileDescriptor_02345ba45cc0e303, []int{3}
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312
}

func (m *CreateCollectionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CreateCollectionRequest.Unmarshal(m, b)
}
func (m *CreateCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CreateCollectionRequest.Marshal(b, m, deterministic)
}
func (m *CreateCollectionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CreateCollectionRequest.Merge(m, src)
}
func (m *CreateCollectionRequest) XXX_Size() int {
	return xxx_messageInfo_CreateCollectionRequest.Size(m)
}
func (m *CreateCollectionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CreateCollectionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CreateCollectionRequest proto.InternalMessageInfo

313
func (m *CreateCollectionRequest) GetBase() *commonpb.MsgBase {
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *CreateCollectionRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *CreateCollectionRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

Z
zhenshan.cao 已提交
334
func (m *CreateCollectionRequest) GetSchema() []byte {
335 336 337 338 339 340
	if m != nil {
		return m.Schema
	}
	return nil
}

341 342 343 344 345 346 347
func (m *CreateCollectionRequest) GetShardsNum() int32 {
	if m != nil {
		return m.ShardsNum
	}
	return 0
}

348 349 350 351 352 353 354
func (m *CreateCollectionRequest) GetConsistencyLevel() commonpb.ConsistencyLevel {
	if m != nil {
		return m.ConsistencyLevel
	}
	return commonpb.ConsistencyLevel_Strong
}

355 356
//*
// Drop collection in milvus, also will drop data in collection.
357
type DropCollectionRequest struct {
358 359 360 361 362 363 364 365 366
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The unique collection name in milvus.(Required)
	CollectionName       string   `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
367 368 369 370 371 372
}

func (m *DropCollectionRequest) Reset()         { *m = DropCollectionRequest{} }
func (m *DropCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*DropCollectionRequest) ProtoMessage()    {}
func (*DropCollectionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
373
	return fileDescriptor_02345ba45cc0e303, []int{4}
374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393
}

func (m *DropCollectionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DropCollectionRequest.Unmarshal(m, b)
}
func (m *DropCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DropCollectionRequest.Marshal(b, m, deterministic)
}
func (m *DropCollectionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DropCollectionRequest.Merge(m, src)
}
func (m *DropCollectionRequest) XXX_Size() int {
	return xxx_messageInfo_DropCollectionRequest.Size(m)
}
func (m *DropCollectionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DropCollectionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DropCollectionRequest proto.InternalMessageInfo

394
func (m *DropCollectionRequest) GetBase() *commonpb.MsgBase {
395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *DropCollectionRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *DropCollectionRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

415 416
//*
// Check collection exist in milvus or not.
417
type HasCollectionRequest struct {
418 419 420 421 422 423
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name you want to check.
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
424
	// If time_stamp is not zero, will return true when time_stamp >= created collection timestamp, otherwise will return false.
425 426 427 428
	TimeStamp            uint64   `protobuf:"varint,4,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
429 430 431 432 433 434
}

func (m *HasCollectionRequest) Reset()         { *m = HasCollectionRequest{} }
func (m *HasCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*HasCollectionRequest) ProtoMessage()    {}
func (*HasCollectionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
435
	return fileDescriptor_02345ba45cc0e303, []int{5}
436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455
}

func (m *HasCollectionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_HasCollectionRequest.Unmarshal(m, b)
}
func (m *HasCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_HasCollectionRequest.Marshal(b, m, deterministic)
}
func (m *HasCollectionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_HasCollectionRequest.Merge(m, src)
}
func (m *HasCollectionRequest) XXX_Size() int {
	return xxx_messageInfo_HasCollectionRequest.Size(m)
}
func (m *HasCollectionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_HasCollectionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_HasCollectionRequest proto.InternalMessageInfo

456
func (m *HasCollectionRequest) GetBase() *commonpb.MsgBase {
457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *HasCollectionRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *HasCollectionRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

N
neza2017 已提交
477 478 479 480 481 482 483
func (m *HasCollectionRequest) GetTimeStamp() uint64 {
	if m != nil {
		return m.TimeStamp
	}
	return 0
}

Y
yukun 已提交
484 485 486 487 488 489 490 491 492 493 494 495
type BoolResponse struct {
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Value                bool             `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *BoolResponse) Reset()         { *m = BoolResponse{} }
func (m *BoolResponse) String() string { return proto.CompactTextString(m) }
func (*BoolResponse) ProtoMessage()    {}
func (*BoolResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
496
	return fileDescriptor_02345ba45cc0e303, []int{6}
Y
yukun 已提交
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530
}

func (m *BoolResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BoolResponse.Unmarshal(m, b)
}
func (m *BoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BoolResponse.Marshal(b, m, deterministic)
}
func (m *BoolResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BoolResponse.Merge(m, src)
}
func (m *BoolResponse) XXX_Size() int {
	return xxx_messageInfo_BoolResponse.Size(m)
}
func (m *BoolResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_BoolResponse.DiscardUnknown(m)
}

var xxx_messageInfo_BoolResponse proto.InternalMessageInfo

func (m *BoolResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *BoolResponse) GetValue() bool {
	if m != nil {
		return m.Value
	}
	return false
}

Z
zhenshan.cao 已提交
531 532 533 534 535 536 537 538 539 540 541 542
type StringResponse struct {
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Value                string           `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *StringResponse) Reset()         { *m = StringResponse{} }
func (m *StringResponse) String() string { return proto.CompactTextString(m) }
func (*StringResponse) ProtoMessage()    {}
func (*StringResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
543
	return fileDescriptor_02345ba45cc0e303, []int{7}
Z
zhenshan.cao 已提交
544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577
}

func (m *StringResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_StringResponse.Unmarshal(m, b)
}
func (m *StringResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_StringResponse.Marshal(b, m, deterministic)
}
func (m *StringResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_StringResponse.Merge(m, src)
}
func (m *StringResponse) XXX_Size() int {
	return xxx_messageInfo_StringResponse.Size(m)
}
func (m *StringResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_StringResponse.DiscardUnknown(m)
}

var xxx_messageInfo_StringResponse proto.InternalMessageInfo

func (m *StringResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *StringResponse) GetValue() string {
	if m != nil {
		return m.Value
	}
	return ""
}

578 579
//*
// Get collection meta datas like: schema, collectionID, shards number ...
580
type DescribeCollectionRequest struct {
581 582 583 584
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
585
	// The collection name you want to describe, you can pass collection_name or collectionID
586
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
587
	// The collection ID you want to describe
588
	CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
589
	// If time_stamp is not zero, will describe collection success when time_stamp >= created collection timestamp, otherwise will throw error.
590 591 592 593
	TimeStamp            uint64   `protobuf:"varint,5,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
594 595 596 597 598 599
}

func (m *DescribeCollectionRequest) Reset()         { *m = DescribeCollectionRequest{} }
func (m *DescribeCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*DescribeCollectionRequest) ProtoMessage()    {}
func (*DescribeCollectionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
600
	return fileDescriptor_02345ba45cc0e303, []int{8}
601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620
}

func (m *DescribeCollectionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DescribeCollectionRequest.Unmarshal(m, b)
}
func (m *DescribeCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DescribeCollectionRequest.Marshal(b, m, deterministic)
}
func (m *DescribeCollectionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DescribeCollectionRequest.Merge(m, src)
}
func (m *DescribeCollectionRequest) XXX_Size() int {
	return xxx_messageInfo_DescribeCollectionRequest.Size(m)
}
func (m *DescribeCollectionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DescribeCollectionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DescribeCollectionRequest proto.InternalMessageInfo

621
func (m *DescribeCollectionRequest) GetBase() *commonpb.MsgBase {
622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *DescribeCollectionRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *DescribeCollectionRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

N
neza2017 已提交
642 643 644 645 646 647 648
func (m *DescribeCollectionRequest) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

N
neza2017 已提交
649 650 651 652 653 654 655
func (m *DescribeCollectionRequest) GetTimeStamp() uint64 {
	if m != nil {
		return m.TimeStamp
	}
	return 0
}

656 657
//*
// DescribeCollection Response
658
type DescribeCollectionResponse struct {
659 660 661 662 663 664 665 666 667 668 669 670 671 672 673
	// Contain error_code and reason
	Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// The schema param when you created collection.
	Schema *schemapb.CollectionSchema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	// The collection id
	CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	// System design related, users should not perceive
	VirtualChannelNames []string `protobuf:"bytes,4,rep,name=virtual_channel_names,json=virtualChannelNames,proto3" json:"virtual_channel_names,omitempty"`
	// System design related, users should not perceive
	PhysicalChannelNames []string `protobuf:"bytes,5,rep,name=physical_channel_names,json=physicalChannelNames,proto3" json:"physical_channel_names,omitempty"`
	// Hybrid timestamp in milvus
	CreatedTimestamp uint64 `protobuf:"varint,6,opt,name=created_timestamp,json=createdTimestamp,proto3" json:"created_timestamp,omitempty"`
	// The utc timestamp calculated by created_timestamp
	CreatedUtcTimestamp uint64 `protobuf:"varint,7,opt,name=created_utc_timestamp,json=createdUtcTimestamp,proto3" json:"created_utc_timestamp,omitempty"`
	// The shards number you set.
Y
Yusup 已提交
674 675
	ShardsNum int32 `protobuf:"varint,8,opt,name=shards_num,json=shardsNum,proto3" json:"shards_num,omitempty"`
	// The aliases of this collection
676 677
	Aliases []string `protobuf:"bytes,9,rep,name=aliases,proto3" json:"aliases,omitempty"`
	// The message ID/posititon when collection is created
678 679
	StartPositions []*commonpb.KeyDataPair `protobuf:"bytes,10,rep,name=start_positions,json=startPositions,proto3" json:"start_positions,omitempty"`
	// The consistency level that the collection used, modification is not supported now.
680 681 682 683 684 685
	ConsistencyLevel commonpb.ConsistencyLevel `protobuf:"varint,11,opt,name=consistency_level,json=consistencyLevel,proto3,enum=milvus.proto.common.ConsistencyLevel" json:"consistency_level,omitempty"`
	// The collection name
	CollectionName       string   `protobuf:"bytes,12,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
686 687 688 689 690 691
}

func (m *DescribeCollectionResponse) Reset()         { *m = DescribeCollectionResponse{} }
func (m *DescribeCollectionResponse) String() string { return proto.CompactTextString(m) }
func (*DescribeCollectionResponse) ProtoMessage()    {}
func (*DescribeCollectionResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
692
	return fileDescriptor_02345ba45cc0e303, []int{9}
693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712
}

func (m *DescribeCollectionResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DescribeCollectionResponse.Unmarshal(m, b)
}
func (m *DescribeCollectionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DescribeCollectionResponse.Marshal(b, m, deterministic)
}
func (m *DescribeCollectionResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DescribeCollectionResponse.Merge(m, src)
}
func (m *DescribeCollectionResponse) XXX_Size() int {
	return xxx_messageInfo_DescribeCollectionResponse.Size(m)
}
func (m *DescribeCollectionResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_DescribeCollectionResponse.DiscardUnknown(m)
}

var xxx_messageInfo_DescribeCollectionResponse proto.InternalMessageInfo

Y
yukun 已提交
713 714 715 716 717 718 719 720
func (m *DescribeCollectionResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *DescribeCollectionResponse) GetSchema() *schemapb.CollectionSchema {
721 722 723 724 725 726
	if m != nil {
		return m.Schema
	}
	return nil
}

727 728 729 730 731 732 733
func (m *DescribeCollectionResponse) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

734 735 736 737 738 739 740 741 742 743 744 745 746 747
func (m *DescribeCollectionResponse) GetVirtualChannelNames() []string {
	if m != nil {
		return m.VirtualChannelNames
	}
	return nil
}

func (m *DescribeCollectionResponse) GetPhysicalChannelNames() []string {
	if m != nil {
		return m.PhysicalChannelNames
	}
	return nil
}

748 749 750 751 752 753 754 755 756 757 758 759 760 761
func (m *DescribeCollectionResponse) GetCreatedTimestamp() uint64 {
	if m != nil {
		return m.CreatedTimestamp
	}
	return 0
}

func (m *DescribeCollectionResponse) GetCreatedUtcTimestamp() uint64 {
	if m != nil {
		return m.CreatedUtcTimestamp
	}
	return 0
}

762 763 764 765 766 767 768
func (m *DescribeCollectionResponse) GetShardsNum() int32 {
	if m != nil {
		return m.ShardsNum
	}
	return 0
}

Y
Yusup 已提交
769 770 771 772 773 774 775
func (m *DescribeCollectionResponse) GetAliases() []string {
	if m != nil {
		return m.Aliases
	}
	return nil
}

776 777 778 779 780 781 782
func (m *DescribeCollectionResponse) GetStartPositions() []*commonpb.KeyDataPair {
	if m != nil {
		return m.StartPositions
	}
	return nil
}

783 784 785 786 787 788 789
func (m *DescribeCollectionResponse) GetConsistencyLevel() commonpb.ConsistencyLevel {
	if m != nil {
		return m.ConsistencyLevel
	}
	return commonpb.ConsistencyLevel_Strong
}

790 791 792 793 794 795 796
func (m *DescribeCollectionResponse) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

797 798
//*
// Load collection data into query nodes, then you can do vector search on this collection.
799
type LoadCollectionRequest struct {
800 801 802 803 804 805 806 807 808
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name you want to load
	CollectionName       string   `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
809 810 811 812 813 814
}

func (m *LoadCollectionRequest) Reset()         { *m = LoadCollectionRequest{} }
func (m *LoadCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*LoadCollectionRequest) ProtoMessage()    {}
func (*LoadCollectionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
815
	return fileDescriptor_02345ba45cc0e303, []int{10}
816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835
}

func (m *LoadCollectionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LoadCollectionRequest.Unmarshal(m, b)
}
func (m *LoadCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LoadCollectionRequest.Marshal(b, m, deterministic)
}
func (m *LoadCollectionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LoadCollectionRequest.Merge(m, src)
}
func (m *LoadCollectionRequest) XXX_Size() int {
	return xxx_messageInfo_LoadCollectionRequest.Size(m)
}
func (m *LoadCollectionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_LoadCollectionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_LoadCollectionRequest proto.InternalMessageInfo

836
func (m *LoadCollectionRequest) GetBase() *commonpb.MsgBase {
837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *LoadCollectionRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *LoadCollectionRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

857 858
//*
// Release collection data from query nodes, then you can't do vector search on this collection.
859
type ReleaseCollectionRequest struct {
860 861 862 863 864 865 866 867 868
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name you want to release
	CollectionName       string   `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
869 870 871 872 873 874
}

func (m *ReleaseCollectionRequest) Reset()         { *m = ReleaseCollectionRequest{} }
func (m *ReleaseCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*ReleaseCollectionRequest) ProtoMessage()    {}
func (*ReleaseCollectionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
875
	return fileDescriptor_02345ba45cc0e303, []int{11}
876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895
}

func (m *ReleaseCollectionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReleaseCollectionRequest.Unmarshal(m, b)
}
func (m *ReleaseCollectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReleaseCollectionRequest.Marshal(b, m, deterministic)
}
func (m *ReleaseCollectionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReleaseCollectionRequest.Merge(m, src)
}
func (m *ReleaseCollectionRequest) XXX_Size() int {
	return xxx_messageInfo_ReleaseCollectionRequest.Size(m)
}
func (m *ReleaseCollectionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ReleaseCollectionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ReleaseCollectionRequest proto.InternalMessageInfo

896
func (m *ReleaseCollectionRequest) GetBase() *commonpb.MsgBase {
897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *ReleaseCollectionRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *ReleaseCollectionRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

917 918
//*
// Get collection statistics like row_count.
G
godchen 已提交
919
type GetCollectionStatisticsRequest struct {
920 921 922 923 924 925 926 927 928
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name you want get statistics
	CollectionName       string   `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
929 930
}

G
godchen 已提交
931 932 933 934
func (m *GetCollectionStatisticsRequest) Reset()         { *m = GetCollectionStatisticsRequest{} }
func (m *GetCollectionStatisticsRequest) String() string { return proto.CompactTextString(m) }
func (*GetCollectionStatisticsRequest) ProtoMessage()    {}
func (*GetCollectionStatisticsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
935
	return fileDescriptor_02345ba45cc0e303, []int{12}
936 937
}

G
godchen 已提交
938 939
func (m *GetCollectionStatisticsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetCollectionStatisticsRequest.Unmarshal(m, b)
940
}
G
godchen 已提交
941 942
func (m *GetCollectionStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetCollectionStatisticsRequest.Marshal(b, m, deterministic)
943
}
G
godchen 已提交
944 945
func (m *GetCollectionStatisticsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetCollectionStatisticsRequest.Merge(m, src)
946
}
G
godchen 已提交
947 948
func (m *GetCollectionStatisticsRequest) XXX_Size() int {
	return xxx_messageInfo_GetCollectionStatisticsRequest.Size(m)
949
}
G
godchen 已提交
950 951
func (m *GetCollectionStatisticsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetCollectionStatisticsRequest.DiscardUnknown(m)
952 953
}

G
godchen 已提交
954
var xxx_messageInfo_GetCollectionStatisticsRequest proto.InternalMessageInfo
955

G
godchen 已提交
956
func (m *GetCollectionStatisticsRequest) GetBase() *commonpb.MsgBase {
957 958 959 960 961 962
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
963
func (m *GetCollectionStatisticsRequest) GetDbName() string {
964 965 966 967 968 969
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
970
func (m *GetCollectionStatisticsRequest) GetCollectionName() string {
971 972 973 974 975 976
	if m != nil {
		return m.CollectionName
	}
	return ""
}

977 978
//*
// Will return collection statistics in stats field like [{key:"row_count",value:"1"}]
G
godchen 已提交
979
type GetCollectionStatisticsResponse struct {
980 981 982
	// Contain error_code and reason
	Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Collection statistics data
Z
zhenshan.cao 已提交
983
	Stats                []*commonpb.KeyValuePair `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"`
984 985 986 987 988
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

G
godchen 已提交
989 990 991 992
func (m *GetCollectionStatisticsResponse) Reset()         { *m = GetCollectionStatisticsResponse{} }
func (m *GetCollectionStatisticsResponse) String() string { return proto.CompactTextString(m) }
func (*GetCollectionStatisticsResponse) ProtoMessage()    {}
func (*GetCollectionStatisticsResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
993
	return fileDescriptor_02345ba45cc0e303, []int{13}
994 995
}

G
godchen 已提交
996 997
func (m *GetCollectionStatisticsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetCollectionStatisticsResponse.Unmarshal(m, b)
998
}
G
godchen 已提交
999 1000
func (m *GetCollectionStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetCollectionStatisticsResponse.Marshal(b, m, deterministic)
1001
}
G
godchen 已提交
1002 1003
func (m *GetCollectionStatisticsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetCollectionStatisticsResponse.Merge(m, src)
1004
}
G
godchen 已提交
1005 1006
func (m *GetCollectionStatisticsResponse) XXX_Size() int {
	return xxx_messageInfo_GetCollectionStatisticsResponse.Size(m)
1007
}
G
godchen 已提交
1008 1009
func (m *GetCollectionStatisticsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetCollectionStatisticsResponse.DiscardUnknown(m)
1010 1011
}

G
godchen 已提交
1012
var xxx_messageInfo_GetCollectionStatisticsResponse proto.InternalMessageInfo
1013

G
godchen 已提交
1014
func (m *GetCollectionStatisticsResponse) GetStatus() *commonpb.Status {
1015
	if m != nil {
Z
zhenshan.cao 已提交
1016
		return m.Status
1017 1018 1019 1020
	}
	return nil
}

G
godchen 已提交
1021
func (m *GetCollectionStatisticsResponse) GetStats() []*commonpb.KeyValuePair {
Y
yukun 已提交
1022
	if m != nil {
Z
zhenshan.cao 已提交
1023
		return m.Stats
Y
yukun 已提交
1024 1025 1026 1027
	}
	return nil
}

1028 1029
//
// List collections
G
godchen 已提交
1030
type ShowCollectionsRequest struct {
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// Not useful for now
	TimeStamp uint64 `protobuf:"varint,3,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
	// Decide return Loaded collections or All collections(Optional)
	Type ShowType `protobuf:"varint,4,opt,name=type,proto3,enum=milvus.proto.milvus.ShowType" json:"type,omitempty"`
	// When type is InMemory, will return these collection's inMemory_percentages.(Optional)
	CollectionNames      []string `protobuf:"bytes,5,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1044 1045
}

G
godchen 已提交
1046 1047 1048 1049
func (m *ShowCollectionsRequest) Reset()         { *m = ShowCollectionsRequest{} }
func (m *ShowCollectionsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowCollectionsRequest) ProtoMessage()    {}
func (*ShowCollectionsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1050
	return fileDescriptor_02345ba45cc0e303, []int{14}
1051 1052
}

G
godchen 已提交
1053 1054
func (m *ShowCollectionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowCollectionsRequest.Unmarshal(m, b)
1055
}
G
godchen 已提交
1056 1057
func (m *ShowCollectionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowCollectionsRequest.Marshal(b, m, deterministic)
1058
}
G
godchen 已提交
1059 1060
func (m *ShowCollectionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowCollectionsRequest.Merge(m, src)
1061
}
G
godchen 已提交
1062 1063
func (m *ShowCollectionsRequest) XXX_Size() int {
	return xxx_messageInfo_ShowCollectionsRequest.Size(m)
1064
}
G
godchen 已提交
1065 1066
func (m *ShowCollectionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowCollectionsRequest.DiscardUnknown(m)
1067 1068
}

G
godchen 已提交
1069
var xxx_messageInfo_ShowCollectionsRequest proto.InternalMessageInfo
1070

G
godchen 已提交
1071
func (m *ShowCollectionsRequest) GetBase() *commonpb.MsgBase {
1072 1073 1074 1075 1076 1077
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1078
func (m *ShowCollectionsRequest) GetDbName() string {
1079 1080 1081 1082 1083 1084
	if m != nil {
		return m.DbName
	}
	return ""
}

N
neza2017 已提交
1085 1086 1087 1088 1089 1090 1091
func (m *ShowCollectionsRequest) GetTimeStamp() uint64 {
	if m != nil {
		return m.TimeStamp
	}
	return 0
}

1092
func (m *ShowCollectionsRequest) GetType() ShowType {
1093 1094 1095
	if m != nil {
		return m.Type
	}
1096 1097 1098 1099 1100 1101 1102 1103
	return ShowType_All
}

func (m *ShowCollectionsRequest) GetCollectionNames() []string {
	if m != nil {
		return m.CollectionNames
	}
	return nil
1104 1105
}

1106 1107
//
// Return basic collection infos.
G
godchen 已提交
1108
type ShowCollectionsResponse struct {
1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123
	// Contain error_code and reason
	Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Collection name array
	CollectionNames []string `protobuf:"bytes,2,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"`
	// Collection Id array
	CollectionIds []int64 `protobuf:"varint,3,rep,packed,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
	// Hybrid timestamps in milvus
	CreatedTimestamps []uint64 `protobuf:"varint,4,rep,packed,name=created_timestamps,json=createdTimestamps,proto3" json:"created_timestamps,omitempty"`
	// The utc timestamp calculated by created_timestamp
	CreatedUtcTimestamps []uint64 `protobuf:"varint,5,rep,packed,name=created_utc_timestamps,json=createdUtcTimestamps,proto3" json:"created_utc_timestamps,omitempty"`
	// Load percentage on querynode when type is InMemory
	InMemoryPercentages  []int64  `protobuf:"varint,6,rep,packed,name=inMemory_percentages,json=inMemoryPercentages,proto3" json:"inMemory_percentages,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1124 1125
}

G
godchen 已提交
1126 1127 1128 1129
func (m *ShowCollectionsResponse) Reset()         { *m = ShowCollectionsResponse{} }
func (m *ShowCollectionsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowCollectionsResponse) ProtoMessage()    {}
func (*ShowCollectionsResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1130
	return fileDescriptor_02345ba45cc0e303, []int{15}
1131 1132
}

G
godchen 已提交
1133 1134
func (m *ShowCollectionsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowCollectionsResponse.Unmarshal(m, b)
1135
}
G
godchen 已提交
1136 1137
func (m *ShowCollectionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowCollectionsResponse.Marshal(b, m, deterministic)
1138
}
G
godchen 已提交
1139 1140
func (m *ShowCollectionsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowCollectionsResponse.Merge(m, src)
1141
}
G
godchen 已提交
1142 1143
func (m *ShowCollectionsResponse) XXX_Size() int {
	return xxx_messageInfo_ShowCollectionsResponse.Size(m)
1144
}
G
godchen 已提交
1145 1146
func (m *ShowCollectionsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowCollectionsResponse.DiscardUnknown(m)
1147 1148
}

G
godchen 已提交
1149
var xxx_messageInfo_ShowCollectionsResponse proto.InternalMessageInfo
1150

G
godchen 已提交
1151
func (m *ShowCollectionsResponse) GetStatus() *commonpb.Status {
1152
	if m != nil {
Z
zhenshan.cao 已提交
1153
		return m.Status
1154 1155 1156 1157
	}
	return nil
}

G
godchen 已提交
1158
func (m *ShowCollectionsResponse) GetCollectionNames() []string {
Y
yukun 已提交
1159
	if m != nil {
Z
zhenshan.cao 已提交
1160
		return m.CollectionNames
Y
yukun 已提交
1161 1162 1163 1164
	}
	return nil
}

1165 1166 1167 1168 1169 1170 1171
func (m *ShowCollectionsResponse) GetCollectionIds() []int64 {
	if m != nil {
		return m.CollectionIds
	}
	return nil
}

1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185
func (m *ShowCollectionsResponse) GetCreatedTimestamps() []uint64 {
	if m != nil {
		return m.CreatedTimestamps
	}
	return nil
}

func (m *ShowCollectionsResponse) GetCreatedUtcTimestamps() []uint64 {
	if m != nil {
		return m.CreatedUtcTimestamps
	}
	return nil
}

1186 1187 1188 1189 1190 1191 1192
func (m *ShowCollectionsResponse) GetInMemoryPercentages() []int64 {
	if m != nil {
		return m.InMemoryPercentages
	}
	return nil
}

1193 1194
//
// Create partition in created collection.
1195
type CreatePartitionRequest struct {
1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name in milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The partition name you want to create.
	PartitionName        string   `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1207 1208 1209 1210 1211 1212
}

func (m *CreatePartitionRequest) Reset()         { *m = CreatePartitionRequest{} }
func (m *CreatePartitionRequest) String() string { return proto.CompactTextString(m) }
func (*CreatePartitionRequest) ProtoMessage()    {}
func (*CreatePartitionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1213
	return fileDescriptor_02345ba45cc0e303, []int{16}
1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233
}

func (m *CreatePartitionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CreatePartitionRequest.Unmarshal(m, b)
}
func (m *CreatePartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CreatePartitionRequest.Marshal(b, m, deterministic)
}
func (m *CreatePartitionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CreatePartitionRequest.Merge(m, src)
}
func (m *CreatePartitionRequest) XXX_Size() int {
	return xxx_messageInfo_CreatePartitionRequest.Size(m)
}
func (m *CreatePartitionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CreatePartitionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CreatePartitionRequest proto.InternalMessageInfo

1234
func (m *CreatePartitionRequest) GetBase() *commonpb.MsgBase {
1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *CreatePartitionRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *CreatePartitionRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *CreatePartitionRequest) GetPartitionName() string {
	if m != nil {
		return m.PartitionName
	}
	return ""
}

1262 1263
//
// Drop partition in created collection.
1264
type DropPartitionRequest struct {
1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name in milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The partition name you want to drop
	PartitionName        string   `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1276 1277 1278 1279 1280 1281
}

func (m *DropPartitionRequest) Reset()         { *m = DropPartitionRequest{} }
func (m *DropPartitionRequest) String() string { return proto.CompactTextString(m) }
func (*DropPartitionRequest) ProtoMessage()    {}
func (*DropPartitionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1282
	return fileDescriptor_02345ba45cc0e303, []int{17}
1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302
}

func (m *DropPartitionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DropPartitionRequest.Unmarshal(m, b)
}
func (m *DropPartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DropPartitionRequest.Marshal(b, m, deterministic)
}
func (m *DropPartitionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DropPartitionRequest.Merge(m, src)
}
func (m *DropPartitionRequest) XXX_Size() int {
	return xxx_messageInfo_DropPartitionRequest.Size(m)
}
func (m *DropPartitionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DropPartitionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DropPartitionRequest proto.InternalMessageInfo

1303
func (m *DropPartitionRequest) GetBase() *commonpb.MsgBase {
1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *DropPartitionRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *DropPartitionRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *DropPartitionRequest) GetPartitionName() string {
	if m != nil {
		return m.PartitionName
	}
	return ""
}

1331 1332
//
// Check if partition exist in collection or not.
1333
type HasPartitionRequest struct {
1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name in milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The partition name you want to check
	PartitionName        string   `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1345 1346 1347 1348 1349 1350
}

func (m *HasPartitionRequest) Reset()         { *m = HasPartitionRequest{} }
func (m *HasPartitionRequest) String() string { return proto.CompactTextString(m) }
func (*HasPartitionRequest) ProtoMessage()    {}
func (*HasPartitionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1351
	return fileDescriptor_02345ba45cc0e303, []int{18}
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371
}

func (m *HasPartitionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_HasPartitionRequest.Unmarshal(m, b)
}
func (m *HasPartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_HasPartitionRequest.Marshal(b, m, deterministic)
}
func (m *HasPartitionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_HasPartitionRequest.Merge(m, src)
}
func (m *HasPartitionRequest) XXX_Size() int {
	return xxx_messageInfo_HasPartitionRequest.Size(m)
}
func (m *HasPartitionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_HasPartitionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_HasPartitionRequest proto.InternalMessageInfo

1372
func (m *HasPartitionRequest) GetBase() *commonpb.MsgBase {
1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *HasPartitionRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *HasPartitionRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *HasPartitionRequest) GetPartitionName() string {
	if m != nil {
		return m.PartitionName
	}
	return ""
}

1400 1401 1402
//
// Load specific partitions data of one collection into query nodes
// Then you can get these data as result when you do vector search on this collection.
G
godchen 已提交
1403
type LoadPartitionsRequest struct {
1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name in milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The partition names you want to load
	PartitionNames       []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1415 1416
}

G
godchen 已提交
1417 1418 1419 1420
func (m *LoadPartitionsRequest) Reset()         { *m = LoadPartitionsRequest{} }
func (m *LoadPartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*LoadPartitionsRequest) ProtoMessage()    {}
func (*LoadPartitionsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1421
	return fileDescriptor_02345ba45cc0e303, []int{19}
1422 1423
}

G
godchen 已提交
1424 1425
func (m *LoadPartitionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LoadPartitionsRequest.Unmarshal(m, b)
1426
}
G
godchen 已提交
1427 1428
func (m *LoadPartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LoadPartitionsRequest.Marshal(b, m, deterministic)
1429
}
G
godchen 已提交
1430 1431
func (m *LoadPartitionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LoadPartitionsRequest.Merge(m, src)
1432
}
G
godchen 已提交
1433 1434
func (m *LoadPartitionsRequest) XXX_Size() int {
	return xxx_messageInfo_LoadPartitionsRequest.Size(m)
1435
}
G
godchen 已提交
1436 1437
func (m *LoadPartitionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_LoadPartitionsRequest.DiscardUnknown(m)
1438 1439
}

G
godchen 已提交
1440
var xxx_messageInfo_LoadPartitionsRequest proto.InternalMessageInfo
1441

G
godchen 已提交
1442
func (m *LoadPartitionsRequest) GetBase() *commonpb.MsgBase {
1443 1444 1445 1446 1447 1448
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1449
func (m *LoadPartitionsRequest) GetDbName() string {
1450 1451 1452 1453 1454 1455
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
1456
func (m *LoadPartitionsRequest) GetCollectionName() string {
1457 1458 1459 1460 1461 1462
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
1463
func (m *LoadPartitionsRequest) GetPartitionNames() []string {
1464 1465 1466 1467 1468 1469
	if m != nil {
		return m.PartitionNames
	}
	return nil
}

1470 1471 1472
//
// Release specific partitions data of one collection from query nodes.
// Then you can not get these data as result when you do vector search on this collection.
G
godchen 已提交
1473
type ReleasePartitionsRequest struct {
1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name in milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The partition names you want to release
	PartitionNames       []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1485 1486
}

G
godchen 已提交
1487 1488 1489 1490
func (m *ReleasePartitionsRequest) Reset()         { *m = ReleasePartitionsRequest{} }
func (m *ReleasePartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*ReleasePartitionsRequest) ProtoMessage()    {}
func (*ReleasePartitionsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1491
	return fileDescriptor_02345ba45cc0e303, []int{20}
1492 1493
}

G
godchen 已提交
1494 1495
func (m *ReleasePartitionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReleasePartitionsRequest.Unmarshal(m, b)
1496
}
G
godchen 已提交
1497 1498
func (m *ReleasePartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReleasePartitionsRequest.Marshal(b, m, deterministic)
1499
}
G
godchen 已提交
1500 1501
func (m *ReleasePartitionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReleasePartitionsRequest.Merge(m, src)
1502
}
G
godchen 已提交
1503 1504
func (m *ReleasePartitionsRequest) XXX_Size() int {
	return xxx_messageInfo_ReleasePartitionsRequest.Size(m)
1505
}
G
godchen 已提交
1506 1507
func (m *ReleasePartitionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ReleasePartitionsRequest.DiscardUnknown(m)
1508 1509
}

G
godchen 已提交
1510
var xxx_messageInfo_ReleasePartitionsRequest proto.InternalMessageInfo
1511

G
godchen 已提交
1512
func (m *ReleasePartitionsRequest) GetBase() *commonpb.MsgBase {
1513 1514 1515 1516 1517 1518
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1519
func (m *ReleasePartitionsRequest) GetDbName() string {
1520 1521 1522 1523 1524 1525
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
1526
func (m *ReleasePartitionsRequest) GetCollectionName() string {
1527 1528 1529 1530 1531 1532
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
1533
func (m *ReleasePartitionsRequest) GetPartitionNames() []string {
1534 1535 1536 1537 1538 1539
	if m != nil {
		return m.PartitionNames
	}
	return nil
}

1540 1541
//
// Get partition statistics like row_count.
G
godchen 已提交
1542
type GetPartitionStatisticsRequest struct {
1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name in milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The partition name you want to collect statistics
	PartitionName        string   `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1554 1555
}

G
godchen 已提交
1556 1557 1558 1559
func (m *GetPartitionStatisticsRequest) Reset()         { *m = GetPartitionStatisticsRequest{} }
func (m *GetPartitionStatisticsRequest) String() string { return proto.CompactTextString(m) }
func (*GetPartitionStatisticsRequest) ProtoMessage()    {}
func (*GetPartitionStatisticsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1560
	return fileDescriptor_02345ba45cc0e303, []int{21}
1561 1562
}

G
godchen 已提交
1563 1564
func (m *GetPartitionStatisticsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPartitionStatisticsRequest.Unmarshal(m, b)
1565
}
G
godchen 已提交
1566 1567
func (m *GetPartitionStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPartitionStatisticsRequest.Marshal(b, m, deterministic)
1568
}
G
godchen 已提交
1569 1570
func (m *GetPartitionStatisticsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPartitionStatisticsRequest.Merge(m, src)
1571
}
G
godchen 已提交
1572 1573
func (m *GetPartitionStatisticsRequest) XXX_Size() int {
	return xxx_messageInfo_GetPartitionStatisticsRequest.Size(m)
1574
}
G
godchen 已提交
1575 1576
func (m *GetPartitionStatisticsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPartitionStatisticsRequest.DiscardUnknown(m)
1577 1578
}

G
godchen 已提交
1579
var xxx_messageInfo_GetPartitionStatisticsRequest proto.InternalMessageInfo
1580

G
godchen 已提交
1581
func (m *GetPartitionStatisticsRequest) GetBase() *commonpb.MsgBase {
1582 1583 1584 1585 1586 1587
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1588
func (m *GetPartitionStatisticsRequest) GetDbName() string {
1589 1590 1591 1592 1593 1594
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
1595
func (m *GetPartitionStatisticsRequest) GetCollectionName() string {
1596 1597 1598 1599 1600 1601
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
1602
func (m *GetPartitionStatisticsRequest) GetPartitionName() string {
1603 1604 1605 1606 1607 1608
	if m != nil {
		return m.PartitionName
	}
	return ""
}

G
godchen 已提交
1609
type GetPartitionStatisticsResponse struct {
Z
zhenshan.cao 已提交
1610 1611
	Status               *commonpb.Status         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Stats                []*commonpb.KeyValuePair `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"`
1612 1613 1614 1615 1616
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

G
godchen 已提交
1617 1618 1619 1620
func (m *GetPartitionStatisticsResponse) Reset()         { *m = GetPartitionStatisticsResponse{} }
func (m *GetPartitionStatisticsResponse) String() string { return proto.CompactTextString(m) }
func (*GetPartitionStatisticsResponse) ProtoMessage()    {}
func (*GetPartitionStatisticsResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1621
	return fileDescriptor_02345ba45cc0e303, []int{22}
1622 1623
}

G
godchen 已提交
1624 1625
func (m *GetPartitionStatisticsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPartitionStatisticsResponse.Unmarshal(m, b)
1626
}
G
godchen 已提交
1627 1628
func (m *GetPartitionStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPartitionStatisticsResponse.Marshal(b, m, deterministic)
1629
}
G
godchen 已提交
1630 1631
func (m *GetPartitionStatisticsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPartitionStatisticsResponse.Merge(m, src)
1632
}
G
godchen 已提交
1633 1634
func (m *GetPartitionStatisticsResponse) XXX_Size() int {
	return xxx_messageInfo_GetPartitionStatisticsResponse.Size(m)
1635
}
G
godchen 已提交
1636 1637
func (m *GetPartitionStatisticsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPartitionStatisticsResponse.DiscardUnknown(m)
1638 1639
}

G
godchen 已提交
1640
var xxx_messageInfo_GetPartitionStatisticsResponse proto.InternalMessageInfo
1641

G
godchen 已提交
1642
func (m *GetPartitionStatisticsResponse) GetStatus() *commonpb.Status {
1643
	if m != nil {
Z
zhenshan.cao 已提交
1644
		return m.Status
1645 1646 1647 1648
	}
	return nil
}

G
godchen 已提交
1649
func (m *GetPartitionStatisticsResponse) GetStats() []*commonpb.KeyValuePair {
Y
yukun 已提交
1650
	if m != nil {
Z
zhenshan.cao 已提交
1651
		return m.Stats
Y
yukun 已提交
1652 1653 1654 1655
	}
	return nil
}

1656 1657
//
// List all partitions for particular collection
G
godchen 已提交
1658
type ShowPartitionsRequest struct {
1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name you want to describe, you can pass collection_name or collectionID
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The collection id in milvus
	CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	// When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
	PartitionNames []string `protobuf:"bytes,5,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
	// Decide return Loaded partitions or All partitions(Optional)
	Type                 ShowType `protobuf:"varint,6,opt,name=type,proto3,enum=milvus.proto.milvus.ShowType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1674 1675
}

G
godchen 已提交
1676 1677 1678 1679
func (m *ShowPartitionsRequest) Reset()         { *m = ShowPartitionsRequest{} }
func (m *ShowPartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowPartitionsRequest) ProtoMessage()    {}
func (*ShowPartitionsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1680
	return fileDescriptor_02345ba45cc0e303, []int{23}
1681 1682
}

G
godchen 已提交
1683 1684
func (m *ShowPartitionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowPartitionsRequest.Unmarshal(m, b)
1685
}
G
godchen 已提交
1686 1687
func (m *ShowPartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowPartitionsRequest.Marshal(b, m, deterministic)
1688
}
G
godchen 已提交
1689 1690
func (m *ShowPartitionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowPartitionsRequest.Merge(m, src)
1691
}
G
godchen 已提交
1692 1693
func (m *ShowPartitionsRequest) XXX_Size() int {
	return xxx_messageInfo_ShowPartitionsRequest.Size(m)
1694
}
G
godchen 已提交
1695 1696
func (m *ShowPartitionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowPartitionsRequest.DiscardUnknown(m)
1697 1698
}

G
godchen 已提交
1699
var xxx_messageInfo_ShowPartitionsRequest proto.InternalMessageInfo
1700

G
godchen 已提交
1701
func (m *ShowPartitionsRequest) GetBase() *commonpb.MsgBase {
1702 1703 1704 1705 1706 1707
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1708
func (m *ShowPartitionsRequest) GetDbName() string {
1709 1710 1711 1712 1713 1714
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
1715
func (m *ShowPartitionsRequest) GetCollectionName() string {
1716 1717 1718 1719 1720 1721
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
1722
func (m *ShowPartitionsRequest) GetCollectionID() int64 {
1723 1724 1725 1726 1727 1728
	if m != nil {
		return m.CollectionID
	}
	return 0
}

1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742
func (m *ShowPartitionsRequest) GetPartitionNames() []string {
	if m != nil {
		return m.PartitionNames
	}
	return nil
}

func (m *ShowPartitionsRequest) GetType() ShowType {
	if m != nil {
		return m.Type
	}
	return ShowType_All
}

1743 1744 1745
//
// List all partitions for particular collection response.
// The returned datas are all rows, we can format to columns by therir index.
G
godchen 已提交
1746
type ShowPartitionsResponse struct {
1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761
	// Contain error_code and reason
	Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// All partition names for this collection
	PartitionNames []string `protobuf:"bytes,2,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
	// All partition ids for this collection
	PartitionIDs []int64 `protobuf:"varint,3,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
	// All hybrid timestamps
	CreatedTimestamps []uint64 `protobuf:"varint,4,rep,packed,name=created_timestamps,json=createdTimestamps,proto3" json:"created_timestamps,omitempty"`
	// All utc timestamps calculated by created_timestamps
	CreatedUtcTimestamps []uint64 `protobuf:"varint,5,rep,packed,name=created_utc_timestamps,json=createdUtcTimestamps,proto3" json:"created_utc_timestamps,omitempty"`
	// Load percentage on querynode
	InMemoryPercentages  []int64  `protobuf:"varint,6,rep,packed,name=inMemory_percentages,json=inMemoryPercentages,proto3" json:"inMemory_percentages,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1762 1763
}

G
godchen 已提交
1764 1765 1766 1767
func (m *ShowPartitionsResponse) Reset()         { *m = ShowPartitionsResponse{} }
func (m *ShowPartitionsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowPartitionsResponse) ProtoMessage()    {}
func (*ShowPartitionsResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1768
	return fileDescriptor_02345ba45cc0e303, []int{24}
1769 1770
}

G
godchen 已提交
1771 1772
func (m *ShowPartitionsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowPartitionsResponse.Unmarshal(m, b)
1773
}
G
godchen 已提交
1774 1775
func (m *ShowPartitionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowPartitionsResponse.Marshal(b, m, deterministic)
1776
}
G
godchen 已提交
1777 1778
func (m *ShowPartitionsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowPartitionsResponse.Merge(m, src)
1779
}
G
godchen 已提交
1780 1781
func (m *ShowPartitionsResponse) XXX_Size() int {
	return xxx_messageInfo_ShowPartitionsResponse.Size(m)
1782
}
G
godchen 已提交
1783 1784
func (m *ShowPartitionsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowPartitionsResponse.DiscardUnknown(m)
1785 1786
}

G
godchen 已提交
1787
var xxx_messageInfo_ShowPartitionsResponse proto.InternalMessageInfo
1788

G
godchen 已提交
1789
func (m *ShowPartitionsResponse) GetStatus() *commonpb.Status {
1790
	if m != nil {
Z
zhenshan.cao 已提交
1791
		return m.Status
1792 1793 1794 1795
	}
	return nil
}

G
godchen 已提交
1796
func (m *ShowPartitionsResponse) GetPartitionNames() []string {
1797
	if m != nil {
Z
zhenshan.cao 已提交
1798
		return m.PartitionNames
1799 1800 1801 1802
	}
	return nil
}

G
godchen 已提交
1803
func (m *ShowPartitionsResponse) GetPartitionIDs() []int64 {
Y
yukun 已提交
1804
	if m != nil {
Z
zhenshan.cao 已提交
1805
		return m.PartitionIDs
Y
yukun 已提交
1806 1807 1808 1809
	}
	return nil
}

1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823
func (m *ShowPartitionsResponse) GetCreatedTimestamps() []uint64 {
	if m != nil {
		return m.CreatedTimestamps
	}
	return nil
}

func (m *ShowPartitionsResponse) GetCreatedUtcTimestamps() []uint64 {
	if m != nil {
		return m.CreatedUtcTimestamps
	}
	return nil
}

1824 1825 1826 1827 1828 1829 1830
func (m *ShowPartitionsResponse) GetInMemoryPercentages() []int64 {
	if m != nil {
		return m.InMemoryPercentages
	}
	return nil
}

1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843
type DescribeSegmentRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	CollectionID         int64             `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	SegmentID            int64             `protobuf:"varint,3,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *DescribeSegmentRequest) Reset()         { *m = DescribeSegmentRequest{} }
func (m *DescribeSegmentRequest) String() string { return proto.CompactTextString(m) }
func (*DescribeSegmentRequest) ProtoMessage()    {}
func (*DescribeSegmentRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1844
	return fileDescriptor_02345ba45cc0e303, []int{25}
1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886
}

func (m *DescribeSegmentRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DescribeSegmentRequest.Unmarshal(m, b)
}
func (m *DescribeSegmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DescribeSegmentRequest.Marshal(b, m, deterministic)
}
func (m *DescribeSegmentRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DescribeSegmentRequest.Merge(m, src)
}
func (m *DescribeSegmentRequest) XXX_Size() int {
	return xxx_messageInfo_DescribeSegmentRequest.Size(m)
}
func (m *DescribeSegmentRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DescribeSegmentRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DescribeSegmentRequest proto.InternalMessageInfo

func (m *DescribeSegmentRequest) GetBase() *commonpb.MsgBase {
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *DescribeSegmentRequest) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

func (m *DescribeSegmentRequest) GetSegmentID() int64 {
	if m != nil {
		return m.SegmentID
	}
	return 0
}

type DescribeSegmentResponse struct {
N
neza2017 已提交
1887 1888 1889
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	IndexID              int64            `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"`
	BuildID              int64            `protobuf:"varint,3,opt,name=buildID,proto3" json:"buildID,omitempty"`
1890
	EnableIndex          bool             `protobuf:"varint,4,opt,name=enable_index,json=enableIndex,proto3" json:"enable_index,omitempty"`
1891
	FieldID              int64            `protobuf:"varint,5,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
N
neza2017 已提交
1892 1893 1894
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
1895 1896 1897 1898 1899 1900
}

func (m *DescribeSegmentResponse) Reset()         { *m = DescribeSegmentResponse{} }
func (m *DescribeSegmentResponse) String() string { return proto.CompactTextString(m) }
func (*DescribeSegmentResponse) ProtoMessage()    {}
func (*DescribeSegmentResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1901
	return fileDescriptor_02345ba45cc0e303, []int{26}
1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935
}

func (m *DescribeSegmentResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DescribeSegmentResponse.Unmarshal(m, b)
}
func (m *DescribeSegmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DescribeSegmentResponse.Marshal(b, m, deterministic)
}
func (m *DescribeSegmentResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DescribeSegmentResponse.Merge(m, src)
}
func (m *DescribeSegmentResponse) XXX_Size() int {
	return xxx_messageInfo_DescribeSegmentResponse.Size(m)
}
func (m *DescribeSegmentResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_DescribeSegmentResponse.DiscardUnknown(m)
}

var xxx_messageInfo_DescribeSegmentResponse proto.InternalMessageInfo

func (m *DescribeSegmentResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *DescribeSegmentResponse) GetIndexID() int64 {
	if m != nil {
		return m.IndexID
	}
	return 0
}

N
neza2017 已提交
1936
func (m *DescribeSegmentResponse) GetBuildID() int64 {
B
bigsheeper 已提交
1937
	if m != nil {
N
neza2017 已提交
1938
		return m.BuildID
B
bigsheeper 已提交
1939
	}
N
neza2017 已提交
1940
	return 0
B
bigsheeper 已提交
1941 1942
}

1943 1944 1945 1946 1947 1948 1949
func (m *DescribeSegmentResponse) GetEnableIndex() bool {
	if m != nil {
		return m.EnableIndex
	}
	return false
}

1950 1951 1952 1953 1954 1955 1956
func (m *DescribeSegmentResponse) GetFieldID() int64 {
	if m != nil {
		return m.FieldID
	}
	return 0
}

G
godchen 已提交
1957
type ShowSegmentsRequest struct {
1958 1959 1960 1961 1962 1963 1964 1965
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	CollectionID         int64             `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	PartitionID          int64             `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

G
godchen 已提交
1966 1967 1968 1969
func (m *ShowSegmentsRequest) Reset()         { *m = ShowSegmentsRequest{} }
func (m *ShowSegmentsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowSegmentsRequest) ProtoMessage()    {}
func (*ShowSegmentsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1970
	return fileDescriptor_02345ba45cc0e303, []int{27}
1971 1972
}

G
godchen 已提交
1973 1974
func (m *ShowSegmentsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowSegmentsRequest.Unmarshal(m, b)
1975
}
G
godchen 已提交
1976 1977
func (m *ShowSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowSegmentsRequest.Marshal(b, m, deterministic)
1978
}
G
godchen 已提交
1979 1980
func (m *ShowSegmentsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowSegmentsRequest.Merge(m, src)
1981
}
G
godchen 已提交
1982 1983
func (m *ShowSegmentsRequest) XXX_Size() int {
	return xxx_messageInfo_ShowSegmentsRequest.Size(m)
1984
}
G
godchen 已提交
1985 1986
func (m *ShowSegmentsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowSegmentsRequest.DiscardUnknown(m)
1987 1988
}

G
godchen 已提交
1989
var xxx_messageInfo_ShowSegmentsRequest proto.InternalMessageInfo
1990

G
godchen 已提交
1991
func (m *ShowSegmentsRequest) GetBase() *commonpb.MsgBase {
1992 1993 1994 1995 1996 1997
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1998
func (m *ShowSegmentsRequest) GetCollectionID() int64 {
1999 2000 2001 2002 2003 2004
	if m != nil {
		return m.CollectionID
	}
	return 0
}

G
godchen 已提交
2005
func (m *ShowSegmentsRequest) GetPartitionID() int64 {
2006 2007 2008 2009 2010 2011
	if m != nil {
		return m.PartitionID
	}
	return 0
}

G
godchen 已提交
2012
type ShowSegmentsResponse struct {
2013 2014 2015 2016 2017 2018 2019
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	SegmentIDs           []int64          `protobuf:"varint,2,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

G
godchen 已提交
2020 2021 2022 2023
func (m *ShowSegmentsResponse) Reset()         { *m = ShowSegmentsResponse{} }
func (m *ShowSegmentsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowSegmentsResponse) ProtoMessage()    {}
func (*ShowSegmentsResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2024
	return fileDescriptor_02345ba45cc0e303, []int{28}
2025 2026
}

G
godchen 已提交
2027 2028
func (m *ShowSegmentsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowSegmentsResponse.Unmarshal(m, b)
2029
}
G
godchen 已提交
2030 2031
func (m *ShowSegmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowSegmentsResponse.Marshal(b, m, deterministic)
2032
}
G
godchen 已提交
2033 2034
func (m *ShowSegmentsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowSegmentsResponse.Merge(m, src)
2035
}
G
godchen 已提交
2036 2037
func (m *ShowSegmentsResponse) XXX_Size() int {
	return xxx_messageInfo_ShowSegmentsResponse.Size(m)
2038
}
G
godchen 已提交
2039 2040
func (m *ShowSegmentsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowSegmentsResponse.DiscardUnknown(m)
2041 2042
}

G
godchen 已提交
2043
var xxx_messageInfo_ShowSegmentsResponse proto.InternalMessageInfo
2044

G
godchen 已提交
2045
func (m *ShowSegmentsResponse) GetStatus() *commonpb.Status {
2046 2047 2048 2049 2050 2051
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
2052
func (m *ShowSegmentsResponse) GetSegmentIDs() []int64 {
2053 2054 2055 2056 2057 2058
	if m != nil {
		return m.SegmentIDs
	}
	return nil
}

2059 2060
//
// Create index for vector datas
2061
type CreateIndexRequest struct {
2062 2063 2064 2065 2066 2067 2068 2069 2070
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The particular collection name you want to create index.
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The vector field name in this particular collection
	FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	// Support keys: index_type,metric_type, params. Different index_type may has different params.
2071 2072 2073 2074 2075 2076 2077 2078 2079 2080
	ExtraParams          []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (m *CreateIndexRequest) Reset()         { *m = CreateIndexRequest{} }
func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) }
func (*CreateIndexRequest) ProtoMessage()    {}
func (*CreateIndexRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2081
	return fileDescriptor_02345ba45cc0e303, []int{29}
2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101
}

func (m *CreateIndexRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CreateIndexRequest.Unmarshal(m, b)
}
func (m *CreateIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CreateIndexRequest.Marshal(b, m, deterministic)
}
func (m *CreateIndexRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CreateIndexRequest.Merge(m, src)
}
func (m *CreateIndexRequest) XXX_Size() int {
	return xxx_messageInfo_CreateIndexRequest.Size(m)
}
func (m *CreateIndexRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CreateIndexRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CreateIndexRequest proto.InternalMessageInfo

2102
func (m *CreateIndexRequest) GetBase() *commonpb.MsgBase {
2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *CreateIndexRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *CreateIndexRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *CreateIndexRequest) GetFieldName() string {
	if m != nil {
		return m.FieldName
	}
	return ""
}

func (m *CreateIndexRequest) GetExtraParams() []*commonpb.KeyValuePair {
	if m != nil {
		return m.ExtraParams
	}
	return nil
}

2137 2138 2139
//
// Get created index information.
// Current release of Milvus only supports showing latest built index.
2140
type DescribeIndexRequest struct {
2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The particular collection name in Milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The vector field name in this particular collection
	FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	// No need to set up for now @2021.06.30
	IndexName            string   `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
2154 2155 2156 2157 2158 2159
}

func (m *DescribeIndexRequest) Reset()         { *m = DescribeIndexRequest{} }
func (m *DescribeIndexRequest) String() string { return proto.CompactTextString(m) }
func (*DescribeIndexRequest) ProtoMessage()    {}
func (*DescribeIndexRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2160
	return fileDescriptor_02345ba45cc0e303, []int{30}
2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180
}

func (m *DescribeIndexRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DescribeIndexRequest.Unmarshal(m, b)
}
func (m *DescribeIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DescribeIndexRequest.Marshal(b, m, deterministic)
}
func (m *DescribeIndexRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DescribeIndexRequest.Merge(m, src)
}
func (m *DescribeIndexRequest) XXX_Size() int {
	return xxx_messageInfo_DescribeIndexRequest.Size(m)
}
func (m *DescribeIndexRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DescribeIndexRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DescribeIndexRequest proto.InternalMessageInfo

2181
func (m *DescribeIndexRequest) GetBase() *commonpb.MsgBase {
2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *DescribeIndexRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *DescribeIndexRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *DescribeIndexRequest) GetFieldName() string {
	if m != nil {
		return m.FieldName
	}
	return ""
}

2209 2210 2211 2212 2213 2214 2215
func (m *DescribeIndexRequest) GetIndexName() string {
	if m != nil {
		return m.IndexName
	}
	return ""
}

2216 2217
//
// Index informations
2218
type IndexDescription struct {
2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229
	// Index name
	IndexName string `protobuf:"bytes,1,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	// Index id
	IndexID int64 `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"`
	// Will return index_type, metric_type, params(like nlist).
	Params []*commonpb.KeyValuePair `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"`
	// The vector field name
	FieldName            string   `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
2230 2231 2232 2233 2234 2235
}

func (m *IndexDescription) Reset()         { *m = IndexDescription{} }
func (m *IndexDescription) String() string { return proto.CompactTextString(m) }
func (*IndexDescription) ProtoMessage()    {}
func (*IndexDescription) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2236
	return fileDescriptor_02345ba45cc0e303, []int{31}
2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263
}

func (m *IndexDescription) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_IndexDescription.Unmarshal(m, b)
}
func (m *IndexDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_IndexDescription.Marshal(b, m, deterministic)
}
func (m *IndexDescription) XXX_Merge(src proto.Message) {
	xxx_messageInfo_IndexDescription.Merge(m, src)
}
func (m *IndexDescription) XXX_Size() int {
	return xxx_messageInfo_IndexDescription.Size(m)
}
func (m *IndexDescription) XXX_DiscardUnknown() {
	xxx_messageInfo_IndexDescription.DiscardUnknown(m)
}

var xxx_messageInfo_IndexDescription proto.InternalMessageInfo

func (m *IndexDescription) GetIndexName() string {
	if m != nil {
		return m.IndexName
	}
	return ""
}

2264 2265 2266 2267 2268 2269 2270
func (m *IndexDescription) GetIndexID() int64 {
	if m != nil {
		return m.IndexID
	}
	return 0
}

2271 2272 2273 2274 2275 2276 2277
func (m *IndexDescription) GetParams() []*commonpb.KeyValuePair {
	if m != nil {
		return m.Params
	}
	return nil
}

2278 2279 2280 2281 2282 2283 2284
func (m *IndexDescription) GetFieldName() string {
	if m != nil {
		return m.FieldName
	}
	return ""
}

2285 2286
//
// Describe index response
2287
type DescribeIndexResponse struct {
2288 2289 2290
	// Response status
	Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// All index informations, for now only return tha latest index you created for the collection.
2291
	IndexDescriptions    []*IndexDescription `protobuf:"bytes,2,rep,name=index_descriptions,json=indexDescriptions,proto3" json:"index_descriptions,omitempty"`
2292 2293 2294 2295 2296 2297 2298 2299 2300
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *DescribeIndexResponse) Reset()         { *m = DescribeIndexResponse{} }
func (m *DescribeIndexResponse) String() string { return proto.CompactTextString(m) }
func (*DescribeIndexResponse) ProtoMessage()    {}
func (*DescribeIndexResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2301
	return fileDescriptor_02345ba45cc0e303, []int{32}
2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321
}

func (m *DescribeIndexResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DescribeIndexResponse.Unmarshal(m, b)
}
func (m *DescribeIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DescribeIndexResponse.Marshal(b, m, deterministic)
}
func (m *DescribeIndexResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DescribeIndexResponse.Merge(m, src)
}
func (m *DescribeIndexResponse) XXX_Size() int {
	return xxx_messageInfo_DescribeIndexResponse.Size(m)
}
func (m *DescribeIndexResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_DescribeIndexResponse.DiscardUnknown(m)
}

var xxx_messageInfo_DescribeIndexResponse proto.InternalMessageInfo

2322 2323 2324 2325 2326 2327 2328
func (m *DescribeIndexResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

2329 2330 2331 2332 2333 2334 2335
func (m *DescribeIndexResponse) GetIndexDescriptions() []*IndexDescription {
	if m != nil {
		return m.IndexDescriptions
	}
	return nil
}

2336 2337
//
//  Get index building progress
2338
type GetIndexBuildProgressRequest struct {
2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name in milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The vector field name in this collection
	FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	// Not useful for now
	IndexName            string   `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
2352 2353 2354 2355 2356 2357
}

func (m *GetIndexBuildProgressRequest) Reset()         { *m = GetIndexBuildProgressRequest{} }
func (m *GetIndexBuildProgressRequest) String() string { return proto.CompactTextString(m) }
func (*GetIndexBuildProgressRequest) ProtoMessage()    {}
func (*GetIndexBuildProgressRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2358
	return fileDescriptor_02345ba45cc0e303, []int{33}
2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426
}

func (m *GetIndexBuildProgressRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetIndexBuildProgressRequest.Unmarshal(m, b)
}
func (m *GetIndexBuildProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetIndexBuildProgressRequest.Marshal(b, m, deterministic)
}
func (m *GetIndexBuildProgressRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetIndexBuildProgressRequest.Merge(m, src)
}
func (m *GetIndexBuildProgressRequest) XXX_Size() int {
	return xxx_messageInfo_GetIndexBuildProgressRequest.Size(m)
}
func (m *GetIndexBuildProgressRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetIndexBuildProgressRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetIndexBuildProgressRequest proto.InternalMessageInfo

func (m *GetIndexBuildProgressRequest) GetBase() *commonpb.MsgBase {
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *GetIndexBuildProgressRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *GetIndexBuildProgressRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *GetIndexBuildProgressRequest) GetFieldName() string {
	if m != nil {
		return m.FieldName
	}
	return ""
}

func (m *GetIndexBuildProgressRequest) GetIndexName() string {
	if m != nil {
		return m.IndexName
	}
	return ""
}

type GetIndexBuildProgressResponse struct {
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	IndexedRows          int64            `protobuf:"varint,2,opt,name=indexed_rows,json=indexedRows,proto3" json:"indexed_rows,omitempty"`
	TotalRows            int64            `protobuf:"varint,3,opt,name=total_rows,json=totalRows,proto3" json:"total_rows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *GetIndexBuildProgressResponse) Reset()         { *m = GetIndexBuildProgressResponse{} }
func (m *GetIndexBuildProgressResponse) String() string { return proto.CompactTextString(m) }
func (*GetIndexBuildProgressResponse) ProtoMessage()    {}
func (*GetIndexBuildProgressResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2427
	return fileDescriptor_02345ba45cc0e303, []int{34}
2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468
}

func (m *GetIndexBuildProgressResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetIndexBuildProgressResponse.Unmarshal(m, b)
}
func (m *GetIndexBuildProgressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetIndexBuildProgressResponse.Marshal(b, m, deterministic)
}
func (m *GetIndexBuildProgressResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetIndexBuildProgressResponse.Merge(m, src)
}
func (m *GetIndexBuildProgressResponse) XXX_Size() int {
	return xxx_messageInfo_GetIndexBuildProgressResponse.Size(m)
}
func (m *GetIndexBuildProgressResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetIndexBuildProgressResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetIndexBuildProgressResponse proto.InternalMessageInfo

func (m *GetIndexBuildProgressResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *GetIndexBuildProgressResponse) GetIndexedRows() int64 {
	if m != nil {
		return m.IndexedRows
	}
	return 0
}

func (m *GetIndexBuildProgressResponse) GetTotalRows() int64 {
	if m != nil {
		return m.TotalRows
	}
	return 0
}

G
godchen 已提交
2469
type GetIndexStateRequest struct {
2470 2471 2472 2473 2474 2475 2476 2477 2478 2479
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	FieldName            string            `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	IndexName            string            `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

G
godchen 已提交
2480 2481 2482 2483
func (m *GetIndexStateRequest) Reset()         { *m = GetIndexStateRequest{} }
func (m *GetIndexStateRequest) String() string { return proto.CompactTextString(m) }
func (*GetIndexStateRequest) ProtoMessage()    {}
func (*GetIndexStateRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2484
	return fileDescriptor_02345ba45cc0e303, []int{35}
2485 2486
}

G
godchen 已提交
2487 2488
func (m *GetIndexStateRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetIndexStateRequest.Unmarshal(m, b)
2489
}
G
godchen 已提交
2490 2491
func (m *GetIndexStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetIndexStateRequest.Marshal(b, m, deterministic)
2492
}
G
godchen 已提交
2493 2494
func (m *GetIndexStateRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetIndexStateRequest.Merge(m, src)
2495
}
G
godchen 已提交
2496 2497
func (m *GetIndexStateRequest) XXX_Size() int {
	return xxx_messageInfo_GetIndexStateRequest.Size(m)
2498
}
G
godchen 已提交
2499 2500
func (m *GetIndexStateRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetIndexStateRequest.DiscardUnknown(m)
2501 2502
}

G
godchen 已提交
2503
var xxx_messageInfo_GetIndexStateRequest proto.InternalMessageInfo
2504

G
godchen 已提交
2505
func (m *GetIndexStateRequest) GetBase() *commonpb.MsgBase {
2506 2507 2508 2509 2510 2511
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
2512
func (m *GetIndexStateRequest) GetDbName() string {
2513 2514 2515 2516 2517 2518
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
2519
func (m *GetIndexStateRequest) GetCollectionName() string {
2520 2521 2522 2523 2524 2525
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
2526
func (m *GetIndexStateRequest) GetFieldName() string {
2527 2528 2529 2530 2531 2532
	if m != nil {
		return m.FieldName
	}
	return ""
}

G
godchen 已提交
2533
func (m *GetIndexStateRequest) GetIndexName() string {
2534 2535 2536 2537 2538 2539
	if m != nil {
		return m.IndexName
	}
	return ""
}

G
godchen 已提交
2540
type GetIndexStateResponse struct {
2541 2542
	Status               *commonpb.Status    `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	State                commonpb.IndexState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"`
2543
	FailReason           string              `protobuf:"bytes,3,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"`
2544 2545 2546 2547 2548
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

G
godchen 已提交
2549 2550 2551 2552
func (m *GetIndexStateResponse) Reset()         { *m = GetIndexStateResponse{} }
func (m *GetIndexStateResponse) String() string { return proto.CompactTextString(m) }
func (*GetIndexStateResponse) ProtoMessage()    {}
func (*GetIndexStateResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2553
	return fileDescriptor_02345ba45cc0e303, []int{36}
2554 2555
}

G
godchen 已提交
2556 2557
func (m *GetIndexStateResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetIndexStateResponse.Unmarshal(m, b)
2558
}
G
godchen 已提交
2559 2560
func (m *GetIndexStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetIndexStateResponse.Marshal(b, m, deterministic)
2561
}
G
godchen 已提交
2562 2563
func (m *GetIndexStateResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetIndexStateResponse.Merge(m, src)
2564
}
G
godchen 已提交
2565 2566
func (m *GetIndexStateResponse) XXX_Size() int {
	return xxx_messageInfo_GetIndexStateResponse.Size(m)
2567
}
G
godchen 已提交
2568 2569
func (m *GetIndexStateResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetIndexStateResponse.DiscardUnknown(m)
2570 2571
}

G
godchen 已提交
2572
var xxx_messageInfo_GetIndexStateResponse proto.InternalMessageInfo
2573

G
godchen 已提交
2574
func (m *GetIndexStateResponse) GetStatus() *commonpb.Status {
Y
yukun 已提交
2575 2576 2577 2578 2579 2580
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
2581
func (m *GetIndexStateResponse) GetState() commonpb.IndexState {
2582 2583 2584
	if m != nil {
		return m.State
	}
T
ThreadDao 已提交
2585
	return commonpb.IndexState_IndexStateNone
2586 2587
}

2588 2589 2590 2591 2592 2593 2594
func (m *GetIndexStateResponse) GetFailReason() string {
	if m != nil {
		return m.FailReason
	}
	return ""
}

X
xige-16 已提交
2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609
type DropIndexRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	FieldName            string            `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	IndexName            string            `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *DropIndexRequest) Reset()         { *m = DropIndexRequest{} }
func (m *DropIndexRequest) String() string { return proto.CompactTextString(m) }
func (*DropIndexRequest) ProtoMessage()    {}
func (*DropIndexRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2610
	return fileDescriptor_02345ba45cc0e303, []int{37}
X
xige-16 已提交
2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665
}

func (m *DropIndexRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DropIndexRequest.Unmarshal(m, b)
}
func (m *DropIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DropIndexRequest.Marshal(b, m, deterministic)
}
func (m *DropIndexRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DropIndexRequest.Merge(m, src)
}
func (m *DropIndexRequest) XXX_Size() int {
	return xxx_messageInfo_DropIndexRequest.Size(m)
}
func (m *DropIndexRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DropIndexRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DropIndexRequest proto.InternalMessageInfo

func (m *DropIndexRequest) GetBase() *commonpb.MsgBase {
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *DropIndexRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *DropIndexRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *DropIndexRequest) GetFieldName() string {
	if m != nil {
		return m.FieldName
	}
	return ""
}

func (m *DropIndexRequest) GetIndexName() string {
	if m != nil {
		return m.IndexName
	}
	return ""
}

2666
type InsertRequest struct {
2667 2668 2669 2670 2671 2672
	Base                 *commonpb.MsgBase     `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string                `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName       string                `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	PartitionName        string                `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	FieldsData           []*schemapb.FieldData `protobuf:"bytes,5,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"`
	HashKeys             []uint32              `protobuf:"varint,6,rep,packed,name=hash_keys,json=hashKeys,proto3" json:"hash_keys,omitempty"`
2673
	NumRows              uint32                `protobuf:"varint,7,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
2674 2675 2676
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
2677 2678 2679 2680 2681 2682
}

func (m *InsertRequest) Reset()         { *m = InsertRequest{} }
func (m *InsertRequest) String() string { return proto.CompactTextString(m) }
func (*InsertRequest) ProtoMessage()    {}
func (*InsertRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2683
	return fileDescriptor_02345ba45cc0e303, []int{38}
2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703
}

func (m *InsertRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_InsertRequest.Unmarshal(m, b)
}
func (m *InsertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_InsertRequest.Marshal(b, m, deterministic)
}
func (m *InsertRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_InsertRequest.Merge(m, src)
}
func (m *InsertRequest) XXX_Size() int {
	return xxx_messageInfo_InsertRequest.Size(m)
}
func (m *InsertRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_InsertRequest.DiscardUnknown(m)
}

var xxx_messageInfo_InsertRequest proto.InternalMessageInfo

2704
func (m *InsertRequest) GetBase() *commonpb.MsgBase {
2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *InsertRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *InsertRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *InsertRequest) GetPartitionName() string {
	if m != nil {
		return m.PartitionName
	}
	return ""
}

2732
func (m *InsertRequest) GetFieldsData() []*schemapb.FieldData {
2733
	if m != nil {
2734
		return m.FieldsData
2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745
	}
	return nil
}

func (m *InsertRequest) GetHashKeys() []uint32 {
	if m != nil {
		return m.HashKeys
	}
	return nil
}

2746 2747 2748 2749 2750 2751 2752 2753
func (m *InsertRequest) GetNumRows() uint32 {
	if m != nil {
		return m.NumRows
	}
	return 0
}

type MutationResult struct {
Z
zhenshan.cao 已提交
2754
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
2755 2756 2757 2758 2759 2760 2761 2762
	IDs                  *schemapb.IDs    `protobuf:"bytes,2,opt,name=IDs,proto3" json:"IDs,omitempty"`
	SuccIndex            []uint32         `protobuf:"varint,3,rep,packed,name=succ_index,json=succIndex,proto3" json:"succ_index,omitempty"`
	ErrIndex             []uint32         `protobuf:"varint,4,rep,packed,name=err_index,json=errIndex,proto3" json:"err_index,omitempty"`
	Acknowledged         bool             `protobuf:"varint,5,opt,name=acknowledged,proto3" json:"acknowledged,omitempty"`
	InsertCnt            int64            `protobuf:"varint,6,opt,name=insert_cnt,json=insertCnt,proto3" json:"insert_cnt,omitempty"`
	DeleteCnt            int64            `protobuf:"varint,7,opt,name=delete_cnt,json=deleteCnt,proto3" json:"delete_cnt,omitempty"`
	UpsertCnt            int64            `protobuf:"varint,8,opt,name=upsert_cnt,json=upsertCnt,proto3" json:"upsert_cnt,omitempty"`
	Timestamp            uint64           `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Y
yukun 已提交
2763 2764 2765
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
2766 2767
}

2768 2769 2770 2771
func (m *MutationResult) Reset()         { *m = MutationResult{} }
func (m *MutationResult) String() string { return proto.CompactTextString(m) }
func (*MutationResult) ProtoMessage()    {}
func (*MutationResult) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2772
	return fileDescriptor_02345ba45cc0e303, []int{39}
2773 2774
}

2775 2776
func (m *MutationResult) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MutationResult.Unmarshal(m, b)
2777
}
2778 2779
func (m *MutationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MutationResult.Marshal(b, m, deterministic)
2780
}
2781 2782
func (m *MutationResult) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MutationResult.Merge(m, src)
2783
}
2784 2785
func (m *MutationResult) XXX_Size() int {
	return xxx_messageInfo_MutationResult.Size(m)
2786
}
2787 2788
func (m *MutationResult) XXX_DiscardUnknown() {
	xxx_messageInfo_MutationResult.DiscardUnknown(m)
2789 2790
}

2791
var xxx_messageInfo_MutationResult proto.InternalMessageInfo
2792

2793
func (m *MutationResult) GetStatus() *commonpb.Status {
Z
zhenshan.cao 已提交
2794 2795 2796 2797 2798 2799
	if m != nil {
		return m.Status
	}
	return nil
}

2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842
func (m *MutationResult) GetIDs() *schemapb.IDs {
	if m != nil {
		return m.IDs
	}
	return nil
}

func (m *MutationResult) GetSuccIndex() []uint32 {
	if m != nil {
		return m.SuccIndex
	}
	return nil
}

func (m *MutationResult) GetErrIndex() []uint32 {
	if m != nil {
		return m.ErrIndex
	}
	return nil
}

func (m *MutationResult) GetAcknowledged() bool {
	if m != nil {
		return m.Acknowledged
	}
	return false
}

func (m *MutationResult) GetInsertCnt() int64 {
	if m != nil {
		return m.InsertCnt
	}
	return 0
}

func (m *MutationResult) GetDeleteCnt() int64 {
	if m != nil {
		return m.DeleteCnt
	}
	return 0
}

func (m *MutationResult) GetUpsertCnt() int64 {
2843
	if m != nil {
2844
		return m.UpsertCnt
2845 2846 2847 2848
	}
	return 0
}

2849
func (m *MutationResult) GetTimestamp() uint64 {
2850
	if m != nil {
2851
		return m.Timestamp
2852 2853 2854 2855
	}
	return 0
}

G
groot 已提交
2856 2857 2858 2859 2860 2861
type DeleteRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	PartitionName        string            `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	Expr                 string            `protobuf:"bytes,5,opt,name=expr,proto3" json:"expr,omitempty"`
2862
	HashKeys             []uint32          `protobuf:"varint,6,rep,packed,name=hash_keys,json=hashKeys,proto3" json:"hash_keys,omitempty"`
G
groot 已提交
2863 2864 2865 2866 2867 2868 2869 2870 2871
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *DeleteRequest) Reset()         { *m = DeleteRequest{} }
func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteRequest) ProtoMessage()    {}
func (*DeleteRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2872
	return fileDescriptor_02345ba45cc0e303, []int{40}
G
groot 已提交
2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927
}

func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DeleteRequest.Unmarshal(m, b)
}
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DeleteRequest.Marshal(b, m, deterministic)
}
func (m *DeleteRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DeleteRequest.Merge(m, src)
}
func (m *DeleteRequest) XXX_Size() int {
	return xxx_messageInfo_DeleteRequest.Size(m)
}
func (m *DeleteRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DeleteRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo

func (m *DeleteRequest) GetBase() *commonpb.MsgBase {
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *DeleteRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *DeleteRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *DeleteRequest) GetPartitionName() string {
	if m != nil {
		return m.PartitionName
	}
	return ""
}

func (m *DeleteRequest) GetExpr() string {
	if m != nil {
		return m.Expr
	}
	return ""
}

2928 2929 2930 2931 2932 2933 2934
func (m *DeleteRequest) GetHashKeys() []uint32 {
	if m != nil {
		return m.HashKeys
	}
	return nil
}

Y
yukun 已提交
2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948
type PlaceholderValue struct {
	Tag  string          `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Type PlaceholderType `protobuf:"varint,2,opt,name=type,proto3,enum=milvus.proto.milvus.PlaceholderType" json:"type,omitempty"`
	// values is a 2d-array, every array contains a vector
	Values               [][]byte `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *PlaceholderValue) Reset()         { *m = PlaceholderValue{} }
func (m *PlaceholderValue) String() string { return proto.CompactTextString(m) }
func (*PlaceholderValue) ProtoMessage()    {}
func (*PlaceholderValue) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2949
	return fileDescriptor_02345ba45cc0e303, []int{41}
Y
yukun 已提交
2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980
}

func (m *PlaceholderValue) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_PlaceholderValue.Unmarshal(m, b)
}
func (m *PlaceholderValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_PlaceholderValue.Marshal(b, m, deterministic)
}
func (m *PlaceholderValue) XXX_Merge(src proto.Message) {
	xxx_messageInfo_PlaceholderValue.Merge(m, src)
}
func (m *PlaceholderValue) XXX_Size() int {
	return xxx_messageInfo_PlaceholderValue.Size(m)
}
func (m *PlaceholderValue) XXX_DiscardUnknown() {
	xxx_messageInfo_PlaceholderValue.DiscardUnknown(m)
}

var xxx_messageInfo_PlaceholderValue proto.InternalMessageInfo

func (m *PlaceholderValue) GetTag() string {
	if m != nil {
		return m.Tag
	}
	return ""
}

func (m *PlaceholderValue) GetType() PlaceholderType {
	if m != nil {
		return m.Type
	}
G
godchen 已提交
2981
	return PlaceholderType_None
Y
yukun 已提交
2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001
}

func (m *PlaceholderValue) GetValues() [][]byte {
	if m != nil {
		return m.Values
	}
	return nil
}

type PlaceholderGroup struct {
	Placeholders         []*PlaceholderValue `protobuf:"bytes,1,rep,name=placeholders,proto3" json:"placeholders,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *PlaceholderGroup) Reset()         { *m = PlaceholderGroup{} }
func (m *PlaceholderGroup) String() string { return proto.CompactTextString(m) }
func (*PlaceholderGroup) ProtoMessage()    {}
func (*PlaceholderGroup) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3002
	return fileDescriptor_02345ba45cc0e303, []int{42}
Y
yukun 已提交
3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029
}

func (m *PlaceholderGroup) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_PlaceholderGroup.Unmarshal(m, b)
}
func (m *PlaceholderGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_PlaceholderGroup.Marshal(b, m, deterministic)
}
func (m *PlaceholderGroup) XXX_Merge(src proto.Message) {
	xxx_messageInfo_PlaceholderGroup.Merge(m, src)
}
func (m *PlaceholderGroup) XXX_Size() int {
	return xxx_messageInfo_PlaceholderGroup.Size(m)
}
func (m *PlaceholderGroup) XXX_DiscardUnknown() {
	xxx_messageInfo_PlaceholderGroup.DiscardUnknown(m)
}

var xxx_messageInfo_PlaceholderGroup proto.InternalMessageInfo

func (m *PlaceholderGroup) GetPlaceholders() []*PlaceholderValue {
	if m != nil {
		return m.Placeholders
	}
	return nil
}

3030
type SearchRequest struct {
3031 3032 3033 3034 3035
	Base           *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName         string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	PartitionNames []string          `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
	Dsl            string            `protobuf:"bytes,5,opt,name=dsl,proto3" json:"dsl,omitempty"`
Y
yukun 已提交
3036
	// serialized `PlaceholderGroup`
3037 3038
	PlaceholderGroup     []byte                   `protobuf:"bytes,6,opt,name=placeholder_group,json=placeholderGroup,proto3" json:"placeholder_group,omitempty"`
	DslType              commonpb.DslType         `protobuf:"varint,7,opt,name=dsl_type,json=dslType,proto3,enum=milvus.proto.common.DslType" json:"dsl_type,omitempty"`
3039 3040 3041
	OutputFields         []string                 `protobuf:"bytes,8,rep,name=output_fields,json=outputFields,proto3" json:"output_fields,omitempty"`
	SearchParams         []*commonpb.KeyValuePair `protobuf:"bytes,9,rep,name=search_params,json=searchParams,proto3" json:"search_params,omitempty"`
	TravelTimestamp      uint64                   `protobuf:"varint,10,opt,name=travel_timestamp,json=travelTimestamp,proto3" json:"travel_timestamp,omitempty"`
3042
	GuaranteeTimestamp   uint64                   `protobuf:"varint,11,opt,name=guarantee_timestamp,json=guaranteeTimestamp,proto3" json:"guarantee_timestamp,omitempty"`
3043 3044 3045
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
3046 3047 3048 3049 3050 3051
}

func (m *SearchRequest) Reset()         { *m = SearchRequest{} }
func (m *SearchRequest) String() string { return proto.CompactTextString(m) }
func (*SearchRequest) ProtoMessage()    {}
func (*SearchRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3052
	return fileDescriptor_02345ba45cc0e303, []int{43}
3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072
}

func (m *SearchRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SearchRequest.Unmarshal(m, b)
}
func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SearchRequest.Marshal(b, m, deterministic)
}
func (m *SearchRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SearchRequest.Merge(m, src)
}
func (m *SearchRequest) XXX_Size() int {
	return xxx_messageInfo_SearchRequest.Size(m)
}
func (m *SearchRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_SearchRequest.DiscardUnknown(m)
}

var xxx_messageInfo_SearchRequest proto.InternalMessageInfo

3073
func (m *SearchRequest) GetBase() *commonpb.MsgBase {
3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *SearchRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *SearchRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *SearchRequest) GetPartitionNames() []string {
	if m != nil {
		return m.PartitionNames
	}
	return nil
}

func (m *SearchRequest) GetDsl() string {
	if m != nil {
		return m.Dsl
	}
	return ""
}

Y
yukun 已提交
3108
func (m *SearchRequest) GetPlaceholderGroup() []byte {
3109 3110 3111 3112 3113 3114
	if m != nil {
		return m.PlaceholderGroup
	}
	return nil
}

3115 3116 3117 3118 3119 3120 3121
func (m *SearchRequest) GetDslType() commonpb.DslType {
	if m != nil {
		return m.DslType
	}
	return commonpb.DslType_Dsl
}

3122 3123 3124 3125 3126 3127 3128
func (m *SearchRequest) GetOutputFields() []string {
	if m != nil {
		return m.OutputFields
	}
	return nil
}

3129 3130 3131 3132 3133 3134 3135
func (m *SearchRequest) GetSearchParams() []*commonpb.KeyValuePair {
	if m != nil {
		return m.SearchParams
	}
	return nil
}

3136 3137 3138 3139 3140 3141 3142
func (m *SearchRequest) GetTravelTimestamp() uint64 {
	if m != nil {
		return m.TravelTimestamp
	}
	return 0
}

3143 3144 3145 3146 3147 3148 3149
func (m *SearchRequest) GetGuaranteeTimestamp() uint64 {
	if m != nil {
		return m.GuaranteeTimestamp
	}
	return 0
}

Y
yukun 已提交
3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162
type Hits struct {
	IDs                  []int64   `protobuf:"varint,1,rep,packed,name=IDs,proto3" json:"IDs,omitempty"`
	RowData              [][]byte  `protobuf:"bytes,2,rep,name=row_data,json=rowData,proto3" json:"row_data,omitempty"`
	Scores               []float32 `protobuf:"fixed32,3,rep,packed,name=scores,proto3" json:"scores,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (m *Hits) Reset()         { *m = Hits{} }
func (m *Hits) String() string { return proto.CompactTextString(m) }
func (*Hits) ProtoMessage()    {}
func (*Hits) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3163
	return fileDescriptor_02345ba45cc0e303, []int{44}
Y
yukun 已提交
3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204
}

func (m *Hits) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Hits.Unmarshal(m, b)
}
func (m *Hits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Hits.Marshal(b, m, deterministic)
}
func (m *Hits) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Hits.Merge(m, src)
}
func (m *Hits) XXX_Size() int {
	return xxx_messageInfo_Hits.Size(m)
}
func (m *Hits) XXX_DiscardUnknown() {
	xxx_messageInfo_Hits.DiscardUnknown(m)
}

var xxx_messageInfo_Hits proto.InternalMessageInfo

func (m *Hits) GetIDs() []int64 {
	if m != nil {
		return m.IDs
	}
	return nil
}

func (m *Hits) GetRowData() [][]byte {
	if m != nil {
		return m.RowData
	}
	return nil
}

func (m *Hits) GetScores() []float32 {
	if m != nil {
		return m.Scores
	}
	return nil
}

3205
type SearchResults struct {
3206 3207
	Status               *commonpb.Status           `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Results              *schemapb.SearchResultData `protobuf:"bytes,2,opt,name=results,proto3" json:"results,omitempty"`
3208
	CollectionName       string                     `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
3209 3210 3211
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
Y
yukun 已提交
3212 3213
}

3214 3215 3216 3217
func (m *SearchResults) Reset()         { *m = SearchResults{} }
func (m *SearchResults) String() string { return proto.CompactTextString(m) }
func (*SearchResults) ProtoMessage()    {}
func (*SearchResults) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3218
	return fileDescriptor_02345ba45cc0e303, []int{45}
Y
yukun 已提交
3219 3220
}

3221 3222
func (m *SearchResults) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SearchResults.Unmarshal(m, b)
Y
yukun 已提交
3223
}
3224 3225
func (m *SearchResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SearchResults.Marshal(b, m, deterministic)
Y
yukun 已提交
3226
}
3227 3228
func (m *SearchResults) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SearchResults.Merge(m, src)
Y
yukun 已提交
3229
}
3230 3231
func (m *SearchResults) XXX_Size() int {
	return xxx_messageInfo_SearchResults.Size(m)
Y
yukun 已提交
3232
}
3233 3234
func (m *SearchResults) XXX_DiscardUnknown() {
	xxx_messageInfo_SearchResults.DiscardUnknown(m)
Y
yukun 已提交
3235 3236
}

3237
var xxx_messageInfo_SearchResults proto.InternalMessageInfo
Y
yukun 已提交
3238

3239
func (m *SearchResults) GetStatus() *commonpb.Status {
Y
yukun 已提交
3240 3241 3242 3243 3244 3245
	if m != nil {
		return m.Status
	}
	return nil
}

3246
func (m *SearchResults) GetResults() *schemapb.SearchResultData {
Y
yukun 已提交
3247
	if m != nil {
3248
		return m.Results
Y
yukun 已提交
3249 3250 3251 3252
	}
	return nil
}

3253 3254 3255 3256 3257 3258 3259
func (m *SearchResults) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

3260
type FlushRequest struct {
3261 3262
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
3263
	CollectionNames      []string          `protobuf:"bytes,3,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"`
3264 3265 3266
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
3267 3268 3269 3270 3271 3272
}

func (m *FlushRequest) Reset()         { *m = FlushRequest{} }
func (m *FlushRequest) String() string { return proto.CompactTextString(m) }
func (*FlushRequest) ProtoMessage()    {}
func (*FlushRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3273
	return fileDescriptor_02345ba45cc0e303, []int{46}
3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293
}

func (m *FlushRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FlushRequest.Unmarshal(m, b)
}
func (m *FlushRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FlushRequest.Marshal(b, m, deterministic)
}
func (m *FlushRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FlushRequest.Merge(m, src)
}
func (m *FlushRequest) XXX_Size() int {
	return xxx_messageInfo_FlushRequest.Size(m)
}
func (m *FlushRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_FlushRequest.DiscardUnknown(m)
}

var xxx_messageInfo_FlushRequest proto.InternalMessageInfo

3294
func (m *FlushRequest) GetBase() *commonpb.MsgBase {
3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *FlushRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

3308
func (m *FlushRequest) GetCollectionNames() []string {
3309
	if m != nil {
3310
		return m.CollectionNames
3311
	}
3312
	return nil
3313 3314
}

3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327
type FlushResponse struct {
	Status               *commonpb.Status               `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	DbName               string                         `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollSegIDs           map[string]*schemapb.LongArray `protobuf:"bytes,3,rep,name=coll_segIDs,json=collSegIDs,proto3" json:"coll_segIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (m *FlushResponse) Reset()         { *m = FlushResponse{} }
func (m *FlushResponse) String() string { return proto.CompactTextString(m) }
func (*FlushResponse) ProtoMessage()    {}
func (*FlushResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3328
	return fileDescriptor_02345ba45cc0e303, []int{47}
3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369
}

func (m *FlushResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FlushResponse.Unmarshal(m, b)
}
func (m *FlushResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FlushResponse.Marshal(b, m, deterministic)
}
func (m *FlushResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FlushResponse.Merge(m, src)
}
func (m *FlushResponse) XXX_Size() int {
	return xxx_messageInfo_FlushResponse.Size(m)
}
func (m *FlushResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_FlushResponse.DiscardUnknown(m)
}

var xxx_messageInfo_FlushResponse proto.InternalMessageInfo

func (m *FlushResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *FlushResponse) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *FlushResponse) GetCollSegIDs() map[string]*schemapb.LongArray {
	if m != nil {
		return m.CollSegIDs
	}
	return nil
}

X
Xiangyu Wang 已提交
3370 3371 3372 3373 3374 3375 3376
type QueryRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	Expr                 string            `protobuf:"bytes,4,opt,name=expr,proto3" json:"expr,omitempty"`
	OutputFields         []string          `protobuf:"bytes,5,rep,name=output_fields,json=outputFields,proto3" json:"output_fields,omitempty"`
	PartitionNames       []string          `protobuf:"bytes,6,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
3377 3378
	TravelTimestamp      uint64            `protobuf:"varint,7,opt,name=travel_timestamp,json=travelTimestamp,proto3" json:"travel_timestamp,omitempty"`
	GuaranteeTimestamp   uint64            `protobuf:"varint,8,opt,name=guarantee_timestamp,json=guaranteeTimestamp,proto3" json:"guarantee_timestamp,omitempty"`
X
Xiangyu Wang 已提交
3379 3380 3381 3382 3383 3384 3385 3386 3387
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *QueryRequest) Reset()         { *m = QueryRequest{} }
func (m *QueryRequest) String() string { return proto.CompactTextString(m) }
func (*QueryRequest) ProtoMessage()    {}
func (*QueryRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3388
	return fileDescriptor_02345ba45cc0e303, []int{48}
X
Xiangyu Wang 已提交
3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450
}

func (m *QueryRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_QueryRequest.Unmarshal(m, b)
}
func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_QueryRequest.Marshal(b, m, deterministic)
}
func (m *QueryRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryRequest.Merge(m, src)
}
func (m *QueryRequest) XXX_Size() int {
	return xxx_messageInfo_QueryRequest.Size(m)
}
func (m *QueryRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryRequest.DiscardUnknown(m)
}

var xxx_messageInfo_QueryRequest proto.InternalMessageInfo

func (m *QueryRequest) GetBase() *commonpb.MsgBase {
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *QueryRequest) GetDbName() string {
	if m != nil {
		return m.DbName
	}
	return ""
}

func (m *QueryRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *QueryRequest) GetExpr() string {
	if m != nil {
		return m.Expr
	}
	return ""
}

func (m *QueryRequest) GetOutputFields() []string {
	if m != nil {
		return m.OutputFields
	}
	return nil
}

func (m *QueryRequest) GetPartitionNames() []string {
	if m != nil {
		return m.PartitionNames
	}
	return nil
}

3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464
func (m *QueryRequest) GetTravelTimestamp() uint64 {
	if m != nil {
		return m.TravelTimestamp
	}
	return 0
}

func (m *QueryRequest) GetGuaranteeTimestamp() uint64 {
	if m != nil {
		return m.GuaranteeTimestamp
	}
	return 0
}

X
Xiangyu Wang 已提交
3465 3466 3467
type QueryResults struct {
	Status               *commonpb.Status      `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	FieldsData           []*schemapb.FieldData `protobuf:"bytes,2,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"`
3468
	CollectionName       string                `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
X
Xiangyu Wang 已提交
3469 3470 3471 3472 3473 3474 3475 3476 3477
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *QueryResults) Reset()         { *m = QueryResults{} }
func (m *QueryResults) String() string { return proto.CompactTextString(m) }
func (*QueryResults) ProtoMessage()    {}
func (*QueryResults) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3478
	return fileDescriptor_02345ba45cc0e303, []int{49}
X
Xiangyu Wang 已提交
3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512
}

func (m *QueryResults) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_QueryResults.Unmarshal(m, b)
}
func (m *QueryResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_QueryResults.Marshal(b, m, deterministic)
}
func (m *QueryResults) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QueryResults.Merge(m, src)
}
func (m *QueryResults) XXX_Size() int {
	return xxx_messageInfo_QueryResults.Size(m)
}
func (m *QueryResults) XXX_DiscardUnknown() {
	xxx_messageInfo_QueryResults.DiscardUnknown(m)
}

var xxx_messageInfo_QueryResults proto.InternalMessageInfo

func (m *QueryResults) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *QueryResults) GetFieldsData() []*schemapb.FieldData {
	if m != nil {
		return m.FieldsData
	}
	return nil
}

3513 3514 3515 3516 3517 3518 3519
func (m *QueryResults) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533
type VectorIDs struct {
	CollectionName       string        `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	FieldName            string        `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	IdArray              *schemapb.IDs `protobuf:"bytes,3,opt,name=id_array,json=idArray,proto3" json:"id_array,omitempty"`
	PartitionNames       []string      `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (m *VectorIDs) Reset()         { *m = VectorIDs{} }
func (m *VectorIDs) String() string { return proto.CompactTextString(m) }
func (*VectorIDs) ProtoMessage()    {}
func (*VectorIDs) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3534
	return fileDescriptor_02345ba45cc0e303, []int{50}
3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596
}

func (m *VectorIDs) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_VectorIDs.Unmarshal(m, b)
}
func (m *VectorIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_VectorIDs.Marshal(b, m, deterministic)
}
func (m *VectorIDs) XXX_Merge(src proto.Message) {
	xxx_messageInfo_VectorIDs.Merge(m, src)
}
func (m *VectorIDs) XXX_Size() int {
	return xxx_messageInfo_VectorIDs.Size(m)
}
func (m *VectorIDs) XXX_DiscardUnknown() {
	xxx_messageInfo_VectorIDs.DiscardUnknown(m)
}

var xxx_messageInfo_VectorIDs proto.InternalMessageInfo

func (m *VectorIDs) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *VectorIDs) GetFieldName() string {
	if m != nil {
		return m.FieldName
	}
	return ""
}

func (m *VectorIDs) GetIdArray() *schemapb.IDs {
	if m != nil {
		return m.IdArray
	}
	return nil
}

func (m *VectorIDs) GetPartitionNames() []string {
	if m != nil {
		return m.PartitionNames
	}
	return nil
}

type VectorsArray struct {
	// Types that are valid to be assigned to Array:
	//	*VectorsArray_IdArray
	//	*VectorsArray_DataArray
	Array                isVectorsArray_Array `protobuf_oneof:"array"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *VectorsArray) Reset()         { *m = VectorsArray{} }
func (m *VectorsArray) String() string { return proto.CompactTextString(m) }
func (*VectorsArray) ProtoMessage()    {}
func (*VectorsArray) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3597
	return fileDescriptor_02345ba45cc0e303, []int{51}
3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676
}

func (m *VectorsArray) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_VectorsArray.Unmarshal(m, b)
}
func (m *VectorsArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_VectorsArray.Marshal(b, m, deterministic)
}
func (m *VectorsArray) XXX_Merge(src proto.Message) {
	xxx_messageInfo_VectorsArray.Merge(m, src)
}
func (m *VectorsArray) XXX_Size() int {
	return xxx_messageInfo_VectorsArray.Size(m)
}
func (m *VectorsArray) XXX_DiscardUnknown() {
	xxx_messageInfo_VectorsArray.DiscardUnknown(m)
}

var xxx_messageInfo_VectorsArray proto.InternalMessageInfo

type isVectorsArray_Array interface {
	isVectorsArray_Array()
}

type VectorsArray_IdArray struct {
	IdArray *VectorIDs `protobuf:"bytes,1,opt,name=id_array,json=idArray,proto3,oneof"`
}

type VectorsArray_DataArray struct {
	DataArray *schemapb.VectorField `protobuf:"bytes,2,opt,name=data_array,json=dataArray,proto3,oneof"`
}

func (*VectorsArray_IdArray) isVectorsArray_Array() {}

func (*VectorsArray_DataArray) isVectorsArray_Array() {}

func (m *VectorsArray) GetArray() isVectorsArray_Array {
	if m != nil {
		return m.Array
	}
	return nil
}

func (m *VectorsArray) GetIdArray() *VectorIDs {
	if x, ok := m.GetArray().(*VectorsArray_IdArray); ok {
		return x.IdArray
	}
	return nil
}

func (m *VectorsArray) GetDataArray() *schemapb.VectorField {
	if x, ok := m.GetArray().(*VectorsArray_DataArray); ok {
		return x.DataArray
	}
	return nil
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*VectorsArray) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*VectorsArray_IdArray)(nil),
		(*VectorsArray_DataArray)(nil),
	}
}

type CalcDistanceRequest struct {
	Base                 *commonpb.MsgBase        `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	OpLeft               *VectorsArray            `protobuf:"bytes,2,opt,name=op_left,json=opLeft,proto3" json:"op_left,omitempty"`
	OpRight              *VectorsArray            `protobuf:"bytes,3,opt,name=op_right,json=opRight,proto3" json:"op_right,omitempty"`
	Params               []*commonpb.KeyValuePair `protobuf:"bytes,4,rep,name=params,proto3" json:"params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (m *CalcDistanceRequest) Reset()         { *m = CalcDistanceRequest{} }
func (m *CalcDistanceRequest) String() string { return proto.CompactTextString(m) }
func (*CalcDistanceRequest) ProtoMessage()    {}
func (*CalcDistanceRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3677
	return fileDescriptor_02345ba45cc0e303, []int{52}
3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742
}

func (m *CalcDistanceRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CalcDistanceRequest.Unmarshal(m, b)
}
func (m *CalcDistanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CalcDistanceRequest.Marshal(b, m, deterministic)
}
func (m *CalcDistanceRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CalcDistanceRequest.Merge(m, src)
}
func (m *CalcDistanceRequest) XXX_Size() int {
	return xxx_messageInfo_CalcDistanceRequest.Size(m)
}
func (m *CalcDistanceRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CalcDistanceRequest.DiscardUnknown(m)
}

var xxx_messageInfo_CalcDistanceRequest proto.InternalMessageInfo

func (m *CalcDistanceRequest) GetBase() *commonpb.MsgBase {
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *CalcDistanceRequest) GetOpLeft() *VectorsArray {
	if m != nil {
		return m.OpLeft
	}
	return nil
}

func (m *CalcDistanceRequest) GetOpRight() *VectorsArray {
	if m != nil {
		return m.OpRight
	}
	return nil
}

func (m *CalcDistanceRequest) GetParams() []*commonpb.KeyValuePair {
	if m != nil {
		return m.Params
	}
	return nil
}

type CalcDistanceResults struct {
	Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// num(op_left)*num(op_right) distance values, "HAMMIN" return integer distance
	//
	// Types that are valid to be assigned to Array:
	//	*CalcDistanceResults_IntDist
	//	*CalcDistanceResults_FloatDist
	Array                isCalcDistanceResults_Array `protobuf_oneof:"array"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (m *CalcDistanceResults) Reset()         { *m = CalcDistanceResults{} }
func (m *CalcDistanceResults) String() string { return proto.CompactTextString(m) }
func (*CalcDistanceResults) ProtoMessage()    {}
func (*CalcDistanceResults) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3743
	return fileDescriptor_02345ba45cc0e303, []int{53}
3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815
}

func (m *CalcDistanceResults) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CalcDistanceResults.Unmarshal(m, b)
}
func (m *CalcDistanceResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CalcDistanceResults.Marshal(b, m, deterministic)
}
func (m *CalcDistanceResults) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CalcDistanceResults.Merge(m, src)
}
func (m *CalcDistanceResults) XXX_Size() int {
	return xxx_messageInfo_CalcDistanceResults.Size(m)
}
func (m *CalcDistanceResults) XXX_DiscardUnknown() {
	xxx_messageInfo_CalcDistanceResults.DiscardUnknown(m)
}

var xxx_messageInfo_CalcDistanceResults proto.InternalMessageInfo

func (m *CalcDistanceResults) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

type isCalcDistanceResults_Array interface {
	isCalcDistanceResults_Array()
}

type CalcDistanceResults_IntDist struct {
	IntDist *schemapb.IntArray `protobuf:"bytes,2,opt,name=int_dist,json=intDist,proto3,oneof"`
}

type CalcDistanceResults_FloatDist struct {
	FloatDist *schemapb.FloatArray `protobuf:"bytes,3,opt,name=float_dist,json=floatDist,proto3,oneof"`
}

func (*CalcDistanceResults_IntDist) isCalcDistanceResults_Array() {}

func (*CalcDistanceResults_FloatDist) isCalcDistanceResults_Array() {}

func (m *CalcDistanceResults) GetArray() isCalcDistanceResults_Array {
	if m != nil {
		return m.Array
	}
	return nil
}

func (m *CalcDistanceResults) GetIntDist() *schemapb.IntArray {
	if x, ok := m.GetArray().(*CalcDistanceResults_IntDist); ok {
		return x.IntDist
	}
	return nil
}

func (m *CalcDistanceResults) GetFloatDist() *schemapb.FloatArray {
	if x, ok := m.GetArray().(*CalcDistanceResults_FloatDist); ok {
		return x.FloatDist
	}
	return nil
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*CalcDistanceResults) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*CalcDistanceResults_IntDist)(nil),
		(*CalcDistanceResults_FloatDist)(nil),
	}
}

Z
zhenshan.cao 已提交
3816 3817 3818 3819
type PersistentSegmentInfo struct {
	SegmentID            int64                 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
	CollectionID         int64                 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	PartitionID          int64                 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
3820 3821
	NumRows              int64                 `protobuf:"varint,4,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
	State                commonpb.SegmentState `protobuf:"varint,5,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"`
Z
zhenshan.cao 已提交
3822 3823 3824 3825 3826 3827 3828 3829 3830
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *PersistentSegmentInfo) Reset()         { *m = PersistentSegmentInfo{} }
func (m *PersistentSegmentInfo) String() string { return proto.CompactTextString(m) }
func (*PersistentSegmentInfo) ProtoMessage()    {}
func (*PersistentSegmentInfo) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3831
	return fileDescriptor_02345ba45cc0e303, []int{54}
Z
zhenshan.cao 已提交
3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883
}

func (m *PersistentSegmentInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_PersistentSegmentInfo.Unmarshal(m, b)
}
func (m *PersistentSegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_PersistentSegmentInfo.Marshal(b, m, deterministic)
}
func (m *PersistentSegmentInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_PersistentSegmentInfo.Merge(m, src)
}
func (m *PersistentSegmentInfo) XXX_Size() int {
	return xxx_messageInfo_PersistentSegmentInfo.Size(m)
}
func (m *PersistentSegmentInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_PersistentSegmentInfo.DiscardUnknown(m)
}

var xxx_messageInfo_PersistentSegmentInfo proto.InternalMessageInfo

func (m *PersistentSegmentInfo) GetSegmentID() int64 {
	if m != nil {
		return m.SegmentID
	}
	return 0
}

func (m *PersistentSegmentInfo) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

func (m *PersistentSegmentInfo) GetPartitionID() int64 {
	if m != nil {
		return m.PartitionID
	}
	return 0
}

func (m *PersistentSegmentInfo) GetNumRows() int64 {
	if m != nil {
		return m.NumRows
	}
	return 0
}

func (m *PersistentSegmentInfo) GetState() commonpb.SegmentState {
	if m != nil {
		return m.State
	}
T
ThreadDao 已提交
3884
	return commonpb.SegmentState_SegmentStateNone
Z
zhenshan.cao 已提交
3885 3886
}

G
godchen 已提交
3887
type GetPersistentSegmentInfoRequest struct {
Z
zhenshan.cao 已提交
3888 3889 3890 3891 3892 3893 3894 3895
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=dbName,proto3" json:"dbName,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collectionName,proto3" json:"collectionName,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

G
godchen 已提交
3896 3897 3898 3899
func (m *GetPersistentSegmentInfoRequest) Reset()         { *m = GetPersistentSegmentInfoRequest{} }
func (m *GetPersistentSegmentInfoRequest) String() string { return proto.CompactTextString(m) }
func (*GetPersistentSegmentInfoRequest) ProtoMessage()    {}
func (*GetPersistentSegmentInfoRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3900
	return fileDescriptor_02345ba45cc0e303, []int{55}
Z
zhenshan.cao 已提交
3901 3902
}

G
godchen 已提交
3903 3904
func (m *GetPersistentSegmentInfoRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPersistentSegmentInfoRequest.Unmarshal(m, b)
Z
zhenshan.cao 已提交
3905
}
G
godchen 已提交
3906 3907
func (m *GetPersistentSegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPersistentSegmentInfoRequest.Marshal(b, m, deterministic)
Z
zhenshan.cao 已提交
3908
}
G
godchen 已提交
3909 3910
func (m *GetPersistentSegmentInfoRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPersistentSegmentInfoRequest.Merge(m, src)
Z
zhenshan.cao 已提交
3911
}
G
godchen 已提交
3912 3913
func (m *GetPersistentSegmentInfoRequest) XXX_Size() int {
	return xxx_messageInfo_GetPersistentSegmentInfoRequest.Size(m)
Z
zhenshan.cao 已提交
3914
}
G
godchen 已提交
3915 3916
func (m *GetPersistentSegmentInfoRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPersistentSegmentInfoRequest.DiscardUnknown(m)
Z
zhenshan.cao 已提交
3917 3918
}

G
godchen 已提交
3919
var xxx_messageInfo_GetPersistentSegmentInfoRequest proto.InternalMessageInfo
Z
zhenshan.cao 已提交
3920

G
godchen 已提交
3921
func (m *GetPersistentSegmentInfoRequest) GetBase() *commonpb.MsgBase {
Z
zhenshan.cao 已提交
3922 3923 3924 3925 3926 3927
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
3928
func (m *GetPersistentSegmentInfoRequest) GetDbName() string {
Z
zhenshan.cao 已提交
3929 3930 3931 3932 3933 3934
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
3935
func (m *GetPersistentSegmentInfoRequest) GetCollectionName() string {
Z
zhenshan.cao 已提交
3936 3937 3938 3939 3940 3941
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
3942
type GetPersistentSegmentInfoResponse struct {
Z
zhenshan.cao 已提交
3943 3944 3945 3946 3947 3948 3949
	Status               *commonpb.Status         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Infos                []*PersistentSegmentInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

G
godchen 已提交
3950 3951 3952 3953
func (m *GetPersistentSegmentInfoResponse) Reset()         { *m = GetPersistentSegmentInfoResponse{} }
func (m *GetPersistentSegmentInfoResponse) String() string { return proto.CompactTextString(m) }
func (*GetPersistentSegmentInfoResponse) ProtoMessage()    {}
func (*GetPersistentSegmentInfoResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3954
	return fileDescriptor_02345ba45cc0e303, []int{56}
Z
zhenshan.cao 已提交
3955 3956
}

G
godchen 已提交
3957 3958
func (m *GetPersistentSegmentInfoResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPersistentSegmentInfoResponse.Unmarshal(m, b)
Z
zhenshan.cao 已提交
3959
}
G
godchen 已提交
3960 3961
func (m *GetPersistentSegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPersistentSegmentInfoResponse.Marshal(b, m, deterministic)
Z
zhenshan.cao 已提交
3962
}
G
godchen 已提交
3963 3964
func (m *GetPersistentSegmentInfoResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPersistentSegmentInfoResponse.Merge(m, src)
Z
zhenshan.cao 已提交
3965
}
G
godchen 已提交
3966 3967
func (m *GetPersistentSegmentInfoResponse) XXX_Size() int {
	return xxx_messageInfo_GetPersistentSegmentInfoResponse.Size(m)
Z
zhenshan.cao 已提交
3968
}
G
godchen 已提交
3969 3970
func (m *GetPersistentSegmentInfoResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPersistentSegmentInfoResponse.DiscardUnknown(m)
Z
zhenshan.cao 已提交
3971 3972
}

G
godchen 已提交
3973
var xxx_messageInfo_GetPersistentSegmentInfoResponse proto.InternalMessageInfo
Z
zhenshan.cao 已提交
3974

G
godchen 已提交
3975
func (m *GetPersistentSegmentInfoResponse) GetStatus() *commonpb.Status {
Z
zhenshan.cao 已提交
3976 3977 3978 3979 3980 3981
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
3982
func (m *GetPersistentSegmentInfoResponse) GetInfos() []*PersistentSegmentInfo {
Z
zhenshan.cao 已提交
3983 3984 3985 3986 3987 3988
	if m != nil {
		return m.Infos
	}
	return nil
}

Z
zhenshan.cao 已提交
3989
type QuerySegmentInfo struct {
3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001
	SegmentID            int64                 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
	CollectionID         int64                 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	PartitionID          int64                 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
	MemSize              int64                 `protobuf:"varint,4,opt,name=mem_size,json=memSize,proto3" json:"mem_size,omitempty"`
	NumRows              int64                 `protobuf:"varint,5,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
	IndexName            string                `protobuf:"bytes,6,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	IndexID              int64                 `protobuf:"varint,7,opt,name=indexID,proto3" json:"indexID,omitempty"`
	NodeID               int64                 `protobuf:"varint,8,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	State                commonpb.SegmentState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
Z
zhenshan.cao 已提交
4002 4003 4004 4005 4006 4007
}

func (m *QuerySegmentInfo) Reset()         { *m = QuerySegmentInfo{} }
func (m *QuerySegmentInfo) String() string { return proto.CompactTextString(m) }
func (*QuerySegmentInfo) ProtoMessage()    {}
func (*QuerySegmentInfo) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4008
	return fileDescriptor_02345ba45cc0e303, []int{57}
Z
zhenshan.cao 已提交
4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077
}

func (m *QuerySegmentInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_QuerySegmentInfo.Unmarshal(m, b)
}
func (m *QuerySegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_QuerySegmentInfo.Marshal(b, m, deterministic)
}
func (m *QuerySegmentInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_QuerySegmentInfo.Merge(m, src)
}
func (m *QuerySegmentInfo) XXX_Size() int {
	return xxx_messageInfo_QuerySegmentInfo.Size(m)
}
func (m *QuerySegmentInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_QuerySegmentInfo.DiscardUnknown(m)
}

var xxx_messageInfo_QuerySegmentInfo proto.InternalMessageInfo

func (m *QuerySegmentInfo) GetSegmentID() int64 {
	if m != nil {
		return m.SegmentID
	}
	return 0
}

func (m *QuerySegmentInfo) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

func (m *QuerySegmentInfo) GetPartitionID() int64 {
	if m != nil {
		return m.PartitionID
	}
	return 0
}

func (m *QuerySegmentInfo) GetMemSize() int64 {
	if m != nil {
		return m.MemSize
	}
	return 0
}

func (m *QuerySegmentInfo) GetNumRows() int64 {
	if m != nil {
		return m.NumRows
	}
	return 0
}

func (m *QuerySegmentInfo) GetIndexName() string {
	if m != nil {
		return m.IndexName
	}
	return ""
}

func (m *QuerySegmentInfo) GetIndexID() int64 {
	if m != nil {
		return m.IndexID
	}
	return 0
}

4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091
func (m *QuerySegmentInfo) GetNodeID() int64 {
	if m != nil {
		return m.NodeID
	}
	return 0
}

func (m *QuerySegmentInfo) GetState() commonpb.SegmentState {
	if m != nil {
		return m.State
	}
	return commonpb.SegmentState_SegmentStateNone
}

G
godchen 已提交
4092
type GetQuerySegmentInfoRequest struct {
Z
zhenshan.cao 已提交
4093 4094 4095 4096 4097 4098 4099 4100
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=dbName,proto3" json:"dbName,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collectionName,proto3" json:"collectionName,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

G
godchen 已提交
4101 4102 4103 4104
func (m *GetQuerySegmentInfoRequest) Reset()         { *m = GetQuerySegmentInfoRequest{} }
func (m *GetQuerySegmentInfoRequest) String() string { return proto.CompactTextString(m) }
func (*GetQuerySegmentInfoRequest) ProtoMessage()    {}
func (*GetQuerySegmentInfoRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4105
	return fileDescriptor_02345ba45cc0e303, []int{58}
Z
zhenshan.cao 已提交
4106 4107
}

G
godchen 已提交
4108 4109
func (m *GetQuerySegmentInfoRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetQuerySegmentInfoRequest.Unmarshal(m, b)
Z
zhenshan.cao 已提交
4110
}
G
godchen 已提交
4111 4112
func (m *GetQuerySegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetQuerySegmentInfoRequest.Marshal(b, m, deterministic)
Z
zhenshan.cao 已提交
4113
}
G
godchen 已提交
4114 4115
func (m *GetQuerySegmentInfoRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetQuerySegmentInfoRequest.Merge(m, src)
Z
zhenshan.cao 已提交
4116
}
G
godchen 已提交
4117 4118
func (m *GetQuerySegmentInfoRequest) XXX_Size() int {
	return xxx_messageInfo_GetQuerySegmentInfoRequest.Size(m)
Z
zhenshan.cao 已提交
4119
}
G
godchen 已提交
4120 4121
func (m *GetQuerySegmentInfoRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetQuerySegmentInfoRequest.DiscardUnknown(m)
Z
zhenshan.cao 已提交
4122 4123
}

G
godchen 已提交
4124
var xxx_messageInfo_GetQuerySegmentInfoRequest proto.InternalMessageInfo
Z
zhenshan.cao 已提交
4125

G
godchen 已提交
4126
func (m *GetQuerySegmentInfoRequest) GetBase() *commonpb.MsgBase {
Z
zhenshan.cao 已提交
4127 4128 4129 4130 4131 4132
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
4133
func (m *GetQuerySegmentInfoRequest) GetDbName() string {
Z
zhenshan.cao 已提交
4134 4135 4136 4137 4138 4139
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
4140
func (m *GetQuerySegmentInfoRequest) GetCollectionName() string {
Z
zhenshan.cao 已提交
4141 4142 4143 4144 4145 4146
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
4147
type GetQuerySegmentInfoResponse struct {
Z
zhenshan.cao 已提交
4148 4149 4150 4151 4152 4153 4154
	Status               *commonpb.Status    `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Infos                []*QuerySegmentInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

G
godchen 已提交
4155 4156 4157 4158
func (m *GetQuerySegmentInfoResponse) Reset()         { *m = GetQuerySegmentInfoResponse{} }
func (m *GetQuerySegmentInfoResponse) String() string { return proto.CompactTextString(m) }
func (*GetQuerySegmentInfoResponse) ProtoMessage()    {}
func (*GetQuerySegmentInfoResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4159
	return fileDescriptor_02345ba45cc0e303, []int{59}
Z
zhenshan.cao 已提交
4160 4161
}

G
godchen 已提交
4162 4163
func (m *GetQuerySegmentInfoResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetQuerySegmentInfoResponse.Unmarshal(m, b)
Z
zhenshan.cao 已提交
4164
}
G
godchen 已提交
4165 4166
func (m *GetQuerySegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetQuerySegmentInfoResponse.Marshal(b, m, deterministic)
Z
zhenshan.cao 已提交
4167
}
G
godchen 已提交
4168 4169
func (m *GetQuerySegmentInfoResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetQuerySegmentInfoResponse.Merge(m, src)
Z
zhenshan.cao 已提交
4170
}
G
godchen 已提交
4171 4172
func (m *GetQuerySegmentInfoResponse) XXX_Size() int {
	return xxx_messageInfo_GetQuerySegmentInfoResponse.Size(m)
Z
zhenshan.cao 已提交
4173
}
G
godchen 已提交
4174 4175
func (m *GetQuerySegmentInfoResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetQuerySegmentInfoResponse.DiscardUnknown(m)
Z
zhenshan.cao 已提交
4176 4177
}

G
godchen 已提交
4178
var xxx_messageInfo_GetQuerySegmentInfoResponse proto.InternalMessageInfo
Z
zhenshan.cao 已提交
4179

G
godchen 已提交
4180
func (m *GetQuerySegmentInfoResponse) GetStatus() *commonpb.Status {
Z
zhenshan.cao 已提交
4181 4182 4183 4184 4185 4186
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
4187
func (m *GetQuerySegmentInfoResponse) GetInfos() []*QuerySegmentInfo {
Z
zhenshan.cao 已提交
4188 4189 4190 4191 4192 4193
	if m != nil {
		return m.Infos
	}
	return nil
}

X
Xiangyu Wang 已提交
4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204
type DummyRequest struct {
	RequestType          string   `protobuf:"bytes,1,opt,name=request_type,json=requestType,proto3" json:"request_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DummyRequest) Reset()         { *m = DummyRequest{} }
func (m *DummyRequest) String() string { return proto.CompactTextString(m) }
func (*DummyRequest) ProtoMessage()    {}
func (*DummyRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4205
	return fileDescriptor_02345ba45cc0e303, []int{60}
X
Xiangyu Wang 已提交
4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243
}

func (m *DummyRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DummyRequest.Unmarshal(m, b)
}
func (m *DummyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DummyRequest.Marshal(b, m, deterministic)
}
func (m *DummyRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DummyRequest.Merge(m, src)
}
func (m *DummyRequest) XXX_Size() int {
	return xxx_messageInfo_DummyRequest.Size(m)
}
func (m *DummyRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_DummyRequest.DiscardUnknown(m)
}

var xxx_messageInfo_DummyRequest proto.InternalMessageInfo

func (m *DummyRequest) GetRequestType() string {
	if m != nil {
		return m.RequestType
	}
	return ""
}

type DummyResponse struct {
	Response             string   `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DummyResponse) Reset()         { *m = DummyResponse{} }
func (m *DummyResponse) String() string { return proto.CompactTextString(m) }
func (*DummyResponse) ProtoMessage()    {}
func (*DummyResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4244
	return fileDescriptor_02345ba45cc0e303, []int{61}
X
Xiangyu Wang 已提交
4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271
}

func (m *DummyResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DummyResponse.Unmarshal(m, b)
}
func (m *DummyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DummyResponse.Marshal(b, m, deterministic)
}
func (m *DummyResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DummyResponse.Merge(m, src)
}
func (m *DummyResponse) XXX_Size() int {
	return xxx_messageInfo_DummyResponse.Size(m)
}
func (m *DummyResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_DummyResponse.DiscardUnknown(m)
}

var xxx_messageInfo_DummyResponse proto.InternalMessageInfo

func (m *DummyResponse) GetResponse() string {
	if m != nil {
		return m.Response
	}
	return ""
}

G
godchen 已提交
4272 4273 4274 4275 4276 4277 4278 4279 4280 4281
type RegisterLinkRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RegisterLinkRequest) Reset()         { *m = RegisterLinkRequest{} }
func (m *RegisterLinkRequest) String() string { return proto.CompactTextString(m) }
func (*RegisterLinkRequest) ProtoMessage()    {}
func (*RegisterLinkRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4282
	return fileDescriptor_02345ba45cc0e303, []int{62}
G
godchen 已提交
4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302
}

func (m *RegisterLinkRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RegisterLinkRequest.Unmarshal(m, b)
}
func (m *RegisterLinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RegisterLinkRequest.Marshal(b, m, deterministic)
}
func (m *RegisterLinkRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RegisterLinkRequest.Merge(m, src)
}
func (m *RegisterLinkRequest) XXX_Size() int {
	return xxx_messageInfo_RegisterLinkRequest.Size(m)
}
func (m *RegisterLinkRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_RegisterLinkRequest.DiscardUnknown(m)
}

var xxx_messageInfo_RegisterLinkRequest proto.InternalMessageInfo

D
dragondriver 已提交
4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314
type RegisterLinkResponse struct {
	Address              *commonpb.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Status               *commonpb.Status  `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *RegisterLinkResponse) Reset()         { *m = RegisterLinkResponse{} }
func (m *RegisterLinkResponse) String() string { return proto.CompactTextString(m) }
func (*RegisterLinkResponse) ProtoMessage()    {}
func (*RegisterLinkResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4315
	return fileDescriptor_02345ba45cc0e303, []int{63}
D
dragondriver 已提交
4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349
}

func (m *RegisterLinkResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RegisterLinkResponse.Unmarshal(m, b)
}
func (m *RegisterLinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RegisterLinkResponse.Marshal(b, m, deterministic)
}
func (m *RegisterLinkResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RegisterLinkResponse.Merge(m, src)
}
func (m *RegisterLinkResponse) XXX_Size() int {
	return xxx_messageInfo_RegisterLinkResponse.Size(m)
}
func (m *RegisterLinkResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_RegisterLinkResponse.DiscardUnknown(m)
}

var xxx_messageInfo_RegisterLinkResponse proto.InternalMessageInfo

func (m *RegisterLinkResponse) GetAddress() *commonpb.Address {
	if m != nil {
		return m.Address
	}
	return nil
}

func (m *RegisterLinkResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361
type GetMetricsRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Request              string            `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *GetMetricsRequest) Reset()         { *m = GetMetricsRequest{} }
func (m *GetMetricsRequest) String() string { return proto.CompactTextString(m) }
func (*GetMetricsRequest) ProtoMessage()    {}
func (*GetMetricsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4362
	return fileDescriptor_02345ba45cc0e303, []int{64}
4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409
}

func (m *GetMetricsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetMetricsRequest.Unmarshal(m, b)
}
func (m *GetMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetMetricsRequest.Marshal(b, m, deterministic)
}
func (m *GetMetricsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetMetricsRequest.Merge(m, src)
}
func (m *GetMetricsRequest) XXX_Size() int {
	return xxx_messageInfo_GetMetricsRequest.Size(m)
}
func (m *GetMetricsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetMetricsRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetMetricsRequest proto.InternalMessageInfo

func (m *GetMetricsRequest) GetBase() *commonpb.MsgBase {
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *GetMetricsRequest) GetRequest() string {
	if m != nil {
		return m.Request
	}
	return ""
}

type GetMetricsResponse struct {
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Response             string           `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
	ComponentName        string           `protobuf:"bytes,3,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *GetMetricsResponse) Reset()         { *m = GetMetricsResponse{} }
func (m *GetMetricsResponse) String() string { return proto.CompactTextString(m) }
func (*GetMetricsResponse) ProtoMessage()    {}
func (*GetMetricsResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4410
	return fileDescriptor_02345ba45cc0e303, []int{65}
4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451
}

func (m *GetMetricsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetMetricsResponse.Unmarshal(m, b)
}
func (m *GetMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetMetricsResponse.Marshal(b, m, deterministic)
}
func (m *GetMetricsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetMetricsResponse.Merge(m, src)
}
func (m *GetMetricsResponse) XXX_Size() int {
	return xxx_messageInfo_GetMetricsResponse.Size(m)
}
func (m *GetMetricsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetMetricsResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetMetricsResponse proto.InternalMessageInfo

func (m *GetMetricsResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *GetMetricsResponse) GetResponse() string {
	if m != nil {
		return m.Response
	}
	return ""
}

func (m *GetMetricsResponse) GetComponentName() string {
	if m != nil {
		return m.ComponentName
	}
	return ""
}

B
bigsheeper 已提交
4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516
//
// Do load balancing operation from src_nodeID to dst_nodeID.
type LoadBalanceRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	SrcNodeID            int64             `protobuf:"varint,2,opt,name=src_nodeID,json=srcNodeID,proto3" json:"src_nodeID,omitempty"`
	DstNodeIDs           []int64           `protobuf:"varint,3,rep,packed,name=dst_nodeIDs,json=dstNodeIDs,proto3" json:"dst_nodeIDs,omitempty"`
	SealedSegmentIDs     []int64           `protobuf:"varint,4,rep,packed,name=sealed_segmentIDs,json=sealedSegmentIDs,proto3" json:"sealed_segmentIDs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *LoadBalanceRequest) Reset()         { *m = LoadBalanceRequest{} }
func (m *LoadBalanceRequest) String() string { return proto.CompactTextString(m) }
func (*LoadBalanceRequest) ProtoMessage()    {}
func (*LoadBalanceRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{66}
}

func (m *LoadBalanceRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LoadBalanceRequest.Unmarshal(m, b)
}
func (m *LoadBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LoadBalanceRequest.Marshal(b, m, deterministic)
}
func (m *LoadBalanceRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LoadBalanceRequest.Merge(m, src)
}
func (m *LoadBalanceRequest) XXX_Size() int {
	return xxx_messageInfo_LoadBalanceRequest.Size(m)
}
func (m *LoadBalanceRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_LoadBalanceRequest.DiscardUnknown(m)
}

var xxx_messageInfo_LoadBalanceRequest proto.InternalMessageInfo

func (m *LoadBalanceRequest) GetBase() *commonpb.MsgBase {
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *LoadBalanceRequest) GetSrcNodeID() int64 {
	if m != nil {
		return m.SrcNodeID
	}
	return 0
}

func (m *LoadBalanceRequest) GetDstNodeIDs() []int64 {
	if m != nil {
		return m.DstNodeIDs
	}
	return nil
}

func (m *LoadBalanceRequest) GetSealedSegmentIDs() []int64 {
	if m != nil {
		return m.SealedSegmentIDs
	}
	return nil
}

4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861
type ManualCompactionRequest struct {
	CollectionID         int64    `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	Timetravel           uint64   `protobuf:"varint,2,opt,name=timetravel,proto3" json:"timetravel,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ManualCompactionRequest) Reset()         { *m = ManualCompactionRequest{} }
func (m *ManualCompactionRequest) String() string { return proto.CompactTextString(m) }
func (*ManualCompactionRequest) ProtoMessage()    {}
func (*ManualCompactionRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{67}
}

func (m *ManualCompactionRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ManualCompactionRequest.Unmarshal(m, b)
}
func (m *ManualCompactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ManualCompactionRequest.Marshal(b, m, deterministic)
}
func (m *ManualCompactionRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ManualCompactionRequest.Merge(m, src)
}
func (m *ManualCompactionRequest) XXX_Size() int {
	return xxx_messageInfo_ManualCompactionRequest.Size(m)
}
func (m *ManualCompactionRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ManualCompactionRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ManualCompactionRequest proto.InternalMessageInfo

func (m *ManualCompactionRequest) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

func (m *ManualCompactionRequest) GetTimetravel() uint64 {
	if m != nil {
		return m.Timetravel
	}
	return 0
}

type ManualCompactionResponse struct {
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	CompactionID         int64            `protobuf:"varint,2,opt,name=compactionID,proto3" json:"compactionID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *ManualCompactionResponse) Reset()         { *m = ManualCompactionResponse{} }
func (m *ManualCompactionResponse) String() string { return proto.CompactTextString(m) }
func (*ManualCompactionResponse) ProtoMessage()    {}
func (*ManualCompactionResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{68}
}

func (m *ManualCompactionResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ManualCompactionResponse.Unmarshal(m, b)
}
func (m *ManualCompactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ManualCompactionResponse.Marshal(b, m, deterministic)
}
func (m *ManualCompactionResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ManualCompactionResponse.Merge(m, src)
}
func (m *ManualCompactionResponse) XXX_Size() int {
	return xxx_messageInfo_ManualCompactionResponse.Size(m)
}
func (m *ManualCompactionResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ManualCompactionResponse.DiscardUnknown(m)
}

var xxx_messageInfo_ManualCompactionResponse proto.InternalMessageInfo

func (m *ManualCompactionResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *ManualCompactionResponse) GetCompactionID() int64 {
	if m != nil {
		return m.CompactionID
	}
	return 0
}

type GetCompactionStateRequest struct {
	CompactionID         int64    `protobuf:"varint,1,opt,name=compactionID,proto3" json:"compactionID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetCompactionStateRequest) Reset()         { *m = GetCompactionStateRequest{} }
func (m *GetCompactionStateRequest) String() string { return proto.CompactTextString(m) }
func (*GetCompactionStateRequest) ProtoMessage()    {}
func (*GetCompactionStateRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{69}
}

func (m *GetCompactionStateRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetCompactionStateRequest.Unmarshal(m, b)
}
func (m *GetCompactionStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetCompactionStateRequest.Marshal(b, m, deterministic)
}
func (m *GetCompactionStateRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetCompactionStateRequest.Merge(m, src)
}
func (m *GetCompactionStateRequest) XXX_Size() int {
	return xxx_messageInfo_GetCompactionStateRequest.Size(m)
}
func (m *GetCompactionStateRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetCompactionStateRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetCompactionStateRequest proto.InternalMessageInfo

func (m *GetCompactionStateRequest) GetCompactionID() int64 {
	if m != nil {
		return m.CompactionID
	}
	return 0
}

type GetCompactionStateResponse struct {
	Status               *commonpb.Status         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	State                commonpb.CompactionState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.CompactionState" json:"state,omitempty"`
	ExecutingPlanNo      int64                    `protobuf:"varint,3,opt,name=executingPlanNo,proto3" json:"executingPlanNo,omitempty"`
	TimeoutPlanNo        int64                    `protobuf:"varint,4,opt,name=timeoutPlanNo,proto3" json:"timeoutPlanNo,omitempty"`
	CompletedPlanNo      int64                    `protobuf:"varint,5,opt,name=completedPlanNo,proto3" json:"completedPlanNo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (m *GetCompactionStateResponse) Reset()         { *m = GetCompactionStateResponse{} }
func (m *GetCompactionStateResponse) String() string { return proto.CompactTextString(m) }
func (*GetCompactionStateResponse) ProtoMessage()    {}
func (*GetCompactionStateResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{70}
}

func (m *GetCompactionStateResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetCompactionStateResponse.Unmarshal(m, b)
}
func (m *GetCompactionStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetCompactionStateResponse.Marshal(b, m, deterministic)
}
func (m *GetCompactionStateResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetCompactionStateResponse.Merge(m, src)
}
func (m *GetCompactionStateResponse) XXX_Size() int {
	return xxx_messageInfo_GetCompactionStateResponse.Size(m)
}
func (m *GetCompactionStateResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetCompactionStateResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetCompactionStateResponse proto.InternalMessageInfo

func (m *GetCompactionStateResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *GetCompactionStateResponse) GetState() commonpb.CompactionState {
	if m != nil {
		return m.State
	}
	return commonpb.CompactionState_UndefiedState
}

func (m *GetCompactionStateResponse) GetExecutingPlanNo() int64 {
	if m != nil {
		return m.ExecutingPlanNo
	}
	return 0
}

func (m *GetCompactionStateResponse) GetTimeoutPlanNo() int64 {
	if m != nil {
		return m.TimeoutPlanNo
	}
	return 0
}

func (m *GetCompactionStateResponse) GetCompletedPlanNo() int64 {
	if m != nil {
		return m.CompletedPlanNo
	}
	return 0
}

type GetCompactionPlansRequest struct {
	CompactionID         int64    `protobuf:"varint,1,opt,name=compactionID,proto3" json:"compactionID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetCompactionPlansRequest) Reset()         { *m = GetCompactionPlansRequest{} }
func (m *GetCompactionPlansRequest) String() string { return proto.CompactTextString(m) }
func (*GetCompactionPlansRequest) ProtoMessage()    {}
func (*GetCompactionPlansRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{71}
}

func (m *GetCompactionPlansRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetCompactionPlansRequest.Unmarshal(m, b)
}
func (m *GetCompactionPlansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetCompactionPlansRequest.Marshal(b, m, deterministic)
}
func (m *GetCompactionPlansRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetCompactionPlansRequest.Merge(m, src)
}
func (m *GetCompactionPlansRequest) XXX_Size() int {
	return xxx_messageInfo_GetCompactionPlansRequest.Size(m)
}
func (m *GetCompactionPlansRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetCompactionPlansRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetCompactionPlansRequest proto.InternalMessageInfo

func (m *GetCompactionPlansRequest) GetCompactionID() int64 {
	if m != nil {
		return m.CompactionID
	}
	return 0
}

type GetCompactionPlansResponse struct {
	Status               *commonpb.Status         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	State                commonpb.CompactionState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.CompactionState" json:"state,omitempty"`
	MergeInfos           []*CompactionMergeInfo   `protobuf:"bytes,3,rep,name=mergeInfos,proto3" json:"mergeInfos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (m *GetCompactionPlansResponse) Reset()         { *m = GetCompactionPlansResponse{} }
func (m *GetCompactionPlansResponse) String() string { return proto.CompactTextString(m) }
func (*GetCompactionPlansResponse) ProtoMessage()    {}
func (*GetCompactionPlansResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{72}
}

func (m *GetCompactionPlansResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetCompactionPlansResponse.Unmarshal(m, b)
}
func (m *GetCompactionPlansResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetCompactionPlansResponse.Marshal(b, m, deterministic)
}
func (m *GetCompactionPlansResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetCompactionPlansResponse.Merge(m, src)
}
func (m *GetCompactionPlansResponse) XXX_Size() int {
	return xxx_messageInfo_GetCompactionPlansResponse.Size(m)
}
func (m *GetCompactionPlansResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetCompactionPlansResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetCompactionPlansResponse proto.InternalMessageInfo

func (m *GetCompactionPlansResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *GetCompactionPlansResponse) GetState() commonpb.CompactionState {
	if m != nil {
		return m.State
	}
	return commonpb.CompactionState_UndefiedState
}

func (m *GetCompactionPlansResponse) GetMergeInfos() []*CompactionMergeInfo {
	if m != nil {
		return m.MergeInfos
	}
	return nil
}

type CompactionMergeInfo struct {
	Sources              []int64  `protobuf:"varint,1,rep,packed,name=sources,proto3" json:"sources,omitempty"`
	Target               int64    `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CompactionMergeInfo) Reset()         { *m = CompactionMergeInfo{} }
func (m *CompactionMergeInfo) String() string { return proto.CompactTextString(m) }
func (*CompactionMergeInfo) ProtoMessage()    {}
func (*CompactionMergeInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{73}
}

func (m *CompactionMergeInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CompactionMergeInfo.Unmarshal(m, b)
}
func (m *CompactionMergeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CompactionMergeInfo.Marshal(b, m, deterministic)
}
func (m *CompactionMergeInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CompactionMergeInfo.Merge(m, src)
}
func (m *CompactionMergeInfo) XXX_Size() int {
	return xxx_messageInfo_CompactionMergeInfo.Size(m)
}
func (m *CompactionMergeInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_CompactionMergeInfo.DiscardUnknown(m)
}

var xxx_messageInfo_CompactionMergeInfo proto.InternalMessageInfo

func (m *CompactionMergeInfo) GetSources() []int64 {
	if m != nil {
		return m.Sources
	}
	return nil
}

func (m *CompactionMergeInfo) GetTarget() int64 {
	if m != nil {
		return m.Target
	}
	return 0
}

B
Bingyi Sun 已提交
4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947
type GetFlushStateRequest struct {
	SegmentIDs           []int64  `protobuf:"varint,1,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetFlushStateRequest) Reset()         { *m = GetFlushStateRequest{} }
func (m *GetFlushStateRequest) String() string { return proto.CompactTextString(m) }
func (*GetFlushStateRequest) ProtoMessage()    {}
func (*GetFlushStateRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{74}
}

func (m *GetFlushStateRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetFlushStateRequest.Unmarshal(m, b)
}
func (m *GetFlushStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetFlushStateRequest.Marshal(b, m, deterministic)
}
func (m *GetFlushStateRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetFlushStateRequest.Merge(m, src)
}
func (m *GetFlushStateRequest) XXX_Size() int {
	return xxx_messageInfo_GetFlushStateRequest.Size(m)
}
func (m *GetFlushStateRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetFlushStateRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetFlushStateRequest proto.InternalMessageInfo

func (m *GetFlushStateRequest) GetSegmentIDs() []int64 {
	if m != nil {
		return m.SegmentIDs
	}
	return nil
}

type GetFlushStateResponse struct {
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Flushed              bool             `protobuf:"varint,2,opt,name=flushed,proto3" json:"flushed,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *GetFlushStateResponse) Reset()         { *m = GetFlushStateResponse{} }
func (m *GetFlushStateResponse) String() string { return proto.CompactTextString(m) }
func (*GetFlushStateResponse) ProtoMessage()    {}
func (*GetFlushStateResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{75}
}

func (m *GetFlushStateResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetFlushStateResponse.Unmarshal(m, b)
}
func (m *GetFlushStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetFlushStateResponse.Marshal(b, m, deterministic)
}
func (m *GetFlushStateResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetFlushStateResponse.Merge(m, src)
}
func (m *GetFlushStateResponse) XXX_Size() int {
	return xxx_messageInfo_GetFlushStateResponse.Size(m)
}
func (m *GetFlushStateResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetFlushStateResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetFlushStateResponse proto.InternalMessageInfo

func (m *GetFlushStateResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *GetFlushStateResponse) GetFlushed() bool {
	if m != nil {
		return m.Flushed
	}
	return false
}

G
groot 已提交
4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105
type ImportRequest struct {
	CollectionName       string                   `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	PartitionName        string                   `protobuf:"bytes,2,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	RowBased             bool                     `protobuf:"varint,3,opt,name=row_based,json=rowBased,proto3" json:"row_based,omitempty"`
	Files                []string                 `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`
	Options              []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=options,proto3" json:"options,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (m *ImportRequest) Reset()         { *m = ImportRequest{} }
func (m *ImportRequest) String() string { return proto.CompactTextString(m) }
func (*ImportRequest) ProtoMessage()    {}
func (*ImportRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{76}
}

func (m *ImportRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ImportRequest.Unmarshal(m, b)
}
func (m *ImportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ImportRequest.Marshal(b, m, deterministic)
}
func (m *ImportRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ImportRequest.Merge(m, src)
}
func (m *ImportRequest) XXX_Size() int {
	return xxx_messageInfo_ImportRequest.Size(m)
}
func (m *ImportRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ImportRequest.DiscardUnknown(m)
}

var xxx_messageInfo_ImportRequest proto.InternalMessageInfo

func (m *ImportRequest) GetCollectionName() string {
	if m != nil {
		return m.CollectionName
	}
	return ""
}

func (m *ImportRequest) GetPartitionName() string {
	if m != nil {
		return m.PartitionName
	}
	return ""
}

func (m *ImportRequest) GetRowBased() bool {
	if m != nil {
		return m.RowBased
	}
	return false
}

func (m *ImportRequest) GetFiles() []string {
	if m != nil {
		return m.Files
	}
	return nil
}

func (m *ImportRequest) GetOptions() []*commonpb.KeyValuePair {
	if m != nil {
		return m.Options
	}
	return nil
}

type ImportResponse struct {
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Tasks                []int64          `protobuf:"varint,2,rep,packed,name=tasks,proto3" json:"tasks,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *ImportResponse) Reset()         { *m = ImportResponse{} }
func (m *ImportResponse) String() string { return proto.CompactTextString(m) }
func (*ImportResponse) ProtoMessage()    {}
func (*ImportResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{77}
}

func (m *ImportResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ImportResponse.Unmarshal(m, b)
}
func (m *ImportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ImportResponse.Marshal(b, m, deterministic)
}
func (m *ImportResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ImportResponse.Merge(m, src)
}
func (m *ImportResponse) XXX_Size() int {
	return xxx_messageInfo_ImportResponse.Size(m)
}
func (m *ImportResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ImportResponse.DiscardUnknown(m)
}

var xxx_messageInfo_ImportResponse proto.InternalMessageInfo

func (m *ImportResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *ImportResponse) GetTasks() []int64 {
	if m != nil {
		return m.Tasks
	}
	return nil
}

type GetImportStateRequest struct {
	Task                 int64    `protobuf:"varint,1,opt,name=task,proto3" json:"task,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *GetImportStateRequest) Reset()         { *m = GetImportStateRequest{} }
func (m *GetImportStateRequest) String() string { return proto.CompactTextString(m) }
func (*GetImportStateRequest) ProtoMessage()    {}
func (*GetImportStateRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{78}
}

func (m *GetImportStateRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetImportStateRequest.Unmarshal(m, b)
}
func (m *GetImportStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetImportStateRequest.Marshal(b, m, deterministic)
}
func (m *GetImportStateRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetImportStateRequest.Merge(m, src)
}
func (m *GetImportStateRequest) XXX_Size() int {
	return xxx_messageInfo_GetImportStateRequest.Size(m)
}
func (m *GetImportStateRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetImportStateRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetImportStateRequest proto.InternalMessageInfo

func (m *GetImportStateRequest) GetTask() int64 {
	if m != nil {
		return m.Task
	}
	return 0
}

type GetImportStateResponse struct {
G
groot 已提交
5106 5107 5108 5109 5110 5111 5112 5113
	Status               *commonpb.Status         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	State                commonpb.ImportState     `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.ImportState" json:"state,omitempty"`
	RowCount             int64                    `protobuf:"varint,3,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
	IdList               []int64                  `protobuf:"varint,4,rep,packed,name=id_list,json=idList,proto3" json:"id_list,omitempty"`
	Infos                []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=infos,proto3" json:"infos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
G
groot 已提交
5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161
}

func (m *GetImportStateResponse) Reset()         { *m = GetImportStateResponse{} }
func (m *GetImportStateResponse) String() string { return proto.CompactTextString(m) }
func (*GetImportStateResponse) ProtoMessage()    {}
func (*GetImportStateResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{79}
}

func (m *GetImportStateResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetImportStateResponse.Unmarshal(m, b)
}
func (m *GetImportStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetImportStateResponse.Marshal(b, m, deterministic)
}
func (m *GetImportStateResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetImportStateResponse.Merge(m, src)
}
func (m *GetImportStateResponse) XXX_Size() int {
	return xxx_messageInfo_GetImportStateResponse.Size(m)
}
func (m *GetImportStateResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetImportStateResponse.DiscardUnknown(m)
}

var xxx_messageInfo_GetImportStateResponse proto.InternalMessageInfo

func (m *GetImportStateResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *GetImportStateResponse) GetState() commonpb.ImportState {
	if m != nil {
		return m.State
	}
	return commonpb.ImportState_ImportPending
}

func (m *GetImportStateResponse) GetRowCount() int64 {
	if m != nil {
		return m.RowCount
	}
	return 0
}

G
groot 已提交
5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175
func (m *GetImportStateResponse) GetIdList() []int64 {
	if m != nil {
		return m.IdList
	}
	return nil
}

func (m *GetImportStateResponse) GetInfos() []*commonpb.KeyValuePair {
	if m != nil {
		return m.Infos
	}
	return nil
}

5176
func init() {
5177
	proto.RegisterEnum("milvus.proto.milvus.ShowType", ShowType_name, ShowType_value)
Y
yukun 已提交
5178
	proto.RegisterEnum("milvus.proto.milvus.PlaceholderType", PlaceholderType_name, PlaceholderType_value)
Y
Yusup 已提交
5179 5180 5181
	proto.RegisterType((*CreateAliasRequest)(nil), "milvus.proto.milvus.CreateAliasRequest")
	proto.RegisterType((*DropAliasRequest)(nil), "milvus.proto.milvus.DropAliasRequest")
	proto.RegisterType((*AlterAliasRequest)(nil), "milvus.proto.milvus.AlterAliasRequest")
5182 5183 5184
	proto.RegisterType((*CreateCollectionRequest)(nil), "milvus.proto.milvus.CreateCollectionRequest")
	proto.RegisterType((*DropCollectionRequest)(nil), "milvus.proto.milvus.DropCollectionRequest")
	proto.RegisterType((*HasCollectionRequest)(nil), "milvus.proto.milvus.HasCollectionRequest")
Y
yukun 已提交
5185
	proto.RegisterType((*BoolResponse)(nil), "milvus.proto.milvus.BoolResponse")
Z
zhenshan.cao 已提交
5186
	proto.RegisterType((*StringResponse)(nil), "milvus.proto.milvus.StringResponse")
5187 5188 5189 5190
	proto.RegisterType((*DescribeCollectionRequest)(nil), "milvus.proto.milvus.DescribeCollectionRequest")
	proto.RegisterType((*DescribeCollectionResponse)(nil), "milvus.proto.milvus.DescribeCollectionResponse")
	proto.RegisterType((*LoadCollectionRequest)(nil), "milvus.proto.milvus.LoadCollectionRequest")
	proto.RegisterType((*ReleaseCollectionRequest)(nil), "milvus.proto.milvus.ReleaseCollectionRequest")
G
godchen 已提交
5191 5192 5193 5194
	proto.RegisterType((*GetCollectionStatisticsRequest)(nil), "milvus.proto.milvus.GetCollectionStatisticsRequest")
	proto.RegisterType((*GetCollectionStatisticsResponse)(nil), "milvus.proto.milvus.GetCollectionStatisticsResponse")
	proto.RegisterType((*ShowCollectionsRequest)(nil), "milvus.proto.milvus.ShowCollectionsRequest")
	proto.RegisterType((*ShowCollectionsResponse)(nil), "milvus.proto.milvus.ShowCollectionsResponse")
5195 5196 5197
	proto.RegisterType((*CreatePartitionRequest)(nil), "milvus.proto.milvus.CreatePartitionRequest")
	proto.RegisterType((*DropPartitionRequest)(nil), "milvus.proto.milvus.DropPartitionRequest")
	proto.RegisterType((*HasPartitionRequest)(nil), "milvus.proto.milvus.HasPartitionRequest")
G
godchen 已提交
5198 5199 5200 5201 5202 5203
	proto.RegisterType((*LoadPartitionsRequest)(nil), "milvus.proto.milvus.LoadPartitionsRequest")
	proto.RegisterType((*ReleasePartitionsRequest)(nil), "milvus.proto.milvus.ReleasePartitionsRequest")
	proto.RegisterType((*GetPartitionStatisticsRequest)(nil), "milvus.proto.milvus.GetPartitionStatisticsRequest")
	proto.RegisterType((*GetPartitionStatisticsResponse)(nil), "milvus.proto.milvus.GetPartitionStatisticsResponse")
	proto.RegisterType((*ShowPartitionsRequest)(nil), "milvus.proto.milvus.ShowPartitionsRequest")
	proto.RegisterType((*ShowPartitionsResponse)(nil), "milvus.proto.milvus.ShowPartitionsResponse")
5204 5205
	proto.RegisterType((*DescribeSegmentRequest)(nil), "milvus.proto.milvus.DescribeSegmentRequest")
	proto.RegisterType((*DescribeSegmentResponse)(nil), "milvus.proto.milvus.DescribeSegmentResponse")
G
godchen 已提交
5206 5207
	proto.RegisterType((*ShowSegmentsRequest)(nil), "milvus.proto.milvus.ShowSegmentsRequest")
	proto.RegisterType((*ShowSegmentsResponse)(nil), "milvus.proto.milvus.ShowSegmentsResponse")
5208 5209 5210 5211
	proto.RegisterType((*CreateIndexRequest)(nil), "milvus.proto.milvus.CreateIndexRequest")
	proto.RegisterType((*DescribeIndexRequest)(nil), "milvus.proto.milvus.DescribeIndexRequest")
	proto.RegisterType((*IndexDescription)(nil), "milvus.proto.milvus.IndexDescription")
	proto.RegisterType((*DescribeIndexResponse)(nil), "milvus.proto.milvus.DescribeIndexResponse")
5212 5213
	proto.RegisterType((*GetIndexBuildProgressRequest)(nil), "milvus.proto.milvus.GetIndexBuildProgressRequest")
	proto.RegisterType((*GetIndexBuildProgressResponse)(nil), "milvus.proto.milvus.GetIndexBuildProgressResponse")
G
godchen 已提交
5214 5215
	proto.RegisterType((*GetIndexStateRequest)(nil), "milvus.proto.milvus.GetIndexStateRequest")
	proto.RegisterType((*GetIndexStateResponse)(nil), "milvus.proto.milvus.GetIndexStateResponse")
X
xige-16 已提交
5216
	proto.RegisterType((*DropIndexRequest)(nil), "milvus.proto.milvus.DropIndexRequest")
5217
	proto.RegisterType((*InsertRequest)(nil), "milvus.proto.milvus.InsertRequest")
5218
	proto.RegisterType((*MutationResult)(nil), "milvus.proto.milvus.MutationResult")
G
groot 已提交
5219
	proto.RegisterType((*DeleteRequest)(nil), "milvus.proto.milvus.DeleteRequest")
Y
yukun 已提交
5220 5221
	proto.RegisterType((*PlaceholderValue)(nil), "milvus.proto.milvus.PlaceholderValue")
	proto.RegisterType((*PlaceholderGroup)(nil), "milvus.proto.milvus.PlaceholderGroup")
5222
	proto.RegisterType((*SearchRequest)(nil), "milvus.proto.milvus.SearchRequest")
Y
yukun 已提交
5223
	proto.RegisterType((*Hits)(nil), "milvus.proto.milvus.Hits")
5224
	proto.RegisterType((*SearchResults)(nil), "milvus.proto.milvus.SearchResults")
5225
	proto.RegisterType((*FlushRequest)(nil), "milvus.proto.milvus.FlushRequest")
5226 5227
	proto.RegisterType((*FlushResponse)(nil), "milvus.proto.milvus.FlushResponse")
	proto.RegisterMapType((map[string]*schemapb.LongArray)(nil), "milvus.proto.milvus.FlushResponse.CollSegIDsEntry")
X
Xiangyu Wang 已提交
5228 5229
	proto.RegisterType((*QueryRequest)(nil), "milvus.proto.milvus.QueryRequest")
	proto.RegisterType((*QueryResults)(nil), "milvus.proto.milvus.QueryResults")
5230 5231 5232 5233
	proto.RegisterType((*VectorIDs)(nil), "milvus.proto.milvus.VectorIDs")
	proto.RegisterType((*VectorsArray)(nil), "milvus.proto.milvus.VectorsArray")
	proto.RegisterType((*CalcDistanceRequest)(nil), "milvus.proto.milvus.CalcDistanceRequest")
	proto.RegisterType((*CalcDistanceResults)(nil), "milvus.proto.milvus.CalcDistanceResults")
Z
zhenshan.cao 已提交
5234
	proto.RegisterType((*PersistentSegmentInfo)(nil), "milvus.proto.milvus.PersistentSegmentInfo")
G
godchen 已提交
5235 5236
	proto.RegisterType((*GetPersistentSegmentInfoRequest)(nil), "milvus.proto.milvus.GetPersistentSegmentInfoRequest")
	proto.RegisterType((*GetPersistentSegmentInfoResponse)(nil), "milvus.proto.milvus.GetPersistentSegmentInfoResponse")
Z
zhenshan.cao 已提交
5237
	proto.RegisterType((*QuerySegmentInfo)(nil), "milvus.proto.milvus.QuerySegmentInfo")
G
godchen 已提交
5238 5239
	proto.RegisterType((*GetQuerySegmentInfoRequest)(nil), "milvus.proto.milvus.GetQuerySegmentInfoRequest")
	proto.RegisterType((*GetQuerySegmentInfoResponse)(nil), "milvus.proto.milvus.GetQuerySegmentInfoResponse")
X
Xiangyu Wang 已提交
5240 5241
	proto.RegisterType((*DummyRequest)(nil), "milvus.proto.milvus.DummyRequest")
	proto.RegisterType((*DummyResponse)(nil), "milvus.proto.milvus.DummyResponse")
G
godchen 已提交
5242
	proto.RegisterType((*RegisterLinkRequest)(nil), "milvus.proto.milvus.RegisterLinkRequest")
D
dragondriver 已提交
5243
	proto.RegisterType((*RegisterLinkResponse)(nil), "milvus.proto.milvus.RegisterLinkResponse")
5244 5245
	proto.RegisterType((*GetMetricsRequest)(nil), "milvus.proto.milvus.GetMetricsRequest")
	proto.RegisterType((*GetMetricsResponse)(nil), "milvus.proto.milvus.GetMetricsResponse")
B
bigsheeper 已提交
5246
	proto.RegisterType((*LoadBalanceRequest)(nil), "milvus.proto.milvus.LoadBalanceRequest")
5247 5248 5249 5250 5251 5252 5253
	proto.RegisterType((*ManualCompactionRequest)(nil), "milvus.proto.milvus.ManualCompactionRequest")
	proto.RegisterType((*ManualCompactionResponse)(nil), "milvus.proto.milvus.ManualCompactionResponse")
	proto.RegisterType((*GetCompactionStateRequest)(nil), "milvus.proto.milvus.GetCompactionStateRequest")
	proto.RegisterType((*GetCompactionStateResponse)(nil), "milvus.proto.milvus.GetCompactionStateResponse")
	proto.RegisterType((*GetCompactionPlansRequest)(nil), "milvus.proto.milvus.GetCompactionPlansRequest")
	proto.RegisterType((*GetCompactionPlansResponse)(nil), "milvus.proto.milvus.GetCompactionPlansResponse")
	proto.RegisterType((*CompactionMergeInfo)(nil), "milvus.proto.milvus.CompactionMergeInfo")
B
Bingyi Sun 已提交
5254 5255
	proto.RegisterType((*GetFlushStateRequest)(nil), "milvus.proto.milvus.GetFlushStateRequest")
	proto.RegisterType((*GetFlushStateResponse)(nil), "milvus.proto.milvus.GetFlushStateResponse")
G
groot 已提交
5256 5257 5258 5259
	proto.RegisterType((*ImportRequest)(nil), "milvus.proto.milvus.ImportRequest")
	proto.RegisterType((*ImportResponse)(nil), "milvus.proto.milvus.ImportResponse")
	proto.RegisterType((*GetImportStateRequest)(nil), "milvus.proto.milvus.GetImportStateRequest")
	proto.RegisterType((*GetImportStateResponse)(nil), "milvus.proto.milvus.GetImportStateResponse")
5260 5261 5262 5263 5264
}

func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) }

var fileDescriptor_02345ba45cc0e303 = []byte{
G
groot 已提交
5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503
	// 3797 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3b, 0x4b, 0x6f, 0x1c, 0x47,
	0x73, 0x9c, 0x5d, 0xee, 0xab, 0x76, 0x97, 0x5c, 0x36, 0x29, 0x6a, 0xb5, 0x7a, 0x51, 0xf3, 0x59,
	0x9f, 0x28, 0xe9, 0x93, 0xf4, 0x89, 0xf2, 0xe3, 0x8b, 0x9c, 0xc4, 0x96, 0xc8, 0x58, 0x22, 0x2c,
	0x29, 0xf4, 0xd0, 0x76, 0xe0, 0x18, 0xc2, 0x60, 0xb8, 0xd3, 0x5c, 0x0e, 0x38, 0x3b, 0xb3, 0x9e,
	0xee, 0x15, 0x45, 0x9f, 0x0c, 0x38, 0x48, 0x10, 0xd8, 0xb1, 0x11, 0x24, 0xc8, 0xe3, 0x90, 0x1c,
	0xf2, 0x38, 0xe4, 0x90, 0x20, 0x8e, 0x83, 0x24, 0xc8, 0x25, 0x39, 0x04, 0x48, 0x0e, 0x01, 0xf2,
	0xb8, 0xe4, 0x90, 0x4b, 0xfe, 0x80, 0x6f, 0x39, 0xe6, 0x10, 0xf4, 0x63, 0x66, 0x67, 0x66, 0x7b,
	0x96, 0x4b, 0xad, 0xf5, 0x91, 0xbc, 0xcd, 0x54, 0x57, 0x75, 0x57, 0x57, 0xd7, 0xa3, 0xbb, 0xba,
	0x1a, 0x6a, 0x5d, 0xc7, 0x7d, 0xd6, 0x27, 0x37, 0x7b, 0x81, 0x4f, 0x7d, 0x34, 0x1f, 0xff, 0xbb,
	0x29, 0x7e, 0x5a, 0xb5, 0xb6, 0xdf, 0xed, 0xfa, 0x9e, 0x00, 0xb6, 0x6a, 0xa4, 0xbd, 0x83, 0xbb,
	0x96, 0xf8, 0xd3, 0xff, 0x50, 0x03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c, 0x9f, 0x9a, 0x11, 0x93, 0x86, 0x33, 0xae, 0x63, 0x9c, 0x13, 0x86, 0x73, 0x7b, 0x19,
	0xe7, 0x84, 0xcc, 0x34, 0x62, 0xeb, 0xd6, 0xd8, 0xf8, 0xd1, 0x7c, 0x3e, 0x81, 0x46, 0x3a, 0x17,
	0x9a, 0x71, 0xfe, 0xcc, 0xc8, 0xc8, 0xb6, 0x6e, 0x8c, 0x89, 0x1d, 0x8f, 0x55, 0x67, 0x87, 0x79,
	0xfa, 0x25, 0x87, 0xee, 0xf0, 0x34, 0xdc, 0x38, 0xb3, 0x8e, 0x67, 0xfc, 0xc6, 0x99, 0x75, 0x22,
	0xbf, 0x27, 0x03, 0x0b, 0xcf, 0x37, 0x64, 0x05, 0x96, 0x78, 0x66, 0x29, 0x23, 0x06, 0x24, 0x93,
	0x35, 0x62, 0x6b, 0x98, 0xcc, 0x9a, 0xa0, 0xec, 0x18, 0x3e, 0x94, 0x88, 0xc9, 0xd8, 0x1a, 0xaa,
	0xd3, 0x30, 0xfa, 0xd4, 0x4a, 0x1f, 0x6a, 0x1b, 0x81, 0xff, 0x7c, 0x3f, 0xcc, 0x23, 0xfc, 0x74,
	0xec, 0xeb, 0xfe, 0x6b, 0xbf, 0x7c, 0xa7, 0xe3, 0xd0, 0x9d, 0xfe, 0x16, 0xd3, 0xe0, 0x5b, 0x02,
	0xf7, 0x86, 0xe3, 0xcb, 0xaf, 0x5b, 0x8e, 0x47, 0x71, 0xe0, 0x59, 0xee, 0x2d, 0xde, 0x97, 0x84,
	0xf6, 0xb6, 0xb6, 0x8a, 0xfc, 0xff, 0xce, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x84, 0xa2, 0x41,
	0x5e, 0x7d, 0x49, 0x00, 0x00,
Y
yukun 已提交
5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// MilvusServiceClient is the client API for MilvusService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type MilvusServiceClient interface {
	CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	DropCollection(ctx context.Context, in *DropCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	HasCollection(ctx context.Context, in *HasCollectionRequest, opts ...grpc.CallOption) (*BoolResponse, error)
	LoadCollection(ctx context.Context, in *LoadCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	DescribeCollection(ctx context.Context, in *DescribeCollectionRequest, opts ...grpc.CallOption) (*DescribeCollectionResponse, error)
G
godchen 已提交
5524 5525
	GetCollectionStatistics(ctx context.Context, in *GetCollectionStatisticsRequest, opts ...grpc.CallOption) (*GetCollectionStatisticsResponse, error)
	ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error)
Y
yukun 已提交
5526 5527 5528
	CreatePartition(ctx context.Context, in *CreatePartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	DropPartition(ctx context.Context, in *DropPartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	HasPartition(ctx context.Context, in *HasPartitionRequest, opts ...grpc.CallOption) (*BoolResponse, error)
G
godchen 已提交
5529 5530 5531 5532
	LoadPartitions(ctx context.Context, in *LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	GetPartitionStatistics(ctx context.Context, in *GetPartitionStatisticsRequest, opts ...grpc.CallOption) (*GetPartitionStatisticsResponse, error)
	ShowPartitions(ctx context.Context, in *ShowPartitionsRequest, opts ...grpc.CallOption) (*ShowPartitionsResponse, error)
Y
Yusup 已提交
5533 5534 5535
	CreateAlias(ctx context.Context, in *CreateAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	DropAlias(ctx context.Context, in *DropAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	AlterAlias(ctx context.Context, in *AlterAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
Y
yukun 已提交
5536 5537
	CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error)
G
godchen 已提交
5538
	GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error)
5539
	GetIndexBuildProgress(ctx context.Context, in *GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*GetIndexBuildProgressResponse, error)
X
xige-16 已提交
5540
	DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
5541
	Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*MutationResult, error)
G
groot 已提交
5542
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*MutationResult, error)
5543
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResults, error)
5544
	Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*FlushResponse, error)
X
Xiangyu Wang 已提交
5545
	Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResults, error)
5546
	CalcDistance(ctx context.Context, in *CalcDistanceRequest, opts ...grpc.CallOption) (*CalcDistanceResults, error)
5547
	GetFlushState(ctx context.Context, in *GetFlushStateRequest, opts ...grpc.CallOption) (*GetFlushStateResponse, error)
G
godchen 已提交
5548 5549
	GetPersistentSegmentInfo(ctx context.Context, in *GetPersistentSegmentInfoRequest, opts ...grpc.CallOption) (*GetPersistentSegmentInfoResponse, error)
	GetQuerySegmentInfo(ctx context.Context, in *GetQuerySegmentInfoRequest, opts ...grpc.CallOption) (*GetQuerySegmentInfoResponse, error)
X
Xiangyu Wang 已提交
5550
	Dummy(ctx context.Context, in *DummyRequest, opts ...grpc.CallOption) (*DummyResponse, error)
G
godchen 已提交
5551 5552
	// TODO: remove
	RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error)
5553 5554
	// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
	GetMetrics(ctx context.Context, in *GetMetricsRequest, opts ...grpc.CallOption) (*GetMetricsResponse, error)
B
bigsheeper 已提交
5555
	LoadBalance(ctx context.Context, in *LoadBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
5556 5557
	GetCompactionState(ctx context.Context, in *GetCompactionStateRequest, opts ...grpc.CallOption) (*GetCompactionStateResponse, error)
	ManualCompaction(ctx context.Context, in *ManualCompactionRequest, opts ...grpc.CallOption) (*ManualCompactionResponse, error)
5558
	GetCompactionStateWithPlans(ctx context.Context, in *GetCompactionPlansRequest, opts ...grpc.CallOption) (*GetCompactionPlansResponse, error)
G
groot 已提交
5559 5560 5561
	// https://wiki.lfaidata.foundation/display/MIL/MEP+24+--+Support+bulk+load
	Import(ctx context.Context, in *ImportRequest, opts ...grpc.CallOption) (*ImportResponse, error)
	GetImportState(ctx context.Context, in *GetImportStateRequest, opts ...grpc.CallOption) (*GetImportStateResponse, error)
Y
yukun 已提交
5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625
}

type milvusServiceClient struct {
	cc *grpc.ClientConn
}

func NewMilvusServiceClient(cc *grpc.ClientConn) MilvusServiceClient {
	return &milvusServiceClient{cc}
}

func (c *milvusServiceClient) CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CreateCollection", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *milvusServiceClient) DropCollection(ctx context.Context, in *DropCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DropCollection", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *milvusServiceClient) HasCollection(ctx context.Context, in *HasCollectionRequest, opts ...grpc.CallOption) (*BoolResponse, error) {
	out := new(BoolResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/HasCollection", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *milvusServiceClient) LoadCollection(ctx context.Context, in *LoadCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/LoadCollection", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *milvusServiceClient) ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ReleaseCollection", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *milvusServiceClient) DescribeCollection(ctx context.Context, in *DescribeCollectionRequest, opts ...grpc.CallOption) (*DescribeCollectionResponse, error) {
	out := new(DescribeCollectionResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DescribeCollection", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
5626 5627
func (c *milvusServiceClient) GetCollectionStatistics(ctx context.Context, in *GetCollectionStatisticsRequest, opts ...grpc.CallOption) (*GetCollectionStatisticsResponse, error) {
	out := new(GetCollectionStatisticsResponse)
Y
yukun 已提交
5628 5629 5630 5631 5632 5633 5634
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetCollectionStatistics", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
5635 5636
func (c *milvusServiceClient) ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error) {
	out := new(ShowCollectionsResponse)
Y
yukun 已提交
5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ShowCollections", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *milvusServiceClient) CreatePartition(ctx context.Context, in *CreatePartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CreatePartition", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *milvusServiceClient) DropPartition(ctx context.Context, in *DropPartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DropPartition", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *milvusServiceClient) HasPartition(ctx context.Context, in *HasPartitionRequest, opts ...grpc.CallOption) (*BoolResponse, error) {
	out := new(BoolResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/HasPartition", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
5671
func (c *milvusServiceClient) LoadPartitions(ctx context.Context, in *LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
Y
yukun 已提交
5672 5673 5674 5675 5676 5677 5678 5679
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/LoadPartitions", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
5680
func (c *milvusServiceClient) ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
Y
yukun 已提交
5681 5682 5683 5684 5685 5686 5687 5688
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ReleasePartitions", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
5689 5690
func (c *milvusServiceClient) GetPartitionStatistics(ctx context.Context, in *GetPartitionStatisticsRequest, opts ...grpc.CallOption) (*GetPartitionStatisticsResponse, error) {
	out := new(GetPartitionStatisticsResponse)
Y
yukun 已提交
5691 5692 5693 5694 5695 5696 5697
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetPartitionStatistics", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
5698 5699
func (c *milvusServiceClient) ShowPartitions(ctx context.Context, in *ShowPartitionsRequest, opts ...grpc.CallOption) (*ShowPartitionsResponse, error) {
	out := new(ShowPartitionsResponse)
Y
yukun 已提交
5700 5701 5702 5703 5704 5705 5706
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ShowPartitions", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

Y
Yusup 已提交
5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733
func (c *milvusServiceClient) CreateAlias(ctx context.Context, in *CreateAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CreateAlias", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *milvusServiceClient) DropAlias(ctx context.Context, in *DropAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DropAlias", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *milvusServiceClient) AlterAlias(ctx context.Context, in *AlterAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/AlterAlias", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

Y
yukun 已提交
5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751
func (c *milvusServiceClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CreateIndex", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *milvusServiceClient) DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error) {
	out := new(DescribeIndexResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DescribeIndex", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
5752 5753
func (c *milvusServiceClient) GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error) {
	out := new(GetIndexStateResponse)
5754 5755 5756 5757 5758 5759 5760
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetIndexState", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

5761 5762 5763 5764 5765 5766 5767 5768 5769
func (c *milvusServiceClient) GetIndexBuildProgress(ctx context.Context, in *GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*GetIndexBuildProgressResponse, error) {
	out := new(GetIndexBuildProgressResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetIndexBuildProgress", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

X
xige-16 已提交
5770 5771 5772 5773 5774 5775 5776 5777 5778
func (c *milvusServiceClient) DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DropIndex", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

5779 5780
func (c *milvusServiceClient) Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*MutationResult, error) {
	out := new(MutationResult)
Y
yukun 已提交
5781 5782 5783 5784 5785 5786 5787
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Insert", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
groot 已提交
5788 5789 5790 5791 5792 5793 5794 5795 5796
func (c *milvusServiceClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*MutationResult, error) {
	out := new(MutationResult)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Delete", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

5797 5798
func (c *milvusServiceClient) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResults, error) {
	out := new(SearchResults)
Y
yukun 已提交
5799 5800 5801 5802 5803 5804 5805
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Search", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

5806 5807
func (c *milvusServiceClient) Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*FlushResponse, error) {
	out := new(FlushResponse)
Y
yukun 已提交
5808 5809 5810 5811 5812 5813 5814
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Flush", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

X
Xiangyu Wang 已提交
5815 5816 5817 5818 5819 5820 5821 5822 5823
func (c *milvusServiceClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResults, error) {
	out := new(QueryResults)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Query", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

5824 5825 5826 5827 5828 5829 5830 5831 5832
func (c *milvusServiceClient) CalcDistance(ctx context.Context, in *CalcDistanceRequest, opts ...grpc.CallOption) (*CalcDistanceResults, error) {
	out := new(CalcDistanceResults)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CalcDistance", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

5833 5834 5835 5836 5837 5838 5839 5840 5841
func (c *milvusServiceClient) GetFlushState(ctx context.Context, in *GetFlushStateRequest, opts ...grpc.CallOption) (*GetFlushStateResponse, error) {
	out := new(GetFlushStateResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetFlushState", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
5842 5843
func (c *milvusServiceClient) GetPersistentSegmentInfo(ctx context.Context, in *GetPersistentSegmentInfoRequest, opts ...grpc.CallOption) (*GetPersistentSegmentInfoResponse, error) {
	out := new(GetPersistentSegmentInfoResponse)
Z
zhenshan.cao 已提交
5844 5845 5846 5847 5848 5849 5850
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetPersistentSegmentInfo", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
5851 5852
func (c *milvusServiceClient) GetQuerySegmentInfo(ctx context.Context, in *GetQuerySegmentInfoRequest, opts ...grpc.CallOption) (*GetQuerySegmentInfoResponse, error) {
	out := new(GetQuerySegmentInfoResponse)
Z
zhenshan.cao 已提交
5853 5854 5855 5856 5857 5858 5859
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetQuerySegmentInfo", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

X
Xiangyu Wang 已提交
5860 5861 5862 5863 5864 5865 5866 5867 5868
func (c *milvusServiceClient) Dummy(ctx context.Context, in *DummyRequest, opts ...grpc.CallOption) (*DummyResponse, error) {
	out := new(DummyResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Dummy", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
5869
func (c *milvusServiceClient) RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error) {
5870 5871 5872 5873 5874 5875 5876 5877
	out := new(RegisterLinkResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/RegisterLink", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

5878 5879 5880 5881 5882 5883 5884 5885 5886
func (c *milvusServiceClient) GetMetrics(ctx context.Context, in *GetMetricsRequest, opts ...grpc.CallOption) (*GetMetricsResponse, error) {
	out := new(GetMetricsResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetMetrics", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

B
bigsheeper 已提交
5887 5888 5889 5890 5891 5892 5893 5894 5895
func (c *milvusServiceClient) LoadBalance(ctx context.Context, in *LoadBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/LoadBalance", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913
func (c *milvusServiceClient) GetCompactionState(ctx context.Context, in *GetCompactionStateRequest, opts ...grpc.CallOption) (*GetCompactionStateResponse, error) {
	out := new(GetCompactionStateResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetCompactionState", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *milvusServiceClient) ManualCompaction(ctx context.Context, in *ManualCompactionRequest, opts ...grpc.CallOption) (*ManualCompactionResponse, error) {
	out := new(ManualCompactionResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ManualCompaction", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

5914 5915 5916 5917 5918 5919 5920 5921 5922
func (c *milvusServiceClient) GetCompactionStateWithPlans(ctx context.Context, in *GetCompactionPlansRequest, opts ...grpc.CallOption) (*GetCompactionPlansResponse, error) {
	out := new(GetCompactionPlansResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetCompactionStateWithPlans", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
groot 已提交
5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940
func (c *milvusServiceClient) Import(ctx context.Context, in *ImportRequest, opts ...grpc.CallOption) (*ImportResponse, error) {
	out := new(ImportResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Import", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *milvusServiceClient) GetImportState(ctx context.Context, in *GetImportStateRequest, opts ...grpc.CallOption) (*GetImportStateResponse, error) {
	out := new(GetImportStateResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetImportState", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

Y
yukun 已提交
5941 5942 5943 5944 5945 5946 5947 5948
// MilvusServiceServer is the server API for MilvusService service.
type MilvusServiceServer interface {
	CreateCollection(context.Context, *CreateCollectionRequest) (*commonpb.Status, error)
	DropCollection(context.Context, *DropCollectionRequest) (*commonpb.Status, error)
	HasCollection(context.Context, *HasCollectionRequest) (*BoolResponse, error)
	LoadCollection(context.Context, *LoadCollectionRequest) (*commonpb.Status, error)
	ReleaseCollection(context.Context, *ReleaseCollectionRequest) (*commonpb.Status, error)
	DescribeCollection(context.Context, *DescribeCollectionRequest) (*DescribeCollectionResponse, error)
G
godchen 已提交
5949 5950
	GetCollectionStatistics(context.Context, *GetCollectionStatisticsRequest) (*GetCollectionStatisticsResponse, error)
	ShowCollections(context.Context, *ShowCollectionsRequest) (*ShowCollectionsResponse, error)
Y
yukun 已提交
5951 5952 5953
	CreatePartition(context.Context, *CreatePartitionRequest) (*commonpb.Status, error)
	DropPartition(context.Context, *DropPartitionRequest) (*commonpb.Status, error)
	HasPartition(context.Context, *HasPartitionRequest) (*BoolResponse, error)
G
godchen 已提交
5954 5955 5956 5957
	LoadPartitions(context.Context, *LoadPartitionsRequest) (*commonpb.Status, error)
	ReleasePartitions(context.Context, *ReleasePartitionsRequest) (*commonpb.Status, error)
	GetPartitionStatistics(context.Context, *GetPartitionStatisticsRequest) (*GetPartitionStatisticsResponse, error)
	ShowPartitions(context.Context, *ShowPartitionsRequest) (*ShowPartitionsResponse, error)
Y
Yusup 已提交
5958 5959 5960
	CreateAlias(context.Context, *CreateAliasRequest) (*commonpb.Status, error)
	DropAlias(context.Context, *DropAliasRequest) (*commonpb.Status, error)
	AlterAlias(context.Context, *AlterAliasRequest) (*commonpb.Status, error)
Y
yukun 已提交
5961 5962
	CreateIndex(context.Context, *CreateIndexRequest) (*commonpb.Status, error)
	DescribeIndex(context.Context, *DescribeIndexRequest) (*DescribeIndexResponse, error)
G
godchen 已提交
5963
	GetIndexState(context.Context, *GetIndexStateRequest) (*GetIndexStateResponse, error)
5964
	GetIndexBuildProgress(context.Context, *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error)
X
xige-16 已提交
5965
	DropIndex(context.Context, *DropIndexRequest) (*commonpb.Status, error)
5966
	Insert(context.Context, *InsertRequest) (*MutationResult, error)
G
groot 已提交
5967
	Delete(context.Context, *DeleteRequest) (*MutationResult, error)
5968
	Search(context.Context, *SearchRequest) (*SearchResults, error)
5969
	Flush(context.Context, *FlushRequest) (*FlushResponse, error)
X
Xiangyu Wang 已提交
5970
	Query(context.Context, *QueryRequest) (*QueryResults, error)
5971
	CalcDistance(context.Context, *CalcDistanceRequest) (*CalcDistanceResults, error)
5972
	GetFlushState(context.Context, *GetFlushStateRequest) (*GetFlushStateResponse, error)
G
godchen 已提交
5973 5974
	GetPersistentSegmentInfo(context.Context, *GetPersistentSegmentInfoRequest) (*GetPersistentSegmentInfoResponse, error)
	GetQuerySegmentInfo(context.Context, *GetQuerySegmentInfoRequest) (*GetQuerySegmentInfoResponse, error)
X
Xiangyu Wang 已提交
5975
	Dummy(context.Context, *DummyRequest) (*DummyResponse, error)
G
godchen 已提交
5976 5977
	// TODO: remove
	RegisterLink(context.Context, *RegisterLinkRequest) (*RegisterLinkResponse, error)
5978 5979
	// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
	GetMetrics(context.Context, *GetMetricsRequest) (*GetMetricsResponse, error)
B
bigsheeper 已提交
5980
	LoadBalance(context.Context, *LoadBalanceRequest) (*commonpb.Status, error)
5981 5982
	GetCompactionState(context.Context, *GetCompactionStateRequest) (*GetCompactionStateResponse, error)
	ManualCompaction(context.Context, *ManualCompactionRequest) (*ManualCompactionResponse, error)
5983
	GetCompactionStateWithPlans(context.Context, *GetCompactionPlansRequest) (*GetCompactionPlansResponse, error)
G
groot 已提交
5984 5985 5986
	// https://wiki.lfaidata.foundation/display/MIL/MEP+24+--+Support+bulk+load
	Import(context.Context, *ImportRequest) (*ImportResponse, error)
	GetImportState(context.Context, *GetImportStateRequest) (*GetImportStateResponse, error)
Y
yukun 已提交
5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010
}

// UnimplementedMilvusServiceServer can be embedded to have forward compatible implementations.
type UnimplementedMilvusServiceServer struct {
}

func (*UnimplementedMilvusServiceServer) CreateCollection(ctx context.Context, req *CreateCollectionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateCollection not implemented")
}
func (*UnimplementedMilvusServiceServer) DropCollection(ctx context.Context, req *DropCollectionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DropCollection not implemented")
}
func (*UnimplementedMilvusServiceServer) HasCollection(ctx context.Context, req *HasCollectionRequest) (*BoolResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method HasCollection not implemented")
}
func (*UnimplementedMilvusServiceServer) LoadCollection(ctx context.Context, req *LoadCollectionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method LoadCollection not implemented")
}
func (*UnimplementedMilvusServiceServer) ReleaseCollection(ctx context.Context, req *ReleaseCollectionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ReleaseCollection not implemented")
}
func (*UnimplementedMilvusServiceServer) DescribeCollection(ctx context.Context, req *DescribeCollectionRequest) (*DescribeCollectionResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DescribeCollection not implemented")
}
G
godchen 已提交
6011
func (*UnimplementedMilvusServiceServer) GetCollectionStatistics(ctx context.Context, req *GetCollectionStatisticsRequest) (*GetCollectionStatisticsResponse, error) {
Y
yukun 已提交
6012 6013
	return nil, status.Errorf(codes.Unimplemented, "method GetCollectionStatistics not implemented")
}
G
godchen 已提交
6014
func (*UnimplementedMilvusServiceServer) ShowCollections(ctx context.Context, req *ShowCollectionsRequest) (*ShowCollectionsResponse, error) {
Y
yukun 已提交
6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025
	return nil, status.Errorf(codes.Unimplemented, "method ShowCollections not implemented")
}
func (*UnimplementedMilvusServiceServer) CreatePartition(ctx context.Context, req *CreatePartitionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreatePartition not implemented")
}
func (*UnimplementedMilvusServiceServer) DropPartition(ctx context.Context, req *DropPartitionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DropPartition not implemented")
}
func (*UnimplementedMilvusServiceServer) HasPartition(ctx context.Context, req *HasPartitionRequest) (*BoolResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method HasPartition not implemented")
}
G
godchen 已提交
6026
func (*UnimplementedMilvusServiceServer) LoadPartitions(ctx context.Context, req *LoadPartitionsRequest) (*commonpb.Status, error) {
Y
yukun 已提交
6027 6028
	return nil, status.Errorf(codes.Unimplemented, "method LoadPartitions not implemented")
}
G
godchen 已提交
6029
func (*UnimplementedMilvusServiceServer) ReleasePartitions(ctx context.Context, req *ReleasePartitionsRequest) (*commonpb.Status, error) {
Y
yukun 已提交
6030 6031
	return nil, status.Errorf(codes.Unimplemented, "method ReleasePartitions not implemented")
}
G
godchen 已提交
6032
func (*UnimplementedMilvusServiceServer) GetPartitionStatistics(ctx context.Context, req *GetPartitionStatisticsRequest) (*GetPartitionStatisticsResponse, error) {
Y
yukun 已提交
6033 6034
	return nil, status.Errorf(codes.Unimplemented, "method GetPartitionStatistics not implemented")
}
G
godchen 已提交
6035
func (*UnimplementedMilvusServiceServer) ShowPartitions(ctx context.Context, req *ShowPartitionsRequest) (*ShowPartitionsResponse, error) {
Y
yukun 已提交
6036 6037
	return nil, status.Errorf(codes.Unimplemented, "method ShowPartitions not implemented")
}
Y
Yusup 已提交
6038 6039 6040 6041 6042 6043 6044 6045 6046
func (*UnimplementedMilvusServiceServer) CreateAlias(ctx context.Context, req *CreateAliasRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateAlias not implemented")
}
func (*UnimplementedMilvusServiceServer) DropAlias(ctx context.Context, req *DropAliasRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DropAlias not implemented")
}
func (*UnimplementedMilvusServiceServer) AlterAlias(ctx context.Context, req *AlterAliasRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method AlterAlias not implemented")
}
Y
yukun 已提交
6047 6048 6049 6050 6051 6052
func (*UnimplementedMilvusServiceServer) CreateIndex(ctx context.Context, req *CreateIndexRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented")
}
func (*UnimplementedMilvusServiceServer) DescribeIndex(ctx context.Context, req *DescribeIndexRequest) (*DescribeIndexResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DescribeIndex not implemented")
}
G
godchen 已提交
6053
func (*UnimplementedMilvusServiceServer) GetIndexState(ctx context.Context, req *GetIndexStateRequest) (*GetIndexStateResponse, error) {
6054 6055
	return nil, status.Errorf(codes.Unimplemented, "method GetIndexState not implemented")
}
6056 6057 6058
func (*UnimplementedMilvusServiceServer) GetIndexBuildProgress(ctx context.Context, req *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetIndexBuildProgress not implemented")
}
X
xige-16 已提交
6059 6060 6061
func (*UnimplementedMilvusServiceServer) DropIndex(ctx context.Context, req *DropIndexRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DropIndex not implemented")
}
6062
func (*UnimplementedMilvusServiceServer) Insert(ctx context.Context, req *InsertRequest) (*MutationResult, error) {
Y
yukun 已提交
6063 6064
	return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented")
}
G
groot 已提交
6065 6066 6067
func (*UnimplementedMilvusServiceServer) Delete(ctx context.Context, req *DeleteRequest) (*MutationResult, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
}
6068
func (*UnimplementedMilvusServiceServer) Search(ctx context.Context, req *SearchRequest) (*SearchResults, error) {
Y
yukun 已提交
6069 6070
	return nil, status.Errorf(codes.Unimplemented, "method Search not implemented")
}
6071
func (*UnimplementedMilvusServiceServer) Flush(ctx context.Context, req *FlushRequest) (*FlushResponse, error) {
Y
yukun 已提交
6072 6073
	return nil, status.Errorf(codes.Unimplemented, "method Flush not implemented")
}
X
Xiangyu Wang 已提交
6074 6075 6076
func (*UnimplementedMilvusServiceServer) Query(ctx context.Context, req *QueryRequest) (*QueryResults, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Query not implemented")
}
6077 6078 6079
func (*UnimplementedMilvusServiceServer) CalcDistance(ctx context.Context, req *CalcDistanceRequest) (*CalcDistanceResults, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CalcDistance not implemented")
}
6080 6081 6082
func (*UnimplementedMilvusServiceServer) GetFlushState(ctx context.Context, req *GetFlushStateRequest) (*GetFlushStateResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetFlushState not implemented")
}
G
godchen 已提交
6083
func (*UnimplementedMilvusServiceServer) GetPersistentSegmentInfo(ctx context.Context, req *GetPersistentSegmentInfoRequest) (*GetPersistentSegmentInfoResponse, error) {
Z
zhenshan.cao 已提交
6084 6085
	return nil, status.Errorf(codes.Unimplemented, "method GetPersistentSegmentInfo not implemented")
}
G
godchen 已提交
6086
func (*UnimplementedMilvusServiceServer) GetQuerySegmentInfo(ctx context.Context, req *GetQuerySegmentInfoRequest) (*GetQuerySegmentInfoResponse, error) {
Z
zhenshan.cao 已提交
6087 6088
	return nil, status.Errorf(codes.Unimplemented, "method GetQuerySegmentInfo not implemented")
}
X
Xiangyu Wang 已提交
6089 6090 6091
func (*UnimplementedMilvusServiceServer) Dummy(ctx context.Context, req *DummyRequest) (*DummyResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Dummy not implemented")
}
G
godchen 已提交
6092
func (*UnimplementedMilvusServiceServer) RegisterLink(ctx context.Context, req *RegisterLinkRequest) (*RegisterLinkResponse, error) {
6093 6094
	return nil, status.Errorf(codes.Unimplemented, "method RegisterLink not implemented")
}
6095 6096 6097
func (*UnimplementedMilvusServiceServer) GetMetrics(ctx context.Context, req *GetMetricsRequest) (*GetMetricsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented")
}
B
bigsheeper 已提交
6098 6099 6100
func (*UnimplementedMilvusServiceServer) LoadBalance(ctx context.Context, req *LoadBalanceRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method LoadBalance not implemented")
}
6101 6102 6103 6104 6105 6106
func (*UnimplementedMilvusServiceServer) GetCompactionState(ctx context.Context, req *GetCompactionStateRequest) (*GetCompactionStateResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetCompactionState not implemented")
}
func (*UnimplementedMilvusServiceServer) ManualCompaction(ctx context.Context, req *ManualCompactionRequest) (*ManualCompactionResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ManualCompaction not implemented")
}
6107 6108 6109
func (*UnimplementedMilvusServiceServer) GetCompactionStateWithPlans(ctx context.Context, req *GetCompactionPlansRequest) (*GetCompactionPlansResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetCompactionStateWithPlans not implemented")
}
G
groot 已提交
6110 6111 6112 6113 6114 6115
func (*UnimplementedMilvusServiceServer) Import(ctx context.Context, req *ImportRequest) (*ImportResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Import not implemented")
}
func (*UnimplementedMilvusServiceServer) GetImportState(ctx context.Context, req *GetImportStateRequest) (*GetImportStateResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetImportState not implemented")
}
Y
yukun 已提交
6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229

func RegisterMilvusServiceServer(s *grpc.Server, srv MilvusServiceServer) {
	s.RegisterService(&_MilvusService_serviceDesc, srv)
}

func _MilvusService_CreateCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateCollectionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).CreateCollection(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/CreateCollection",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).CreateCollection(ctx, req.(*CreateCollectionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_DropCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DropCollectionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).DropCollection(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/DropCollection",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).DropCollection(ctx, req.(*DropCollectionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_HasCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(HasCollectionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).HasCollection(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/HasCollection",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).HasCollection(ctx, req.(*HasCollectionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_LoadCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(LoadCollectionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).LoadCollection(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/LoadCollection",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).LoadCollection(ctx, req.(*LoadCollectionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_ReleaseCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ReleaseCollectionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).ReleaseCollection(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/ReleaseCollection",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).ReleaseCollection(ctx, req.(*ReleaseCollectionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_DescribeCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DescribeCollectionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).DescribeCollection(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/DescribeCollection",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).DescribeCollection(ctx, req.(*DescribeCollectionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_GetCollectionStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
6230
	in := new(GetCollectionStatisticsRequest)
Y
yukun 已提交
6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetCollectionStatistics(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetCollectionStatistics",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
6242
		return srv.(MilvusServiceServer).GetCollectionStatistics(ctx, req.(*GetCollectionStatisticsRequest))
Y
yukun 已提交
6243 6244 6245 6246 6247
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_ShowCollections_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
6248
	in := new(ShowCollectionsRequest)
Y
yukun 已提交
6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).ShowCollections(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/ShowCollections",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
6260
		return srv.(MilvusServiceServer).ShowCollections(ctx, req.(*ShowCollectionsRequest))
Y
yukun 已提交
6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_CreatePartition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreatePartitionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).CreatePartition(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/CreatePartition",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).CreatePartition(ctx, req.(*CreatePartitionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_DropPartition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DropPartitionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).DropPartition(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/DropPartition",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).DropPartition(ctx, req.(*DropPartitionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_HasPartition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(HasPartitionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).HasPartition(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/HasPartition",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).HasPartition(ctx, req.(*HasPartitionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_LoadPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
6320
	in := new(LoadPartitionsRequest)
Y
yukun 已提交
6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).LoadPartitions(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/LoadPartitions",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
6332
		return srv.(MilvusServiceServer).LoadPartitions(ctx, req.(*LoadPartitionsRequest))
Y
yukun 已提交
6333 6334 6335 6336 6337
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_ReleasePartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
6338
	in := new(ReleasePartitionsRequest)
Y
yukun 已提交
6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).ReleasePartitions(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/ReleasePartitions",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
6350
		return srv.(MilvusServiceServer).ReleasePartitions(ctx, req.(*ReleasePartitionsRequest))
Y
yukun 已提交
6351 6352 6353 6354 6355
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_GetPartitionStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
6356
	in := new(GetPartitionStatisticsRequest)
Y
yukun 已提交
6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetPartitionStatistics(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetPartitionStatistics",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
6368
		return srv.(MilvusServiceServer).GetPartitionStatistics(ctx, req.(*GetPartitionStatisticsRequest))
Y
yukun 已提交
6369 6370 6371 6372 6373
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_ShowPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
6374
	in := new(ShowPartitionsRequest)
Y
yukun 已提交
6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).ShowPartitions(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/ShowPartitions",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
6386
		return srv.(MilvusServiceServer).ShowPartitions(ctx, req.(*ShowPartitionsRequest))
Y
yukun 已提交
6387 6388 6389 6390
	}
	return interceptor(ctx, in, info, handler)
}

Y
Yusup 已提交
6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444
func _MilvusService_CreateAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateAliasRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).CreateAlias(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/CreateAlias",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).CreateAlias(ctx, req.(*CreateAliasRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_DropAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DropAliasRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).DropAlias(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/DropAlias",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).DropAlias(ctx, req.(*DropAliasRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_AlterAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(AlterAliasRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).AlterAlias(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/AlterAlias",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).AlterAlias(ctx, req.(*AlterAliasRequest))
	}
	return interceptor(ctx, in, info, handler)
}

Y
yukun 已提交
6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480
func _MilvusService_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateIndexRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).CreateIndex(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/CreateIndex",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).CreateIndex(ctx, req.(*CreateIndexRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_DescribeIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DescribeIndexRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).DescribeIndex(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/DescribeIndex",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).DescribeIndex(ctx, req.(*DescribeIndexRequest))
	}
	return interceptor(ctx, in, info, handler)
}

6481
func _MilvusService_GetIndexState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
6482
	in := new(GetIndexStateRequest)
6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetIndexState(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetIndexState",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
6494
		return srv.(MilvusServiceServer).GetIndexState(ctx, req.(*GetIndexStateRequest))
6495 6496 6497 6498
	}
	return interceptor(ctx, in, info, handler)
}

6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516
func _MilvusService_GetIndexBuildProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetIndexBuildProgressRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetIndexBuildProgress(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetIndexBuildProgress",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).GetIndexBuildProgress(ctx, req.(*GetIndexBuildProgressRequest))
	}
	return interceptor(ctx, in, info, handler)
}

X
xige-16 已提交
6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534
func _MilvusService_DropIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DropIndexRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).DropIndex(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/DropIndex",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).DropIndex(ctx, req.(*DropIndexRequest))
	}
	return interceptor(ctx, in, info, handler)
}

Y
yukun 已提交
6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552
func _MilvusService_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(InsertRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).Insert(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/Insert",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).Insert(ctx, req.(*InsertRequest))
	}
	return interceptor(ctx, in, info, handler)
}

G
groot 已提交
6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570
func _MilvusService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).Delete(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/Delete",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).Delete(ctx, req.(*DeleteRequest))
	}
	return interceptor(ctx, in, info, handler)
}

Y
yukun 已提交
6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606
func _MilvusService_Search_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SearchRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).Search(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/Search",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).Search(ctx, req.(*SearchRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_Flush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(FlushRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).Flush(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/Flush",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).Flush(ctx, req.(*FlushRequest))
	}
	return interceptor(ctx, in, info, handler)
}

X
Xiangyu Wang 已提交
6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624
func _MilvusService_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).Query(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/Query",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).Query(ctx, req.(*QueryRequest))
	}
	return interceptor(ctx, in, info, handler)
}

6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642
func _MilvusService_CalcDistance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CalcDistanceRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).CalcDistance(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/CalcDistance",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).CalcDistance(ctx, req.(*CalcDistanceRequest))
	}
	return interceptor(ctx, in, info, handler)
}

6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660
func _MilvusService_GetFlushState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetFlushStateRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetFlushState(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetFlushState",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).GetFlushState(ctx, req.(*GetFlushStateRequest))
	}
	return interceptor(ctx, in, info, handler)
}

Z
zhenshan.cao 已提交
6661
func _MilvusService_GetPersistentSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
6662
	in := new(GetPersistentSegmentInfoRequest)
Z
zhenshan.cao 已提交
6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetPersistentSegmentInfo(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetPersistentSegmentInfo",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
6674
		return srv.(MilvusServiceServer).GetPersistentSegmentInfo(ctx, req.(*GetPersistentSegmentInfoRequest))
Z
zhenshan.cao 已提交
6675 6676 6677 6678
	}
	return interceptor(ctx, in, info, handler)
}

Z
zhenshan.cao 已提交
6679
func _MilvusService_GetQuerySegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
6680
	in := new(GetQuerySegmentInfoRequest)
Z
zhenshan.cao 已提交
6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetQuerySegmentInfo(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetQuerySegmentInfo",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
6692
		return srv.(MilvusServiceServer).GetQuerySegmentInfo(ctx, req.(*GetQuerySegmentInfoRequest))
Z
zhenshan.cao 已提交
6693 6694 6695 6696
	}
	return interceptor(ctx, in, info, handler)
}

X
Xiangyu Wang 已提交
6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714
func _MilvusService_Dummy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DummyRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).Dummy(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/Dummy",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).Dummy(ctx, req.(*DummyRequest))
	}
	return interceptor(ctx, in, info, handler)
}

6715
func _MilvusService_RegisterLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
6716
	in := new(RegisterLinkRequest)
6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).RegisterLink(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/RegisterLink",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
6728
		return srv.(MilvusServiceServer).RegisterLink(ctx, req.(*RegisterLinkRequest))
6729 6730 6731 6732
	}
	return interceptor(ctx, in, info, handler)
}

6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750
func _MilvusService_GetMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetMetricsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetMetrics(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetMetrics",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).GetMetrics(ctx, req.(*GetMetricsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

B
bigsheeper 已提交
6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768
func _MilvusService_LoadBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(LoadBalanceRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).LoadBalance(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/LoadBalance",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).LoadBalance(ctx, req.(*LoadBalanceRequest))
	}
	return interceptor(ctx, in, info, handler)
}

6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804
func _MilvusService_GetCompactionState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetCompactionStateRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetCompactionState(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetCompactionState",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).GetCompactionState(ctx, req.(*GetCompactionStateRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_ManualCompaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ManualCompactionRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).ManualCompaction(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/ManualCompaction",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).ManualCompaction(ctx, req.(*ManualCompactionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822
func _MilvusService_GetCompactionStateWithPlans_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetCompactionPlansRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetCompactionStateWithPlans(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetCompactionStateWithPlans",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).GetCompactionStateWithPlans(ctx, req.(*GetCompactionPlansRequest))
	}
	return interceptor(ctx, in, info, handler)
}

G
groot 已提交
6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858
func _MilvusService_Import_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(ImportRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).Import(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/Import",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).Import(ctx, req.(*ImportRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_GetImportState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetImportStateRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetImportState(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetImportState",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).GetImportState(ctx, req.(*GetImportStateRequest))
	}
	return interceptor(ctx, in, info, handler)
}

Y
yukun 已提交
6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922
var _MilvusService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "milvus.proto.milvus.MilvusService",
	HandlerType: (*MilvusServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateCollection",
			Handler:    _MilvusService_CreateCollection_Handler,
		},
		{
			MethodName: "DropCollection",
			Handler:    _MilvusService_DropCollection_Handler,
		},
		{
			MethodName: "HasCollection",
			Handler:    _MilvusService_HasCollection_Handler,
		},
		{
			MethodName: "LoadCollection",
			Handler:    _MilvusService_LoadCollection_Handler,
		},
		{
			MethodName: "ReleaseCollection",
			Handler:    _MilvusService_ReleaseCollection_Handler,
		},
		{
			MethodName: "DescribeCollection",
			Handler:    _MilvusService_DescribeCollection_Handler,
		},
		{
			MethodName: "GetCollectionStatistics",
			Handler:    _MilvusService_GetCollectionStatistics_Handler,
		},
		{
			MethodName: "ShowCollections",
			Handler:    _MilvusService_ShowCollections_Handler,
		},
		{
			MethodName: "CreatePartition",
			Handler:    _MilvusService_CreatePartition_Handler,
		},
		{
			MethodName: "DropPartition",
			Handler:    _MilvusService_DropPartition_Handler,
		},
		{
			MethodName: "HasPartition",
			Handler:    _MilvusService_HasPartition_Handler,
		},
		{
			MethodName: "LoadPartitions",
			Handler:    _MilvusService_LoadPartitions_Handler,
		},
		{
			MethodName: "ReleasePartitions",
			Handler:    _MilvusService_ReleasePartitions_Handler,
		},
		{
			MethodName: "GetPartitionStatistics",
			Handler:    _MilvusService_GetPartitionStatistics_Handler,
		},
		{
			MethodName: "ShowPartitions",
			Handler:    _MilvusService_ShowPartitions_Handler,
		},
Y
Yusup 已提交
6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934
		{
			MethodName: "CreateAlias",
			Handler:    _MilvusService_CreateAlias_Handler,
		},
		{
			MethodName: "DropAlias",
			Handler:    _MilvusService_DropAlias_Handler,
		},
		{
			MethodName: "AlterAlias",
			Handler:    _MilvusService_AlterAlias_Handler,
		},
Y
yukun 已提交
6935 6936 6937 6938 6939 6940 6941 6942
		{
			MethodName: "CreateIndex",
			Handler:    _MilvusService_CreateIndex_Handler,
		},
		{
			MethodName: "DescribeIndex",
			Handler:    _MilvusService_DescribeIndex_Handler,
		},
6943 6944 6945 6946
		{
			MethodName: "GetIndexState",
			Handler:    _MilvusService_GetIndexState_Handler,
		},
6947 6948 6949 6950
		{
			MethodName: "GetIndexBuildProgress",
			Handler:    _MilvusService_GetIndexBuildProgress_Handler,
		},
X
xige-16 已提交
6951 6952 6953 6954
		{
			MethodName: "DropIndex",
			Handler:    _MilvusService_DropIndex_Handler,
		},
Y
yukun 已提交
6955 6956 6957 6958
		{
			MethodName: "Insert",
			Handler:    _MilvusService_Insert_Handler,
		},
G
groot 已提交
6959 6960 6961 6962
		{
			MethodName: "Delete",
			Handler:    _MilvusService_Delete_Handler,
		},
Y
yukun 已提交
6963 6964 6965 6966 6967 6968 6969 6970
		{
			MethodName: "Search",
			Handler:    _MilvusService_Search_Handler,
		},
		{
			MethodName: "Flush",
			Handler:    _MilvusService_Flush_Handler,
		},
X
Xiangyu Wang 已提交
6971 6972 6973 6974
		{
			MethodName: "Query",
			Handler:    _MilvusService_Query_Handler,
		},
6975 6976 6977 6978
		{
			MethodName: "CalcDistance",
			Handler:    _MilvusService_CalcDistance_Handler,
		},
6979 6980 6981 6982
		{
			MethodName: "GetFlushState",
			Handler:    _MilvusService_GetFlushState_Handler,
		},
Z
zhenshan.cao 已提交
6983 6984 6985 6986
		{
			MethodName: "GetPersistentSegmentInfo",
			Handler:    _MilvusService_GetPersistentSegmentInfo_Handler,
		},
Z
zhenshan.cao 已提交
6987 6988 6989 6990
		{
			MethodName: "GetQuerySegmentInfo",
			Handler:    _MilvusService_GetQuerySegmentInfo_Handler,
		},
X
Xiangyu Wang 已提交
6991 6992 6993 6994
		{
			MethodName: "Dummy",
			Handler:    _MilvusService_Dummy_Handler,
		},
6995 6996 6997 6998
		{
			MethodName: "RegisterLink",
			Handler:    _MilvusService_RegisterLink_Handler,
		},
6999 7000 7001 7002
		{
			MethodName: "GetMetrics",
			Handler:    _MilvusService_GetMetrics_Handler,
		},
B
bigsheeper 已提交
7003 7004 7005 7006
		{
			MethodName: "LoadBalance",
			Handler:    _MilvusService_LoadBalance_Handler,
		},
7007 7008 7009 7010 7011 7012 7013 7014
		{
			MethodName: "GetCompactionState",
			Handler:    _MilvusService_GetCompactionState_Handler,
		},
		{
			MethodName: "ManualCompaction",
			Handler:    _MilvusService_ManualCompaction_Handler,
		},
7015 7016 7017 7018
		{
			MethodName: "GetCompactionStateWithPlans",
			Handler:    _MilvusService_GetCompactionStateWithPlans_Handler,
		},
G
groot 已提交
7019 7020 7021 7022 7023 7024 7025 7026
		{
			MethodName: "Import",
			Handler:    _MilvusService_Import_Handler,
		},
		{
			MethodName: "GetImportState",
			Handler:    _MilvusService_GetImportState_Handler,
		},
Y
yukun 已提交
7027 7028 7029
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "milvus.proto",
7030
}
D
dragondriver 已提交
7031 7032 7033 7034 7035

// ProxyServiceClient is the client API for ProxyService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ProxyServiceClient interface {
G
godchen 已提交
7036
	RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error)
D
dragondriver 已提交
7037 7038 7039 7040 7041 7042 7043 7044 7045 7046
}

type proxyServiceClient struct {
	cc *grpc.ClientConn
}

func NewProxyServiceClient(cc *grpc.ClientConn) ProxyServiceClient {
	return &proxyServiceClient{cc}
}

G
godchen 已提交
7047
func (c *proxyServiceClient) RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error) {
D
dragondriver 已提交
7048 7049 7050 7051 7052 7053 7054 7055 7056 7057
	out := new(RegisterLinkResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.ProxyService/RegisterLink", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// ProxyServiceServer is the server API for ProxyService service.
type ProxyServiceServer interface {
G
godchen 已提交
7058
	RegisterLink(context.Context, *RegisterLinkRequest) (*RegisterLinkResponse, error)
D
dragondriver 已提交
7059 7060 7061 7062 7063 7064
}

// UnimplementedProxyServiceServer can be embedded to have forward compatible implementations.
type UnimplementedProxyServiceServer struct {
}

G
godchen 已提交
7065
func (*UnimplementedProxyServiceServer) RegisterLink(ctx context.Context, req *RegisterLinkRequest) (*RegisterLinkResponse, error) {
D
dragondriver 已提交
7066 7067 7068 7069 7070 7071 7072 7073
	return nil, status.Errorf(codes.Unimplemented, "method RegisterLink not implemented")
}

func RegisterProxyServiceServer(s *grpc.Server, srv ProxyServiceServer) {
	s.RegisterService(&_ProxyService_serviceDesc, srv)
}

func _ProxyService_RegisterLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
7074
	in := new(RegisterLinkRequest)
D
dragondriver 已提交
7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ProxyServiceServer).RegisterLink(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.ProxyService/RegisterLink",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
7086
		return srv.(ProxyServiceServer).RegisterLink(ctx, req.(*RegisterLinkRequest))
D
dragondriver 已提交
7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102
	}
	return interceptor(ctx, in, info, handler)
}

var _ProxyService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "milvus.proto.milvus.ProxyService",
	HandlerType: (*ProxyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterLink",
			Handler:    _ProxyService_RegisterLink_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "milvus.proto",
}