query_coord.pb.go 162.7 KB
Newer Older
1
// Code generated by protoc-gen-go. DO NOT EDIT.
2
// source: query_coord.proto
3 4 5 6 7 8 9

package querypb

import (
	context "context"
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
X
Xiangyu Wang 已提交
10
	commonpb "github.com/milvus-io/milvus/internal/proto/commonpb"
11
	datapb "github.com/milvus-io/milvus/internal/proto/datapb"
X
Xiangyu Wang 已提交
12 13 14
	internalpb "github.com/milvus-io/milvus/internal/proto/internalpb"
	milvuspb "github.com/milvus-io/milvus/internal/proto/milvuspb"
	schemapb "github.com/milvus-io/milvus/internal/proto/schemapb"
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	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

X
xige-16 已提交
32
//-------------------- internal meta proto------------------
33 34 35 36 37
type PartitionState int32

const (
	PartitionState_NotExist        PartitionState = 0
	PartitionState_NotPresent      PartitionState = 1
X
xige-16 已提交
38
	PartitionState_OnDisk          PartitionState = 2
39 40 41 42 43 44 45 46 47
	PartitionState_PartialInMemory PartitionState = 3
	PartitionState_InMemory        PartitionState = 4
	PartitionState_PartialInGPU    PartitionState = 5
	PartitionState_InGPU           PartitionState = 6
)

var PartitionState_name = map[int32]string{
	0: "NotExist",
	1: "NotPresent",
X
xige-16 已提交
48
	2: "OnDisk",
49 50 51 52 53 54 55 56 57
	3: "PartialInMemory",
	4: "InMemory",
	5: "PartialInGPU",
	6: "InGPU",
}

var PartitionState_value = map[string]int32{
	"NotExist":        0,
	"NotPresent":      1,
X
xige-16 已提交
58
	"OnDisk":          2,
59 60 61 62 63 64 65 66 67 68 69
	"PartialInMemory": 3,
	"InMemory":        4,
	"PartialInGPU":    5,
	"InGPU":           6,
}

func (x PartitionState) String() string {
	return proto.EnumName(PartitionState_name, int32(x))
}

func (PartitionState) EnumDescriptor() ([]byte, []int) {
70
	return fileDescriptor_aab7cc9a69ed26e8, []int{0}
71 72
}

73 74 75
type TriggerCondition int32

const (
X
xige-16 已提交
76 77 78 79 80
	TriggerCondition_UnKnowCondition TriggerCondition = 0
	TriggerCondition_Handoff         TriggerCondition = 1
	TriggerCondition_LoadBalance     TriggerCondition = 2
	TriggerCondition_GrpcRequest     TriggerCondition = 3
	TriggerCondition_NodeDown        TriggerCondition = 4
81 82 83
)

var TriggerCondition_name = map[int32]string{
X
xige-16 已提交
84 85 86 87 88
	0: "UnKnowCondition",
	1: "Handoff",
	2: "LoadBalance",
	3: "GrpcRequest",
	4: "NodeDown",
89 90 91
}

var TriggerCondition_value = map[string]int32{
X
xige-16 已提交
92 93 94 95 96
	"UnKnowCondition": 0,
	"Handoff":         1,
	"LoadBalance":     2,
	"GrpcRequest":     3,
	"NodeDown":        4,
97 98 99 100 101 102 103
}

func (x TriggerCondition) String() string {
	return proto.EnumName(TriggerCondition_name, int32(x))
}

func (TriggerCondition) EnumDescriptor() ([]byte, []int) {
104
	return fileDescriptor_aab7cc9a69ed26e8, []int{1}
105 106
}

107 108 109
type LoadType int32

const (
110
	LoadType_UnKnownType    LoadType = 0
X
xige-16 已提交
111
	LoadType_LoadPartition  LoadType = 1
112
	LoadType_LoadCollection LoadType = 2
113 114 115
)

var LoadType_name = map[int32]string{
116
	0: "UnKnownType",
X
xige-16 已提交
117
	1: "LoadPartition",
118
	2: "LoadCollection",
119 120 121
}

var LoadType_value = map[string]int32{
122
	"UnKnownType":    0,
X
xige-16 已提交
123
	"LoadPartition":  1,
124
	"LoadCollection": 2,
125 126 127 128 129 130 131
}

func (x LoadType) String() string {
	return proto.EnumName(LoadType_name, int32(x))
}

func (LoadType) EnumDescriptor() ([]byte, []int) {
X
xige-16 已提交
132
	return fileDescriptor_aab7cc9a69ed26e8, []int{2}
133 134
}

X
xige-16 已提交
135
//--------------------QueryCoord grpc request and response proto------------------
G
godchen 已提交
136
type ShowCollectionsRequest struct {
C
Cai Yudong 已提交
137 138 139 140 141 142 143
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbID                 int64    `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
	CollectionIDs        []int64  `protobuf:"varint,3,rep,packed,name=collectionIDs,proto3" json:"collectionIDs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
144 145
}

G
godchen 已提交
146 147 148 149
func (m *ShowCollectionsRequest) Reset()         { *m = ShowCollectionsRequest{} }
func (m *ShowCollectionsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowCollectionsRequest) ProtoMessage()    {}
func (*ShowCollectionsRequest) Descriptor() ([]byte, []int) {
150
	return fileDescriptor_aab7cc9a69ed26e8, []int{0}
151 152
}

G
godchen 已提交
153 154
func (m *ShowCollectionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowCollectionsRequest.Unmarshal(m, b)
155
}
G
godchen 已提交
156 157
func (m *ShowCollectionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowCollectionsRequest.Marshal(b, m, deterministic)
158
}
G
godchen 已提交
159 160
func (m *ShowCollectionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowCollectionsRequest.Merge(m, src)
161
}
G
godchen 已提交
162 163
func (m *ShowCollectionsRequest) XXX_Size() int {
	return xxx_messageInfo_ShowCollectionsRequest.Size(m)
164
}
G
godchen 已提交
165 166
func (m *ShowCollectionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowCollectionsRequest.DiscardUnknown(m)
167 168
}

G
godchen 已提交
169
var xxx_messageInfo_ShowCollectionsRequest proto.InternalMessageInfo
170

G
godchen 已提交
171
func (m *ShowCollectionsRequest) GetBase() *commonpb.MsgBase {
172 173 174 175 176 177
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
178
func (m *ShowCollectionsRequest) GetDbID() int64 {
179 180 181 182 183 184
	if m != nil {
		return m.DbID
	}
	return 0
}

185 186 187 188 189 190 191
func (m *ShowCollectionsRequest) GetCollectionIDs() []int64 {
	if m != nil {
		return m.CollectionIDs
	}
	return nil
}

G
godchen 已提交
192
type ShowCollectionsResponse struct {
X
xige-16 已提交
193 194
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	CollectionIDs        []int64          `protobuf:"varint,2,rep,packed,name=collectionIDs,proto3" json:"collectionIDs,omitempty"`
195
	InMemoryPercentages  []int64          `protobuf:"varint,3,rep,packed,name=inMemory_percentages,json=inMemoryPercentages,proto3" json:"inMemory_percentages,omitempty"`
X
xige-16 已提交
196 197 198
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
199 200
}

G
godchen 已提交
201 202 203 204
func (m *ShowCollectionsResponse) Reset()         { *m = ShowCollectionsResponse{} }
func (m *ShowCollectionsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowCollectionsResponse) ProtoMessage()    {}
func (*ShowCollectionsResponse) Descriptor() ([]byte, []int) {
205
	return fileDescriptor_aab7cc9a69ed26e8, []int{1}
206 207
}

G
godchen 已提交
208 209
func (m *ShowCollectionsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowCollectionsResponse.Unmarshal(m, b)
210
}
G
godchen 已提交
211 212
func (m *ShowCollectionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowCollectionsResponse.Marshal(b, m, deterministic)
213
}
G
godchen 已提交
214 215
func (m *ShowCollectionsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowCollectionsResponse.Merge(m, src)
216
}
G
godchen 已提交
217 218
func (m *ShowCollectionsResponse) XXX_Size() int {
	return xxx_messageInfo_ShowCollectionsResponse.Size(m)
219
}
G
godchen 已提交
220 221
func (m *ShowCollectionsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowCollectionsResponse.DiscardUnknown(m)
222 223
}

G
godchen 已提交
224
var xxx_messageInfo_ShowCollectionsResponse proto.InternalMessageInfo
225

G
godchen 已提交
226
func (m *ShowCollectionsResponse) GetStatus() *commonpb.Status {
X
xige-16 已提交
227 228 229 230 231 232
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
233
func (m *ShowCollectionsResponse) GetCollectionIDs() []int64 {
234 235 236 237 238 239
	if m != nil {
		return m.CollectionIDs
	}
	return nil
}

240 241 242 243 244 245 246
func (m *ShowCollectionsResponse) GetInMemoryPercentages() []int64 {
	if m != nil {
		return m.InMemoryPercentages
	}
	return nil
}

247 248 249 250
type ShowPartitionsRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbID                 int64             `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
	CollectionID         int64             `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
251
	PartitionIDs         []int64           `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
252 253 254 255 256 257 258 259 260
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *ShowPartitionsRequest) Reset()         { *m = ShowPartitionsRequest{} }
func (m *ShowPartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowPartitionsRequest) ProtoMessage()    {}
func (*ShowPartitionsRequest) Descriptor() ([]byte, []int) {
261
	return fileDescriptor_aab7cc9a69ed26e8, []int{2}
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302
}

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

var xxx_messageInfo_ShowPartitionsRequest proto.InternalMessageInfo

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

func (m *ShowPartitionsRequest) GetDbID() int64 {
	if m != nil {
		return m.DbID
	}
	return 0
}

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

303 304 305 306 307 308 309
func (m *ShowPartitionsRequest) GetPartitionIDs() []int64 {
	if m != nil {
		return m.PartitionIDs
	}
	return nil
}

310 311 312
type ShowPartitionsResponse struct {
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	PartitionIDs         []int64          `protobuf:"varint,2,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
313
	InMemoryPercentages  []int64          `protobuf:"varint,3,rep,packed,name=inMemory_percentages,json=inMemoryPercentages,proto3" json:"inMemory_percentages,omitempty"`
314 315 316 317 318 319 320 321 322
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *ShowPartitionsResponse) Reset()         { *m = ShowPartitionsResponse{} }
func (m *ShowPartitionsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowPartitionsResponse) ProtoMessage()    {}
func (*ShowPartitionsResponse) Descriptor() ([]byte, []int) {
323
	return fileDescriptor_aab7cc9a69ed26e8, []int{3}
324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357
}

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

var xxx_messageInfo_ShowPartitionsResponse proto.InternalMessageInfo

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

func (m *ShowPartitionsResponse) GetPartitionIDs() []int64 {
	if m != nil {
		return m.PartitionIDs
	}
	return nil
}

358 359 360 361 362 363 364
func (m *ShowPartitionsResponse) GetInMemoryPercentages() []int64 {
	if m != nil {
		return m.InMemoryPercentages
	}
	return nil
}

365
type LoadCollectionRequest struct {
366 367 368 369
	Base                 *commonpb.MsgBase          `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbID                 int64                      `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
	CollectionID         int64                      `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	Schema               *schemapb.CollectionSchema `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
370
	ReplicaNumber        int32                      `protobuf:"varint,5,opt,name=replica_number,json=replicaNumber,proto3" json:"replica_number,omitempty"`
371 372 373
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
374 375 376 377 378 379
}

func (m *LoadCollectionRequest) Reset()         { *m = LoadCollectionRequest{} }
func (m *LoadCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*LoadCollectionRequest) ProtoMessage()    {}
func (*LoadCollectionRequest) Descriptor() ([]byte, []int) {
380
	return fileDescriptor_aab7cc9a69ed26e8, []int{4}
381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400
}

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

401
func (m *LoadCollectionRequest) GetBase() *commonpb.MsgBase {
402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *LoadCollectionRequest) GetDbID() int64 {
	if m != nil {
		return m.DbID
	}
	return 0
}

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

422 423 424 425 426 427 428
func (m *LoadCollectionRequest) GetSchema() *schemapb.CollectionSchema {
	if m != nil {
		return m.Schema
	}
	return nil
}

429 430 431 432 433 434 435
func (m *LoadCollectionRequest) GetReplicaNumber() int32 {
	if m != nil {
		return m.ReplicaNumber
	}
	return 0
}

436
type ReleaseCollectionRequest struct {
437 438 439
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbID                 int64             `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
	CollectionID         int64             `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
440
	NodeID               int64             `protobuf:"varint,4,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
441 442 443
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
444 445 446 447 448 449
}

func (m *ReleaseCollectionRequest) Reset()         { *m = ReleaseCollectionRequest{} }
func (m *ReleaseCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*ReleaseCollectionRequest) ProtoMessage()    {}
func (*ReleaseCollectionRequest) Descriptor() ([]byte, []int) {
450
	return fileDescriptor_aab7cc9a69ed26e8, []int{5}
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470
}

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

471
func (m *ReleaseCollectionRequest) GetBase() *commonpb.MsgBase {
472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491
	if m != nil {
		return m.Base
	}
	return nil
}

func (m *ReleaseCollectionRequest) GetDbID() int64 {
	if m != nil {
		return m.DbID
	}
	return 0
}

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

492 493 494 495 496 497 498
func (m *ReleaseCollectionRequest) GetNodeID() int64 {
	if m != nil {
		return m.NodeID
	}
	return 0
}

499 500 501 502 503 504
type LoadPartitionsRequest struct {
	Base                 *commonpb.MsgBase          `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbID                 int64                      `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
	CollectionID         int64                      `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	PartitionIDs         []int64                    `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
	Schema               *schemapb.CollectionSchema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
505
	ReplicaNumber        int32                      `protobuf:"varint,6,opt,name=replica_number,json=replicaNumber,proto3" json:"replica_number,omitempty"`
506 507 508
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
509 510
}

511 512 513 514
func (m *LoadPartitionsRequest) Reset()         { *m = LoadPartitionsRequest{} }
func (m *LoadPartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*LoadPartitionsRequest) ProtoMessage()    {}
func (*LoadPartitionsRequest) Descriptor() ([]byte, []int) {
515
	return fileDescriptor_aab7cc9a69ed26e8, []int{6}
516 517
}

518 519
func (m *LoadPartitionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LoadPartitionsRequest.Unmarshal(m, b)
520
}
521 522
func (m *LoadPartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LoadPartitionsRequest.Marshal(b, m, deterministic)
523
}
524 525
func (m *LoadPartitionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LoadPartitionsRequest.Merge(m, src)
526
}
527 528
func (m *LoadPartitionsRequest) XXX_Size() int {
	return xxx_messageInfo_LoadPartitionsRequest.Size(m)
529
}
530 531
func (m *LoadPartitionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_LoadPartitionsRequest.DiscardUnknown(m)
532 533
}

534
var xxx_messageInfo_LoadPartitionsRequest proto.InternalMessageInfo
535

536
func (m *LoadPartitionsRequest) GetBase() *commonpb.MsgBase {
537 538 539 540 541 542
	if m != nil {
		return m.Base
	}
	return nil
}

543
func (m *LoadPartitionsRequest) GetDbID() int64 {
544 545 546 547 548 549
	if m != nil {
		return m.DbID
	}
	return 0
}

550
func (m *LoadPartitionsRequest) GetCollectionID() int64 {
551 552 553 554 555 556
	if m != nil {
		return m.CollectionID
	}
	return 0
}

557 558 559 560 561
func (m *LoadPartitionsRequest) GetPartitionIDs() []int64 {
	if m != nil {
		return m.PartitionIDs
	}
	return nil
562 563
}

564 565 566 567 568
func (m *LoadPartitionsRequest) GetSchema() *schemapb.CollectionSchema {
	if m != nil {
		return m.Schema
	}
	return nil
569 570
}

571 572 573 574 575 576 577
func (m *LoadPartitionsRequest) GetReplicaNumber() int32 {
	if m != nil {
		return m.ReplicaNumber
	}
	return 0
}

578 579 580 581 582
type ReleasePartitionsRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbID                 int64             `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
	CollectionID         int64             `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	PartitionIDs         []int64           `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
583
	NodeID               int64             `protobuf:"varint,5,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
584 585 586
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
587
}
588 589 590 591 592

func (m *ReleasePartitionsRequest) Reset()         { *m = ReleasePartitionsRequest{} }
func (m *ReleasePartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*ReleasePartitionsRequest) ProtoMessage()    {}
func (*ReleasePartitionsRequest) Descriptor() ([]byte, []int) {
593
	return fileDescriptor_aab7cc9a69ed26e8, []int{7}
594
}
595 596 597

func (m *ReleasePartitionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReleasePartitionsRequest.Unmarshal(m, b)
598
}
599 600
func (m *ReleasePartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReleasePartitionsRequest.Marshal(b, m, deterministic)
601
}
602 603 604 605 606 607 608 609
func (m *ReleasePartitionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReleasePartitionsRequest.Merge(m, src)
}
func (m *ReleasePartitionsRequest) XXX_Size() int {
	return xxx_messageInfo_ReleasePartitionsRequest.Size(m)
}
func (m *ReleasePartitionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ReleasePartitionsRequest.DiscardUnknown(m)
610 611
}

612
var xxx_messageInfo_ReleasePartitionsRequest proto.InternalMessageInfo
613

614
func (m *ReleasePartitionsRequest) GetBase() *commonpb.MsgBase {
X
xige-16 已提交
615
	if m != nil {
616
		return m.Base
X
xige-16 已提交
617 618 619 620
	}
	return nil
}

621
func (m *ReleasePartitionsRequest) GetDbID() int64 {
622
	if m != nil {
623
		return m.DbID
624
	}
625
	return 0
626 627
}

628 629 630 631 632
func (m *ReleasePartitionsRequest) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
633 634
}

635 636 637 638 639
func (m *ReleasePartitionsRequest) GetPartitionIDs() []int64 {
	if m != nil {
		return m.PartitionIDs
	}
	return nil
640 641
}

642 643 644 645 646 647 648
func (m *ReleasePartitionsRequest) GetNodeID() int64 {
	if m != nil {
		return m.NodeID
	}
	return 0
}

649 650
type CreateQueryChannelRequest struct {
	CollectionID         int64    `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
651
	ProxyID              int64    `protobuf:"varint,2,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
652 653 654
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
655
}
656 657 658 659 660

func (m *CreateQueryChannelRequest) Reset()         { *m = CreateQueryChannelRequest{} }
func (m *CreateQueryChannelRequest) String() string { return proto.CompactTextString(m) }
func (*CreateQueryChannelRequest) ProtoMessage()    {}
func (*CreateQueryChannelRequest) Descriptor() ([]byte, []int) {
661
	return fileDescriptor_aab7cc9a69ed26e8, []int{8}
662
}
663 664 665

func (m *CreateQueryChannelRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CreateQueryChannelRequest.Unmarshal(m, b)
666
}
667 668
func (m *CreateQueryChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CreateQueryChannelRequest.Marshal(b, m, deterministic)
669
}
670 671 672 673 674 675 676 677
func (m *CreateQueryChannelRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CreateQueryChannelRequest.Merge(m, src)
}
func (m *CreateQueryChannelRequest) XXX_Size() int {
	return xxx_messageInfo_CreateQueryChannelRequest.Size(m)
}
func (m *CreateQueryChannelRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_CreateQueryChannelRequest.DiscardUnknown(m)
678 679
}

680
var xxx_messageInfo_CreateQueryChannelRequest proto.InternalMessageInfo
681

682
func (m *CreateQueryChannelRequest) GetCollectionID() int64 {
683
	if m != nil {
684
		return m.CollectionID
685 686 687 688
	}
	return 0
}

689 690 691 692 693 694 695
func (m *CreateQueryChannelRequest) GetProxyID() int64 {
	if m != nil {
		return m.ProxyID
	}
	return 0
}

696 697
type CreateQueryChannelResponse struct {
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
X
xige-16 已提交
698 699
	QueryChannel         string           `protobuf:"bytes,2,opt,name=query_channel,json=queryChannel,proto3" json:"query_channel,omitempty"`
	QueryResultChannel   string           `protobuf:"bytes,3,opt,name=query_result_channel,json=queryResultChannel,proto3" json:"query_result_channel,omitempty"`
700 701 702 703 704 705 706 707 708
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *CreateQueryChannelResponse) Reset()         { *m = CreateQueryChannelResponse{} }
func (m *CreateQueryChannelResponse) String() string { return proto.CompactTextString(m) }
func (*CreateQueryChannelResponse) ProtoMessage()    {}
func (*CreateQueryChannelResponse) Descriptor() ([]byte, []int) {
709
	return fileDescriptor_aab7cc9a69ed26e8, []int{9}
710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730
}

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

var xxx_messageInfo_CreateQueryChannelResponse proto.InternalMessageInfo

func (m *CreateQueryChannelResponse) GetStatus() *commonpb.Status {
731
	if m != nil {
732
		return m.Status
733
	}
734 735 736
	return nil
}

X
xige-16 已提交
737
func (m *CreateQueryChannelResponse) GetQueryChannel() string {
738
	if m != nil {
X
xige-16 已提交
739
		return m.QueryChannel
740 741 742 743
	}
	return ""
}

X
xige-16 已提交
744
func (m *CreateQueryChannelResponse) GetQueryResultChannel() string {
745
	if m != nil {
X
xige-16 已提交
746
		return m.QueryResultChannel
747 748
	}
	return ""
749 750
}

G
godchen 已提交
751
type GetPartitionStatesRequest struct {
752 753 754 755 756 757 758
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbID                 int64             `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
	CollectionID         int64             `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	PartitionIDs         []int64           `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
759 760
}

G
godchen 已提交
761 762 763 764
func (m *GetPartitionStatesRequest) Reset()         { *m = GetPartitionStatesRequest{} }
func (m *GetPartitionStatesRequest) String() string { return proto.CompactTextString(m) }
func (*GetPartitionStatesRequest) ProtoMessage()    {}
func (*GetPartitionStatesRequest) Descriptor() ([]byte, []int) {
765
	return fileDescriptor_aab7cc9a69ed26e8, []int{10}
766 767
}

G
godchen 已提交
768 769
func (m *GetPartitionStatesRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPartitionStatesRequest.Unmarshal(m, b)
770
}
G
godchen 已提交
771 772
func (m *GetPartitionStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPartitionStatesRequest.Marshal(b, m, deterministic)
773
}
G
godchen 已提交
774 775
func (m *GetPartitionStatesRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPartitionStatesRequest.Merge(m, src)
776
}
G
godchen 已提交
777 778
func (m *GetPartitionStatesRequest) XXX_Size() int {
	return xxx_messageInfo_GetPartitionStatesRequest.Size(m)
779
}
G
godchen 已提交
780 781
func (m *GetPartitionStatesRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPartitionStatesRequest.DiscardUnknown(m)
782 783
}

G
godchen 已提交
784
var xxx_messageInfo_GetPartitionStatesRequest proto.InternalMessageInfo
785

G
godchen 已提交
786
func (m *GetPartitionStatesRequest) GetBase() *commonpb.MsgBase {
787 788 789 790 791 792
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
793
func (m *GetPartitionStatesRequest) GetDbID() int64 {
794 795 796 797 798 799
	if m != nil {
		return m.DbID
	}
	return 0
}

G
godchen 已提交
800
func (m *GetPartitionStatesRequest) GetCollectionID() int64 {
801 802 803 804 805 806
	if m != nil {
		return m.CollectionID
	}
	return 0
}

G
godchen 已提交
807
func (m *GetPartitionStatesRequest) GetPartitionIDs() []int64 {
808 809 810 811 812 813
	if m != nil {
		return m.PartitionIDs
	}
	return nil
}

G
godchen 已提交
814
type GetPartitionStatesResponse struct {
X
xige-16 已提交
815 816
	Status                *commonpb.Status   `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	PartitionDescriptions []*PartitionStates `protobuf:"bytes,2,rep,name=partition_descriptions,json=partitionDescriptions,proto3" json:"partition_descriptions,omitempty"`
817 818 819 820 821
	XXX_NoUnkeyedLiteral  struct{}           `json:"-"`
	XXX_unrecognized      []byte             `json:"-"`
	XXX_sizecache         int32              `json:"-"`
}

G
godchen 已提交
822 823 824 825
func (m *GetPartitionStatesResponse) Reset()         { *m = GetPartitionStatesResponse{} }
func (m *GetPartitionStatesResponse) String() string { return proto.CompactTextString(m) }
func (*GetPartitionStatesResponse) ProtoMessage()    {}
func (*GetPartitionStatesResponse) Descriptor() ([]byte, []int) {
X
xige-16 已提交
826
	return fileDescriptor_aab7cc9a69ed26e8, []int{11}
827 828
}

G
godchen 已提交
829 830
func (m *GetPartitionStatesResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPartitionStatesResponse.Unmarshal(m, b)
831
}
G
godchen 已提交
832 833
func (m *GetPartitionStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPartitionStatesResponse.Marshal(b, m, deterministic)
834
}
G
godchen 已提交
835 836
func (m *GetPartitionStatesResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPartitionStatesResponse.Merge(m, src)
837
}
G
godchen 已提交
838 839
func (m *GetPartitionStatesResponse) XXX_Size() int {
	return xxx_messageInfo_GetPartitionStatesResponse.Size(m)
840
}
G
godchen 已提交
841 842
func (m *GetPartitionStatesResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPartitionStatesResponse.DiscardUnknown(m)
843 844
}

G
godchen 已提交
845
var xxx_messageInfo_GetPartitionStatesResponse proto.InternalMessageInfo
846

G
godchen 已提交
847
func (m *GetPartitionStatesResponse) GetStatus() *commonpb.Status {
X
xige-16 已提交
848 849 850 851 852 853
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
854
func (m *GetPartitionStatesResponse) GetPartitionDescriptions() []*PartitionStates {
855 856 857 858 859 860
	if m != nil {
		return m.PartitionDescriptions
	}
	return nil
}

861 862 863
type GetSegmentInfoRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	SegmentIDs           []int64           `protobuf:"varint,2,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
864
	CollectionID         int64             `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
865 866 867
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
868 869
}

870 871 872 873
func (m *GetSegmentInfoRequest) Reset()         { *m = GetSegmentInfoRequest{} }
func (m *GetSegmentInfoRequest) String() string { return proto.CompactTextString(m) }
func (*GetSegmentInfoRequest) ProtoMessage()    {}
func (*GetSegmentInfoRequest) Descriptor() ([]byte, []int) {
X
xige-16 已提交
874
	return fileDescriptor_aab7cc9a69ed26e8, []int{12}
875 876
}

877 878
func (m *GetSegmentInfoRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetSegmentInfoRequest.Unmarshal(m, b)
879
}
880 881
func (m *GetSegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetSegmentInfoRequest.Marshal(b, m, deterministic)
882
}
883 884
func (m *GetSegmentInfoRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetSegmentInfoRequest.Merge(m, src)
885
}
886 887
func (m *GetSegmentInfoRequest) XXX_Size() int {
	return xxx_messageInfo_GetSegmentInfoRequest.Size(m)
888
}
889 890
func (m *GetSegmentInfoRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetSegmentInfoRequest.DiscardUnknown(m)
891 892
}

893
var xxx_messageInfo_GetSegmentInfoRequest proto.InternalMessageInfo
894

895
func (m *GetSegmentInfoRequest) GetBase() *commonpb.MsgBase {
896 897 898 899 900 901
	if m != nil {
		return m.Base
	}
	return nil
}

902
func (m *GetSegmentInfoRequest) GetSegmentIDs() []int64 {
903
	if m != nil {
904 905 906 907 908
		return m.SegmentIDs
	}
	return nil
}

909 910 911 912 913 914 915
func (m *GetSegmentInfoRequest) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

916
type GetSegmentInfoResponse struct {
X
xige-16 已提交
917
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
918
	Infos                []*SegmentInfo   `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"`
X
xige-16 已提交
919 920 921
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
922 923
}

924 925 926 927
func (m *GetSegmentInfoResponse) Reset()         { *m = GetSegmentInfoResponse{} }
func (m *GetSegmentInfoResponse) String() string { return proto.CompactTextString(m) }
func (*GetSegmentInfoResponse) ProtoMessage()    {}
func (*GetSegmentInfoResponse) Descriptor() ([]byte, []int) {
X
xige-16 已提交
928
	return fileDescriptor_aab7cc9a69ed26e8, []int{13}
929 930
}

931 932
func (m *GetSegmentInfoResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetSegmentInfoResponse.Unmarshal(m, b)
933
}
934 935
func (m *GetSegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetSegmentInfoResponse.Marshal(b, m, deterministic)
936
}
937 938
func (m *GetSegmentInfoResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetSegmentInfoResponse.Merge(m, src)
939
}
940 941
func (m *GetSegmentInfoResponse) XXX_Size() int {
	return xxx_messageInfo_GetSegmentInfoResponse.Size(m)
942
}
943 944
func (m *GetSegmentInfoResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetSegmentInfoResponse.DiscardUnknown(m)
945 946
}

947
var xxx_messageInfo_GetSegmentInfoResponse proto.InternalMessageInfo
948

949
func (m *GetSegmentInfoResponse) GetStatus() *commonpb.Status {
X
xige-16 已提交
950 951 952 953 954 955
	if m != nil {
		return m.Status
	}
	return nil
}

956
func (m *GetSegmentInfoResponse) GetInfos() []*SegmentInfo {
957
	if m != nil {
958
		return m.Infos
959
	}
960
	return nil
961 962
}

963 964 965 966 967 968 969 970 971 972 973 974
type GetShardLeadersRequest 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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *GetShardLeadersRequest) Reset()         { *m = GetShardLeadersRequest{} }
func (m *GetShardLeadersRequest) String() string { return proto.CompactTextString(m) }
func (*GetShardLeadersRequest) ProtoMessage()    {}
func (*GetShardLeadersRequest) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
975
	return fileDescriptor_aab7cc9a69ed26e8, []int{14}
976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010
}

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

var xxx_messageInfo_GetShardLeadersRequest proto.InternalMessageInfo

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

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

type GetShardLeadersResponse struct {
1011 1012 1013 1014 1015
	Status               *commonpb.Status    `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Shards               []*ShardLeadersList `protobuf:"bytes,2,rep,name=shards,proto3" json:"shards,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
1016 1017 1018 1019 1020 1021
}

func (m *GetShardLeadersResponse) Reset()         { *m = GetShardLeadersResponse{} }
func (m *GetShardLeadersResponse) String() string { return proto.CompactTextString(m) }
func (*GetShardLeadersResponse) ProtoMessage()    {}
func (*GetShardLeadersResponse) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
1022
	return fileDescriptor_aab7cc9a69ed26e8, []int{15}
1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049
}

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

