query_coord.pb.go 169.4 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
	ReplicaId            int64                  `protobuf:"varint,5,opt,name=replica_id,json=replicaId,proto3" json:"replica_id,omitempty"`
1435
	LoadMeta             *LoadMetaInfo          `protobuf:"bytes,9,opt,name=load_meta,json=loadMeta,proto3" json:"load_meta,omitempty"`
1436 1437 1438 1439 1440 1441 1442 1443 1444
	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 已提交
1445
	return fileDescriptor_aab7cc9a69ed26e8, []int{21}
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 1493
}

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
}

1494 1495 1496 1497 1498 1499 1500
func (m *WatchDeltaChannelsRequest) GetReplicaId() int64 {
	if m != nil {
		return m.ReplicaId
	}
	return 0
}

1501 1502 1503 1504 1505 1506 1507
func (m *WatchDeltaChannelsRequest) GetLoadMeta() *LoadMetaInfo {
	if m != nil {
		return m.LoadMeta
	}
	return nil
}

1508
type SegmentLoadInfo struct {
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518
	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"`
1519
	IndexInfos           []*FieldIndexInfo     `protobuf:"bytes,11,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"`
1520
	SegmentSize          int64                 `protobuf:"varint,12,opt,name=segment_size,json=segmentSize,proto3" json:"segment_size,omitempty"`
1521
	InsertChannel        string                `protobuf:"bytes,13,opt,name=insert_channel,json=insertChannel,proto3" json:"insert_channel,omitempty"`
1522 1523 1524
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
1525 1526
}

1527 1528 1529 1530
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 已提交
1531
	return fileDescriptor_aab7cc9a69ed26e8, []int{22}
1532
}
1533 1534 1535

func (m *SegmentLoadInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SegmentLoadInfo.Unmarshal(m, b)
1536
}
1537 1538
func (m *SegmentLoadInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SegmentLoadInfo.Marshal(b, m, deterministic)
1539
}
1540 1541
func (m *SegmentLoadInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SegmentLoadInfo.Merge(m, src)
1542
}
1543 1544 1545 1546 1547
func (m *SegmentLoadInfo) XXX_Size() int {
	return xxx_messageInfo_SegmentLoadInfo.Size(m)
}
func (m *SegmentLoadInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_SegmentLoadInfo.DiscardUnknown(m)
1548 1549
}

1550
var xxx_messageInfo_SegmentLoadInfo proto.InternalMessageInfo
1551

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

1559 1560 1561 1562 1563 1564 1565 1566
func (m *SegmentLoadInfo) GetPartitionID() int64 {
	if m != nil {
		return m.PartitionID
	}
	return 0
}

func (m *SegmentLoadInfo) GetCollectionID() int64 {
1567 1568 1569 1570 1571 1572
	if m != nil {
		return m.CollectionID
	}
	return 0
}

1573
func (m *SegmentLoadInfo) GetDbID() int64 {
1574
	if m != nil {
1575
		return m.DbID
1576
	}
1577
	return 0
1578 1579
}

1580
func (m *SegmentLoadInfo) GetFlushTime() int64 {
1581
	if m != nil {
1582 1583 1584 1585 1586
		return m.FlushTime
	}
	return 0
}

1587
func (m *SegmentLoadInfo) GetBinlogPaths() []*datapb.FieldBinlog {
1588 1589
	if m != nil {
		return m.BinlogPaths
1590 1591 1592 1593
	}
	return nil
}

1594 1595 1596 1597 1598 1599 1600
func (m *SegmentLoadInfo) GetNumOfRows() int64 {
	if m != nil {
		return m.NumOfRows
	}
	return 0
}

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

1608
func (m *SegmentLoadInfo) GetDeltalogs() []*datapb.FieldBinlog {
1609 1610 1611 1612 1613 1614
	if m != nil {
		return m.Deltalogs
	}
	return nil
}

1615 1616 1617 1618 1619 1620 1621
func (m *SegmentLoadInfo) GetCompactionFrom() []int64 {
	if m != nil {
		return m.CompactionFrom
	}
	return nil
}

1622
func (m *SegmentLoadInfo) GetIndexInfos() []*FieldIndexInfo {
1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635
	if m != nil {
		return m.IndexInfos
	}
	return nil
}

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

1636 1637 1638 1639 1640 1641 1642
func (m *SegmentLoadInfo) GetInsertChannel() string {
	if m != nil {
		return m.InsertChannel
	}
	return ""
}

1643
type FieldIndexInfo struct {
1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656
	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:"-"`
}

1657 1658 1659 1660
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 已提交
1661
	return fileDescriptor_aab7cc9a69ed26e8, []int{23}
1662 1663
}

1664 1665
func (m *FieldIndexInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_FieldIndexInfo.Unmarshal(m, b)
1666
}
1667 1668
func (m *FieldIndexInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_FieldIndexInfo.Marshal(b, m, deterministic)
1669
}
1670 1671
func (m *FieldIndexInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_FieldIndexInfo.Merge(m, src)
1672
}
1673 1674
func (m *FieldIndexInfo) XXX_Size() int {
	return xxx_messageInfo_FieldIndexInfo.Size(m)
1675
}
1676 1677
func (m *FieldIndexInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_FieldIndexInfo.DiscardUnknown(m)
1678 1679
}

1680
var xxx_messageInfo_FieldIndexInfo proto.InternalMessageInfo
1681

1682
func (m *FieldIndexInfo) GetFieldID() int64 {
1683 1684 1685 1686 1687 1688
	if m != nil {
		return m.FieldID
	}
	return 0
}

1689
func (m *FieldIndexInfo) GetEnableIndex() bool {
1690 1691 1692 1693 1694 1695
	if m != nil {
		return m.EnableIndex
	}
	return false
}

1696
func (m *FieldIndexInfo) GetIndexName() string {
1697 1698 1699 1700 1701 1702
	if m != nil {
		return m.IndexName
	}
	return ""
}

1703
func (m *FieldIndexInfo) GetIndexID() int64 {
1704 1705 1706 1707 1708 1709
	if m != nil {
		return m.IndexID
	}
	return 0
}

1710
func (m *FieldIndexInfo) GetBuildID() int64 {
1711
	if m != nil {
1712 1713 1714 1715 1716
		return m.BuildID
	}
	return 0
}

1717
func (m *FieldIndexInfo) GetIndexParams() []*commonpb.KeyValuePair {
1718 1719 1720 1721 1722 1723
	if m != nil {
		return m.IndexParams
	}
	return nil
}

1724
func (m *FieldIndexInfo) GetIndexFilePaths() []string {
1725 1726
	if m != nil {
		return m.IndexFilePaths
1727 1728 1729 1730
	}
	return nil
}

1731
func (m *FieldIndexInfo) GetIndexSize() int64 {
1732 1733 1734 1735 1736 1737
	if m != nil {
		return m.IndexSize
	}
	return 0
}

G
godchen 已提交
1738
type LoadSegmentsRequest struct {
1739
	Base                 *commonpb.MsgBase          `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
1740
	DstNodeID            int64                      `protobuf:"varint,2,opt,name=dst_nodeID,json=dstNodeID,proto3" json:"dst_nodeID,omitempty"`
1741 1742
	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 已提交
1743 1744
	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"`
1745
	LoadMeta             *LoadMetaInfo              `protobuf:"bytes,7,opt,name=load_meta,json=loadMeta,proto3" json:"load_meta,omitempty"`
1746
	ReplicaID            int64                      `protobuf:"varint,8,opt,name=replicaID,proto3" json:"replicaID,omitempty"`
1747 1748 1749
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
1750 1751
}

G
godchen 已提交
1752 1753 1754 1755
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 已提交
1756
	return fileDescriptor_aab7cc9a69ed26e8, []int{24}
1757 1758
}

G
godchen 已提交
1759 1760
func (m *LoadSegmentsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LoadSegmentsRequest.Unmarshal(m, b)
1761
}
G
godchen 已提交
1762 1763
func (m *LoadSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LoadSegmentsRequest.Marshal(b, m, deterministic)
1764
}
G
godchen 已提交
1765 1766
func (m *LoadSegmentsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LoadSegmentsRequest.Merge(m, src)
1767
}
G
godchen 已提交
1768 1769
func (m *LoadSegmentsRequest) XXX_Size() int {
	return xxx_messageInfo_LoadSegmentsRequest.Size(m)
1770
}
G
godchen 已提交
1771 1772
func (m *LoadSegmentsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_LoadSegmentsRequest.DiscardUnknown(m)
1773 1774
}

G
godchen 已提交
1775
var xxx_messageInfo_LoadSegmentsRequest proto.InternalMessageInfo
1776

G
godchen 已提交
1777
func (m *LoadSegmentsRequest) GetBase() *commonpb.MsgBase {
1778 1779 1780 1781 1782 1783
	if m != nil {
		return m.Base
	}
	return nil
}

1784
func (m *LoadSegmentsRequest) GetDstNodeID() int64 {
1785
	if m != nil {
1786
		return m.DstNodeID
1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804
	}
	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
}

1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818
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
}

1819 1820 1821 1822 1823 1824 1825
func (m *LoadSegmentsRequest) GetLoadMeta() *LoadMetaInfo {
	if m != nil {
		return m.LoadMeta
	}
	return nil
}

1826 1827 1828 1829 1830 1831 1832
func (m *LoadSegmentsRequest) GetReplicaID() int64 {
	if m != nil {
		return m.ReplicaID
	}
	return 0
}

