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

package milvuspb

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

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

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

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

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

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

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

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

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

Y
yukun 已提交
58 59 60
type PlaceholderType int32

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

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

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

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

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

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

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

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

var xxx_messageInfo_CreateAliasRequest proto.InternalMessageInfo

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

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

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

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

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

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

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

var xxx_messageInfo_DropAliasRequest proto.InternalMessageInfo

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

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

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

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

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

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

var xxx_messageInfo_AlterAliasRequest proto.InternalMessageInfo

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

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

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

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

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

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

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

var xxx_messageInfo_CreateCollectionRequest proto.InternalMessageInfo

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

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

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

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

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

346 347
//*
// Drop collection in milvus, also will drop data in collection.
348
type DropCollectionRequest struct {
349 350 351 352 353 354 355 356 357
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The unique collection name in milvus.(Required)
	CollectionName       string   `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
358 359 360 361 362 363
}

func (m *DropCollectionRequest) Reset()         { *m = DropCollectionRequest{} }
func (m *DropCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*DropCollectionRequest) ProtoMessage()    {}
func (*DropCollectionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
364
	return fileDescriptor_02345ba45cc0e303, []int{4}
365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384
}

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

var xxx_messageInfo_DropCollectionRequest proto.InternalMessageInfo

385
func (m *DropCollectionRequest) GetBase() *commonpb.MsgBase {
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405
	if m != nil {
		return m.Base
	}
	return nil
}

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

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

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

func (m *HasCollectionRequest) Reset()         { *m = HasCollectionRequest{} }
func (m *HasCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*HasCollectionRequest) ProtoMessage()    {}
func (*HasCollectionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
426
	return fileDescriptor_02345ba45cc0e303, []int{5}
427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446
}

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

var xxx_messageInfo_HasCollectionRequest proto.InternalMessageInfo

447
func (m *HasCollectionRequest) GetBase() *commonpb.MsgBase {
448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467
	if m != nil {
		return m.Base
	}
	return nil
}

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

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

N
neza2017 已提交
468 469 470 471 472 473 474
func (m *HasCollectionRequest) GetTimeStamp() uint64 {
	if m != nil {
		return m.TimeStamp
	}
	return 0
}

Y
yukun 已提交
475 476 477 478 479 480 481 482 483 484 485 486
type BoolResponse struct {
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Value                bool             `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *BoolResponse) Reset()         { *m = BoolResponse{} }
func (m *BoolResponse) String() string { return proto.CompactTextString(m) }
func (*BoolResponse) ProtoMessage()    {}
func (*BoolResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
487
	return fileDescriptor_02345ba45cc0e303, []int{6}
Y
yukun 已提交
488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521
}

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

var xxx_messageInfo_BoolResponse proto.InternalMessageInfo

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

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

Z
zhenshan.cao 已提交
522 523 524 525 526 527 528 529 530 531 532 533
type StringResponse struct {
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Value                string           `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *StringResponse) Reset()         { *m = StringResponse{} }
func (m *StringResponse) String() string { return proto.CompactTextString(m) }
func (*StringResponse) ProtoMessage()    {}
func (*StringResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
534
	return fileDescriptor_02345ba45cc0e303, []int{7}
Z
zhenshan.cao 已提交
535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568
}

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

var xxx_messageInfo_StringResponse proto.InternalMessageInfo

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

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

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

func (m *DescribeCollectionRequest) Reset()         { *m = DescribeCollectionRequest{} }
func (m *DescribeCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*DescribeCollectionRequest) ProtoMessage()    {}
func (*DescribeCollectionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
591
	return fileDescriptor_02345ba45cc0e303, []int{8}
592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611
}

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

var xxx_messageInfo_DescribeCollectionRequest proto.InternalMessageInfo

612
func (m *DescribeCollectionRequest) GetBase() *commonpb.MsgBase {
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632
	if m != nil {
		return m.Base
	}
	return nil
}

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

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

N
neza2017 已提交
633 634 635 636 637 638 639
func (m *DescribeCollectionRequest) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

N
neza2017 已提交
640 641 642 643 644 645 646
func (m *DescribeCollectionRequest) GetTimeStamp() uint64 {
	if m != nil {
		return m.TimeStamp
	}
	return 0
}

647 648
//*
// DescribeCollection Response
649
type DescribeCollectionResponse struct {
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664
	// Contain error_code and reason
	Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// The schema param when you created collection.
	Schema *schemapb.CollectionSchema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	// The collection id
	CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	// System design related, users should not perceive
	VirtualChannelNames []string `protobuf:"bytes,4,rep,name=virtual_channel_names,json=virtualChannelNames,proto3" json:"virtual_channel_names,omitempty"`
	// System design related, users should not perceive
	PhysicalChannelNames []string `protobuf:"bytes,5,rep,name=physical_channel_names,json=physicalChannelNames,proto3" json:"physical_channel_names,omitempty"`
	// Hybrid timestamp in milvus
	CreatedTimestamp uint64 `protobuf:"varint,6,opt,name=created_timestamp,json=createdTimestamp,proto3" json:"created_timestamp,omitempty"`
	// The utc timestamp calculated by created_timestamp
	CreatedUtcTimestamp uint64 `protobuf:"varint,7,opt,name=created_utc_timestamp,json=createdUtcTimestamp,proto3" json:"created_utc_timestamp,omitempty"`
	// The shards number you set.
Y
Yusup 已提交
665 666
	ShardsNum int32 `protobuf:"varint,8,opt,name=shards_num,json=shardsNum,proto3" json:"shards_num,omitempty"`
	// The aliases of this collection
667 668 669 670 671 672
	Aliases []string `protobuf:"bytes,9,rep,name=aliases,proto3" json:"aliases,omitempty"`
	// The message ID/posititon when collection is created
	StartPositions       []*commonpb.KeyDataPair `protobuf:"bytes,10,rep,name=start_positions,json=startPositions,proto3" json:"start_positions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
673 674 675 676 677 678
}

func (m *DescribeCollectionResponse) Reset()         { *m = DescribeCollectionResponse{} }
func (m *DescribeCollectionResponse) String() string { return proto.CompactTextString(m) }
func (*DescribeCollectionResponse) ProtoMessage()    {}
func (*DescribeCollectionResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
679
	return fileDescriptor_02345ba45cc0e303, []int{9}
680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699
}

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

var xxx_messageInfo_DescribeCollectionResponse proto.InternalMessageInfo

Y
yukun 已提交
700 701 702 703 704 705 706 707
func (m *DescribeCollectionResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *DescribeCollectionResponse) GetSchema() *schemapb.CollectionSchema {
708 709 710 711 712 713
	if m != nil {
		return m.Schema
	}
	return nil
}

714 715 716 717 718 719 720
func (m *DescribeCollectionResponse) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

721 722 723 724 725 726 727 728 729 730 731 732 733 734
func (m *DescribeCollectionResponse) GetVirtualChannelNames() []string {
	if m != nil {
		return m.VirtualChannelNames
	}
	return nil
}

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

735 736 737 738 739 740 741 742 743 744 745 746 747 748
func (m *DescribeCollectionResponse) GetCreatedTimestamp() uint64 {
	if m != nil {
		return m.CreatedTimestamp
	}
	return 0
}

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

749 750 751 752 753 754 755
func (m *DescribeCollectionResponse) GetShardsNum() int32 {
	if m != nil {
		return m.ShardsNum
	}
	return 0
}

Y
Yusup 已提交
756 757 758 759 760 761 762
func (m *DescribeCollectionResponse) GetAliases() []string {
	if m != nil {
		return m.Aliases
	}
	return nil
}

763 764 765 766 767 768 769
func (m *DescribeCollectionResponse) GetStartPositions() []*commonpb.KeyDataPair {
	if m != nil {
		return m.StartPositions
	}
	return nil
}

770 771
//*
// Load collection data into query nodes, then you can do vector search on this collection.
772
type LoadCollectionRequest struct {
773 774 775 776 777 778 779 780 781
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name you want to load
	CollectionName       string   `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
782 783 784 785 786 787
}

func (m *LoadCollectionRequest) Reset()         { *m = LoadCollectionRequest{} }
func (m *LoadCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*LoadCollectionRequest) ProtoMessage()    {}
func (*LoadCollectionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
788
	return fileDescriptor_02345ba45cc0e303, []int{10}
789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808
}

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

809
func (m *LoadCollectionRequest) GetBase() *commonpb.MsgBase {
810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829
	if m != nil {
		return m.Base
	}
	return nil
}

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

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

830 831
//*
// Release collection data from query nodes, then you can't do vector search on this collection.
832
type ReleaseCollectionRequest struct {
833 834 835 836 837 838 839 840 841
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name you want to release
	CollectionName       string   `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
842 843 844 845 846 847
}

func (m *ReleaseCollectionRequest) Reset()         { *m = ReleaseCollectionRequest{} }
func (m *ReleaseCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*ReleaseCollectionRequest) ProtoMessage()    {}
func (*ReleaseCollectionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
848
	return fileDescriptor_02345ba45cc0e303, []int{11}
849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868
}

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

869
func (m *ReleaseCollectionRequest) GetBase() *commonpb.MsgBase {
870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889
	if m != nil {
		return m.Base
	}
	return nil
}

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

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