var xxx_messageInfo_GetShardLeadersResponse proto.InternalMessageInfo

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

1050
func (m *GetShardLeadersResponse) GetShards() []*ShardLeadersList {
1051
	if m != nil {
1052
		return m.Shards
1053 1054 1055 1056
	}
	return nil
}

1057
type ShardLeadersList struct {
1058
	ChannelName          string   `protobuf:"bytes,1,opt,name=channel_name,json=channelName,proto3" json:"channel_name,omitempty"`
1059 1060
	NodeIds              []int64  `protobuf:"varint,2,rep,packed,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
	NodeAddrs            []string `protobuf:"bytes,3,rep,name=node_addrs,json=nodeAddrs,proto3" json:"node_addrs,omitempty"`
1061 1062 1063 1064 1065
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

1066 1067 1068 1069
func (m *ShardLeadersList) Reset()         { *m = ShardLeadersList{} }
func (m *ShardLeadersList) String() string { return proto.CompactTextString(m) }
func (*ShardLeadersList) ProtoMessage()    {}
func (*ShardLeadersList) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
1070
	return fileDescriptor_aab7cc9a69ed26e8, []int{16}
1071 1072
}

1073 1074
func (m *ShardLeadersList) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShardLeadersList.Unmarshal(m, b)
1075
}
1076 1077
func (m *ShardLeadersList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShardLeadersList.Marshal(b, m, deterministic)
1078
}
1079 1080
func (m *ShardLeadersList) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShardLeadersList.Merge(m, src)
1081
}
1082 1083
func (m *ShardLeadersList) XXX_Size() int {
	return xxx_messageInfo_ShardLeadersList.Size(m)
1084
}
1085 1086
func (m *ShardLeadersList) XXX_DiscardUnknown() {
	xxx_messageInfo_ShardLeadersList.DiscardUnknown(m)
1087 1088
}

1089
var xxx_messageInfo_ShardLeadersList proto.InternalMessageInfo
1090

1091
func (m *ShardLeadersList) GetChannelName() string {
1092 1093 1094 1095 1096 1097
	if m != nil {
		return m.ChannelName
	}
	return ""
}

1098
func (m *ShardLeadersList) GetNodeIds() []int64 {
1099
	if m != nil {
1100
		return m.NodeIds
1101
	}
1102
	return nil
1103 1104
}

1105
func (m *ShardLeadersList) GetNodeAddrs() []string {
1106
	if m != nil {
1107
		return m.NodeAddrs
1108
	}
1109
	return nil
1110 1111
}

X
xige-16 已提交
1112
//-----------------query node grpc request and response proto----------------
G
godchen 已提交
1113
type AddQueryChannelRequest struct {
1114 1115 1116 1117 1118 1119 1120 1121 1122 1123
	Base                 *commonpb.MsgBase       `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	NodeID               int64                   `protobuf:"varint,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	CollectionID         int64                   `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	QueryChannel         string                  `protobuf:"bytes,4,opt,name=query_channel,json=queryChannel,proto3" json:"query_channel,omitempty"`
	QueryResultChannel   string                  `protobuf:"bytes,5,opt,name=query_result_channel,json=queryResultChannel,proto3" json:"query_result_channel,omitempty"`
	SeekPosition         *internalpb.MsgPosition `protobuf:"bytes,6,opt,name=seek_position,json=seekPosition,proto3" json:"seek_position,omitempty"`
	GlobalSealedSegments []*SegmentInfo          `protobuf:"bytes,7,rep,name=global_sealed_segments,json=globalSealedSegments,proto3" json:"global_sealed_segments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
1124 1125
}

G
godchen 已提交
1126 1127 1128 1129
func (m *AddQueryChannelRequest) Reset()         { *m = AddQueryChannelRequest{} }
func (m *AddQueryChannelRequest) String() string { return proto.CompactTextString(m) }
func (*AddQueryChannelRequest) ProtoMessage()    {}
func (*AddQueryChannelRequest) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
1130
	return fileDescriptor_aab7cc9a69ed26e8, []int{17}
1131 1132
}

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

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

G
godchen 已提交
1151
func (m *AddQueryChannelRequest) GetBase() *commonpb.MsgBase {
1152 1153 1154 1155 1156 1157
	if m != nil {
		return m.Base
	}
	return nil
}

1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171
func (m *AddQueryChannelRequest) GetNodeID() int64 {
	if m != nil {
		return m.NodeID
	}
	return 0
}

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

X
xige-16 已提交
1172
func (m *AddQueryChannelRequest) GetQueryChannel() string {
1173
	if m != nil {
X
xige-16 已提交
1174
		return m.QueryChannel
1175 1176 1177 1178
	}
	return ""
}

X
xige-16 已提交
1179
func (m *AddQueryChannelRequest) GetQueryResultChannel() string {
1180
	if m != nil {
X
xige-16 已提交
1181
		return m.QueryResultChannel
1182 1183 1184 1185
	}
	return ""
}

1186 1187 1188 1189 1190 1191 1192
func (m *AddQueryChannelRequest) GetSeekPosition() *internalpb.MsgPosition {
	if m != nil {
		return m.SeekPosition
	}
	return nil
}

1193 1194 1195 1196 1197 1198 1199
func (m *AddQueryChannelRequest) GetGlobalSealedSegments() []*SegmentInfo {
	if m != nil {
		return m.GlobalSealedSegments
	}
	return nil
}

G
godchen 已提交
1200
type RemoveQueryChannelRequest struct {
1201 1202 1203
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	NodeID               int64             `protobuf:"varint,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	CollectionID         int64             `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
X
xige-16 已提交
1204 1205
	QueryChannel         string            `protobuf:"bytes,4,opt,name=query_channel,json=queryChannel,proto3" json:"query_channel,omitempty"`
	QueryResultChannel   string            `protobuf:"bytes,5,opt,name=query_result_channel,json=queryResultChannel,proto3" json:"query_result_channel,omitempty"`
1206 1207 1208
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
1209 1210
}