1833
type ReleaseSegmentsRequest struct {
C
Cai Yudong 已提交
1834 1835 1836 1837 1838 1839 1840 1841 1842 1843
	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:"-"`
1844 1845 1846 1847 1848 1849
}

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 已提交
1850
	return fileDescriptor_aab7cc9a69ed26e8, []int{25}
1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885
}

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 {
1886 1887 1888 1889 1890 1891
	if m != nil {
		return m.DbID
	}
	return 0
}

1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912
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
}

1913
type SearchRequest struct {
1914 1915 1916 1917 1918 1919
	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:"-"`
1920 1921 1922 1923 1924 1925
}

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 已提交
1926
	return fileDescriptor_aab7cc9a69ed26e8, []int{26}
1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946
}

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

1947
func (m *SearchRequest) GetReq() *internalpb.SearchRequest {
1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968
	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 {
1969 1970 1971 1972 1973 1974
	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:"-"`
1975 1976 1977 1978 1979 1980
}

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 已提交
1981
	return fileDescriptor_aab7cc9a69ed26e8, []int{27}
1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001
}

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

2002
func (m *QueryRequest) GetReq() *internalpb.RetrieveRequest {
2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022
	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
}

2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 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
type SyncReplicaSegmentsRequest struct {
	Base                 *commonpb.MsgBase      `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	VchannelName         string                 `protobuf:"bytes,2,opt,name=vchannel_name,json=vchannelName,proto3" json:"vchannel_name,omitempty"`
	ReplicaSegments      []*ReplicaSegmentsInfo `protobuf:"bytes,3,rep,name=replica_segments,json=replicaSegments,proto3" json:"replica_segments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (m *SyncReplicaSegmentsRequest) Reset()         { *m = SyncReplicaSegmentsRequest{} }
func (m *SyncReplicaSegmentsRequest) String() string { return proto.CompactTextString(m) }
func (*SyncReplicaSegmentsRequest) ProtoMessage()    {}
func (*SyncReplicaSegmentsRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_aab7cc9a69ed26e8, []int{28}
}

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

var xxx_messageInfo_SyncReplicaSegmentsRequest proto.InternalMessageInfo

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

func (m *SyncReplicaSegmentsRequest) GetVchannelName() string {
	if m != nil {
		return m.VchannelName
	}
	return ""
}

func (m *SyncReplicaSegmentsRequest) GetReplicaSegments() []*ReplicaSegmentsInfo {
	if m != nil {
		return m.ReplicaSegments
	}
	return nil
}

type ReplicaSegmentsInfo struct {
	NodeId               int64    `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	PartitionId          int64    `protobuf:"varint,2,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
	SegmentIds           []int64  `protobuf:"varint,3,rep,packed,name=segment_ids,json=segmentIds,proto3" json:"segment_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ReplicaSegmentsInfo) Reset()         { *m = ReplicaSegmentsInfo{} }
func (m *ReplicaSegmentsInfo) String() string { return proto.CompactTextString(m) }
func (*ReplicaSegmentsInfo) ProtoMessage()    {}
func (*ReplicaSegmentsInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_aab7cc9a69ed26e8, []int{29}
}

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

var xxx_messageInfo_ReplicaSegmentsInfo proto.InternalMessageInfo

func (m *ReplicaSegmentsInfo) GetNodeId() int64 {
	if m != nil {
		return m.NodeId
	}
	return 0
}

func (m *ReplicaSegmentsInfo) GetPartitionId() int64 {
	if m != nil {
		return m.PartitionId
	}
	return 0
}

func (m *ReplicaSegmentsInfo) GetSegmentIds() []int64 {
	if m != nil {
		return m.SegmentIds
	}
	return nil
}

X
xige-16 已提交
2133 2134 2135 2136 2137 2138 2139
//----------------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:"-"`
2140 2141
}

X
xige-16 已提交
2142 2143 2144 2145
func (m *HandoffSegmentsRequest) Reset()         { *m = HandoffSegmentsRequest{} }
func (m *HandoffSegmentsRequest) String() string { return proto.CompactTextString(m) }
func (*HandoffSegmentsRequest) ProtoMessage()    {}
func (*HandoffSegmentsRequest) Descriptor() ([]byte, []int) {
2146
	return fileDescriptor_aab7cc9a69ed26e8, []int{30}
2147 2148
}

X
xige-16 已提交
2149 2150
func (m *HandoffSegmentsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_HandoffSegmentsRequest.Unmarshal(m, b)
2151
}
X
xige-16 已提交
2152 2153
func (m *HandoffSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_HandoffSegmentsRequest.Marshal(b, m, deterministic)
2154
}
X
xige-16 已提交
2155 2156
func (m *HandoffSegmentsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_HandoffSegmentsRequest.Merge(m, src)
2157
}
X
xige-16 已提交
2158 2159 2160 2161 2162
func (m *HandoffSegmentsRequest) XXX_Size() int {
	return xxx_messageInfo_HandoffSegmentsRequest.Size(m)
}
func (m *HandoffSegmentsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_HandoffSegmentsRequest.DiscardUnknown(m)
2163 2164
}

X
xige-16 已提交
2165
var xxx_messageInfo_HandoffSegmentsRequest proto.InternalMessageInfo
2166

X
xige-16 已提交
2167
func (m *HandoffSegmentsRequest) GetBase() *commonpb.MsgBase {
2168
	if m != nil {
X
xige-16 已提交
2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186
		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"`
2187
	CollectionID         int64             `protobuf:"varint,6,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
X
xige-16 已提交
2188 2189 2190 2191 2192 2193 2194 2195 2196
	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) {
2197
	return fileDescriptor_aab7cc9a69ed26e8, []int{31}
X
xige-16 已提交
2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 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 2248 2249 2250 2251 2252
}

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
}

2253 2254 2255 2256 2257 2258 2259
func (m *LoadBalanceRequest) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

X
xige-16 已提交
2260 2261
type DmChannelWatchInfo struct {
	CollectionID         int64    `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
2262 2263
	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"`
2264
	ReplicaID            int64    `protobuf:"varint,4,opt,name=replicaID,proto3" json:"replicaID,omitempty"`
2265
	NodeIds              []int64  `protobuf:"varint,5,rep,packed,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"`
X
xige-16 已提交
2266 2267 2268 2269 2270 2271 2272 2273 2274
	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) {
2275
	return fileDescriptor_aab7cc9a69ed26e8, []int{32}
X
xige-16 已提交
2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298
}

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
2299 2300 2301 2302
	}
	return 0
}

X
xige-16 已提交
2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316
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
}

2317 2318 2319 2320 2321 2322 2323
func (m *DmChannelWatchInfo) GetReplicaID() int64 {
	if m != nil {
		return m.ReplicaID
	}
	return 0
}

2324 2325 2326 2327 2328 2329 2330
func (m *DmChannelWatchInfo) GetNodeIds() []int64 {
	if m != nil {
		return m.NodeIds
	}
	return nil
}

2331
type QueryChannelInfo struct {
2332
	CollectionID         int64                   `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
X
xige-16 已提交
2333 2334
	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"`
2335 2336 2337 2338 2339
	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:"-"`
2340 2341 2342 2343 2344 2345
}

func (m *QueryChannelInfo) Reset()         { *m = QueryChannelInfo{} }
func (m *QueryChannelInfo) String() string { return proto.CompactTextString(m) }
func (*QueryChannelInfo) ProtoMessage()    {}
func (*QueryChannelInfo) Descriptor() ([]byte, []int) {
2346
	return fileDescriptor_aab7cc9a69ed26e8, []int{33}
2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373
}

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 已提交
2374
func (m *QueryChannelInfo) GetQueryChannel() string {
2375
	if m != nil {
X
xige-16 已提交
2376
		return m.QueryChannel
2377 2378 2379 2380
	}
	return ""
}

X
xige-16 已提交
2381
func (m *QueryChannelInfo) GetQueryResultChannel() string {
2382
	if m != nil {
X
xige-16 已提交
2383
		return m.QueryResultChannel
2384 2385 2386 2387
	}
	return ""
}

2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401
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 已提交
2402 2403 2404 2405 2406 2407 2408
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:"-"`
2409 2410
}

X
xige-16 已提交
2411 2412 2413 2414
func (m *PartitionStates) Reset()         { *m = PartitionStates{} }
func (m *PartitionStates) String() string { return proto.CompactTextString(m) }
func (*PartitionStates) ProtoMessage()    {}
func (*PartitionStates) Descriptor() ([]byte, []int) {
2415
	return fileDescriptor_aab7cc9a69ed26e8, []int{34}
2416 2417
}

X
xige-16 已提交
2418 2419
func (m *PartitionStates) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_PartitionStates.Unmarshal(m, b)
2420
}
X
xige-16 已提交
2421 2422
func (m *PartitionStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_PartitionStates.Marshal(b, m, deterministic)
2423
}
X
xige-16 已提交
2424 2425
func (m *PartitionStates) XXX_Merge(src proto.Message) {
	xxx_messageInfo_PartitionStates.Merge(m, src)
2426
}
X
xige-16 已提交
2427 2428
func (m *PartitionStates) XXX_Size() int {
	return xxx_messageInfo_PartitionStates.Size(m)
2429
}
X
xige-16 已提交
2430 2431
func (m *PartitionStates) XXX_DiscardUnknown() {
	xxx_messageInfo_PartitionStates.DiscardUnknown(m)
2432 2433
}