890 891
//*
// Get collection statistics like row_count.
G
godchen 已提交
892
type GetCollectionStatisticsRequest struct {
893 894 895 896 897 898 899 900 901
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name you want get statistics
	CollectionName       string   `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
902 903
}

G
godchen 已提交
904 905 906 907
func (m *GetCollectionStatisticsRequest) Reset()         { *m = GetCollectionStatisticsRequest{} }
func (m *GetCollectionStatisticsRequest) String() string { return proto.CompactTextString(m) }
func (*GetCollectionStatisticsRequest) ProtoMessage()    {}
func (*GetCollectionStatisticsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
908
	return fileDescriptor_02345ba45cc0e303, []int{12}
909 910
}

G
godchen 已提交
911 912
func (m *GetCollectionStatisticsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetCollectionStatisticsRequest.Unmarshal(m, b)
913
}
G
godchen 已提交
914 915
func (m *GetCollectionStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetCollectionStatisticsRequest.Marshal(b, m, deterministic)
916
}
G
godchen 已提交
917 918
func (m *GetCollectionStatisticsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetCollectionStatisticsRequest.Merge(m, src)
919
}
G
godchen 已提交
920 921
func (m *GetCollectionStatisticsRequest) XXX_Size() int {
	return xxx_messageInfo_GetCollectionStatisticsRequest.Size(m)
922
}
G
godchen 已提交
923 924
func (m *GetCollectionStatisticsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetCollectionStatisticsRequest.DiscardUnknown(m)
925 926
}

G
godchen 已提交
927
var xxx_messageInfo_GetCollectionStatisticsRequest proto.InternalMessageInfo
928

G
godchen 已提交
929
func (m *GetCollectionStatisticsRequest) GetBase() *commonpb.MsgBase {
930 931 932 933 934 935
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
936
func (m *GetCollectionStatisticsRequest) GetDbName() string {
937 938 939 940 941 942
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
943
func (m *GetCollectionStatisticsRequest) GetCollectionName() string {
944 945 946 947 948 949
	if m != nil {
		return m.CollectionName
	}
	return ""
}

950 951
//*
// Will return collection statistics in stats field like [{key:"row_count",value:"1"}]
G
godchen 已提交
952
type GetCollectionStatisticsResponse struct {
953 954 955
	// Contain error_code and reason
	Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Collection statistics data
Z
zhenshan.cao 已提交
956
	Stats                []*commonpb.KeyValuePair `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"`
957 958 959 960 961
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

G
godchen 已提交
962 963 964 965
func (m *GetCollectionStatisticsResponse) Reset()         { *m = GetCollectionStatisticsResponse{} }
func (m *GetCollectionStatisticsResponse) String() string { return proto.CompactTextString(m) }
func (*GetCollectionStatisticsResponse) ProtoMessage()    {}
func (*GetCollectionStatisticsResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
966
	return fileDescriptor_02345ba45cc0e303, []int{13}
967 968
}

G
godchen 已提交
969 970
func (m *GetCollectionStatisticsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetCollectionStatisticsResponse.Unmarshal(m, b)
971
}
G
godchen 已提交
972 973
func (m *GetCollectionStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetCollectionStatisticsResponse.Marshal(b, m, deterministic)
974
}
G
godchen 已提交
975 976
func (m *GetCollectionStatisticsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetCollectionStatisticsResponse.Merge(m, src)
977
}
G
godchen 已提交
978 979
func (m *GetCollectionStatisticsResponse) XXX_Size() int {
	return xxx_messageInfo_GetCollectionStatisticsResponse.Size(m)
980
}
G
godchen 已提交
981 982
func (m *GetCollectionStatisticsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetCollectionStatisticsResponse.DiscardUnknown(m)
983 984
}

G
godchen 已提交
985
var xxx_messageInfo_GetCollectionStatisticsResponse proto.InternalMessageInfo
986

G
godchen 已提交
987
func (m *GetCollectionStatisticsResponse) GetStatus() *commonpb.Status {
988
	if m != nil {
Z
zhenshan.cao 已提交
989
		return m.Status
990 991 992 993
	}
	return nil
}

G
godchen 已提交
994
func (m *GetCollectionStatisticsResponse) GetStats() []*commonpb.KeyValuePair {
Y
yukun 已提交
995
	if m != nil {
Z
zhenshan.cao 已提交
996
		return m.Stats
Y
yukun 已提交
997 998 999 1000
	}
	return nil
}

1001 1002
//
// List collections
G
godchen 已提交
1003
type ShowCollectionsRequest struct {
1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// Not useful for now
	TimeStamp uint64 `protobuf:"varint,3,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
	// Decide return Loaded collections or All collections(Optional)
	Type ShowType `protobuf:"varint,4,opt,name=type,proto3,enum=milvus.proto.milvus.ShowType" json:"type,omitempty"`
	// When type is InMemory, will return these collection's inMemory_percentages.(Optional)
	CollectionNames      []string `protobuf:"bytes,5,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1017 1018
}

G
godchen 已提交
1019 1020 1021 1022
func (m *ShowCollectionsRequest) Reset()         { *m = ShowCollectionsRequest{} }
func (m *ShowCollectionsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowCollectionsRequest) ProtoMessage()    {}
func (*ShowCollectionsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1023
	return fileDescriptor_02345ba45cc0e303, []int{14}
1024 1025
}

G
godchen 已提交
1026 1027
func (m *ShowCollectionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowCollectionsRequest.Unmarshal(m, b)
1028
}
G
godchen 已提交
1029 1030
func (m *ShowCollectionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowCollectionsRequest.Marshal(b, m, deterministic)
1031
}
G
godchen 已提交
1032 1033
func (m *ShowCollectionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowCollectionsRequest.Merge(m, src)
1034
}
G
godchen 已提交
1035 1036
func (m *ShowCollectionsRequest) XXX_Size() int {
	return xxx_messageInfo_ShowCollectionsRequest.Size(m)
1037
}
G
godchen 已提交
1038 1039
func (m *ShowCollectionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowCollectionsRequest.DiscardUnknown(m)
1040 1041
}

G
godchen 已提交
1042
var xxx_messageInfo_ShowCollectionsRequest proto.InternalMessageInfo
1043

G
godchen 已提交
1044
func (m *ShowCollectionsRequest) GetBase() *commonpb.MsgBase {
1045 1046 1047 1048 1049 1050
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1051
func (m *ShowCollectionsRequest) GetDbName() string {
1052 1053 1054 1055 1056 1057
	if m != nil {
		return m.DbName
	}
	return ""
}

N
neza2017 已提交
1058 1059 1060 1061 1062 1063 1064
func (m *ShowCollectionsRequest) GetTimeStamp() uint64 {
	if m != nil {
		return m.TimeStamp
	}
	return 0
}

1065
func (m *ShowCollectionsRequest) GetType() ShowType {
1066 1067 1068
	if m != nil {
		return m.Type
	}
1069 1070 1071 1072 1073 1074 1075 1076
	return ShowType_All
}

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

1079 1080
//
// Return basic collection infos.
G
godchen 已提交
1081
type ShowCollectionsResponse struct {
1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096
	// Contain error_code and reason
	Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Collection name array
	CollectionNames []string `protobuf:"bytes,2,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"`
	// Collection Id array
	CollectionIds []int64 `protobuf:"varint,3,rep,packed,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
	// Hybrid timestamps in milvus
	CreatedTimestamps []uint64 `protobuf:"varint,4,rep,packed,name=created_timestamps,json=createdTimestamps,proto3" json:"created_timestamps,omitempty"`
	// The utc timestamp calculated by created_timestamp
	CreatedUtcTimestamps []uint64 `protobuf:"varint,5,rep,packed,name=created_utc_timestamps,json=createdUtcTimestamps,proto3" json:"created_utc_timestamps,omitempty"`
	// Load percentage on querynode when type is InMemory
	InMemoryPercentages  []int64  `protobuf:"varint,6,rep,packed,name=inMemory_percentages,json=inMemoryPercentages,proto3" json:"inMemory_percentages,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1097 1098
}

G
godchen 已提交
1099 1100 1101 1102
func (m *ShowCollectionsResponse) Reset()         { *m = ShowCollectionsResponse{} }
func (m *ShowCollectionsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowCollectionsResponse) ProtoMessage()    {}
func (*ShowCollectionsResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1103
	return fileDescriptor_02345ba45cc0e303, []int{15}
1104 1105
}

G
godchen 已提交
1106 1107
func (m *ShowCollectionsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowCollectionsResponse.Unmarshal(m, b)
1108
}
G
godchen 已提交
1109 1110
func (m *ShowCollectionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowCollectionsResponse.Marshal(b, m, deterministic)
1111
}
G
godchen 已提交
1112 1113
func (m *ShowCollectionsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowCollectionsResponse.Merge(m, src)
1114
}
G
godchen 已提交
1115 1116
func (m *ShowCollectionsResponse) XXX_Size() int {
	return xxx_messageInfo_ShowCollectionsResponse.Size(m)
1117
}
G
godchen 已提交
1118 1119
func (m *ShowCollectionsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowCollectionsResponse.DiscardUnknown(m)
1120 1121
}

G
godchen 已提交
1122
var xxx_messageInfo_ShowCollectionsResponse proto.InternalMessageInfo
1123

G
godchen 已提交
1124
func (m *ShowCollectionsResponse) GetStatus() *commonpb.Status {
1125
	if m != nil {
Z
zhenshan.cao 已提交
1126
		return m.Status
1127 1128 1129 1130
	}
	return nil
}

G
godchen 已提交
1131
func (m *ShowCollectionsResponse) GetCollectionNames() []string {
Y
yukun 已提交
1132
	if m != nil {
Z
zhenshan.cao 已提交
1133
		return m.CollectionNames
Y
yukun 已提交
1134 1135 1136 1137
	}
	return nil
}

1138 1139 1140 1141 1142 1143 1144
func (m *ShowCollectionsResponse) GetCollectionIds() []int64 {
	if m != nil {
		return m.CollectionIds
	}
	return nil
}

1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158
func (m *ShowCollectionsResponse) GetCreatedTimestamps() []uint64 {
	if m != nil {
		return m.CreatedTimestamps
	}
	return nil
}

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

1159 1160 1161 1162 1163 1164 1165
func (m *ShowCollectionsResponse) GetInMemoryPercentages() []int64 {
	if m != nil {
		return m.InMemoryPercentages
	}
	return nil
}

1166 1167
//
// Create partition in created collection.
1168
type CreatePartitionRequest struct {
1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name in milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The partition name you want to create.
	PartitionName        string   `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1180 1181 1182 1183 1184 1185
}

func (m *CreatePartitionRequest) Reset()         { *m = CreatePartitionRequest{} }
func (m *CreatePartitionRequest) String() string { return proto.CompactTextString(m) }
func (*CreatePartitionRequest) ProtoMessage()    {}
func (*CreatePartitionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1186
	return fileDescriptor_02345ba45cc0e303, []int{16}
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206
}

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

var xxx_messageInfo_CreatePartitionRequest proto.InternalMessageInfo

1207
func (m *CreatePartitionRequest) GetBase() *commonpb.MsgBase {
1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234
	if m != nil {
		return m.Base
	}
	return nil
}

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

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

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

1235 1236
//
// Drop partition in created collection.
1237
type DropPartitionRequest struct {
1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name in milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The partition name you want to drop
	PartitionName        string   `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1249 1250 1251 1252 1253 1254
}

func (m *DropPartitionRequest) Reset()         { *m = DropPartitionRequest{} }
func (m *DropPartitionRequest) String() string { return proto.CompactTextString(m) }
func (*DropPartitionRequest) ProtoMessage()    {}
func (*DropPartitionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1255
	return fileDescriptor_02345ba45cc0e303, []int{17}
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275
}

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

var xxx_messageInfo_DropPartitionRequest proto.InternalMessageInfo

1276
func (m *DropPartitionRequest) GetBase() *commonpb.MsgBase {
1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303
	if m != nil {
		return m.Base
	}
	return nil
}

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

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

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

1304 1305
//
// Check if partition exist in collection or not.
1306
type HasPartitionRequest struct {
1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name in milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The partition name you want to check
	PartitionName        string   `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1318 1319 1320 1321 1322 1323
}

func (m *HasPartitionRequest) Reset()         { *m = HasPartitionRequest{} }
func (m *HasPartitionRequest) String() string { return proto.CompactTextString(m) }
func (*HasPartitionRequest) ProtoMessage()    {}
func (*HasPartitionRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1324
	return fileDescriptor_02345ba45cc0e303, []int{18}
1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344
}

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

var xxx_messageInfo_HasPartitionRequest proto.InternalMessageInfo

1345
func (m *HasPartitionRequest) GetBase() *commonpb.MsgBase {
1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372
	if m != nil {
		return m.Base
	}
	return nil
}

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

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

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

1373 1374 1375
//
// Load specific partitions data of one collection into query nodes
// Then you can get these data as result when you do vector search on this collection.
G
godchen 已提交
1376
type LoadPartitionsRequest struct {
1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name in milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The partition names you want to load
	PartitionNames       []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1388 1389
}

G
godchen 已提交
1390 1391 1392 1393
func (m *LoadPartitionsRequest) Reset()         { *m = LoadPartitionsRequest{} }
func (m *LoadPartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*LoadPartitionsRequest) ProtoMessage()    {}
func (*LoadPartitionsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1394
	return fileDescriptor_02345ba45cc0e303, []int{19}
1395 1396
}

G
godchen 已提交
1397 1398
func (m *LoadPartitionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LoadPartitionsRequest.Unmarshal(m, b)
1399
}
G
godchen 已提交
1400 1401
func (m *LoadPartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LoadPartitionsRequest.Marshal(b, m, deterministic)
1402
}
G
godchen 已提交
1403 1404
func (m *LoadPartitionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LoadPartitionsRequest.Merge(m, src)
1405
}
G
godchen 已提交
1406 1407
func (m *LoadPartitionsRequest) XXX_Size() int {
	return xxx_messageInfo_LoadPartitionsRequest.Size(m)
1408
}
G
godchen 已提交
1409 1410
func (m *LoadPartitionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_LoadPartitionsRequest.DiscardUnknown(m)
1411 1412
}

G
godchen 已提交
1413
var xxx_messageInfo_LoadPartitionsRequest proto.InternalMessageInfo
1414

G
godchen 已提交
1415
func (m *LoadPartitionsRequest) GetBase() *commonpb.MsgBase {
1416 1417 1418 1419 1420 1421
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1422
func (m *LoadPartitionsRequest) GetDbName() string {
1423 1424 1425 1426 1427 1428
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
1429
func (m *LoadPartitionsRequest) GetCollectionName() string {
1430 1431 1432 1433 1434 1435
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
1436
func (m *LoadPartitionsRequest) GetPartitionNames() []string {
1437 1438 1439 1440 1441 1442
	if m != nil {
		return m.PartitionNames
	}
	return nil
}

1443 1444 1445
//
// Release specific partitions data of one collection from query nodes.
// Then you can not get these data as result when you do vector search on this collection.
G
godchen 已提交
1446
type ReleasePartitionsRequest struct {
1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name in milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The partition names you want to release
	PartitionNames       []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1458 1459
}

G
godchen 已提交
1460 1461 1462 1463
func (m *ReleasePartitionsRequest) Reset()         { *m = ReleasePartitionsRequest{} }
func (m *ReleasePartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*ReleasePartitionsRequest) ProtoMessage()    {}
func (*ReleasePartitionsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1464
	return fileDescriptor_02345ba45cc0e303, []int{20}
1465 1466
}

G
godchen 已提交
1467 1468
func (m *ReleasePartitionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReleasePartitionsRequest.Unmarshal(m, b)
1469
}
G
godchen 已提交
1470 1471
func (m *ReleasePartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReleasePartitionsRequest.Marshal(b, m, deterministic)
1472
}
G
godchen 已提交
1473 1474
func (m *ReleasePartitionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReleasePartitionsRequest.Merge(m, src)
1475
}
G
godchen 已提交
1476 1477
func (m *ReleasePartitionsRequest) XXX_Size() int {
	return xxx_messageInfo_ReleasePartitionsRequest.Size(m)
1478
}
G
godchen 已提交
1479 1480
func (m *ReleasePartitionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ReleasePartitionsRequest.DiscardUnknown(m)
1481 1482
}

G
godchen 已提交
1483
var xxx_messageInfo_ReleasePartitionsRequest proto.InternalMessageInfo
1484

G
godchen 已提交
1485
func (m *ReleasePartitionsRequest) GetBase() *commonpb.MsgBase {
1486 1487 1488 1489 1490 1491
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1492
func (m *ReleasePartitionsRequest) GetDbName() string {
1493 1494 1495 1496 1497 1498
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
1499
func (m *ReleasePartitionsRequest) GetCollectionName() string {
1500 1501 1502 1503 1504 1505
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
1506
func (m *ReleasePartitionsRequest) GetPartitionNames() []string {
1507 1508 1509 1510 1511 1512
	if m != nil {
		return m.PartitionNames
	}
	return nil
}

1513 1514
//
// Get partition statistics like row_count.
G
godchen 已提交
1515
type GetPartitionStatisticsRequest struct {
1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name in milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The partition name you want to collect statistics
	PartitionName        string   `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1527 1528
}

G
godchen 已提交
1529 1530 1531 1532
func (m *GetPartitionStatisticsRequest) Reset()         { *m = GetPartitionStatisticsRequest{} }
func (m *GetPartitionStatisticsRequest) String() string { return proto.CompactTextString(m) }
func (*GetPartitionStatisticsRequest) ProtoMessage()    {}
func (*GetPartitionStatisticsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1533
	return fileDescriptor_02345ba45cc0e303, []int{21}
1534 1535
}

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

G
godchen 已提交
1552
var xxx_messageInfo_GetPartitionStatisticsRequest proto.InternalMessageInfo
1553

G
godchen 已提交
1554
func (m *GetPartitionStatisticsRequest) GetBase() *commonpb.MsgBase {
1555 1556 1557 1558 1559 1560
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1561
func (m *GetPartitionStatisticsRequest) GetDbName() string {
1562 1563 1564 1565 1566 1567
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
1568
func (m *GetPartitionStatisticsRequest) GetCollectionName() string {
1569 1570 1571 1572 1573 1574
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
1575
func (m *GetPartitionStatisticsRequest) GetPartitionName() string {
1576 1577 1578 1579 1580 1581
	if m != nil {
		return m.PartitionName
	}
	return ""
}

G
godchen 已提交
1582
type GetPartitionStatisticsResponse struct {
Z
zhenshan.cao 已提交
1583 1584
	Status               *commonpb.Status         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Stats                []*commonpb.KeyValuePair `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"`
1585 1586 1587 1588 1589
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

G
godchen 已提交
1590 1591 1592 1593
func (m *GetPartitionStatisticsResponse) Reset()         { *m = GetPartitionStatisticsResponse{} }
func (m *GetPartitionStatisticsResponse) String() string { return proto.CompactTextString(m) }
func (*GetPartitionStatisticsResponse) ProtoMessage()    {}
func (*GetPartitionStatisticsResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1594
	return fileDescriptor_02345ba45cc0e303, []int{22}
1595 1596
}

G
godchen 已提交
1597 1598
func (m *GetPartitionStatisticsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPartitionStatisticsResponse.Unmarshal(m, b)
1599
}
G
godchen 已提交
1600 1601
func (m *GetPartitionStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPartitionStatisticsResponse.Marshal(b, m, deterministic)
1602
}
G
godchen 已提交
1603 1604
func (m *GetPartitionStatisticsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPartitionStatisticsResponse.Merge(m, src)
1605
}
G
godchen 已提交
1606 1607
func (m *GetPartitionStatisticsResponse) XXX_Size() int {
	return xxx_messageInfo_GetPartitionStatisticsResponse.Size(m)
1608
}
G
godchen 已提交
1609 1610
func (m *GetPartitionStatisticsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPartitionStatisticsResponse.DiscardUnknown(m)
1611 1612
}

G
godchen 已提交
1613
var xxx_messageInfo_GetPartitionStatisticsResponse proto.InternalMessageInfo
1614

G
godchen 已提交
1615
func (m *GetPartitionStatisticsResponse) GetStatus() *commonpb.Status {
1616
	if m != nil {
Z
zhenshan.cao 已提交
1617
		return m.Status
1618 1619 1620 1621
	}
	return nil
}

G
godchen 已提交
1622
func (m *GetPartitionStatisticsResponse) GetStats() []*commonpb.KeyValuePair {
Y
yukun 已提交
1623
	if m != nil {
Z
zhenshan.cao 已提交
1624
		return m.Stats
Y
yukun 已提交
1625 1626 1627 1628
	}
	return nil
}

1629 1630
//
// List all partitions for particular collection
G
godchen 已提交
1631
type ShowPartitionsRequest struct {
1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The collection name you want to describe, you can pass collection_name or collectionID
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The collection id in milvus
	CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	// When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
	PartitionNames []string `protobuf:"bytes,5,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
	// Decide return Loaded partitions or All partitions(Optional)
	Type                 ShowType `protobuf:"varint,6,opt,name=type,proto3,enum=milvus.proto.milvus.ShowType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1647 1648
}

G
godchen 已提交
1649 1650 1651 1652
func (m *ShowPartitionsRequest) Reset()         { *m = ShowPartitionsRequest{} }
func (m *ShowPartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowPartitionsRequest) ProtoMessage()    {}
func (*ShowPartitionsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1653
	return fileDescriptor_02345ba45cc0e303, []int{23}
1654 1655
}

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

G
godchen 已提交
1672
var xxx_messageInfo_ShowPartitionsRequest proto.InternalMessageInfo
1673

G
godchen 已提交
1674
func (m *ShowPartitionsRequest) GetBase() *commonpb.MsgBase {
1675 1676 1677 1678 1679 1680
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1681
func (m *ShowPartitionsRequest) GetDbName() string {
1682 1683 1684 1685 1686 1687
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
1688
func (m *ShowPartitionsRequest) GetCollectionName() string {
1689 1690 1691 1692 1693 1694
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
1695
func (m *ShowPartitionsRequest) GetCollectionID() int64 {
1696 1697 1698 1699 1700 1701
	if m != nil {
		return m.CollectionID
	}
	return 0
}

1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715
func (m *ShowPartitionsRequest) GetPartitionNames() []string {
	if m != nil {
		return m.PartitionNames
	}
	return nil
}

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

1716 1717 1718
//
// List all partitions for particular collection response.
// The returned datas are all rows, we can format to columns by therir index.
G
godchen 已提交
1719
type ShowPartitionsResponse struct {
1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734
	// Contain error_code and reason
	Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// All partition names for this collection
	PartitionNames []string `protobuf:"bytes,2,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
	// All partition ids for this collection
	PartitionIDs []int64 `protobuf:"varint,3,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
	// All hybrid timestamps
	CreatedTimestamps []uint64 `protobuf:"varint,4,rep,packed,name=created_timestamps,json=createdTimestamps,proto3" json:"created_timestamps,omitempty"`
	// All utc timestamps calculated by created_timestamps
	CreatedUtcTimestamps []uint64 `protobuf:"varint,5,rep,packed,name=created_utc_timestamps,json=createdUtcTimestamps,proto3" json:"created_utc_timestamps,omitempty"`
	// Load percentage on querynode
	InMemoryPercentages  []int64  `protobuf:"varint,6,rep,packed,name=inMemory_percentages,json=inMemoryPercentages,proto3" json:"inMemory_percentages,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
1735 1736
}

G
godchen 已提交
1737 1738 1739 1740
func (m *ShowPartitionsResponse) Reset()         { *m = ShowPartitionsResponse{} }
func (m *ShowPartitionsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowPartitionsResponse) ProtoMessage()    {}
func (*ShowPartitionsResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1741
	return fileDescriptor_02345ba45cc0e303, []int{24}
1742 1743
}

G
godchen 已提交
1744 1745
func (m *ShowPartitionsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowPartitionsResponse.Unmarshal(m, b)
1746
}
G
godchen 已提交
1747 1748
func (m *ShowPartitionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowPartitionsResponse.Marshal(b, m, deterministic)
1749
}
G
godchen 已提交
1750 1751
func (m *ShowPartitionsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowPartitionsResponse.Merge(m, src)
1752
}
G
godchen 已提交
1753 1754
func (m *ShowPartitionsResponse) XXX_Size() int {
	return xxx_messageInfo_ShowPartitionsResponse.Size(m)
1755
}
G
godchen 已提交
1756 1757
func (m *ShowPartitionsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowPartitionsResponse.DiscardUnknown(m)
1758 1759
}

G
godchen 已提交
1760
var xxx_messageInfo_ShowPartitionsResponse proto.InternalMessageInfo
1761

G
godchen 已提交
1762
func (m *ShowPartitionsResponse) GetStatus() *commonpb.Status {
1763
	if m != nil {
Z
zhenshan.cao 已提交
1764
		return m.Status
1765 1766 1767 1768
	}
	return nil
}

G
godchen 已提交
1769
func (m *ShowPartitionsResponse) GetPartitionNames() []string {
1770
	if m != nil {
Z
zhenshan.cao 已提交
1771
		return m.PartitionNames
1772 1773 1774 1775
	}
	return nil
}

G
godchen 已提交
1776
func (m *ShowPartitionsResponse) GetPartitionIDs() []int64 {
Y
yukun 已提交
1777
	if m != nil {
Z
zhenshan.cao 已提交
1778
		return m.PartitionIDs
Y
yukun 已提交
1779 1780 1781 1782
	}
	return nil
}

1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796
func (m *ShowPartitionsResponse) GetCreatedTimestamps() []uint64 {
	if m != nil {
		return m.CreatedTimestamps
	}
	return nil
}

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

1797 1798 1799 1800 1801 1802 1803
func (m *ShowPartitionsResponse) GetInMemoryPercentages() []int64 {
	if m != nil {
		return m.InMemoryPercentages
	}
	return nil
}

1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816
type DescribeSegmentRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	CollectionID         int64             `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	SegmentID            int64             `protobuf:"varint,3,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *DescribeSegmentRequest) Reset()         { *m = DescribeSegmentRequest{} }
func (m *DescribeSegmentRequest) String() string { return proto.CompactTextString(m) }
func (*DescribeSegmentRequest) ProtoMessage()    {}
func (*DescribeSegmentRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1817
	return fileDescriptor_02345ba45cc0e303, []int{25}
1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859
}

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

var xxx_messageInfo_DescribeSegmentRequest proto.InternalMessageInfo

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

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

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

type DescribeSegmentResponse struct {
N
neza2017 已提交
1860 1861 1862
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	IndexID              int64            `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"`
	BuildID              int64            `protobuf:"varint,3,opt,name=buildID,proto3" json:"buildID,omitempty"`
1863
	EnableIndex          bool             `protobuf:"varint,4,opt,name=enable_index,json=enableIndex,proto3" json:"enable_index,omitempty"`
N
neza2017 已提交
1864 1865 1866
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
1867 1868 1869 1870 1871 1872
}

func (m *DescribeSegmentResponse) Reset()         { *m = DescribeSegmentResponse{} }
func (m *DescribeSegmentResponse) String() string { return proto.CompactTextString(m) }
func (*DescribeSegmentResponse) ProtoMessage()    {}
func (*DescribeSegmentResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1873
	return fileDescriptor_02345ba45cc0e303, []int{26}
1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907
}

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

var xxx_messageInfo_DescribeSegmentResponse proto.InternalMessageInfo

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

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

N
neza2017 已提交
1908
func (m *DescribeSegmentResponse) GetBuildID() int64 {
B
bigsheeper 已提交
1909
	if m != nil {
N
neza2017 已提交
1910
		return m.BuildID
B
bigsheeper 已提交
1911
	}
N
neza2017 已提交
1912
	return 0
B
bigsheeper 已提交
1913 1914
}

1915 1916 1917 1918 1919 1920 1921
func (m *DescribeSegmentResponse) GetEnableIndex() bool {
	if m != nil {
		return m.EnableIndex
	}
	return false
}

G
godchen 已提交
1922
type ShowSegmentsRequest struct {
1923 1924 1925 1926 1927 1928 1929 1930
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	CollectionID         int64             `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	PartitionID          int64             `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

G
godchen 已提交
1931 1932 1933 1934
func (m *ShowSegmentsRequest) Reset()         { *m = ShowSegmentsRequest{} }
func (m *ShowSegmentsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowSegmentsRequest) ProtoMessage()    {}
func (*ShowSegmentsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1935
	return fileDescriptor_02345ba45cc0e303, []int{27}
1936 1937
}

G
godchen 已提交
1938 1939
func (m *ShowSegmentsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowSegmentsRequest.Unmarshal(m, b)
1940
}
G
godchen 已提交
1941 1942
func (m *ShowSegmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowSegmentsRequest.Marshal(b, m, deterministic)
1943
}
G
godchen 已提交
1944 1945
func (m *ShowSegmentsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowSegmentsRequest.Merge(m, src)
1946
}
G
godchen 已提交
1947 1948
func (m *ShowSegmentsRequest) XXX_Size() int {
	return xxx_messageInfo_ShowSegmentsRequest.Size(m)
1949
}
G
godchen 已提交
1950 1951
func (m *ShowSegmentsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowSegmentsRequest.DiscardUnknown(m)
1952 1953
}

G
godchen 已提交
1954
var xxx_messageInfo_ShowSegmentsRequest proto.InternalMessageInfo
1955

G
godchen 已提交
1956
func (m *ShowSegmentsRequest) GetBase() *commonpb.MsgBase {
1957 1958 1959 1960 1961 1962
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1963
func (m *ShowSegmentsRequest) GetCollectionID() int64 {
1964 1965 1966 1967 1968 1969
	if m != nil {
		return m.CollectionID
	}
	return 0
}

G
godchen 已提交
1970
func (m *ShowSegmentsRequest) GetPartitionID() int64 {
1971 1972 1973 1974 1975 1976
	if m != nil {
		return m.PartitionID
	}
	return 0
}

G
godchen 已提交
1977
type ShowSegmentsResponse struct {
1978 1979 1980 1981 1982 1983 1984
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	SegmentIDs           []int64          `protobuf:"varint,2,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

G
godchen 已提交
1985 1986 1987 1988
func (m *ShowSegmentsResponse) Reset()         { *m = ShowSegmentsResponse{} }
func (m *ShowSegmentsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowSegmentsResponse) ProtoMessage()    {}
func (*ShowSegmentsResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
1989
	return fileDescriptor_02345ba45cc0e303, []int{28}
1990 1991
}

G
godchen 已提交
1992 1993
func (m *ShowSegmentsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowSegmentsResponse.Unmarshal(m, b)
1994
}
G
godchen 已提交
1995 1996
func (m *ShowSegmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowSegmentsResponse.Marshal(b, m, deterministic)
1997
}
G
godchen 已提交
1998 1999
func (m *ShowSegmentsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowSegmentsResponse.Merge(m, src)
2000
}
G
godchen 已提交
2001 2002
func (m *ShowSegmentsResponse) XXX_Size() int {
	return xxx_messageInfo_ShowSegmentsResponse.Size(m)
2003
}
G
godchen 已提交
2004 2005
func (m *ShowSegmentsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowSegmentsResponse.DiscardUnknown(m)
2006 2007
}

G
godchen 已提交
2008
var xxx_messageInfo_ShowSegmentsResponse proto.InternalMessageInfo
2009

G
godchen 已提交
2010
func (m *ShowSegmentsResponse) GetStatus() *commonpb.Status {
2011 2012 2013 2014 2015 2016
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
2017
func (m *ShowSegmentsResponse) GetSegmentIDs() []int64 {
2018 2019 2020 2021 2022 2023
	if m != nil {
		return m.SegmentIDs
	}
	return nil
}

2024 2025
//
// Create index for vector datas
2026
type CreateIndexRequest struct {
2027 2028 2029 2030 2031 2032 2033 2034 2035
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The particular collection name you want to create index.
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The vector field name in this particular collection
	FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	// Support keys: index_type,metric_type, params. Different index_type may has different params.
2036 2037 2038 2039 2040 2041 2042 2043 2044 2045
	ExtraParams          []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (m *CreateIndexRequest) Reset()         { *m = CreateIndexRequest{} }
func (m *CreateIndexRequest) String() string { return proto.CompactTextString(m) }
func (*CreateIndexRequest) ProtoMessage()    {}
func (*CreateIndexRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2046
	return fileDescriptor_02345ba45cc0e303, []int{29}
2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066
}

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

var xxx_messageInfo_CreateIndexRequest proto.InternalMessageInfo

2067
func (m *CreateIndexRequest) GetBase() *commonpb.MsgBase {
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
	if m != nil {
		return m.Base
	}
	return nil
}

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

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

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

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

2102 2103 2104
//
// Get created index information.
// Current release of Milvus only supports showing latest built index.
2105
type DescribeIndexRequest struct {
2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118
	// Not useful for now
	Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// Not useful for now
	DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// The particular collection name in Milvus
	CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// The vector field name in this particular collection
	FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	// No need to set up for now @2021.06.30
	IndexName            string   `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
2119 2120 2121 2122 2123 2124
}

func (m *DescribeIndexRequest) Reset()         { *m = DescribeIndexRequest{} }
func (m *DescribeIndexRequest) String() string { return proto.CompactTextString(m) }
func (*DescribeIndexRequest) ProtoMessage()    {}
func (*DescribeIndexRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2125
	return fileDescriptor_02345ba45cc0e303, []int{30}
2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145
}

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

var xxx_messageInfo_DescribeIndexRequest proto.InternalMessageInfo

2146
func (m *DescribeIndexRequest) GetBase() *commonpb.MsgBase {
2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173
	if m != nil {
		return m.Base
	}
	return nil
}

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

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

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

2174 2175 2176 2177 2178 2179 2180
func (m *DescribeIndexRequest) GetIndexName() string {
	if m != nil {
		return m.IndexName
	}
	return ""
}

2181 2182
//
// Index informations
2183
type IndexDescription struct {
2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194
	// Index name
	IndexName string `protobuf:"bytes,1,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	// Index id
	IndexID int64 `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"`
	// Will return index_type, metric_type, params(like nlist).
	Params []*commonpb.KeyValuePair `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"`
	// The vector field name
	FieldName            string   `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
2195 2196 2197 2198 2199 2200
}

func (m *IndexDescription) Reset()         { *m = IndexDescription{} }
func (m *IndexDescription) String() string { return proto.CompactTextString(m) }
func (*IndexDescription) ProtoMessage()    {}
func (*IndexDescription) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2201
	return fileDescriptor_02345ba45cc0e303, []int{31}
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
}

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

var xxx_messageInfo_IndexDescription proto.InternalMessageInfo

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

2229 2230 2231 2232 2233 2234 2235
func (m *IndexDescription) GetIndexID() int64 {
	if m != nil {
		return m.IndexID
	}
	return 0
}

2236 2237 2238 2239 2240 2241 2242
func (m *IndexDescription) GetParams() []*commonpb.KeyValuePair {
	if m != nil {
		return m.Params
	}
	return nil
}

2243 2244 2245 2246 2247 2248 2249
func (m *IndexDescription) GetFieldName() string {
	if m != nil {
		return m.FieldName
	}
	return ""
}

2250 2251
//
// Describe index response
2252
type DescribeIndexResponse struct {
2253 2254 2255
	// Response status
	Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// All index informations, for now only return tha latest index you created for the collection.
2256
	IndexDescriptions    []*IndexDescription `protobuf:"bytes,2,rep,name=index_descriptions,json=indexDescriptions,proto3" json:"index_descriptions,omitempty"`
2257 2258 2259 2260 2261 2262 2263 2264 2265
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *DescribeIndexResponse) Reset()         { *m = DescribeIndexResponse{} }
func (m *DescribeIndexResponse) String() string { return proto.CompactTextString(m) }
func (*DescribeIndexResponse) ProtoMessage()    {}
func (*DescribeIndexResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2266
	return fileDescriptor_02345ba45cc0e303, []int{32}
2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286
}

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

var xxx_messageInfo_DescribeIndexResponse proto.InternalMessageInfo

2287 2288 2289 2290 2291 2292 2293
func (m *DescribeIndexResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

2294 2295 2296 2297 2298 2299 2300
func (m *DescribeIndexResponse) GetIndexDescriptions() []*IndexDescription {
	if m != nil {
		return m.IndexDescriptions
	}
	return nil
}

2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315
type GetIndexBuildProgressRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	FieldName            string            `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	IndexName            string            `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *GetIndexBuildProgressRequest) Reset()         { *m = GetIndexBuildProgressRequest{} }
func (m *GetIndexBuildProgressRequest) String() string { return proto.CompactTextString(m) }
func (*GetIndexBuildProgressRequest) ProtoMessage()    {}
func (*GetIndexBuildProgressRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2316
	return fileDescriptor_02345ba45cc0e303, []int{33}
2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 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 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384
}

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

var xxx_messageInfo_GetIndexBuildProgressRequest proto.InternalMessageInfo

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

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

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

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

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

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

func (m *GetIndexBuildProgressResponse) Reset()         { *m = GetIndexBuildProgressResponse{} }
func (m *GetIndexBuildProgressResponse) String() string { return proto.CompactTextString(m) }
func (*GetIndexBuildProgressResponse) ProtoMessage()    {}
func (*GetIndexBuildProgressResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2385
	return fileDescriptor_02345ba45cc0e303, []int{34}
2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426
}

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

var xxx_messageInfo_GetIndexBuildProgressResponse proto.InternalMessageInfo

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

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

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

G
godchen 已提交
2427
type GetIndexStateRequest struct {
2428 2429 2430 2431 2432 2433 2434 2435 2436 2437
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	FieldName            string            `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	IndexName            string            `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

G
godchen 已提交
2438 2439 2440 2441
func (m *GetIndexStateRequest) Reset()         { *m = GetIndexStateRequest{} }
func (m *GetIndexStateRequest) String() string { return proto.CompactTextString(m) }
func (*GetIndexStateRequest) ProtoMessage()    {}
func (*GetIndexStateRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2442
	return fileDescriptor_02345ba45cc0e303, []int{35}
2443 2444
}

G
godchen 已提交
2445 2446
func (m *GetIndexStateRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetIndexStateRequest.Unmarshal(m, b)
2447
}
G
godchen 已提交
2448 2449
func (m *GetIndexStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetIndexStateRequest.Marshal(b, m, deterministic)
2450
}
G
godchen 已提交
2451 2452
func (m *GetIndexStateRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetIndexStateRequest.Merge(m, src)
2453
}
G
godchen 已提交
2454 2455
func (m *GetIndexStateRequest) XXX_Size() int {
	return xxx_messageInfo_GetIndexStateRequest.Size(m)
2456
}
G
godchen 已提交
2457 2458
func (m *GetIndexStateRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetIndexStateRequest.DiscardUnknown(m)
2459 2460
}

G
godchen 已提交
2461
var xxx_messageInfo_GetIndexStateRequest proto.InternalMessageInfo
2462

G
godchen 已提交
2463
func (m *GetIndexStateRequest) GetBase() *commonpb.MsgBase {
2464 2465 2466 2467 2468 2469
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
2470
func (m *GetIndexStateRequest) GetDbName() string {
2471 2472 2473 2474 2475 2476
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
2477
func (m *GetIndexStateRequest) GetCollectionName() string {
2478 2479 2480 2481 2482 2483
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
2484
func (m *GetIndexStateRequest) GetFieldName() string {
2485 2486 2487 2488 2489 2490
	if m != nil {
		return m.FieldName
	}
	return ""
}

G
godchen 已提交
2491
func (m *GetIndexStateRequest) GetIndexName() string {
2492 2493 2494 2495 2496 2497
	if m != nil {
		return m.IndexName
	}
	return ""
}

G
godchen 已提交
2498
type GetIndexStateResponse struct {
2499 2500
	Status               *commonpb.Status    `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	State                commonpb.IndexState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.IndexState" json:"state,omitempty"`
2501
	FailReason           string              `protobuf:"bytes,3,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty"`
2502 2503 2504 2505 2506
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

G
godchen 已提交
2507 2508 2509 2510
func (m *GetIndexStateResponse) Reset()         { *m = GetIndexStateResponse{} }
func (m *GetIndexStateResponse) String() string { return proto.CompactTextString(m) }
func (*GetIndexStateResponse) ProtoMessage()    {}
func (*GetIndexStateResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2511
	return fileDescriptor_02345ba45cc0e303, []int{36}
2512 2513
}

G
godchen 已提交
2514 2515
func (m *GetIndexStateResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetIndexStateResponse.Unmarshal(m, b)
2516
}
G
godchen 已提交
2517 2518
func (m *GetIndexStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetIndexStateResponse.Marshal(b, m, deterministic)
2519
}
G
godchen 已提交
2520 2521
func (m *GetIndexStateResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetIndexStateResponse.Merge(m, src)
2522
}
G
godchen 已提交
2523 2524
func (m *GetIndexStateResponse) XXX_Size() int {
	return xxx_messageInfo_GetIndexStateResponse.Size(m)
2525
}
G
godchen 已提交
2526 2527
func (m *GetIndexStateResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetIndexStateResponse.DiscardUnknown(m)
2528 2529
}

G
godchen 已提交
2530
var xxx_messageInfo_GetIndexStateResponse proto.InternalMessageInfo
2531

G
godchen 已提交
2532
func (m *GetIndexStateResponse) GetStatus() *commonpb.Status {
Y
yukun 已提交
2533 2534 2535 2536 2537 2538
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
2539
func (m *GetIndexStateResponse) GetState() commonpb.IndexState {
2540 2541 2542
	if m != nil {
		return m.State
	}
T
ThreadDao 已提交
2543
	return commonpb.IndexState_IndexStateNone
2544 2545
}

2546 2547 2548 2549 2550 2551 2552
func (m *GetIndexStateResponse) GetFailReason() string {
	if m != nil {
		return m.FailReason
	}
	return ""
}

X
xige-16 已提交
2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567
type DropIndexRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	FieldName            string            `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	IndexName            string            `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *DropIndexRequest) Reset()         { *m = DropIndexRequest{} }
func (m *DropIndexRequest) String() string { return proto.CompactTextString(m) }
func (*DropIndexRequest) ProtoMessage()    {}
func (*DropIndexRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2568
	return fileDescriptor_02345ba45cc0e303, []int{37}
X
xige-16 已提交
2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623
}

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

var xxx_messageInfo_DropIndexRequest proto.InternalMessageInfo

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

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

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

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

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

2624
type InsertRequest struct {
2625 2626 2627 2628 2629 2630
	Base                 *commonpb.MsgBase     `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string                `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName       string                `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	PartitionName        string                `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	FieldsData           []*schemapb.FieldData `protobuf:"bytes,5,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"`
	HashKeys             []uint32              `protobuf:"varint,6,rep,packed,name=hash_keys,json=hashKeys,proto3" json:"hash_keys,omitempty"`
2631
	NumRows              uint32                `protobuf:"varint,7,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
2632 2633 2634
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
2635 2636 2637 2638 2639 2640
}

func (m *InsertRequest) Reset()         { *m = InsertRequest{} }
func (m *InsertRequest) String() string { return proto.CompactTextString(m) }
func (*InsertRequest) ProtoMessage()    {}
func (*InsertRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2641
	return fileDescriptor_02345ba45cc0e303, []int{38}
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661
}

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

var xxx_messageInfo_InsertRequest proto.InternalMessageInfo

2662
func (m *InsertRequest) GetBase() *commonpb.MsgBase {
2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689
	if m != nil {
		return m.Base
	}
	return nil
}

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

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

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

2690
func (m *InsertRequest) GetFieldsData() []*schemapb.FieldData {
2691
	if m != nil {
2692
		return m.FieldsData
2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703
	}
	return nil
}

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

2704 2705 2706 2707 2708 2709 2710 2711
func (m *InsertRequest) GetNumRows() uint32 {
	if m != nil {
		return m.NumRows
	}
	return 0
}

type MutationResult struct {
Z
zhenshan.cao 已提交
2712
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
2713 2714 2715 2716 2717 2718 2719 2720
	IDs                  *schemapb.IDs    `protobuf:"bytes,2,opt,name=IDs,proto3" json:"IDs,omitempty"`
	SuccIndex            []uint32         `protobuf:"varint,3,rep,packed,name=succ_index,json=succIndex,proto3" json:"succ_index,omitempty"`
	ErrIndex             []uint32         `protobuf:"varint,4,rep,packed,name=err_index,json=errIndex,proto3" json:"err_index,omitempty"`
	Acknowledged         bool             `protobuf:"varint,5,opt,name=acknowledged,proto3" json:"acknowledged,omitempty"`
	InsertCnt            int64            `protobuf:"varint,6,opt,name=insert_cnt,json=insertCnt,proto3" json:"insert_cnt,omitempty"`
	DeleteCnt            int64            `protobuf:"varint,7,opt,name=delete_cnt,json=deleteCnt,proto3" json:"delete_cnt,omitempty"`
	UpsertCnt            int64            `protobuf:"varint,8,opt,name=upsert_cnt,json=upsertCnt,proto3" json:"upsert_cnt,omitempty"`
	Timestamp            uint64           `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Y
yukun 已提交
2721 2722 2723
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
2724 2725
}

2726 2727 2728 2729
func (m *MutationResult) Reset()         { *m = MutationResult{} }
func (m *MutationResult) String() string { return proto.CompactTextString(m) }
func (*MutationResult) ProtoMessage()    {}
func (*MutationResult) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2730
	return fileDescriptor_02345ba45cc0e303, []int{39}
2731 2732
}

2733 2734
func (m *MutationResult) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MutationResult.Unmarshal(m, b)
2735
}
2736 2737
func (m *MutationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MutationResult.Marshal(b, m, deterministic)
2738
}
2739 2740
func (m *MutationResult) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MutationResult.Merge(m, src)
2741
}
2742 2743
func (m *MutationResult) XXX_Size() int {
	return xxx_messageInfo_MutationResult.Size(m)
2744
}
2745 2746
func (m *MutationResult) XXX_DiscardUnknown() {
	xxx_messageInfo_MutationResult.DiscardUnknown(m)
2747 2748
}

2749
var xxx_messageInfo_MutationResult proto.InternalMessageInfo
2750

2751
func (m *MutationResult) GetStatus() *commonpb.Status {
Z
zhenshan.cao 已提交
2752 2753 2754 2755 2756 2757
	if m != nil {
		return m.Status
	}
	return nil
}

2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800
func (m *MutationResult) GetIDs() *schemapb.IDs {
	if m != nil {
		return m.IDs
	}
	return nil
}

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

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

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

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

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

func (m *MutationResult) GetUpsertCnt() int64 {
2801
	if m != nil {
2802
		return m.UpsertCnt
2803 2804 2805 2806
	}
	return 0
}

2807
func (m *MutationResult) GetTimestamp() uint64 {
2808
	if m != nil {
2809
		return m.Timestamp
2810 2811 2812 2813
	}
	return 0
}

G
groot 已提交
2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828
type DeleteRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	PartitionName        string            `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
	Expr                 string            `protobuf:"bytes,5,opt,name=expr,proto3" json:"expr,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *DeleteRequest) Reset()         { *m = DeleteRequest{} }
func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteRequest) ProtoMessage()    {}
func (*DeleteRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2829
	return fileDescriptor_02345ba45cc0e303, []int{40}
G
groot 已提交
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 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884
}

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

var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo

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

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

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

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

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

Y
yukun 已提交
2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898
type PlaceholderValue struct {
	Tag  string          `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Type PlaceholderType `protobuf:"varint,2,opt,name=type,proto3,enum=milvus.proto.milvus.PlaceholderType" json:"type,omitempty"`
	// values is a 2d-array, every array contains a vector
	Values               [][]byte `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *PlaceholderValue) Reset()         { *m = PlaceholderValue{} }
func (m *PlaceholderValue) String() string { return proto.CompactTextString(m) }
func (*PlaceholderValue) ProtoMessage()    {}
func (*PlaceholderValue) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
2899
	return fileDescriptor_02345ba45cc0e303, []int{41}
Y
yukun 已提交
2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930
}

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

var xxx_messageInfo_PlaceholderValue proto.InternalMessageInfo

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

func (m *PlaceholderValue) GetType() PlaceholderType {
	if m != nil {
		return m.Type
	}
G
godchen 已提交
2931
	return PlaceholderType_None
Y
yukun 已提交
2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951
}

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

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

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

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

var xxx_messageInfo_PlaceholderGroup proto.InternalMessageInfo

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

2980
type SearchRequest struct {
2981 2982 2983 2984 2985
	Base           *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName         string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	PartitionNames []string          `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
	Dsl            string            `protobuf:"bytes,5,opt,name=dsl,proto3" json:"dsl,omitempty"`
Y
yukun 已提交
2986
	// serialized `PlaceholderGroup`
2987 2988
	PlaceholderGroup     []byte                   `protobuf:"bytes,6,opt,name=placeholder_group,json=placeholderGroup,proto3" json:"placeholder_group,omitempty"`
	DslType              commonpb.DslType         `protobuf:"varint,7,opt,name=dsl_type,json=dslType,proto3,enum=milvus.proto.common.DslType" json:"dsl_type,omitempty"`
2989 2990 2991
	OutputFields         []string                 `protobuf:"bytes,8,rep,name=output_fields,json=outputFields,proto3" json:"output_fields,omitempty"`
	SearchParams         []*commonpb.KeyValuePair `protobuf:"bytes,9,rep,name=search_params,json=searchParams,proto3" json:"search_params,omitempty"`
	TravelTimestamp      uint64                   `protobuf:"varint,10,opt,name=travel_timestamp,json=travelTimestamp,proto3" json:"travel_timestamp,omitempty"`
2992
	GuaranteeTimestamp   uint64                   `protobuf:"varint,11,opt,name=guarantee_timestamp,json=guaranteeTimestamp,proto3" json:"guarantee_timestamp,omitempty"`
2993 2994 2995
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
2996 2997 2998 2999 3000 3001
}

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

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

3023
func (m *SearchRequest) GetBase() *commonpb.MsgBase {
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
	if m != nil {
		return m.Base
	}
	return nil
}

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

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

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

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

Y
yukun 已提交
3058
func (m *SearchRequest) GetPlaceholderGroup() []byte {
3059 3060 3061 3062 3063 3064
	if m != nil {
		return m.PlaceholderGroup
	}
	return nil
}

3065 3066 3067 3068 3069 3070 3071
func (m *SearchRequest) GetDslType() commonpb.DslType {
	if m != nil {
		return m.DslType
	}
	return commonpb.DslType_Dsl
}

3072 3073 3074 3075 3076 3077 3078
func (m *SearchRequest) GetOutputFields() []string {
	if m != nil {
		return m.OutputFields
	}
	return nil
}

3079 3080 3081 3082 3083 3084 3085
func (m *SearchRequest) GetSearchParams() []*commonpb.KeyValuePair {
	if m != nil {
		return m.SearchParams
	}
	return nil
}

3086 3087 3088 3089 3090 3091 3092
func (m *SearchRequest) GetTravelTimestamp() uint64 {
	if m != nil {
		return m.TravelTimestamp
	}
	return 0
}

3093 3094 3095 3096 3097 3098 3099
func (m *SearchRequest) GetGuaranteeTimestamp() uint64 {
	if m != nil {
		return m.GuaranteeTimestamp
	}
	return 0
}

Y
yukun 已提交
3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112
type Hits struct {
	IDs                  []int64   `protobuf:"varint,1,rep,packed,name=IDs,proto3" json:"IDs,omitempty"`
	RowData              [][]byte  `protobuf:"bytes,2,rep,name=row_data,json=rowData,proto3" json:"row_data,omitempty"`
	Scores               []float32 `protobuf:"fixed32,3,rep,packed,name=scores,proto3" json:"scores,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (m *Hits) Reset()         { *m = Hits{} }
func (m *Hits) String() string { return proto.CompactTextString(m) }
func (*Hits) ProtoMessage()    {}
func (*Hits) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3113
	return fileDescriptor_02345ba45cc0e303, []int{44}
Y
yukun 已提交
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 3146 3147 3148 3149 3150 3151 3152 3153 3154
}

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

var xxx_messageInfo_Hits proto.InternalMessageInfo

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

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

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

3155
type SearchResults struct {
3156 3157 3158 3159 3160
	Status               *commonpb.Status           `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Results              *schemapb.SearchResultData `protobuf:"bytes,2,opt,name=results,proto3" json:"results,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
Y
yukun 已提交
3161 3162
}

3163 3164 3165 3166
func (m *SearchResults) Reset()         { *m = SearchResults{} }
func (m *SearchResults) String() string { return proto.CompactTextString(m) }
func (*SearchResults) ProtoMessage()    {}
func (*SearchResults) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3167
	return fileDescriptor_02345ba45cc0e303, []int{45}
Y
yukun 已提交
3168 3169
}

3170 3171
func (m *SearchResults) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SearchResults.Unmarshal(m, b)
Y
yukun 已提交
3172
}
3173 3174
func (m *SearchResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SearchResults.Marshal(b, m, deterministic)
Y
yukun 已提交
3175
}
3176 3177
func (m *SearchResults) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SearchResults.Merge(m, src)
Y
yukun 已提交
3178
}
3179 3180
func (m *SearchResults) XXX_Size() int {
	return xxx_messageInfo_SearchResults.Size(m)
Y
yukun 已提交
3181
}
3182 3183
func (m *SearchResults) XXX_DiscardUnknown() {
	xxx_messageInfo_SearchResults.DiscardUnknown(m)
Y
yukun 已提交
3184 3185
}

3186
var xxx_messageInfo_SearchResults proto.InternalMessageInfo
Y
yukun 已提交
3187

3188
func (m *SearchResults) GetStatus() *commonpb.Status {
Y
yukun 已提交
3189 3190 3191 3192 3193 3194
	if m != nil {
		return m.Status
	}
	return nil
}

3195
func (m *SearchResults) GetResults() *schemapb.SearchResultData {
Y
yukun 已提交
3196
	if m != nil {
3197
		return m.Results
Y
yukun 已提交
3198 3199 3200 3201
	}
	return nil
}

3202
type FlushRequest struct {
3203 3204
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
3205
	CollectionNames      []string          `protobuf:"bytes,3,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"`
3206 3207 3208
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
3209 3210 3211 3212 3213 3214
}

func (m *FlushRequest) Reset()         { *m = FlushRequest{} }
func (m *FlushRequest) String() string { return proto.CompactTextString(m) }
func (*FlushRequest) ProtoMessage()    {}
func (*FlushRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3215
	return fileDescriptor_02345ba45cc0e303, []int{46}
3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235
}

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

var xxx_messageInfo_FlushRequest proto.InternalMessageInfo

3236
func (m *FlushRequest) GetBase() *commonpb.MsgBase {
3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249
	if m != nil {
		return m.Base
	}
	return nil
}

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

3250
func (m *FlushRequest) GetCollectionNames() []string {
3251
	if m != nil {
3252
		return m.CollectionNames
3253
	}
3254
	return nil
3255 3256
}

3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269
type FlushResponse struct {
	Status               *commonpb.Status               `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	DbName               string                         `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollSegIDs           map[string]*schemapb.LongArray `protobuf:"bytes,3,rep,name=coll_segIDs,json=collSegIDs,proto3" json:"coll_segIDs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (m *FlushResponse) Reset()         { *m = FlushResponse{} }
func (m *FlushResponse) String() string { return proto.CompactTextString(m) }
func (*FlushResponse) ProtoMessage()    {}
func (*FlushResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3270
	return fileDescriptor_02345ba45cc0e303, []int{47}
3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311
}

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

var xxx_messageInfo_FlushResponse proto.InternalMessageInfo

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

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

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

X
Xiangyu Wang 已提交
3312 3313 3314 3315 3316 3317 3318
type QueryRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	Expr                 string            `protobuf:"bytes,4,opt,name=expr,proto3" json:"expr,omitempty"`
	OutputFields         []string          `protobuf:"bytes,5,rep,name=output_fields,json=outputFields,proto3" json:"output_fields,omitempty"`
	PartitionNames       []string          `protobuf:"bytes,6,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
3319 3320
	TravelTimestamp      uint64            `protobuf:"varint,7,opt,name=travel_timestamp,json=travelTimestamp,proto3" json:"travel_timestamp,omitempty"`
	GuaranteeTimestamp   uint64            `protobuf:"varint,8,opt,name=guarantee_timestamp,json=guaranteeTimestamp,proto3" json:"guarantee_timestamp,omitempty"`
X
Xiangyu Wang 已提交
3321 3322 3323 3324 3325 3326 3327 3328 3329
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *QueryRequest) Reset()         { *m = QueryRequest{} }
func (m *QueryRequest) String() string { return proto.CompactTextString(m) }
func (*QueryRequest) ProtoMessage()    {}
func (*QueryRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3330
	return fileDescriptor_02345ba45cc0e303, []int{48}
X
Xiangyu Wang 已提交
3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392
}

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

var xxx_messageInfo_QueryRequest proto.InternalMessageInfo

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

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

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

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

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

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

3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406
func (m *QueryRequest) GetTravelTimestamp() uint64 {
	if m != nil {
		return m.TravelTimestamp
	}
	return 0
}

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

X
Xiangyu Wang 已提交
3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418
type QueryResults struct {
	Status               *commonpb.Status      `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	FieldsData           []*schemapb.FieldData `protobuf:"bytes,2,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *QueryResults) Reset()         { *m = QueryResults{} }
func (m *QueryResults) String() string { return proto.CompactTextString(m) }
func (*QueryResults) ProtoMessage()    {}
func (*QueryResults) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3419
	return fileDescriptor_02345ba45cc0e303, []int{49}
X
Xiangyu Wang 已提交
3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453
}

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

var xxx_messageInfo_QueryResults proto.InternalMessageInfo

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

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

3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467
type VectorIDs struct {
	CollectionName       string        `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	FieldName            string        `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	IdArray              *schemapb.IDs `protobuf:"bytes,3,opt,name=id_array,json=idArray,proto3" json:"id_array,omitempty"`
	PartitionNames       []string      `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (m *VectorIDs) Reset()         { *m = VectorIDs{} }
func (m *VectorIDs) String() string { return proto.CompactTextString(m) }
func (*VectorIDs) ProtoMessage()    {}
func (*VectorIDs) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3468
	return fileDescriptor_02345ba45cc0e303, []int{50}
3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530
}

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

var xxx_messageInfo_VectorIDs proto.InternalMessageInfo

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

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

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

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

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

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

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

var xxx_messageInfo_VectorsArray proto.InternalMessageInfo

type isVectorsArray_Array interface {
	isVectorsArray_Array()
}

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

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

func (*VectorsArray_IdArray) isVectorsArray_Array() {}

func (*VectorsArray_DataArray) isVectorsArray_Array() {}

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

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

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

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

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

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

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

var xxx_messageInfo_CalcDistanceRequest proto.InternalMessageInfo

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

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

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

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

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

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

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

var xxx_messageInfo_CalcDistanceResults proto.InternalMessageInfo

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

type isCalcDistanceResults_Array interface {
	isCalcDistanceResults_Array()
}

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

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

func (*CalcDistanceResults_IntDist) isCalcDistanceResults_Array() {}

func (*CalcDistanceResults_FloatDist) isCalcDistanceResults_Array() {}

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

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

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

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

Z
zhenshan.cao 已提交
3750 3751 3752 3753
type PersistentSegmentInfo struct {
	SegmentID            int64                 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
	CollectionID         int64                 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	PartitionID          int64                 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
3754 3755
	NumRows              int64                 `protobuf:"varint,4,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
	State                commonpb.SegmentState `protobuf:"varint,5,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"`
Z
zhenshan.cao 已提交
3756 3757 3758 3759 3760 3761 3762 3763 3764
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *PersistentSegmentInfo) Reset()         { *m = PersistentSegmentInfo{} }
func (m *PersistentSegmentInfo) String() string { return proto.CompactTextString(m) }
func (*PersistentSegmentInfo) ProtoMessage()    {}
func (*PersistentSegmentInfo) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3765
	return fileDescriptor_02345ba45cc0e303, []int{54}
Z
zhenshan.cao 已提交
3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817
}

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

var xxx_messageInfo_PersistentSegmentInfo proto.InternalMessageInfo

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

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

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

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

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

G
godchen 已提交
3821
type GetPersistentSegmentInfoRequest struct {
Z
zhenshan.cao 已提交
3822 3823 3824 3825 3826 3827 3828 3829
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=dbName,proto3" json:"dbName,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collectionName,proto3" json:"collectionName,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

G
godchen 已提交
3830 3831 3832 3833
func (m *GetPersistentSegmentInfoRequest) Reset()         { *m = GetPersistentSegmentInfoRequest{} }
func (m *GetPersistentSegmentInfoRequest) String() string { return proto.CompactTextString(m) }
func (*GetPersistentSegmentInfoRequest) ProtoMessage()    {}
func (*GetPersistentSegmentInfoRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3834
	return fileDescriptor_02345ba45cc0e303, []int{55}
Z
zhenshan.cao 已提交
3835 3836
}

G
godchen 已提交
3837 3838
func (m *GetPersistentSegmentInfoRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPersistentSegmentInfoRequest.Unmarshal(m, b)
Z
zhenshan.cao 已提交
3839
}
G
godchen 已提交
3840 3841
func (m *GetPersistentSegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPersistentSegmentInfoRequest.Marshal(b, m, deterministic)
Z
zhenshan.cao 已提交
3842
}
G
godchen 已提交
3843 3844
func (m *GetPersistentSegmentInfoRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPersistentSegmentInfoRequest.Merge(m, src)
Z
zhenshan.cao 已提交
3845
}
G
godchen 已提交
3846 3847
func (m *GetPersistentSegmentInfoRequest) XXX_Size() int {
	return xxx_messageInfo_GetPersistentSegmentInfoRequest.Size(m)
Z
zhenshan.cao 已提交
3848
}
G
godchen 已提交
3849 3850
func (m *GetPersistentSegmentInfoRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPersistentSegmentInfoRequest.DiscardUnknown(m)
Z
zhenshan.cao 已提交
3851 3852
}

G
godchen 已提交
3853
var xxx_messageInfo_GetPersistentSegmentInfoRequest proto.InternalMessageInfo
Z
zhenshan.cao 已提交
3854

G
godchen 已提交
3855
func (m *GetPersistentSegmentInfoRequest) GetBase() *commonpb.MsgBase {
Z
zhenshan.cao 已提交
3856 3857 3858 3859 3860 3861
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
3862
func (m *GetPersistentSegmentInfoRequest) GetDbName() string {
Z
zhenshan.cao 已提交
3863 3864 3865 3866 3867 3868
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
3869
func (m *GetPersistentSegmentInfoRequest) GetCollectionName() string {
Z
zhenshan.cao 已提交
3870 3871 3872 3873 3874 3875
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
3876
type GetPersistentSegmentInfoResponse struct {
Z
zhenshan.cao 已提交
3877 3878 3879 3880 3881 3882 3883
	Status               *commonpb.Status         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Infos                []*PersistentSegmentInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

G
godchen 已提交
3884 3885 3886 3887
func (m *GetPersistentSegmentInfoResponse) Reset()         { *m = GetPersistentSegmentInfoResponse{} }
func (m *GetPersistentSegmentInfoResponse) String() string { return proto.CompactTextString(m) }
func (*GetPersistentSegmentInfoResponse) ProtoMessage()    {}
func (*GetPersistentSegmentInfoResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3888
	return fileDescriptor_02345ba45cc0e303, []int{56}
Z
zhenshan.cao 已提交
3889 3890
}

G
godchen 已提交
3891 3892
func (m *GetPersistentSegmentInfoResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPersistentSegmentInfoResponse.Unmarshal(m, b)
Z
zhenshan.cao 已提交
3893
}
G
godchen 已提交
3894 3895
func (m *GetPersistentSegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPersistentSegmentInfoResponse.Marshal(b, m, deterministic)
Z
zhenshan.cao 已提交
3896
}
G
godchen 已提交
3897 3898
func (m *GetPersistentSegmentInfoResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPersistentSegmentInfoResponse.Merge(m, src)
Z
zhenshan.cao 已提交
3899
}
G
godchen 已提交
3900 3901
func (m *GetPersistentSegmentInfoResponse) XXX_Size() int {
	return xxx_messageInfo_GetPersistentSegmentInfoResponse.Size(m)
Z
zhenshan.cao 已提交
3902
}
G
godchen 已提交
3903 3904
func (m *GetPersistentSegmentInfoResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPersistentSegmentInfoResponse.DiscardUnknown(m)
Z
zhenshan.cao 已提交
3905 3906
}

G
godchen 已提交
3907
var xxx_messageInfo_GetPersistentSegmentInfoResponse proto.InternalMessageInfo
Z
zhenshan.cao 已提交
3908

G
godchen 已提交
3909
func (m *GetPersistentSegmentInfoResponse) GetStatus() *commonpb.Status {
Z
zhenshan.cao 已提交
3910 3911 3912 3913 3914 3915
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
3916
func (m *GetPersistentSegmentInfoResponse) GetInfos() []*PersistentSegmentInfo {
Z
zhenshan.cao 已提交
3917 3918 3919 3920 3921 3922
	if m != nil {
		return m.Infos
	}
	return nil
}

Z
zhenshan.cao 已提交
3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939
type QuerySegmentInfo struct {
	SegmentID            int64    `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
	CollectionID         int64    `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	PartitionID          int64    `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
	MemSize              int64    `protobuf:"varint,4,opt,name=mem_size,json=memSize,proto3" json:"mem_size,omitempty"`
	NumRows              int64    `protobuf:"varint,5,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
	IndexName            string   `protobuf:"bytes,6,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	IndexID              int64    `protobuf:"varint,7,opt,name=indexID,proto3" json:"indexID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *QuerySegmentInfo) Reset()         { *m = QuerySegmentInfo{} }
func (m *QuerySegmentInfo) String() string { return proto.CompactTextString(m) }
func (*QuerySegmentInfo) ProtoMessage()    {}
func (*QuerySegmentInfo) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
3940
	return fileDescriptor_02345ba45cc0e303, []int{57}
Z
zhenshan.cao 已提交
3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009
}

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

var xxx_messageInfo_QuerySegmentInfo proto.InternalMessageInfo

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

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

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

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

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

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

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

G
godchen 已提交
4010
type GetQuerySegmentInfoRequest struct {
Z
zhenshan.cao 已提交
4011 4012 4013 4014 4015 4016 4017 4018
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	DbName               string            `protobuf:"bytes,2,opt,name=dbName,proto3" json:"dbName,omitempty"`
	CollectionName       string            `protobuf:"bytes,3,opt,name=collectionName,proto3" json:"collectionName,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

G
godchen 已提交
4019 4020 4021 4022
func (m *GetQuerySegmentInfoRequest) Reset()         { *m = GetQuerySegmentInfoRequest{} }
func (m *GetQuerySegmentInfoRequest) String() string { return proto.CompactTextString(m) }
func (*GetQuerySegmentInfoRequest) ProtoMessage()    {}
func (*GetQuerySegmentInfoRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4023
	return fileDescriptor_02345ba45cc0e303, []int{58}
Z
zhenshan.cao 已提交
4024 4025
}

G
godchen 已提交
4026 4027
func (m *GetQuerySegmentInfoRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetQuerySegmentInfoRequest.Unmarshal(m, b)
Z
zhenshan.cao 已提交
4028
}
G
godchen 已提交
4029 4030
func (m *GetQuerySegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetQuerySegmentInfoRequest.Marshal(b, m, deterministic)
Z
zhenshan.cao 已提交
4031
}
G
godchen 已提交
4032 4033
func (m *GetQuerySegmentInfoRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetQuerySegmentInfoRequest.Merge(m, src)
Z
zhenshan.cao 已提交
4034
}
G
godchen 已提交
4035 4036
func (m *GetQuerySegmentInfoRequest) XXX_Size() int {
	return xxx_messageInfo_GetQuerySegmentInfoRequest.Size(m)
Z
zhenshan.cao 已提交
4037
}
G
godchen 已提交
4038 4039
func (m *GetQuerySegmentInfoRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetQuerySegmentInfoRequest.DiscardUnknown(m)
Z
zhenshan.cao 已提交
4040 4041
}

G
godchen 已提交
4042
var xxx_messageInfo_GetQuerySegmentInfoRequest proto.InternalMessageInfo
Z
zhenshan.cao 已提交
4043

G
godchen 已提交
4044
func (m *GetQuerySegmentInfoRequest) GetBase() *commonpb.MsgBase {
Z
zhenshan.cao 已提交
4045 4046 4047 4048 4049 4050
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
4051
func (m *GetQuerySegmentInfoRequest) GetDbName() string {
Z
zhenshan.cao 已提交
4052 4053 4054 4055 4056 4057
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
4058
func (m *GetQuerySegmentInfoRequest) GetCollectionName() string {
Z
zhenshan.cao 已提交
4059 4060 4061 4062 4063 4064
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
4065
type GetQuerySegmentInfoResponse struct {
Z
zhenshan.cao 已提交
4066 4067 4068 4069 4070 4071 4072
	Status               *commonpb.Status    `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Infos                []*QuerySegmentInfo `protobuf:"bytes,2,rep,name=infos,proto3" json:"infos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

G
godchen 已提交
4073 4074 4075 4076
func (m *GetQuerySegmentInfoResponse) Reset()         { *m = GetQuerySegmentInfoResponse{} }
func (m *GetQuerySegmentInfoResponse) String() string { return proto.CompactTextString(m) }
func (*GetQuerySegmentInfoResponse) ProtoMessage()    {}
func (*GetQuerySegmentInfoResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4077
	return fileDescriptor_02345ba45cc0e303, []int{59}
Z
zhenshan.cao 已提交
4078 4079
}

G
godchen 已提交
4080 4081
func (m *GetQuerySegmentInfoResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetQuerySegmentInfoResponse.Unmarshal(m, b)
Z
zhenshan.cao 已提交
4082
}
G
godchen 已提交
4083 4084
func (m *GetQuerySegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetQuerySegmentInfoResponse.Marshal(b, m, deterministic)
Z
zhenshan.cao 已提交
4085
}
G
godchen 已提交
4086 4087
func (m *GetQuerySegmentInfoResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetQuerySegmentInfoResponse.Merge(m, src)
Z
zhenshan.cao 已提交
4088
}
G
godchen 已提交
4089 4090
func (m *GetQuerySegmentInfoResponse) XXX_Size() int {
	return xxx_messageInfo_GetQuerySegmentInfoResponse.Size(m)
Z
zhenshan.cao 已提交
4091
}
G
godchen 已提交
4092 4093
func (m *GetQuerySegmentInfoResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetQuerySegmentInfoResponse.DiscardUnknown(m)
Z
zhenshan.cao 已提交
4094 4095
}

G
godchen 已提交
4096
var xxx_messageInfo_GetQuerySegmentInfoResponse proto.InternalMessageInfo
Z
zhenshan.cao 已提交
4097

G
godchen 已提交
4098
func (m *GetQuerySegmentInfoResponse) GetStatus() *commonpb.Status {
Z
zhenshan.cao 已提交
4099 4100 4101 4102 4103 4104
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
4105
func (m *GetQuerySegmentInfoResponse) GetInfos() []*QuerySegmentInfo {
Z
zhenshan.cao 已提交
4106 4107 4108 4109 4110 4111
	if m != nil {
		return m.Infos
	}
	return nil
}

X
Xiangyu Wang 已提交
4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122
type DummyRequest struct {
	RequestType          string   `protobuf:"bytes,1,opt,name=request_type,json=requestType,proto3" json:"request_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *DummyRequest) Reset()         { *m = DummyRequest{} }
func (m *DummyRequest) String() string { return proto.CompactTextString(m) }
func (*DummyRequest) ProtoMessage()    {}
func (*DummyRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4123
	return fileDescriptor_02345ba45cc0e303, []int{60}
X
Xiangyu Wang 已提交
4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161
}

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

var xxx_messageInfo_DummyRequest proto.InternalMessageInfo

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

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

func (m *DummyResponse) Reset()         { *m = DummyResponse{} }
func (m *DummyResponse) String() string { return proto.CompactTextString(m) }
func (*DummyResponse) ProtoMessage()    {}
func (*DummyResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4162
	return fileDescriptor_02345ba45cc0e303, []int{61}
X
Xiangyu Wang 已提交
4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189
}

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

var xxx_messageInfo_DummyResponse proto.InternalMessageInfo

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

G
godchen 已提交
4190 4191 4192 4193 4194 4195 4196 4197 4198 4199
type RegisterLinkRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *RegisterLinkRequest) Reset()         { *m = RegisterLinkRequest{} }
func (m *RegisterLinkRequest) String() string { return proto.CompactTextString(m) }
func (*RegisterLinkRequest) ProtoMessage()    {}
func (*RegisterLinkRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4200
	return fileDescriptor_02345ba45cc0e303, []int{62}
G
godchen 已提交
4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220
}

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

var xxx_messageInfo_RegisterLinkRequest proto.InternalMessageInfo

D
dragondriver 已提交
4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232
type RegisterLinkResponse struct {
	Address              *commonpb.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Status               *commonpb.Status  `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *RegisterLinkResponse) Reset()         { *m = RegisterLinkResponse{} }
func (m *RegisterLinkResponse) String() string { return proto.CompactTextString(m) }
func (*RegisterLinkResponse) ProtoMessage()    {}
func (*RegisterLinkResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4233
	return fileDescriptor_02345ba45cc0e303, []int{63}
D
dragondriver 已提交
4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267
}

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

var xxx_messageInfo_RegisterLinkResponse proto.InternalMessageInfo

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

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

4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279
type GetMetricsRequest struct {
	Base                 *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Request              string            `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *GetMetricsRequest) Reset()         { *m = GetMetricsRequest{} }
func (m *GetMetricsRequest) String() string { return proto.CompactTextString(m) }
func (*GetMetricsRequest) ProtoMessage()    {}
func (*GetMetricsRequest) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4280
	return fileDescriptor_02345ba45cc0e303, []int{64}
4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327
}

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

var xxx_messageInfo_GetMetricsRequest proto.InternalMessageInfo

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

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

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

func (m *GetMetricsResponse) Reset()         { *m = GetMetricsResponse{} }
func (m *GetMetricsResponse) String() string { return proto.CompactTextString(m) }
func (*GetMetricsResponse) ProtoMessage()    {}
func (*GetMetricsResponse) Descriptor() ([]byte, []int) {
Y
Yusup 已提交
4328
	return fileDescriptor_02345ba45cc0e303, []int{65}
4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369
}

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

var xxx_messageInfo_GetMetricsResponse proto.InternalMessageInfo

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

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

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

4370
func init() {
4371
	proto.RegisterEnum("milvus.proto.milvus.ShowType", ShowType_name, ShowType_value)
Y
yukun 已提交
4372
	proto.RegisterEnum("milvus.proto.milvus.PlaceholderType", PlaceholderType_name, PlaceholderType_value)
Y
Yusup 已提交
4373 4374 4375
	proto.RegisterType((*CreateAliasRequest)(nil), "milvus.proto.milvus.CreateAliasRequest")
	proto.RegisterType((*DropAliasRequest)(nil), "milvus.proto.milvus.DropAliasRequest")
	proto.RegisterType((*AlterAliasRequest)(nil), "milvus.proto.milvus.AlterAliasRequest")
4376 4377 4378
	proto.RegisterType((*CreateCollectionRequest)(nil), "milvus.proto.milvus.CreateCollectionRequest")
	proto.RegisterType((*DropCollectionRequest)(nil), "milvus.proto.milvus.DropCollectionRequest")
	proto.RegisterType((*HasCollectionRequest)(nil), "milvus.proto.milvus.HasCollectionRequest")
Y
yukun 已提交
4379
	proto.RegisterType((*BoolResponse)(nil), "milvus.proto.milvus.BoolResponse")
Z
zhenshan.cao 已提交
4380
	proto.RegisterType((*StringResponse)(nil), "milvus.proto.milvus.StringResponse")
4381 4382 4383 4384
	proto.RegisterType((*DescribeCollectionRequest)(nil), "milvus.proto.milvus.DescribeCollectionRequest")
	proto.RegisterType((*DescribeCollectionResponse)(nil), "milvus.proto.milvus.DescribeCollectionResponse")
	proto.RegisterType((*LoadCollectionRequest)(nil), "milvus.proto.milvus.LoadCollectionRequest")
	proto.RegisterType((*ReleaseCollectionRequest)(nil), "milvus.proto.milvus.ReleaseCollectionRequest")
G
godchen 已提交
4385 4386 4387 4388
	proto.RegisterType((*GetCollectionStatisticsRequest)(nil), "milvus.proto.milvus.GetCollectionStatisticsRequest")
	proto.RegisterType((*GetCollectionStatisticsResponse)(nil), "milvus.proto.milvus.GetCollectionStatisticsResponse")
	proto.RegisterType((*ShowCollectionsRequest)(nil), "milvus.proto.milvus.ShowCollectionsRequest")
	proto.RegisterType((*ShowCollectionsResponse)(nil), "milvus.proto.milvus.ShowCollectionsResponse")
4389 4390 4391
	proto.RegisterType((*CreatePartitionRequest)(nil), "milvus.proto.milvus.CreatePartitionRequest")
	proto.RegisterType((*DropPartitionRequest)(nil), "milvus.proto.milvus.DropPartitionRequest")
	proto.RegisterType((*HasPartitionRequest)(nil), "milvus.proto.milvus.HasPartitionRequest")
G
godchen 已提交
4392 4393 4394 4395 4396 4397
	proto.RegisterType((*LoadPartitionsRequest)(nil), "milvus.proto.milvus.LoadPartitionsRequest")
	proto.RegisterType((*ReleasePartitionsRequest)(nil), "milvus.proto.milvus.ReleasePartitionsRequest")
	proto.RegisterType((*GetPartitionStatisticsRequest)(nil), "milvus.proto.milvus.GetPartitionStatisticsRequest")
	proto.RegisterType((*GetPartitionStatisticsResponse)(nil), "milvus.proto.milvus.GetPartitionStatisticsResponse")
	proto.RegisterType((*ShowPartitionsRequest)(nil), "milvus.proto.milvus.ShowPartitionsRequest")
	proto.RegisterType((*ShowPartitionsResponse)(nil), "milvus.proto.milvus.ShowPartitionsResponse")
4398 4399
	proto.RegisterType((*DescribeSegmentRequest)(nil), "milvus.proto.milvus.DescribeSegmentRequest")
	proto.RegisterType((*DescribeSegmentResponse)(nil), "milvus.proto.milvus.DescribeSegmentResponse")
G
godchen 已提交
4400 4401
	proto.RegisterType((*ShowSegmentsRequest)(nil), "milvus.proto.milvus.ShowSegmentsRequest")
	proto.RegisterType((*ShowSegmentsResponse)(nil), "milvus.proto.milvus.ShowSegmentsResponse")
4402 4403 4404 4405
	proto.RegisterType((*CreateIndexRequest)(nil), "milvus.proto.milvus.CreateIndexRequest")
	proto.RegisterType((*DescribeIndexRequest)(nil), "milvus.proto.milvus.DescribeIndexRequest")
	proto.RegisterType((*IndexDescription)(nil), "milvus.proto.milvus.IndexDescription")
	proto.RegisterType((*DescribeIndexResponse)(nil), "milvus.proto.milvus.DescribeIndexResponse")
4406 4407
	proto.RegisterType((*GetIndexBuildProgressRequest)(nil), "milvus.proto.milvus.GetIndexBuildProgressRequest")
	proto.RegisterType((*GetIndexBuildProgressResponse)(nil), "milvus.proto.milvus.GetIndexBuildProgressResponse")
G
godchen 已提交
4408 4409
	proto.RegisterType((*GetIndexStateRequest)(nil), "milvus.proto.milvus.GetIndexStateRequest")
	proto.RegisterType((*GetIndexStateResponse)(nil), "milvus.proto.milvus.GetIndexStateResponse")
X
xige-16 已提交
4410
	proto.RegisterType((*DropIndexRequest)(nil), "milvus.proto.milvus.DropIndexRequest")
4411
	proto.RegisterType((*InsertRequest)(nil), "milvus.proto.milvus.InsertRequest")
4412
	proto.RegisterType((*MutationResult)(nil), "milvus.proto.milvus.MutationResult")
G
groot 已提交
4413
	proto.RegisterType((*DeleteRequest)(nil), "milvus.proto.milvus.DeleteRequest")
Y
yukun 已提交
4414 4415
	proto.RegisterType((*PlaceholderValue)(nil), "milvus.proto.milvus.PlaceholderValue")
	proto.RegisterType((*PlaceholderGroup)(nil), "milvus.proto.milvus.PlaceholderGroup")
4416
	proto.RegisterType((*SearchRequest)(nil), "milvus.proto.milvus.SearchRequest")
Y
yukun 已提交
4417
	proto.RegisterType((*Hits)(nil), "milvus.proto.milvus.Hits")
4418
	proto.RegisterType((*SearchResults)(nil), "milvus.proto.milvus.SearchResults")
4419
	proto.RegisterType((*FlushRequest)(nil), "milvus.proto.milvus.FlushRequest")
4420 4421
	proto.RegisterType((*FlushResponse)(nil), "milvus.proto.milvus.FlushResponse")
	proto.RegisterMapType((map[string]*schemapb.LongArray)(nil), "milvus.proto.milvus.FlushResponse.CollSegIDsEntry")
X
Xiangyu Wang 已提交
4422 4423
	proto.RegisterType((*QueryRequest)(nil), "milvus.proto.milvus.QueryRequest")
	proto.RegisterType((*QueryResults)(nil), "milvus.proto.milvus.QueryResults")
4424 4425 4426 4427
	proto.RegisterType((*VectorIDs)(nil), "milvus.proto.milvus.VectorIDs")
	proto.RegisterType((*VectorsArray)(nil), "milvus.proto.milvus.VectorsArray")
	proto.RegisterType((*CalcDistanceRequest)(nil), "milvus.proto.milvus.CalcDistanceRequest")
	proto.RegisterType((*CalcDistanceResults)(nil), "milvus.proto.milvus.CalcDistanceResults")
Z
zhenshan.cao 已提交
4428
	proto.RegisterType((*PersistentSegmentInfo)(nil), "milvus.proto.milvus.PersistentSegmentInfo")
G
godchen 已提交
4429 4430
	proto.RegisterType((*GetPersistentSegmentInfoRequest)(nil), "milvus.proto.milvus.GetPersistentSegmentInfoRequest")
	proto.RegisterType((*GetPersistentSegmentInfoResponse)(nil), "milvus.proto.milvus.GetPersistentSegmentInfoResponse")
Z
zhenshan.cao 已提交
4431
	proto.RegisterType((*QuerySegmentInfo)(nil), "milvus.proto.milvus.QuerySegmentInfo")
G
godchen 已提交
4432 4433
	proto.RegisterType((*GetQuerySegmentInfoRequest)(nil), "milvus.proto.milvus.GetQuerySegmentInfoRequest")
	proto.RegisterType((*GetQuerySegmentInfoResponse)(nil), "milvus.proto.milvus.GetQuerySegmentInfoResponse")
X
Xiangyu Wang 已提交
4434 4435
	proto.RegisterType((*DummyRequest)(nil), "milvus.proto.milvus.DummyRequest")
	proto.RegisterType((*DummyResponse)(nil), "milvus.proto.milvus.DummyResponse")
G
godchen 已提交
4436
	proto.RegisterType((*RegisterLinkRequest)(nil), "milvus.proto.milvus.RegisterLinkRequest")
D
dragondriver 已提交
4437
	proto.RegisterType((*RegisterLinkResponse)(nil), "milvus.proto.milvus.RegisterLinkResponse")
4438 4439
	proto.RegisterType((*GetMetricsRequest)(nil), "milvus.proto.milvus.GetMetricsRequest")
	proto.RegisterType((*GetMetricsResponse)(nil), "milvus.proto.milvus.GetMetricsResponse")
4440 4441 4442 4443 4444
}

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

var fileDescriptor_02345ba45cc0e303 = []byte{
4445
	// 3150 bytes of a gzipped FileDescriptorProto
C
Cai Yudong 已提交
4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642
	0x1f, 0x8b, 0x08, 0x00, 0x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ac, 0xeb, 0xc6, 0xb3, 0x5f, 0xb9, 0xd6,
	0x72, 0xe8, 0x6e, 0x77, 0x9b, 0x79, 0xae, 0x2b, 0x02, 0xf7, 0x29, 0xc7, 0x97, 0xbf, 0xae, 0x38,
	0x1e, 0xc5, 0x81, 0x67, 0xb9, 0x57, 0x38, 0x2f, 0x09, 0xed, 0x6c, 0x6f, 0xe7, 0xf9, 0xf7, 0xb5,
	0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x3f, 0xd3, 0x09, 0xb4, 0x3d, 0x00, 0x00,
Y
yukun 已提交
4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662
}

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

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

// MilvusServiceClient is the client API for MilvusService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type MilvusServiceClient interface {
	CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	DropCollection(ctx context.Context, in *DropCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	HasCollection(ctx context.Context, in *HasCollectionRequest, opts ...grpc.CallOption) (*BoolResponse, error)
	LoadCollection(ctx context.Context, in *LoadCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	DescribeCollection(ctx context.Context, in *DescribeCollectionRequest, opts ...grpc.CallOption) (*DescribeCollectionResponse, error)
G
godchen 已提交
4663 4664
	GetCollectionStatistics(ctx context.Context, in *GetCollectionStatisticsRequest, opts ...grpc.CallOption) (*GetCollectionStatisticsResponse, error)
	ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error)
Y
yukun 已提交
4665 4666 4667
	CreatePartition(ctx context.Context, in *CreatePartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	DropPartition(ctx context.Context, in *DropPartitionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	HasPartition(ctx context.Context, in *HasPartitionRequest, opts ...grpc.CallOption) (*BoolResponse, error)
G
godchen 已提交
4668 4669 4670 4671
	LoadPartitions(ctx context.Context, in *LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	GetPartitionStatistics(ctx context.Context, in *GetPartitionStatisticsRequest, opts ...grpc.CallOption) (*GetPartitionStatisticsResponse, error)
	ShowPartitions(ctx context.Context, in *ShowPartitionsRequest, opts ...grpc.CallOption) (*ShowPartitionsResponse, error)
Y
Yusup 已提交
4672 4673 4674
	CreateAlias(ctx context.Context, in *CreateAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	DropAlias(ctx context.Context, in *DropAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	AlterAlias(ctx context.Context, in *AlterAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
Y
yukun 已提交
4675 4676
	CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
	DescribeIndex(ctx context.Context, in *DescribeIndexRequest, opts ...grpc.CallOption) (*DescribeIndexResponse, error)
G
godchen 已提交
4677
	GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error)
4678
	GetIndexBuildProgress(ctx context.Context, in *GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*GetIndexBuildProgressResponse, error)
X
xige-16 已提交
4679
	DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
4680
	Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*MutationResult, error)
G
groot 已提交
4681
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*MutationResult, error)
4682
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResults, error)
4683
	Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*FlushResponse, error)
X
Xiangyu Wang 已提交
4684
	Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResults, error)
4685
	CalcDistance(ctx context.Context, in *CalcDistanceRequest, opts ...grpc.CallOption) (*CalcDistanceResults, error)
G
godchen 已提交
4686 4687
	GetPersistentSegmentInfo(ctx context.Context, in *GetPersistentSegmentInfoRequest, opts ...grpc.CallOption) (*GetPersistentSegmentInfoResponse, error)
	GetQuerySegmentInfo(ctx context.Context, in *GetQuerySegmentInfoRequest, opts ...grpc.CallOption) (*GetQuerySegmentInfoResponse, error)
X
Xiangyu Wang 已提交
4688
	Dummy(ctx context.Context, in *DummyRequest, opts ...grpc.CallOption) (*DummyResponse, error)
G
godchen 已提交
4689 4690
	// TODO: remove
	RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error)
4691 4692
	// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
	GetMetrics(ctx context.Context, in *GetMetricsRequest, opts ...grpc.CallOption) (*GetMetricsResponse, error)
Y
yukun 已提交
4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756
}

type milvusServiceClient struct {
	cc *grpc.ClientConn
}

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

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

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

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

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

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

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

G
godchen 已提交
4757 4758
func (c *milvusServiceClient) GetCollectionStatistics(ctx context.Context, in *GetCollectionStatisticsRequest, opts ...grpc.CallOption) (*GetCollectionStatisticsResponse, error) {
	out := new(GetCollectionStatisticsResponse)
Y
yukun 已提交
4759 4760 4761 4762 4763 4764 4765
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetCollectionStatistics", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
4766 4767
func (c *milvusServiceClient) ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error) {
	out := new(ShowCollectionsResponse)
Y
yukun 已提交
4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ShowCollections", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

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

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

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

G
godchen 已提交
4802
func (c *milvusServiceClient) LoadPartitions(ctx context.Context, in *LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
Y
yukun 已提交
4803 4804 4805 4806 4807 4808 4809 4810
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/LoadPartitions", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
4811
func (c *milvusServiceClient) ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
Y
yukun 已提交
4812 4813 4814 4815 4816 4817 4818 4819
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ReleasePartitions", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
4820 4821
func (c *milvusServiceClient) GetPartitionStatistics(ctx context.Context, in *GetPartitionStatisticsRequest, opts ...grpc.CallOption) (*GetPartitionStatisticsResponse, error) {
	out := new(GetPartitionStatisticsResponse)
Y
yukun 已提交
4822 4823 4824 4825 4826 4827 4828
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetPartitionStatistics", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
4829 4830
func (c *milvusServiceClient) ShowPartitions(ctx context.Context, in *ShowPartitionsRequest, opts ...grpc.CallOption) (*ShowPartitionsResponse, error) {
	out := new(ShowPartitionsResponse)
Y
yukun 已提交
4831 4832 4833 4834 4835 4836 4837
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ShowPartitions", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

Y
Yusup 已提交
4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864
func (c *milvusServiceClient) CreateAlias(ctx context.Context, in *CreateAliasRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CreateAlias", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

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

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

Y
yukun 已提交
4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882
func (c *milvusServiceClient) CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CreateIndex", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

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

G
godchen 已提交
4883 4884
func (c *milvusServiceClient) GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error) {
	out := new(GetIndexStateResponse)
4885 4886 4887 4888 4889 4890 4891
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetIndexState", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

4892 4893 4894 4895 4896 4897 4898 4899 4900
func (c *milvusServiceClient) GetIndexBuildProgress(ctx context.Context, in *GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*GetIndexBuildProgressResponse, error) {
	out := new(GetIndexBuildProgressResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetIndexBuildProgress", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

X
xige-16 已提交
4901 4902 4903 4904 4905 4906 4907 4908 4909
func (c *milvusServiceClient) DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
	out := new(commonpb.Status)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/DropIndex", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

4910 4911
func (c *milvusServiceClient) Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*MutationResult, error) {
	out := new(MutationResult)
Y
yukun 已提交
4912 4913 4914 4915 4916 4917 4918
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Insert", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
groot 已提交
4919 4920 4921 4922 4923 4924 4925 4926 4927
func (c *milvusServiceClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*MutationResult, error) {
	out := new(MutationResult)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Delete", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

4928 4929
func (c *milvusServiceClient) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResults, error) {
	out := new(SearchResults)
Y
yukun 已提交
4930 4931 4932 4933 4934 4935 4936
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Search", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

4937 4938
func (c *milvusServiceClient) Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*FlushResponse, error) {
	out := new(FlushResponse)
Y
yukun 已提交
4939 4940 4941 4942 4943 4944 4945
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Flush", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

X
Xiangyu Wang 已提交
4946 4947 4948 4949 4950 4951 4952 4953 4954
func (c *milvusServiceClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResults, error) {
	out := new(QueryResults)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Query", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

4955 4956 4957 4958 4959 4960 4961 4962 4963
func (c *milvusServiceClient) CalcDistance(ctx context.Context, in *CalcDistanceRequest, opts ...grpc.CallOption) (*CalcDistanceResults, error) {
	out := new(CalcDistanceResults)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/CalcDistance", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
4964 4965
func (c *milvusServiceClient) GetPersistentSegmentInfo(ctx context.Context, in *GetPersistentSegmentInfoRequest, opts ...grpc.CallOption) (*GetPersistentSegmentInfoResponse, error) {
	out := new(GetPersistentSegmentInfoResponse)
Z
zhenshan.cao 已提交
4966 4967 4968 4969 4970 4971 4972
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetPersistentSegmentInfo", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
4973 4974
func (c *milvusServiceClient) GetQuerySegmentInfo(ctx context.Context, in *GetQuerySegmentInfoRequest, opts ...grpc.CallOption) (*GetQuerySegmentInfoResponse, error) {
	out := new(GetQuerySegmentInfoResponse)
Z
zhenshan.cao 已提交
4975 4976 4977 4978 4979 4980 4981
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetQuerySegmentInfo", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

X
Xiangyu Wang 已提交
4982 4983 4984 4985 4986 4987 4988 4989 4990
func (c *milvusServiceClient) Dummy(ctx context.Context, in *DummyRequest, opts ...grpc.CallOption) (*DummyResponse, error) {
	out := new(DummyResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Dummy", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
4991
func (c *milvusServiceClient) RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error) {
4992 4993 4994 4995 4996 4997 4998 4999
	out := new(RegisterLinkResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/RegisterLink", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

5000 5001 5002 5003 5004 5005 5006 5007 5008
func (c *milvusServiceClient) GetMetrics(ctx context.Context, in *GetMetricsRequest, opts ...grpc.CallOption) (*GetMetricsResponse, error) {
	out := new(GetMetricsResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetMetrics", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

Y
yukun 已提交
5009 5010 5011 5012 5013 5014 5015 5016
// MilvusServiceServer is the server API for MilvusService service.
type MilvusServiceServer interface {
	CreateCollection(context.Context, *CreateCollectionRequest) (*commonpb.Status, error)
	DropCollection(context.Context, *DropCollectionRequest) (*commonpb.Status, error)
	HasCollection(context.Context, *HasCollectionRequest) (*BoolResponse, error)
	LoadCollection(context.Context, *LoadCollectionRequest) (*commonpb.Status, error)
	ReleaseCollection(context.Context, *ReleaseCollectionRequest) (*commonpb.Status, error)
	DescribeCollection(context.Context, *DescribeCollectionRequest) (*DescribeCollectionResponse, error)
G
godchen 已提交
5017 5018
	GetCollectionStatistics(context.Context, *GetCollectionStatisticsRequest) (*GetCollectionStatisticsResponse, error)
	ShowCollections(context.Context, *ShowCollectionsRequest) (*ShowCollectionsResponse, error)
Y
yukun 已提交
5019 5020 5021
	CreatePartition(context.Context, *CreatePartitionRequest) (*commonpb.Status, error)
	DropPartition(context.Context, *DropPartitionRequest) (*commonpb.Status, error)
	HasPartition(context.Context, *HasPartitionRequest) (*BoolResponse, error)
G
godchen 已提交
5022 5023 5024 5025
	LoadPartitions(context.Context, *LoadPartitionsRequest) (*commonpb.Status, error)
	ReleasePartitions(context.Context, *ReleasePartitionsRequest) (*commonpb.Status, error)
	GetPartitionStatistics(context.Context, *GetPartitionStatisticsRequest) (*GetPartitionStatisticsResponse, error)
	ShowPartitions(context.Context, *ShowPartitionsRequest) (*ShowPartitionsResponse, error)
Y
Yusup 已提交
5026 5027 5028
	CreateAlias(context.Context, *CreateAliasRequest) (*commonpb.Status, error)
	DropAlias(context.Context, *DropAliasRequest) (*commonpb.Status, error)
	AlterAlias(context.Context, *AlterAliasRequest) (*commonpb.Status, error)
Y
yukun 已提交
5029 5030
	CreateIndex(context.Context, *CreateIndexRequest) (*commonpb.Status, error)
	DescribeIndex(context.Context, *DescribeIndexRequest) (*DescribeIndexResponse, error)
G
godchen 已提交
5031
	GetIndexState(context.Context, *GetIndexStateRequest) (*GetIndexStateResponse, error)
5032
	GetIndexBuildProgress(context.Context, *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error)
X
xige-16 已提交
5033
	DropIndex(context.Context, *DropIndexRequest) (*commonpb.Status, error)
5034
	Insert(context.Context, *InsertRequest) (*MutationResult, error)
G
groot 已提交
5035
	Delete(context.Context, *DeleteRequest) (*MutationResult, error)
5036
	Search(context.Context, *SearchRequest) (*SearchResults, error)
5037
	Flush(context.Context, *FlushRequest) (*FlushResponse, error)
X
Xiangyu Wang 已提交
5038
	Query(context.Context, *QueryRequest) (*QueryResults, error)
5039
	CalcDistance(context.Context, *CalcDistanceRequest) (*CalcDistanceResults, error)
G
godchen 已提交
5040 5041
	GetPersistentSegmentInfo(context.Context, *GetPersistentSegmentInfoRequest) (*GetPersistentSegmentInfoResponse, error)
	GetQuerySegmentInfo(context.Context, *GetQuerySegmentInfoRequest) (*GetQuerySegmentInfoResponse, error)
X
Xiangyu Wang 已提交
5042
	Dummy(context.Context, *DummyRequest) (*DummyResponse, error)
G
godchen 已提交
5043 5044
	// TODO: remove
	RegisterLink(context.Context, *RegisterLinkRequest) (*RegisterLinkResponse, error)
5045 5046
	// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
	GetMetrics(context.Context, *GetMetricsRequest) (*GetMetricsResponse, error)
Y
yukun 已提交
5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070
}

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

func (*UnimplementedMilvusServiceServer) CreateCollection(ctx context.Context, req *CreateCollectionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateCollection not implemented")
}
func (*UnimplementedMilvusServiceServer) DropCollection(ctx context.Context, req *DropCollectionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DropCollection not implemented")
}
func (*UnimplementedMilvusServiceServer) HasCollection(ctx context.Context, req *HasCollectionRequest) (*BoolResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method HasCollection not implemented")
}
func (*UnimplementedMilvusServiceServer) LoadCollection(ctx context.Context, req *LoadCollectionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method LoadCollection not implemented")
}
func (*UnimplementedMilvusServiceServer) ReleaseCollection(ctx context.Context, req *ReleaseCollectionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method ReleaseCollection not implemented")
}
func (*UnimplementedMilvusServiceServer) DescribeCollection(ctx context.Context, req *DescribeCollectionRequest) (*DescribeCollectionResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DescribeCollection not implemented")
}
G
godchen 已提交
5071
func (*UnimplementedMilvusServiceServer) GetCollectionStatistics(ctx context.Context, req *GetCollectionStatisticsRequest) (*GetCollectionStatisticsResponse, error) {
Y
yukun 已提交
5072 5073
	return nil, status.Errorf(codes.Unimplemented, "method GetCollectionStatistics not implemented")
}
G
godchen 已提交
5074
func (*UnimplementedMilvusServiceServer) ShowCollections(ctx context.Context, req *ShowCollectionsRequest) (*ShowCollectionsResponse, error) {
Y
yukun 已提交
5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085
	return nil, status.Errorf(codes.Unimplemented, "method ShowCollections not implemented")
}
func (*UnimplementedMilvusServiceServer) CreatePartition(ctx context.Context, req *CreatePartitionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreatePartition not implemented")
}
func (*UnimplementedMilvusServiceServer) DropPartition(ctx context.Context, req *DropPartitionRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DropPartition not implemented")
}
func (*UnimplementedMilvusServiceServer) HasPartition(ctx context.Context, req *HasPartitionRequest) (*BoolResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method HasPartition not implemented")
}
G
godchen 已提交
5086
func (*UnimplementedMilvusServiceServer) LoadPartitions(ctx context.Context, req *LoadPartitionsRequest) (*commonpb.Status, error) {
Y
yukun 已提交
5087 5088
	return nil, status.Errorf(codes.Unimplemented, "method LoadPartitions not implemented")
}
G
godchen 已提交
5089
func (*UnimplementedMilvusServiceServer) ReleasePartitions(ctx context.Context, req *ReleasePartitionsRequest) (*commonpb.Status, error) {
Y
yukun 已提交
5090 5091
	return nil, status.Errorf(codes.Unimplemented, "method ReleasePartitions not implemented")
}
G
godchen 已提交
5092
func (*UnimplementedMilvusServiceServer) GetPartitionStatistics(ctx context.Context, req *GetPartitionStatisticsRequest) (*GetPartitionStatisticsResponse, error) {
Y
yukun 已提交
5093 5094
	return nil, status.Errorf(codes.Unimplemented, "method GetPartitionStatistics not implemented")
}
G
godchen 已提交
5095
func (*UnimplementedMilvusServiceServer) ShowPartitions(ctx context.Context, req *ShowPartitionsRequest) (*ShowPartitionsResponse, error) {
Y
yukun 已提交
5096 5097
	return nil, status.Errorf(codes.Unimplemented, "method ShowPartitions not implemented")
}
Y
Yusup 已提交
5098 5099 5100 5101 5102 5103 5104 5105 5106
func (*UnimplementedMilvusServiceServer) CreateAlias(ctx context.Context, req *CreateAliasRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateAlias not implemented")
}
func (*UnimplementedMilvusServiceServer) DropAlias(ctx context.Context, req *DropAliasRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DropAlias not implemented")
}
func (*UnimplementedMilvusServiceServer) AlterAlias(ctx context.Context, req *AlterAliasRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method AlterAlias not implemented")
}
Y
yukun 已提交
5107 5108 5109 5110 5111 5112
func (*UnimplementedMilvusServiceServer) CreateIndex(ctx context.Context, req *CreateIndexRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CreateIndex not implemented")
}
func (*UnimplementedMilvusServiceServer) DescribeIndex(ctx context.Context, req *DescribeIndexRequest) (*DescribeIndexResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DescribeIndex not implemented")
}
G
godchen 已提交
5113
func (*UnimplementedMilvusServiceServer) GetIndexState(ctx context.Context, req *GetIndexStateRequest) (*GetIndexStateResponse, error) {
5114 5115
	return nil, status.Errorf(codes.Unimplemented, "method GetIndexState not implemented")
}
5116 5117 5118
func (*UnimplementedMilvusServiceServer) GetIndexBuildProgress(ctx context.Context, req *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetIndexBuildProgress not implemented")
}
X
xige-16 已提交
5119 5120 5121
func (*UnimplementedMilvusServiceServer) DropIndex(ctx context.Context, req *DropIndexRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DropIndex not implemented")
}
5122
func (*UnimplementedMilvusServiceServer) Insert(ctx context.Context, req *InsertRequest) (*MutationResult, error) {
Y
yukun 已提交
5123 5124
	return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented")
}
G
groot 已提交
5125 5126 5127
func (*UnimplementedMilvusServiceServer) Delete(ctx context.Context, req *DeleteRequest) (*MutationResult, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
}
5128
func (*UnimplementedMilvusServiceServer) Search(ctx context.Context, req *SearchRequest) (*SearchResults, error) {
Y
yukun 已提交
5129 5130
	return nil, status.Errorf(codes.Unimplemented, "method Search not implemented")
}
5131
func (*UnimplementedMilvusServiceServer) Flush(ctx context.Context, req *FlushRequest) (*FlushResponse, error) {
Y
yukun 已提交
5132 5133
	return nil, status.Errorf(codes.Unimplemented, "method Flush not implemented")
}
X
Xiangyu Wang 已提交
5134 5135 5136
func (*UnimplementedMilvusServiceServer) Query(ctx context.Context, req *QueryRequest) (*QueryResults, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Query not implemented")
}
5137 5138 5139
func (*UnimplementedMilvusServiceServer) CalcDistance(ctx context.Context, req *CalcDistanceRequest) (*CalcDistanceResults, error) {
	return nil, status.Errorf(codes.Unimplemented, "method CalcDistance not implemented")
}
G
godchen 已提交
5140
func (*UnimplementedMilvusServiceServer) GetPersistentSegmentInfo(ctx context.Context, req *GetPersistentSegmentInfoRequest) (*GetPersistentSegmentInfoResponse, error) {
Z
zhenshan.cao 已提交
5141 5142
	return nil, status.Errorf(codes.Unimplemented, "method GetPersistentSegmentInfo not implemented")
}
G
godchen 已提交
5143
func (*UnimplementedMilvusServiceServer) GetQuerySegmentInfo(ctx context.Context, req *GetQuerySegmentInfoRequest) (*GetQuerySegmentInfoResponse, error) {
Z
zhenshan.cao 已提交
5144 5145
	return nil, status.Errorf(codes.Unimplemented, "method GetQuerySegmentInfo not implemented")
}
X
Xiangyu Wang 已提交
5146 5147 5148
func (*UnimplementedMilvusServiceServer) Dummy(ctx context.Context, req *DummyRequest) (*DummyResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Dummy not implemented")
}
G
godchen 已提交
5149
func (*UnimplementedMilvusServiceServer) RegisterLink(ctx context.Context, req *RegisterLinkRequest) (*RegisterLinkResponse, error) {
5150 5151
	return nil, status.Errorf(codes.Unimplemented, "method RegisterLink not implemented")
}
5152 5153 5154
func (*UnimplementedMilvusServiceServer) GetMetrics(ctx context.Context, req *GetMetricsRequest) (*GetMetricsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented")
}
Y
yukun 已提交
5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268

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

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

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

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

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

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

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

func _MilvusService_GetCollectionStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
5269
	in := new(GetCollectionStatisticsRequest)
Y
yukun 已提交
5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetCollectionStatistics(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetCollectionStatistics",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
5281
		return srv.(MilvusServiceServer).GetCollectionStatistics(ctx, req.(*GetCollectionStatisticsRequest))
Y
yukun 已提交
5282 5283 5284 5285 5286
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_ShowCollections_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
5287
	in := new(ShowCollectionsRequest)
Y
yukun 已提交
5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).ShowCollections(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/ShowCollections",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
5299
		return srv.(MilvusServiceServer).ShowCollections(ctx, req.(*ShowCollectionsRequest))
Y
yukun 已提交
5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358
	}
	return interceptor(ctx, in, info, handler)
}

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

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

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

func _MilvusService_LoadPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
5359
	in := new(LoadPartitionsRequest)
Y
yukun 已提交
5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).LoadPartitions(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/LoadPartitions",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
5371
		return srv.(MilvusServiceServer).LoadPartitions(ctx, req.(*LoadPartitionsRequest))
Y
yukun 已提交
5372 5373 5374 5375 5376
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_ReleasePartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
5377
	in := new(ReleasePartitionsRequest)
Y
yukun 已提交
5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).ReleasePartitions(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/ReleasePartitions",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
5389
		return srv.(MilvusServiceServer).ReleasePartitions(ctx, req.(*ReleasePartitionsRequest))
Y
yukun 已提交
5390 5391 5392 5393 5394
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_GetPartitionStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
5395
	in := new(GetPartitionStatisticsRequest)
Y
yukun 已提交
5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetPartitionStatistics(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetPartitionStatistics",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
5407
		return srv.(MilvusServiceServer).GetPartitionStatistics(ctx, req.(*GetPartitionStatisticsRequest))
Y
yukun 已提交
5408 5409 5410 5411 5412
	}
	return interceptor(ctx, in, info, handler)
}

func _MilvusService_ShowPartitions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
5413
	in := new(ShowPartitionsRequest)
Y
yukun 已提交
5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).ShowPartitions(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/ShowPartitions",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
5425
		return srv.(MilvusServiceServer).ShowPartitions(ctx, req.(*ShowPartitionsRequest))
Y
yukun 已提交
5426 5427 5428 5429
	}
	return interceptor(ctx, in, info, handler)
}

Y
Yusup 已提交
5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483
func _MilvusService_CreateAlias_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateAliasRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).CreateAlias(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/CreateAlias",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).CreateAlias(ctx, req.(*CreateAliasRequest))
	}
	return interceptor(ctx, in, info, handler)
}

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

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

Y
yukun 已提交
5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519
func _MilvusService_CreateIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CreateIndexRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).CreateIndex(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/CreateIndex",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).CreateIndex(ctx, req.(*CreateIndexRequest))
	}
	return interceptor(ctx, in, info, handler)
}

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

5520
func _MilvusService_GetIndexState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
5521
	in := new(GetIndexStateRequest)
5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetIndexState(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetIndexState",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
5533
		return srv.(MilvusServiceServer).GetIndexState(ctx, req.(*GetIndexStateRequest))
5534 5535 5536 5537
	}
	return interceptor(ctx, in, info, handler)
}

5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555
func _MilvusService_GetIndexBuildProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetIndexBuildProgressRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetIndexBuildProgress(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetIndexBuildProgress",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).GetIndexBuildProgress(ctx, req.(*GetIndexBuildProgressRequest))
	}
	return interceptor(ctx, in, info, handler)
}

X
xige-16 已提交
5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573
func _MilvusService_DropIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DropIndexRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).DropIndex(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/DropIndex",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).DropIndex(ctx, req.(*DropIndexRequest))
	}
	return interceptor(ctx, in, info, handler)
}

Y
yukun 已提交
5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591
func _MilvusService_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(InsertRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).Insert(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/Insert",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).Insert(ctx, req.(*InsertRequest))
	}
	return interceptor(ctx, in, info, handler)
}

G
groot 已提交
5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609
func _MilvusService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DeleteRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).Delete(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/Delete",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).Delete(ctx, req.(*DeleteRequest))
	}
	return interceptor(ctx, in, info, handler)
}

Y
yukun 已提交
5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645
func _MilvusService_Search_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(SearchRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).Search(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/Search",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).Search(ctx, req.(*SearchRequest))
	}
	return interceptor(ctx, in, info, handler)
}

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

X
Xiangyu Wang 已提交
5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663
func _MilvusService_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(QueryRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).Query(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/Query",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).Query(ctx, req.(*QueryRequest))
	}
	return interceptor(ctx, in, info, handler)
}

5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681
func _MilvusService_CalcDistance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(CalcDistanceRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).CalcDistance(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/CalcDistance",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).CalcDistance(ctx, req.(*CalcDistanceRequest))
	}
	return interceptor(ctx, in, info, handler)
}

Z
zhenshan.cao 已提交
5682
func _MilvusService_GetPersistentSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
5683
	in := new(GetPersistentSegmentInfoRequest)
Z
zhenshan.cao 已提交
5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetPersistentSegmentInfo(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetPersistentSegmentInfo",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
5695
		return srv.(MilvusServiceServer).GetPersistentSegmentInfo(ctx, req.(*GetPersistentSegmentInfoRequest))
Z
zhenshan.cao 已提交
5696 5697 5698 5699
	}
	return interceptor(ctx, in, info, handler)
}

Z
zhenshan.cao 已提交
5700
func _MilvusService_GetQuerySegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
5701
	in := new(GetQuerySegmentInfoRequest)
Z
zhenshan.cao 已提交
5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetQuerySegmentInfo(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetQuerySegmentInfo",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
5713
		return srv.(MilvusServiceServer).GetQuerySegmentInfo(ctx, req.(*GetQuerySegmentInfoRequest))
Z
zhenshan.cao 已提交
5714 5715 5716 5717
	}
	return interceptor(ctx, in, info, handler)
}

X
Xiangyu Wang 已提交
5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735
func _MilvusService_Dummy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(DummyRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).Dummy(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/Dummy",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).Dummy(ctx, req.(*DummyRequest))
	}
	return interceptor(ctx, in, info, handler)
}

5736
func _MilvusService_RegisterLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
5737
	in := new(RegisterLinkRequest)
5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).RegisterLink(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/RegisterLink",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
5749
		return srv.(MilvusServiceServer).RegisterLink(ctx, req.(*RegisterLinkRequest))
5750 5751 5752 5753
	}
	return interceptor(ctx, in, info, handler)
}

5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771
func _MilvusService_GetMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(GetMetricsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MilvusServiceServer).GetMetrics(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.MilvusService/GetMetrics",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MilvusServiceServer).GetMetrics(ctx, req.(*GetMetricsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

Y
yukun 已提交
5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835
var _MilvusService_serviceDesc = grpc.ServiceDesc{
	ServiceName: "milvus.proto.milvus.MilvusService",
	HandlerType: (*MilvusServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateCollection",
			Handler:    _MilvusService_CreateCollection_Handler,
		},
		{
			MethodName: "DropCollection",
			Handler:    _MilvusService_DropCollection_Handler,
		},
		{
			MethodName: "HasCollection",
			Handler:    _MilvusService_HasCollection_Handler,
		},
		{
			MethodName: "LoadCollection",
			Handler:    _MilvusService_LoadCollection_Handler,
		},
		{
			MethodName: "ReleaseCollection",
			Handler:    _MilvusService_ReleaseCollection_Handler,
		},
		{
			MethodName: "DescribeCollection",
			Handler:    _MilvusService_DescribeCollection_Handler,
		},
		{
			MethodName: "GetCollectionStatistics",
			Handler:    _MilvusService_GetCollectionStatistics_Handler,
		},
		{
			MethodName: "ShowCollections",
			Handler:    _MilvusService_ShowCollections_Handler,
		},
		{
			MethodName: "CreatePartition",
			Handler:    _MilvusService_CreatePartition_Handler,
		},
		{
			MethodName: "DropPartition",
			Handler:    _MilvusService_DropPartition_Handler,
		},
		{
			MethodName: "HasPartition",
			Handler:    _MilvusService_HasPartition_Handler,
		},
		{
			MethodName: "LoadPartitions",
			Handler:    _MilvusService_LoadPartitions_Handler,
		},
		{
			MethodName: "ReleasePartitions",
			Handler:    _MilvusService_ReleasePartitions_Handler,
		},
		{
			MethodName: "GetPartitionStatistics",
			Handler:    _MilvusService_GetPartitionStatistics_Handler,
		},
		{
			MethodName: "ShowPartitions",
			Handler:    _MilvusService_ShowPartitions_Handler,
		},
Y
Yusup 已提交
5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847
		{
			MethodName: "CreateAlias",
			Handler:    _MilvusService_CreateAlias_Handler,
		},
		{
			MethodName: "DropAlias",
			Handler:    _MilvusService_DropAlias_Handler,
		},
		{
			MethodName: "AlterAlias",
			Handler:    _MilvusService_AlterAlias_Handler,
		},
Y
yukun 已提交
5848 5849 5850 5851 5852 5853 5854 5855
		{
			MethodName: "CreateIndex",
			Handler:    _MilvusService_CreateIndex_Handler,
		},
		{
			MethodName: "DescribeIndex",
			Handler:    _MilvusService_DescribeIndex_Handler,
		},
5856 5857 5858 5859
		{
			MethodName: "GetIndexState",
			Handler:    _MilvusService_GetIndexState_Handler,
		},
5860 5861 5862 5863
		{
			MethodName: "GetIndexBuildProgress",
			Handler:    _MilvusService_GetIndexBuildProgress_Handler,
		},
X
xige-16 已提交
5864 5865 5866 5867
		{
			MethodName: "DropIndex",
			Handler:    _MilvusService_DropIndex_Handler,
		},
Y
yukun 已提交
5868 5869 5870 5871
		{
			MethodName: "Insert",
			Handler:    _MilvusService_Insert_Handler,
		},
G
groot 已提交
5872 5873 5874 5875
		{
			MethodName: "Delete",
			Handler:    _MilvusService_Delete_Handler,
		},
Y
yukun 已提交
5876 5877 5878 5879 5880 5881 5882 5883
		{
			MethodName: "Search",
			Handler:    _MilvusService_Search_Handler,
		},
		{
			MethodName: "Flush",
			Handler:    _MilvusService_Flush_Handler,
		},
X
Xiangyu Wang 已提交
5884 5885 5886 5887
		{
			MethodName: "Query",
			Handler:    _MilvusService_Query_Handler,
		},
5888 5889 5890 5891
		{
			MethodName: "CalcDistance",
			Handler:    _MilvusService_CalcDistance_Handler,
		},
Z
zhenshan.cao 已提交
5892 5893 5894 5895
		{
			MethodName: "GetPersistentSegmentInfo",
			Handler:    _MilvusService_GetPersistentSegmentInfo_Handler,
		},
Z
zhenshan.cao 已提交
5896 5897 5898 5899
		{
			MethodName: "GetQuerySegmentInfo",
			Handler:    _MilvusService_GetQuerySegmentInfo_Handler,
		},
X
Xiangyu Wang 已提交
5900 5901 5902 5903
		{
			MethodName: "Dummy",
			Handler:    _MilvusService_Dummy_Handler,
		},
5904 5905 5906 5907
		{
			MethodName: "RegisterLink",
			Handler:    _MilvusService_RegisterLink_Handler,
		},
5908 5909 5910 5911
		{
			MethodName: "GetMetrics",
			Handler:    _MilvusService_GetMetrics_Handler,
		},
Y
yukun 已提交
5912 5913 5914
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "milvus.proto",
5915
}
D
dragondriver 已提交
5916 5917 5918 5919 5920

// ProxyServiceClient is the client API for ProxyService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ProxyServiceClient interface {
G
godchen 已提交
5921
	RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error)
D
dragondriver 已提交
5922 5923 5924 5925 5926 5927 5928 5929 5930 5931
}