G
godchen 已提交
1211 1212 1213 1214
func (m *RemoveQueryChannelRequest) Reset()         { *m = RemoveQueryChannelRequest{} }
func (m *RemoveQueryChannelRequest) String() string { return proto.CompactTextString(m) }
func (*RemoveQueryChannelRequest) ProtoMessage()    {}
func (*RemoveQueryChannelRequest) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
1215
	return fileDescriptor_aab7cc9a69ed26e8, []int{18}
1216 1217
}

G
godchen 已提交
1218 1219
func (m *RemoveQueryChannelRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_RemoveQueryChannelRequest.Unmarshal(m, b)
1220
}
G
godchen 已提交
1221 1222
func (m *RemoveQueryChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_RemoveQueryChannelRequest.Marshal(b, m, deterministic)
1223
}
G
godchen 已提交
1224 1225
func (m *RemoveQueryChannelRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_RemoveQueryChannelRequest.Merge(m, src)
1226
}
G
godchen 已提交
1227 1228
func (m *RemoveQueryChannelRequest) XXX_Size() int {
	return xxx_messageInfo_RemoveQueryChannelRequest.Size(m)
1229
}
G
godchen 已提交
1230 1231
func (m *RemoveQueryChannelRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_RemoveQueryChannelRequest.DiscardUnknown(m)
1232 1233
}

G
godchen 已提交
1234
var xxx_messageInfo_RemoveQueryChannelRequest proto.InternalMessageInfo
1235

1236
func (m *RemoveQueryChannelRequest) GetBase() *commonpb.MsgBase {
X
xige-16 已提交
1237
	if m != nil {
1238
		return m.Base
X
xige-16 已提交
1239 1240 1241 1242
	}
	return nil
}

1243
func (m *RemoveQueryChannelRequest) GetNodeID() int64 {
1244
	if m != nil {
1245
		return m.NodeID
1246
	}
1247 1248 1249 1250 1251 1252 1253 1254
	return 0
}

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

X
xige-16 已提交
1257
func (m *RemoveQueryChannelRequest) GetQueryChannel() string {
1258
	if m != nil {
X
xige-16 已提交
1259
		return m.QueryChannel
1260 1261 1262 1263
	}
	return ""
}

X
xige-16 已提交
1264
func (m *RemoveQueryChannelRequest) GetQueryResultChannel() string {
1265
	if m != nil {
X
xige-16 已提交
1266
		return m.QueryResultChannel
1267 1268 1269 1270
	}
	return ""
}

1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283
type LoadMetaInfo struct {
	LoadType             LoadType `protobuf:"varint,1,opt,name=load_type,json=loadType,proto3,enum=milvus.proto.query.LoadType" json:"load_type,omitempty"`
	CollectionID         int64    `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	PartitionIDs         []int64  `protobuf:"varint,3,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LoadMetaInfo) Reset()         { *m = LoadMetaInfo{} }
func (m *LoadMetaInfo) String() string { return proto.CompactTextString(m) }
func (*LoadMetaInfo) ProtoMessage()    {}
func (*LoadMetaInfo) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
1284
	return fileDescriptor_aab7cc9a69ed26e8, []int{19}
1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325
}

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

var xxx_messageInfo_LoadMetaInfo proto.InternalMessageInfo

func (m *LoadMetaInfo) GetLoadType() LoadType {
	if m != nil {
		return m.LoadType
	}
	return LoadType_UnKnownType
}

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

func (m *LoadMetaInfo) GetPartitionIDs() []int64 {
	if m != nil {
		return m.PartitionIDs
	}
	return nil
}

1326 1327 1328 1329
type WatchDmChannelsRequest struct {
	Base                 *commonpb.MsgBase          `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	NodeID               int64                      `protobuf:"varint,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	CollectionID         int64                      `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
1330
	PartitionIDs         []int64                    `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
1331
	Infos                []*datapb.VchannelInfo     `protobuf:"bytes,5,rep,name=infos,proto3" json:"infos,omitempty"`
1332
	Schema               *schemapb.CollectionSchema `protobuf:"bytes,6,opt,name=schema,proto3" json:"schema,omitempty"`
1333
	ExcludeInfos         []*datapb.SegmentInfo      `protobuf:"bytes,7,rep,name=exclude_infos,json=excludeInfos,proto3" json:"exclude_infos,omitempty"`
1334
	LoadMeta             *LoadMetaInfo              `protobuf:"bytes,8,opt,name=load_meta,json=loadMeta,proto3" json:"load_meta,omitempty"`
1335
	ReplicaID            int64                      `protobuf:"varint,9,opt,name=replicaID,proto3" json:"replicaID,omitempty"`
1336 1337 1338
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
1339 1340
}

1341 1342 1343 1344
func (m *WatchDmChannelsRequest) Reset()         { *m = WatchDmChannelsRequest{} }
func (m *WatchDmChannelsRequest) String() string { return proto.CompactTextString(m) }
func (*WatchDmChannelsRequest) ProtoMessage()    {}
func (*WatchDmChannelsRequest) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
1345
	return fileDescriptor_aab7cc9a69ed26e8, []int{20}
1346 1347
}

1348 1349
func (m *WatchDmChannelsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_WatchDmChannelsRequest.Unmarshal(m, b)
1350
}
1351 1352
func (m *WatchDmChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_WatchDmChannelsRequest.Marshal(b, m, deterministic)
1353
}
1354 1355
func (m *WatchDmChannelsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_WatchDmChannelsRequest.Merge(m, src)
1356
}
1357 1358
func (m *WatchDmChannelsRequest) XXX_Size() int {
	return xxx_messageInfo_WatchDmChannelsRequest.Size(m)
1359
}
1360 1361
func (m *WatchDmChannelsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_WatchDmChannelsRequest.DiscardUnknown(m)
1362 1363
}

1364
var xxx_messageInfo_WatchDmChannelsRequest proto.InternalMessageInfo
1365

1366
func (m *WatchDmChannelsRequest) GetBase() *commonpb.MsgBase {
1367
	if m != nil {
1368
		return m.Base
1369
	}
1370
	return nil
1371 1372
}

1373
func (m *WatchDmChannelsRequest) GetNodeID() int64 {
1374
	if m != nil {
1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386
		return m.NodeID
	}
	return 0
}

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

1387
func (m *WatchDmChannelsRequest) GetPartitionIDs() []int64 {
1388
	if m != nil {
1389
		return m.PartitionIDs
1390
	}
1391
	return nil
1392 1393
}

1394
func (m *WatchDmChannelsRequest) GetInfos() []*datapb.VchannelInfo {
1395 1396
	if m != nil {
		return m.Infos
1397 1398 1399 1400
	}
	return nil
}

1401
func (m *WatchDmChannelsRequest) GetSchema() *schemapb.CollectionSchema {
1402
	if m != nil {
1403
		return m.Schema
1404 1405 1406 1407
	}
	return nil
}

1408
func (m *WatchDmChannelsRequest) GetExcludeInfos() []*datapb.SegmentInfo {
1409 1410 1411 1412
	if m != nil {
		return m.ExcludeInfos
	}
	return nil
1413 1414
}

1415 1416 1417 1418 1419 1420 1421
func (m *WatchDmChannelsRequest) GetLoadMeta() *LoadMetaInfo {
	if m != nil {
		return m.LoadMeta
	}
	return nil
}

1422 1423 1424 1425 1426 1427 1428
func (m *WatchDmChannelsRequest) GetReplicaID() int64 {
	if m != nil {
		return m.ReplicaID
	}
	return 0
}

1429 1430 1431 1432 1433
type WatchDeltaChannelsRequest struct {
	Base                 *commonpb.MsgBase      `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	NodeID               int64                  `protobuf:"varint,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	CollectionID         int64                  `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	Infos                []*datapb.VchannelInfo `protobuf:"bytes,4,rep,name=infos,proto3" json:"infos,omitempty"`
1434
	LoadMeta             *LoadMetaInfo          `protobuf:"bytes,9,opt,name=load_meta,json=loadMeta,proto3" json:"load_meta,omitempty"`
1435 1436 1437 1438 1439 1440 1441 1442 1443
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (m *WatchDeltaChannelsRequest) Reset()         { *m = WatchDeltaChannelsRequest{} }
func (m *WatchDeltaChannelsRequest) String() string { return proto.CompactTextString(m) }
func (*WatchDeltaChannelsRequest) ProtoMessage()    {}
func (*WatchDeltaChannelsRequest) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
1444
	return fileDescriptor_aab7cc9a69ed26e8, []int{21}
1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492
}

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

var xxx_messageInfo_WatchDeltaChannelsRequest proto.InternalMessageInfo

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

func (m *WatchDeltaChannelsRequest) GetNodeID() int64 {
	if m != nil {
		return m.NodeID
	}
	return 0
}

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

func (m *WatchDeltaChannelsRequest) GetInfos() []*datapb.VchannelInfo {
	if m != nil {
		return m.Infos
	}
	return nil
}

1493 1494 1495 1496 1497 1498 1499
func (m *WatchDeltaChannelsRequest) GetLoadMeta() *LoadMetaInfo {
	if m != nil {
		return m.LoadMeta
	}
	return nil
}

1500
type SegmentLoadInfo struct {
1501 1502 1503 1504 1505 1506 1507 1508 1509 1510
	SegmentID            int64                 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
	PartitionID          int64                 `protobuf:"varint,2,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
	CollectionID         int64                 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	DbID                 int64                 `protobuf:"varint,4,opt,name=dbID,proto3" json:"dbID,omitempty"`
	FlushTime            int64                 `protobuf:"varint,5,opt,name=flush_time,json=flushTime,proto3" json:"flush_time,omitempty"`
	BinlogPaths          []*datapb.FieldBinlog `protobuf:"bytes,6,rep,name=binlog_paths,json=binlogPaths,proto3" json:"binlog_paths,omitempty"`
	NumOfRows            int64                 `protobuf:"varint,7,opt,name=num_of_rows,json=numOfRows,proto3" json:"num_of_rows,omitempty"`
	Statslogs            []*datapb.FieldBinlog `protobuf:"bytes,8,rep,name=statslogs,proto3" json:"statslogs,omitempty"`
	Deltalogs            []*datapb.FieldBinlog `protobuf:"bytes,9,rep,name=deltalogs,proto3" json:"deltalogs,omitempty"`
	CompactionFrom       []int64               `protobuf:"varint,10,rep,packed,name=compactionFrom,proto3" json:"compactionFrom,omitempty"`
1511
	IndexInfos           []*FieldIndexInfo     `protobuf:"bytes,11,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"`
1512
	SegmentSize          int64                 `protobuf:"varint,12,opt,name=segment_size,json=segmentSize,proto3" json:"segment_size,omitempty"`
1513
	InsertChannel        string                `protobuf:"bytes,13,opt,name=insert_channel,json=insertChannel,proto3" json:"insert_channel,omitempty"`
1514 1515 1516
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
1517 1518
}

1519 1520 1521 1522
func (m *SegmentLoadInfo) Reset()         { *m = SegmentLoadInfo{} }
func (m *SegmentLoadInfo) String() string { return proto.CompactTextString(m) }
func (*SegmentLoadInfo) ProtoMessage()    {}
func (*SegmentLoadInfo) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
1523
	return fileDescriptor_aab7cc9a69ed26e8, []int{22}
1524
}
1525 1526 1527

func (m *SegmentLoadInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SegmentLoadInfo.Unmarshal(m, b)
1528
}
1529 1530
func (m *SegmentLoadInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SegmentLoadInfo.Marshal(b, m, deterministic)
1531
}
1532 1533
func (m *SegmentLoadInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SegmentLoadInfo.Merge(m, src)
1534
}
1535 1536 1537 1538 1539
func (m *SegmentLoadInfo) XXX_Size() int {
	return xxx_messageInfo_SegmentLoadInfo.Size(m)
}
func (m *SegmentLoadInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_SegmentLoadInfo.DiscardUnknown(m)
1540 1541
}

1542
var xxx_messageInfo_SegmentLoadInfo proto.InternalMessageInfo
1543

1544
func (m *SegmentLoadInfo) GetSegmentID() int64 {
1545
	if m != nil {
1546
		return m.SegmentID
1547
	}
1548
	return 0
1549 1550
}

1551 1552 1553 1554 1555 1556 1557 1558
func (m *SegmentLoadInfo) GetPartitionID() int64 {
	if m != nil {
		return m.PartitionID
	}
	return 0
}

func (m *SegmentLoadInfo) GetCollectionID() int64 {
1559 1560 1561 1562 1563 1564
	if m != nil {
		return m.CollectionID
	}
	return 0
}

1565
func (m *SegmentLoadInfo) GetDbID() int64 {
1566
	if m != nil {
1567
		return m.DbID
1568
	}
1569
	return 0
1570 1571
}

1572
func (m *SegmentLoadInfo) GetFlushTime() int64 {
1573
	if m != nil {
1574 1575 1576 1577 1578
		return m.FlushTime
	}
	return 0
}

1579
func (m *SegmentLoadInfo) GetBinlogPaths() []*datapb.FieldBinlog {
1580 1581
	if m != nil {
		return m.BinlogPaths
1582 1583 1584 1585
	}
	return nil
}

1586 1587 1588 1589 1590 1591 1592
func (m *SegmentLoadInfo) GetNumOfRows() int64 {
	if m != nil {
		return m.NumOfRows
	}
	return 0
}

1593 1594 1595 1596 1597 1598 1599
func (m *SegmentLoadInfo) GetStatslogs() []*datapb.FieldBinlog {
	if m != nil {
		return m.Statslogs
	}
	return nil
}

1600
func (m *SegmentLoadInfo) GetDeltalogs() []*datapb.FieldBinlog {
1601 1602 1603 1604 1605 1606
	if m != nil {
		return m.Deltalogs
	}
	return nil
}

1607 1608 1609 1610 1611 1612 1613
func (m *SegmentLoadInfo) GetCompactionFrom() []int64 {
	if m != nil {
		return m.CompactionFrom
	}
	return nil
}

1614
func (m *SegmentLoadInfo) GetIndexInfos() []*FieldIndexInfo {
1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627
	if m != nil {
		return m.IndexInfos
	}
	return nil
}

func (m *SegmentLoadInfo) GetSegmentSize() int64 {
	if m != nil {
		return m.SegmentSize
	}
	return 0
}

1628 1629 1630 1631 1632 1633 1634
func (m *SegmentLoadInfo) GetInsertChannel() string {
	if m != nil {
		return m.InsertChannel
	}
	return ""
}

1635
type FieldIndexInfo struct {
1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648
	FieldID              int64                    `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
	EnableIndex          bool                     `protobuf:"varint,2,opt,name=enable_index,json=enableIndex,proto3" json:"enable_index,omitempty"`
	IndexName            string                   `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	IndexID              int64                    `protobuf:"varint,4,opt,name=indexID,proto3" json:"indexID,omitempty"`
	BuildID              int64                    `protobuf:"varint,5,opt,name=buildID,proto3" json:"buildID,omitempty"`
	IndexParams          []*commonpb.KeyValuePair `protobuf:"bytes,6,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"`
	IndexFilePaths       []string                 `protobuf:"bytes,7,rep,name=index_file_paths,json=indexFilePaths,proto3" json:"index_file_paths,omitempty"`
	IndexSize            int64                    `protobuf:"varint,8,opt,name=index_size,json=indexSize,proto3" json:"index_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

1649 1650 1651 1652
func (m *FieldIndexInfo) Reset()         { *m = FieldIndexInfo{} }
func (m *FieldIndexInfo) String() string { return proto.CompactTextString(m) }
func (*FieldIndexInfo) ProtoMessage()    {}
func (*FieldIndexInfo) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
1653
	return fileDescriptor_aab7cc9a69ed26e8, []int{23}
1654 1655
}

