milvus.pb.go 162.6 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

Y
yukun 已提交
29 30 31
type PlaceholderType int32

const (
G
godchen 已提交
32 33 34
	PlaceholderType_None         PlaceholderType = 0
	PlaceholderType_BinaryVector PlaceholderType = 100
	PlaceholderType_FloatVector  PlaceholderType = 101
Y
yukun 已提交
35 36 37
)

var PlaceholderType_name = map[int32]string{
G
godchen 已提交
38 39 40
	0:   "None",
	100: "BinaryVector",
	101: "FloatVector",
Y
yukun 已提交
41 42 43
}

var PlaceholderType_value = map[string]int32{
G
godchen 已提交
44 45 46
	"None":         0,
	"BinaryVector": 100,
	"FloatVector":  101,
Y
yukun 已提交
47 48 49 50 51 52 53 54 55 56
}

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

func (PlaceholderType) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_02345ba45cc0e303, []int{0}
}

57
type CreateCollectionRequest struct {
58 59
	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"`
60
	CollectionName string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
Y
yukun 已提交
61 62 63 64 65
	// `schema` is the serialized `schema.CollectionSchema`
	Schema               []byte   `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
}

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

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

93
func (m *CreateCollectionRequest) GetBase() *commonpb.MsgBase {
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
	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 已提交
114
func (m *CreateCollectionRequest) GetSchema() []byte {
115 116 117 118 119 120 121
	if m != nil {
		return m.Schema
	}
	return nil
}

type DropCollectionRequest struct {
122 123
	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"`
124
	CollectionName       string            `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
125 126 127
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
}

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

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

155
func (m *DropCollectionRequest) GetBase() *commonpb.MsgBase {
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
	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 ""
}

type HasCollectionRequest struct {
177 178 179 180 181 182
	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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
}

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

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

210
func (m *HasCollectionRequest) GetBase() *commonpb.MsgBase {
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230
	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 ""
}

Y
yukun 已提交
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
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) {
	return fileDescriptor_02345ba45cc0e303, []int{3}
}

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 已提交
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324
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) {
	return fileDescriptor_02345ba45cc0e303, []int{4}
}

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 ""
}

325
type DescribeCollectionRequest struct {
326 327 328
	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"`
N
neza2017 已提交
329
	CollectionID         int64             `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
330 331 332
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
333 334 335 336 337 338
}

func (m *DescribeCollectionRequest) Reset()         { *m = DescribeCollectionRequest{} }
func (m *DescribeCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*DescribeCollectionRequest) ProtoMessage()    {}
func (*DescribeCollectionRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
339
	return fileDescriptor_02345ba45cc0e303, []int{5}
340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359
}

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

360
func (m *DescribeCollectionRequest) GetBase() *commonpb.MsgBase {
361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380
	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 已提交
381 382 383 384 385 386 387
func (m *DescribeCollectionRequest) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

388
type DescribeCollectionResponse struct {
Y
yukun 已提交
389 390
	Status               *commonpb.Status           `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Schema               *schemapb.CollectionSchema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
391
	CollectionID         int64                      `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
Y
yukun 已提交
392 393 394
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
395 396 397 398 399 400
}

func (m *DescribeCollectionResponse) Reset()         { *m = DescribeCollectionResponse{} }
func (m *DescribeCollectionResponse) String() string { return proto.CompactTextString(m) }
func (*DescribeCollectionResponse) ProtoMessage()    {}
func (*DescribeCollectionResponse) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
401
	return fileDescriptor_02345ba45cc0e303, []int{6}
402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421
}

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 已提交
422 423 424 425 426 427 428 429
func (m *DescribeCollectionResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

func (m *DescribeCollectionResponse) GetSchema() *schemapb.CollectionSchema {
430 431 432 433 434 435
	if m != nil {
		return m.Schema
	}
	return nil
}

436 437 438 439 440 441 442
func (m *DescribeCollectionResponse) GetCollectionID() int64 {
	if m != nil {
		return m.CollectionID
	}
	return 0
}

443
type LoadCollectionRequest struct {
444 445 446 447 448 449
	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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
450 451 452 453 454 455
}

func (m *LoadCollectionRequest) Reset()         { *m = LoadCollectionRequest{} }
func (m *LoadCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*LoadCollectionRequest) ProtoMessage()    {}
func (*LoadCollectionRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
456
	return fileDescriptor_02345ba45cc0e303, []int{7}
457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476
}

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

477
func (m *LoadCollectionRequest) GetBase() *commonpb.MsgBase {
478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498
	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 ""
}

type ReleaseCollectionRequest struct {
499 500 501 502 503 504
	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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
505 506 507 508 509 510
}

func (m *ReleaseCollectionRequest) Reset()         { *m = ReleaseCollectionRequest{} }
func (m *ReleaseCollectionRequest) String() string { return proto.CompactTextString(m) }
func (*ReleaseCollectionRequest) ProtoMessage()    {}
func (*ReleaseCollectionRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
511
	return fileDescriptor_02345ba45cc0e303, []int{8}
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531
}

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

532
func (m *ReleaseCollectionRequest) GetBase() *commonpb.MsgBase {
533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552
	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 ""
}

G
godchen 已提交
553
type GetCollectionStatisticsRequest struct {
554 555 556 557 558 559
	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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
560 561
}

G
godchen 已提交
562 563 564 565
func (m *GetCollectionStatisticsRequest) Reset()         { *m = GetCollectionStatisticsRequest{} }
func (m *GetCollectionStatisticsRequest) String() string { return proto.CompactTextString(m) }
func (*GetCollectionStatisticsRequest) ProtoMessage()    {}
func (*GetCollectionStatisticsRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
566
	return fileDescriptor_02345ba45cc0e303, []int{9}
567 568
}

G
godchen 已提交
569 570
func (m *GetCollectionStatisticsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetCollectionStatisticsRequest.Unmarshal(m, b)
571
}
G
godchen 已提交
572 573
func (m *GetCollectionStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetCollectionStatisticsRequest.Marshal(b, m, deterministic)
574
}
G
godchen 已提交
575 576
func (m *GetCollectionStatisticsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetCollectionStatisticsRequest.Merge(m, src)
577
}
G
godchen 已提交
578 579
func (m *GetCollectionStatisticsRequest) XXX_Size() int {
	return xxx_messageInfo_GetCollectionStatisticsRequest.Size(m)
580
}
G
godchen 已提交
581 582
func (m *GetCollectionStatisticsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetCollectionStatisticsRequest.DiscardUnknown(m)
583 584
}

G
godchen 已提交
585
var xxx_messageInfo_GetCollectionStatisticsRequest proto.InternalMessageInfo
586

G
godchen 已提交
587
func (m *GetCollectionStatisticsRequest) GetBase() *commonpb.MsgBase {
588 589 590 591 592 593
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
594
func (m *GetCollectionStatisticsRequest) GetDbName() string {
595 596 597 598 599 600
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
601
func (m *GetCollectionStatisticsRequest) GetCollectionName() string {
602 603 604 605 606 607
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
608
type GetCollectionStatisticsResponse struct {
Z
zhenshan.cao 已提交
609 610
	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"`
611 612 613 614 615
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

G
godchen 已提交
616 617 618 619
func (m *GetCollectionStatisticsResponse) Reset()         { *m = GetCollectionStatisticsResponse{} }
func (m *GetCollectionStatisticsResponse) String() string { return proto.CompactTextString(m) }
func (*GetCollectionStatisticsResponse) ProtoMessage()    {}
func (*GetCollectionStatisticsResponse) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
620
	return fileDescriptor_02345ba45cc0e303, []int{10}
621 622
}

G
godchen 已提交
623 624
func (m *GetCollectionStatisticsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetCollectionStatisticsResponse.Unmarshal(m, b)
625
}
G
godchen 已提交
626 627
func (m *GetCollectionStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetCollectionStatisticsResponse.Marshal(b, m, deterministic)
628
}
G
godchen 已提交
629 630
func (m *GetCollectionStatisticsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetCollectionStatisticsResponse.Merge(m, src)
631
}
G
godchen 已提交
632 633
func (m *GetCollectionStatisticsResponse) XXX_Size() int {
	return xxx_messageInfo_GetCollectionStatisticsResponse.Size(m)
634
}
G
godchen 已提交
635 636
func (m *GetCollectionStatisticsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetCollectionStatisticsResponse.DiscardUnknown(m)
637 638
}

G
godchen 已提交
639
var xxx_messageInfo_GetCollectionStatisticsResponse proto.InternalMessageInfo
640

G
godchen 已提交
641
func (m *GetCollectionStatisticsResponse) GetStatus() *commonpb.Status {
642
	if m != nil {
Z
zhenshan.cao 已提交
643
		return m.Status
644 645 646 647
	}
	return nil
}

G
godchen 已提交
648
func (m *GetCollectionStatisticsResponse) GetStats() []*commonpb.KeyValuePair {
Y
yukun 已提交
649
	if m != nil {
Z
zhenshan.cao 已提交
650
		return m.Stats
Y
yukun 已提交
651 652 653 654
	}
	return nil
}

G
godchen 已提交
655
type ShowCollectionsRequest struct {
656 657 658 659 660
	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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
661 662
}

G
godchen 已提交
663 664 665 666
func (m *ShowCollectionsRequest) Reset()         { *m = ShowCollectionsRequest{} }
func (m *ShowCollectionsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowCollectionsRequest) ProtoMessage()    {}
func (*ShowCollectionsRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
667
	return fileDescriptor_02345ba45cc0e303, []int{11}
668 669
}

G
godchen 已提交
670 671
func (m *ShowCollectionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowCollectionsRequest.Unmarshal(m, b)
672
}
G
godchen 已提交
673 674
func (m *ShowCollectionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowCollectionsRequest.Marshal(b, m, deterministic)
675
}
G
godchen 已提交
676 677
func (m *ShowCollectionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowCollectionsRequest.Merge(m, src)
678
}
G
godchen 已提交
679 680
func (m *ShowCollectionsRequest) XXX_Size() int {
	return xxx_messageInfo_ShowCollectionsRequest.Size(m)
681
}
G
godchen 已提交
682 683
func (m *ShowCollectionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowCollectionsRequest.DiscardUnknown(m)
684 685
}