type proxyServiceClient struct {
	cc *grpc.ClientConn
}

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

G
godchen 已提交
5932
func (c *proxyServiceClient) RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error) {
D
dragondriver 已提交
5933 5934 5935 5936 5937 5938 5939 5940 5941 5942
	out := new(RegisterLinkResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.ProxyService/RegisterLink", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// ProxyServiceServer is the server API for ProxyService service.
type ProxyServiceServer interface {
G
godchen 已提交
5943
	RegisterLink(context.Context, *RegisterLinkRequest) (*RegisterLinkResponse, error)
D
dragondriver 已提交
5944 5945 5946 5947 5948 5949
}

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

G
godchen 已提交
5950
func (*UnimplementedProxyServiceServer) RegisterLink(ctx context.Context, req *RegisterLinkRequest) (*RegisterLinkResponse, error) {
D
dragondriver 已提交
5951 5952 5953 5954 5955 5956 5957 5958
	return nil, status.Errorf(codes.Unimplemented, "method RegisterLink not implemented")
}

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

func _ProxyService_RegisterLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
5959
	in := new(RegisterLinkRequest)
D
dragondriver 已提交
5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(ProxyServiceServer).RegisterLink(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/milvus.proto.milvus.ProxyService/RegisterLink",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
G
godchen 已提交
5971
		return srv.(ProxyServiceServer).RegisterLink(ctx, req.(*RegisterLinkRequest))
D
dragondriver 已提交
5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987
	}
	return interceptor(ctx, in, info, handler)
}

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