1656 1657
func (m *FieldIndexInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FieldIndexInfo.Unmarshal(m, b)
1658
}
1659 1660
func (m *FieldIndexInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FieldIndexInfo.Marshal(b, m, deterministic)
1661
}
1662 1663
func (m *FieldIndexInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FieldIndexInfo.Merge(m, src)
1664
}
1665 1666
func (m *FieldIndexInfo) XXX_Size() int {
	return xxx_messageInfo_FieldIndexInfo.Size(m)
1667
}
1668 1669
func (m *FieldIndexInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_FieldIndexInfo.DiscardUnknown(m)
1670 1671
}

1672
var xxx_messageInfo_FieldIndexInfo proto.InternalMessageInfo
1673

1674
func (m *FieldIndexInfo) GetFieldID() int64 {
1675 1676 1677 1678 1679 1680
	if m != nil {
		return m.FieldID
	}
	return 0
}

1681
func (m *FieldIndexInfo) GetEnableIndex() bool {
1682 1683 1684 1685 1686 1687
	if m != nil {
		return m.EnableIndex
	}
	return false
}

1688
func (m *FieldIndexInfo) GetIndexName() string {
1689 1690 1691 1692 1693 1694
	if m != nil {
		return m.IndexName
	}
	return ""
}

1695
func (m *FieldIndexInfo) GetIndexID() int64 {
1696 1697 1698 1699 1700 1701
	if m != nil {
		return m.IndexID
	}
	return 0
}

1702
func (m *FieldIndexInfo) GetBuildID() int64 {
1703
	if m != nil {
1704 1705 1706 1707 1708
		return m.BuildID
	}
	return 0
}

1709
func (m *FieldIndexInfo) GetIndexParams() []*commonpb.KeyValuePair {
1710 1711 1712 1713 1714 1715
	if m != nil {
		return m.IndexParams
	}
	return nil
}

1716
func (m *FieldIndexInfo) GetIndexFilePaths() []string {
1717 1718
	if m != nil {
		return m.IndexFilePaths
1719 1720 1721 1722
	}
	return nil
}

1723
func (m *FieldIndexInfo) GetIndexSize() int64 {
1724 1725 1726 1727 1728 1729
	if m != nil {
		return m.IndexSize
	}
	return 0
}

G
godchen 已提交
1730
type LoadSegmentsRequest struct {
1731
	Base                 *commonpb.MsgBase          `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
1732
	DstNodeID            int64                      `protobuf:"varint,2,opt,name=dst_nodeID,json=dstNodeID,proto3" json:"dst_nodeID,omitempty"`
1733 1734
	Infos                []*SegmentLoadInfo         `protobuf:"bytes,3,rep,name=infos,proto3" json:"infos,omitempty"`
	Schema               *schemapb.CollectionSchema `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
X
xige-16 已提交
1735 1736
	SourceNodeID         int64                      `protobuf:"varint,5,opt,name=source_nodeID,json=sourceNodeID,proto3" json:"source_nodeID,omitempty"`
	CollectionID         int64                      `protobuf:"varint,6,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
1737
	LoadMeta             *LoadMetaInfo              `protobuf:"bytes,7,opt,name=load_meta,json=loadMeta,proto3" json:"load_meta,omitempty"`
1738
	ReplicaID            int64                      `protobuf:"varint,8,opt,name=replicaID,proto3" json:"replicaID,omitempty"`
1739 1740 1741
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
1742 1743
}

G
godchen 已提交
1744 1745 1746 1747
func (m *LoadSegmentsRequest) Reset()         { *m = LoadSegmentsRequest{} }
func (m *LoadSegmentsRequest) String() string { return proto.CompactTextString(m) }
func (*LoadSegmentsRequest) ProtoMessage()    {}
func (*LoadSegmentsRequest) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
1748
	return fileDescriptor_aab7cc9a69ed26e8, []int{24}
1749 1750
}

G
godchen 已提交
1751 1752
func (m *LoadSegmentsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LoadSegmentsRequest.Unmarshal(m, b)
1753
}
G
godchen 已提交
1754 1755
func (m *LoadSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LoadSegmentsRequest.Marshal(b, m, deterministic)
1756
}
G
godchen 已提交
1757 1758
func (m *LoadSegmentsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LoadSegmentsRequest.Merge(m, src)
1759
}
G
godchen 已提交
1760 1761
func (m *LoadSegmentsRequest) XXX_Size() int {
	return xxx_messageInfo_LoadSegmentsRequest.Size(m)
1762
}
G
godchen 已提交
1763 1764
func (m *LoadSegmentsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_LoadSegmentsRequest.DiscardUnknown(m)
1765 1766
}

G
godchen 已提交
1767
var xxx_messageInfo_LoadSegmentsRequest proto.InternalMessageInfo
1768

G
godchen 已提交
1769
func (m *LoadSegmentsRequest) GetBase() *commonpb.MsgBase {
1770 1771 1772 1773 1774 1775
	if m != nil {
		return m.Base
	}
	return nil
}

1776
func (m *LoadSegmentsRequest) GetDstNodeID() int64 {
1777
	if m != nil {
1778
		return m.DstNodeID
1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796
	}
	return 0
}

func (m *LoadSegmentsRequest) GetInfos() []*SegmentLoadInfo {
	if m != nil {
		return m.Infos
	}
	return nil
}

func (m *LoadSegmentsRequest) GetSchema() *schemapb.CollectionSchema {
	if m != nil {
		return m.Schema
	}
	return nil
}

1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810
func (m *LoadSegmentsRequest) GetSourceNodeID() int64 {
	if m != nil {
		return m.SourceNodeID
	}
	return 0
}

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

1811 1812 1813 1814 1815 1816 1817
func (m *LoadSegmentsRequest) GetLoadMeta() *LoadMetaInfo {
	if m != nil {
		return m.LoadMeta
	}
	return nil
}

1818 1819 1820 1821 1822 1823 1824
func (m *LoadSegmentsRequest) GetReplicaID() int64 {
	if m != nil {
		return m.ReplicaID
	}
	return 0
}

1825
type ReleaseSegmentsRequest struct {
C
Cai Yudong 已提交
1826 1827 1828 1829 1830 1831 1832 1833 1834 1835
	Base   *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	NodeID int64             `protobuf:"varint,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	// Not useful for now
	DbID                 int64    `protobuf:"varint,3,opt,name=dbID,proto3" json:"dbID,omitempty"`
	CollectionID         int64    `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	PartitionIDs         []int64  `protobuf:"varint,5,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
	SegmentIDs           []int64  `protobuf:"varint,6,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1836 1837 1838 1839 1840 1841
}

func (m *ReleaseSegmentsRequest) Reset()         { *m = ReleaseSegmentsRequest{} }
func (m *ReleaseSegmentsRequest) String() string { return proto.CompactTextString(m) }
func (*ReleaseSegmentsRequest) ProtoMessage()    {}
func (*ReleaseSegmentsRequest) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
1842
	return fileDescriptor_aab7cc9a69ed26e8, []int{25}
1843 1844 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
}

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

var xxx_messageInfo_ReleaseSegmentsRequest proto.InternalMessageInfo

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

func (m *ReleaseSegmentsRequest) GetNodeID() int64 {
	if m != nil {
		return m.NodeID
	}
	return 0
}

func (m *ReleaseSegmentsRequest) GetDbID() int64 {
1878 1879 1880 1881 1882 1883
	if m != nil {
		return m.DbID
	}
	return 0
}

1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904
func (m *ReleaseSegmentsRequest) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

func (m *ReleaseSegmentsRequest) GetPartitionIDs() []int64 {
	if m != nil {
		return m.PartitionIDs
	}
	return nil
}

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

1905
type SearchRequest struct {
1906 1907 1908 1909 1910 1911
	Req                  *internalpb.SearchRequest `protobuf:"bytes,1,opt,name=req,proto3" json:"req,omitempty"`
	DmlChannel           string                    `protobuf:"bytes,2,opt,name=dml_channel,json=dmlChannel,proto3" json:"dml_channel,omitempty"`
	SegmentIDs           []int64                   `protobuf:"varint,3,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
1912 1913 1914 1915 1916 1917
}

func (m *SearchRequest) Reset()         { *m = SearchRequest{} }
func (m *SearchRequest) String() string { return proto.CompactTextString(m) }
func (*SearchRequest) ProtoMessage()    {}
func (*SearchRequest) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
1918
	return fileDescriptor_aab7cc9a69ed26e8, []int{26}
1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938
}

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

1939
func (m *SearchRequest) GetReq() *internalpb.SearchRequest {
1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960
	if m != nil {
		return m.Req
	}
	return nil
}

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

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

type QueryRequest struct {
1961 1962 1963 1964 1965 1966
	Req                  *internalpb.RetrieveRequest `protobuf:"bytes,1,opt,name=req,proto3" json:"req,omitempty"`
	DmlChannel           string                      `protobuf:"bytes,2,opt,name=dml_channel,json=dmlChannel,proto3" json:"dml_channel,omitempty"`
	SegmentIDs           []int64                     `protobuf:"varint,3,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
1967 1968 1969 1970 1971 1972
}

func (m *QueryRequest) Reset()         { *m = QueryRequest{} }
func (m *QueryRequest) String() string { return proto.CompactTextString(m) }
func (*QueryRequest) ProtoMessage()    {}
func (*QueryRequest) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
1973
	return fileDescriptor_aab7cc9a69ed26e8, []int{27}
1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993
}

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

1994
func (m *QueryRequest) GetReq() *internalpb.RetrieveRequest {
1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014
	if m != nil {
		return m.Req
	}
	return nil
}

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

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

X
xige-16 已提交
2015 2016 2017 2018 2019 2020 2021
//----------------request auto triggered by QueryCoord-----------------
type HandoffSegmentsRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	SegmentInfos         []*SegmentInfo    `protobuf:"bytes,2,rep,name=segmentInfos,proto3" json:"segmentInfos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
2022 2023
}

X
xige-16 已提交
2024 2025 2026 2027
func (m *HandoffSegmentsRequest) Reset()         { *m = HandoffSegmentsRequest{} }
func (m *HandoffSegmentsRequest) String() string { return proto.CompactTextString(m) }
func (*HandoffSegmentsRequest) ProtoMessage()    {}
func (*HandoffSegmentsRequest) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
2028
	return fileDescriptor_aab7cc9a69ed26e8, []int{28}
2029 2030
}

X
xige-16 已提交
2031 2032
func (m *HandoffSegmentsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_HandoffSegmentsRequest.Unmarshal(m, b)
2033
}
X
xige-16 已提交
2034 2035
func (m *HandoffSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_HandoffSegmentsRequest.Marshal(b, m, deterministic)
2036
}
X
xige-16 已提交
2037 2038
func (m *HandoffSegmentsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_HandoffSegmentsRequest.Merge(m, src)
2039
}
X
xige-16 已提交
2040 2041 2042 2043 2044
func (m *HandoffSegmentsRequest) XXX_Size() int {
	return xxx_messageInfo_HandoffSegmentsRequest.Size(m)
}
func (m *HandoffSegmentsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_HandoffSegmentsRequest.DiscardUnknown(m)
2045 2046
}

X
xige-16 已提交
2047
var xxx_messageInfo_HandoffSegmentsRequest proto.InternalMessageInfo
2048

X
xige-16 已提交
2049
func (m *HandoffSegmentsRequest) GetBase() *commonpb.MsgBase {
2050
	if m != nil {
X
xige-16 已提交
2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068
		return m.Base
	}
	return nil
}

func (m *HandoffSegmentsRequest) GetSegmentInfos() []*SegmentInfo {
	if m != nil {
		return m.SegmentInfos
	}
	return nil
}

type LoadBalanceRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	SourceNodeIDs        []int64           `protobuf:"varint,2,rep,packed,name=source_nodeIDs,json=sourceNodeIDs,proto3" json:"source_nodeIDs,omitempty"`
	BalanceReason        TriggerCondition  `protobuf:"varint,3,opt,name=balance_reason,json=balanceReason,proto3,enum=milvus.proto.query.TriggerCondition" json:"balance_reason,omitempty"`
	DstNodeIDs           []int64           `protobuf:"varint,4,rep,packed,name=dst_nodeIDs,json=dstNodeIDs,proto3" json:"dst_nodeIDs,omitempty"`
	SealedSegmentIDs     []int64           `protobuf:"varint,5,rep,packed,name=sealed_segmentIDs,json=sealedSegmentIDs,proto3" json:"sealed_segmentIDs,omitempty"`
2069
	CollectionID         int64             `protobuf:"varint,6,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
X
xige-16 已提交
2070 2071 2072 2073 2074 2075 2076 2077 2078
	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) {
X
XuanYang-cn 已提交
2079
	return fileDescriptor_aab7cc9a69ed26e8, []int{29}
X
xige-16 已提交
2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 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
}

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) GetSourceNodeIDs() []int64 {
	if m != nil {
		return m.SourceNodeIDs
	}
	return nil
}

func (m *LoadBalanceRequest) GetBalanceReason() TriggerCondition {
	if m != nil {
		return m.BalanceReason
	}
	return TriggerCondition_UnKnowCondition
}

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
}

2135 2136 2137 2138 2139 2140 2141
func (m *LoadBalanceRequest) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

X
xige-16 已提交
2142 2143
type DmChannelWatchInfo struct {
	CollectionID         int64    `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
2144 2145
	DmChannel            string   `protobuf:"bytes,2,opt,name=dmChannel,proto3" json:"dmChannel,omitempty"`
	NodeIDLoaded         int64    `protobuf:"varint,3,opt,name=nodeID_loaded,json=nodeIDLoaded,proto3" json:"nodeID_loaded,omitempty"`
2146
	ReplicaID            int64    `protobuf:"varint,4,opt,name=replicaID,proto3" json:"replicaID,omitempty"`
X
xige-16 已提交
2147 2148 2149 2150 2151 2152 2153 2154 2155
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DmChannelWatchInfo) Reset()         { *m = DmChannelWatchInfo{} }
func (m *DmChannelWatchInfo) String() string { return proto.CompactTextString(m) }
func (*DmChannelWatchInfo) ProtoMessage()    {}
func (*DmChannelWatchInfo) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
2156
	return fileDescriptor_aab7cc9a69ed26e8, []int{30}
X
xige-16 已提交
2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179
}

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

var xxx_messageInfo_DmChannelWatchInfo proto.InternalMessageInfo

func (m *DmChannelWatchInfo) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
2180 2181 2182 2183
	}
	return 0
}

X
xige-16 已提交
2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197
func (m *DmChannelWatchInfo) GetDmChannel() string {
	if m != nil {
		return m.DmChannel
	}
	return ""
}

func (m *DmChannelWatchInfo) GetNodeIDLoaded() int64 {
	if m != nil {
		return m.NodeIDLoaded
	}
	return 0
}

2198 2199 2200 2201 2202 2203 2204
func (m *DmChannelWatchInfo) GetReplicaID() int64 {
	if m != nil {
		return m.ReplicaID
	}
	return 0
}

2205
type QueryChannelInfo struct {
2206
	CollectionID         int64                   `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
X
xige-16 已提交
2207 2208
	QueryChannel         string                  `protobuf:"bytes,2,opt,name=query_channel,json=queryChannel,proto3" json:"query_channel,omitempty"`
	QueryResultChannel   string                  `protobuf:"bytes,3,opt,name=query_result_channel,json=queryResultChannel,proto3" json:"query_result_channel,omitempty"`
2209 2210 2211 2212 2213
	GlobalSealedSegments []*SegmentInfo          `protobuf:"bytes,4,rep,name=global_sealed_segments,json=globalSealedSegments,proto3" json:"global_sealed_segments,omitempty"`
	SeekPosition         *internalpb.MsgPosition `protobuf:"bytes,5,opt,name=seek_position,json=seekPosition,proto3" json:"seek_position,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
2214 2215 2216 2217 2218 2219
}

func (m *QueryChannelInfo) Reset()         { *m = QueryChannelInfo{} }
func (m *QueryChannelInfo) String() string { return proto.CompactTextString(m) }
func (*QueryChannelInfo) ProtoMessage()    {}
func (*QueryChannelInfo) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
2220
	return fileDescriptor_aab7cc9a69ed26e8, []int{31}
2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247
}

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

var xxx_messageInfo_QueryChannelInfo proto.InternalMessageInfo

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