X
xige-16 已提交
2434
var xxx_messageInfo_PartitionStates proto.InternalMessageInfo
2435

X
xige-16 已提交
2436
func (m *PartitionStates) GetPartitionID() int64 {
2437
	if m != nil {
X
xige-16 已提交
2438
		return m.PartitionID
2439 2440 2441 2442
	}
	return 0
}

X
xige-16 已提交
2443
func (m *PartitionStates) GetState() PartitionState {
2444
	if m != nil {
X
xige-16 已提交
2445
		return m.State
2446
	}
X
xige-16 已提交
2447
	return PartitionState_NotExist
2448 2449
}

X
xige-16 已提交
2450
func (m *PartitionStates) GetInMemoryPercentage() int64 {
2451 2452 2453 2454 2455 2456
	if m != nil {
		return m.InMemoryPercentage
	}
	return 0
}

X
xige-16 已提交
2457
type SegmentInfo struct {
2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469
	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"`
2470
	IndexInfos           []*FieldIndexInfo     `protobuf:"bytes,13,rep,name=index_infos,json=indexInfos,proto3" json:"index_infos,omitempty"`
2471 2472
	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"`
2473 2474 2475
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
2476 2477
}

X
xige-16 已提交
2478 2479 2480 2481
func (m *SegmentInfo) Reset()         { *m = SegmentInfo{} }
func (m *SegmentInfo) String() string { return proto.CompactTextString(m) }
func (*SegmentInfo) ProtoMessage()    {}
func (*SegmentInfo) Descriptor() ([]byte, []int) {
2482
	return fileDescriptor_aab7cc9a69ed26e8, []int{35}
2483 2484
}

X
xige-16 已提交
2485 2486
func (m *SegmentInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SegmentInfo.Unmarshal(m, b)
2487
}
X
xige-16 已提交
2488 2489
func (m *SegmentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SegmentInfo.Marshal(b, m, deterministic)
2490
}
X
xige-16 已提交
2491 2492
func (m *SegmentInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SegmentInfo.Merge(m, src)
2493
}
X
xige-16 已提交
2494 2495
func (m *SegmentInfo) XXX_Size() int {
	return xxx_messageInfo_SegmentInfo.Size(m)
2496
}
X
xige-16 已提交
2497 2498
func (m *SegmentInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_SegmentInfo.DiscardUnknown(m)
2499 2500
}

X
xige-16 已提交
2501
var xxx_messageInfo_SegmentInfo proto.InternalMessageInfo
2502

X
xige-16 已提交
2503
func (m *SegmentInfo) GetSegmentID() int64 {
2504 2505 2506 2507 2508 2509
	if m != nil {
		return m.SegmentID
	}
	return 0
}

X
xige-16 已提交
2510
func (m *SegmentInfo) GetCollectionID() int64 {
2511
	if m != nil {
X
xige-16 已提交
2512
		return m.CollectionID
2513 2514 2515 2516
	}
	return 0
}

X
xige-16 已提交
2517
func (m *SegmentInfo) GetPartitionID() int64 {
2518
	if m != nil {
X
xige-16 已提交
2519
		return m.PartitionID
2520 2521 2522 2523
	}
	return 0
}

X
xige-16 已提交
2524
func (m *SegmentInfo) GetNodeID() int64 {
2525
	if m != nil {
X
xige-16 已提交
2526
		return m.NodeID
2527
	}
Z
zhenshan.cao 已提交
2528
	return 0
2529 2530
}

X
xige-16 已提交
2531
func (m *SegmentInfo) GetMemSize() int64 {
2532
	if m != nil {
X
xige-16 已提交
2533
		return m.MemSize
2534
	}
2535
	return 0
2536 2537
}

X
xige-16 已提交
2538
func (m *SegmentInfo) GetNumRows() int64 {
2539
	if m != nil {
X
xige-16 已提交
2540
		return m.NumRows
2541
	}
X
xige-16 已提交
2542
	return 0
2543 2544
}

X
xige-16 已提交
2545
func (m *SegmentInfo) GetIndexName() string {
2546
	if m != nil {
X
xige-16 已提交
2547
		return m.IndexName
2548
	}
X
xige-16 已提交
2549
	return ""
2550 2551
}

X
xige-16 已提交
2552
func (m *SegmentInfo) GetIndexID() int64 {
2553
	if m != nil {
X
xige-16 已提交
2554
		return m.IndexID
2555
	}
X
xige-16 已提交
2556
	return 0
2557 2558
}

X
xige-16 已提交
2559 2560 2561 2562 2563
func (m *SegmentInfo) GetDmChannel() string {
	if m != nil {
		return m.DmChannel
	}
	return ""
X
xige-16 已提交
2564 2565
}

X
xige-16 已提交
2566 2567 2568 2569 2570
func (m *SegmentInfo) GetCompactionFrom() []int64 {
	if m != nil {
		return m.CompactionFrom
	}
	return nil
X
xige-16 已提交
2571 2572
}

X
xige-16 已提交
2573 2574 2575 2576 2577
func (m *SegmentInfo) GetCreatedByCompaction() bool {
	if m != nil {
		return m.CreatedByCompaction
	}
	return false
X
xige-16 已提交
2578 2579
}

X
xige-16 已提交
2580 2581 2582 2583 2584 2585
func (m *SegmentInfo) GetSegmentState() commonpb.SegmentState {
	if m != nil {
		return m.SegmentState
	}
	return commonpb.SegmentState_SegmentStateNone
}
X
xige-16 已提交
2586

2587
func (m *SegmentInfo) GetIndexInfos() []*FieldIndexInfo {
X
xige-16 已提交
2588
	if m != nil {
2589
		return m.IndexInfos
X
xige-16 已提交
2590 2591 2592 2593
	}
	return nil
}

2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607
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 已提交
2608 2609 2610 2611
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"`
2612 2613 2614 2615
	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"`
2616
	ReplicaIds           []int64                    `protobuf:"varint,8,rep,packed,name=replica_ids,json=replicaIds,proto3" json:"replica_ids,omitempty"`
2617
	ReplicaNumber        int32                      `protobuf:"varint,9,opt,name=replica_number,json=replicaNumber,proto3" json:"replica_number,omitempty"`
X
xige-16 已提交
2618 2619 2620
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
2621 2622
}

X
xige-16 已提交
2623 2624 2625 2626
func (m *CollectionInfo) Reset()         { *m = CollectionInfo{} }
func (m *CollectionInfo) String() string { return proto.CompactTextString(m) }
func (*CollectionInfo) ProtoMessage()    {}
func (*CollectionInfo) Descriptor() ([]byte, []int) {
2627
	return fileDescriptor_aab7cc9a69ed26e8, []int{36}
2628 2629
}

X
xige-16 已提交
2630 2631
func (m *CollectionInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CollectionInfo.Unmarshal(m, b)
2632
}
X
xige-16 已提交
2633 2634
func (m *CollectionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CollectionInfo.Marshal(b, m, deterministic)
2635
}
X
xige-16 已提交
2636 2637
func (m *CollectionInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CollectionInfo.Merge(m, src)
2638
}
X
xige-16 已提交
2639 2640
func (m *CollectionInfo) XXX_Size() int {
	return xxx_messageInfo_CollectionInfo.Size(m)
2641
}
X
xige-16 已提交
2642 2643
func (m *CollectionInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_CollectionInfo.DiscardUnknown(m)
2644 2645
}

X
xige-16 已提交
2646
var xxx_messageInfo_CollectionInfo proto.InternalMessageInfo
2647

X
xige-16 已提交
2648
func (m *CollectionInfo) GetCollectionID() int64 {
2649
	if m != nil {
X
xige-16 已提交
2650 2651 2652 2653 2654 2655 2656 2657
		return m.CollectionID
	}
	return 0
}

func (m *CollectionInfo) GetPartitionIDs() []int64 {
	if m != nil {
		return m.PartitionIDs
2658 2659 2660 2661
	}
	return nil
}

X
xige-16 已提交
2662
func (m *CollectionInfo) GetPartitionStates() []*PartitionStates {
2663
	if m != nil {
X
xige-16 已提交
2664
		return m.PartitionStates
2665
	}
2666
	return nil
2667 2668
}

X
xige-16 已提交
2669
func (m *CollectionInfo) GetLoadType() LoadType {
2670
	if m != nil {
X
xige-16 已提交
2671 2672
		return m.LoadType
	}
2673
	return LoadType_UnKnownType
X
xige-16 已提交
2674 2675 2676 2677 2678
}

func (m *CollectionInfo) GetSchema() *schemapb.CollectionSchema {
	if m != nil {
		return m.Schema
2679 2680 2681 2682
	}
	return nil
}

X
xige-16 已提交
2683
func (m *CollectionInfo) GetReleasedPartitionIDs() []int64 {
2684
	if m != nil {
X
xige-16 已提交
2685
		return m.ReleasedPartitionIDs
2686 2687 2688 2689
	}
	return nil
}

X
xige-16 已提交
2690 2691 2692 2693 2694 2695 2696
func (m *CollectionInfo) GetInMemoryPercentage() int64 {
	if m != nil {
		return m.InMemoryPercentage
	}
	return 0
}

2697 2698 2699 2700 2701 2702 2703
func (m *CollectionInfo) GetReplicaIds() []int64 {
	if m != nil {
		return m.ReplicaIds
	}
	return nil
}

2704 2705 2706 2707 2708 2709 2710
func (m *CollectionInfo) GetReplicaNumber() int32 {
	if m != nil {
		return m.ReplicaNumber
	}
	return 0
}