G
godchen 已提交
686
var xxx_messageInfo_ShowCollectionsRequest proto.InternalMessageInfo
687

G
godchen 已提交
688
func (m *ShowCollectionsRequest) GetBase() *commonpb.MsgBase {
689 690 691 692 693 694
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
695
func (m *ShowCollectionsRequest) GetDbName() string {
696 697 698 699 700 701
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
702
type ShowCollectionsResponse struct {
Z
zhenshan.cao 已提交
703 704
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	CollectionNames      []string         `protobuf:"bytes,2,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"`
Y
yukun 已提交
705 706 707
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
708 709
}

G
godchen 已提交
710 711 712 713
func (m *ShowCollectionsResponse) Reset()         { *m = ShowCollectionsResponse{} }
func (m *ShowCollectionsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowCollectionsResponse) ProtoMessage()    {}
func (*ShowCollectionsResponse) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
714
	return fileDescriptor_02345ba45cc0e303, []int{12}
715 716
}

G
godchen 已提交
717 718
func (m *ShowCollectionsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowCollectionsResponse.Unmarshal(m, b)
719
}
G
godchen 已提交
720 721
func (m *ShowCollectionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowCollectionsResponse.Marshal(b, m, deterministic)
722
}
G
godchen 已提交
723 724
func (m *ShowCollectionsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowCollectionsResponse.Merge(m, src)
725
}
G
godchen 已提交
726 727
func (m *ShowCollectionsResponse) XXX_Size() int {
	return xxx_messageInfo_ShowCollectionsResponse.Size(m)
728
}
G
godchen 已提交
729 730
func (m *ShowCollectionsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowCollectionsResponse.DiscardUnknown(m)
731 732
}

G
godchen 已提交
733
var xxx_messageInfo_ShowCollectionsResponse proto.InternalMessageInfo
734

G
godchen 已提交
735
func (m *ShowCollectionsResponse) GetStatus() *commonpb.Status {
736
	if m != nil {
Z
zhenshan.cao 已提交
737
		return m.Status
738 739 740 741
	}
	return nil
}

G
godchen 已提交
742
func (m *ShowCollectionsResponse) GetCollectionNames() []string {
Y
yukun 已提交
743
	if m != nil {
Z
zhenshan.cao 已提交
744
		return m.CollectionNames
Y
yukun 已提交
745 746 747 748
	}
	return nil
}

749
type CreatePartitionRequest struct {
750 751 752 753 754 755 756
	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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
757 758 759 760 761 762
}

func (m *CreatePartitionRequest) Reset()         { *m = CreatePartitionRequest{} }
func (m *CreatePartitionRequest) String() string { return proto.CompactTextString(m) }
func (*CreatePartitionRequest) ProtoMessage()    {}
func (*CreatePartitionRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
763
	return fileDescriptor_02345ba45cc0e303, []int{13}
764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783
}

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

784
func (m *CreatePartitionRequest) GetBase() *commonpb.MsgBase {
785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812
	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 ""
}

type DropPartitionRequest struct {
813 814 815 816 817 818 819
	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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
820 821 822 823 824 825
}

func (m *DropPartitionRequest) Reset()         { *m = DropPartitionRequest{} }
func (m *DropPartitionRequest) String() string { return proto.CompactTextString(m) }
func (*DropPartitionRequest) ProtoMessage()    {}
func (*DropPartitionRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
826
	return fileDescriptor_02345ba45cc0e303, []int{14}
827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846
}

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

847
func (m *DropPartitionRequest) GetBase() *commonpb.MsgBase {
848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875
	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 ""
}

type HasPartitionRequest struct {
876 877 878 879 880 881 882
	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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
883 884 885 886 887 888
}

func (m *HasPartitionRequest) Reset()         { *m = HasPartitionRequest{} }
func (m *HasPartitionRequest) String() string { return proto.CompactTextString(m) }
func (*HasPartitionRequest) ProtoMessage()    {}
func (*HasPartitionRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
889
	return fileDescriptor_02345ba45cc0e303, []int{15}
890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909
}

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

910
func (m *HasPartitionRequest) GetBase() *commonpb.MsgBase {
911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937
	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 ""
}

G
godchen 已提交
938
type LoadPartitionsRequest struct {
939 940 941 942 943 944 945
	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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
946 947
}

G
godchen 已提交
948 949 950 951
func (m *LoadPartitionsRequest) Reset()         { *m = LoadPartitionsRequest{} }
func (m *LoadPartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*LoadPartitionsRequest) ProtoMessage()    {}
func (*LoadPartitionsRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
952
	return fileDescriptor_02345ba45cc0e303, []int{16}
953 954
}

G
godchen 已提交
955 956
func (m *LoadPartitionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LoadPartitionsRequest.Unmarshal(m, b)
957
}
G
godchen 已提交
958 959
func (m *LoadPartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LoadPartitionsRequest.Marshal(b, m, deterministic)
960
}
G
godchen 已提交
961 962
func (m *LoadPartitionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LoadPartitionsRequest.Merge(m, src)
963
}
G
godchen 已提交
964 965
func (m *LoadPartitionsRequest) XXX_Size() int {
	return xxx_messageInfo_LoadPartitionsRequest.Size(m)
966
}
G
godchen 已提交
967 968
func (m *LoadPartitionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_LoadPartitionsRequest.DiscardUnknown(m)
969 970
}

G
godchen 已提交
971
var xxx_messageInfo_LoadPartitionsRequest proto.InternalMessageInfo
972

G
godchen 已提交
973
func (m *LoadPartitionsRequest) GetBase() *commonpb.MsgBase {
974 975 976 977 978 979
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
980
func (m *LoadPartitionsRequest) GetDbName() string {
981 982 983 984 985 986
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
987
func (m *LoadPartitionsRequest) GetCollectionName() string {
988 989 990 991 992 993
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
994
func (m *LoadPartitionsRequest) GetPartitionNames() []string {
995 996 997 998 999 1000
	if m != nil {
		return m.PartitionNames
	}
	return nil
}

G
godchen 已提交
1001
type ReleasePartitionsRequest struct {
1002 1003 1004 1005 1006 1007 1008
	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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
1009 1010
}

G
godchen 已提交
1011 1012 1013 1014
func (m *ReleasePartitionsRequest) Reset()         { *m = ReleasePartitionsRequest{} }
func (m *ReleasePartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*ReleasePartitionsRequest) ProtoMessage()    {}
func (*ReleasePartitionsRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
1015
	return fileDescriptor_02345ba45cc0e303, []int{17}
1016 1017
}

G
godchen 已提交
1018 1019
func (m *ReleasePartitionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReleasePartitionsRequest.Unmarshal(m, b)
1020
}
G
godchen 已提交
1021 1022
func (m *ReleasePartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReleasePartitionsRequest.Marshal(b, m, deterministic)
1023
}
G
godchen 已提交
1024 1025
func (m *ReleasePartitionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReleasePartitionsRequest.Merge(m, src)
1026
}
G
godchen 已提交
1027 1028
func (m *ReleasePartitionsRequest) XXX_Size() int {
	return xxx_messageInfo_ReleasePartitionsRequest.Size(m)
1029
}
G
godchen 已提交
1030 1031
func (m *ReleasePartitionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ReleasePartitionsRequest.DiscardUnknown(m)
1032 1033
}

G
godchen 已提交
1034
var xxx_messageInfo_ReleasePartitionsRequest proto.InternalMessageInfo
1035

G
godchen 已提交
1036
func (m *ReleasePartitionsRequest) GetBase() *commonpb.MsgBase {
1037 1038 1039 1040 1041 1042
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1043
func (m *ReleasePartitionsRequest) GetDbName() string {
1044 1045 1046 1047 1048 1049
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
1050
func (m *ReleasePartitionsRequest) GetCollectionName() string {
1051 1052 1053 1054 1055 1056
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
1057
func (m *ReleasePartitionsRequest) GetPartitionNames() []string {
1058 1059 1060 1061 1062 1063
	if m != nil {
		return m.PartitionNames
	}
	return nil
}

G
godchen 已提交
1064
type GetPartitionStatisticsRequest struct {
1065 1066 1067 1068 1069 1070 1071
	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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
1072 1073
}

G
godchen 已提交
1074 1075 1076 1077
func (m *GetPartitionStatisticsRequest) Reset()         { *m = GetPartitionStatisticsRequest{} }
func (m *GetPartitionStatisticsRequest) String() string { return proto.CompactTextString(m) }
func (*GetPartitionStatisticsRequest) ProtoMessage()    {}
func (*GetPartitionStatisticsRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
1078
	return fileDescriptor_02345ba45cc0e303, []int{18}
1079 1080
}

G
godchen 已提交
1081 1082
func (m *GetPartitionStatisticsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPartitionStatisticsRequest.Unmarshal(m, b)
1083
}
G
godchen 已提交
1084 1085
func (m *GetPartitionStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPartitionStatisticsRequest.Marshal(b, m, deterministic)
1086
}
G
godchen 已提交
1087 1088
func (m *GetPartitionStatisticsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPartitionStatisticsRequest.Merge(m, src)
1089
}
G
godchen 已提交
1090 1091
func (m *GetPartitionStatisticsRequest) XXX_Size() int {
	return xxx_messageInfo_GetPartitionStatisticsRequest.Size(m)
1092
}
G
godchen 已提交
1093 1094
func (m *GetPartitionStatisticsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPartitionStatisticsRequest.DiscardUnknown(m)
1095 1096
}

G
godchen 已提交
1097
var xxx_messageInfo_GetPartitionStatisticsRequest proto.InternalMessageInfo
1098

G
godchen 已提交
1099
func (m *GetPartitionStatisticsRequest) GetBase() *commonpb.MsgBase {
1100 1101 1102 1103 1104 1105
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1106
func (m *GetPartitionStatisticsRequest) GetDbName() string {
1107 1108 1109 1110 1111 1112
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
1113
func (m *GetPartitionStatisticsRequest) GetCollectionName() string {
1114 1115 1116 1117 1118 1119
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
1120
func (m *GetPartitionStatisticsRequest) GetPartitionName() string {
1121 1122 1123 1124 1125 1126
	if m != nil {
		return m.PartitionName
	}
	return ""
}

G
godchen 已提交
1127
type GetPartitionStatisticsResponse struct {
Z
zhenshan.cao 已提交
1128 1129
	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"`
1130 1131 1132 1133 1134
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

G
godchen 已提交
1135 1136 1137 1138
func (m *GetPartitionStatisticsResponse) Reset()         { *m = GetPartitionStatisticsResponse{} }
func (m *GetPartitionStatisticsResponse) String() string { return proto.CompactTextString(m) }
func (*GetPartitionStatisticsResponse) ProtoMessage()    {}
func (*GetPartitionStatisticsResponse) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
1139
	return fileDescriptor_02345ba45cc0e303, []int{19}
1140 1141
}

G
godchen 已提交
1142 1143
func (m *GetPartitionStatisticsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPartitionStatisticsResponse.Unmarshal(m, b)
1144
}
G
godchen 已提交
1145 1146
func (m *GetPartitionStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPartitionStatisticsResponse.Marshal(b, m, deterministic)
1147
}
G
godchen 已提交
1148 1149
func (m *GetPartitionStatisticsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPartitionStatisticsResponse.Merge(m, src)
1150
}
G
godchen 已提交
1151 1152
func (m *GetPartitionStatisticsResponse) XXX_Size() int {
	return xxx_messageInfo_GetPartitionStatisticsResponse.Size(m)
1153
}
G
godchen 已提交
1154 1155
func (m *GetPartitionStatisticsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPartitionStatisticsResponse.DiscardUnknown(m)
1156 1157
}

G
godchen 已提交
1158
var xxx_messageInfo_GetPartitionStatisticsResponse proto.InternalMessageInfo
1159

G
godchen 已提交
1160
func (m *GetPartitionStatisticsResponse) GetStatus() *commonpb.Status {
1161
	if m != nil {
Z
zhenshan.cao 已提交
1162
		return m.Status
1163 1164 1165 1166
	}
	return nil
}

G
godchen 已提交
1167
func (m *GetPartitionStatisticsResponse) GetStats() []*commonpb.KeyValuePair {
Y
yukun 已提交
1168
	if m != nil {
Z
zhenshan.cao 已提交
1169
		return m.Stats
Y
yukun 已提交
1170 1171 1172 1173
	}
	return nil
}

G
godchen 已提交
1174
type ShowPartitionsRequest struct {
1175 1176 1177
	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"`
1178
	CollectionID         int64             `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
1179 1180 1181
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
1182 1183
}

G
godchen 已提交
1184 1185 1186 1187
func (m *ShowPartitionsRequest) Reset()         { *m = ShowPartitionsRequest{} }
func (m *ShowPartitionsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowPartitionsRequest) ProtoMessage()    {}
func (*ShowPartitionsRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
1188
	return fileDescriptor_02345ba45cc0e303, []int{20}
1189 1190
}

G
godchen 已提交
1191 1192
func (m *ShowPartitionsRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowPartitionsRequest.Unmarshal(m, b)
1193
}
G
godchen 已提交
1194 1195
func (m *ShowPartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowPartitionsRequest.Marshal(b, m, deterministic)
1196
}
G
godchen 已提交
1197 1198
func (m *ShowPartitionsRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowPartitionsRequest.Merge(m, src)
1199
}
G
godchen 已提交
1200 1201
func (m *ShowPartitionsRequest) XXX_Size() int {
	return xxx_messageInfo_ShowPartitionsRequest.Size(m)
1202
}
G
godchen 已提交
1203 1204
func (m *ShowPartitionsRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowPartitionsRequest.DiscardUnknown(m)
1205 1206
}

G
godchen 已提交
1207
var xxx_messageInfo_ShowPartitionsRequest proto.InternalMessageInfo
1208

G
godchen 已提交
1209
func (m *ShowPartitionsRequest) GetBase() *commonpb.MsgBase {
1210 1211 1212 1213 1214 1215
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1216
func (m *ShowPartitionsRequest) GetDbName() string {
1217 1218 1219 1220 1221 1222
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
1223
func (m *ShowPartitionsRequest) GetCollectionName() string {
1224 1225 1226 1227 1228 1229
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
1230
func (m *ShowPartitionsRequest) GetCollectionID() int64 {
1231 1232 1233 1234 1235 1236
	if m != nil {
		return m.CollectionID
	}
	return 0
}

G
godchen 已提交
1237
type ShowPartitionsResponse struct {
Z
zhenshan.cao 已提交
1238 1239 1240
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	PartitionNames       []string         `protobuf:"bytes,2,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
	PartitionIDs         []int64          `protobuf:"varint,3,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
Y
yukun 已提交
1241 1242 1243
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
1244 1245
}

G
godchen 已提交
1246 1247 1248 1249
func (m *ShowPartitionsResponse) Reset()         { *m = ShowPartitionsResponse{} }
func (m *ShowPartitionsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowPartitionsResponse) ProtoMessage()    {}
func (*ShowPartitionsResponse) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
1250
	return fileDescriptor_02345ba45cc0e303, []int{21}
1251 1252
}

G
godchen 已提交
1253 1254
func (m *ShowPartitionsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowPartitionsResponse.Unmarshal(m, b)
1255
}
G
godchen 已提交
1256 1257
func (m *ShowPartitionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowPartitionsResponse.Marshal(b, m, deterministic)
1258
}
G
godchen 已提交
1259 1260
func (m *ShowPartitionsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowPartitionsResponse.Merge(m, src)
1261
}
G
godchen 已提交
1262 1263
func (m *ShowPartitionsResponse) XXX_Size() int {
	return xxx_messageInfo_ShowPartitionsResponse.Size(m)
1264
}
G
godchen 已提交
1265 1266
func (m *ShowPartitionsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowPartitionsResponse.DiscardUnknown(m)
1267 1268
}

G
godchen 已提交
1269
var xxx_messageInfo_ShowPartitionsResponse proto.InternalMessageInfo
1270

G
godchen 已提交
1271
func (m *ShowPartitionsResponse) GetStatus() *commonpb.Status {
1272
	if m != nil {
Z
zhenshan.cao 已提交
1273
		return m.Status
1274 1275 1276 1277
	}
	return nil
}

G
godchen 已提交
1278
func (m *ShowPartitionsResponse) GetPartitionNames() []string {
1279
	if m != nil {
Z
zhenshan.cao 已提交
1280
		return m.PartitionNames
1281 1282 1283 1284
	}
	return nil
}

G
godchen 已提交
1285
func (m *ShowPartitionsResponse) GetPartitionIDs() []int64 {
Y
yukun 已提交
1286
	if m != nil {
Z
zhenshan.cao 已提交
1287
		return m.PartitionIDs
Y
yukun 已提交
1288 1289 1290 1291
	}
	return nil
}

1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304
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) {
Z
zhenshan.cao 已提交
1305
	return fileDescriptor_02345ba45cc0e303, []int{22}
1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347
}

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 已提交
1348 1349 1350
	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"`
1351
	EnableIndex          bool             `protobuf:"varint,4,opt,name=enable_index,json=enableIndex,proto3" json:"enable_index,omitempty"`
N
neza2017 已提交
1352 1353 1354
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
1355 1356 1357 1358 1359 1360
}

func (m *DescribeSegmentResponse) Reset()         { *m = DescribeSegmentResponse{} }
func (m *DescribeSegmentResponse) String() string { return proto.CompactTextString(m) }
func (*DescribeSegmentResponse) ProtoMessage()    {}
func (*DescribeSegmentResponse) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
1361
	return fileDescriptor_02345ba45cc0e303, []int{23}
1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395
}

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 已提交
1396
func (m *DescribeSegmentResponse) GetBuildID() int64 {
B
bigsheeper 已提交
1397
	if m != nil {
N
neza2017 已提交
1398
		return m.BuildID
B
bigsheeper 已提交
1399
	}
N
neza2017 已提交
1400
	return 0
B
bigsheeper 已提交
1401 1402
}

1403 1404 1405 1406 1407 1408 1409
func (m *DescribeSegmentResponse) GetEnableIndex() bool {
	if m != nil {
		return m.EnableIndex
	}
	return false
}

G
godchen 已提交
1410
type ShowSegmentsRequest struct {
1411 1412 1413 1414 1415 1416 1417 1418
	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 已提交
1419 1420 1421 1422
func (m *ShowSegmentsRequest) Reset()         { *m = ShowSegmentsRequest{} }
func (m *ShowSegmentsRequest) String() string { return proto.CompactTextString(m) }
func (*ShowSegmentsRequest) ProtoMessage()    {}
func (*ShowSegmentsRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
1423
	return fileDescriptor_02345ba45cc0e303, []int{24}
1424 1425
}

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

G
godchen 已提交
1442
var xxx_messageInfo_ShowSegmentsRequest proto.InternalMessageInfo
1443

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

G
godchen 已提交
1451
func (m *ShowSegmentsRequest) GetCollectionID() int64 {
1452 1453 1454 1455 1456 1457
	if m != nil {
		return m.CollectionID
	}
	return 0
}

G
godchen 已提交
1458
func (m *ShowSegmentsRequest) GetPartitionID() int64 {
1459 1460 1461 1462 1463 1464
	if m != nil {
		return m.PartitionID
	}
	return 0
}

G
godchen 已提交
1465
type ShowSegmentsResponse struct {
1466 1467 1468 1469 1470 1471 1472
	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 已提交
1473 1474 1475 1476
func (m *ShowSegmentsResponse) Reset()         { *m = ShowSegmentsResponse{} }
func (m *ShowSegmentsResponse) String() string { return proto.CompactTextString(m) }
func (*ShowSegmentsResponse) ProtoMessage()    {}
func (*ShowSegmentsResponse) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
1477
	return fileDescriptor_02345ba45cc0e303, []int{25}
1478 1479
}

G
godchen 已提交
1480 1481
func (m *ShowSegmentsResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ShowSegmentsResponse.Unmarshal(m, b)
1482
}
G
godchen 已提交
1483 1484
func (m *ShowSegmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ShowSegmentsResponse.Marshal(b, m, deterministic)
1485
}
G
godchen 已提交
1486 1487
func (m *ShowSegmentsResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ShowSegmentsResponse.Merge(m, src)
1488
}
G
godchen 已提交
1489 1490
func (m *ShowSegmentsResponse) XXX_Size() int {
	return xxx_messageInfo_ShowSegmentsResponse.Size(m)
1491
}
G
godchen 已提交
1492 1493
func (m *ShowSegmentsResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_ShowSegmentsResponse.DiscardUnknown(m)
1494 1495
}

G
godchen 已提交
1496
var xxx_messageInfo_ShowSegmentsResponse proto.InternalMessageInfo
1497

G
godchen 已提交
1498
func (m *ShowSegmentsResponse) GetStatus() *commonpb.Status {
1499 1500 1501 1502 1503 1504
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
1505
func (m *ShowSegmentsResponse) GetSegmentIDs() []int64 {
1506 1507 1508 1509 1510 1511
	if m != nil {
		return m.SegmentIDs
	}
	return nil
}

1512
type CreateIndexRequest struct {
1513
	Base                 *commonpb.MsgBase        `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Z
zhenshan.cao 已提交
1514
	DbName               string                   `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526
	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"`
	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) {
Z
zhenshan.cao 已提交
1527
	return fileDescriptor_02345ba45cc0e303, []int{26}
1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547
}

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

1548
func (m *CreateIndexRequest) GetBase() *commonpb.MsgBase {
1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583
	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
}

type DescribeIndexRequest struct {
1584 1585 1586 1587
	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"`
1588
	IndexName            string            `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
1589 1590 1591
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
1592 1593 1594 1595 1596 1597
}

func (m *DescribeIndexRequest) Reset()         { *m = DescribeIndexRequest{} }
func (m *DescribeIndexRequest) String() string { return proto.CompactTextString(m) }
func (*DescribeIndexRequest) ProtoMessage()    {}
func (*DescribeIndexRequest) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
1598
	return fileDescriptor_02345ba45cc0e303, []int{27}
1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618
}

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

1619
func (m *DescribeIndexRequest) GetBase() *commonpb.MsgBase {
1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646
	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 ""
}

1647 1648 1649 1650 1651 1652 1653
func (m *DescribeIndexRequest) GetIndexName() string {
	if m != nil {
		return m.IndexName
	}
	return ""
}

1654 1655
type IndexDescription struct {
	IndexName            string                   `protobuf:"bytes,1,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
1656 1657
	IndexID              int64                    `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"`
	Params               []*commonpb.KeyValuePair `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"`
1658
	FieldName            string                   `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
1659 1660 1661 1662 1663 1664 1665 1666 1667
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (m *IndexDescription) Reset()         { *m = IndexDescription{} }
func (m *IndexDescription) String() string { return proto.CompactTextString(m) }
func (*IndexDescription) ProtoMessage()    {}
func (*IndexDescription) Descriptor() ([]byte, []int) {
Z
zhenshan.cao 已提交
1668
	return fileDescriptor_02345ba45cc0e303, []int{28}
1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695
}

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 ""
}

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

1703 1704 1705 1706 1707 1708 1709
func (m *IndexDescription) GetParams() []*commonpb.KeyValuePair {
	if m != nil {
		return m.Params
	}
	return nil
}

1710 1711 1712 1713 1714 1715 1716
func (m *IndexDescription) GetFieldName() string {
	if m != nil {
		return m.FieldName
	}
	return ""
}

1717
type DescribeIndexResponse struct {
1718 1719
	Status               *commonpb.Status    `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	IndexDescriptions    []*IndexDescription `protobuf:"bytes,2,rep,name=index_descriptions,json=indexDescriptions,proto3" json:"index_descriptions,omitempty"`
1720 1721 1722 1723 1724 1725 1726 1727 1728
	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) {
Z
zhenshan.cao 已提交
1729
	return fileDescriptor_02345ba45cc0e303, []int{29}
1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749
}

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

1750 1751 1752 1753 1754 1755 1756
func (m *DescribeIndexResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

1757 1758 1759 1760 1761 1762 1763
func (m *DescribeIndexResponse) GetIndexDescriptions() []*IndexDescription {
	if m != nil {
		return m.IndexDescriptions
	}
	return nil
}

1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 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 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889
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) {
	return fileDescriptor_02345ba45cc0e303, []int{30}
}

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) {
	return fileDescriptor_02345ba45cc0e303, []int{31}
}

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 已提交
1890
type GetIndexStateRequest struct {
1891 1892 1893 1894 1895 1896 1897 1898 1899 1900
	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 已提交
1901 1902 1903 1904
func (m *GetIndexStateRequest) Reset()         { *m = GetIndexStateRequest{} }
func (m *GetIndexStateRequest) String() string { return proto.CompactTextString(m) }
func (*GetIndexStateRequest) ProtoMessage()    {}
func (*GetIndexStateRequest) Descriptor() ([]byte, []int) {
1905
	return fileDescriptor_02345ba45cc0e303, []int{32}
1906 1907
}

G
godchen 已提交
1908 1909
func (m *GetIndexStateRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetIndexStateRequest.Unmarshal(m, b)
1910
}
G
godchen 已提交
1911 1912
func (m *GetIndexStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetIndexStateRequest.Marshal(b, m, deterministic)
1913
}
G
godchen 已提交
1914 1915
func (m *GetIndexStateRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetIndexStateRequest.Merge(m, src)
1916
}
G
godchen 已提交
1917 1918
func (m *GetIndexStateRequest) XXX_Size() int {
	return xxx_messageInfo_GetIndexStateRequest.Size(m)
1919
}
G
godchen 已提交
1920 1921
func (m *GetIndexStateRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetIndexStateRequest.DiscardUnknown(m)
1922 1923
}

G
godchen 已提交
1924
var xxx_messageInfo_GetIndexStateRequest proto.InternalMessageInfo
1925

G
godchen 已提交
1926
func (m *GetIndexStateRequest) GetBase() *commonpb.MsgBase {
1927 1928 1929 1930 1931 1932
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
1933
func (m *GetIndexStateRequest) GetDbName() string {
1934 1935 1936 1937 1938 1939
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
1940
func (m *GetIndexStateRequest) GetCollectionName() string {
1941 1942 1943 1944 1945 1946
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
1947
func (m *GetIndexStateRequest) GetFieldName() string {
1948 1949 1950 1951 1952 1953
	if m != nil {
		return m.FieldName
	}
	return ""
}

G
godchen 已提交
1954
func (m *GetIndexStateRequest) GetIndexName() string {
1955 1956 1957 1958 1959 1960
	if m != nil {
		return m.IndexName
	}
	return ""
}

G
godchen 已提交
1961
type GetIndexStateResponse struct {
1962 1963 1964 1965 1966 1967 1968
	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"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

G
godchen 已提交
1969 1970 1971 1972
func (m *GetIndexStateResponse) Reset()         { *m = GetIndexStateResponse{} }
func (m *GetIndexStateResponse) String() string { return proto.CompactTextString(m) }
func (*GetIndexStateResponse) ProtoMessage()    {}
func (*GetIndexStateResponse) Descriptor() ([]byte, []int) {
1973
	return fileDescriptor_02345ba45cc0e303, []int{33}
1974 1975
}

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

G
godchen 已提交
1992
var xxx_messageInfo_GetIndexStateResponse proto.InternalMessageInfo
1993

G
godchen 已提交
1994
func (m *GetIndexStateResponse) GetStatus() *commonpb.Status {
Y
yukun 已提交
1995 1996 1997 1998 1999 2000
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
2001
func (m *GetIndexStateResponse) GetState() commonpb.IndexState {
2002 2003 2004
	if m != nil {
		return m.State
	}
T
ThreadDao 已提交
2005
	return commonpb.IndexState_IndexStateNone
2006 2007
}

X
xige-16 已提交
2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022
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) {
2023
	return fileDescriptor_02345ba45cc0e303, []int{34}
X
xige-16 已提交
2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078
}

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 ""
}

2079
type InsertRequest struct {
2080 2081 2082 2083 2084 2085 2086 2087 2088
	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"`
	RowData              []*commonpb.Blob  `protobuf:"bytes,5,rep,name=row_data,json=rowData,proto3" json:"row_data,omitempty"`
	HashKeys             []uint32          `protobuf:"varint,6,rep,packed,name=hash_keys,json=hashKeys,proto3" json:"hash_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
2089 2090 2091 2092 2093 2094
}

func (m *InsertRequest) Reset()         { *m = InsertRequest{} }
func (m *InsertRequest) String() string { return proto.CompactTextString(m) }
func (*InsertRequest) ProtoMessage()    {}
func (*InsertRequest) Descriptor() ([]byte, []int) {
2095
	return fileDescriptor_02345ba45cc0e303, []int{35}
2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115
}

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

2116
func (m *InsertRequest) GetBase() *commonpb.MsgBase {
2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158
	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 ""
}

func (m *InsertRequest) GetRowData() []*commonpb.Blob {
	if m != nil {
		return m.RowData
	}
	return nil
}

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

type InsertResponse struct {
Z
zhenshan.cao 已提交
2159 2160 2161
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	RowIDBegin           int64            `protobuf:"varint,2,opt,name=rowID_begin,json=rowIDBegin,proto3" json:"rowID_begin,omitempty"`
	RowIDEnd             int64            `protobuf:"varint,3,opt,name=rowID_end,json=rowIDEnd,proto3" json:"rowID_end,omitempty"`
Y
yukun 已提交
2162 2163 2164
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
2165 2166 2167 2168 2169 2170
}

func (m *InsertResponse) Reset()         { *m = InsertResponse{} }
func (m *InsertResponse) String() string { return proto.CompactTextString(m) }
func (*InsertResponse) ProtoMessage()    {}
func (*InsertResponse) Descriptor() ([]byte, []int) {
2171
	return fileDescriptor_02345ba45cc0e303, []int{36}
2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191
}

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

var xxx_messageInfo_InsertResponse proto.InternalMessageInfo

Z
zhenshan.cao 已提交
2192 2193 2194 2195 2196 2197 2198
func (m *InsertResponse) GetStatus() *commonpb.Status {
	if m != nil {
		return m.Status
	}
	return nil
}

2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212
func (m *InsertResponse) GetRowIDBegin() int64 {
	if m != nil {
		return m.RowIDBegin
	}
	return 0
}

func (m *InsertResponse) GetRowIDEnd() int64 {
	if m != nil {
		return m.RowIDEnd
	}
	return 0
}

Y
yukun 已提交
2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226
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) {
2227
	return fileDescriptor_02345ba45cc0e303, []int{37}
Y
yukun 已提交
2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258
}

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 已提交
2259
	return PlaceholderType_None
Y
yukun 已提交
2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279
}

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) {
2280
	return fileDescriptor_02345ba45cc0e303, []int{38}
Y
yukun 已提交
2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307
}

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
}

2308
type SearchRequest struct {
2309 2310 2311 2312 2313
	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 已提交
2314 2315 2316 2317 2318
	// serialized `PlaceholderGroup`
	PlaceholderGroup     []byte   `protobuf:"bytes,6,opt,name=placeholder_group,json=placeholderGroup,proto3" json:"placeholder_group,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
2319 2320 2321 2322 2323 2324
}

func (m *SearchRequest) Reset()         { *m = SearchRequest{} }
func (m *SearchRequest) String() string { return proto.CompactTextString(m) }
func (*SearchRequest) ProtoMessage()    {}
func (*SearchRequest) Descriptor() ([]byte, []int) {
2325
	return fileDescriptor_02345ba45cc0e303, []int{39}
2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345
}

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

2346
func (m *SearchRequest) GetBase() *commonpb.MsgBase {
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
	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 已提交
2381
func (m *SearchRequest) GetPlaceholderGroup() []byte {
2382 2383 2384 2385 2386 2387
	if m != nil {
		return m.PlaceholderGroup
	}
	return nil
}

Y
yukun 已提交
2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400
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) {
2401
	return fileDescriptor_02345ba45cc0e303, []int{40}
Y
yukun 已提交
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 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442
}

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
}

2443
type SearchResults struct {
Y
yukun 已提交
2444 2445 2446 2447 2448 2449 2450
	Status               *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Hits                 [][]byte         `protobuf:"bytes,2,rep,name=hits,proto3" json:"hits,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

2451 2452 2453 2454
func (m *SearchResults) Reset()         { *m = SearchResults{} }
func (m *SearchResults) String() string { return proto.CompactTextString(m) }
func (*SearchResults) ProtoMessage()    {}
func (*SearchResults) Descriptor() ([]byte, []int) {
2455
	return fileDescriptor_02345ba45cc0e303, []int{41}
Y
yukun 已提交
2456 2457
}

2458 2459
func (m *SearchResults) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SearchResults.Unmarshal(m, b)
Y
yukun 已提交
2460
}
2461 2462
func (m *SearchResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SearchResults.Marshal(b, m, deterministic)
Y
yukun 已提交
2463
}
2464 2465
func (m *SearchResults) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SearchResults.Merge(m, src)
Y
yukun 已提交
2466
}
2467 2468
func (m *SearchResults) XXX_Size() int {
	return xxx_messageInfo_SearchResults.Size(m)
Y
yukun 已提交
2469
}
2470 2471
func (m *SearchResults) XXX_DiscardUnknown() {
	xxx_messageInfo_SearchResults.DiscardUnknown(m)
Y
yukun 已提交
2472 2473
}

2474
var xxx_messageInfo_SearchResults proto.InternalMessageInfo
Y
yukun 已提交
2475

2476
func (m *SearchResults) GetStatus() *commonpb.Status {
Y
yukun 已提交
2477 2478 2479 2480 2481 2482
	if m != nil {
		return m.Status
	}
	return nil
}

2483
func (m *SearchResults) GetHits() [][]byte {
Y
yukun 已提交
2484 2485 2486 2487 2488 2489
	if m != nil {
		return m.Hits
	}
	return nil
}

2490
type FlushRequest struct {
2491 2492
	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"`
2493
	CollectionNames      []string          `protobuf:"bytes,3,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"`
2494 2495 2496
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
2497 2498 2499 2500 2501 2502
}

func (m *FlushRequest) Reset()         { *m = FlushRequest{} }
func (m *FlushRequest) String() string { return proto.CompactTextString(m) }
func (*FlushRequest) ProtoMessage()    {}
func (*FlushRequest) Descriptor() ([]byte, []int) {
2503
	return fileDescriptor_02345ba45cc0e303, []int{42}
2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523
}

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

2524
func (m *FlushRequest) GetBase() *commonpb.MsgBase {
2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537
	if m != nil {
		return m.Base
	}
	return nil
}

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

2538
func (m *FlushRequest) GetCollectionNames() []string {
2539
	if m != nil {
2540
		return m.CollectionNames
2541
	}
2542
	return nil
2543 2544
}

Z
zhenshan.cao 已提交
2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563
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"`
	OpenTime             uint64                `protobuf:"varint,4,opt,name=open_time,json=openTime,proto3" json:"open_time,omitempty"`
	SealedTime           uint64                `protobuf:"varint,5,opt,name=sealed_time,json=sealedTime,proto3" json:"sealed_time,omitempty"`
	FlushedTime          uint64                `protobuf:"varint,6,opt,name=flushed_time,json=flushedTime,proto3" json:"flushed_time,omitempty"`
	NumRows              int64                 `protobuf:"varint,7,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
	MemSize              int64                 `protobuf:"varint,8,opt,name=mem_size,json=memSize,proto3" json:"mem_size,omitempty"`
	State                commonpb.SegmentState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.common.SegmentState" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *PersistentSegmentInfo) Reset()         { *m = PersistentSegmentInfo{} }
func (m *PersistentSegmentInfo) String() string { return proto.CompactTextString(m) }
func (*PersistentSegmentInfo) ProtoMessage()    {}
func (*PersistentSegmentInfo) Descriptor() ([]byte, []int) {
2564
	return fileDescriptor_02345ba45cc0e303, []int{43}
Z
zhenshan.cao 已提交
2565 2566 2567 2568 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 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644
}

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) GetOpenTime() uint64 {
	if m != nil {
		return m.OpenTime
	}
	return 0
}

func (m *PersistentSegmentInfo) GetSealedTime() uint64 {
	if m != nil {
		return m.SealedTime
	}
	return 0
}

func (m *PersistentSegmentInfo) GetFlushedTime() uint64 {
	if m != nil {
		return m.FlushedTime
	}
	return 0
}

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

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

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

G
godchen 已提交
2648
type GetPersistentSegmentInfoRequest struct {
Z
zhenshan.cao 已提交
2649 2650 2651 2652 2653 2654 2655 2656
	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 已提交
2657 2658 2659 2660
func (m *GetPersistentSegmentInfoRequest) Reset()         { *m = GetPersistentSegmentInfoRequest{} }
func (m *GetPersistentSegmentInfoRequest) String() string { return proto.CompactTextString(m) }
func (*GetPersistentSegmentInfoRequest) ProtoMessage()    {}
func (*GetPersistentSegmentInfoRequest) Descriptor() ([]byte, []int) {
2661
	return fileDescriptor_02345ba45cc0e303, []int{44}
Z
zhenshan.cao 已提交
2662 2663
}

G
godchen 已提交
2664 2665
func (m *GetPersistentSegmentInfoRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPersistentSegmentInfoRequest.Unmarshal(m, b)
Z
zhenshan.cao 已提交
2666
}
G
godchen 已提交
2667 2668
func (m *GetPersistentSegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPersistentSegmentInfoRequest.Marshal(b, m, deterministic)
Z
zhenshan.cao 已提交
2669
}
G
godchen 已提交
2670 2671
func (m *GetPersistentSegmentInfoRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPersistentSegmentInfoRequest.Merge(m, src)
Z
zhenshan.cao 已提交
2672
}
G
godchen 已提交
2673 2674
func (m *GetPersistentSegmentInfoRequest) XXX_Size() int {
	return xxx_messageInfo_GetPersistentSegmentInfoRequest.Size(m)
Z
zhenshan.cao 已提交
2675
}
G
godchen 已提交
2676 2677
func (m *GetPersistentSegmentInfoRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPersistentSegmentInfoRequest.DiscardUnknown(m)
Z
zhenshan.cao 已提交
2678 2679
}

G
godchen 已提交
2680
var xxx_messageInfo_GetPersistentSegmentInfoRequest proto.InternalMessageInfo
Z
zhenshan.cao 已提交
2681

G
godchen 已提交
2682
func (m *GetPersistentSegmentInfoRequest) GetBase() *commonpb.MsgBase {
Z
zhenshan.cao 已提交
2683 2684 2685 2686 2687 2688
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
2689
func (m *GetPersistentSegmentInfoRequest) GetDbName() string {
Z
zhenshan.cao 已提交
2690 2691 2692 2693 2694 2695
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
2696
func (m *GetPersistentSegmentInfoRequest) GetCollectionName() string {
Z
zhenshan.cao 已提交
2697 2698 2699 2700 2701 2702
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
2703
type GetPersistentSegmentInfoResponse struct {
Z
zhenshan.cao 已提交
2704 2705 2706 2707 2708 2709 2710
	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 已提交
2711 2712 2713 2714
func (m *GetPersistentSegmentInfoResponse) Reset()         { *m = GetPersistentSegmentInfoResponse{} }
func (m *GetPersistentSegmentInfoResponse) String() string { return proto.CompactTextString(m) }
func (*GetPersistentSegmentInfoResponse) ProtoMessage()    {}
func (*GetPersistentSegmentInfoResponse) Descriptor() ([]byte, []int) {
2715
	return fileDescriptor_02345ba45cc0e303, []int{45}
Z
zhenshan.cao 已提交
2716 2717
}

G
godchen 已提交
2718 2719
func (m *GetPersistentSegmentInfoResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPersistentSegmentInfoResponse.Unmarshal(m, b)
Z
zhenshan.cao 已提交
2720
}
G
godchen 已提交
2721 2722
func (m *GetPersistentSegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPersistentSegmentInfoResponse.Marshal(b, m, deterministic)
Z
zhenshan.cao 已提交
2723
}
G
godchen 已提交
2724 2725
func (m *GetPersistentSegmentInfoResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPersistentSegmentInfoResponse.Merge(m, src)
Z
zhenshan.cao 已提交
2726
}
G
godchen 已提交
2727 2728
func (m *GetPersistentSegmentInfoResponse) XXX_Size() int {
	return xxx_messageInfo_GetPersistentSegmentInfoResponse.Size(m)
Z
zhenshan.cao 已提交
2729
}
G
godchen 已提交
2730 2731
func (m *GetPersistentSegmentInfoResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPersistentSegmentInfoResponse.DiscardUnknown(m)
Z
zhenshan.cao 已提交
2732 2733
}

G
godchen 已提交
2734
var xxx_messageInfo_GetPersistentSegmentInfoResponse proto.InternalMessageInfo
Z
zhenshan.cao 已提交
2735

G
godchen 已提交
2736
func (m *GetPersistentSegmentInfoResponse) GetStatus() *commonpb.Status {
Z
zhenshan.cao 已提交
2737 2738 2739 2740 2741 2742
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
2743
func (m *GetPersistentSegmentInfoResponse) GetInfos() []*PersistentSegmentInfo {
Z
zhenshan.cao 已提交
2744 2745 2746 2747 2748 2749
	if m != nil {
		return m.Infos
	}
	return nil
}

Z
zhenshan.cao 已提交
2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766
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) {
2767
	return fileDescriptor_02345ba45cc0e303, []int{46}
Z
zhenshan.cao 已提交
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 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836
}

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 已提交
2837
type GetQuerySegmentInfoRequest struct {
Z
zhenshan.cao 已提交
2838 2839 2840 2841 2842 2843 2844 2845
	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 已提交
2846 2847 2848 2849
func (m *GetQuerySegmentInfoRequest) Reset()         { *m = GetQuerySegmentInfoRequest{} }
func (m *GetQuerySegmentInfoRequest) String() string { return proto.CompactTextString(m) }
func (*GetQuerySegmentInfoRequest) ProtoMessage()    {}
func (*GetQuerySegmentInfoRequest) Descriptor() ([]byte, []int) {
2850
	return fileDescriptor_02345ba45cc0e303, []int{47}
Z
zhenshan.cao 已提交
2851 2852
}

G
godchen 已提交
2853 2854
func (m *GetQuerySegmentInfoRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetQuerySegmentInfoRequest.Unmarshal(m, b)
Z
zhenshan.cao 已提交
2855
}
G
godchen 已提交
2856 2857
func (m *GetQuerySegmentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetQuerySegmentInfoRequest.Marshal(b, m, deterministic)
Z
zhenshan.cao 已提交
2858
}
G
godchen 已提交
2859 2860
func (m *GetQuerySegmentInfoRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetQuerySegmentInfoRequest.Merge(m, src)
Z
zhenshan.cao 已提交
2861
}
G
godchen 已提交
2862 2863
func (m *GetQuerySegmentInfoRequest) XXX_Size() int {
	return xxx_messageInfo_GetQuerySegmentInfoRequest.Size(m)
Z
zhenshan.cao 已提交
2864
}
G
godchen 已提交
2865 2866
func (m *GetQuerySegmentInfoRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetQuerySegmentInfoRequest.DiscardUnknown(m)
Z
zhenshan.cao 已提交
2867 2868
}

G
godchen 已提交
2869
var xxx_messageInfo_GetQuerySegmentInfoRequest proto.InternalMessageInfo
Z
zhenshan.cao 已提交
2870

G
godchen 已提交
2871
func (m *GetQuerySegmentInfoRequest) GetBase() *commonpb.MsgBase {
Z
zhenshan.cao 已提交
2872 2873 2874 2875 2876 2877
	if m != nil {
		return m.Base
	}
	return nil
}

G
godchen 已提交
2878
func (m *GetQuerySegmentInfoRequest) GetDbName() string {
Z
zhenshan.cao 已提交
2879 2880 2881 2882 2883 2884
	if m != nil {
		return m.DbName
	}
	return ""
}

G
godchen 已提交
2885
func (m *GetQuerySegmentInfoRequest) GetCollectionName() string {
Z
zhenshan.cao 已提交
2886 2887 2888 2889 2890 2891
	if m != nil {
		return m.CollectionName
	}
	return ""
}

G
godchen 已提交
2892
type GetQuerySegmentInfoResponse struct {
Z
zhenshan.cao 已提交
2893 2894 2895 2896 2897 2898 2899
	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 已提交
2900 2901 2902 2903
func (m *GetQuerySegmentInfoResponse) Reset()         { *m = GetQuerySegmentInfoResponse{} }
func (m *GetQuerySegmentInfoResponse) String() string { return proto.CompactTextString(m) }
func (*GetQuerySegmentInfoResponse) ProtoMessage()    {}
func (*GetQuerySegmentInfoResponse) Descriptor() ([]byte, []int) {
2904
	return fileDescriptor_02345ba45cc0e303, []int{48}
Z
zhenshan.cao 已提交
2905 2906
}

G
godchen 已提交
2907 2908
func (m *GetQuerySegmentInfoResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetQuerySegmentInfoResponse.Unmarshal(m, b)
Z
zhenshan.cao 已提交
2909
}
G
godchen 已提交
2910 2911
func (m *GetQuerySegmentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetQuerySegmentInfoResponse.Marshal(b, m, deterministic)
Z
zhenshan.cao 已提交
2912
}
G
godchen 已提交
2913 2914
func (m *GetQuerySegmentInfoResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetQuerySegmentInfoResponse.Merge(m, src)
Z
zhenshan.cao 已提交
2915
}
G
godchen 已提交
2916 2917
func (m *GetQuerySegmentInfoResponse) XXX_Size() int {
	return xxx_messageInfo_GetQuerySegmentInfoResponse.Size(m)
Z
zhenshan.cao 已提交
2918
}
G
godchen 已提交
2919 2920
func (m *GetQuerySegmentInfoResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_GetQuerySegmentInfoResponse.DiscardUnknown(m)
Z
zhenshan.cao 已提交
2921 2922
}

G
godchen 已提交
2923
var xxx_messageInfo_GetQuerySegmentInfoResponse proto.InternalMessageInfo
Z
zhenshan.cao 已提交
2924

G
godchen 已提交
2925
func (m *GetQuerySegmentInfoResponse) GetStatus() *commonpb.Status {
Z
zhenshan.cao 已提交
2926 2927 2928 2929 2930 2931
	if m != nil {
		return m.Status
	}
	return nil
}

G
godchen 已提交
2932
func (m *GetQuerySegmentInfoResponse) GetInfos() []*QuerySegmentInfo {
Z
zhenshan.cao 已提交
2933 2934 2935 2936 2937 2938
	if m != nil {
		return m.Infos
	}
	return nil
}

G
godchen 已提交
2939 2940 2941 2942 2943 2944 2945 2946 2947 2948
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) {
2949
	return fileDescriptor_02345ba45cc0e303, []int{49}
G
godchen 已提交
2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969
}

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 已提交
2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981
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) {
2982
	return fileDescriptor_02345ba45cc0e303, []int{50}
D
dragondriver 已提交
2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016
}

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
}

3017
func init() {
Y
yukun 已提交
3018
	proto.RegisterEnum("milvus.proto.milvus.PlaceholderType", PlaceholderType_name, PlaceholderType_value)
3019 3020 3021
	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 已提交
3022
	proto.RegisterType((*BoolResponse)(nil), "milvus.proto.milvus.BoolResponse")
Z
zhenshan.cao 已提交
3023
	proto.RegisterType((*StringResponse)(nil), "milvus.proto.milvus.StringResponse")
3024 3025 3026 3027
	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 已提交
3028 3029 3030 3031
	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")
3032 3033 3034
	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 已提交
3035 3036 3037 3038 3039 3040
	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")
3041 3042
	proto.RegisterType((*DescribeSegmentRequest)(nil), "milvus.proto.milvus.DescribeSegmentRequest")
	proto.RegisterType((*DescribeSegmentResponse)(nil), "milvus.proto.milvus.DescribeSegmentResponse")
G
godchen 已提交
3043 3044
	proto.RegisterType((*ShowSegmentsRequest)(nil), "milvus.proto.milvus.ShowSegmentsRequest")
	proto.RegisterType((*ShowSegmentsResponse)(nil), "milvus.proto.milvus.ShowSegmentsResponse")
3045 3046 3047 3048
	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")
3049 3050
	proto.RegisterType((*GetIndexBuildProgressRequest)(nil), "milvus.proto.milvus.GetIndexBuildProgressRequest")
	proto.RegisterType((*GetIndexBuildProgressResponse)(nil), "milvus.proto.milvus.GetIndexBuildProgressResponse")
G
godchen 已提交
3051 3052
	proto.RegisterType((*GetIndexStateRequest)(nil), "milvus.proto.milvus.GetIndexStateRequest")
	proto.RegisterType((*GetIndexStateResponse)(nil), "milvus.proto.milvus.GetIndexStateResponse")
X
xige-16 已提交
3053
	proto.RegisterType((*DropIndexRequest)(nil), "milvus.proto.milvus.DropIndexRequest")
3054 3055
	proto.RegisterType((*InsertRequest)(nil), "milvus.proto.milvus.InsertRequest")
	proto.RegisterType((*InsertResponse)(nil), "milvus.proto.milvus.InsertResponse")
Y
yukun 已提交
3056 3057
	proto.RegisterType((*PlaceholderValue)(nil), "milvus.proto.milvus.PlaceholderValue")
	proto.RegisterType((*PlaceholderGroup)(nil), "milvus.proto.milvus.PlaceholderGroup")
3058
	proto.RegisterType((*SearchRequest)(nil), "milvus.proto.milvus.SearchRequest")
Y
yukun 已提交
3059
	proto.RegisterType((*Hits)(nil), "milvus.proto.milvus.Hits")
3060
	proto.RegisterType((*SearchResults)(nil), "milvus.proto.milvus.SearchResults")
3061
	proto.RegisterType((*FlushRequest)(nil), "milvus.proto.milvus.FlushRequest")
Z
zhenshan.cao 已提交
3062
	proto.RegisterType((*PersistentSegmentInfo)(nil), "milvus.proto.milvus.PersistentSegmentInfo")
G
godchen 已提交
3063 3064
	proto.RegisterType((*GetPersistentSegmentInfoRequest)(nil), "milvus.proto.milvus.GetPersistentSegmentInfoRequest")
	proto.RegisterType((*GetPersistentSegmentInfoResponse)(nil), "milvus.proto.milvus.GetPersistentSegmentInfoResponse")
Z
zhenshan.cao 已提交
3065
	proto.RegisterType((*QuerySegmentInfo)(nil), "milvus.proto.milvus.QuerySegmentInfo")
G
godchen 已提交
3066 3067 3068
	proto.RegisterType((*GetQuerySegmentInfoRequest)(nil), "milvus.proto.milvus.GetQuerySegmentInfoRequest")
	proto.RegisterType((*GetQuerySegmentInfoResponse)(nil), "milvus.proto.milvus.GetQuerySegmentInfoResponse")
	proto.RegisterType((*RegisterLinkRequest)(nil), "milvus.proto.milvus.RegisterLinkRequest")
D
dragondriver 已提交
3069
	proto.RegisterType((*RegisterLinkResponse)(nil), "milvus.proto.milvus.RegisterLinkResponse")
3070 3071 3072 3073 3074
}

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

var fileDescriptor_02345ba45cc0e303 = []byte{
3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203
	// 2042 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xdd, 0x6f, 0x1b, 0xc7,
	0x11, 0xf7, 0x92, 0x14, 0x45, 0x0d, 0x8f, 0x12, 0xbd, 0xfa, 0x30, 0x75, 0xb6, 0x63, 0xe9, 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xed, 0xa9, 0xf8, 0x31, 0x64, 0x2b, 0x00, 0x00,
Y
yukun 已提交
3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223
}

// 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 已提交
3224 3225
	GetCollectionStatistics(ctx context.Context, in *GetCollectionStatisticsRequest, opts ...grpc.CallOption) (*GetCollectionStatisticsResponse, error)
	ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error)
Y
yukun 已提交
3226 3227 3228
	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 已提交
3229 3230 3231 3232
	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
yukun 已提交
3233 3234
	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 已提交
3235
	GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error)
3236
	GetIndexBuildProgress(ctx context.Context, in *GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*GetIndexBuildProgressResponse, error)
X
xige-16 已提交
3237
	DropIndex(ctx context.Context, in *DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
Y
yukun 已提交
3238
	Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*InsertResponse, error)
3239
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResults, error)
Y
yukun 已提交
3240
	Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
G
godchen 已提交
3241 3242 3243 3244
	GetPersistentSegmentInfo(ctx context.Context, in *GetPersistentSegmentInfoRequest, opts ...grpc.CallOption) (*GetPersistentSegmentInfoResponse, error)
	GetQuerySegmentInfo(ctx context.Context, in *GetQuerySegmentInfoRequest, opts ...grpc.CallOption) (*GetQuerySegmentInfoResponse, error)
	// TODO: remove
	RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error)
Y
yukun 已提交
3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 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
}

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 已提交
3309 3310
func (c *milvusServiceClient) GetCollectionStatistics(ctx context.Context, in *GetCollectionStatisticsRequest, opts ...grpc.CallOption) (*GetCollectionStatisticsResponse, error) {
	out := new(GetCollectionStatisticsResponse)
Y
yukun 已提交
3311 3312 3313 3314 3315 3316 3317
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetCollectionStatistics", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3318 3319
func (c *milvusServiceClient) ShowCollections(ctx context.Context, in *ShowCollectionsRequest, opts ...grpc.CallOption) (*ShowCollectionsResponse, error) {
	out := new(ShowCollectionsResponse)
Y
yukun 已提交
3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353
	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 已提交
3354
func (c *milvusServiceClient) LoadPartitions(ctx context.Context, in *LoadPartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
Y
yukun 已提交
3355 3356 3357 3358 3359 3360 3361 3362
	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 已提交
3363
func (c *milvusServiceClient) ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) {
Y
yukun 已提交
3364 3365 3366 3367 3368 3369 3370 3371
	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 已提交
3372 3373
func (c *milvusServiceClient) GetPartitionStatistics(ctx context.Context, in *GetPartitionStatisticsRequest, opts ...grpc.CallOption) (*GetPartitionStatisticsResponse, error) {
	out := new(GetPartitionStatisticsResponse)
Y
yukun 已提交
3374 3375 3376 3377 3378 3379 3380
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetPartitionStatistics", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3381 3382
func (c *milvusServiceClient) ShowPartitions(ctx context.Context, in *ShowPartitionsRequest, opts ...grpc.CallOption) (*ShowPartitionsResponse, error) {
	out := new(ShowPartitionsResponse)
Y
yukun 已提交
3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ShowPartitions", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

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 已提交
3408 3409
func (c *milvusServiceClient) GetIndexState(ctx context.Context, in *GetIndexStateRequest, opts ...grpc.CallOption) (*GetIndexStateResponse, error) {
	out := new(GetIndexStateResponse)
3410 3411 3412 3413 3414 3415 3416
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetIndexState", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3417 3418 3419 3420 3421 3422 3423 3424 3425
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 已提交
3426 3427 3428 3429 3430 3431 3432 3433 3434
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
}

Y
yukun 已提交
3435 3436 3437 3438 3439 3440 3441 3442 3443
func (c *milvusServiceClient) Insert(ctx context.Context, in *InsertRequest, opts ...grpc.CallOption) (*InsertResponse, error) {
	out := new(InsertResponse)
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Insert", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

3444 3445
func (c *milvusServiceClient) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResults, error) {
	out := new(SearchResults)
Y
yukun 已提交
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/Search", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

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

G
godchen 已提交
3462 3463
func (c *milvusServiceClient) GetPersistentSegmentInfo(ctx context.Context, in *GetPersistentSegmentInfoRequest, opts ...grpc.CallOption) (*GetPersistentSegmentInfoResponse, error) {
	out := new(GetPersistentSegmentInfoResponse)
Z
zhenshan.cao 已提交
3464 3465 3466 3467 3468 3469 3470
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetPersistentSegmentInfo", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3471 3472
func (c *milvusServiceClient) GetQuerySegmentInfo(ctx context.Context, in *GetQuerySegmentInfoRequest, opts ...grpc.CallOption) (*GetQuerySegmentInfoResponse, error) {
	out := new(GetQuerySegmentInfoResponse)
Z
zhenshan.cao 已提交
3473 3474 3475 3476 3477 3478 3479
	err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetQuerySegmentInfo", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

G
godchen 已提交
3480
func (c *milvusServiceClient) RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error) {
3481 3482 3483 3484 3485 3486 3487 3488
	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
}

Y
yukun 已提交
3489 3490 3491 3492 3493 3494 3495 3496
// 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 已提交
3497 3498
	GetCollectionStatistics(context.Context, *GetCollectionStatisticsRequest) (*GetCollectionStatisticsResponse, error)
	ShowCollections(context.Context, *ShowCollectionsRequest) (*ShowCollectionsResponse, error)
Y
yukun 已提交
3499 3500 3501
	CreatePartition(context.Context, *CreatePartitionRequest) (*commonpb.Status, error)
	DropPartition(context.Context, *DropPartitionRequest) (*commonpb.Status, error)
	HasPartition(context.Context, *HasPartitionRequest) (*BoolResponse, error)
G
godchen 已提交
3502 3503 3504 3505
	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
yukun 已提交
3506 3507
	CreateIndex(context.Context, *CreateIndexRequest) (*commonpb.Status, error)
	DescribeIndex(context.Context, *DescribeIndexRequest) (*DescribeIndexResponse, error)
G
godchen 已提交
3508
	GetIndexState(context.Context, *GetIndexStateRequest) (*GetIndexStateResponse, error)
3509
	GetIndexBuildProgress(context.Context, *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error)
X
xige-16 已提交
3510
	DropIndex(context.Context, *DropIndexRequest) (*commonpb.Status, error)
Y
yukun 已提交
3511
	Insert(context.Context, *InsertRequest) (*InsertResponse, error)
3512
	Search(context.Context, *SearchRequest) (*SearchResults, error)
Y
yukun 已提交
3513
	Flush(context.Context, *FlushRequest) (*commonpb.Status, error)
G
godchen 已提交
3514 3515 3516 3517
	GetPersistentSegmentInfo(context.Context, *GetPersistentSegmentInfoRequest) (*GetPersistentSegmentInfoResponse, error)
	GetQuerySegmentInfo(context.Context, *GetQuerySegmentInfoRequest) (*GetQuerySegmentInfoResponse, error)
	// TODO: remove
	RegisterLink(context.Context, *RegisterLinkRequest) (*RegisterLinkResponse, error)
Y
yukun 已提交
3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541
}

// 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 已提交
3542
func (*UnimplementedMilvusServiceServer) GetCollectionStatistics(ctx context.Context, req *GetCollectionStatisticsRequest) (*GetCollectionStatisticsResponse, error) {
Y
yukun 已提交
3543 3544
	return nil, status.Errorf(codes.Unimplemented, "method GetCollectionStatistics not implemented")
}
G
godchen 已提交
3545
func (*UnimplementedMilvusServiceServer) ShowCollections(ctx context.Context, req *ShowCollectionsRequest) (*ShowCollectionsResponse, error) {
Y
yukun 已提交
3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556
	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 已提交
3557
func (*UnimplementedMilvusServiceServer) LoadPartitions(ctx context.Context, req *LoadPartitionsRequest) (*commonpb.Status, error) {
Y
yukun 已提交
3558 3559
	return nil, status.Errorf(codes.Unimplemented, "method LoadPartitions not implemented")
}
G
godchen 已提交
3560
func (*UnimplementedMilvusServiceServer) ReleasePartitions(ctx context.Context, req *ReleasePartitionsRequest) (*commonpb.Status, error) {
Y
yukun 已提交
3561 3562
	return nil, status.Errorf(codes.Unimplemented, "method ReleasePartitions not implemented")
}
G
godchen 已提交
3563
func (*UnimplementedMilvusServiceServer) GetPartitionStatistics(ctx context.Context, req *GetPartitionStatisticsRequest) (*GetPartitionStatisticsResponse, error) {
Y
yukun 已提交
3564 3565
	return nil, status.Errorf(codes.Unimplemented, "method GetPartitionStatistics not implemented")
}
G
godchen 已提交
3566
func (*UnimplementedMilvusServiceServer) ShowPartitions(ctx context.Context, req *ShowPartitionsRequest) (*ShowPartitionsResponse, error) {
Y
yukun 已提交
3567 3568 3569 3570 3571 3572 3573 3574
	return nil, status.Errorf(codes.Unimplemented, "method ShowPartitions not implemented")
}
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 已提交
3575
func (*UnimplementedMilvusServiceServer) GetIndexState(ctx context.Context, req *GetIndexStateRequest) (*GetIndexStateResponse, error) {
3576 3577
	return nil, status.Errorf(codes.Unimplemented, "method GetIndexState not implemented")
}
3578 3579 3580
func (*UnimplementedMilvusServiceServer) GetIndexBuildProgress(ctx context.Context, req *GetIndexBuildProgressRequest) (*GetIndexBuildProgressResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method GetIndexBuildProgress not implemented")
}
X
xige-16 已提交
3581 3582 3583
func (*UnimplementedMilvusServiceServer) DropIndex(ctx context.Context, req *DropIndexRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method DropIndex not implemented")
}
Y
yukun 已提交
3584 3585 3586
func (*UnimplementedMilvusServiceServer) Insert(ctx context.Context, req *InsertRequest) (*InsertResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented")
}
3587
func (*UnimplementedMilvusServiceServer) Search(ctx context.Context, req *SearchRequest) (*SearchResults, error) {
Y
yukun 已提交
3588 3589 3590 3591 3592
	return nil, status.Errorf(codes.Unimplemented, "method Search not implemented")
}
func (*UnimplementedMilvusServiceServer) Flush(ctx context.Context, req *FlushRequest) (*commonpb.Status, error) {
	return nil, status.Errorf(codes.Unimplemented, "method Flush not implemented")
}
G
godchen 已提交
3593
func (*UnimplementedMilvusServiceServer) GetPersistentSegmentInfo(ctx context.Context, req *GetPersistentSegmentInfoRequest) (*GetPersistentSegmentInfoResponse, error) {
Z
zhenshan.cao 已提交
3594 3595
	return nil, status.Errorf(codes.Unimplemented, "method GetPersistentSegmentInfo not implemented")
}
G
godchen 已提交
3596
func (*UnimplementedMilvusServiceServer) GetQuerySegmentInfo(ctx context.Context, req *GetQuerySegmentInfoRequest) (*GetQuerySegmentInfoResponse, error) {
Z
zhenshan.cao 已提交
3597 3598
	return nil, status.Errorf(codes.Unimplemented, "method GetQuerySegmentInfo not implemented")
}
G
godchen 已提交
3599
func (*UnimplementedMilvusServiceServer) RegisterLink(ctx context.Context, req *RegisterLinkRequest) (*RegisterLinkResponse, error) {
3600 3601
	return nil, status.Errorf(codes.Unimplemented, "method RegisterLink not implemented")
}
Y
yukun 已提交
3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 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

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 已提交
3716
	in := new(GetCollectionStatisticsRequest)
Y
yukun 已提交
3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727
	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 已提交
3728
		return srv.(MilvusServiceServer).GetCollectionStatistics(ctx, req.(*GetCollectionStatisticsRequest))
Y
yukun 已提交
3729 3730 3731 3732 3733
	}
	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 已提交
3734
	in := new(ShowCollectionsRequest)
Y
yukun 已提交
3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745
	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 已提交
3746
		return srv.(MilvusServiceServer).ShowCollections(ctx, req.(*ShowCollectionsRequest))
Y
yukun 已提交
3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805
	}
	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 已提交
3806
	in := new(LoadPartitionsRequest)
Y
yukun 已提交
3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817
	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 已提交
3818
		return srv.(MilvusServiceServer).LoadPartitions(ctx, req.(*LoadPartitionsRequest))
Y
yukun 已提交
3819 3820 3821 3822 3823
	}
	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 已提交
3824
	in := new(ReleasePartitionsRequest)
Y
yukun 已提交
3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835
	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 已提交
3836
		return srv.(MilvusServiceServer).ReleasePartitions(ctx, req.(*ReleasePartitionsRequest))
Y
yukun 已提交
3837 3838 3839 3840 3841
	}
	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 已提交
3842
	in := new(GetPartitionStatisticsRequest)
Y
yukun 已提交
3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853
	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 已提交
3854
		return srv.(MilvusServiceServer).GetPartitionStatistics(ctx, req.(*GetPartitionStatisticsRequest))
Y
yukun 已提交
3855 3856 3857 3858 3859
	}
	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 已提交
3860
	in := new(ShowPartitionsRequest)
Y
yukun 已提交
3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871
	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 已提交
3872
		return srv.(MilvusServiceServer).ShowPartitions(ctx, req.(*ShowPartitionsRequest))
Y
yukun 已提交
3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912
	}
	return interceptor(ctx, in, info, handler)
}

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)
}

3913
func _MilvusService_GetIndexState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
3914
	in := new(GetIndexStateRequest)
3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925
	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 已提交
3926
		return srv.(MilvusServiceServer).GetIndexState(ctx, req.(*GetIndexStateRequest))
3927 3928 3929 3930
	}
	return interceptor(ctx, in, info, handler)
}

3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948
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 已提交
3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966
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 已提交
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 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020
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)
}

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)
}

Z
zhenshan.cao 已提交
4021
func _MilvusService_GetPersistentSegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
4022
	in := new(GetPersistentSegmentInfoRequest)
Z
zhenshan.cao 已提交
4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033
	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 已提交
4034
		return srv.(MilvusServiceServer).GetPersistentSegmentInfo(ctx, req.(*GetPersistentSegmentInfoRequest))
Z
zhenshan.cao 已提交
4035 4036 4037 4038
	}
	return interceptor(ctx, in, info, handler)
}

Z
zhenshan.cao 已提交
4039
func _MilvusService_GetQuerySegmentInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
4040
	in := new(GetQuerySegmentInfoRequest)
Z
zhenshan.cao 已提交
4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(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 已提交
4052
		return srv.(MilvusServiceServer).GetQuerySegmentInfo(ctx, req.(*GetQuerySegmentInfoRequest))
Z
zhenshan.cao 已提交
4053 4054 4055 4056
	}
	return interceptor(ctx, in, info, handler)
}

4057
func _MilvusService_RegisterLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
G
godchen 已提交
4058
	in := new(RegisterLinkRequest)
4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(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 已提交
4070
		return srv.(MilvusServiceServer).RegisterLink(ctx, req.(*RegisterLinkRequest))
4071 4072 4073 4074
	}
	return interceptor(ctx, in, info, handler)
}

Y
yukun 已提交
4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146
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,
		},
		{
			MethodName: "CreateIndex",
			Handler:    _MilvusService_CreateIndex_Handler,
		},
		{
			MethodName: "DescribeIndex",
			Handler:    _MilvusService_DescribeIndex_Handler,
		},
4147 4148 4149 4150
		{
			MethodName: "GetIndexState",
			Handler:    _MilvusService_GetIndexState_Handler,
		},
4151 4152 4153 4154
		{
			MethodName: "GetIndexBuildProgress",
			Handler:    _MilvusService_GetIndexBuildProgress_Handler,
		},
X
xige-16 已提交
4155 4156 4157 4158
		{
			MethodName: "DropIndex",
			Handler:    _MilvusService_DropIndex_Handler,
		},
Y
yukun 已提交
4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170
		{
			MethodName: "Insert",
			Handler:    _MilvusService_Insert_Handler,
		},
		{
			MethodName: "Search",
			Handler:    _MilvusService_Search_Handler,
		},
		{
			MethodName: "Flush",
			Handler:    _MilvusService_Flush_Handler,
		},
Z
zhenshan.cao 已提交
4171 4172 4173 4174
		{
			MethodName: "GetPersistentSegmentInfo",
			Handler:    _MilvusService_GetPersistentSegmentInfo_Handler,
		},
Z
zhenshan.cao 已提交
4175 4176 4177 4178
		{
			MethodName: "GetQuerySegmentInfo",
			Handler:    _MilvusService_GetQuerySegmentInfo_Handler,
		},
4179 4180 4181 4182
		{
			MethodName: "RegisterLink",
			Handler:    _MilvusService_RegisterLink_Handler,
		},
Y
yukun 已提交
4183 4184 4185
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "milvus.proto",
4186
}
D
dragondriver 已提交
4187 4188 4189 4190 4191

// 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 已提交
4192
	RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error)
D
dragondriver 已提交
4193 4194 4195 4196 4197 4198 4199 4200 4201 4202
}

type proxyServiceClient struct {
	cc *grpc.ClientConn
}

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

G
godchen 已提交
4203
func (c *proxyServiceClient) RegisterLink(ctx context.Context, in *RegisterLinkRequest, opts ...grpc.CallOption) (*RegisterLinkResponse, error) {
D
dragondriver 已提交
4204 4205 4206 4207 4208 4209 4210 4211 4212 4213
	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 已提交
4214
	RegisterLink(context.Context, *RegisterLinkRequest) (*RegisterLinkResponse, error)
D
dragondriver 已提交
4215 4216 4217 4218 4219 4220
}

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

G
godchen 已提交
4221
func (*UnimplementedProxyServiceServer) RegisterLink(ctx context.Context, req *RegisterLinkRequest) (*RegisterLinkResponse, error) {
D
dragondriver 已提交
4222 4223 4224 4225 4226 4227 4228 4229
	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 已提交
4230
	in := new(RegisterLinkRequest)
D
dragondriver 已提交
4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241
	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 已提交
4242
		return srv.(ProxyServiceServer).RegisterLink(ctx, req.(*RegisterLinkRequest))
D
dragondriver 已提交
4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258
	}
	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",
}