X
xige-16 已提交
2248
func (m *QueryChannelInfo) GetQueryChannel() string {
2249
	if m != nil {
X
xige-16 已提交
2250
		return m.QueryChannel
2251 2252 2253 2254
	}
	return ""
}

X
xige-16 已提交
2255
func (m *QueryChannelInfo) GetQueryResultChannel() string {
2256
	if m != nil {
X
xige-16 已提交
2257
		return m.QueryResultChannel
2258 2259 2260 2261
	}
	return ""
}

2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275
func (m *QueryChannelInfo) GetGlobalSealedSegments() []*SegmentInfo {
	if m != nil {
		return m.GlobalSealedSegments
	}
	return nil
}

func (m *QueryChannelInfo) GetSeekPosition() *internalpb.MsgPosition {
	if m != nil {
		return m.SeekPosition
	}
	return nil
}

X
xige-16 已提交
2276 2277 2278 2279 2280 2281 2282
type PartitionStates struct {
	PartitionID          int64          `protobuf:"varint,1,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
	State                PartitionState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.query.PartitionState" json:"state,omitempty"`
	InMemoryPercentage   int64          `protobuf:"varint,3,opt,name=inMemory_percentage,json=inMemoryPercentage,proto3" json:"inMemory_percentage,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
2283 2284
}

X
xige-16 已提交
2285 2286 2287 2288
func (m *PartitionStates) Reset()         { *m = PartitionStates{} }
func (m *PartitionStates) String() string { return proto.CompactTextString(m) }
func (*PartitionStates) ProtoMessage()    {}
func (*PartitionStates) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
2289
	return fileDescriptor_aab7cc9a69ed26e8, []int{32}
2290 2291
}

X
xige-16 已提交
2292 2293
func (m *PartitionStates) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_PartitionStates.Unmarshal(m, b)
2294
}
X
xige-16 已提交
2295 2296
func (m *PartitionStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_PartitionStates.Marshal(b, m, deterministic)
2297
}
X
xige-16 已提交
2298 2299
func (m *PartitionStates) XXX_Merge(src proto.Message) {
	xxx_messageInfo_PartitionStates.Merge(m, src)
2300
}
X
xige-16 已提交
2301 2302
func (m *PartitionStates) XXX_Size() int {
	return xxx_messageInfo_PartitionStates.Size(m)
2303
}
X
xige-16 已提交
2304 2305
func (m *PartitionStates) XXX_DiscardUnknown() {
	xxx_messageInfo_PartitionStates.DiscardUnknown(m)
2306 2307
}

X
xige-16 已提交
2308
var xxx_messageInfo_PartitionStates proto.InternalMessageInfo
2309

X
xige-16 已提交
2310
func (m *PartitionStates) GetPartitionID() int64 {
2311
	if m != nil {
X
xige-16 已提交
2312
		return m.PartitionID
2313 2314 2315 2316
	}
	return 0
}

X
xige-16 已提交
2317
func (m *PartitionStates) GetState() PartitionState {
2318
	if m != nil {
X
xige-16 已提交
2319
		return m.State
2320
	}
X
xige-16 已提交
2321
	return PartitionState_NotExist
2322 2323
}

X
xige-16 已提交
2324
func (m *PartitionStates) GetInMemoryPercentage() int64 {
2325 2326 2327 2328 2329 2330
	if m != nil {
		return m.InMemoryPercentage
	}
	return 0
}

X
xige-16 已提交
2331
type SegmentInfo struct {
2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343
	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"`
	NodeID               int64                 `protobuf:"varint,4,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	MemSize              int64                 `protobuf:"varint,5,opt,name=mem_size,json=memSize,proto3" json:"mem_size,omitempty"`
	NumRows              int64                 `protobuf:"varint,6,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
	IndexName            string                `protobuf:"bytes,7,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	IndexID              int64                 `protobuf:"varint,8,opt,name=indexID,proto3" json:"indexID,omitempty"`
	DmChannel            string                `protobuf:"bytes,9,opt,name=dmChannel,proto3" json:"dmChannel,omitempty"`
	CompactionFrom       []int64               `protobuf:"varint,10,rep,packed,name=compactionFrom,proto3" json:"compactionFrom,omitempty"`
	CreatedByCompaction  bool                  `protobuf:"varint,11,opt,name=createdByCompaction,proto3" json:"createdByCompaction,omitempty"`
	SegmentState         commonpb.SegmentState `protobuf:"varint,12,opt,name=segment_state,json=segmentState,proto3,enum=milvus.proto.common.SegmentState" json:"segment_state,omitempty"`
2344
	IndexInfos           []*FieldIndexInfo     `protobuf:"bytes,13,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"`
2345 2346
	ReplicaIds           []int64               `protobuf:"varint,14,rep,packed,name=replica_ids,json=replicaIds,proto3" json:"replica_ids,omitempty"`
	NodeIds              []int64               `protobuf:"varint,15,rep,packed,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
2347 2348 2349
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
2350 2351
}

X
xige-16 已提交
2352 2353 2354 2355
func (m *SegmentInfo) Reset()         { *m = SegmentInfo{} }
func (m *SegmentInfo) String() string { return proto.CompactTextString(m) }
func (*SegmentInfo) ProtoMessage()    {}
func (*SegmentInfo) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
2356
	return fileDescriptor_aab7cc9a69ed26e8, []int{33}
2357 2358
}

X
xige-16 已提交
2359 2360
func (m *SegmentInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SegmentInfo.Unmarshal(m, b)
2361
}
X
xige-16 已提交
2362 2363
func (m *SegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SegmentInfo.Marshal(b, m, deterministic)
2364
}
X
xige-16 已提交
2365 2366
func (m *SegmentInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SegmentInfo.Merge(m, src)
2367
}
X
xige-16 已提交
2368 2369
func (m *SegmentInfo) XXX_Size() int {
	return xxx_messageInfo_SegmentInfo.Size(m)
2370
}
X
xige-16 已提交
2371 2372
func (m *SegmentInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_SegmentInfo.DiscardUnknown(m)
2373 2374
}

X
xige-16 已提交
2375
var xxx_messageInfo_SegmentInfo proto.InternalMessageInfo
2376

X
xige-16 已提交
2377
func (m *SegmentInfo) GetSegmentID() int64 {
2378 2379 2380 2381 2382 2383
	if m != nil {
		return m.SegmentID
	}
	return 0
}

X
xige-16 已提交
2384
func (m *SegmentInfo) GetCollectionID() int64 {
2385
	if m != nil {
X
xige-16 已提交
2386
		return m.CollectionID
2387 2388 2389 2390
	}
	return 0
}

X
xige-16 已提交
2391
func (m *SegmentInfo) GetPartitionID() int64 {
2392
	if m != nil {
X
xige-16 已提交
2393
		return m.PartitionID
2394 2395 2396 2397
	}
	return 0
}

X
xige-16 已提交
2398
func (m *SegmentInfo) GetNodeID() int64 {
2399
	if m != nil {
X
xige-16 已提交
2400
		return m.NodeID
2401
	}
Z
zhenshan.cao 已提交
2402
	return 0
2403 2404
}

X
xige-16 已提交
2405
func (m *SegmentInfo) GetMemSize() int64 {
2406
	if m != nil {
X
xige-16 已提交
2407
		return m.MemSize
2408
	}
2409
	return 0
2410 2411
}

X
xige-16 已提交
2412
func (m *SegmentInfo) GetNumRows() int64 {
2413
	if m != nil {
X
xige-16 已提交
2414
		return m.NumRows
2415
	}
X
xige-16 已提交
2416
	return 0
2417 2418
}

X
xige-16 已提交
2419
func (m *SegmentInfo) GetIndexName() string {
2420
	if m != nil {
X
xige-16 已提交
2421
		return m.IndexName
2422
	}
X
xige-16 已提交
2423
	return ""
2424 2425
}

X
xige-16 已提交
2426
func (m *SegmentInfo) GetIndexID() int64 {
2427
	if m != nil {
X
xige-16 已提交
2428
		return m.IndexID
2429
	}
X
xige-16 已提交
2430
	return 0
2431 2432
}

X
xige-16 已提交
2433 2434 2435 2436 2437
func (m *SegmentInfo) GetDmChannel() string {
	if m != nil {
		return m.DmChannel
	}
	return ""
X
xige-16 已提交
2438 2439
}

X
xige-16 已提交
2440 2441 2442 2443 2444
func (m *SegmentInfo) GetCompactionFrom() []int64 {
	if m != nil {
		return m.CompactionFrom
	}
	return nil
X
xige-16 已提交
2445 2446
}

X
xige-16 已提交
2447 2448 2449 2450 2451
func (m *SegmentInfo) GetCreatedByCompaction() bool {
	if m != nil {
		return m.CreatedByCompaction
	}
	return false
X
xige-16 已提交
2452 2453
}

X
xige-16 已提交
2454 2455 2456 2457 2458 2459
func (m *SegmentInfo) GetSegmentState() commonpb.SegmentState {
	if m != nil {
		return m.SegmentState
	}
	return commonpb.SegmentState_SegmentStateNone
}
X
xige-16 已提交
2460

2461
func (m *SegmentInfo) GetIndexInfos() []*FieldIndexInfo {
X
xige-16 已提交
2462
	if m != nil {
2463
		return m.IndexInfos
X
xige-16 已提交
2464 2465 2466 2467
	}
	return nil
}

2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481
func (m *SegmentInfo) GetReplicaIds() []int64 {
	if m != nil {
		return m.ReplicaIds
	}
	return nil
}

func (m *SegmentInfo) GetNodeIds() []int64 {
	if m != nil {
		return m.NodeIds
	}
	return nil
}

X
xige-16 已提交
2482 2483 2484 2485
type CollectionInfo struct {
	CollectionID         int64                      `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	PartitionIDs         []int64                    `protobuf:"varint,2,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
	PartitionStates      []*PartitionStates         `protobuf:"bytes,3,rep,name=partition_states,json=partitionStates,proto3" json:"partition_states,omitempty"`
2486 2487 2488 2489
	LoadType             LoadType                   `protobuf:"varint,4,opt,name=load_type,json=loadType,proto3,enum=milvus.proto.query.LoadType" json:"load_type,omitempty"`
	Schema               *schemapb.CollectionSchema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
	ReleasedPartitionIDs []int64                    `protobuf:"varint,6,rep,packed,name=released_partitionIDs,json=releasedPartitionIDs,proto3" json:"released_partitionIDs,omitempty"`
	InMemoryPercentage   int64                      `protobuf:"varint,7,opt,name=inMemory_percentage,json=inMemoryPercentage,proto3" json:"inMemory_percentage,omitempty"`
2490
	ReplicaIds           []int64                    `protobuf:"varint,8,rep,packed,name=replica_ids,json=replicaIds,proto3" json:"replica_ids,omitempty"`
2491
	ReplicaNumber        int32                      `protobuf:"varint,9,opt,name=replica_number,json=replicaNumber,proto3" json:"replica_number,omitempty"`
X
xige-16 已提交
2492 2493 2494
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
2495 2496
}

X
xige-16 已提交
2497 2498 2499 2500
func (m *CollectionInfo) Reset()         { *m = CollectionInfo{} }
func (m *CollectionInfo) String() string { return proto.CompactTextString(m) }
func (*CollectionInfo) ProtoMessage()    {}
func (*CollectionInfo) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
2501
	return fileDescriptor_aab7cc9a69ed26e8, []int{34}
2502 2503
}

X
xige-16 已提交
2504 2505
func (m *CollectionInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CollectionInfo.Unmarshal(m, b)
2506
}
X
xige-16 已提交
2507 2508
func (m *CollectionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CollectionInfo.Marshal(b, m, deterministic)
2509
}
X
xige-16 已提交
2510 2511
func (m *CollectionInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CollectionInfo.Merge(m, src)
2512
}
X
xige-16 已提交
2513 2514
func (m *CollectionInfo) XXX_Size() int {
	return xxx_messageInfo_CollectionInfo.Size(m)
2515
}
X
xige-16 已提交
2516 2517
func (m *CollectionInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_CollectionInfo.DiscardUnknown(m)
2518 2519
}

X
xige-16 已提交
2520
var xxx_messageInfo_CollectionInfo proto.InternalMessageInfo
2521

X
xige-16 已提交
2522
func (m *CollectionInfo) GetCollectionID() int64 {
2523
	if m != nil {
X
xige-16 已提交
2524 2525 2526 2527 2528 2529 2530 2531
		return m.CollectionID
	}
	return 0
}

func (m *CollectionInfo) GetPartitionIDs() []int64 {
	if m != nil {
		return m.PartitionIDs
2532 2533 2534 2535
	}
	return nil
}

X
xige-16 已提交
2536
func (m *CollectionInfo) GetPartitionStates() []*PartitionStates {
2537
	if m != nil {
X
xige-16 已提交
2538
		return m.PartitionStates
2539
	}
2540
	return nil
2541 2542
}

X
xige-16 已提交
2543
func (m *CollectionInfo) GetLoadType() LoadType {
2544
	if m != nil {
X
xige-16 已提交
2545 2546
		return m.LoadType
	}
2547
	return LoadType_UnKnownType
X
xige-16 已提交
2548 2549 2550 2551 2552
}

func (m *CollectionInfo) GetSchema() *schemapb.CollectionSchema {
	if m != nil {
		return m.Schema
2553 2554 2555 2556
	}
	return nil
}

X
xige-16 已提交
2557
func (m *CollectionInfo) GetReleasedPartitionIDs() []int64 {
2558
	if m != nil {
X
xige-16 已提交
2559
		return m.ReleasedPartitionIDs
2560 2561 2562 2563
	}
	return nil
}

X
xige-16 已提交
2564 2565 2566 2567 2568 2569 2570
func (m *CollectionInfo) GetInMemoryPercentage() int64 {
	if m != nil {
		return m.InMemoryPercentage
	}
	return 0
}

2571 2572 2573 2574 2575 2576 2577
func (m *CollectionInfo) GetReplicaIds() []int64 {
	if m != nil {
		return m.ReplicaIds
	}
	return nil
}

2578 2579 2580 2581 2582 2583 2584
func (m *CollectionInfo) GetReplicaNumber() int32 {
	if m != nil {
		return m.ReplicaNumber
	}
	return 0
}

2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596
type UnsubscribeChannels struct {
	CollectionID         int64    `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	Channels             []string `protobuf:"bytes,2,rep,name=channels,proto3" json:"channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *UnsubscribeChannels) Reset()         { *m = UnsubscribeChannels{} }
func (m *UnsubscribeChannels) String() string { return proto.CompactTextString(m) }
func (*UnsubscribeChannels) ProtoMessage()    {}
func (*UnsubscribeChannels) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
2597
	return fileDescriptor_aab7cc9a69ed26e8, []int{35}
2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 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
}

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

var xxx_messageInfo_UnsubscribeChannels proto.InternalMessageInfo

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

func (m *UnsubscribeChannels) GetChannels() []string {
	if m != nil {
		return m.Channels
	}
	return nil
}

type UnsubscribeChannelInfo struct {
	NodeID               int64                  `protobuf:"varint,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	CollectionChannels   []*UnsubscribeChannels `protobuf:"bytes,2,rep,name=collection_channels,json=collectionChannels,proto3" json:"collection_channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (m *UnsubscribeChannelInfo) Reset()         { *m = UnsubscribeChannelInfo{} }
func (m *UnsubscribeChannelInfo) String() string { return proto.CompactTextString(m) }
func (*UnsubscribeChannelInfo) ProtoMessage()    {}
func (*UnsubscribeChannelInfo) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
2644
	return fileDescriptor_aab7cc9a69ed26e8, []int{36}
2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678
}

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

var xxx_messageInfo_UnsubscribeChannelInfo proto.InternalMessageInfo

func (m *UnsubscribeChannelInfo) GetNodeID() int64 {
	if m != nil {
		return m.NodeID
	}
	return 0
}

func (m *UnsubscribeChannelInfo) GetCollectionChannels() []*UnsubscribeChannels {
	if m != nil {
		return m.CollectionChannels
	}
	return nil
}

X
xige-16 已提交
2679
//---- synchronize messages proto between QueryCoord and QueryNode -----
2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693
type SegmentChangeInfo struct {
	OnlineNodeID         int64          `protobuf:"varint,1,opt,name=online_nodeID,json=onlineNodeID,proto3" json:"online_nodeID,omitempty"`
	OnlineSegments       []*SegmentInfo `protobuf:"bytes,2,rep,name=online_segments,json=onlineSegments,proto3" json:"online_segments,omitempty"`
	OfflineNodeID        int64          `protobuf:"varint,3,opt,name=offline_nodeID,json=offlineNodeID,proto3" json:"offline_nodeID,omitempty"`
	OfflineSegments      []*SegmentInfo `protobuf:"bytes,4,rep,name=offline_segments,json=offlineSegments,proto3" json:"offline_segments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (m *SegmentChangeInfo) Reset()         { *m = SegmentChangeInfo{} }
func (m *SegmentChangeInfo) String() string { return proto.CompactTextString(m) }
func (*SegmentChangeInfo) ProtoMessage()    {}
func (*SegmentChangeInfo) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
2694
	return fileDescriptor_aab7cc9a69ed26e8, []int{37}
2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 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 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742
}

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

var xxx_messageInfo_SegmentChangeInfo proto.InternalMessageInfo

func (m *SegmentChangeInfo) GetOnlineNodeID() int64 {
	if m != nil {
		return m.OnlineNodeID
	}
	return 0
}

func (m *SegmentChangeInfo) GetOnlineSegments() []*SegmentInfo {
	if m != nil {
		return m.OnlineSegments
	}
	return nil
}

func (m *SegmentChangeInfo) GetOfflineNodeID() int64 {
	if m != nil {
		return m.OfflineNodeID
	}
	return 0
}

func (m *SegmentChangeInfo) GetOfflineSegments() []*SegmentInfo {
	if m != nil {
		return m.OfflineSegments
	}
	return nil
}

2743
type SealedSegmentsChangeInfo struct {
2744 2745 2746 2747 2748
	Base                 *commonpb.MsgBase    `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Infos                []*SegmentChangeInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
2749 2750 2751 2752 2753 2754
}