2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722
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) {
2723
	return fileDescriptor_aab7cc9a69ed26e8, []int{37}
2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769
}

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) {
2770
	return fileDescriptor_aab7cc9a69ed26e8, []int{38}
2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804
}

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 已提交
2805
//---- synchronize messages proto between QueryCoord and QueryNode -----
2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819
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) {
2820
	return fileDescriptor_aab7cc9a69ed26e8, []int{39}
2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 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
}

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
}

2869
type SealedSegmentsChangeInfo struct {
2870 2871 2872 2873 2874
	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:"-"`
2875 2876 2877 2878 2879 2880
}

func (m *SealedSegmentsChangeInfo) Reset()         { *m = SealedSegmentsChangeInfo{} }
func (m *SealedSegmentsChangeInfo) String() string { return proto.CompactTextString(m) }
func (*SealedSegmentsChangeInfo) ProtoMessage()    {}
func (*SealedSegmentsChangeInfo) Descriptor() ([]byte, []int) {
2881
	return fileDescriptor_aab7cc9a69ed26e8, []int{40}
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
}

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
}

2909
func (m *SealedSegmentsChangeInfo) GetInfos() []*SegmentChangeInfo {
2910
	if m != nil {
2911
		return m.Infos
2912 2913 2914 2915
	}
	return nil
}

2916 2917
func init() {
	proto.RegisterEnum("milvus.proto.query.PartitionState", PartitionState_name, PartitionState_value)
2918
	proto.RegisterEnum("milvus.proto.query.TriggerCondition", TriggerCondition_name, TriggerCondition_value)
2919
	proto.RegisterEnum("milvus.proto.query.LoadType", LoadType_name, LoadType_value)
G
godchen 已提交
2920 2921 2922 2923
	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")
2924 2925
	proto.RegisterType((*LoadCollectionRequest)(nil), "milvus.proto.query.LoadCollectionRequest")
	proto.RegisterType((*ReleaseCollectionRequest)(nil), "milvus.proto.query.ReleaseCollectionRequest")
G
godchen 已提交
2926 2927
	proto.RegisterType((*LoadPartitionsRequest)(nil), "milvus.proto.query.LoadPartitionsRequest")
	proto.RegisterType((*ReleasePartitionsRequest)(nil), "milvus.proto.query.ReleasePartitionsRequest")
2928
	proto.RegisterType((*CreateQueryChannelRequest)(nil), "milvus.proto.query.CreateQueryChannelRequest")
2929
	proto.RegisterType((*CreateQueryChannelResponse)(nil), "milvus.proto.query.CreateQueryChannelResponse")
2930 2931 2932 2933
	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")
2934 2935
	proto.RegisterType((*GetShardLeadersRequest)(nil), "milvus.proto.query.GetShardLeadersRequest")
	proto.RegisterType((*GetShardLeadersResponse)(nil), "milvus.proto.query.GetShardLeadersResponse")
2936
	proto.RegisterType((*ShardLeadersList)(nil), "milvus.proto.query.ShardLeadersList")
G
godchen 已提交
2937 2938
	proto.RegisterType((*AddQueryChannelRequest)(nil), "milvus.proto.query.AddQueryChannelRequest")
	proto.RegisterType((*RemoveQueryChannelRequest)(nil), "milvus.proto.query.RemoveQueryChannelRequest")
2939
	proto.RegisterType((*LoadMetaInfo)(nil), "milvus.proto.query.LoadMetaInfo")
2940
	proto.RegisterType((*WatchDmChannelsRequest)(nil), "milvus.proto.query.WatchDmChannelsRequest")
2941
	proto.RegisterType((*WatchDeltaChannelsRequest)(nil), "milvus.proto.query.WatchDeltaChannelsRequest")
2942
	proto.RegisterType((*SegmentLoadInfo)(nil), "milvus.proto.query.SegmentLoadInfo")
2943
	proto.RegisterType((*FieldIndexInfo)(nil), "milvus.proto.query.FieldIndexInfo")
G
godchen 已提交
2944 2945
	proto.RegisterType((*LoadSegmentsRequest)(nil), "milvus.proto.query.LoadSegmentsRequest")
	proto.RegisterType((*ReleaseSegmentsRequest)(nil), "milvus.proto.query.ReleaseSegmentsRequest")
2946 2947
	proto.RegisterType((*SearchRequest)(nil), "milvus.proto.query.SearchRequest")
	proto.RegisterType((*QueryRequest)(nil), "milvus.proto.query.QueryRequest")
2948 2949
	proto.RegisterType((*SyncReplicaSegmentsRequest)(nil), "milvus.proto.query.SyncReplicaSegmentsRequest")
	proto.RegisterType((*ReplicaSegmentsInfo)(nil), "milvus.proto.query.ReplicaSegmentsInfo")
X
xige-16 已提交
2950
	proto.RegisterType((*HandoffSegmentsRequest)(nil), "milvus.proto.query.HandoffSegmentsRequest")
2951
	proto.RegisterType((*LoadBalanceRequest)(nil), "milvus.proto.query.LoadBalanceRequest")
X
xige-16 已提交
2952 2953 2954 2955 2956
	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")
2957 2958
	proto.RegisterType((*UnsubscribeChannels)(nil), "milvus.proto.query.UnsubscribeChannels")
	proto.RegisterType((*UnsubscribeChannelInfo)(nil), "milvus.proto.query.UnsubscribeChannelInfo")
2959
	proto.RegisterType((*SegmentChangeInfo)(nil), "milvus.proto.query.SegmentChangeInfo")
2960
	proto.RegisterType((*SealedSegmentsChangeInfo)(nil), "milvus.proto.query.SealedSegmentsChangeInfo")
2961 2962
}

2963
func init() { proto.RegisterFile("query_coord.proto", fileDescriptor_aab7cc9a69ed26e8) }
2964

2965
var fileDescriptor_aab7cc9a69ed26e8 = []byte{
2966
	// 2860 bytes of a gzipped FileDescriptorProto
2967
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x1a, 0x4b, 0x8f, 0x1c, 0x47,
2968
	0x79, 0x7b, 0x5e, 0x3b, 0xf3, 0xcd, 0xd3, 0xb5, 0xf6, 0x66, 0x3c, 0xd8, 0x89, 0xd3, 0x8e, 0x13,
2969
	0xe3, 0x90, 0xb5, 0xd9, 0x00, 0x4a, 0x04, 0x1c, 0xb2, 0xbb, 0x78, 0xb3, 0xc4, 0xde, 0x6c, 0x7a,
2970
	0xd7, 0x01, 0xac, 0x48, 0x43, 0xcf, 0x74, 0xed, 0x6c, 0x2b, 0xfd, 0x18, 0x77, 0xf5, 0xd8, 0xde,
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 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145
	0x9c, 0x11, 0x22, 0x3c, 0x84, 0x38, 0x71, 0x41, 0x39, 0x81, 0x00, 0x89, 0x88, 0x0b, 0x97, 0x5c,
	0x10, 0xe2, 0xc2, 0x95, 0x5f, 0x80, 0xb8, 0xf1, 0x0b, 0x38, 0x22, 0xa1, 0x7a, 0xf5, 0xf4, 0xa3,
	0x7a, 0x67, 0x76, 0x27, 0x8e, 0x23, 0xc4, 0xad, 0xeb, 0xeb, 0xaf, 0xea, 0x7b, 0xd6, 0xf7, 0xa8,
	0x2a, 0x38, 0xf7, 0x60, 0x82, 0x83, 0xe3, 0xfe, 0xd0, 0xf7, 0x03, 0x6b, 0x6d, 0x1c, 0xf8, 0xa1,
	0x8f, 0x90, 0x6b, 0x3b, 0x0f, 0x27, 0x84, 0x8f, 0xd6, 0xd8, 0xff, 0x5e, 0x63, 0xe8, 0xbb, 0xae,
	0xef, 0x71, 0x58, 0xaf, 0x11, 0xc7, 0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0x7d, 0xf5, 0x30, 0x8b, 0xc6, 0x7b, 0xd0, 0x4e, 0x5d, 0xdd,
	0xab, 0x25, 0x50, 0xdf, 0xef, 0xcf, 0x21, 0x41, 0xf6, 0x4e, 0x59, 0x2d, 0x41, 0xee, 0xdd, 0xf3,
	0x2c, 0x1a, 0xef, 0xf2, 0x07, 0x11, 0x51, 0xd1, 0xfe, 0x52, 0x5e, 0xbc, 0x49, 0x9d, 0xc1, 0x3e,
	0xfd, 0x0c, 0xf4, 0xe4, 0x33, 0xf4, 0x7b, 0xd0, 0x4e, 0x5d, 0xdb, 0xa8, 0xad, 0xab, 0xbe, 0xdb,
	0x99, 0xb5, 0xfa, 0x67, 0x98, 0x53, 0x2c, 0x58, 0x51, 0xdc, 0x43, 0x20, 0x65, 0x1e, 0xcc, 0xbf,
	0xb0, 0x98, 0x25, 0xd0, 0x3e, 0x54, 0xf8, 0x8d, 0x0e, 0x7a, 0x5e, 0xdd, 0x28, 0xc5, 0x6e, 0x7b,
	0x7a, 0xb3, 0xee, 0x84, 0xc8, 0xc4, 0x09, 0xf9, 0xa2, 0x65, 0xb6, 0x2f, 0x91, 0xf2, 0x3a, 0x2e,
	0x7e, 0xd3, 0xd3, 0x9b, 0x7d, 0xb9, 0x23, 0x17, 0x7d, 0xd2, 0xd9, 0x70, 0xe3, 0x2b, 0xf7, 0xd7,
	0x47, 0x76, 0x78, 0x34, 0x19, 0x50, 0x25, 0xdd, 0xe4, 0x98, 0xaf, 0xd8, 0xbe, 0xf8, 0xba, 0x29,
	0x59, 0xbb, 0xc9, 0x56, 0xba, 0xc9, 0x64, 0x19, 0x0f, 0x06, 0x15, 0x36, 0x7c, 0xf5, 0xbf, 0x01,
	0x00, 0x00, 0xff, 0xff, 0x60, 0x69, 0xde, 0x7d, 0x3f, 0x32, 0x00, 0x00,
3146 3147 3148 3149 3150 3151 3152 3153 3154 3155
}

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

3156
// QueryCoordClient is the client API for QueryCoord service.
3157 3158
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
3159
type QueryCoordClient interface {
G
godchen 已提交
3160 3161 3162 3163 3164 3165 3166
	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)
3167 3168
	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 已提交
3169 3170 3171
	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 已提交
3172
	LoadBalance(ctx context.Context, in *LoadBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
3173 3174
	// 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)
3175
	// https://wiki.lfaidata.foundation/display/MIL/MEP+23+--+Multiple+memory+replication+design
X
XuanYang-cn 已提交
3176
	GetReplicas(ctx context.Context, in *milvuspb.GetReplicasRequest, opts ...grpc.CallOption) (*milvuspb.GetReplicasResponse, error)
3177
	GetShardLeaders(ctx context.Context, in *GetShardLeadersRequest, opts ...grpc.CallOption) (*GetShardLeadersResponse, error)
3178 3179
}

3180
type queryCoordClient struct {
3181 3182 3183
	cc *grpc.ClientConn
}

3184 3185
func NewQueryCoordClient(cc *grpc.ClientConn) QueryCoordClient {
	return &queryCoordClient{cc}
3186 3187
}

3188
func (c *queryCoordClient) GetComponentStates(ctx context.Context, in *internalpb.GetComponentStatesRequest, opts ...grpc.CallOption) (*internalpb.ComponentStates, error) {
G
godchen 已提交
3189
	out := new(internalpb.ComponentStates)
3190
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetComponentStates", in, out, opts...)
3191 3192 3193 3194 3195 3196
	if err != nil {
		return nil, err
	}
	return out, nil
}

3197
func (c *queryCoordClient) GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
G
godchen 已提交
3198
	out := new(milvuspb.StringResponse)
3199
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetTimeTickChannel", in, out, opts...)
3200 3201 3202 3203 3204 3205
	if err != nil {
		return nil, err
	}
	return out, nil
}

3206
func (c *queryCoordClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
G
godchen 已提交
3207
	out := new(milvuspb.StringResponse)
3208
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetStatisticsChannel", in, out, opts...)
3209 3210 3211 3212 3213 3214
	if err != nil {
		return nil, err
	}
	return out, nil
}

3215
func (c *queryCoordClient) ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error) {
G
godchen 已提交
3216
	out := new(ShowCollectionsResponse)
3217
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ShowCollections", in, out, opts...)
3218 3219 3220 3221 3222 3223
	if err != nil {
		return nil, err
	}
	return out, nil
}

3224
func (c *queryCoordClient) ShowPartitions(ctx context.Context, in *ShowPartitionsRequest, opts ...grpc.CallOption) (*ShowPartitionsResponse, error) {
G
godchen 已提交
3225
	out := new(ShowPartitionsResponse)
3226
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ShowPartitions", in, out, opts...)
3227 3228 3229 3230 3231 3232
	if err != nil {
		return nil, err
	}
	return out, nil
}

3233
func (c *queryCoordClient) LoadPartitions(ctx context.Context, in *LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
3234
	out := new(commonpb.Status)
3235
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/LoadPartitions", in, out, opts...)
3236 3237 3238 3239 3240 3241
	if err != nil {
		return nil, err
	}
	return out, nil
}

3242
func (c *queryCoordClient) ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
G
godchen 已提交
3243
	out := new(commonpb.Status)
3244
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ReleasePartitions", in, out, opts...)
3245 3246 3247 3248 3249 3250
	if err != nil {
		return nil, err
	}
	return out, nil
}

3251
func (c *queryCoordClient) LoadCollection(ctx context.Context, in *LoadCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
G
godchen 已提交
3252
	out := new(commonpb.Status)
3253
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/LoadCollection", in, out, opts...)
3254 3255 3256 3257 3258 3259
	if err != nil {
		return nil, err
	}
	return out, nil
}

3260
func (c *queryCoordClient) ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
G
godchen 已提交
3261
	out := new(commonpb.Status)
3262
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/ReleaseCollection", in, out, opts...)
3263 3264 3265 3266 3267 3268
	if err != nil {
		return nil, err
	}
	return out, nil
}

3269
func (c *queryCoordClient) CreateQueryChannel(ctx context.Context, in *CreateQueryChannelRequest, opts ...grpc.CallOption) (*CreateQueryChannelResponse, error) {
G
godchen 已提交
3270
	out := new(CreateQueryChannelResponse)
3271
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/CreateQueryChannel", in, out, opts...)
3272 3273 3274 3275 3276 3277
	if err != nil {
		return nil, err
	}
	return out, nil
}

3278
func (c *queryCoordClient) GetPartitionStates(ctx context.Context, in *GetPartitionStatesRequest, opts ...grpc.CallOption) (*GetPartitionStatesResponse, error) {
G
godchen 已提交
3279
	out := new(GetPartitionStatesResponse)
3280
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetPartitionStates", in, out, opts...)
3281 3282 3283 3284 3285 3286
	if err != nil {
		return nil, err
	}
	return out, nil
}

3287
func (c *queryCoordClient) GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error) {
G
godchen 已提交
3288
	out := new(GetSegmentInfoResponse)
3289
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetSegmentInfo", in, out, opts...)
B
bigsheeper 已提交
3290 3291 3292 3293 3294 3295
	if err != nil {
		return nil, err
	}
	return out, nil
}

B
bigsheeper 已提交
3296 3297 3298 3299 3300 3301 3302 3303 3304
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
}

3305 3306 3307 3308 3309 3310 3311 3312 3313
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 已提交
3314 3315
func (c *queryCoordClient) GetReplicas(ctx context.Context, in *milvuspb.GetReplicasRequest, opts ...grpc.CallOption) (*milvuspb.GetReplicasResponse, error) {
	out := new(milvuspb.GetReplicasResponse)
3316 3317 3318 3319 3320 3321 3322
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryCoord/GetReplicas", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3323 3324 3325 3326 3327 3328 3329 3330 3331
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
}

3332 3333
// QueryCoordServer is the server API for QueryCoord service.
type QueryCoordServer interface {
G
godchen 已提交
3334 3335 3336 3337 3338 3339 3340
	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)
3341 3342
	LoadCollection(context.Context, *LoadCollectionRequest) (*commonpb.Status, error)
	ReleaseCollection(context.Context, *ReleaseCollectionRequest) (*commonpb.Status, error)
G
godchen 已提交
3343 3344 3345
	CreateQueryChannel(context.Context, *CreateQueryChannelRequest) (*CreateQueryChannelResponse, error)
	GetPartitionStates(context.Context, *GetPartitionStatesRequest) (*GetPartitionStatesResponse, error)
	GetSegmentInfo(context.Context, *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error)
B
bigsheeper 已提交
3346
	LoadBalance(context.Context, *LoadBalanceRequest) (*commonpb.Status, error)
3347 3348
	// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
	GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
3349
	// https://wiki.lfaidata.foundation/display/MIL/MEP+23+--+Multiple+memory+replication+design
X
XuanYang-cn 已提交
3350
	GetReplicas(context.Context, *milvuspb.GetReplicasRequest) (*milvuspb.GetReplicasResponse, error)
3351
	GetShardLeaders(context.Context, *GetShardLeadersRequest) (*GetShardLeadersResponse, error)
3352 3353
}

3354 3355
// UnimplementedQueryCoordServer can be embedded to have forward compatible implementations.
type UnimplementedQueryCoordServer struct {
3356 3357
}

3358
func (*UnimplementedQueryCoordServer) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
G
godchen 已提交
3359 3360
	return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
}
3361
func (*UnimplementedQueryCoordServer) GetTimeTickChannel(ctx context.Context, req *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error) {
G
godchen 已提交
3362 3363
	return nil, status.Errorf(codes.Unimplemented, "method GetTimeTickChannel not implemented")
}
3364
func (*UnimplementedQueryCoordServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) {
G
godchen 已提交
3365 3366
	return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented")
}
3367
func (*UnimplementedQueryCoordServer) ShowCollections(ctx context.Context, req *ShowCollectionsRequest) (*ShowCollectionsResponse, error) {
3368 3369
	return nil, status.Errorf(codes.Unimplemented, "method ShowCollections not implemented")
}
3370
func (*UnimplementedQueryCoordServer) ShowPartitions(ctx context.Context, req *ShowPartitionsRequest) (*ShowPartitionsResponse, error) {
3371 3372
	return nil, status.Errorf(codes.Unimplemented, "method ShowPartitions not implemented")
}
3373
func (*UnimplementedQueryCoordServer) LoadPartitions(ctx context.Context, req *LoadPartitionsRequest) (*commonpb.Status, error) {
3374 3375
	return nil, status.Errorf(codes.Unimplemented, "method LoadPartitions not implemented")
}
3376
func (*UnimplementedQueryCoordServer) ReleasePartitions(ctx context.Context, req *ReleasePartitionsRequest) (*commonpb.Status, error) {
3377 3378
	return nil, status.Errorf(codes.Unimplemented, "method ReleasePartitions not implemented")
}
3379
func (*UnimplementedQueryCoordServer) LoadCollection(ctx context.Context, req *LoadCollectionRequest) (*commonpb.Status, error) {
3380 3381
	return nil, status.Errorf(codes.Unimplemented, "method LoadCollection not implemented")
}
3382
func (*UnimplementedQueryCoordServer) ReleaseCollection(ctx context.Context, req *ReleaseCollectionRequest) (*commonpb.Status, error) {
3383 3384
	return nil, status.Errorf(codes.Unimplemented, "method ReleaseCollection not implemented")
}
3385
func (*UnimplementedQueryCoordServer) CreateQueryChannel(ctx context.Context, req *CreateQueryChannelRequest) (*CreateQueryChannelResponse, error) {
3386 3387
	return nil, status.Errorf(codes.Unimplemented, "method CreateQueryChannel not implemented")
}
3388
func (*UnimplementedQueryCoordServer) GetPartitionStates(ctx context.Context, req *GetPartitionStatesRequest) (*GetPartitionStatesResponse, error) {
3389 3390
	return nil, status.Errorf(codes.Unimplemented, "method GetPartitionStates not implemented")
}
3391
func (*UnimplementedQueryCoordServer) GetSegmentInfo(ctx context.Context, req *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error) {
B
bigsheeper 已提交
3392 3393
	return nil, status.Errorf(codes.Unimplemented, "method GetSegmentInfo not implemented")
}
B
bigsheeper 已提交
3394 3395 3396
func (*UnimplementedQueryCoordServer) LoadBalance(ctx context.Context, req *LoadBalanceRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method LoadBalance not implemented")
}
3397 3398 3399
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 已提交
3400
func (*UnimplementedQueryCoordServer) GetReplicas(ctx context.Context, req *milvuspb.GetReplicasRequest) (*milvuspb.GetReplicasResponse, error) {
3401 3402
	return nil, status.Errorf(codes.Unimplemented, "method GetReplicas not implemented")
}
3403 3404 3405
func (*UnimplementedQueryCoordServer) GetShardLeaders(ctx context.Context, req *GetShardLeadersRequest) (*GetShardLeadersResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetShardLeaders not implemented")
}
3406

3407 3408
func RegisterQueryCoordServer(s *grpc.Server, srv QueryCoordServer) {
	s.RegisterService(&_QueryCoord_serviceDesc, srv)
3409 3410
}

3411
func _QueryCoord_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3412
	in := new(internalpb.GetComponentStatesRequest)
3413 3414 3415 3416
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3417
		return srv.(QueryCoordServer).GetComponentStates(ctx, in)
3418 3419 3420
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3421
		FullMethod: "/milvus.proto.query.QueryCoord/GetComponentStates",
3422 3423
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3424
		return srv.(QueryCoordServer).GetComponentStates(ctx, req.(*internalpb.GetComponentStatesRequest))
3425 3426 3427 3428
	}
	return interceptor(ctx, in, info, handler)
}

3429
func _QueryCoord_GetTimeTickChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3430
	in := new(internalpb.GetTimeTickChannelRequest)
3431 3432 3433 3434
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3435
		return srv.(QueryCoordServer).GetTimeTickChannel(ctx, in)
3436 3437 3438
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3439
		FullMethod: "/milvus.proto.query.QueryCoord/GetTimeTickChannel",
3440 3441
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3442
		return srv.(QueryCoordServer).GetTimeTickChannel(ctx, req.(*internalpb.GetTimeTickChannelRequest))
3443 3444 3445 3446
	}
	return interceptor(ctx, in, info, handler)
}

3447
func _QueryCoord_GetStatisticsChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3448
	in := new(internalpb.GetStatisticsChannelRequest)
3449 3450 3451 3452
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3453
		return srv.(QueryCoordServer).GetStatisticsChannel(ctx, in)
3454 3455 3456
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3457
		FullMethod: "/milvus.proto.query.QueryCoord/GetStatisticsChannel",
3458 3459
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3460
		return srv.(QueryCoordServer).GetStatisticsChannel(ctx, req.(*internalpb.GetStatisticsChannelRequest))
3461 3462 3463 3464
	}
	return interceptor(ctx, in, info, handler)
}

3465
func _QueryCoord_ShowCollections_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3466
	in := new(ShowCollectionsRequest)
3467 3468 3469 3470
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3471
		return srv.(QueryCoordServer).ShowCollections(ctx, in)
3472 3473 3474
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3475
		FullMethod: "/milvus.proto.query.QueryCoord/ShowCollections",
3476 3477
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3478
		return srv.(QueryCoordServer).ShowCollections(ctx, req.(*ShowCollectionsRequest))
3479 3480 3481 3482
	}
	return interceptor(ctx, in, info, handler)
}

3483
func _QueryCoord_ShowPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3484
	in := new(ShowPartitionsRequest)
3485 3486 3487 3488
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3489
		return srv.(QueryCoordServer).ShowPartitions(ctx, in)
3490 3491 3492
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3493
		FullMethod: "/milvus.proto.query.QueryCoord/ShowPartitions",
3494 3495
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3496
		return srv.(QueryCoordServer).ShowPartitions(ctx, req.(*ShowPartitionsRequest))
3497 3498 3499 3500
	}
	return interceptor(ctx, in, info, handler)
}

3501
func _QueryCoord_LoadPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3502
	in := new(LoadPartitionsRequest)
3503 3504 3505 3506
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3507
		return srv.(QueryCoordServer).LoadPartitions(ctx, in)
3508 3509 3510
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3511
		FullMethod: "/milvus.proto.query.QueryCoord/LoadPartitions",
3512 3513
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3514
		return srv.(QueryCoordServer).LoadPartitions(ctx, req.(*LoadPartitionsRequest))
3515 3516 3517 3518
	}
	return interceptor(ctx, in, info, handler)
}

3519
func _QueryCoord_ReleasePartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3520
	in := new(ReleasePartitionsRequest)
3521 3522 3523 3524
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3525
		return srv.(QueryCoordServer).ReleasePartitions(ctx, in)
3526 3527 3528
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3529
		FullMethod: "/milvus.proto.query.QueryCoord/ReleasePartitions",
3530 3531
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3532
		return srv.(QueryCoordServer).ReleasePartitions(ctx, req.(*ReleasePartitionsRequest))
3533 3534 3535 3536
	}
	return interceptor(ctx, in, info, handler)
}

3537
func _QueryCoord_LoadCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3538
	in := new(LoadCollectionRequest)
3539 3540 3541 3542
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3543
		return srv.(QueryCoordServer).LoadCollection(ctx, in)
3544 3545 3546
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3547
		FullMethod: "/milvus.proto.query.QueryCoord/LoadCollection",
3548 3549
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3550
		return srv.(QueryCoordServer).LoadCollection(ctx, req.(*LoadCollectionRequest))
3551 3552 3553 3554
	}
	return interceptor(ctx, in, info, handler)
}

3555
func _QueryCoord_ReleaseCollection_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3556
	in := new(ReleaseCollectionRequest)
3557 3558 3559 3560
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3561
		return srv.(QueryCoordServer).ReleaseCollection(ctx, in)
3562 3563 3564
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3565
		FullMethod: "/milvus.proto.query.QueryCoord/ReleaseCollection",
3566 3567
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3568
		return srv.(QueryCoordServer).ReleaseCollection(ctx, req.(*ReleaseCollectionRequest))
3569 3570 3571 3572
	}
	return interceptor(ctx, in, info, handler)
}

3573
func _QueryCoord_CreateQueryChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3574
	in := new(CreateQueryChannelRequest)
3575 3576 3577 3578
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3579
		return srv.(QueryCoordServer).CreateQueryChannel(ctx, in)
3580 3581 3582
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3583
		FullMethod: "/milvus.proto.query.QueryCoord/CreateQueryChannel",
3584 3585
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3586
		return srv.(QueryCoordServer).CreateQueryChannel(ctx, req.(*CreateQueryChannelRequest))
3587 3588 3589 3590
	}
	return interceptor(ctx, in, info, handler)
}

3591
func _QueryCoord_GetPartitionStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3592
	in := new(GetPartitionStatesRequest)
3593 3594 3595 3596
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3597
		return srv.(QueryCoordServer).GetPartitionStates(ctx, in)
3598 3599 3600
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3601
		FullMethod: "/milvus.proto.query.QueryCoord/GetPartitionStates",
3602 3603
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3604
		return srv.(QueryCoordServer).GetPartitionStates(ctx, req.(*GetPartitionStatesRequest))
3605 3606 3607 3608
	}
	return interceptor(ctx, in, info, handler)
}

3609
func _QueryCoord_GetSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3610
	in := new(GetSegmentInfoRequest)
B
bigsheeper 已提交
3611 3612 3613 3614
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
3615
		return srv.(QueryCoordServer).GetSegmentInfo(ctx, in)
B
bigsheeper 已提交
3616 3617 3618
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
3619
		FullMethod: "/milvus.proto.query.QueryCoord/GetSegmentInfo",
B
bigsheeper 已提交
3620 3621
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3622
		return srv.(QueryCoordServer).GetSegmentInfo(ctx, req.(*GetSegmentInfoRequest))
B
bigsheeper 已提交
3623 3624 3625 3626
	}
	return interceptor(ctx, in, info, handler)
}

B
bigsheeper 已提交
3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644
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)
}

3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662
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)
}

3663
func _QueryCoord_GetReplicas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
X
XuanYang-cn 已提交
3664
	in := new(milvuspb.GetReplicasRequest)
3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675
	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 已提交
3676
		return srv.(QueryCoordServer).GetReplicas(ctx, req.(*milvuspb.GetReplicasRequest))
3677 3678 3679 3680
	}
	return interceptor(ctx, in, info, handler)
}

3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698
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)
}

3699 3700 3701
var _QueryCoord_serviceDesc = grpc.ServiceDesc{
	ServiceName: "milvus.proto.query.QueryCoord",
	HandlerType: (*QueryCoordServer)(nil),
3702
	Methods: []grpc.MethodDesc{
G
godchen 已提交
3703 3704
		{
			MethodName: "GetComponentStates",
3705
			Handler:    _QueryCoord_GetComponentStates_Handler,
G
godchen 已提交
3706 3707 3708
		},
		{
			MethodName: "GetTimeTickChannel",
3709
			Handler:    _QueryCoord_GetTimeTickChannel_Handler,
G
godchen 已提交
3710 3711 3712
		},
		{
			MethodName: "GetStatisticsChannel",
3713
			Handler:    _QueryCoord_GetStatisticsChannel_Handler,
G
godchen 已提交
3714
		},
3715 3716
		{
			MethodName: "ShowCollections",
3717
			Handler:    _QueryCoord_ShowCollections_Handler,
3718
		},
3719 3720
		{
			MethodName: "ShowPartitions",
3721
			Handler:    _QueryCoord_ShowPartitions_Handler,
3722 3723 3724
		},
		{
			MethodName: "LoadPartitions",
3725
			Handler:    _QueryCoord_LoadPartitions_Handler,
3726 3727 3728
		},
		{
			MethodName: "ReleasePartitions",
3729
			Handler:    _QueryCoord_ReleasePartitions_Handler,
3730
		},
3731 3732
		{
			MethodName: "LoadCollection",
3733
			Handler:    _QueryCoord_LoadCollection_Handler,
3734 3735 3736
		},
		{
			MethodName: "ReleaseCollection",
3737
			Handler:    _QueryCoord_ReleaseCollection_Handler,
3738 3739
		},
		{
3740
			MethodName: "CreateQueryChannel",
3741
			Handler:    _QueryCoord_CreateQueryChannel_Handler,
3742
		},
3743 3744
		{
			MethodName: "GetPartitionStates",
3745
			Handler:    _QueryCoord_GetPartitionStates_Handler,
3746
		},
B
bigsheeper 已提交
3747 3748
		{
			MethodName: "GetSegmentInfo",
3749
			Handler:    _QueryCoord_GetSegmentInfo_Handler,
B
bigsheeper 已提交
3750
		},
B
bigsheeper 已提交
3751 3752 3753 3754
		{
			MethodName: "LoadBalance",
			Handler:    _QueryCoord_LoadBalance_Handler,
		},
3755 3756 3757 3758
		{
			MethodName: "GetMetrics",
			Handler:    _QueryCoord_GetMetrics_Handler,
		},
3759 3760 3761 3762
		{
			MethodName: "GetReplicas",
			Handler:    _QueryCoord_GetReplicas_Handler,
		},
3763 3764 3765 3766
		{
			MethodName: "GetShardLeaders",
			Handler:    _QueryCoord_GetShardLeaders_Handler,
		},
3767 3768
	},
	Streams:  []grpc.StreamDesc{},
3769
	Metadata: "query_coord.proto",
3770 3771 3772 3773 3774 3775
}

// 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 已提交
3776 3777 3778 3779 3780
	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)
3781
	WatchDmChannels(ctx context.Context, in *WatchDmChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
3782
	WatchDeltaChannels(ctx context.Context, in *WatchDeltaChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
G
godchen 已提交
3783
	LoadSegments(ctx context.Context, in *LoadSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
B
bigsheeper 已提交
3784
	ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
G
godchen 已提交
3785 3786 3787
	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)
3788
	SyncReplicaSegments(ctx context.Context, in *SyncReplicaSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
3789 3790
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*internalpb.SearchResults, error)
	Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*internalpb.RetrieveResults, error)
3791 3792
	// 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)
3793 3794 3795 3796 3797 3798 3799 3800 3801 3802
}

type queryNodeClient struct {
	cc *grpc.ClientConn
}

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

G
godchen 已提交
3803 3804 3805
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...)
3806 3807 3808 3809 3810 3811
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3812
func (c *queryNodeClient) GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
X
xige-16 已提交
3813
	out := new(milvuspb.StringResponse)
G
godchen 已提交
3814
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetTimeTickChannel", in, out, opts...)
3815 3816 3817 3818 3819 3820
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3821 3822 3823
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...)
3824 3825 3826 3827 3828 3829
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3830
func (c *queryNodeClient) AddQueryChannel(ctx context.Context, in *AddQueryChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
3831 3832 3833 3834 3835 3836 3837 3838
	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 已提交
3839
func (c *queryNodeClient) RemoveQueryChannel(ctx context.Context, in *RemoveQueryChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856
	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
}

3857 3858 3859 3860 3861 3862 3863 3864 3865
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 已提交
3866
func (c *queryNodeClient) LoadSegments(ctx context.Context, in *LoadSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
3867 3868 3869 3870 3871 3872 3873 3874
	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 已提交
3875 3876 3877 3878 3879 3880 3881 3882 3883
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 已提交
3884
func (c *queryNodeClient) ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
B
bigsheeper 已提交
3885 3886 3887 3888 3889 3890 3891 3892
	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 已提交
3893
func (c *queryNodeClient) ReleaseSegments(ctx context.Context, in *ReleaseSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
3894 3895 3896 3897 3898 3899 3900 3901
	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 已提交
3902 3903
func (c *queryNodeClient) GetSegmentInfo(ctx context.Context, in *GetSegmentInfoRequest, opts ...grpc.CallOption) (*GetSegmentInfoResponse, error) {
	out := new(GetSegmentInfoResponse)
B
bigsheeper 已提交
3904 3905 3906 3907 3908 3909 3910
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetSegmentInfo", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3911 3912 3913 3914 3915 3916 3917 3918 3919
func (c *queryNodeClient) SyncReplicaSegments(ctx context.Context, in *SyncReplicaSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/SyncReplicaSegments", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3920 3921
func (c *queryNodeClient) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*internalpb.SearchResults, error) {
	out := new(internalpb.SearchResults)
3922 3923 3924 3925 3926 3927 3928
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/Search", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3929 3930
func (c *queryNodeClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*internalpb.RetrieveResults, error) {
	out := new(internalpb.RetrieveResults)
3931 3932 3933 3934 3935 3936 3937
	err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/Query", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3938 3939 3940 3941 3942 3943 3944 3945 3946
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
}

3947 3948
// QueryNodeServer is the server API for QueryNode service.
type QueryNodeServer interface {
G
godchen 已提交
3949 3950 3951 3952 3953
	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)
3954
	WatchDmChannels(context.Context, *WatchDmChannelsRequest) (*commonpb.Status, error)
3955
	WatchDeltaChannels(context.Context, *WatchDeltaChannelsRequest) (*commonpb.Status, error)
G
godchen 已提交
3956
	LoadSegments(context.Context, *LoadSegmentsRequest) (*commonpb.Status, error)
B
bigsheeper 已提交
3957
	ReleaseCollection(context.Context, *ReleaseCollectionRequest) (*commonpb.Status, error)
G
godchen 已提交
3958 3959 3960
	ReleasePartitions(context.Context, *ReleasePartitionsRequest) (*commonpb.Status, error)
	ReleaseSegments(context.Context, *ReleaseSegmentsRequest) (*commonpb.Status, error)
	GetSegmentInfo(context.Context, *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error)
3961
	SyncReplicaSegments(context.Context, *SyncReplicaSegmentsRequest) (*commonpb.Status, error)
3962 3963
	Search(context.Context, *SearchRequest) (*internalpb.SearchResults, error)
	Query(context.Context, *QueryRequest) (*internalpb.RetrieveResults, error)
3964 3965
	// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
	GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
3966 3967 3968 3969 3970 3971
}

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

G
godchen 已提交
3972 3973
func (*UnimplementedQueryNodeServer) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
3974
}
G
godchen 已提交
3975 3976
func (*UnimplementedQueryNodeServer) GetTimeTickChannel(ctx context.Context, req *internalpb.GetTimeTickChannelRequest) (*milvuspb.StringResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetTimeTickChannel not implemented")
3977
}
G
godchen 已提交
3978 3979
func (*UnimplementedQueryNodeServer) GetStatisticsChannel(ctx context.Context, req *internalpb.GetStatisticsChannelRequest) (*milvuspb.StringResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetStatisticsChannel not implemented")
3980
}
G
godchen 已提交
3981
func (*UnimplementedQueryNodeServer) AddQueryChannel(ctx context.Context, req *AddQueryChannelRequest) (*commonpb.Status, error) {
3982 3983
	return nil, status.Errorf(codes.Unimplemented, "method AddQueryChannel not implemented")
}
G
godchen 已提交
3984
func (*UnimplementedQueryNodeServer) RemoveQueryChannel(ctx context.Context, req *RemoveQueryChannelRequest) (*commonpb.Status, error) {
3985 3986 3987 3988 3989
	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")
}
3990 3991 3992
func (*UnimplementedQueryNodeServer) WatchDeltaChannels(ctx context.Context, req *WatchDeltaChannelsRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method WatchDeltaChannels not implemented")
}
G
godchen 已提交
3993
func (*UnimplementedQueryNodeServer) LoadSegments(ctx context.Context, req *LoadSegmentsRequest) (*commonpb.Status, error) {
3994 3995
	return nil, status.Errorf(codes.Unimplemented, "method LoadSegments not implemented")
}
B
bigsheeper 已提交
3996 3997 3998
func (*UnimplementedQueryNodeServer) ReleaseCollection(ctx context.Context, req *ReleaseCollectionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ReleaseCollection not implemented")
}
G
godchen 已提交
3999
func (*UnimplementedQueryNodeServer) ReleasePartitions(ctx context.Context, req *ReleasePartitionsRequest) (*commonpb.Status, error) {
B
bigsheeper 已提交
4000 4001
	return nil, status.Errorf(codes.Unimplemented, "method ReleasePartitions not implemented")
}
G
godchen 已提交
4002
func (*UnimplementedQueryNodeServer) ReleaseSegments(ctx context.Context, req *ReleaseSegmentsRequest) (*commonpb.Status, error) {
4003 4004
	return nil, status.Errorf(codes.Unimplemented, "method ReleaseSegments not implemented")
}
G
godchen 已提交
4005
func (*UnimplementedQueryNodeServer) GetSegmentInfo(ctx context.Context, req *GetSegmentInfoRequest) (*GetSegmentInfoResponse, error) {
B
bigsheeper 已提交
4006 4007
	return nil, status.Errorf(codes.Unimplemented, "method GetSegmentInfo not implemented")
}
4008 4009 4010
func (*UnimplementedQueryNodeServer) SyncReplicaSegments(ctx context.Context, req *SyncReplicaSegmentsRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method SyncReplicaSegments not implemented")
}
4011
func (*UnimplementedQueryNodeServer) Search(ctx context.Context, req *SearchRequest) (*internalpb.SearchResults, error) {
4012 4013
	return nil, status.Errorf(codes.Unimplemented, "method Search not implemented")
}
4014
func (*UnimplementedQueryNodeServer) Query(ctx context.Context, req *QueryRequest) (*internalpb.RetrieveResults, error) {
4015 4016
	return nil, status.Errorf(codes.Unimplemented, "method Query not implemented")
}
4017 4018 4019
func (*UnimplementedQueryNodeServer) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented")
}
4020 4021 4022 4023 4024

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

G
godchen 已提交
4025 4026
func _QueryNode_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(internalpb.GetComponentStatesRequest)
4027 4028 4029 4030
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
G
godchen 已提交
4031
		return srv.(QueryNodeServer).GetComponentStates(ctx, in)
4032 4033 4034
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
G
godchen 已提交
4035
		FullMethod: "/milvus.proto.query.QueryNode/GetComponentStates",
4036 4037
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
4038
		return srv.(QueryNodeServer).GetComponentStates(ctx, req.(*internalpb.GetComponentStatesRequest))
4039 4040 4041 4042
	}
	return interceptor(ctx, in, info, handler)
}

G
godchen 已提交
4043 4044
func _QueryNode_GetTimeTickChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(internalpb.GetTimeTickChannelRequest)
4045 4046 4047 4048
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
G
godchen 已提交
4049
		return srv.(QueryNodeServer).GetTimeTickChannel(ctx, in)
4050 4051 4052
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
G
godchen 已提交
4053
		FullMethod: "/milvus.proto.query.QueryNode/GetTimeTickChannel",
4054 4055
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
4056
		return srv.(QueryNodeServer).GetTimeTickChannel(ctx, req.(*internalpb.GetTimeTickChannelRequest))
4057 4058 4059 4060
	}
	return interceptor(ctx, in, info, handler)
}

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

4079
func _QueryNode_AddQueryChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
4080
	in := new(AddQueryChannelRequest)
4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091
	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 已提交
4092
		return srv.(QueryNodeServer).AddQueryChannel(ctx, req.(*AddQueryChannelRequest))
4093 4094 4095 4096 4097
	}
	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 已提交
4098
	in := new(RemoveQueryChannelRequest)
4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109
	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 已提交
4110
		return srv.(QueryNodeServer).RemoveQueryChannel(ctx, req.(*RemoveQueryChannelRequest))
4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132
	}
	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)
}

4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150
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)
}

4151
func _QueryNode_LoadSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
4152
	in := new(LoadSegmentsRequest)
4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163
	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 已提交
4164
		return srv.(QueryNodeServer).LoadSegments(ctx, req.(*LoadSegmentsRequest))
4165 4166 4167 4168
	}
	return interceptor(ctx, in, info, handler)
}

B
bigsheeper 已提交
4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187
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 已提交
4188
	in := new(ReleasePartitionsRequest)
B
bigsheeper 已提交
4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199
	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 已提交
4200
		return srv.(QueryNodeServer).ReleasePartitions(ctx, req.(*ReleasePartitionsRequest))
B
bigsheeper 已提交
4201 4202 4203 4204
	}
	return interceptor(ctx, in, info, handler)
}

4205
func _QueryNode_ReleaseSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
4206
	in := new(ReleaseSegmentsRequest)
4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217
	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 已提交
4218
		return srv.(QueryNodeServer).ReleaseSegments(ctx, req.(*ReleaseSegmentsRequest))
4219 4220 4221 4222
	}
	return interceptor(ctx, in, info, handler)
}

B
bigsheeper 已提交
4223
func _QueryNode_GetSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
4224
	in := new(GetSegmentInfoRequest)
B
bigsheeper 已提交
4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235
	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 已提交
4236
		return srv.(QueryNodeServer).GetSegmentInfo(ctx, req.(*GetSegmentInfoRequest))
B
bigsheeper 已提交
4237 4238 4239 4240
	}
	return interceptor(ctx, in, info, handler)
}

4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258
func _QueryNode_SyncReplicaSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SyncReplicaSegmentsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(QueryNodeServer).SyncReplicaSegments(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.query.QueryNode/SyncReplicaSegments",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(QueryNodeServer).SyncReplicaSegments(ctx, req.(*SyncReplicaSegmentsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294
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)
}

4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312
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)
}

4313 4314 4315 4316
var _QueryNode_serviceDesc = grpc.ServiceDesc{
	ServiceName: "milvus.proto.query.QueryNode",
	HandlerType: (*QueryNodeServer)(nil),
	Methods: []grpc.MethodDesc{
4317
		{
G
godchen 已提交
4318 4319
			MethodName: "GetComponentStates",
			Handler:    _QueryNode_GetComponentStates_Handler,
4320 4321
		},
		{
G
godchen 已提交
4322 4323
			MethodName: "GetTimeTickChannel",
			Handler:    _QueryNode_GetTimeTickChannel_Handler,
4324 4325
		},
		{
G
godchen 已提交
4326 4327
			MethodName: "GetStatisticsChannel",
			Handler:    _QueryNode_GetStatisticsChannel_Handler,
4328
		},
4329
		{
4330 4331
			MethodName: "AddQueryChannel",
			Handler:    _QueryNode_AddQueryChannel_Handler,
4332 4333
		},
		{
4334 4335 4336 4337 4338 4339 4340
			MethodName: "RemoveQueryChannel",
			Handler:    _QueryNode_RemoveQueryChannel_Handler,
		},
		{
			MethodName: "WatchDmChannels",
			Handler:    _QueryNode_WatchDmChannels_Handler,
		},
4341 4342 4343 4344
		{
			MethodName: "WatchDeltaChannels",
			Handler:    _QueryNode_WatchDeltaChannels_Handler,
		},
4345 4346 4347 4348
		{
			MethodName: "LoadSegments",
			Handler:    _QueryNode_LoadSegments_Handler,
		},
B
bigsheeper 已提交
4349 4350 4351 4352 4353 4354 4355 4356
		{
			MethodName: "ReleaseCollection",
			Handler:    _QueryNode_ReleaseCollection_Handler,
		},
		{
			MethodName: "ReleasePartitions",
			Handler:    _QueryNode_ReleasePartitions_Handler,
		},
4357 4358 4359 4360
		{
			MethodName: "ReleaseSegments",
			Handler:    _QueryNode_ReleaseSegments_Handler,
		},
B
bigsheeper 已提交
4361 4362 4363 4364
		{
			MethodName: "GetSegmentInfo",
			Handler:    _QueryNode_GetSegmentInfo_Handler,
		},
4365 4366 4367 4368
		{
			MethodName: "SyncReplicaSegments",
			Handler:    _QueryNode_SyncReplicaSegments_Handler,
		},
4369 4370 4371 4372 4373 4374 4375 4376
		{
			MethodName: "Search",
			Handler:    _QueryNode_Search_Handler,
		},
		{
			MethodName: "Query",
			Handler:    _QueryNode_Query_Handler,
		},
4377 4378 4379 4380
		{
			MethodName: "GetMetrics",
			Handler:    _QueryNode_GetMetrics_Handler,
		},
4381 4382
	},
	Streams:  []grpc.StreamDesc{},
4383
	Metadata: "query_coord.proto",
4384
}