func (m *SealedSegmentsChangeInfo) Reset()         { *m = SealedSegmentsChangeInfo{} }
func (m *SealedSegmentsChangeInfo) String() string { return proto.CompactTextString(m) }
func (*SealedSegmentsChangeInfo) ProtoMessage()    {}
func (*SealedSegmentsChangeInfo) Descriptor() ([]byte, []int) {
X
XuanYang-cn 已提交
2755
	return fileDescriptor_aab7cc9a69ed26e8, []int{38}
2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782
}

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

var xxx_messageInfo_SealedSegmentsChangeInfo proto.InternalMessageInfo

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

2783
func (m *SealedSegmentsChangeInfo) GetInfos() []*SegmentChangeInfo {
2784
	if m != nil {
2785
		return m.Infos
2786 2787 2788 2789
	}
	return nil
}

2790 2791
func init() {
	proto.RegisterEnum("milvus.proto.query.PartitionState", PartitionState_name, PartitionState_value)
2792
	proto.RegisterEnum("milvus.proto.query.TriggerCondition", TriggerCondition_name, TriggerCondition_value)
2793
	proto.RegisterEnum("milvus.proto.query.LoadType", LoadType_name, LoadType_value)
G
godchen 已提交
2794 2795 2796 2797
	proto.RegisterType((*ShowCollectionsRequest)(nil), "milvus.proto.query.ShowCollectionsRequest")
	proto.RegisterType((*ShowCollectionsResponse)(nil), "milvus.proto.query.ShowCollectionsResponse")
	proto.RegisterType((*ShowPartitionsRequest)(nil), "milvus.proto.query.ShowPartitionsRequest")
	proto.RegisterType((*ShowPartitionsResponse)(nil), "milvus.proto.query.ShowPartitionsResponse")
2798 2799
	proto.RegisterType((*LoadCollectionRequest)(nil), "milvus.proto.query.LoadCollectionRequest")
	proto.RegisterType((*ReleaseCollectionRequest)(nil), "milvus.proto.query.ReleaseCollectionRequest")
G
godchen 已提交
2800 2801
	proto.RegisterType((*LoadPartitionsRequest)(nil), "milvus.proto.query.LoadPartitionsRequest")
	proto.RegisterType((*ReleasePartitionsRequest)(nil), "milvus.proto.query.ReleasePartitionsRequest")
2802
	proto.RegisterType((*CreateQueryChannelRequest)(nil), "milvus.proto.query.CreateQueryChannelRequest")
2803
	proto.RegisterType((*CreateQueryChannelResponse)(nil), "milvus.proto.query.CreateQueryChannelResponse")
2804 2805 2806 2807
	proto.RegisterType((*GetPartitionStatesRequest)(nil), "milvus.proto.query.GetPartitionStatesRequest")
	proto.RegisterType((*GetPartitionStatesResponse)(nil), "milvus.proto.query.GetPartitionStatesResponse")
	proto.RegisterType((*GetSegmentInfoRequest)(nil), "milvus.proto.query.GetSegmentInfoRequest")
	proto.RegisterType((*GetSegmentInfoResponse)(nil), "milvus.proto.query.GetSegmentInfoResponse")
2808 2809
	proto.RegisterType((*GetShardLeadersRequest)(nil), "milvus.proto.query.GetShardLeadersRequest")
	proto.RegisterType((*GetShardLeadersResponse)(nil), "milvus.proto.query.GetShardLeadersResponse")
2810
	proto.RegisterType((*ShardLeadersList)(nil), "milvus.proto.query.ShardLeadersList")
G
godchen 已提交
2811 2812
	proto.RegisterType((*AddQueryChannelRequest)(nil), "milvus.proto.query.AddQueryChannelRequest")
	proto.RegisterType((*RemoveQueryChannelRequest)(nil), "milvus.proto.query.RemoveQueryChannelRequest")
2813
	proto.RegisterType((*LoadMetaInfo)(nil), "milvus.proto.query.LoadMetaInfo")
2814
	proto.RegisterType((*WatchDmChannelsRequest)(nil), "milvus.proto.query.WatchDmChannelsRequest")
2815
	proto.RegisterType((*WatchDeltaChannelsRequest)(nil), "milvus.proto.query.WatchDeltaChannelsRequest")
2816
	proto.RegisterType((*SegmentLoadInfo)(nil), "milvus.proto.query.SegmentLoadInfo")
2817
	proto.RegisterType((*FieldIndexInfo)(nil), "milvus.proto.query.FieldIndexInfo")
G
godchen 已提交
2818 2819
	proto.RegisterType((*LoadSegmentsRequest)(nil), "milvus.proto.query.LoadSegmentsRequest")
	proto.RegisterType((*ReleaseSegmentsRequest)(nil), "milvus.proto.query.ReleaseSegmentsRequest")
2820 2821
	proto.RegisterType((*SearchRequest)(nil), "milvus.proto.query.SearchRequest")
	proto.RegisterType((*QueryRequest)(nil), "milvus.proto.query.QueryRequest")
X
xige-16 已提交
2822
	proto.RegisterType((*HandoffSegmentsRequest)(nil), "milvus.proto.query.HandoffSegmentsRequest")
2823
	proto.RegisterType((*LoadBalanceRequest)(nil), "milvus.proto.query.LoadBalanceRequest")
X
xige-16 已提交
2824 2825 2826 2827 2828
	proto.RegisterType((*DmChannelWatchInfo)(nil), "milvus.proto.query.DmChannelWatchInfo")
	proto.RegisterType((*QueryChannelInfo)(nil), "milvus.proto.query.QueryChannelInfo")
	proto.RegisterType((*PartitionStates)(nil), "milvus.proto.query.PartitionStates")
	proto.RegisterType((*SegmentInfo)(nil), "milvus.proto.query.SegmentInfo")
	proto.RegisterType((*CollectionInfo)(nil), "milvus.proto.query.CollectionInfo")
2829 2830
	proto.RegisterType((*UnsubscribeChannels)(nil), "milvus.proto.query.UnsubscribeChannels")
	proto.RegisterType((*UnsubscribeChannelInfo)(nil), "milvus.proto.query.UnsubscribeChannelInfo")
2831
	proto.RegisterType((*SegmentChangeInfo)(nil), "milvus.proto.query.SegmentChangeInfo")
2832
	proto.RegisterType((*SealedSegmentsChangeInfo)(nil), "milvus.proto.query.SealedSegmentsChangeInfo")
2833 2834
}

2835
func init() { proto.RegisterFile("query_coord.proto", fileDescriptor_aab7cc9a69ed26e8) }
2836

2837
var fileDescriptor_aab7cc9a69ed26e8 = []byte{
2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 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 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 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 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011
	// 2755 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0x5b, 0x6f, 0x1c, 0x49,
	0x15, 0x76, 0xcf, 0xcd, 0x33, 0x67, 0x2e, 0x9e, 0x94, 0x13, 0xef, 0x78, 0xc8, 0xc5, 0xe9, 0xdc,
	0x4c, 0x96, 0x75, 0x82, 0x03, 0x68, 0x57, 0xc0, 0x43, 0x6c, 0x13, 0xaf, 0x49, 0xe2, 0xf5, 0xb6,
	0x9d, 0x00, 0x51, 0xa4, 0xa1, 0x67, 0xba, 0x3c, 0x6e, 0xa5, 0x2f, 0x93, 0xae, 0x9e, 0x24, 0xce,
	0x33, 0x42, 0x2c, 0x17, 0x21, 0x9e, 0x10, 0x12, 0xe2, 0x09, 0x04, 0x48, 0xac, 0x78, 0xe6, 0x05,
	0x21, 0x7e, 0x01, 0x12, 0xef, 0x88, 0x37, 0x7e, 0x01, 0x8f, 0x08, 0x54, 0x97, 0xee, 0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x1d, 0xfa, 0x31, 0xcc, 0x25, 0xaa, 0x0b,
	0x72, 0xef, 0xca, 0x4b, 0x10, 0xe3, 0x46, 0xff, 0x14, 0xf7, 0x94, 0x5d, 0x28, 0xf1, 0x92, 0x00,
	0xba, 0x28, 0x3f, 0xc2, 0x44, 0xca, 0x05, 0xed, 0x71, 0x45, 0x05, 0x32, 0xb4, 0x7c, 0xc2, 0x06,
	0x2d, 0xb2, 0x15, 0x83, 0xa4, 0xf5, 0x9c, 0x68, 0xa9, 0xa0, 0x3d, 0xbe, 0x3a, 0x10, 0x0c, 0xfa,
	0xaa, 0xf7, 0xa9, 0xb5, 0x2f, 0x3d, 0x5a, 0xed, 0x9b, 0xfe, 0xc1, 0xb0, 0x4b, 0xfd, 0x71, 0x83,
	0x73, 0xbe, 0x63, 0xba, 0xe2, 0xeb, 0x46, 0xa0, 0xda, 0x0d, 0x36, 0xd2, 0x0d, 0x66, 0xcb, 0xa0,
	0xdb, 0x2d, 0xb1, 0xe6, 0xad, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xaa, 0xf8, 0xae, 0x2f, 0x61,
	0x30, 0x00, 0x00,
3012 3013 3014 3015 3016 3017 3018 3019 3020 3021
}

// 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

3022
// QueryCoordClient is the client API for QueryCoord service.
3023 3024
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
3025
type QueryCoordClient interface {
G
godchen 已提交
3026 3027 3028 3029 3030 3031 3032
	GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error)
	GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
	GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
	ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error)
	ShowPartitions(ctx context.Context, in *ShowPartitionsRequest, opts ...grpc.CallOption) (*ShowPartitionsResponse, error)
	LoadPartitions(ctx context.Context, in *LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
3033 3034
	LoadCollection(ctx context.Context, in *LoadCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
G
godchen 已提交
3035 3036 3037
	CreateQueryChannel(ctx context.Context, in *CreateQueryChannelRequest, opts ...grpc.CallOption) (*CreateQueryChannelResponse, error)
	GetPartitionStates(ctx context.Context, in *GetPartitionStatesRequest, opts ...grpc.CallOption) (*GetPartitionStatesResponse, error)
	GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error)
B
bigsheeper 已提交
3038
	LoadBalance(ctx context.Context, in *LoadBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
3039 3040
	// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
	GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error)
3041
	// https://wiki.lfaidata.foundation/display/MIL/MEP+23+--+Multiple+memory+replication+design
X
XuanYang-cn 已提交
3042
	GetReplicas(ctx context.Context, in *milvuspb.GetReplicasRequest, opts ...grpc.CallOption) (*milvuspb.GetReplicasResponse, error)
3043
	GetShardLeaders(ctx context.Context, in *GetShardLeadersRequest, opts ...grpc.CallOption) (*GetShardLeadersResponse, error)
3044 3045
}

3046
type queryCoordClient struct {
3047 3048 3049
	cc *grpc.ClientConn
}

3050 3051
func NewQueryCoordClient(cc *grpc.ClientConn) QueryCoordClient {
	return &queryCoordClient{cc}
3052 3053
}

3054
func (c *queryCoordClient) GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error) {
G
godchen 已提交
3055
	out := new(internalpb.ComponentStates)
3056
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetComponentStates", in, out, opts...)
3057 3058 3059 3060 3061 3062
	if err != nil {
		return nil, err
	}
	return out, nil
}

3063
func (c *queryCoordClient) GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
G
godchen 已提交
3064
	out := new(milvuspb.StringResponse)
3065
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetTimeTickChannel", in, out, opts...)
3066 3067 3068 3069 3070 3071
	if err != nil {
		return nil, err
	}
	return out, nil
}

3072
func (c *queryCoordClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
G
godchen 已提交
3073
	out := new(milvuspb.StringResponse)
3074
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetStatisticsChannel", in, out, opts...)
3075 3076 3077 3078 3079 3080
	if err != nil {
		return nil, err
	}
	return out, nil
}

3081
func (c *queryCoordClient) ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error) {
G
godchen 已提交
3082
	out := new(ShowCollectionsResponse)
3083
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ShowCollections", in, out, opts...)
3084 3085 3086 3087 3088 3089
	if err != nil {
		return nil, err
	}
	return out, nil
}

3090
func (c *queryCoordClient) ShowPartitions(ctx context.Context, in *ShowPartitionsRequest, opts ...grpc.CallOption) (*ShowPartitionsResponse, error) {
G
godchen 已提交
3091
	out := new(ShowPartitionsResponse)
3092
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ShowPartitions", in, out, opts...)
3093 3094 3095 3096 3097 3098
	if err != nil {
		return nil, err
	}
	return out, nil
}

3099
func (c *queryCoordClient) LoadPartitions(ctx context.Context, in *LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
3100
	out := new(commonpb.Status)
3101
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/LoadPartitions", in, out, opts...)
3102 3103 3104 3105 3106 3107
	if err != nil {
		return nil, err
	}
	return out, nil
}

3108
func (c *queryCoordClient) ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
G
godchen 已提交
3109
	out := new(commonpb.Status)
3110
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ReleasePartitions", in, out, opts...)
3111 3112 3113 3114 3115 3116
	if err != nil {
		return nil, err
	}
	return out, nil
}

3117
func (c *queryCoordClient) LoadCollection(ctx context.Context, in *LoadCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
G
godchen 已提交
3118
	out := new(commonpb.Status)
3119
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/LoadCollection", in, out, opts...)
3120 3121 3122 3123 3124 3125
	if err != nil {
		return nil, err
	}
	return out, nil
}

3126
func (c *queryCoordClient) ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
G
godchen 已提交
3127
	out := new(commonpb.Status)
3128
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ReleaseCollection", in, out, opts...)
3129 3130 3131 3132 3133 3134
	if err != nil {
		return nil, err
	}
	return out, nil
}

3135
func (c *queryCoordClient) CreateQueryChannel(ctx context.Context, in *CreateQueryChannelRequest, opts ...grpc.CallOption) (*CreateQueryChannelResponse, error) {
G
godchen 已提交
3136
	out := new(CreateQueryChannelResponse)
3137
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/CreateQueryChannel", in, out, opts...)
3138 3139 3140 3141 3142 3143
	if err != nil {
		return nil, err
	}
	return out, nil
}

3144
func (c *queryCoordClient) GetPartitionStates(ctx context.Context, in *GetPartitionStatesRequest, opts ...grpc.CallOption) (*GetPartitionStatesResponse, error) {
G
godchen 已提交
3145
	out := new(GetPartitionStatesResponse)
3146
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetPartitionStates", in, out, opts...)
3147 3148 3149 3150 3151 3152
	if err != nil {
		return nil, err
	}
	return out, nil
}

3153
func (c *queryCoordClient) GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error) {
G
godchen 已提交
3154
	out := new(GetSegmentInfoResponse)
3155
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetSegmentInfo", in, out, opts...)
B
bigsheeper 已提交
3156 3157 3158 3159 3160 3161
	if err != nil {
		return nil, err
	}
	return out, nil
}

B
bigsheeper 已提交
3162 3163 3164 3165 3166 3167 3168 3169 3170
func (c *queryCoordClient) LoadBalance(ctx context.Context, in *LoadBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/LoadBalance", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3171 3172 3173 3174 3175 3176 3177 3178 3179
func (c *queryCoordClient) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) {
	out := new(milvuspb.GetMetricsResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetMetrics", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

X
XuanYang-cn 已提交
3180 3181
func (c *queryCoordClient) GetReplicas(ctx context.Context, in *milvuspb.GetReplicasRequest, opts ...grpc.CallOption) (*milvuspb.GetReplicasResponse, error) {
	out := new(milvuspb.GetReplicasResponse)
3182 3183 3184 3185 3186 3187 3188
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetReplicas", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3189 3190 3191 3192 3193 3194 3195 3196 3197
func (c *queryCoordClient) GetShardLeaders(ctx context.Context, in *GetShardLeadersRequest, opts ...grpc.CallOption) (*GetShardLeadersResponse, error) {
	out := new(GetShardLeadersResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetShardLeaders", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3198 3199
// QueryCoordServer is the server API for QueryCoord service.
type QueryCoordServer interface {
G
godchen 已提交
3200 3201 3202 3203 3204 3205 3206
	GetComponentStates(context.Context, *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error)
	GetTimeTickChannel(context.Context, *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error)
	GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error)
	ShowCollections(context.Context, *ShowCollectionsRequest) (*ShowCollectionsResponse, error)
	ShowPartitions(context.Context, *ShowPartitionsRequest) (*ShowPartitionsResponse, error)
	LoadPartitions(context.Context, *LoadPartitionsRequest) (*commonpb.Status, error)
	ReleasePartitions(context.Context, *ReleasePartitionsRequest) (*commonpb.Status, error)
3207 3208
	LoadCollection(context.Context, *LoadCollectionRequest) (*commonpb.Status, error)
	ReleaseCollection(context.Context, *ReleaseCollectionRequest) (*commonpb.Status, error)
G
godchen 已提交
3209 3210 3211
	CreateQueryChannel(context.Context, *CreateQueryChannelRequest) (*CreateQueryChannelResponse, error)
	GetPartitionStates(context.Context, *GetPartitionStatesRequest) (*GetPartitionStatesResponse, error)
	GetSegmentInfo(context.Context, *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error)
B
bigsheeper 已提交
3212
	LoadBalance(context.Context, *LoadBalanceRequest) (*commonpb.Status, error)
3213 3214
	// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
	GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
3215
	// https://wiki.lfaidata.foundation/display/MIL/MEP+23+--+Multiple+memory+replication+design
X
XuanYang-cn 已提交
3216
	GetReplicas(context.Context, *milvuspb.GetReplicasRequest) (*milvuspb.GetReplicasResponse, error)
3217
	GetShardLeaders(context.Context, *GetShardLeadersRequest) (*GetShardLeadersResponse, error)
3218 3219
}

3220 3221
// UnimplementedQueryCoordServer can be embedded to have forward compatible implementations.
type UnimplementedQueryCoordServer struct {
3222 3223
}

3224
func (*UnimplementedQueryCoordServer) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
G
godchen 已提交
3225 3226
	return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
}
3227
func (*UnimplementedQueryCoordServer) GetTimeTickChannel(ctx context.Context, req *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error) {
G
godchen 已提交
3228 3229
	return nil, status.Errorf(codes.Unimplemented, "method GetTimeTickChannel not implemented")
}
3230
func (*UnimplementedQueryCoordServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) {
G
godchen 已提交
3231 3232
	return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented")
}
3233
func (*UnimplementedQueryCoordServer) ShowCollections(ctx context.Context, req *ShowCollectionsRequest) (*ShowCollectionsResponse, error) {
3234 3235
	return nil, status.Errorf(codes.Unimplemented, "method ShowCollections not implemented")
}
3236
func (*UnimplementedQueryCoordServer) ShowPartitions(ctx context.Context, req *ShowPartitionsRequest) (*ShowPartitionsResponse, error) {
3237 3238
	return nil, status.Errorf(codes.Unimplemented, "method ShowPartitions not implemented")
}
3239
func (*UnimplementedQueryCoordServer) LoadPartitions(ctx context.Context, req *LoadPartitionsRequest) (*commonpb.Status, error) {
3240 3241
	return nil, status.Errorf(codes.Unimplemented, "method LoadPartitions not implemented")
}
3242
func (*UnimplementedQueryCoordServer) ReleasePartitions(ctx context.Context, req *ReleasePartitionsRequest) (*commonpb.Status, error) {
3243 3244
	return nil, status.Errorf(codes.Unimplemented, "method ReleasePartitions not implemented")
}
3245
func (*UnimplementedQueryCoordServer) LoadCollection(ctx context.Context, req *LoadCollectionRequest) (*commonpb.Status, error) {
3246 3247
	return nil, status.Errorf(codes.Unimplemented, "method LoadCollection not implemented")
}
3248
func (*UnimplementedQueryCoordServer) ReleaseCollection(ctx context.Context, req *ReleaseCollectionRequest) (*commonpb.Status, error) {
3249 3250
	return nil, status.Errorf(codes.Unimplemented, "method ReleaseCollection not implemented")
}
3251
func (*UnimplementedQueryCoordServer) CreateQueryChannel(ctx context.Context, req *CreateQueryChannelRequest) (*CreateQueryChannelResponse, error) {
3252 3253
	return nil, status.Errorf(codes.Unimplemented, "method CreateQueryChannel not implemented")
}
3254
func (*UnimplementedQueryCoordServer) GetPartitionStates(ctx context.Context, req *GetPartitionStatesRequest) (*GetPartitionStatesResponse, error) {
3255 3256
	return nil, status.Errorf(codes.Unimplemented, "method GetPartitionStates not implemented")
}
3257
func (*UnimplementedQueryCoordServer) GetSegmentInfo(ctx context.Context, req *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error) {
B
bigsheeper 已提交
3258 3259
	return nil, status.Errorf(codes.Unimplemented, "method GetSegmentInfo not implemented")
}
B
bigsheeper 已提交
3260 3261 3262
func (*UnimplementedQueryCoordServer) LoadBalance(ctx context.Context, req *LoadBalanceRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method LoadBalance not implemented")
}
3263 3264 3265
func (*UnimplementedQueryCoordServer) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented")
}
X
XuanYang-cn 已提交
3266
func (*UnimplementedQueryCoordServer) GetReplicas(ctx context.Context, req *milvuspb.GetReplicasRequest) (*milvuspb.GetReplicasResponse, error) {
3267 3268
	return nil, status.Errorf(codes.Unimplemented, "method GetReplicas not implemented")
}
3269 3270 3271
func (*UnimplementedQueryCoordServer) GetShardLeaders(ctx context.Context, req *GetShardLeadersRequest) (*GetShardLeadersResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetShardLeaders not implemented")
}
3272

3273 3274
func RegisterQueryCoordServer(s *grpc.Server, srv QueryCoordServer) {
	s.RegisterService(&_QueryCoord_serviceDesc, srv)
3275 3276
}

3277
func _QueryCoord_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3278
	in := new(internalpb.GetComponentStatesRequest)
3279 3280 3281 3282
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3283
		return srv.(QueryCoordServer).GetComponentStates(ctx, in)
3284 3285 3286
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3287
		FullMethod: "/milvus.proto.query.QueryCoord/GetComponentStates",
3288 3289
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3290
		return srv.(QueryCoordServer).GetComponentStates(ctx, req.(*internalpb.GetComponentStatesRequest))
3291 3292 3293 3294
	}
	return interceptor(ctx, in, info, handler)
}

3295
func _QueryCoord_GetTimeTickChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3296
	in := new(internalpb.GetTimeTickChannelRequest)
3297 3298 3299 3300
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3301
		return srv.(QueryCoordServer).GetTimeTickChannel(ctx, in)
3302 3303 3304
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3305
		FullMethod: "/milvus.proto.query.QueryCoord/GetTimeTickChannel",
3306 3307
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3308
		return srv.(QueryCoordServer).GetTimeTickChannel(ctx, req.(*internalpb.GetTimeTickChannelRequest))
3309 3310 3311 3312
	}
	return interceptor(ctx, in, info, handler)
}

3313
func _QueryCoord_GetStatisticsChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3314
	in := new(internalpb.GetStatisticsChannelRequest)
3315 3316 3317 3318
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3319
		return srv.(QueryCoordServer).GetStatisticsChannel(ctx, in)
3320 3321 3322
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3323
		FullMethod: "/milvus.proto.query.QueryCoord/GetStatisticsChannel",
3324 3325
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3326
		return srv.(QueryCoordServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest))
3327 3328 3329 3330
	}
	return interceptor(ctx, in, info, handler)
}

3331
func _QueryCoord_ShowCollections_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3332
	in := new(ShowCollectionsRequest)
3333 3334 3335 3336
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3337
		return srv.(QueryCoordServer).ShowCollections(ctx, in)
3338 3339 3340
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3341
		FullMethod: "/milvus.proto.query.QueryCoord/ShowCollections",
3342 3343
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3344
		return srv.(QueryCoordServer).ShowCollections(ctx, req.(*ShowCollectionsRequest))
3345 3346 3347 3348
	}
	return interceptor(ctx, in, info, handler)
}

3349
func _QueryCoord_ShowPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3350
	in := new(ShowPartitionsRequest)
3351 3352 3353 3354
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3355
		return srv.(QueryCoordServer).ShowPartitions(ctx, in)
3356 3357 3358
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3359
		FullMethod: "/milvus.proto.query.QueryCoord/ShowPartitions",
3360 3361
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3362
		return srv.(QueryCoordServer).ShowPartitions(ctx, req.(*ShowPartitionsRequest))
3363 3364 3365 3366
	}
	return interceptor(ctx, in, info, handler)
}

3367
func _QueryCoord_LoadPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3368
	in := new(LoadPartitionsRequest)
3369 3370 3371 3372
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3373
		return srv.(QueryCoordServer).LoadPartitions(ctx, in)
3374 3375 3376
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3377
		FullMethod: "/milvus.proto.query.QueryCoord/LoadPartitions",
3378 3379
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3380
		return srv.(QueryCoordServer).LoadPartitions(ctx, req.(*LoadPartitionsRequest))
3381 3382 3383 3384
	}
	return interceptor(ctx, in, info, handler)
}

3385
func _QueryCoord_ReleasePartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3386
	in := new(ReleasePartitionsRequest)
3387 3388 3389 3390
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3391
		return srv.(QueryCoordServer).ReleasePartitions(ctx, in)
3392 3393 3394
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3395
		FullMethod: "/milvus.proto.query.QueryCoord/ReleasePartitions",
3396 3397
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3398
		return srv.(QueryCoordServer).ReleasePartitions(ctx, req.(*ReleasePartitionsRequest))
3399 3400 3401 3402
	}
	return interceptor(ctx, in, info, handler)
}

3403
func _QueryCoord_LoadCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3404
	in := new(LoadCollectionRequest)
3405 3406 3407 3408
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3409
		return srv.(QueryCoordServer).LoadCollection(ctx, in)
3410 3411 3412
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3413
		FullMethod: "/milvus.proto.query.QueryCoord/LoadCollection",
3414 3415
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3416
		return srv.(QueryCoordServer).LoadCollection(ctx, req.(*LoadCollectionRequest))
3417 3418 3419 3420
	}
	return interceptor(ctx, in, info, handler)
}

3421
func _QueryCoord_ReleaseCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3422
	in := new(ReleaseCollectionRequest)
3423 3424 3425 3426
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3427
		return srv.(QueryCoordServer).ReleaseCollection(ctx, in)
3428 3429 3430
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3431
		FullMethod: "/milvus.proto.query.QueryCoord/ReleaseCollection",
3432 3433
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3434
		return srv.(QueryCoordServer).ReleaseCollection(ctx, req.(*ReleaseCollectionRequest))
3435 3436 3437 3438
	}
	return interceptor(ctx, in, info, handler)
}

3439
func _QueryCoord_CreateQueryChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3440
	in := new(CreateQueryChannelRequest)
3441 3442 3443 3444
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3445
		return srv.(QueryCoordServer).CreateQueryChannel(ctx, in)
3446 3447 3448
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3449
		FullMethod: "/milvus.proto.query.QueryCoord/CreateQueryChannel",
3450 3451
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3452
		return srv.(QueryCoordServer).CreateQueryChannel(ctx, req.(*CreateQueryChannelRequest))
3453 3454 3455 3456
	}
	return interceptor(ctx, in, info, handler)
}

3457
func _QueryCoord_GetPartitionStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3458
	in := new(GetPartitionStatesRequest)
3459 3460 3461 3462
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3463
		return srv.(QueryCoordServer).GetPartitionStates(ctx, in)
3464 3465 3466
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3467
		FullMethod: "/milvus.proto.query.QueryCoord/GetPartitionStates",
3468 3469
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3470
		return srv.(QueryCoordServer).GetPartitionStates(ctx, req.(*GetPartitionStatesRequest))
3471 3472 3473 3474
	}
	return interceptor(ctx, in, info, handler)
}

3475
func _QueryCoord_GetSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3476
	in := new(GetSegmentInfoRequest)
B
bigsheeper 已提交
3477 3478 3479 3480
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3481
		return srv.(QueryCoordServer).GetSegmentInfo(ctx, in)
B
bigsheeper 已提交
3482 3483 3484
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3485
		FullMethod: "/milvus.proto.query.QueryCoord/GetSegmentInfo",
B
bigsheeper 已提交
3486 3487
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3488
		return srv.(QueryCoordServer).GetSegmentInfo(ctx, req.(*GetSegmentInfoRequest))
B
bigsheeper 已提交
3489 3490 3491 3492
	}
	return interceptor(ctx, in, info, handler)
}

B
bigsheeper 已提交
3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510
func _QueryCoord_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.(QueryCoordServer).LoadBalance(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryCoord/LoadBalance",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryCoordServer).LoadBalance(ctx, req.(*LoadBalanceRequest))
	}
	return interceptor(ctx, in, info, handler)
}

3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528
func _QueryCoord_GetMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(milvuspb.GetMetricsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryCoordServer).GetMetrics(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryCoord/GetMetrics",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryCoordServer).GetMetrics(ctx, req.(*milvuspb.GetMetricsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

3529
func _QueryCoord_GetReplicas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
X
XuanYang-cn 已提交
3530
	in := new(milvuspb.GetReplicasRequest)
3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryCoordServer).GetReplicas(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryCoord/GetReplicas",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
X
XuanYang-cn 已提交
3542
		return srv.(QueryCoordServer).GetReplicas(ctx, req.(*milvuspb.GetReplicasRequest))
3543 3544 3545 3546
	}
	return interceptor(ctx, in, info, handler)
}

3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564
func _QueryCoord_GetShardLeaders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetShardLeadersRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryCoordServer).GetShardLeaders(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryCoord/GetShardLeaders",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryCoordServer).GetShardLeaders(ctx, req.(*GetShardLeadersRequest))
	}
	return interceptor(ctx, in, info, handler)
}

3565 3566 3567
var _QueryCoord_serviceDesc = grpc.ServiceDesc{
	ServiceName: "milvus.proto.query.QueryCoord",
	HandlerType: (*QueryCoordServer)(nil),
3568
	Methods: []grpc.MethodDesc{
G
godchen 已提交
3569 3570
		{
			MethodName: "GetComponentStates",
3571
			Handler:    _QueryCoord_GetComponentStates_Handler,
G
godchen 已提交
3572 3573 3574
		},
		{
			MethodName: "GetTimeTickChannel",
3575
			Handler:    _QueryCoord_GetTimeTickChannel_Handler,
G
godchen 已提交
3576 3577 3578
		},
		{
			MethodName: "GetStatisticsChannel",
3579
			Handler:    _QueryCoord_GetStatisticsChannel_Handler,
G
godchen 已提交
3580
		},
3581 3582
		{
			MethodName: "ShowCollections",
3583
			Handler:    _QueryCoord_ShowCollections_Handler,
3584
		},
3585 3586
		{
			MethodName: "ShowPartitions",
3587
			Handler:    _QueryCoord_ShowPartitions_Handler,
3588 3589 3590
		},
		{
			MethodName: "LoadPartitions",
3591
			Handler:    _QueryCoord_LoadPartitions_Handler,
3592 3593 3594
		},
		{
			MethodName: "ReleasePartitions",
3595
			Handler:    _QueryCoord_ReleasePartitions_Handler,
3596
		},
3597 3598
		{
			MethodName: "LoadCollection",
3599
			Handler:    _QueryCoord_LoadCollection_Handler,
3600 3601 3602
		},
		{
			MethodName: "ReleaseCollection",
3603
			Handler:    _QueryCoord_ReleaseCollection_Handler,
3604 3605
		},
		{
3606
			MethodName: "CreateQueryChannel",
3607
			Handler:    _QueryCoord_CreateQueryChannel_Handler,
3608
		},
3609 3610
		{
			MethodName: "GetPartitionStates",
3611
			Handler:    _QueryCoord_GetPartitionStates_Handler,
3612
		},
B
bigsheeper 已提交
3613 3614
		{
			MethodName: "GetSegmentInfo",
3615
			Handler:    _QueryCoord_GetSegmentInfo_Handler,
B
bigsheeper 已提交
3616
		},
B
bigsheeper 已提交
3617 3618 3619 3620
		{
			MethodName: "LoadBalance",
			Handler:    _QueryCoord_LoadBalance_Handler,
		},
3621 3622 3623 3624
		{
			MethodName: "GetMetrics",
			Handler:    _QueryCoord_GetMetrics_Handler,
		},
3625 3626 3627 3628
		{
			MethodName: "GetReplicas",
			Handler:    _QueryCoord_GetReplicas_Handler,
		},
3629 3630 3631 3632
		{
			MethodName: "GetShardLeaders",
			Handler:    _QueryCoord_GetShardLeaders_Handler,
		},
3633 3634
	},
	Streams:  []grpc.StreamDesc{},
3635
	Metadata: "query_coord.proto",
3636 3637 3638 3639 3640 3641
}

// QueryNodeClient is the client API for QueryNode service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type QueryNodeClient interface {
G
godchen 已提交
3642 3643 3644 3645 3646
	GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error)
	GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
	GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
	AddQueryChannel(ctx context.Context, in *AddQueryChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	RemoveQueryChannel(ctx context.Context, in *RemoveQueryChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
3647
	WatchDmChannels(ctx context.Context, in *WatchDmChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
3648
	WatchDeltaChannels(ctx context.Context, in *WatchDeltaChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
G
godchen 已提交
3649
	LoadSegments(ctx context.Context, in *LoadSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
B
bigsheeper 已提交
3650
	ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
G
godchen 已提交
3651 3652 3653
	ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	ReleaseSegments(ctx context.Context, in *ReleaseSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error)
3654 3655
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*internalpb.SearchResults, error)
	Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*internalpb.RetrieveResults, error)
3656 3657
	// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
	GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error)
3658 3659 3660 3661 3662 3663 3664 3665 3666 3667
}

type queryNodeClient struct {
	cc *grpc.ClientConn
}

func NewQueryNodeClient(cc *grpc.ClientConn) QueryNodeClient {
	return &queryNodeClient{cc}
}

G
godchen 已提交
3668 3669 3670
func (c *queryNodeClient) GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error) {
	out := new(internalpb.ComponentStates)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetComponentStates", in, out, opts...)
3671 3672 3673 3674 3675 3676
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3677
func (c *queryNodeClient) GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
X
xige-16 已提交
3678
	out := new(milvuspb.StringResponse)
G
godchen 已提交
3679
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetTimeTickChannel", in, out, opts...)
3680 3681 3682 3683 3684 3685
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3686 3687 3688
func (c *queryNodeClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
	out := new(milvuspb.StringResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetStatisticsChannel", in, out, opts...)
3689 3690 3691 3692 3693 3694
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3695
func (c *queryNodeClient) AddQueryChannel(ctx context.Context, in *AddQueryChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
3696 3697 3698 3699 3700 3701 3702 3703
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/AddQueryChannel", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3704
func (c *queryNodeClient) RemoveQueryChannel(ctx context.Context, in *RemoveQueryChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/RemoveQueryChannel", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *queryNodeClient) WatchDmChannels(ctx context.Context, in *WatchDmChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/WatchDmChannels", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3722 3723 3724 3725 3726 3727 3728 3729 3730
func (c *queryNodeClient) WatchDeltaChannels(ctx context.Context, in *WatchDeltaChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/WatchDeltaChannels", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3731
func (c *queryNodeClient) LoadSegments(ctx context.Context, in *LoadSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
3732 3733 3734 3735 3736 3737 3738 3739
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/LoadSegments", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

B
bigsheeper 已提交
3740 3741 3742 3743 3744 3745 3746 3747 3748
func (c *queryNodeClient) ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/ReleaseCollection", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3749
func (c *queryNodeClient) ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
B
bigsheeper 已提交
3750 3751 3752 3753 3754 3755 3756 3757
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/ReleasePartitions", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3758
func (c *queryNodeClient) ReleaseSegments(ctx context.Context, in *ReleaseSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
3759 3760 3761 3762 3763 3764 3765 3766
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/ReleaseSegments", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3767 3768
func (c *queryNodeClient) GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error) {
	out := new(GetSegmentInfoResponse)
B
bigsheeper 已提交
3769 3770 3771 3772 3773 3774 3775
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetSegmentInfo", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3776 3777
func (c *queryNodeClient) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*internalpb.SearchResults, error) {
	out := new(internalpb.SearchResults)
3778 3779 3780 3781 3782 3783 3784
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/Search", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3785 3786
func (c *queryNodeClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*internalpb.RetrieveResults, error) {
	out := new(internalpb.RetrieveResults)
3787 3788 3789 3790 3791 3792 3793
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/Query", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3794 3795 3796 3797 3798 3799 3800 3801 3802
func (c *queryNodeClient) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) {
	out := new(milvuspb.GetMetricsResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetMetrics", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3803 3804
// QueryNodeServer is the server API for QueryNode service.
type QueryNodeServer interface {
G
godchen 已提交
3805 3806 3807 3808 3809
	GetComponentStates(context.Context, *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error)
	GetTimeTickChannel(context.Context, *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error)
	GetStatisticsChannel(context.Context, *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error)
	AddQueryChannel(context.Context, *AddQueryChannelRequest) (*commonpb.Status, error)
	RemoveQueryChannel(context.Context, *RemoveQueryChannelRequest) (*commonpb.Status, error)
3810
	WatchDmChannels(context.Context, *WatchDmChannelsRequest) (*commonpb.Status, error)
3811
	WatchDeltaChannels(context.Context, *WatchDeltaChannelsRequest) (*commonpb.Status, error)
G
godchen 已提交
3812
	LoadSegments(context.Context, *LoadSegmentsRequest) (*commonpb.Status, error)
B
bigsheeper 已提交
3813
	ReleaseCollection(context.Context, *ReleaseCollectionRequest) (*commonpb.Status, error)
G
godchen 已提交
3814 3815 3816
	ReleasePartitions(context.Context, *ReleasePartitionsRequest) (*commonpb.Status, error)
	ReleaseSegments(context.Context, *ReleaseSegmentsRequest) (*commonpb.Status, error)
	GetSegmentInfo(context.Context, *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error)
3817 3818
	Search(context.Context, *SearchRequest) (*internalpb.SearchResults, error)
	Query(context.Context, *QueryRequest) (*internalpb.RetrieveResults, error)
3819 3820
	// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
	GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
3821 3822 3823 3824 3825 3826
}

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

G
godchen 已提交
3827 3828
func (*UnimplementedQueryNodeServer) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
3829
}
G
godchen 已提交
3830 3831
func (*UnimplementedQueryNodeServer) GetTimeTickChannel(ctx context.Context, req *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetTimeTickChannel not implemented")
3832
}
G
godchen 已提交
3833 3834
func (*UnimplementedQueryNodeServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented")
3835
}
G
godchen 已提交
3836
func (*UnimplementedQueryNodeServer) AddQueryChannel(ctx context.Context, req *AddQueryChannelRequest) (*commonpb.Status, error) {
3837 3838
	return nil, status.Errorf(codes.Unimplemented, "method AddQueryChannel not implemented")
}
G
godchen 已提交
3839
func (*UnimplementedQueryNodeServer) RemoveQueryChannel(ctx context.Context, req *RemoveQueryChannelRequest) (*commonpb.Status, error) {
3840 3841 3842 3843 3844
	return nil, status.Errorf(codes.Unimplemented, "method RemoveQueryChannel not implemented")
}
func (*UnimplementedQueryNodeServer) WatchDmChannels(ctx context.Context, req *WatchDmChannelsRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method WatchDmChannels not implemented")
}
3845 3846 3847
func (*UnimplementedQueryNodeServer) WatchDeltaChannels(ctx context.Context, req *WatchDeltaChannelsRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method WatchDeltaChannels not implemented")
}
G
godchen 已提交
3848
func (*UnimplementedQueryNodeServer) LoadSegments(ctx context.Context, req *LoadSegmentsRequest) (*commonpb.Status, error) {
3849 3850
	return nil, status.Errorf(codes.Unimplemented, "method LoadSegments not implemented")
}
B
bigsheeper 已提交
3851 3852 3853
func (*UnimplementedQueryNodeServer) ReleaseCollection(ctx context.Context, req *ReleaseCollectionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ReleaseCollection not implemented")
}
G
godchen 已提交
3854
func (*UnimplementedQueryNodeServer) ReleasePartitions(ctx context.Context, req *ReleasePartitionsRequest) (*commonpb.Status, error) {
B
bigsheeper 已提交
3855 3856
	return nil, status.Errorf(codes.Unimplemented, "method ReleasePartitions not implemented")
}
G
godchen 已提交
3857
func (*UnimplementedQueryNodeServer) ReleaseSegments(ctx context.Context, req *ReleaseSegmentsRequest) (*commonpb.Status, error) {
3858 3859
	return nil, status.Errorf(codes.Unimplemented, "method ReleaseSegments not implemented")
}
G
godchen 已提交
3860
func (*UnimplementedQueryNodeServer) GetSegmentInfo(ctx context.Context, req *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error) {
B
bigsheeper 已提交
3861 3862
	return nil, status.Errorf(codes.Unimplemented, "method GetSegmentInfo not implemented")
}
3863
func (*UnimplementedQueryNodeServer) Search(ctx context.Context, req *SearchRequest) (*internalpb.SearchResults, error) {
3864 3865
	return nil, status.Errorf(codes.Unimplemented, "method Search not implemented")
}
3866
func (*UnimplementedQueryNodeServer) Query(ctx context.Context, req *QueryRequest) (*internalpb.RetrieveResults, error) {
3867 3868
	return nil, status.Errorf(codes.Unimplemented, "method Query not implemented")
}
3869 3870 3871
func (*UnimplementedQueryNodeServer) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented")
}
3872 3873 3874 3875 3876

func RegisterQueryNodeServer(s *grpc.Server, srv QueryNodeServer) {
	s.RegisterService(&_QueryNode_serviceDesc, srv)
}

G
godchen 已提交
3877 3878
func _QueryNode_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(internalpb.GetComponentStatesRequest)
3879 3880 3881 3882
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
G
godchen 已提交
3883
		return srv.(QueryNodeServer).GetComponentStates(ctx, in)
3884 3885 3886
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
G
godchen 已提交
3887
		FullMethod: "/milvus.proto.query.QueryNode/GetComponentStates",
3888 3889
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
3890
		return srv.(QueryNodeServer).GetComponentStates(ctx, req.(*internalpb.GetComponentStatesRequest))
3891 3892 3893 3894
	}
	return interceptor(ctx, in, info, handler)
}

G
godchen 已提交
3895 3896
func _QueryNode_GetTimeTickChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(internalpb.GetTimeTickChannelRequest)
3897 3898 3899 3900
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
G
godchen 已提交
3901
		return srv.(QueryNodeServer).GetTimeTickChannel(ctx, in)
3902 3903 3904
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
G
godchen 已提交
3905
		FullMethod: "/milvus.proto.query.QueryNode/GetTimeTickChannel",
3906 3907
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
3908
		return srv.(QueryNodeServer).GetTimeTickChannel(ctx, req.(*internalpb.GetTimeTickChannelRequest))
3909 3910 3911 3912
	}
	return interceptor(ctx, in, info, handler)
}

G
godchen 已提交
3913 3914
func _QueryNode_GetStatisticsChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(internalpb.GetStatisticsChannelRequest)
3915 3916 3917 3918
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
G
godchen 已提交
3919
		return srv.(QueryNodeServer).GetStatisticsChannel(ctx, in)
3920 3921 3922
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
G
godchen 已提交
3923
		FullMethod: "/milvus.proto.query.QueryNode/GetStatisticsChannel",
3924 3925
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
3926
		return srv.(QueryNodeServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest))
3927 3928 3929 3930
	}
	return interceptor(ctx, in, info, handler)
}

3931
func _QueryNode_AddQueryChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3932
	in := new(AddQueryChannelRequest)
3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryNodeServer).AddQueryChannel(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryNode/AddQueryChannel",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
3944
		return srv.(QueryNodeServer).AddQueryChannel(ctx, req.(*AddQueryChannelRequest))
3945 3946 3947 3948 3949
	}
	return interceptor(ctx, in, info, handler)
}

func _QueryNode_RemoveQueryChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3950
	in := new(RemoveQueryChannelRequest)
3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryNodeServer).RemoveQueryChannel(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryNode/RemoveQueryChannel",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
3962
		return srv.(QueryNodeServer).RemoveQueryChannel(ctx, req.(*RemoveQueryChannelRequest))
3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984
	}
	return interceptor(ctx, in, info, handler)
}

func _QueryNode_WatchDmChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(WatchDmChannelsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryNodeServer).WatchDmChannels(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryNode/WatchDmChannels",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryNodeServer).WatchDmChannels(ctx, req.(*WatchDmChannelsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002
func _QueryNode_WatchDeltaChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(WatchDeltaChannelsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryNodeServer).WatchDeltaChannels(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryNode/WatchDeltaChannels",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryNodeServer).WatchDeltaChannels(ctx, req.(*WatchDeltaChannelsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

4003
func _QueryNode_LoadSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
4004
	in := new(LoadSegmentsRequest)
4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryNodeServer).LoadSegments(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryNode/LoadSegments",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
4016
		return srv.(QueryNodeServer).LoadSegments(ctx, req.(*LoadSegmentsRequest))
4017 4018 4019 4020
	}
	return interceptor(ctx, in, info, handler)
}

B
bigsheeper 已提交
4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039
func _QueryNode_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.(QueryNodeServer).ReleaseCollection(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryNode/ReleaseCollection",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryNodeServer).ReleaseCollection(ctx, req.(*ReleaseCollectionRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _QueryNode_ReleasePartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
4040
	in := new(ReleasePartitionsRequest)
B
bigsheeper 已提交
4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryNodeServer).ReleasePartitions(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryNode/ReleasePartitions",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
4052
		return srv.(QueryNodeServer).ReleasePartitions(ctx, req.(*ReleasePartitionsRequest))
B
bigsheeper 已提交
4053 4054 4055 4056
	}
	return interceptor(ctx, in, info, handler)
}

4057
func _QueryNode_ReleaseSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
4058
	in := new(ReleaseSegmentsRequest)
4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryNodeServer).ReleaseSegments(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryNode/ReleaseSegments",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
4070
		return srv.(QueryNodeServer).ReleaseSegments(ctx, req.(*ReleaseSegmentsRequest))
4071 4072 4073 4074
	}
	return interceptor(ctx, in, info, handler)
}

B
bigsheeper 已提交
4075
func _QueryNode_GetSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
4076
	in := new(GetSegmentInfoRequest)
B
bigsheeper 已提交
4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryNodeServer).GetSegmentInfo(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryNode/GetSegmentInfo",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
4088
		return srv.(QueryNodeServer).GetSegmentInfo(ctx, req.(*GetSegmentInfoRequest))
B
bigsheeper 已提交
4089 4090 4091 4092
	}
	return interceptor(ctx, in, info, handler)
}

4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128
func _QueryNode_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.(QueryNodeServer).Search(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryNode/Search",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryNodeServer).Search(ctx, req.(*SearchRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _QueryNode_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.(QueryNodeServer).Query(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryNode/Query",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryNodeServer).Query(ctx, req.(*QueryRequest))
	}
	return interceptor(ctx, in, info, handler)
}

4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146
func _QueryNode_GetMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(milvuspb.GetMetricsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryNodeServer).GetMetrics(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryNode/GetMetrics",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryNodeServer).GetMetrics(ctx, req.(*milvuspb.GetMetricsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

4147 4148 4149 4150
var _QueryNode_serviceDesc = grpc.ServiceDesc{
	ServiceName: "milvus.proto.query.QueryNode",
	HandlerType: (*QueryNodeServer)(nil),
	Methods: []grpc.MethodDesc{
4151
		{
G
godchen 已提交
4152 4153
			MethodName: "GetComponentStates",
			Handler:    _QueryNode_GetComponentStates_Handler,
4154 4155
		},
		{
G
godchen 已提交
4156 4157
			MethodName: "GetTimeTickChannel",
			Handler:    _QueryNode_GetTimeTickChannel_Handler,
4158 4159
		},
		{
G
godchen 已提交
4160 4161
			MethodName: "GetStatisticsChannel",
			Handler:    _QueryNode_GetStatisticsChannel_Handler,
4162
		},
4163
		{
4164 4165
			MethodName: "AddQueryChannel",
			Handler:    _QueryNode_AddQueryChannel_Handler,
4166 4167
		},
		{
4168 4169 4170 4171 4172 4173 4174
			MethodName: "RemoveQueryChannel",
			Handler:    _QueryNode_RemoveQueryChannel_Handler,
		},
		{
			MethodName: "WatchDmChannels",
			Handler:    _QueryNode_WatchDmChannels_Handler,
		},
4175 4176 4177 4178
		{
			MethodName: "WatchDeltaChannels",
			Handler:    _QueryNode_WatchDeltaChannels_Handler,
		},
4179 4180 4181 4182
		{
			MethodName: "LoadSegments",
			Handler:    _QueryNode_LoadSegments_Handler,
		},
B
bigsheeper 已提交
4183 4184 4185 4186 4187 4188 4189 4190
		{
			MethodName: "ReleaseCollection",
			Handler:    _QueryNode_ReleaseCollection_Handler,
		},
		{
			MethodName: "ReleasePartitions",
			Handler:    _QueryNode_ReleasePartitions_Handler,
		},
4191 4192 4193 4194
		{
			MethodName: "ReleaseSegments",
			Handler:    _QueryNode_ReleaseSegments_Handler,
		},
B
bigsheeper 已提交
4195 4196 4197 4198
		{
			MethodName: "GetSegmentInfo",
			Handler:    _QueryNode_GetSegmentInfo_Handler,
		},
4199 4200 4201 4202 4203 4204 4205 4206
		{
			MethodName: "Search",
			Handler:    _QueryNode_Search_Handler,
		},
		{
			MethodName: "Query",
			Handler:    _QueryNode_Query_Handler,
		},
4207 4208 4209 4210
		{
			MethodName: "GetMetrics",
			Handler:    _QueryNode_GetMetrics_Handler,
		},
4211 4212
	},
	Streams:  []grpc.StreamDesc{},
4213
	Metadata: "query_coord.proto",
4214
}